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 PDF

Info

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
Application number
CN201811134815.3A
Other languages
Chinese (zh)
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.)
Beijing University of Posts and Telecommunications
Original Assignee
Beijing University of Posts and Telecommunications
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 Beijing University of Posts and Telecommunications filed Critical Beijing University of Posts and Telecommunications
Priority to CN201811134815.3A priority Critical patent/CN109189992A/en
Publication of CN109189992A publication Critical patent/CN109189992A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-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

A kind of video time search method in cloud monitoring system
(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)

1. a kind of video time search method in cloud monitoring system, 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 after video flowing It parses and is simultaneously saved in file by frame time segment, while recording the relevant information of file to database.When needing to retrieve video When, it is passed to video relevant parameter, according to be passed to parameter search to the associated documents stored, and the video of storage is literary Part 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 segmentation Store multiple file N={ F1, F2, F3... in, video segmentation time Ti=30 (30 minutes files of default), while The corresponding video source S of each file is saved in databasei, filename Fn, starting video frame time stab Ts, end video frame time Stab 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 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 S 'i, searched targets time started D 's, searched targets knot Beam time D 'e
(2) RTSP video flowing is established with user to connect;
(3) pass through condition S 'i=Si、D′s≥Ds、D′e≤DeRetrieval time section is found in the database by query time section All video file { f1, 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 execute 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 is segmented in cloud system It is stored, and will be recorded in database with the relevant information of stored video file in system.In user to video file When retrieval, the video file of section can be found by the calculating to timestamp from file the time required to can quickly finding The starting and ending position of retrieved video information, and splice file and return to video in the form of video flowing.
CN201811134815.3A 2018-09-27 2018-09-27 A kind of video time search method in cloud monitoring system Pending CN109189992A (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

Patent Citations (3)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
Title
叶雄杰: ""基于云存储的移动视频监控系统研究"", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (8)

* Cited by examiner, † Cited by third party
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
US8832757B2 (en) Late assignment of recorded digital media content at time of playback
US8886896B2 (en) Storage format for media streams
CN107231581B (en) Method and system for video playing and streaming media playing control server
CN104581406A (en) Network video recording and playback system and method
CN107682399B (en) File folder breakpoint continuous transmission method based on big data
BR112015022053B1 (en) METHOD FOR IMPROVING STORAGE AND TRANSCODING COSTS IN NETWORK-BASED VIDEO-ON-DEMAND (NDVR) SYSTEMS
CN111901566A (en) Monitoring data storage system and storage method
CN105828017B (en) A kind of cloud storage access system and method towards video conference
CN105812831B (en) Network program recording method, device and system and playing method and device
US20220272421A1 (en) Content Aggregation
CN110602545A (en) Distributed recording execution method for network live broadcast
CN112947853B (en) Data storage method, device, server, medium and program product
US10694227B2 (en) Video transmission system and video transmission method
CN103179440A (en) Value-added business time-shifted television system for 3G users
US10498787B2 (en) Communication apparatus, communication method, and program
US10911812B2 (en) System and method for delivery of near-term real-time recorded video
CN106998436B (en) Video backup method and device
US11470368B2 (en) Ascription based modeling of video delivery system data in a database
CN111277801B (en) Monitoring video storage system based on content and application method
JP2006139682A (en) Video search system, video search method, and program
CN113938693B (en) Enterprise online forum broadcast control system for converting offline recorded video into online live broadcast
US11051051B1 (en) Systems, methods, and devices for managing storage of media objects
US20240185891A1 (en) Common Timeline Processing for Unique Manifests
CN102724583A (en) Program recording method and system

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

Application publication date: 20190111

WD01 Invention patent application deemed withdrawn after publication