Method for realizing circular file in media file

A technology of recycling files and implementation methods, applied in special data processing applications, instruments, electrical digital data processing, etc., can solve problems such as high cost, and achieve the effect of improving efficiency

Inactive Publication Date: 2010-08-04
北京黄金视讯科技有限公司
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In general, media files are very large, so the cost of this copy is also very high

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
  • Method for realizing circular file in media file
  • Method for realizing circular file in media file
  • Method for realizing circular file in media file

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] The technical solution of the present invention will be further described below in conjunction with the accompanying drawings.

[0029] figure 2 It is a schematic diagram of a method for implementing cyclic writing in the prior art. The disadvantage of this method is that the data in the loop file needs to be copied to a new file when the time shift ends and the pre-recording needs to be retained. Media files are very large, so this copy is expensive. Therefore the present invention has designed a kind of new scheme, promptly adds a loop area LoopLength in the newly-built file, when the newly-built file is pre-written to the set length, the file is cyclically written, and the file pointer Pointer circulates in the LoopLength, so there is no need to rewrite the file. Make a large copy, efficient read and write to reduce repetitive deletion and copying. When the upper layer logic ends the loop write, then calculate the actual offset address Offset.

[0030] Based on ...

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 belongs to the field of electric and digital data processing, in particular to a method for realizing a circular file in a media file system. The technical scheme adopted by the invention is that: three descriptions, such as LoopLength, Start Pointer and File Status are added into a new file description node i-node; the FileStatus comprises prewriting, loop writing and norm reading and writing; and prewriting, loop writing and norm reading and writing are sequentially carried out on the new file. The invention has the advantages that efficient reading and writing reduces repetitive deletion and copy; the hard disk is effectively protected to improve efficiency; and the method is suitable for reading and writing when a digital video recorder of security industry carries out 24 hours picture recording.

Description

technical field [0001] The invention belongs to the field of electric digital data processing, and in particular relates to a method for realizing circular files in a media file system. Background technique [0002] With the maturity of digital video technology, various digital video recorder products have been widely used. In the digital video recorder, there is an important function, that is, time-shift (Time-Shift). Such as figure 1 shown. The playback position in the figure is before the current real-time streaming position, so it is called time shift. For example, if the user misses the highlight shot a few minutes ago, he needs to go back and browse the highlight shot again. [0003] When implementing Time-Shift, it is necessary to always record a section of video (such as 30 minutes) before the current real-time stream in the hard disk. In this way, the user can perform operations to rewind and watch the video before the live streaming location. [0004] In addi...

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): G06F17/30
Inventor 唐玉勇
Owner 北京黄金视讯科技有限公司
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