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

Video file disk management method and device based on index files

A video file and index file technology, which is applied in file system, file access structure, electronic digital data processing, etc., can solve problems such as video loss, file cannot be opened, file error, etc., to improve efficiency and improve writing security sexual effect

Pending Publication Date: 2020-09-15
NANJING GENERAL ELECTRONICS
View PDF6 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] The car camera needs to be in the recording state all the time during the driving process, and the recorded video during the driving process needs to be stored in the disk, and the disk is constantly writing files in the car environment, which is prone to file errors, the file cannot be opened, and the video is lost.
[0003] If a video file contains too much data and the recording time is too long, it will also consume a lot of time to find the recording time point during video playback, which will affect the response speed of the program; and store the video in many small files , if no indexing mechanism is established, the operation of each file during file management will consume a lot of time

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
  • Video file disk management method and device based on index files
  • Video file disk management method and device based on index files
  • Video file disk management method and device based on index files

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] The present invention will be further described below in conjunction with the accompanying drawings.

[0038] A video file disk management method based on an index file, comprising the steps of:

[0039] Such as figure 1 As shown, it includes index files and video files, and the video files are composed of two parts: file index information and file data. The file index information is a fixed-length data structure. The content of the file index information data structure includes: file number, file start time, file end time, file size, file event type, file data type, and CRC check value. File event types include: alarm type video files, common type video files. File data types include: audio and video mixed recording files, video recording files, and pure audio recording files. The file number indicates the number of the video file, if 4-byte integer data is used, the value starts from 00000001. The number of each new video file is the value of the previous video fi...

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 video file disk management method and device based on index files. The video file disk management method includes the steps: creating file numbers in order, creating a videofile taking the file number as a file name and opening the video file; recording file start time, sequentially writing the received file data from the position where the beginning of the video file deviates from the size of the file index information; judging a file data type and a file event type according to the file data; setting a video file receiving time length; and when the file data receiving time reaches the set video file receiving time length, recording the end time of the file and the size of the file, performing CRC on the file index information except the CRC value to generate the CRC value, generating the file index information of the video file, and writing the file index information into the initial position of the video file and the index file. According to the video filedisk management method, the writing safety of the video file is effectively improved, and the rate efficiency is improved for management such as retrieval and deletion of the video file in the laterperiod.

Description

technical field [0001] The invention relates to a video file disk management method and device based on an index file, and belongs to the technical field of video file disk management. Background technique [0002] The car camera needs to be in the recording state all the time during the driving process, and the recorded video during the driving process needs to be stored in the disk, and the disk is constantly writing files in the car environment, which is prone to file errors, the file cannot be opened, and the video is lost. . [0003] If a video file contains too much data and the recording time is too long, it will also consume a lot of time to find the recording time point during video playback, which will affect the response speed of the program; and store the video in many small files , if no indexing mechanism is established, the operation of each file during file management will consume a lot of time. [0004] Therefore, how to improve the management efficiency o...

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): G06F16/13G06F11/10
CPCG06F16/13G06F11/1004
Inventor 洪雁张全宝吴晓樵
Owner NANJING GENERAL ELECTRONICS