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

Index file recovery method and apparatus and video monitoring system

A technology for indexing files and recovery methods, which is applied to multimedia data indexing, multimedia data retrieval, and redundant data error detection in calculations, and can solve the problems that index files are easy to lose index information and cannot retrieve data, etc.

Inactive Publication Date: 2016-05-11
北京尚易德科技有限公司
View PDF3 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Therefore, the technical problem to be solved by the present invention is to overcome the defect in the prior art that index information is easily lost if the index file is damaged, resulting in the failure to retrieve the data corresponding to the lost index information, thereby providing an index that can avoid the loss of index information. File recovery method, device and video monitoring system

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
  • Index file recovery method and apparatus and video monitoring system
  • Index file recovery method and apparatus and video monitoring system
  • Index file recovery method and apparatus and video monitoring system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0077] This embodiment provides an index file recovery method, such as figure 1 shown, including the following steps:

[0078] S1. Back up the index file to obtain the backup index file. Specifically, by backing up the index file, even if the index information in the index file is destroyed, the index information can be completely saved in the backup index file, so as to avoid the situation that corresponding data cannot be found due to loss of index information.

[0079] Preferably, as figure 2 As shown, step S1 includes:

[0080] S11. Perform a full backup of the index file to obtain the original backup index file. Specifically, by performing an index file on the data, when a data loss disaster occurs, only one tape (that is, the full backup tape of the day before the disaster occurs) can be used to restore the lost data. Can ensure data security.

[0081] S12. Daily backup is performed on the original backup index file to obtain the daily backup index file. Specifica...

Embodiment 2

[0107] This embodiment provides another index file recovery method, such as Figure 7 shown, including the following steps:

[0108] S1'. Back up the index file to obtain the backup index file. Specifically, the method of obtaining the backup index file in step S1 in Embodiment 1 may be used to obtain the backup index file.

[0109] S2'. Compare the generation time of each index information in the backup index file with the currently applied index file.

[0110] S3'. If the backup index file has the latest index information, use the backup index file as the latest index file; if the currently applied index file has the latest index information, use the currently applied index file as the latest index document.

[0111] S4'. Determine whether there is data that cannot be queried by the latest index file.

[0112] S5'. If it does not exist, replace the original backup index file and the currently applied index file with the latest index file.

[0113] S6'. Determine whether...

Embodiment 3

[0118] This embodiment provides an index file recovery device, such as Figure 8 shown, including:

[0119] The backup index file acquiring unit 11 is configured to back up the index file and acquire the backup index file.

[0120] Preferably, the backup index file acquisition unit 11 includes:

[0121] The full backup subunit 111 is configured to perform a full backup of the index file to obtain the original backup index file.

[0122] The daily backup subunit 112 is configured to perform daily backup of the original backup index file and acquire the daily backup index file.

[0123] The index information acquiring subunit 113 is configured to acquire new index information.

[0124] Preferably, the index information acquisition subunit 113 first judges whether new index information is generated; if it is generated, locks the index modification queue for recording the index information, and then writes the new index information into the index modification queue; writes Whe...

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 provides an index file recovery method and apparatus and a video monitoring system. The index file recovery method comprises the steps of backing up an index file to obtain a backup index file; and when data that cannot be queried by an index file of a current application exists, obtaining a recovery index file according to the backup index file, and replacing the index file of the current application with the recovery index file, so that destroyed index information in the index file of the current application can be recovered as far as possible and a fault that corresponding data cannot be retrieved is effectively eliminated.

Description

technical field [0001] The invention relates to the technical field of data storage, in particular to an index file recovery method, device and video monitoring system. Background technique [0002] Index files generally record index information such as data storage names and storage paths, and their main function is to provide clues for people to obtain data accurately and quickly. [0003] In order to realize fast query of data, index files are applied to data storage in many fields. For example, in the field of video surveillance, the index file of the video file is usually placed in the memory. Whenever a new video is generated, the index file in the memory must first be modified, and the storage name of the new video is added to the modified index file. Store the index information such as the path, and then write the index file in the memory back to the hard disk. When the video surveillance system is running stably, the index file is generally not damaged and the ind...

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): G06F11/14G06F17/30
CPCG06F11/1471G06F16/41
Inventor 张斌张龙
Owner 北京尚易德科技有限公司