A file restoration method and device

A repair method and file technology, applied in the field of data processing, can solve the problems of low file repair efficiency and waste of time, and achieve the effect of improving efficiency and ensuring accuracy

Active Publication Date: 2021-09-07
HUAWEI TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Using the above method requires parsing the code stream information of the audio and video data, the parsing process will waste a long time, and the file repair efficiency is low

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
  • A file restoration method and device
  • A file restoration method and device
  • A file restoration method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] Embodiments of the present application are described below with reference to the drawings in the embodiments of the present application.

[0027] The file restoration method and device described in the embodiments of the present application can be applied to audio and video files in various packaging formats (such as AVI format, MP4 format, MOV format, etc.). If an abnormality (such as power failure, card removal) occurs during the normal recording of audio and video files by equipment (such as surveillance products (such as cameras)), it will cause audio and video file recording errors, resulting in audio and video files stored in the audio and video files. The time domain and air domain information of the audio and video data corresponding to the code stream information of the video data cannot be written into the recorded audio and video files in time, and the data of the recorded audio and video files is incomplete, that is to say, the recorded audio and video files ...

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 embodiment of the present application discloses a file repair method and device, which are applied to audio and video files, and the audio and video files include code stream information of stored audio and video data, wherein the method includes: obtaining at least two bits of the audio and video files backup data, the backup time of the at least two backup data is different, and the at least two backup data include the size and time domain and space domain information of the code stream information of the audio and video data backed up respectively; The size of the code stream information of the video data and the size of the time domain and space domain information, determine the target backup data from the at least two backup data; the size and time of the code stream information of the audio and video data backed up according to the target backup data domain and airspace information, and repair the audio and video files. By adopting the embodiment of the present application, the efficiency of file restoration can be effectively improved, and the accuracy of file restoration can be ensured.

Description

technical field [0001] The present application relates to the technical field of data processing, in particular to a file repair method and device. Background technique [0002] At present, audio and video data recorded by surveillance products (such as cameras) are usually encapsulated in audio and video containers by using audio and video packaging technology to generate audio and video files. Video interleaved (Audio Video Interleaved, AVI) format, Moving Picture Experts Group (Moving Picture Experts Group 4, MP4) format, MOV format (ie Quick Time format), etc. [0003] With the continuous popularization of monitoring products, video recording is the basic function of monitoring products. In the case of abnormalities (such as power failure, card removal), how to ensure that the audio and video files recorded by monitoring products before the abnormal situation occurs are normally available. It is a common demand for current monitoring products. [0004] When abnormal co...

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): G06F11/14G11B20/10
CPCG06F11/1458G11B20/10527
Inventor 陈勰
Owner HUAWEI 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