[go: up one dir, main page]

CN101753944A - Method and device for video management of video monitoring system - Google Patents

Method and device for video management of video monitoring system Download PDF

Info

Publication number
CN101753944A
CN101753944A CN200810239279A CN200810239279A CN101753944A CN 101753944 A CN101753944 A CN 101753944A CN 200810239279 A CN200810239279 A CN 200810239279A CN 200810239279 A CN200810239279 A CN 200810239279A CN 101753944 A CN101753944 A CN 101753944A
Authority
CN
China
Prior art keywords
video
file
deletion
delete
index
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
Application number
CN200810239279A
Other languages
Chinese (zh)
Other versions
CN101753944B (en
Inventor
魏立志
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mid Star Technology Ltd By Share Ltd
Vimicro Corp
Original Assignee
Vimicro Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Vimicro Corp filed Critical Vimicro Corp
Priority to CN 200810239279 priority Critical patent/CN101753944B/en
Publication of CN101753944A publication Critical patent/CN101753944A/en
Application granted granted Critical
Publication of CN101753944B publication Critical patent/CN101753944B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Television Signal Processing For Recording (AREA)

Abstract

The invention provides a method and a device for the video management of a video monitoring system. The method comprises the following steps: firstly, enabling each video file to store video streams with preset time length, and the file name of each video file containing the generation time of the stored video streams; secondly, receiving the delete requests of a client end so as to obtain the delete time period corresponding to the video stream to be deleted; thirdly, searching and finding according to the file names of the video files, and finding out the video file containing the video streams at the delete time period as a target file; and finally, judging whether the video streams stored in the target file include non-deleted video streams except the deleted time period or not, if so, copying and storing the non-deleted video streams to generate a new video file and then deleting the target file; otherwise, directly deleting the target file. The invention can precisely delete video files according to the instructions of clients.

Description

A kind of method of management of video of video monitoring system and device
Technical field
The present invention relates to the data management technique of video monitoring system, particularly relate to a kind of method and device of management of video of video monitoring system.
Background technology
Video monitoring system is the important component part in the security precautions technology system, develop rapidly along with science and technology, digital video recording technology is increasingly mature, CCD (charge coupled device, charge coupled device) camcorder technology also reaches its maturity and commercialization, and digital video monitor system has become the mainstream technology that the current video monitoring is adopted.In digital video monitor system, can be sent to Surveillance center to the picture material that is monitored the place, the situation of monitored site is come into plain view.Another characteristics of digital video monitor system are that it can be noted image that is monitored the place and sound whole or in part, so just make things convenient for condition and important evidence for the processing of some incident is provided in the future.
After video monitoring system was built up, administrative staff not only can see the real-time condition of monitoring area at any time at Control Room, and can inquire about and have access to the video file in the regular period easily, also video file can be dumped to storage medium and keep for future reference.But for situations such as some privacies, client can have the demand of deletion to the video recording data of certain hour section sometimes, and the video recording deleting technique has had the necessity that exists.
In the process that realizes technical solution of the present invention, find that there is following defective at least in prior art:
Aspect the video recording deletion, what industry adopted at present all is to delete according to video file, do not support the deletion mode of precise time section, there is certain contradiction in this mode when the client is recorded a video the data deletion sometimes, because the client specifies the video recording data outside the time that will delete may need the client.So be necessary to realize the video recording deletion mode of precise time section.
Summary of the invention
The purpose of the embodiment of the invention provides a kind of method and device of management of video of video monitoring system, can carry out the accurate deletion of video file according to client's indication.
To achieve these goals, on the one hand, provide a kind of method of management of video of video monitoring system, comprised the steps:
Step 1 makes the video flowing of the storing predetermined duration of each video file, and the filename of each described video file contains the rise time of video stream stored to some extent;
Step 2, the removal request of reception client obtains the pairing deletion time period of video flowing that will delete;
Step 3 is searched according to the filename of described video file, and the video file that finds the video flowing that includes the described deletion time period is as file destination;
Step 4, judge whether described file destination institute video stream stored includes the non-deletion video flowing outside the described deletion time period, is then described non-deletion video flowing to be duplicated storage, generates new video file, delete described file destination afterwards, otherwise directly delete described file destination.
Preferably, in the above-mentioned method, in described step 4, described non-deletion video flowing is duplicated storage specifically comprise: locate described non-deletion video flowing by the video index of described file destination, and described non-deletion video flowing is copied in the internal memory.
Preferably, in the above-mentioned method, described video index only generates at described file destination after finding described file destination.
Preferably, in the above-mentioned method, described video index generates simultaneously at each described video file when generating each described video file.
Preferably, in the above-mentioned method, each described video file all includes index area and video recording data field, described video recording data field is used for store video stream, described index area is used to store described video index, and described video index writes down the memory location of each second video data in described video recording data field.
Another aspect of the present invention provides a kind of device of management of video of video monitoring system, it is characterized in that, comprising:
Memory cell is used for: make the video flowing of the storing predetermined duration of each video file, the filename of each described video file contains the rise time of video stream stored to some extent;
Receiving element is used for: receive the removal request of client, obtain the pairing deletion time period of video flowing that will delete;
Search the unit, be used for: the filename according to described video file is searched, and the video file that finds the video flowing that includes the described deletion time period is as file destination;
Delete cells, be used for: judge whether described file destination institute video stream stored includes the non-deletion video flowing outside the described deletion time period, be then described non-deletion video flowing to be duplicated storage, generate new video file, delete described file destination afterwards, otherwise directly delete described file destination.
Preferably, in the above-mentioned device, also include internal memory, be used for the described non-deletion video flowing of buffer memory.
Preferably, in the above-mentioned device, also comprise the index generation unit, be used for: generate video index to described file destination or to each described video file, described video index writes down each second video data memory location hereof.
There is following technique effect at least in the embodiment of the invention:
1) the non-deletion video flowing in the file destination is duplicated and generate new video file, can accomplish accurate deletion, avoid deleting more and deleting less.
2) according to video recording rise time name video file, can be by the very fast file destination that finds the needs deletion of filename.
3) video file all has scheduled duration, time is generally not long, most of file destination all is whole deletion, the file that only is in the beginning and end of deletion time period just relates to the part deletion, because want the non-deleted file of copying and saving very short, when ensureing accurately deletion, it is very short that the spent time is handled in deletion.
Description of drawings
The flow chart of steps of the method that Fig. 1 provides for the embodiment of the invention;
The structure chart of the video file that Fig. 2 provides for the embodiment of the invention;
The structure chart of the device that Fig. 3 provides for the embodiment of the invention.
Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention is clearer, specific embodiment is described in detail below in conjunction with accompanying drawing.
The embodiment of the invention provides a kind of video recording delet method that can realize specifying the precise time section from customer demand.Under the file system of video recording server, video file adopts the mode of pressing one of certain hour section generation; The video file name is used the video recording rise time, and video file is made of video recording data and file index district, and the file index district has marked the position in the video file of video file each second video recording place, and video file leaves on the storage server; The client specifies the time period of deletion video recording to send to storage server; Storage server is searched the file that comprises this section period according to the time period that receives.Having following several situation during this period of time exists in the video file:
The one, be present in a certain complete video file or the video file that some is complete, directly delete these video files;
The 2nd, what be present in a certain video file begins to certain position, centre of this video file or certain position, centre of next video file from video file;
The 3rd, certain position, centre that is present in a certain video file is to the end position of this file or certain position, centre of other video files;
The 4th, certain position, centre that is present in a certain video file is to the next position of the centre of this file or certain position, centre of other video files;
For situation two to situation four, to begin or the end position of recording a video according to the video recording that finds, after the video file data that does not need to delete regenerated one or more new video files, and generate the filename of new video file, thereby delete the video recording deletion that original video file is realized the precise time section then according to the video time of reading the video recording index area.
The flow chart of steps of the method that Fig. 1 provides for the embodiment of the invention, as figure, the method for the management of video of video monitoring system comprises:
Step 101 makes the video flowing of the storing predetermined duration of each video file, and the filename of each described video file contains the rise time of video stream stored to some extent;
Step 102, the removal request of reception client obtains the pairing deletion time period of video flowing that will delete;
Step 103 is searched according to the filename of described video file, and the video file that finds the video flowing that includes the described deletion time period is as file destination;
Step 104, judge whether described file destination institute video stream stored includes the non-deletion video flowing outside the described deletion time period, be then described non-deletion video flowing to be duplicated storage, generate new video file, delete described file destination afterwards, otherwise directly delete described file destination.
Below be that example makes a more detailed description with the concrete time period.
Video recording server real-time storage video file, for example per 5 minutes video recording (video flowing) generates a video file, if since the video recording of six o'clock, then the video file that generates successively is 6:00,6:05,6:10,6:15,6:20.......
Suppose that the client will delete the video flowing in the 6:02-6:12 time period, the server of then recording a video is searched, and finds that the file that comprises the video flowing that will delete has: 6:00,6:05, three files of 6:10.
Wherein all video flowings among the 6:05 (time period of institute store video stream is 6:05-6:10) are all within the time period 6:02-6:12 that will delete, so the 6:05 file can directly be deleted.
The structure chart of the video file that Fig. 2 provides for the embodiment of the invention;
For the 6:00 file, because the video in the 6:00-6:02 time period can not be deleted, its processing procedure is as follows: the video index of the index area by the 6:00 file, and the video of searching 6: 02: 00 is at the particular location of video recording data field; Begin reading of data from the beginning of video recording data field, read till the data of locating in 00 second in 02 minute in 6 o'clock, the storage that is read (also can directly store the presumptive area as buffer memory on the hard disk into) in internal memory; Deletion 6:00 file generates new 6:00 file (storing on the hard disk) with the data of storing in the internal memory.
For the 6:10 file, because the video in the 6:13-6:15 time period can not be deleted, its processing procedure is as follows: the video index of the index area by the 6:10 file, and the video of searching 6: 13: 00 is at the particular location of video recording data field; Begin to read from 6: 13: 00 data of video recording data field, read till the data that end of file (6:15) locates, the storage that is read is in internal memory; Deletion 6:10 file generates new 6:13 file with the data of storing in the internal memory.
What described video index write down is the memory location of each second video data in the video recording data field of file.Video index can generate at each described video file when generating each described video file simultaneously, but can relatively expend system resource like this, a lot of files may always can not used index, therefore, also can after finding described file destination, only generate video index at described file destination, (this length does not influence response speed with the time that generates index and is advisable and because each file all has predetermined length, for example 4 minutes 5 minutes or 6 minutes), so can not influence reaction speed.
The embodiment of the invention also provides a kind of device of management of video of video monitoring system, the structure chart of the device that Fig. 3 provides for the embodiment of the invention, and device 20 comprises:
Memory cell 21 is used for: make the video flowing of the storing predetermined duration of each video file, the filename of each described video file contains the rise time of video stream stored to some extent;
Receiving element 22 is used for: receive the removal request of client, obtain the pairing deletion time period of video flowing that will delete;
Search unit 23, be used for: the filename according to described video file is searched, and the video file that finds the video flowing that includes the described deletion time period is as file destination;
Delete cells 24, be used for: judge whether described file destination institute video stream stored includes the non-deletion video flowing outside the described deletion time period, be then described non-deletion video flowing to be duplicated storage, generate new video file, delete described file destination afterwards, otherwise directly delete described file destination.
Also include internal memory, be used for the described non-deletion video flowing of buffer memory.
Also comprise the index generation unit, be used for: generate video index to described file destination or to each described video file, described video index writes down each second video data memory location hereof.
As from the foregoing, the embodiment of the invention has following advantage:
1) the non-deletion video flowing in the file destination is duplicated and generate new video file, can accomplish accurate deletion, avoid deleting more and deleting less.
2) according to video recording rise time name video file, can be by the very fast file destination that finds the needs deletion of filename.
3) video file all has scheduled duration, time is generally not long, most of file destination all is whole deletion, the file that only is in the beginning and end of deletion time period just relates to the part deletion, because want the non-deleted file of copying and saving very short, when ensureing accurately deletion, it is very short that the spent time is handled in deletion.
The above only is a preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (8)

1. the method for the management of video of a video monitoring system is characterized in that, comprises the steps:
Step 1 makes the video flowing of the storing predetermined duration of each video file, and the filename of each described video file contains the rise time of video stream stored to some extent;
Step 2, the removal request of reception client obtains the pairing deletion time period of video flowing that will delete;
Step 3 is searched according to the filename of described video file, and the video file that finds the video flowing that includes the described deletion time period is as file destination;
Step 4, judge whether described file destination institute video stream stored includes the non-deletion video flowing outside the described deletion time period, is then described non-deletion video flowing to be duplicated storage, generates new video file, delete described file destination afterwards, otherwise directly delete described file destination.
2. method according to claim 1, it is characterized in that, in described step 4, described non-deletion video flowing is duplicated storage specifically comprise: locate described non-deletion video flowing by the video index of described file destination, and described non-deletion video flowing is copied in the internal memory.
3. method according to claim 2 is characterized in that, described video index only generates at described file destination after finding described file destination.
4. method according to claim 2 is characterized in that, described video index generates simultaneously at each described video file when generating each described video file.
5. method according to claim 2, it is characterized in that, each described video file all includes index area and video recording data field, described video recording data field is used for store video stream, described index area is used to store described video index, and described video index writes down the memory location of each second video data in described video recording data field.
6. the device of the management of video of a video monitoring system is characterized in that, comprising:
Memory cell is used for: make the video flowing of the storing predetermined duration of each video file, the filename of each described video file contains the rise time of video stream stored to some extent;
Receiving element is used for: receive the removal request of client, obtain the pairing deletion time period of video flowing that will delete;
Search the unit, be used for: the filename according to described video file is searched, and the video file that finds the video flowing that includes the described deletion time period is as file destination;
Delete cells, be used for: judge whether described file destination institute video stream stored includes the non-deletion video flowing outside the described deletion time period, be then described non-deletion video flowing to be duplicated storage, generate new video file, delete described file destination afterwards, otherwise directly delete described file destination.
7. device according to claim 6 is characterized in that, also includes internal memory, is used for the described non-deletion video flowing of buffer memory.
8. device according to claim 7, it is characterized in that, also comprise the index generation unit, be used for: generate video index to described file destination or to each described video file, described video index writes down each second video data memory location hereof.
CN 200810239279 2008-12-08 2008-12-08 Method and device for video management of video monitoring system Active CN101753944B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200810239279 CN101753944B (en) 2008-12-08 2008-12-08 Method and device for video management of video monitoring system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200810239279 CN101753944B (en) 2008-12-08 2008-12-08 Method and device for video management of video monitoring system

Publications (2)

Publication Number Publication Date
CN101753944A true CN101753944A (en) 2010-06-23
CN101753944B CN101753944B (en) 2013-04-17

Family

ID=42480223

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200810239279 Active CN101753944B (en) 2008-12-08 2008-12-08 Method and device for video management of video monitoring system

Country Status (1)

Country Link
CN (1) CN101753944B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102655579A (en) * 2012-04-09 2012-09-05 深圳一电科技有限公司 Method and device for storing audio-video images
CN103152423A (en) * 2013-03-15 2013-06-12 安科智慧城市技术(中国)有限公司 Cloud storage system and data access method thereof
CN103402067A (en) * 2013-08-02 2013-11-20 山东神戎电子股份有限公司 File value rating-based video coverage method
CN103647935A (en) * 2013-11-19 2014-03-19 长沙中联重科环卫机械有限公司 Video data storage method and video monitoring device
CN106791549A (en) * 2016-11-21 2017-05-31 建荣半导体(深圳)有限公司 A kind of videotape storage means, system and drive recorder
CN107609014A (en) * 2017-08-02 2018-01-19 深圳市爱培科技术股份有限公司 A kind of drive recorder and its video storage method, storage medium
CN112650880A (en) * 2020-11-30 2021-04-13 重庆紫光华山智安科技有限公司 Video analysis method and device, computer equipment and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100505858C (en) * 2004-05-13 2009-06-24 索尼株式会社 Image data processing device and image data processing method
CN1744695A (en) * 2005-05-13 2006-03-08 圆刚科技股份有限公司 How to search the screen of the surveillance system
CN101055178A (en) * 2006-04-14 2007-10-17 雅音商行 A positioning system that simultaneously displays external scene images and coordinate position map images

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102655579A (en) * 2012-04-09 2012-09-05 深圳一电科技有限公司 Method and device for storing audio-video images
CN103152423A (en) * 2013-03-15 2013-06-12 安科智慧城市技术(中国)有限公司 Cloud storage system and data access method thereof
CN103402067A (en) * 2013-08-02 2013-11-20 山东神戎电子股份有限公司 File value rating-based video coverage method
CN103402067B (en) * 2013-08-02 2016-06-08 山东神戎电子股份有限公司 A kind of video recording covering method being worth grading based on file
CN103647935A (en) * 2013-11-19 2014-03-19 长沙中联重科环卫机械有限公司 Video data storage method and video monitoring device
CN103647935B (en) * 2013-11-19 2017-01-04 长沙中联重科环卫机械有限公司 Video data storage method and video monitoring device
CN106791549A (en) * 2016-11-21 2017-05-31 建荣半导体(深圳)有限公司 A kind of videotape storage means, system and drive recorder
CN107609014A (en) * 2017-08-02 2018-01-19 深圳市爱培科技术股份有限公司 A kind of drive recorder and its video storage method, storage medium
CN112650880A (en) * 2020-11-30 2021-04-13 重庆紫光华山智安科技有限公司 Video analysis method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN101753944B (en) 2013-04-17

Similar Documents

Publication Publication Date Title
CN101753944B (en) Method and device for video management of video monitoring system
CN101097577B (en) File management device and electronic equipment
CN103080896B (en) Always searched to reduce the time to tape-shaped medium's to access rearrangement
CN101753947A (en) Method and device for video-on-demand playback of video monitoring recording
CN107493458A (en) A kind of method and system for accessing monitor video
CN104065906B (en) Video recording method and device of digital video recording equipment
US8472449B2 (en) Packet file system
CN100596182C (en) Apparatus and methods for reproducing
WO2010078760A1 (en) A method, a device for storing file and a method, a device for deleting file
CN102968422A (en) System and method for controlling streaming data storage
WO2018014711A1 (en) Method and device for playing video
CN101753936A (en) Configuration method of storage space and video server for video monitoring system
CN102081947A (en) Management control method of video and audio file on embedded multimedia system
CN101237571A (en) A video coding storage method and device in monitoring system
WO2010080781A1 (en) Systems and methods for monitoring archive storage condition and preventing the loss of archived data
CN105068761A (en) Easy-to-retrieve video screenshot storing method and system
US8279726B2 (en) Recording device for recording a content into a plurality of recording media and control method thereof
US20100161766A1 (en) System and method for previewing AV data stored in AV server
US20120213043A1 (en) Information processing apparatus, information processing method, and program
KR100653826B1 (en) Circulating recording apparatus, method and recording media
JP2007179435A (en) Information processor, information processing method, and program
US7734147B2 (en) Information recording control apparatus and file recording control method
US7752405B2 (en) Data recording apparatus, program product, and data recording method
CN117676183A (en) Video storage method, video playing device, video storage equipment and storage medium
US9002788B2 (en) System for configurable reporting of network data and related method

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
TR01 Transfer of patent right

Effective date of registration: 20180306

Address after: 519031 Guangdong city of Zhuhai province Hengqin Baohua Road No. 6, room 105, -23898 (central office)

Co-patentee after: Vimicro Electronics Co., Ltd.

Patentee after: Mid Star Technology Limited by Share Ltd

Address before: 100083, Haidian District, Xueyuan Road, Beijing No. 35, Nanjing Ning building, 15 Floor

Co-patentee before: Vimicro Electronics Co., Ltd.

Patentee before: Beijing Vimicro Corporation

TR01 Transfer of patent right