Data storage method and storage server

A storage server and data storage technology, applied in the storage server field, can solve the problems affecting the normal operation of the software, the number of files that cannot be played, and too many

Inactive Publication Date: 2017-04-19
ZHEJIANG UNIVIEW TECH CO LTD
View PDF4 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] (1) When an IPC needs to be stored, create an audio and video file and write the audio and video of the IPC until the IPC is offline or cut off. The disadvantage of this is that the saved file may be too large or too small. A little abnormality in the file will cause the file to be damaged and cannot be played, or the number of files is too large, which will cause the subsequent query retrieval speed to be slow
[0006] (2) Continuously store the audio and video of the IPC. When the stored audio and video fill up the free hard disk space of the PC, it will affe...

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
  • Data storage method and storage server
  • Data storage method and storage server
  • Data storage method and storage server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0065] As described in the background art, in the process of data storage, frequent deletion and creation of files will generate file fragments, resulting in the collapse of the storage device or the server file system. In view of this situation, the present application proposes a data storage method and method. The storage server, by creating the storage files in advance, will not delete the storage files in the later stage, resulting in file fragmentation, and can flexibly store the data of each terminal.

[0066] An embodiment of the present application proposes a data storage method, which is applied to a system including a storage server and multiple terminals. Before describing the technical solution of this embodiment, the storage server and the terminals are described first, wherein the storage server may It can be a PC or a device such as a hard disk or a cloud server. The storage server itself has the function of data storage, while for the terminal, it can be a data ...

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 invention discloses a data storage method. The data storage method is applied to a system which comprises a storage server and a plurality of terminals. The data storage method comprises the following steps of: pre-generating a plurality of storage files in the storage server; when a terminal stores data to the storage server, obtaining an ID of the terminal to search the last index information of a corresponding storage file linked list; if a storage ending time in the index information is empty, storing the data of the terminal to a first storage file corresponding to the index information; otherwise, obtaining a second storage file, the state of which is empty, according to a storage file state table in the storage server and storing the data of the terminal into the second storage file; and when the states of all the storage files in the storage file state table are not empty, obtaining a third storage file, the storage time of which is earliest, in the storage server and storing the data of the terminal to the third storage file. According to the data storage method disclosed by the invention, the storage files are pre-established, so that file fragments are not generated due to the deletion of the storage files in later period, and the data of the terminal can be flexibly stored.

Description

technical field [0001] The invention relates to the technical field of data storage, in particular to a data storage method, and in particular to a storage server. Background technique [0002] With the development of computer technology and multimedia technology, data storage has been applied in various aspects, and the requirements for each hardware terminal are also higher and higher. [0003] Taking video surveillance as an example, video surveillance has become more and more widely used. Because of the effective use of client PC resources, the video surveillance software PC-NVR has been more and more widely used in some small surveillance projects with tight budgets. In these applications, users often need to store part or all of the audio and video of the IPC connected to the PC-NVR on the PC running the PC-NVR. Since the PC running PC-NVR does not only run the PC-NVR software, it is necessary to ensure the stable operation of the PC-NVR and the stable operation of ot...

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
IPC IPC(8): G06F17/30
CPCG06F16/148G06F16/13
Inventor 孙令亮
Owner ZHEJIANG UNIVIEW TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products