CN111654672A - Method and system for realizing generation processing of alarm pre-trigger video file - Google Patents

Method and system for realizing generation processing of alarm pre-trigger video file Download PDF

Info

Publication number
CN111654672A
CN111654672A CN202010484039.0A CN202010484039A CN111654672A CN 111654672 A CN111654672 A CN 111654672A CN 202010484039 A CN202010484039 A CN 202010484039A CN 111654672 A CN111654672 A CN 111654672A
Authority
CN
China
Prior art keywords
video
alarm
distribution unit
real
media distribution
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
CN202010484039.0A
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 Certusnet Information Technology Co ltd
Guangdong Certusnet Information Technology Co ltd
Shanghai Certusnet Inc
CERTUSNET CORP
Original Assignee
Beijing Certusnet Information Technology Co ltd
Guangdong Certusnet Information Technology Co ltd
Shanghai Certusnet Inc
CERTUSNET 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 Beijing Certusnet Information Technology Co ltd, Guangdong Certusnet Information Technology Co ltd, Shanghai Certusnet Inc, CERTUSNET CORP filed Critical Beijing Certusnet Information Technology Co ltd
Priority to CN202010484039.0A priority Critical patent/CN111654672A/en
Publication of CN111654672A publication Critical patent/CN111654672A/en
Pending legal-status Critical Current

Links

Images

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
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B13/00Burglar, theft or intruder alarms
    • G08B13/18Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength
    • G08B13/189Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using passive radiation detection systems
    • G08B13/194Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using passive radiation detection systems using image scanning and comparing systems
    • G08B13/196Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using passive radiation detection systems using image scanning and comparing systems using television cameras
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/643Communication protocols
    • H04N21/6437Real-time Transport Protocol [RTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Closed-Circuit Television Systems (AREA)

Abstract

The invention relates to a method for realizing generation and processing of an alarm pre-trigger video file, which comprises a streaming media distribution unit pulling a real-time video stream from a camera; the streaming media distribution unit analyzes the RTP video data packet to obtain real-time video h264 data; judging whether the data length of the cache queue reaches a threshold value, if so, saving the h264 file to a temporary disk directory by the streaming media distribution unit, setting a video recording mark as false, and converting the h264 file into an MP4 file by the streaming media distribution unit; otherwise, the streaming media distribution unit stores the h264 data of the real-time video into a cache queue; the video analysis unit pulls the real-time video stream from the streaming media distribution unit, sends an alarm message to the streaming media distribution unit, and sets an alarm video mark as true. The invention also relates to a system for generating and processing the alarm pre-triggering video file. By adopting the method and the system for generating and processing the alarm pre-trigger video file, the mechanism of pre-storing h264 data into the cache queue is adopted, and the effect of pre-triggering the video for the alarm event can be realized.

Description

Method and system for realizing generation processing of alarm pre-trigger video file
Technical Field
The invention relates to the technical field of video monitoring, in particular to the technical field of streaming media, and specifically relates to a method and a system for generating and processing an alarm pre-trigger video file.
Background
At present, an alarm system of a video monitoring platform generally adopts a linkage alarm mode of 'video' + 'alarm' + 'acousto-optic signal', and informs managers of the on-site occurrence condition in the forms of images, characters, sounds and the like at the first time. In addition, the alarm can also be linked with a video recording function, namely, when an alarm event occurs, a video recording action is triggered, a section of real-time video after the alarm is recorded, and a video recording file is stored, so that a practical basis is provided for accident handling. However, the alarm video recording mode cannot record the real-time video before the alarm, which obviously causes a defect in the post analysis of the alarm event of the user.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provides a method and a system for realizing generation and processing of an alarm pre-trigger video file, which have the advantages of simple structure, good accuracy and wider application range.
In order to achieve the above object, the method and system for generating and processing the alarm pre-trigger video file of the present invention are as follows:
the method for realizing the generation processing of the alarm pre-trigger video file is mainly characterized by comprising the following steps of:
(1) the streaming media distribution unit pulls a real-time video stream from the camera;
(2) the streaming media distribution unit analyzes the RTP video data packet to obtain real-time video h264 data;
(3) judging whether the alarm video recording mark is true, if so, continuing the step (4); otherwise, continuing the step (5);
(4) judging whether the data length of the buffer queue reaches a threshold value, if so, continuing the step (8); otherwise, continuing the step (6);
(5) judging whether the data length of the buffer queue reaches a threshold value, if so, popping up a head element of the buffer queue by the streaming media distribution unit, and continuing the step (6);
(6) the streaming media distribution unit stores the h264 data of the real-time video into a cache queue;
(7) the video analysis unit pulls a real-time video stream from the streaming media distribution unit, sends an alarm message to the streaming media distribution unit and sets an alarm video mark as true;
(8) the streaming media distribution unit saves the h264 file to a temporary disk directory, sets the video recording flag to be false, and converts the h264 file into an MP4 file.
Preferably, the step (1) is specifically:
the stream media distribution unit interacts with the camera through a real-time stream transmission protocol rtsp to pull a real-time video stream of the camera; the real-time video stream of the camera is continuously sent to the streaming media distribution unit in the form of a real-time transport protocol rtp load.
Preferably, the step (3) is specifically:
and judging whether the alarm video mark is true, if so, creating a Boolean type mark variable for the streaming media distribution unit in the memory, and setting the initial value to be false.
Preferably, the step of setting the video record flag to be false in the step (8) is specifically:
the stream media distribution unit saves the h264 file to the temporary disk directory, sets the threshold value of the buffer queue as the original value, and sets the alarm video recording mark as false.
Preferably, the step (7) specifically comprises the following steps:
(7.1) the video analysis unit realizes a real-time streaming protocol rtsp client, interacts with the streaming media distribution unit through a real-time streaming protocol rtsp, pulls a real-time video stream of the camera, and performs image recognition and analysis on the video;
(7.2) the video analysis unit carries out logic judgment on the image identification and analysis results, generates an alarm event and sends an alarm message to the streaming media distribution unit;
(7.3) the streaming media distribution unit receives the alarm message sent by the video distribution unit, sets the threshold value of the cache queue to be 2 times of the original value to store the video after the alarm event occurs, sets the alarm video mark to be true, and triggers the generation of the alarm video.
The system for generating and processing the alarm pre-triggering video file for realizing the method is mainly characterized by comprising the following steps:
a camera for a generation source of real-time video data;
the streaming media distribution unit is connected with the camera and used for copying and distributing real-time video data and receiving an alarm event to trigger an alarm video;
and the video analysis unit is connected with the streaming media distribution unit and used for generating an alarm event.
Preferably, the streaming media distribution unit and the camera pull a real-time video through a real-time streaming protocol rtsp; interacting with the video analysis unit through a real-time streaming protocol rtsp, and pushing the real-time video stream of the camera to the video analysis unit; and the receiving video analysis unit sends an alarm event.
Preferably, the video analysis unit interacts with the streaming media distribution unit through a real-time streaming protocol rtsp, pulls the real-time video stream of the camera, and performs image recognition and analysis on the video; and (4) judging the image analysis and identification result through business logic to generate an alarm event.
By adopting the method and the system for generating and processing the alarm pre-trigger video file, the streaming media distribution unit adopts a mechanism of pre-storing h264 data into the cache queue, so when an alarm event occurs, the effect of pre-triggering video recording of the alarm event can be realized, and the method and the system have special significance for the follow-up judgment of the alarm event after the user happens.
Drawings
Fig. 1 is a flowchart of a method for implementing generation processing of an alarm pre-trigger video file according to the present invention.
FIG. 2 is a block diagram of an alarm pre-trigger video file generation processing system according to the present invention.
Detailed Description
In order to more clearly describe the technical contents of the present invention, the following further description is given in conjunction with specific embodiments.
The method for realizing the generation processing of the alarm pre-triggering video file comprises the following steps:
(1) the streaming media distribution unit pulls a real-time video stream from the camera;
the stream media distribution unit interacts with the camera through a real-time stream transmission protocol rtsp to pull a real-time video stream of the camera; real-time video stream of the camera is continuously sent to the stream media distribution unit in a real-time transport protocol (rtp) load mode;
(2) the streaming media distribution unit analyzes the RTP video data packet to obtain real-time video h264 data;
(3) judging whether the alarm video recording mark is true, if so, continuing the step (4); otherwise, continuing the step (5);
judging whether the alarm video mark is true, if so, creating a Boolean type mark variable for the streaming media distribution unit in the memory, and setting the initial value as false;
(4) judging whether the data length of the buffer queue reaches a threshold value, if so, continuing the step (8); otherwise, continuing the step (6);
(5) judging whether the data length of the buffer queue reaches a threshold value, if so, popping up a head element of the buffer queue by the streaming media distribution unit, and continuing the step (6);
(6) the streaming media distribution unit stores the h264 data of the real-time video into a cache queue;
(7) the video analysis unit pulls a real-time video stream from the streaming media distribution unit, sends an alarm message to the streaming media distribution unit and sets an alarm video mark as true;
(7.1) the video analysis unit realizes a real-time streaming protocol rtsp client, interacts with the streaming media distribution unit through a real-time streaming protocol rtsp, pulls a real-time video stream of the camera, and performs image recognition and analysis on the video;
(7.2) the video analysis unit carries out logic judgment on the image identification and analysis results, generates an alarm event and sends an alarm message to the streaming media distribution unit;
(7.3) the streaming media distribution unit receives the alarm message sent by the video distribution unit, sets the threshold value of the cache queue to be 2 times of the original value to store the video after the alarm event occurs, sets the alarm video mark to be true, and triggers the generation of the alarm video;
(8) the streaming media distribution unit saves the h264 file to a temporary disk directory, sets the video recording flag to be false, and converts the h264 file into an MP4 file.
The stream media distribution unit saves the h264 file to the temporary disk directory, sets the threshold value of the buffer queue as the original value, and sets the alarm video recording mark as false.
The system for generating and processing the video file realizing the alarm pre-triggering comprises the following steps:
a camera for a generation source of real-time video data;
the streaming media distribution unit is connected with the camera and used for copying and distributing real-time video data and receiving an alarm event to trigger an alarm video;
and the video analysis unit is connected with the streaming media distribution unit and used for generating an alarm event.
As a preferred embodiment of the present invention, the streaming media distribution unit and the camera pull a real-time video through a real-time streaming protocol rtsp; interacting with the video analysis unit through a real-time streaming protocol rtsp, and pushing the real-time video stream of the camera to the video analysis unit; and the receiving video analysis unit sends an alarm event.
As a preferred embodiment of the present invention, the video analysis unit interacts with the streaming media distribution unit through a real-time streaming protocol rtsp, pulls a real-time video stream of the camera, and performs image recognition and analysis on the video; and (4) judging the image analysis and identification result through business logic to generate an alarm event.
In the specific implementation manner of the invention, in the existing alarm video recording mechanism, video pictures after the alarm event occurs are all stored aiming at the video files of the alarm event, which brings disadvantages to the tracking work of the reason of the alarm event. In view of this, the embodiment of the present invention generates the alarm event video by using a cache mechanism, thereby achieving the effect of pre-triggering the alarm video.
Fig. 2 is a schematic structural diagram of a device for pre-triggering an alarm record according to an embodiment of the present invention, where the device includes:
a camera for a generation source of real-time video data;
the streaming media distribution unit is used for copying and distributing the real-time video data of the camera; the system is also used for receiving an alarm event to trigger an alarm video;
the real-time streaming protocol rtsp client is realized, interacts with the camera through the real-time streaming protocol rtsp, and pulls a real-time video from the camera;
the real-time streaming protocol rtsp server is used for interacting with the video analysis unit through a real-time streaming protocol rtsp, and pushing the real-time video stream of the camera to the video analysis unit;
realizing remote procedure call rpc server to receive the alarm event sent by the video analysis unit, thereby triggering the alarm video;
the video analysis unit is used for generating an alarm event;
the real-time streaming protocol rtsp client is interacted with the streaming media distribution unit through a real-time streaming protocol rtsp, the real-time video stream of the camera is pulled, and image recognition and analysis are carried out on the video;
and (4) judging the image analysis and identification result through business logic to generate an alarm event. The alarm event is sent to the streaming media distribution unit as requested by a remote procedure call rpc.
Fig. 1 is a schematic flow chart of a method for pre-triggering an alarm recording according to an embodiment of the present invention, where the method includes:
201. the streaming media distribution unit pulls a real-time video stream from the camera;
the streaming media distribution unit pulls the real-time video stream from the camera, and the method comprises the following steps: the stream media distribution unit interacts with the camera through a real-time stream transmission protocol rtsp so as to pull the real-time video stream of the camera. The real-time video stream of the camera is continuously sent to the streaming media distribution unit in the form of a real-time transport protocol rtp load.
202. A streaming media distribution unit acquires real-time video h264 data;
the streaming media distribution unit acquires real-time video h264 data, and the method comprises the following steps: and the streaming media distribution unit analyzes each real-time transport protocol rtp video data packet to acquire h264 data and the length thereof.
203. Whether the alarm video mark is true or not;
whether the alarm video mark is true or not is a Boolean type mark variable established in the memory of the streaming media distribution unit, and the initial value is false. And when the streaming media distribution unit receives the alarm event sent by the video analysis unit, setting the alarm video mark as true. And when the alarm video file is stored completely, setting the alarm video mark bit as false.
204. Whether the length of the buffer queue reaches a threshold value;
if the alarm video is marked as true, whether the length of the cache queue reaches a threshold value or not is judged whether the h264 data stored in the cache queue can trigger the storage of the alarm video file or not by the streaming media distribution unit. If the length of the cache queue reaches a threshold value, triggering an alarm to send a video file for storage; otherwise, continuing to store the h264 data into the buffer queue.
205. Whether the length of the buffer queue reaches a threshold value;
if the alarm video is marked as false, whether the length of the buffer queue reaches the threshold value or not is judged to be that whether the h264 data stored in the buffer queue reaches the length of the pre-triggered alarm video or not is checked by the streaming media distribution unit. If the length of the cache queue reaches a threshold value, popping up a first element of the cache queue; otherwise, continuing to store the h264 data into the buffer queue.
206. Popping a head element of a cache queue;
and popping the head element of the buffer queue, namely popping the head element of the buffer queue by the streaming media distribution unit so as to continuously buffer the latest data of a real-time video segment.
207. h264 data is stored in a buffer queue;
the h264 data is stored in a buffer queue, and the streaming media distribution unit buffers the h264 data of the real-time video into the buffer queue so as to generate the alarm video with the pre-trigger effect.
208. The streaming media distribution unit saves the h264 file to a temporary disk directory;
the stream media distribution unit stores the h264 file to the temporary disk directory, namely the stream media distribution unit takes out the h264 data in the cache queue and stores the h264 file to the temporary disk directory, and the h264 file is named by the name of the alarm video file in the alarm message. And then storing the h264 file into the h264 file queue.
209. The stream media distribution unit sets a video mark as false;
the stream media distribution unit sets the video flag to be false, which means that after the stream media distribution unit stores the h264 file to the temporary disk directory, the stream media distribution unit sets the buffer queue threshold value as the original value and sets the alarm video flag to be false.
210. The streaming media distribution unit converts the h264 file into an MP4 file;
the streaming media distribution unit converts the h264 file into the MP4 file, which means that the thread converting the h264 file into the MP4 file takes out the h264 file from the h264 file queue, encapsulates the h264 file into the MP4 file, then saves the MP4 file to the disk, and then deletes the h264 file in the temporary disk directory.
211. The video analysis unit pulls the real-time video stream from the streaming media distribution unit;
the video analysis unit pulls the real-time video stream from the streaming media distribution unit, namely the video analysis unit realizes a real-time streaming protocol rtsp client, interacts with the streaming media distribution unit through a real-time streaming protocol rtsp, pulls the real-time video stream of the camera, and performs image recognition and analysis on the video.
212. The video analysis unit sends an alarm message to the streaming media distribution unit;
the video analysis unit sends an alarm message to the streaming media distribution unit, namely the video analysis unit performs logic judgment on the result of image identification and analysis, generates an alarm event and sends the alarm message to the streaming media distribution unit.
213. The stream media distribution unit sets an alarm video mark as true;
the stream media distribution unit sets the alarm video flag to be true, which means that after receiving the alarm message sent by the video distribution unit, the stream media distribution unit sets the threshold of the cache queue to be 2 times of the original value to store the video after the alarm event occurs. Meanwhile, the alarm video mark is set to be true, so that the generation of the alarm video is triggered.
The streaming media distribution unit realizes a real-time streaming protocol rtsp client, interacts with the camera through the real-time streaming protocol rtsp and pulls a real-time video from the camera;
the streaming media distribution unit realizes a real-time streaming protocol rtsp server and pushes the real-time video stream of the camera to a real-time video client in a real-time streaming protocol rtsp interaction mode;
the video analysis unit is used as a real-time video client and interacts with the streaming media distribution unit through a real-time streaming protocol rtsp, and the real-time video of the camera is pulled from the streaming media distribution unit to perform image recognition analysis;
the streaming media distribution unit creates a buffer queue in the memory and records the length of the stored data in the buffer queue;
the streaming media distribution unit starts a thread for converting the h264 file into the MP4 file, creates an h264 file queue, and periodically checks whether the h264 file exists in the h264 file queue, if so, accesses a temporary disk directory of the streaming media distribution unit to read the h264 file and converts the h264 file into the MP4 file for storing again, and then deletes the original h264 file;
after the streaming media distribution unit pulls a real-time video from the camera, each real-time transport protocol rtp video data packet is analyzed to obtain h264 data and the length of the h264 data;
the streaming media distribution unit writes the analyzed h264 data into a buffer queue and updates the length of the stored data in the buffer queue; when the length of the stored data in the buffer queue reaches a threshold value, the streaming media distribution unit pops up a buffer queue head element and continues to write the analyzed h264 data into the buffer queue;
the video analysis unit generates an alarm event through image identification and analysis and sends an alarm message to the streaming media distribution unit;
after receiving the alarm message, the streaming media distribution unit sets an alarm video mark as true and sets a threshold value of a cache queue to be 2 times of an original value;
when the length of the stored data in the cache queue of the streaming media distribution unit reaches a threshold value, sequentially taking out h264 data in the cache queue and storing h264 files to a temporary disk directory of the streaming media distribution unit, naming the file names by the names of the alarm video files, simultaneously storing the file names in the h264 file queue, setting the alarm video marks to be false, and setting the threshold value of the cache queue to be an original value;
and sending the alarm message to the streaming media distribution unit by using a remote procedure call rpc request, wherein the content of the alarm message comprises: camera ID, alarm video file name; the stream media distribution unit temporary disk directory is a temporary folder on a local disk and is used for storing intermediate files;
the threshold is a user-defined length, and the length is related to the length of the pre-triggered alarm video, taking 1280 × 720 cameras as an example, and setting the threshold to be 10M, so that video files of 10 seconds before and after the alarm event and 20 seconds in total can be saved.
By adopting the method and the system for generating and processing the alarm pre-trigger video file, the streaming media distribution unit adopts a mechanism of pre-storing h264 data into the cache queue, so when an alarm event occurs, the effect of pre-triggering video recording of the alarm event can be realized, and the method and the system have special significance for the follow-up judgment of the alarm event after the user happens.
In this specification, the invention has been described with reference to specific embodiments thereof. It will, however, be evident that various modifications and changes may be made thereto without departing from the broader spirit and scope of the invention. The specification and drawings are, accordingly, to be regarded in an illustrative rather than a restrictive sense.

Claims (8)

1. A method for realizing generation processing of an alarm pre-trigger video file is characterized by comprising the following steps:
(1) the streaming media distribution unit pulls a real-time video stream from the camera;
(2) the streaming media distribution unit analyzes the RTP video data packet to obtain real-time video h264 data;
(3) judging whether the alarm video recording mark is true, if so, continuing the step (4); otherwise, continuing the step (5);
(4) judging whether the data length of the buffer queue reaches a threshold value, if so, continuing the step (8); otherwise, continuing the step (6);
(5) judging whether the data length of the buffer queue reaches a threshold value, if so, popping up a head element of the buffer queue by the streaming media distribution unit, and continuing the step (6);
(6) the streaming media distribution unit stores the h264 data of the real-time video into a cache queue;
(7) the video analysis unit pulls a real-time video stream from the streaming media distribution unit, sends an alarm message to the streaming media distribution unit and sets an alarm video mark as true;
(8) the streaming media distribution unit saves the h264 file to a temporary disk directory, sets the video recording flag to be false, and converts the h264 file into an MP4 file.
2. The method for generating and processing the alarm pre-trigger video file according to claim 1, wherein the step (1) specifically comprises:
the stream media distribution unit interacts with the camera through a real-time stream transmission protocol rtsp to pull a real-time video stream of the camera; the real-time video stream of the camera is continuously sent to the streaming media distribution unit in the form of a real-time transport protocol rtp load.
3. The method for generating and processing the alarm pre-trigger video file according to claim 1, wherein the step (3) specifically comprises:
and judging whether the alarm video mark is true, if so, creating a Boolean type mark variable for the streaming media distribution unit in the memory, and setting the initial value to be false.
4. The method for generating and processing the alarm pre-trigger video file according to claim 1, wherein the step of setting the video flag to be false in the step (8) is specifically:
the stream media distribution unit saves the h264 file to the temporary disk directory, sets the threshold value of the buffer queue as the original value, and sets the alarm video recording mark as false.
5. The method for generating and processing the alarm pre-trigger video file according to claim 1, wherein the step (7) specifically comprises the following steps:
(7.1) the video analysis unit realizes a real-time streaming protocol rtsp client, interacts with the streaming media distribution unit through a real-time streaming protocol rtsp, pulls a real-time video stream of the camera, and performs image recognition and analysis on the video;
(7.2) the video analysis unit carries out logic judgment on the image identification and analysis results, generates an alarm event and sends an alarm message to the streaming media distribution unit;
(7.3) the streaming media distribution unit receives the alarm message sent by the video distribution unit, sets the threshold value of the cache queue to be 2 times of the original value to store the video after the alarm event occurs, sets the alarm video mark to be true, and triggers the generation of the alarm video.
6. An alarm pre-trigger video file generation processing system for implementing the method of any one of claims 1 to 5, wherein the system comprises:
a camera for a generation source of real-time video data;
the streaming media distribution unit is connected with the camera and used for copying and distributing real-time video data and receiving an alarm event to trigger an alarm video;
and the video analysis unit is connected with the streaming media distribution unit and used for generating an alarm event.
7. The system for generating and processing an alarm pre-trigger video recording file according to claim 1, wherein the streaming media distribution unit and the camera pull a real-time video through a real-time streaming protocol rtsp; interacting with the video analysis unit through a real-time streaming protocol rtsp, and pushing the real-time video stream of the camera to the video analysis unit; and the receiving video analysis unit sends an alarm event.
8. The system for generating and processing the alarm pre-trigger video file according to claim 1, wherein the video analysis unit interacts with the streaming media distribution unit through a real-time streaming protocol rtsp, pulls a real-time video stream of the camera, and performs image recognition and analysis on the video; and (4) judging the image analysis and identification result through business logic to generate an alarm event.
CN202010484039.0A 2020-06-01 2020-06-01 Method and system for realizing generation processing of alarm pre-trigger video file Pending CN111654672A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010484039.0A CN111654672A (en) 2020-06-01 2020-06-01 Method and system for realizing generation processing of alarm pre-trigger video file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010484039.0A CN111654672A (en) 2020-06-01 2020-06-01 Method and system for realizing generation processing of alarm pre-trigger video file

Publications (1)

Publication Number Publication Date
CN111654672A true CN111654672A (en) 2020-09-11

Family

ID=72349839

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010484039.0A Pending CN111654672A (en) 2020-06-01 2020-06-01 Method and system for realizing generation processing of alarm pre-trigger video file

Country Status (1)

Country Link
CN (1) CN111654672A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114900689A (en) * 2022-03-24 2022-08-12 杭州叙简未兰电子有限公司 Law enforcement recorder video storage testing method
CN115484148A (en) * 2022-08-30 2022-12-16 卡斯柯信号有限公司 Maintenance diagnosis alarm method under Boolean type code bit structure

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102196319A (en) * 2010-03-17 2011-09-21 中兴通讯股份有限公司 Live streaming service system and realization method
CN203435086U (en) * 2013-09-04 2014-02-12 厦门神州鹰软件科技有限公司 A network camera based on cloud storage control
CN104683740A (en) * 2013-11-27 2015-06-03 杭州海康威视数字技术股份有限公司 Method and system for non-real-time video relevant alarm in video monitoring
CN105763837A (en) * 2014-12-18 2016-07-13 西安立元智能科技有限公司 Dedicated Peacock SPI monitoring system for video decoder
TW201803359A (en) * 2016-07-01 2018-01-16 物聯智慧科技(深圳)有限公司 Cloud recording system, cloud recording server and cloud recording method
CN110198435A (en) * 2019-05-14 2019-09-03 陈少能 Surveillance video data cloud storage system and cloud storage method
CN110942581A (en) * 2019-12-10 2020-03-31 深圳市丛文安全电子有限公司 Security alarm system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102196319A (en) * 2010-03-17 2011-09-21 中兴通讯股份有限公司 Live streaming service system and realization method
CN203435086U (en) * 2013-09-04 2014-02-12 厦门神州鹰软件科技有限公司 A network camera based on cloud storage control
CN104683740A (en) * 2013-11-27 2015-06-03 杭州海康威视数字技术股份有限公司 Method and system for non-real-time video relevant alarm in video monitoring
CN105763837A (en) * 2014-12-18 2016-07-13 西安立元智能科技有限公司 Dedicated Peacock SPI monitoring system for video decoder
TW201803359A (en) * 2016-07-01 2018-01-16 物聯智慧科技(深圳)有限公司 Cloud recording system, cloud recording server and cloud recording method
CN110198435A (en) * 2019-05-14 2019-09-03 陈少能 Surveillance video data cloud storage system and cloud storage method
CN110942581A (en) * 2019-12-10 2020-03-31 深圳市丛文安全电子有限公司 Security alarm system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114900689A (en) * 2022-03-24 2022-08-12 杭州叙简未兰电子有限公司 Law enforcement recorder video storage testing method
CN114900689B (en) * 2022-03-24 2023-05-26 杭州叙简未兰电子有限公司 Law enforcement recorder video storage testing method
CN115484148A (en) * 2022-08-30 2022-12-16 卡斯柯信号有限公司 Maintenance diagnosis alarm method under Boolean type code bit structure

Similar Documents

Publication Publication Date Title
US10123051B2 (en) Video analytics with pre-processing at the source end
JP6920578B2 (en) Video streaming device, video editing device and video distribution system
US11165843B2 (en) Backfill of video stream
JP4603603B2 (en) Recording transfer device
CN111654672A (en) Method and system for realizing generation processing of alarm pre-trigger video file
US9282291B2 (en) Audio video recording device
US20120194676A1 (en) Video analytics method and system
US20110187895A1 (en) Intelligent video compacting agent
US20140010517A1 (en) Reduced Latency Video Streaming
US20090041428A1 (en) Recording audio metadata for captured images
WO2004036926A2 (en) Video and telemetry apparatus and methods
JP2009542124A (en) Embedded devices for capturing multimedia
CN102244774A (en) Surveillance system with direct database server storage
WO2018024165A1 (en) Method and device for storing warning image
US11647217B2 (en) Transmission device, communication system, transmission method, and computer program product
CN107093436B (en) Prerecorded audio and video data storage method and device and mobile terminal
CN108366233B (en) Network camera connecting method, device, equipment and storage medium
US10911812B2 (en) System and method for delivery of near-term real-time recorded video
TWI601421B (en) Cloud recording system, cloud recording server and cloud recording method
CN112866745B (en) Streaming video data processing method, device, computer equipment and storage medium
TW201123881A (en) Multimedia stream recording method and program product and device for implementing the same.
KR20050047022A (en) The method and system to an injurer or to make an authentication a fault of traffic accidents in crossroads
KR100883406B1 (en) Digital video recording apparatus and method for improving recording capacity in monitoring system
JP2014155014A (en) Imaging apparatus, and imaging apparatus control method
US11936925B2 (en) Server device, information processing method, and computer program product

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200911

RJ01 Rejection of invention patent application after publication