CN109189992A - A kind of video time search method in cloud monitoring system - Google Patents
A kind of video time search method in cloud monitoring system Download PDFInfo
- Publication number
- CN109189992A CN109189992A CN201811134815.3A CN201811134815A CN109189992A CN 109189992 A CN109189992 A CN 109189992A CN 201811134815 A CN201811134815 A CN 201811134815A CN 109189992 A CN109189992 A CN 109189992A
- Authority
- CN
- China
- Prior art keywords
- video
- file
- time
- frame
- database
- 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.)
- Pending
Links
- 238000012544 monitoring process Methods 0.000 title claims abstract description 30
- 238000000034 method Methods 0.000 title claims abstract description 23
- 230000011218 segmentation Effects 0.000 claims description 8
- 230000002123 temporal effect Effects 0.000 abstract description 2
- 238000012423 maintenance Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/18—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The method that this patent proposes the video time retrieval in the new cloud monitoring system environment of one kind.By storing video flowing by designated time period to file, and temporal information is stored by peculiar format into database, the first information from database retrieval to file in video frequency searching, then obtain file.The present invention improves the storage and retrieval performance of monitor video, reduces the management cost of video on cloud monitoring system platform, improves the service quality of system.
Description
(1) technical field
The present invention relates to a kind of video time search methods in cloud monitoring system.
(2) background technique
In recent years, more and more people pay close attention to Video Supervision Technique, so that Video Supervision Technique is constantly towards digitlization, intelligence
The direction of energyization is developed, and at the same time, multiple video monitoring sources start to turn to centralized management, the clarity of video monitoring picture
Also constantly promoted, and also increased considerably in the demand of memory capacity, cloud video monitoring system with more and more extensive.
But therewith caused by influence be video monitoring system management cost raising.
The video stream technology that monitoring system is used at present is mainly RTSP (Real Time Streaming Protocol).
RTSP is a kind of network application agreement, aims at amusement and the use of communication system, to control streaming media server.The agreement is used for
Media session between creation and controlling terminal.The client of media server issues VCR order, such as plays, and records and temporary
Stop, in order to the media of real-time control from server to client (video on demand) or from client to server (voice recording)
Stream.
Since the duration video flowing of monitor video is often longer, it is mostly based on the video monitoring system of cloud storage at present
System only simply stores video monitoring record.The cloud storage very good solution memory space problem of monitor video,
But requirement also is proposed to video frequency searching and managerial ability simultaneously, considerably increase the management cost of video.It is traditional based on
The video retrieval method of time is mostly to be indexed by catalogue and file to video file, when amount of video is excessive, accessibility
It can be affected, and be not easy to more copy backup maintenances under cloud storage environment.Therefore, set forth herein a kind of videos based on duration
Video flowing is stored by designated time period to file, and temporal information storage is improved monitoring into database by search method
The storage and retrieval performance of video, reduce the management cost of video on cloud monitoring system platform, improve the Service Quality of system
Amount.
(3) summary of the invention
The purpose of the present invention monitors the time search method of history video in the case where providing a kind of cloud monitoring system platform.The party
Method improves the ease for use of platform for the optimization of video frequency searching in cloud monitoring system platform video management.
The present invention is implemented as follows:
In cloud monitoring system platform, video source and system is set to establish connection by RTSP agreement, system receives video flowing
It parses and is simultaneously saved in file by frame time segment later, while recording the relevant information of file to database.When needing to retrieve
When video, it is passed to video relevant parameter, according to be passed to parameter search to the associated documents stored, and by the view of storage
Frequency file merge become a complete file, or with RTSP video stream protocol by video stream to requesting party.
There are following parameter information, multiple video source M={ S of system maintenance in system1,S2,S3…Sn, each video source
Fragmented storage is to multiple file N={ F1,F2,F3... in, video segmentation time Ti=30 (30 minutes files of default), together
When save the corresponding video source S of each file in the databasei, filename Fn, starting video frame time stab Ts, end video frame
Time stamp Te, video file creating time Ds, video file end time De。
Its specific method step for saving video file are as follows:
(1) system and video source SiEstablish connection;
(2) system new files Fn, and initialize DsFor current time;
(3) start to receive video flowing, and be converted into video frame and be written to file FnIn;
(4) if the video frame of write-in is the first frame of file, current time stamp is recorded to Ts;
(5) one frame of every write-in updates the timestamp of this frame to Te;
(6) newest time stamp T is calculated using formulaeThe time stamp T started with filesDifference d=Te-Ts
(7) if d >=Ti* 60000, then record current end time De, by Si、Fn、Ts、Te、Ds、DeIt is stored in database, and
It executes step (2);
Otherwise, step (5) are executed;
(8) video flowing SiIt disconnects, by Si、Fn、Ts、Te、Ds、DeIt is stored in database.
The specific method step of its video frequency searching are as follows:
(1) monitor video for needing to retrieve for user, input monitoring source Si', searched targets time started D 's, retrieval mesh
Mark end time D 'e;
(2) RTSP video flowing is established with user to connect;
(3) pass through condition Si'=Si、D′s≥Ds、D′e≤DeRetrieval time section is found in the database by query time
All video file { f in section1,f2…fn};
(4) video file { f is successively accessed1,f2…fn, remember that currently accessed file is f;
(5) if f=f1, the timestamp for calculating current accessed is T=(D 's-Dsf1)+Tsf1;
(6) read access time stamp is the frame of T to RTSP video flowing from file f;
(7) next frame is read, and by its timestamp assignment to T;
(8) for ending time stamp T corresponding to current file fefIf meeting T=Tef, execute step (9);
Otherwise, step (6) are executed;
(9) from file set { f1,f2…fnIn search next file f ', if f ' exists, f=f ', t=Tsf, then hold
Row step (6);
Otherwise, poll-final closes RTSP video flowing;
Video retrieval method in cloud monitoring system set forth in the present invention, core are: monitoring video flow segmentation is existed
It is stored, and will be recorded in database with the relevant information of stored video file in cloud system.In user to video text
When the retrieval of part, the video file of section can be from file by the calculating to timestamp the time required to can quickly finding
The starting and ending position of retrieved video information is found, and splices file and returns to video in the form of video flowing.
Its main innovation point is as follows:
1. monitoring video flow segmentation under cloud monitoring system is saved.By to the monitor video under cloud monitoring system environment
The segmentation of stream saves, and has better adapted to more copy storage strategies under cloud storage environment.Video segmentation can be used as parameter simultaneously
It modifies at any time, improves the flexibility of file management.
2. the monitor video based on timestamp records search method.Pass through utilization to relevant database and time
The calculating of stamp, user can be accessed the monitor video in any time period in the form of video flowing in the case where cloud monitors environment, met
While user search demand, the design difficulty of interface is reduced.
(4) Detailed description of the invention
Fig. 1 video flowing saves flow chart
Fig. 2 video frequency searching flow chart
(5) specific embodiment
The method of the invention is characterized in that:
There are following parameter information, multiple video source M={ S of system maintenance in system1,S2,S3…Sn, each video source
Fragmented storage is to multiple file N={ F1,F2,F3... in, video segmentation time Ti=30 (30 minutes files of default), together
When save the corresponding video source S of each file in the databasei, filename Fn, starting video frame time stab Ts, end video frame
Time stamp Te, video file creating time Ds, video file end time De。
Its specific method step for saving video file are as follows:
(1) system and video source SiEstablish connection;
(2) system new files Fn, and initialize DsFor current time;
(3) start to receive video flowing, and be converted into video frame and be written to file FnIn;
(4) if the video frame of write-in is the first frame of file, current time stamp is recorded to Ts;
(5) one frame of every write-in updates the timestamp of this frame to Te;
(6) newest time stamp T is calculated using formulaeThe time stamp T started with filesDifference d=Te-Ts
(7) if d >=Ti* 60000, then record current end time De, by Si、Fn、Ts、Te、Ds、DeIt is stored in database, and
It executes step (2);
Otherwise, step (5) are executed;
(8) video flowing SiIt disconnects, by Si、Fn、Ts、Te、Ds、DeIt is stored in database.
The specific method step of its video frequency searching are as follows:
(1) monitor video for needing to retrieve for user, input monitoring source Si', searched targets time started D 's, retrieval mesh
Mark end time D 'e;
(2) RTSP video flowing is established with user to connect;
(3) pass through condition Si'=Si、D′s≥Ds、D′e≤DeRetrieval time section is found in the database by query time
All video file { f in section1,f2…fn};
(4) video file { f is successively accessed1,f2…fn, remember that currently accessed file is f;
(5) if f=f1, the timestamp for calculating current accessed is T=(D 's-Dsf1)+Tsf1;
(6) read access time stamp is the frame of T to RTSP video flowing from file f;
(7) next frame is read, and by its timestamp assignment to T;
(8) for ending time stamp T corresponding to current file fefIf meeting T=Tef, execute step (9);
Otherwise, step (6) are executed;
(9) from file set { f1,f2…fnIn search next file f ', if f ' exists, f=f ', t=Tsf, then hold
Row step (6);
Otherwise, poll-final closes RTSP video flowing;
Video retrieval method in cloud monitoring system set forth in the present invention, core are: monitoring video flow segmentation is existed
It is stored, and will be recorded in database with the relevant information of stored video file in cloud system.In user to video text
When the retrieval of part, the video file of section can be from file by the calculating to timestamp the time required to can quickly finding
The starting and ending position of retrieved video information is found, and splices file and returns to video in the form of video flowing.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811134815.3A CN109189992A (en) | 2018-09-27 | 2018-09-27 | A kind of video time search method in cloud monitoring system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811134815.3A CN109189992A (en) | 2018-09-27 | 2018-09-27 | A kind of video time search method in cloud monitoring system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109189992A true CN109189992A (en) | 2019-01-11 |
Family
ID=64907571
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811134815.3A Pending CN109189992A (en) | 2018-09-27 | 2018-09-27 | A kind of video time search method in cloud monitoring system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109189992A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113055612A (en) * | 2019-12-27 | 2021-06-29 | 浙江宇视科技有限公司 | Video playing method, device, electronic equipment, system and medium |
CN113641717A (en) * | 2021-07-28 | 2021-11-12 | 通号城市轨道交通技术有限公司 | Method and device for searching change of train operation diagram, electronic equipment and storage medium |
CN113905253A (en) * | 2021-10-11 | 2022-01-07 | 北京仁光科技有限公司 | Method and system for interactive duplication of signal source, readable storage medium and electronic equipment |
CN114363670A (en) * | 2019-08-01 | 2022-04-15 | 浙江大华技术股份有限公司 | Video reading method, device, equipment and storage medium |
CN115618023A (en) * | 2022-12-20 | 2023-01-17 | 苏州万店掌网络科技有限公司 | Video retrieval method, system and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104281651A (en) * | 2014-09-16 | 2015-01-14 | 福建星网锐捷安防科技有限公司 | Method and system for searching large volume of video data |
CN107959892A (en) * | 2017-12-11 | 2018-04-24 | 南京酷亨网络科技有限公司 | A kind of radar and video data method for rapidly positioning enforced the law with Yu Haiyang |
US10372758B2 (en) * | 2011-12-22 | 2019-08-06 | Tivo Solutions Inc. | User interface for viewing targeted segments of multimedia content based on time-based metadata search criteria |
-
2018
- 2018-09-27 CN CN201811134815.3A patent/CN109189992A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10372758B2 (en) * | 2011-12-22 | 2019-08-06 | Tivo Solutions Inc. | User interface for viewing targeted segments of multimedia content based on time-based metadata search criteria |
CN104281651A (en) * | 2014-09-16 | 2015-01-14 | 福建星网锐捷安防科技有限公司 | Method and system for searching large volume of video data |
CN107959892A (en) * | 2017-12-11 | 2018-04-24 | 南京酷亨网络科技有限公司 | A kind of radar and video data method for rapidly positioning enforced the law with Yu Haiyang |
Non-Patent Citations (1)
Title |
---|
叶雄杰: ""基于云存储的移动视频监控系统研究"", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114363670A (en) * | 2019-08-01 | 2022-04-15 | 浙江大华技术股份有限公司 | Video reading method, device, equipment and storage medium |
CN114363670B (en) * | 2019-08-01 | 2024-05-28 | 浙江大华技术股份有限公司 | Video reading method, device, equipment and storage medium |
CN113055612A (en) * | 2019-12-27 | 2021-06-29 | 浙江宇视科技有限公司 | Video playing method, device, electronic equipment, system and medium |
CN113055612B (en) * | 2019-12-27 | 2022-11-25 | 浙江宇视科技有限公司 | Video playing method, device, electronic equipment, system and medium |
CN113641717A (en) * | 2021-07-28 | 2021-11-12 | 通号城市轨道交通技术有限公司 | Method and device for searching change of train operation diagram, electronic equipment and storage medium |
CN113905253A (en) * | 2021-10-11 | 2022-01-07 | 北京仁光科技有限公司 | Method and system for interactive duplication of signal source, readable storage medium and electronic equipment |
CN113905253B (en) * | 2021-10-11 | 2022-09-09 | 北京仁光科技有限公司 | Method and system for interactive duplication of signal source, readable storage medium and electronic equipment |
CN115618023A (en) * | 2022-12-20 | 2023-01-17 | 苏州万店掌网络科技有限公司 | Video retrieval method, system and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109189992A (en) | A kind of video time search method in cloud monitoring system | |
US11350139B2 (en) | Video live broadcast method and apparatus | |
US8832757B2 (en) | Late assignment of recorded digital media content at time of playback | |
US9049484B2 (en) | Efficient assignment of program copies in a network digital video recorder | |
US20050055718A1 (en) | Peer-to-peer architecture for sharing video on demand content | |
CN102244758A (en) | Video-recording-file-based data acquisition method and equipment | |
CN104581406A (en) | Network video recording and playback system and method | |
CN101242430A (en) | Fixed-point data prefetching method in peer-to-peer network on-demand system | |
WO2018153237A1 (en) | Caching method and system for replaying live broadcast, and playing method and system | |
CN111866603B (en) | Video file production method based on SRS, background server and system | |
CN102497542A (en) | Video positioning playback system and method thereof | |
US20140219638A1 (en) | Multi-Tier Recorder to Enable Seek-Back Unique Copy Recording | |
US20220272421A1 (en) | Content Aggregation | |
CN105812831B (en) | Network program recording method, device and system and playing method and device | |
CN110602545A (en) | Distributed recording execution method for network live broadcast | |
US20190090006A1 (en) | System and method for delivery of near-term real-time recorded video | |
CN103179440A (en) | Value-added service time-shifted television system facing 3G users | |
US10694227B2 (en) | Video transmission system and video transmission method | |
US10498787B2 (en) | Communication apparatus, communication method, and program | |
CN112601052A (en) | Video resource integration system applied to internal sharing platform | |
US9179189B2 (en) | Systems and methods of recording time offset for video recording devices and services | |
CN114979035B (en) | Monitoring video storage method and device, electronic equipment and storage medium | |
CN111277801B (en) | Monitoring video storage system based on content and application method | |
JP2006139682A (en) | Video search system, video search method, and program | |
US12190915B2 (en) | Common timeline processing for unique manifests |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20190111 |