CN103402067A - File value rating-based video coverage method - Google Patents
File value rating-based video coverage method Download PDFInfo
- Publication number
- CN103402067A CN103402067A CN2013103336109A CN201310333610A CN103402067A CN 103402067 A CN103402067 A CN 103402067A CN 2013103336109 A CN2013103336109 A CN 2013103336109A CN 201310333610 A CN201310333610 A CN 201310333610A CN 103402067 A CN103402067 A CN 103402067A
- Authority
- CN
- China
- Prior art keywords
- file
- video
- video file
- grading
- files
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Landscapes
- Television Signal Processing For Recording (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a file value rating-based video coverage method, which comprises the following steps of (a) acquiring video information; (b) establishing a video file directory; (c) naming and storing files; (d) rating the video files according to value estimation indexes; (e) establishing a file rate list; (f) judging whether a memory space is sufficient or not; (g) searching the file directory for the files; (h) searching for the rating information of the files; (i) deleting the files with the lowest value rates; (j) judging whether the memory space from which the files are deleted is sufficient or not; and (k) covering the video files. According to the video coverage method, the video files are rated according to the value estimation indexes when being generated, and the video files with the lowest rates are deleted during file coverage, so that the reserved video files are the most valuable, and the shortcomings of the conventional time-based sequential deletion are overcome.
Description
Technical field
The present invention relates to a kind of video recording covering method that is worth grading based on file, in particular, relate in particular to a kind of can guarantee the video file that stays be most worthy be worth the video recording covering method of grading based on file.
Background technology
, along with the continuous progress of safety monitoring industry technology and the innovation of storage hardware, make the massive video data storage become possibility.In existing video monitoring system, what generally adopt is the mode of central store.The video recording server is recorded a video according to the video recording plan of formulating in advance, in order to check later.But,, because capacity of memory device is limited, generally only keep the video recording of nearest a period of time, namely during off-capacity, from video recording the earliest, start to cover.In addition, when the needs playback is recorded a video, need the whole memory space of traversal.How to find the video information that meets specified conditions to become difficult point from mass data.Retrieve video file and playback system are directly connected to the application efficiency of video data.
Be worth under the video recording covering method of grading based on file existing, find that there is the deficiency of two aspects: the one,, when recording a video covering, just the morning and evening by the time covers, carry out under such overlay strategy, very likely contain valuable video file in the video file that is capped, and perhaps have nugatory video file in the recent video recording that remains.Be unfavorable for like this rational utilization to the video file that has produced.The 2nd,, when carrying out the video file retrieval, may need to travel through whole memory space and just can obtain corresponding listed files, cause like this recall precision low, and long-time high strength access memory space cause the memory device lost of life.
Summary of the invention
The present invention, in order to overcome the shortcoming of above-mentioned technical problem, provides a kind of and can guarantee that the video file that stays is the video recording covering method based on the grading of file value of most worthy.
The video recording covering method that is worth grading based on file of the present invention, its special feature is, comprises the following steps successively: a). gathers video information, utilizes the video information of watch-dog collection site environment, form video file; B). set up the video file catalogue, be followed successively by from top to bottom the form of root, self-defined video file folder title, date, video recording type according to Folder Names at different levels, set up and deposit the catalogue of video file, in order to video file is preserved; C). file designation and preservation, according to the mode of " the IP address of watch-dog-video recording time started ", the video file that gathers is named, the video file after name is saved under the corresponding document folder, so that inquiry and use; D). the video file grading, according to the value assessment index, video file to be graded, the video file that importance is higher, grade higher; E). set up file grading list,, with the index that is rated of video file, set up the grading list of video file, be referred to as file grading list, for the use of retrieval; F). judge whether memory space is sufficient, memory device judges whether current memory space is sufficient,, if sufficient, preserves the video file of current collection, and video file is not before done deletion; , if inadequate, perform step g); G). locating file, the IP address according to date, video recording type and watch-dog, retrieve all qualified video files from file directory, form video file list; H). search grading information, from step e) find out step g in the file grading list of setting up) in the grading of each file of retrieving; I). deleted file, the number of the minimum video file of grading in the judgement video file list, if the number of the minimum video file of grading is 1, directly with its deletion; The number of minimum video file is more than 2 if grade, acquisition time file deletion the earliest in the minimum video file of grading; Execution step j); J). the judgement memory space, judge whether current memory space meets the demands, as meet the demands, stop deleted file, execution step k); If not meeting the demands, redirect performs step g); K). cover video file, the video file of the current collection of storage, override the minimum video file of grading.
Step is a) for utilizing watch-dog to gather video information, and the formation video file; Step b) for setting up the catalogue of storage video file.Steps d) be to form the grading of video file, step e according to the value assessment index) for set up file grading list according to grading.Step f) for judging that whether current memory space is sufficient,, if inadequate, needs deleted file; Step g) be the automatic locating file of IP information of date, video recording type and watch-dog according to setting in advance, step h) for finding out the grading of each file.Step I) be deleted file, when only having a file of grading minimum, directly with its deletion; When the minimum number of files of grading is two when above, the file deletion that will gather at first.
Whether the value assessment index the video recording covering method of grading, the steps d of being worth based on file of the present invention) refers to video time, the background complexity of video file and is forbidden zone; Video time refers to, the value assessment index of the video file that produces in certain time period among a day is
, the value assessment index of the video file that produces in all the other time periods is
The background complexity refers to, the value assessment index while having the people to exist in video file is
, the value assessment index when nobody exists is
Being worth evaluation index when the monitoring scene of video file is forbidden zone is
, during for non-forbidden zone be
Like this, gather time, the background complexity of video according to watch-dog and whether be the size that forbidden zone can obtain its grading.
The invention has the beneficial effects as follows: (1) video recording covering method that is worth grading based on file of the present invention, according to the value assessment index, it is set up grading when generating video file, guaranteed when memory space inadequate carries out the covering of video file, the video file that remains is the video file of most worthy, has avoided existing drawback of deleting successively in chronological order.(2) in the process of document retrieval, at first according to the search condition of setting, retrieve from file directory, form listed files; Find out again the class information of each file by the inquiry file rank list,, so that according to the class information deleted file, can avoid traveling through whole memory space, improved recall precision, and can increase the life-span of memory device.
Description of drawings
Fig. 1 is the flow chart that is worth the video recording covering method of grading based on file of the present invention.
Embodiment
The invention will be further described below in conjunction with accompanying drawing and embodiment.
As shown in Figure 1, provided the flow chart that is worth the video recording covering method of grading based on file of the present invention, it is realized by following steps:
A). gather video information, utilize the video information of watch-dog collection site environment, form video file;
B). set up the video file catalogue, be followed successively by from top to bottom the form of root, self-defined video file folder title, date, video recording type according to Folder Names at different levels, set up and deposit the catalogue of video file, in order to video file is preserved;
The form that is followed successively by from top to bottom root, self-defined video file folder title, date, video recording type according to Folder Name in this step is named, and is conducive to searching and retrieving of video file.
C). file designation and preservation, according to the mode of " the IP address of watch-dog-video recording time started ", the video file that gathers is named, the video file after name is saved under the corresponding document folder, so that inquiry and use;
In this step, video file is named according to the form of " the IP address of watch-dog-video recording time started ", is conducive to searching of video file.
D). the video file grading, according to the value assessment index, video file to be graded, the video file that importance is higher, grade higher;
While for example applying in supermarket, if in this front end visual field during nobody, the value of this section video recording that produces is not enough, after the intelligent decision according to front end or software, gives this video recording low grading.
In this step, whether described value assessment index refers to video time, the background complexity of video file and is forbidden zone; Video time refers to, the value assessment index of the video file that produces in certain time period among a day is
, the value assessment index of the video file that produces in all the other time periods is
The background complexity refers to, the value assessment index while having the people to exist in video file is
, the value assessment index when nobody exists is
Being worth evaluation index when the monitoring scene of video file is forbidden zone is
, during for non-forbidden zone be
For example, if video file is to gather in certain material time section of setting among one day, and there is the people to exist in background, being rated according to the value assessment Index Establishment
+
E). set up file grading list,, with the index that is rated of video file, set up the grading list of video file, be referred to as file grading list, for the use of retrieval;
The foundation of file grading list, be conducive to fast finding and go out the grading of corresponding document.
F). judge whether memory space is sufficient, memory device judges whether current memory space is sufficient,, if sufficient, preserves the video file of current collection, and video file is not before done deletion; , if inadequate, perform step g);
G). locating file, the IP address according to date, video recording type and watch-dog, retrieve all qualified video files from file directory, form video file list;
The retrieval of video file, complete automatically by the IP address information of the date of setting, the type of recording a video and watch-dog; For example the date can be the All Time that gathers video recording, can be also certain period; It is not very important watch-dog that monitoring position can be chosen in the IP address of watch-dog.
H). search grading information, from step e) find out step g in the file grading list of setting up) in the grading of each file of retrieving;
I). deleted file, the number of the minimum video file of grading in the judgement video file list, if the number of the minimum video file of grading is 1, directly with its deletion; The number of minimum video file is more than 2 if grade, acquisition time file deletion the earliest in the minimum video file of grading; Execution step j);
J). the judgement memory space, judge whether current memory space meets the demands, as meet the demands, stop deleted file, execution step k); If not meeting the demands, redirect performs step g);
K). cover video file, the video file of the current collection of storage, override the minimum video file of grading.
The video recording covering method that is worth grading based on file of the present invention, according to the value assessment index, it is set up grading when generating video file, guaranteed when memory space inadequate carries out the covering of video file, can guarantee that the video file that stays is the video file of most worthy, avoid existing drawback of deleting successively in chronological order.
Claims (2)
1. a video recording covering method that is worth grading based on file, is characterized in that, comprises the following steps successively:
A). gather video information, utilize the video information of watch-dog collection site environment, form video file;
B). set up the video file catalogue, be followed successively by from top to bottom the form of root, self-defined video file folder title, date, video recording type according to Folder Names at different levels, set up and deposit the catalogue of video file, in order to video file is preserved;
C). file designation and preservation, according to the mode of " the IP address of watch-dog-video recording time started ", the video file that gathers is named, the video file after name is saved under the corresponding document folder, so that inquiry and use;
D). the video file grading, according to the value assessment index, video file to be graded, the video file that importance is higher, grade higher;
E). set up file grading list,, with the index that is rated of video file, set up the grading list of video file, be referred to as file grading list, for the use of retrieval;
F). judge whether memory space is sufficient, memory device judges whether current memory space is sufficient,, if sufficient, preserves the video file of current collection, and video file is not before done deletion; , if inadequate, perform step g);
G). locating file, the IP address according to date, video recording type and watch-dog, retrieve all qualified video files from file directory, form video file list;
H). search grading information, from step e) find out step g in the file grading list of setting up) in the grading of each file of retrieving;
I). deleted file, the number of the minimum video file of grading in the judgement video file list, if the number of the minimum video file of grading is 1, directly with its deletion; The number of minimum video file is more than 2 if grade, acquisition time file deletion the earliest in the minimum video file of grading; Execution step j);
J). the judgement memory space, judge whether current memory space meets the demands, as meet the demands, stop deleted file, execution step k); If not meeting the demands, redirect performs step g);
K). cover video file, the video file of the current collection of storage, override the minimum video file of grading.
2. the video recording covering method that is worth grading based on file according to claim 1, it is characterized in that: whether the value assessment index steps d) refers to video time, the background complexity of video file and is forbidden zone; Video time refers to, the value assessment index of the video file that produces in certain time period among a day is
, the value assessment index of the video file that produces in all the other time periods is
The background complexity refers to, the value assessment index while having the people to exist in video file is
, the value assessment index when nobody exists is
Being worth evaluation index when the monitoring scene of video file is forbidden zone is
, during for non-forbidden zone be
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310333610.9A CN103402067B (en) | 2013-08-02 | 2013-08-02 | A kind of video recording covering method being worth grading based on file |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310333610.9A CN103402067B (en) | 2013-08-02 | 2013-08-02 | A kind of video recording covering method being worth grading based on file |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103402067A true CN103402067A (en) | 2013-11-20 |
CN103402067B CN103402067B (en) | 2016-06-08 |
Family
ID=49565583
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310333610.9A Active CN103402067B (en) | 2013-08-02 | 2013-08-02 | A kind of video recording covering method being worth grading based on file |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103402067B (en) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104394382A (en) * | 2014-12-09 | 2015-03-04 | 浙江省公众信息产业有限公司 | Storage method, device and system of video monitoring record |
CN106060442A (en) * | 2016-05-20 | 2016-10-26 | 浙江宇视科技有限公司 | Video storage method, device and system |
CN106534329A (en) * | 2016-11-28 | 2017-03-22 | 桐城市闲产网络服务有限公司 | Management method for network data storage |
CN106961569A (en) * | 2017-03-21 | 2017-07-18 | 深圳英飞拓科技股份有限公司 | One kind video recording covering method, device and network hard disk video recorder |
CN106993148A (en) * | 2017-03-21 | 2017-07-28 | 深圳英飞拓科技股份有限公司 | One kind video recording covering method, device and network hard disk video recorder |
CN106993147A (en) * | 2017-03-21 | 2017-07-28 | 深圳英飞拓科技股份有限公司 | One kind video recording covering method, device and network hard disk video recorder |
US10063735B2 (en) | 2014-12-25 | 2018-08-28 | Vivotek Inc. | Image file management method, image capturing device, image storage device, and computer readable medium thereof |
CN109982019A (en) * | 2019-03-28 | 2019-07-05 | 中电海康集团有限公司 | A kind of intelligent evidence-obtaining system and method for the supervision of suspect's Interrogation Procedure |
CN110910598A (en) * | 2018-09-17 | 2020-03-24 | 奇酷互联网络科技(深圳)有限公司 | Intelligent terminal and method and device for detecting intrusion by monitoring video |
CN111125022A (en) * | 2019-11-15 | 2020-05-08 | 浙江大华技术股份有限公司 | Method, device, equipment and storage medium for determining video coverage weight |
CN113596375A (en) * | 2021-07-15 | 2021-11-02 | 深圳昌恩智能股份有限公司 | Automobile driving recording system with circulating video recording function |
CN114501176A (en) * | 2021-12-29 | 2022-05-13 | 深圳市海浦蒙特科技有限公司 | Data acquisition method and device, data acquisition terminal and readable storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1614688A (en) * | 2004-07-05 | 2005-05-11 | 上海交通大学 | Monitoring data file processing method and hard disk inspecting method based on hard disk |
US20080154961A1 (en) * | 2006-12-21 | 2008-06-26 | Dougall Scott C J | Local digital asset storage management technique |
CN101533416A (en) * | 2009-04-23 | 2009-09-16 | 杭州华三通信技术有限公司 | Method and system for managing video and audio file |
CN101753944A (en) * | 2008-12-08 | 2010-06-23 | 北京中星微电子有限公司 | Method and device for video management of video monitoring system |
CN103024329A (en) * | 2013-01-04 | 2013-04-03 | 四川长虹电子系统有限公司 | Method for storing and managing surveillance videos |
-
2013
- 2013-08-02 CN CN201310333610.9A patent/CN103402067B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1614688A (en) * | 2004-07-05 | 2005-05-11 | 上海交通大学 | Monitoring data file processing method and hard disk inspecting method based on hard disk |
US20080154961A1 (en) * | 2006-12-21 | 2008-06-26 | Dougall Scott C J | Local digital asset storage management technique |
CN101753944A (en) * | 2008-12-08 | 2010-06-23 | 北京中星微电子有限公司 | Method and device for video management of video monitoring system |
CN101533416A (en) * | 2009-04-23 | 2009-09-16 | 杭州华三通信技术有限公司 | Method and system for managing video and audio file |
CN103024329A (en) * | 2013-01-04 | 2013-04-03 | 四川长虹电子系统有限公司 | Method for storing and managing surveillance videos |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104394382A (en) * | 2014-12-09 | 2015-03-04 | 浙江省公众信息产业有限公司 | Storage method, device and system of video monitoring record |
US10063735B2 (en) | 2014-12-25 | 2018-08-28 | Vivotek Inc. | Image file management method, image capturing device, image storage device, and computer readable medium thereof |
CN106060442A (en) * | 2016-05-20 | 2016-10-26 | 浙江宇视科技有限公司 | Video storage method, device and system |
CN106060442B (en) * | 2016-05-20 | 2020-06-19 | 浙江宇视科技有限公司 | Video storage method, device and system |
CN106534329A (en) * | 2016-11-28 | 2017-03-22 | 桐城市闲产网络服务有限公司 | Management method for network data storage |
CN106993147B (en) * | 2017-03-21 | 2019-08-23 | 深圳英飞拓科技股份有限公司 | A kind of video recording covering method, device and network hard disk video recorder |
CN106993147A (en) * | 2017-03-21 | 2017-07-28 | 深圳英飞拓科技股份有限公司 | One kind video recording covering method, device and network hard disk video recorder |
CN106993148A (en) * | 2017-03-21 | 2017-07-28 | 深圳英飞拓科技股份有限公司 | One kind video recording covering method, device and network hard disk video recorder |
CN106993148B (en) * | 2017-03-21 | 2019-11-05 | 深圳英飞拓科技股份有限公司 | A kind of video recording covering method, device and network hard disk video recorder |
CN106961569B (en) * | 2017-03-21 | 2020-06-16 | 深圳英飞拓科技股份有限公司 | Video coverage method and device and network video recorder |
CN106961569A (en) * | 2017-03-21 | 2017-07-18 | 深圳英飞拓科技股份有限公司 | One kind video recording covering method, device and network hard disk video recorder |
CN110910598A (en) * | 2018-09-17 | 2020-03-24 | 奇酷互联网络科技(深圳)有限公司 | Intelligent terminal and method and device for detecting intrusion by monitoring video |
CN109982019A (en) * | 2019-03-28 | 2019-07-05 | 中电海康集团有限公司 | A kind of intelligent evidence-obtaining system and method for the supervision of suspect's Interrogation Procedure |
CN111125022A (en) * | 2019-11-15 | 2020-05-08 | 浙江大华技术股份有限公司 | Method, device, equipment and storage medium for determining video coverage weight |
CN113596375A (en) * | 2021-07-15 | 2021-11-02 | 深圳昌恩智能股份有限公司 | Automobile driving recording system with circulating video recording function |
CN114501176A (en) * | 2021-12-29 | 2022-05-13 | 深圳市海浦蒙特科技有限公司 | Data acquisition method and device, data acquisition terminal and readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN103402067B (en) | 2016-06-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103402067A (en) | File value rating-based video coverage method | |
CN101459557B (en) | Secure logging centralized storage method and device | |
CN104572670B (en) | A kind of storage of small documents, inquiry and delet method and system | |
CN103020281B (en) | A kind of data storage and retrieval method based on spatial data numerical index | |
CN102521405B (en) | Massive structured data storage and query methods and systems supporting high-speed loading | |
CN108491549B (en) | Method and device for creating file directory in distributed storage system | |
CN102906751A (en) | Method and device for data storage and data query | |
CN104281651B (en) | A kind of method and its system of massive video data retrieval | |
CN103092848B (en) | A kind of picture storage and retrieval method | |
CN102937924B (en) | File allocation table (FAT) data recovery method based on file characteristic and file system | |
CN104834648B (en) | Log inquiring method and device | |
CN101127879A (en) | Stream media VoD system for intelligent access data | |
CN102946320B (en) | Distributed supervision method and system for user behavior log forecasting network | |
CN103577482B (en) | A kind of webpage collection method, device and browser | |
CN102968464B (en) | A kind of search method of the local resource quick retrieval system based on index | |
CN103282899A (en) | File system data storage method and access method and device therefor | |
CN108460075B (en) | File content retrieval method and system | |
CN109491589A (en) | A kind of delamination process and device based on file content | |
CN102622384A (en) | File management method | |
CN103139263A (en) | Method of automatically realizing cloud storage | |
CN102111285A (en) | Method and system for managing log information | |
CN105005517B (en) | The storage and backup system and method for call center's recording file | |
CN109597574A (en) | Distributed data storage method, server and readable storage medium storing program for executing | |
CN105787090A (en) | Index building method and system of OLAP system of electric data | |
CN102104581A (en) | Network karaoke on-demand system and method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |