CN105306899B - Method and device for processing monitoring video - Google Patents

Method and device for processing monitoring video Download PDF

Info

Publication number
CN105306899B
CN105306899B CN201510708964.6A CN201510708964A CN105306899B CN 105306899 B CN105306899 B CN 105306899B CN 201510708964 A CN201510708964 A CN 201510708964A CN 105306899 B CN105306899 B CN 105306899B
Authority
CN
China
Prior art keywords
monitoring
video
monitoring camera
camera
surveillance
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.)
Active
Application number
CN201510708964.6A
Other languages
Chinese (zh)
Other versions
CN105306899A (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.)
TAIYUAN CITY PUBLIC SECURITY BUREAU
Vimicro Corp
Original Assignee
TAIYUAN CITY PUBLIC SECURITY BUREAU
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 TAIYUAN CITY PUBLIC SECURITY BUREAU, Vimicro Corp filed Critical TAIYUAN CITY PUBLIC SECURITY BUREAU
Priority to CN201510708964.6A priority Critical patent/CN105306899B/en
Publication of CN105306899A publication Critical patent/CN105306899A/en
Application granted granted Critical
Publication of CN105306899B publication Critical patent/CN105306899B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Closed-Circuit Television Systems (AREA)

Abstract

The embodiment of the invention provides a method and a device for processing a monitoring video, which solve the problems of low monitoring video positioning, low display rate and low processing efficiency in the prior art that only one monitoring camera can be positioned at a time. The method comprises the following steps: acquiring a first monitoring video recorded by a first monitoring camera according to identification information of the first monitoring camera in video switching information triggered by a first video interface; interrupting a second monitoring video recorded by a second monitoring camera playing in a second video interface; acquiring a first monitoring video frame corresponding to the interruption time of the second monitoring video in the first monitoring video according to the interruption time of the second monitoring video; and in the second video interface, switching the interrupted monitoring video frame in the second monitoring video to the first monitoring video frame, and starting to play the first monitoring video from the first monitoring video frame.

Description

Method and device for processing monitoring video
Technical Field
The embodiment of the invention relates to the technical field of video monitoring, in particular to a method and a device for processing a monitoring video.
Background
In the existing video monitoring technology, a certain monitoring camera in an electronic map is mainly positioned, and a monitoring video of the positioned monitoring camera is obtained, so that the monitoring video is played, that is, when the monitoring video is obtained, only one monitoring camera can be positioned at a time, and the monitoring video corresponding to one monitoring camera can be displayed at a time, so that if a user wants to browse the monitoring videos of a plurality of monitoring cameras simultaneously, the plurality of monitoring cameras in the electronic map need to be positioned one by one, and the positioned monitoring videos of the plurality of monitoring cameras are displayed one by one, so that the display and browsing of the videos of the plurality of cameras are achieved.
However, in real life, when an emergency occurs at a certain location and a plurality of surveillance videos in a nearby area where the location is located need to be displayed quickly and simultaneously, for example, when a fleeing criminal suspect is caught, the direction of the criminal suspect and the current fleeing route thereof need to be positioned quickly, so that the scheme of acquiring surveillance videos of surveillance cameras at different locations one by one in the prior art obviously cannot meet the requirements of people on quick positioning, quick display and processing of the surveillance videos, and thus the problem of network leakage of the criminal suspect is easily caused.
Therefore, in the prior art, only one monitoring camera can be positioned in an electronic map at a time, and the problems of monitoring video positioning, low display speed and slow processing efficiency exist.
Disclosure of Invention
The embodiment of the invention provides a method and a device for processing a monitoring video, which aim to solve the problems of monitoring video positioning, low display rate and slow processing efficiency existing in the prior art that only one monitoring camera can be positioned at a time.
The embodiment of the invention provides a method for processing a monitoring video, which comprises the following steps: acquiring a first monitoring video recorded by a first monitoring camera according to identification information of the first monitoring camera in video switching information triggered by a first video interface; interrupting a second monitoring video recorded by a second monitoring camera playing in a second video interface; acquiring a first monitoring video frame corresponding to the interruption time of the second monitoring video in the first monitoring video according to the interruption time of the second monitoring video; in the second video interface, switching the interrupted monitoring video frame in the second monitoring video to the first monitoring video frame, and starting to play the first monitoring video from the first monitoring video frame; according to the identification information of the first monitoring camera included in the video switching information triggered by the first video interface, acquiring the first monitoring video recorded by the first monitoring camera comprises the following steps: embedding a first video interface on a second video interface, displaying identification information of each monitoring camera on the first video interface, and triggering video switching information by clicking the identification information of the first monitoring camera on the first video interface to acquire a first monitoring video recorded by the first monitoring camera; establishing a corresponding relation of the orientation angles between the first monitoring camera and the second monitoring camera according to the orientation angle of the first monitoring camera and the orientation angle of the second monitoring camera; displaying the corresponding relation of the orientation angles between the first monitoring camera and the second monitoring camera in the first video interface; if a second surveillance video recorded by a second surveillance camera being played in the second video interface is available, the method further includes: according to the moving direction of the monitoring target in the second monitoring video, if the moving direction of the monitoring target is matched with the orientation angle of the first monitoring camera, highlighting the identification information of the first monitoring camera on the first video interface so that a user can obtain the first monitoring video recorded by the first monitoring camera by operating the identification information of the first monitoring camera, and switching the second monitoring video to the first monitoring video.
Further, the first video interface is embedded in the second video interface.
Further, the method further comprises: establishing a direction corresponding relation between the first monitoring camera and the second monitoring camera according to the position information of the first monitoring camera and the position information of the second monitoring camera; and displaying the direction corresponding relation between the first monitoring camera and the second monitoring camera in the first video interface.
Further, displaying the directional correspondence between the first surveillance camera and the second surveillance camera in the first video interface includes: if the first monitoring camera is positioned on the right side of the second monitoring camera, a right direction arrow is displayed in the first video interface, and the camera pointed by the right direction arrow is the first monitoring camera on the right side of the second monitoring camera; or
If the first monitoring camera is positioned on the left side of the second monitoring camera, displaying a left direction arrow in the first video interface, wherein the camera pointed by the left direction arrow is the first monitoring camera on the left side of the second monitoring camera; or
If the first monitoring camera is positioned in front of the second monitoring camera, displaying an upward direction arrow in the first video interface, wherein the camera pointed by the upward direction arrow is the first monitoring camera in front of the second monitoring camera; or
And if the first monitoring camera is positioned behind the second monitoring camera, displaying a downward arrow in the first video interface, wherein the camera pointed by the downward arrow is the first monitoring camera behind the second monitoring camera.
Further, if a second surveillance video recorded by a second surveillance camera that is playing in the second video interface is available, the method further includes: and determining the surveillance video recorded by the surveillance camera corresponding to the direction identification information around the second surveillance camera as the surveillance video to be switched according to the direction identification information included in the video switching information triggered by the first video interface.
The embodiment of the invention provides a processing device of a monitoring video, which comprises: the first acquisition module is used for acquiring a first monitoring video recorded by a first monitoring camera according to identification information of the first monitoring camera included in video switching information triggered by a first video interface; the first acquisition module is specifically used for acquiring a first monitoring video recorded by a first monitoring camera according to video switching information triggered by clicking the identification information of the first monitoring camera on the first video interface; the interruption module is used for interrupting a second monitoring video recorded by a second monitoring camera which is playing in a second video interface; the second acquisition module is used for acquiring a first monitoring video frame corresponding to the interruption time of the second monitoring video from the first monitoring video according to the interruption time of the second monitoring video; a switching module, configured to switch, in the second video interface, an interrupted surveillance video frame in the second surveillance video to the first surveillance video frame, and start playing the first surveillance video from the first surveillance video frame; an orientation angle relationship establishing module (8) for establishing an orientation angle corresponding relationship between the first monitoring camera and the second monitoring camera according to the orientation angle of the first monitoring camera and the orientation angle of the second monitoring camera; a second display module (9) for displaying the corresponding relationship of the orientation angle between the first monitoring camera and the second monitoring camera in the first video interface; and the determining module (7) is used for highlighting the identification information of the first monitoring camera on the first video interface if the moving direction of the monitoring target in the second monitoring video is determined to be matched with the orientation angle of the first monitoring camera according to the moving direction of the monitoring target in the second monitoring video, so that a user can obtain the first monitoring video recorded by the first monitoring camera by operating the identification information of the first monitoring camera and switch the second monitoring video to the first monitoring video.
Further, the first video interface is embedded in the second video interface.
Further, the apparatus further comprises: the direction relation establishing module is used for establishing a direction corresponding relation between the first monitoring camera and the second monitoring camera according to the position information of the first monitoring camera and the position information of the second monitoring camera; the first display module is used for displaying the direction corresponding relation between the first monitoring camera and the second monitoring camera in the first video interface.
Further, the first display module is specifically configured to: if the first monitoring camera is positioned on the right side of the second monitoring camera, a right direction arrow is displayed in the first video interface, and the camera pointed by the right direction arrow is the first monitoring camera on the right side of the second monitoring camera; or
If the first monitoring camera is positioned on the left side of the second monitoring camera, displaying a left direction arrow in the first video interface, wherein the camera pointed by the left direction arrow is the first monitoring camera on the left side of the second monitoring camera; or
If the first monitoring camera is positioned in front of the second monitoring camera, displaying an upward direction arrow in the first video interface, wherein the camera pointed by the upward direction arrow is the first monitoring camera in front of the second monitoring camera; or
And if the first monitoring camera is positioned behind the second monitoring camera, displaying a downward arrow in the first video interface, wherein the camera pointed by the downward arrow is the first monitoring camera behind the second monitoring camera.
According to the embodiment of the invention, a first monitoring video recorded by a first monitoring camera is obtained according to identification information of the first monitoring camera in video switching information triggered by a first video interface; interrupting a second monitoring video recorded by a second monitoring camera playing in a second video interface; acquiring a first monitoring video frame corresponding to the interruption time of the second monitoring video from the first monitoring video according to the interruption time of the second monitoring video; in the second video interface, the interrupted monitoring video frame in the second monitoring video is switched to the first monitoring video frame, and the first monitoring video is played from the first monitoring video frame, so that a plurality of monitoring videos corresponding to a plurality of monitoring cameras are displayed simultaneously, and the problems of monitoring video positioning, low display rate and slow processing efficiency existing in the prior art that only one monitoring camera can be positioned at a time are solved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a flowchart of a surveillance video processing method according to a first embodiment of the present invention.
Fig. 2 is a flowchart of a second embodiment of a method for processing a surveillance video according to the present invention.
Fig. 3 is a flowchart of a third embodiment of a method for processing a surveillance video.
Fig. 4 is a schematic structural diagram of a surveillance video processing apparatus according to a first embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that, in this embodiment, the first and second video interfaces are only used for distinguishing the video interfaces, the first and second monitoring cameras are only used for distinguishing the monitoring cameras, and the first and second monitoring videos are only used for distinguishing the monitoring videos, and have no other meaning.
Specifically, in this embodiment, a picture-in-picture technology may be adopted to embed the first video interface in the second video interface, that is, the first video interface is a picture-in-picture interface of the second video interface. That is, the second video interface is a primary video interface, and the first video interface is a secondary video interface.
In this embodiment, the monitoring cameras include at least two or more than two, and may be arranged according to a specific target range to be monitored.
Fig. 1 is a flowchart of a first embodiment of a method for processing a surveillance video, as shown in fig. 1, the method of this embodiment may include:
step 101, acquiring a first monitoring video recorded by a first monitoring camera according to identification information of the first monitoring camera included in video switching information triggered by a first video interface;
for example, eight monitoring cameras are arranged in the present embodiment, each monitoring camera is arranged in a different area within the target range according to the target range to be monitored, and each monitoring camera monitors a different target area.
Each monitoring camera has its own identification information, for example, a hardware identification of the monitoring camera may be used as the identification information, coordinate position information of each monitoring camera in a target range may be used as the identification information, and for example, a serial number of each monitoring camera may be used as the identification information. In this embodiment, the video monitoring platform stores the identification information of each monitoring camera; meanwhile, the monitoring videos recorded by the monitoring cameras can be stored in the video monitoring platform, and the video monitoring platform can establish the corresponding relation between the identification information of the monitoring cameras and the corresponding monitoring videos.
In this embodiment, the video monitoring platform may display a first video interface and a second video interface, where the second video interface is a main video interface, and may display or play back a monitoring video recorded by one of the monitoring cameras in full screen real time, and the first video interface may display identification information of each of the monitoring cameras.
Assuming that a second video interface (main video interface) of the video monitoring platform currently plays a second monitoring video recorded by a second monitoring camera, a user can select the monitoring camera to be switched through identification information of each monitoring camera on the first video interface. Assuming that the user clicks the identification information of the first monitoring camera, the first monitoring video recorded by the first monitoring camera is acquired from the monitoring videos stored in the video monitoring platform according to the identification information of the first monitoring camera.
Step 102, interrupting a second monitoring video recorded by a second monitoring camera playing in a second video interface;
assuming that a second monitoring video recorded by a second monitoring camera is currently being played by a second video interface (main video interface), after a user clicks identification information of the monitoring camera in the first video interface to trigger video switching information, the second monitoring video recorded by the second monitoring camera being played in the second video interface needs to be interrupted, and an interrupted time point (interruption time) in the second monitoring video is obtained. Assuming that the second monitoring video is the played-back monitoring video, the interruption time point of the obtained played-back monitoring video, for example, the played-back monitoring video is the monitoring video from 8 am to 9 am yesterday, the interruption is divided at 8 o 'clock 30, and then 8 o' clock 30 yesterday is determined as the interruption time. Assuming that the second surveillance video is a currently real-time recorded surveillance video, the interruption time of the second surveillance video is the current time.
103, acquiring a surveillance video frame corresponding to the interruption time of the second surveillance video from the first surveillance video according to the interruption time of the second surveillance video;
that is to say, according to the interruption time of the second surveillance video, the interruption time of the second surveillance video is determined as the starting point time of the video to be played after switching, and according to the starting point time, the surveillance video frame corresponding to the starting point time is determined in the video to be played.
Corresponding to the example of the interruption time point in step 102, the played back monitoring video is the monitoring video from 8 am to 9 am yesterday, when interruption is performed at 8 am 30, 8 am 30 am yesterday is determined as interruption time, and 8 am 30 am yesterday is determined as the start time of the video to be played after switching, the video to be played determined in step 101 is the first monitoring video recorded by the first monitoring camera, in the obtained first monitoring video, the monitoring video frame corresponding to 8 am 30 am yesterday is searched, and the monitoring video frame corresponding to 8 am 30 am yesterday in the first monitoring video is used as the monitoring video frame of the playing start point.
If the second surveillance video is the currently real-time recorded surveillance video, the interruption time of the second surveillance video is the current time, that is, the current time is the starting time of the video to be played, and the currently recorded surveillance video of the first surveillance camera is directly switched to.
And 104, switching the interrupted monitoring video frame in the second monitoring video to the first monitoring video frame in the second video interface, and starting to play the first monitoring video from the first monitoring video frame.
Corresponding to the example in step 103, in the obtained first monitoring video, a monitoring video frame corresponding to 8 points per yesterday and 30 minutes is searched, after the monitoring video frame corresponding to 8 points per yesterday and 30 minutes in the first monitoring video is used as the monitoring video frame of the playing starting point, in the second video interface, the interrupted monitoring video frame in the second monitoring video is quickly switched to the monitoring video frame corresponding to 8 points per yesterday and 30 minutes in the first monitoring video, and the subsequent first monitoring video is played from the monitoring video frame corresponding to 8 points per yesterday and 30 minutes in the first monitoring video as the monitoring video frame of the playing starting point.
In the embodiment, a first video interface is embedded into a second video interface, identification information of each monitoring camera is displayed on the first video interface, video switching information is triggered by clicking a monitoring camera identification on the first video interface, a monitoring camera corresponding to the monitoring camera identification clicked on the first video interface is determined as a monitoring camera to be switched, a monitoring video recorded by the monitoring camera to be switched is obtained, a monitoring video which is being played on the second video interface is interrupted, a monitoring video frame corresponding to the interruption time is obtained from the monitoring video to be switched according to the interruption time of the interrupted monitoring video and is used as a monitoring video frame which is played at the beginning of the monitoring video to be switched, and the currently played monitoring video is switched to the monitoring video frame which is obtained from the monitoring video to be switched and corresponds to the interruption time in the second video interface, and playing subsequent monitoring videos in the monitoring videos to be switched from the monitoring video frame played at the beginning, and realizing the quick association of the monitoring videos recorded by different monitoring cameras to determine and continuously switch and play the monitoring videos. The method solves the problems that in the prior art, only one monitoring camera can be positioned at a time, and the monitoring video positioning, the display speed and the processing efficiency are low.
Further, in this embodiment, in the video monitoring platform, a direction corresponding relationship between the first monitoring camera and the second monitoring camera may also be established according to the position information of the first monitoring camera and the position information of the second monitoring camera. In the embodiment, firstly, the target range to be monitored is converted into an electronic map, and when the coordinate information of the monitoring camera is stored, the monitoring camera needs to be positioned in the electronic map, so that the positioning information of the monitoring camera is determined; and then, calculating the positioning information according to a preconfigured algorithm, so as to determine the coordinate information of the monitoring camera in the electronic map, and storing the coordinate information into a database of a video monitoring platform, so that the coordinate information of the monitoring camera in the electronic map is stored in each monitoring camera in the video monitoring platform contained in the electronic map. And then, according to the coordinate information of each monitoring camera in the electronic map, determining the position relationship among the monitoring cameras, further, determining the direction corresponding relationship among the monitoring cameras (namely the direction relation network of the monitoring cameras) according to the position relationship among the monitoring cameras, and displaying the direction corresponding relationship among the monitoring cameras on the first video interface.
For example, if a second surveillance video recorded by a second surveillance camera currently playing in the second video interface is assumed, and the first surveillance camera is located at the right side of the second surveillance camera, a right direction arrow is displayed in the first video interface, and a camera pointed by the right direction arrow is the first surveillance camera at the right side of the second surveillance camera; or the first monitoring camera is positioned on the left side of the second monitoring camera, a left direction arrow is displayed in the first video interface, and the camera pointed by the left direction arrow is the first monitoring camera on the left side of the second monitoring camera; or the first monitoring camera is positioned in front of the second monitoring camera, an upward direction arrow is displayed in the first video interface, and the camera pointed by the upward direction arrow is the first monitoring camera in front of the second monitoring camera; or the first monitoring camera is positioned behind the second monitoring camera, a downward arrow is displayed in the first video interface, and the camera pointed by the downward arrow is the first monitoring camera behind the second monitoring camera.
The directional relationship network of the monitoring cameras is not limited to the four directional relationships in the example, and may include eight directional relationships or sixteen directional relationships.
Fig. 2 is a flowchart of a second embodiment of a method for processing a surveillance video according to the present invention, and as shown in fig. 2, assuming that a second surveillance video recorded by a second surveillance camera that is currently playing in the second video interface, according to direction identification information included in video switching information triggered by the first video interface, a surveillance video recorded by a surveillance camera that is around the second surveillance camera and corresponds to the direction identification information is determined as a surveillance video to be switched. The specific implementation can include:
step 201, determining the monitoring video recorded by the monitoring camera to be switched according to the direction identification information included in the video switching information triggered by the first video interface.
For example, when a user clicks a right direction arrow displayed on the first video interface on a second monitoring video recorded by a second monitoring camera being played in the second video interface, the monitoring video recorded by the monitoring camera pointed to by the second monitoring camera in the right direction is determined as the monitoring video to be switched. And if the first monitoring camera is positioned in the right direction of the second monitoring camera, taking the first monitoring video recorded by the first monitoring camera as the monitoring video to be switched.
Step 202, interrupting the second monitoring video recorded by the second monitoring camera which is playing.
And 203, determining the monitoring video frame which is played at the beginning in the monitoring video to be switched according to the interruption time of the second monitoring video.
For example, the second surveillance video is a surveillance video that has been recorded by the playback second surveillance camera, assuming that the second surveillance video is a surveillance video from 8 to 9 yesterday, assuming that the interruption time is 8 to 30 yesterday according to the interruption time of the second surveillance time, taking 8 to 30 yesterday as the start time of the surveillance video with switching, further assuming that the surveillance video to be switched is the first surveillance video, searching for a surveillance video frame corresponding to 8 to 30 yesterday in the first surveillance video, and determining the video frame as the surveillance video frame that is started to be played in the first surveillance video.
Step 204, in the second video interface, switching the interrupted monitoring video frame in the second monitoring video to the monitoring video frame which is played at the beginning in the monitoring video to be switched, and starting to play the subsequent monitoring video in the monitoring video to be switched from the monitoring video frame which is played at the beginning.
For example, in the first surveillance video, a surveillance video frame corresponding to 8: 30 points yesterday is searched, and the video frame is determined as a surveillance video frame which is played at the beginning in the first surveillance video, so that in the second video interface, a surveillance video frame interrupted by the second surveillance video is switched to a surveillance video frame which is played at the beginning in the first surveillance video, and the subsequent first surveillance video starts to be played.
In this embodiment, by establishing a directional relationship between the monitoring cameras and saving a method relationship between the monitoring cameras in the video monitoring platform, the directional relationship between the monitoring cameras is displayed on the first video interface, so that a user can determine, by clicking the displayed directional information on the first video interface, a monitoring video recorded by the monitoring camera corresponding to the directional information and around the monitoring camera corresponding to the monitoring video being played on the second video interface as a monitoring video to be switched, interrupt the monitoring video being played on the second video interface, obtain, according to the interruption time of the interrupted monitoring video, a monitoring video frame corresponding to the interruption time in the monitoring video to be switched, and use the monitoring video frame as the monitoring video frame to be initially played in the monitoring video to be switched, and in the second video interface, switch the currently played monitoring video to the monitoring video to be switched to obtain the monitoring video corresponding to the interruption time And frequency frame, namely playing the subsequent monitoring video in the monitoring video to be switched from the monitoring video frame played at the beginning, and realizing the quick association of the monitoring videos recorded by different monitoring cameras to determine and continuously switch and play the monitoring video. The method solves the problems that in the prior art, only one monitoring camera can be positioned at a time, and the monitoring video positioning, the display speed and the processing efficiency are low.
Further, in this embodiment, the orientation angles of the monitoring cameras are stored in the video monitoring platform, and the corresponding relationship between the orientation angles of the monitoring cameras is established according to the orientation angles of the monitoring cameras, and is displayed in the first video interface.
Fig. 3 is a flowchart of a third embodiment of a method for processing a surveillance video, where as shown in fig. 3, it is assumed that a second surveillance video recorded by a second surveillance camera is being played in the second video interface, and the method further includes:
step 301, according to the moving direction of the monitoring target in the second monitoring video, determining the orientation angle of the monitoring camera matched with the moving direction of the monitoring target.
Step 302, if it is determined that the moving direction of the monitoring target matches the orientation angle of the first monitoring camera, highlighting the identification information of the first monitoring camera on the first video interface.
And 303, operating the identification information of the first monitoring camera to acquire a first monitoring video recorded by the first monitoring camera.
And step 304, switching the second monitoring video to the first monitoring video.
During specific switching, for example, the second surveillance video may be interrupted, the interruption time is determined as the start-playing time of the first surveillance video according to the interruption time of the second surveillance video, a first surveillance video frame corresponding to the start-playing time is searched for at the first surveillance video according to the start-playing time, and a subsequent first surveillance video is played from the first surveillance video frame.
In this embodiment, by establishing the corresponding relationship of the orientation angles between the monitoring cameras and storing the corresponding relationship of the orientation angles between the monitoring cameras in the video monitoring platform, the orientation angle of the monitoring camera matched with the moving direction of the monitoring target is determined according to the moving direction of the monitoring target in the currently played monitoring video, and the identifier of the monitoring camera matched with the orientation angle is highlighted on the first video interface, so that a user can rapidly operate the identifier of the highlighted monitoring camera, obtain the monitoring video of the highlighted monitoring camera, and perform video switching. The rapid association of the monitoring videos recorded by different monitoring cameras is determined and the monitoring videos are continuously switched and played. The method solves the problems that in the prior art, only one monitoring camera can be positioned at a time, and the monitoring video positioning, the display speed and the processing efficiency are low.
Fig. 4 is a schematic structural diagram of a first embodiment of a processing apparatus for monitoring video according to the present invention, and as shown in fig. 4, the apparatus of the present embodiment may include: the first acquisition module 1 is configured to acquire a first surveillance video recorded by a first surveillance camera according to identification information of the first surveillance camera included in video switching information triggered by a first video interface; the interruption module 2 is used for interrupting a second monitoring video recorded by a second monitoring camera which is playing in a second video interface; the second obtaining module 3 is configured to obtain, in the first surveillance video, a first surveillance video frame corresponding to the interruption time of the second surveillance video according to the interruption time of the second surveillance video; and the switching module 4 is configured to switch the interrupted surveillance video frame in the second surveillance video to the first surveillance video frame in the second video interface, and start playing the first surveillance video from the first surveillance video frame.
In one embodiment of the invention, the first video interface is embedded in the second video interface.
In an embodiment of the present invention, the apparatus for processing a surveillance video further includes: the direction relation establishing module 5 is used for establishing a direction corresponding relation between the first monitoring camera and the second monitoring camera according to the position information of the first monitoring camera and the position information of the second monitoring camera; and the first display module 6 is used for displaying the direction corresponding relation between the first monitoring camera and the second monitoring camera in the first video interface.
In an embodiment of the present invention, the first display module 6 is specifically configured to: if the first monitoring camera is positioned on the right side of the second monitoring camera, a right direction arrow is displayed in the first video interface, and the camera pointed by the right direction arrow is the first monitoring camera on the right side of the second monitoring camera; or the first monitoring camera is positioned on the left side of the second monitoring camera, a left direction arrow is displayed in the first video interface, and the camera pointed by the left direction arrow is the first monitoring camera on the left side of the second monitoring camera; or the first monitoring camera is positioned in front of the second monitoring camera, an upward direction arrow is displayed in the first video interface, and the camera pointed by the upward direction arrow is the first monitoring camera in front of the second monitoring camera; or if the first monitoring camera is positioned behind the second monitoring camera, displaying a downward arrow in the first video interface, wherein the camera pointed by the downward arrow is the first monitoring camera behind the second monitoring camera.
In an embodiment of the present invention, if a second surveillance video recorded by a second surveillance camera is being played in a second video interface, the apparatus for processing the surveillance video further includes: and the determining module 7 is configured to determine, according to the direction identification information included in the video switching information triggered by the first video interface, a surveillance video recorded by a surveillance camera around the second surveillance camera corresponding to the direction identification information as a surveillance video to be switched.
In an embodiment of the present invention, the apparatus for processing a surveillance video further includes: the orientation angle relationship establishing module 8 is configured to establish an orientation angle corresponding relationship between the first monitoring camera and the second monitoring camera according to the orientation angle of the first monitoring camera and the orientation angle of the second monitoring camera; and the second display module 9 is configured to display the corresponding relationship between the orientation angles of the first monitoring camera and the second monitoring camera in the first video interface.
In an embodiment of the present invention, if a second surveillance video recorded by a second surveillance camera is being played in a second video interface, the apparatus for processing the surveillance video further includes: the determining module 7 is further configured to highlight, according to the moving direction of the monitoring target in the second monitoring video, the identification information of the first monitoring camera on the first video interface when the moving direction of the monitoring target is determined to be matched with the orientation angle of the first monitoring camera, so that a user obtains the first monitoring video recorded by the first monitoring camera by operating the identification information of the first monitoring camera, and switches the second monitoring video to the first monitoring video.
The apparatus of this embodiment may be configured to implement the technical solution of any one of the method embodiments shown in fig. 1 to fig. 3, and the implementation principle and the technical effect are similar, which are not described herein again.
The following describes, by way of specific examples, implementation manners of the method according to the embodiment of the present invention in specific application scenarios:
for example, the method of the embodiment of the invention can be used for quickly realizing linkage of a high-point camera and a security monitoring video in a monitoring target range and keeping the target (such as people and vehicles).
Assuming that the coverage area of each monitoring camera is about 1 square kilometer, areas are divided on the electronic map, and each area is provided with one monitoring camera. And adding a monitoring camera identification layer in the layer of the electronic map to select a monitoring camera. And clicking the mark on the mark layer of the monitoring camera, automatically positioning the electronic map to the target monitoring area of the selected monitoring camera, and amplifying the rest of the target monitoring to a certain level for display. And then clicking any monitoring camera mark on the electronic map, calling out the monitoring video of the monitoring camera, displaying the monitoring video on a main video interface of the video monitoring platform, embedding the monitoring camera mark on the main video interface picture, double clicking marks of other monitoring cameras, calling out the monitoring videos of other monitoring cameras for video switching, or displaying the monitoring videos of other monitoring cameras in a split screen mode.
Further, the direction correspondence between each monitoring camera, specifically, the directions of the actual geographic position of the monitoring camera, which correspond to the upper, lower, left, upper, lower, upper right, and lower right, may be set according to the position information of each monitoring camera or according to the picture orientation of the monitoring video of each monitoring camera. Then, the direction icon can be embedded into the main video interface, and a certain direction icon is clicked, that is, the monitoring video picture of the monitoring camera in the area corresponding to the direction icon is switched to. When the monitoring target area of the monitoring camera is switched, the electronic map can also be synchronously switched to the monitoring target area.
Furthermore, a plurality of video playing windows can be opened on the main video interface, real-time videos of a plurality of monitoring cameras in the same time point in the same monitoring video picture direction are opened at the same time, and the movement of tracking a monitoring target can be observed.
Furthermore, the orientation angle of each monitoring camera is marked on the electronic map according to the orientation angle of each monitoring camera, the next monitoring camera which is possibly present in the monitoring target is judged according to the orientation angle of each monitoring camera and the moving direction of the monitoring target, the next monitoring camera is directly clicked, the current monitoring video is directly switched to the monitoring video of the next monitoring camera, and the target can be continuously and quickly tracked.
Further, in this embodiment, information such as a monitoring target prohibited from entering the monitoring target area and/or monitoring time prohibited from entering the monitoring target area is also set in the video monitoring platform, and when the monitoring target enters the monitoring target area, an entry warning may be triggered; alternatively, an entry warning may be triggered when the monitoring target enters the monitoring target area for the monitoring time period. The monitoring camera has the capability of automatically identifying and recording the monitored target, so that the monitored target can be automatically searched and positioned in massive monitoring videos, and the preprocessing time required by monitoring video analysis is greatly saved.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (8)

1. A processing method of monitoring video is characterized by comprising the following steps:
acquiring a first monitoring video recorded by a first monitoring camera according to identification information of the first monitoring camera in video switching information triggered by a first video interface;
interrupting a second monitoring video recorded by a second monitoring camera playing in a second video interface;
acquiring a first monitoring video frame corresponding to the interruption time of the second monitoring video in the first monitoring video according to the interruption time of the second monitoring video;
in the second video interface, switching the interrupted monitoring video frame in the second monitoring video to the first monitoring video frame, and starting to play the first monitoring video from the first monitoring video frame;
the acquiring the first monitoring video recorded by the first monitoring camera according to the identification information of the first monitoring camera included in the video switching information triggered by the first video interface includes:
embedding the first video interface in the second video interface, displaying identification information of each monitoring camera on the first video interface, and triggering video switching information by clicking the identification information of the first monitoring camera on the first video interface to acquire a first monitoring video recorded by the first monitoring camera; and
establishing a corresponding relation of the orientation angles between the first monitoring camera and the second monitoring camera according to the orientation angle of the first monitoring camera and the orientation angle of the second monitoring camera;
displaying the corresponding relation of the orientation angles between the first monitoring camera and the second monitoring camera in the first video interface;
if a second surveillance video recorded by a second surveillance camera being played in the second video interface is available, the method further includes:
according to the moving direction of the monitoring target in the second monitoring video, if the moving direction of the monitoring target is matched with the orientation angle of the first monitoring camera, highlighting the identification information of the first monitoring camera on the first video interface so that a user can obtain the first monitoring video recorded by the first monitoring camera by operating the identification information of the first monitoring camera, and switching the second monitoring video to the first monitoring video.
2. The method of claim 1, further comprising:
establishing a direction corresponding relation between the first monitoring camera and the second monitoring camera according to the position information of the first monitoring camera and the position information of the second monitoring camera;
and displaying the direction corresponding relation between the first monitoring camera and the second monitoring camera in the first video interface.
3. The method of claim 2, wherein displaying the directional correspondence between the first surveillance camera and the second surveillance camera in the first video interface comprises:
if the first monitoring camera is positioned on the right side of the second monitoring camera, a right direction arrow is displayed in the first video interface, and the camera pointed by the right direction arrow is the first monitoring camera on the right side of the second monitoring camera; or
If the first monitoring camera is positioned on the left side of the second monitoring camera, displaying a left direction arrow in the first video interface, wherein the camera pointed by the left direction arrow is the first monitoring camera on the left side of the second monitoring camera; or
If the first monitoring camera is positioned in front of the second monitoring camera, displaying an upward direction arrow in the first video interface, wherein the camera pointed by the upward direction arrow is the first monitoring camera in front of the second monitoring camera; or
And if the first monitoring camera is positioned behind the second monitoring camera, displaying a downward arrow in the first video interface, wherein the camera pointed by the downward arrow is the first monitoring camera behind the second monitoring camera.
4. The method of claim 3, wherein if the second surveillance video recorded by the second surveillance camera being played in the second video interface, the method further comprises:
and determining the surveillance video recorded by the surveillance camera corresponding to the direction identification information around the second surveillance camera as the surveillance video to be switched according to the direction identification information included in the video switching information triggered by the first video interface.
5. A surveillance video processing apparatus, comprising:
the first acquisition module (1) is used for acquiring a first monitoring video recorded by a first monitoring camera according to identification information of the first monitoring camera included in video switching information triggered by a first video interface; the first video interface is embedded in the second video interface, identification information of each monitoring camera is displayed on the first video interface, and the first acquisition module (1) is specifically used for acquiring a first monitoring video recorded by the first monitoring camera according to video switching information triggered by clicking the identification information of the first monitoring camera on the first video interface;
the interruption module (2) is used for interrupting a second monitoring video recorded by a second monitoring camera which is playing in a second video interface;
a second obtaining module (3) for obtaining a first surveillance video frame corresponding to the interruption time of the second surveillance video in the first surveillance video according to the interruption time of the second surveillance video;
a switching module (4) for switching the interrupted surveillance video frame in the second surveillance video to the first surveillance video frame in the second video interface, and starting to play the first surveillance video from the first surveillance video frame;
an orientation angle relationship establishing module (8) for establishing an orientation angle corresponding relationship between the first monitoring camera and the second monitoring camera according to the orientation angle of the first monitoring camera and the orientation angle of the second monitoring camera;
and the second display module (9) is used for displaying the corresponding relation of the orientation angles between the first monitoring camera and the second monitoring camera in the first video interface.
And the determining module (7) is used for highlighting the identification information of the first monitoring camera on the first video interface if the moving direction of the monitoring target in the second monitoring video is determined to be matched with the orientation angle of the first monitoring camera according to the moving direction of the monitoring target in the second monitoring video, so that a user can obtain the first monitoring video recorded by the first monitoring camera by operating the identification information of the first monitoring camera and switch the second monitoring video to the first monitoring video.
6. The apparatus of claim 5, further comprising:
a direction relation establishing module (5) for establishing a direction corresponding relation between the first monitoring camera and the second monitoring camera according to the position information of the first monitoring camera and the position information of the second monitoring camera;
and the first display module (6) is used for displaying the direction corresponding relation between the first monitoring camera and the second monitoring camera in the first video interface.
7. The device according to claim 6, wherein the first display module (6) is specifically configured to:
if the first monitoring camera is positioned on the right side of the second monitoring camera, a right direction arrow is displayed in the first video interface, and the camera pointed by the right direction arrow is the first monitoring camera on the right side of the second monitoring camera; or
If the first monitoring camera is positioned on the left side of the second monitoring camera, displaying a left direction arrow in the first video interface, wherein the camera pointed by the left direction arrow is the first monitoring camera on the left side of the second monitoring camera; or
If the first monitoring camera is positioned in front of the second monitoring camera, displaying an upward direction arrow in the first video interface, wherein the camera pointed by the upward direction arrow is the first monitoring camera in front of the second monitoring camera; or
And if the first monitoring camera is positioned behind the second monitoring camera, displaying a downward arrow in the first video interface, wherein the camera pointed by the downward arrow is the first monitoring camera behind the second monitoring camera.
8. The apparatus of claim 6, wherein if the second video interface is playing a second surveillance video recorded by a second surveillance camera, the apparatus further comprises:
and the determining module (7) is used for determining the monitoring video recorded by the monitoring cameras around the second monitoring camera and corresponding to the direction identification information as the monitoring video to be switched according to the direction identification information included in the video switching information triggered by the first video interface.
CN201510708964.6A 2015-10-27 2015-10-27 Method and device for processing monitoring video Active CN105306899B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510708964.6A CN105306899B (en) 2015-10-27 2015-10-27 Method and device for processing monitoring video

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510708964.6A CN105306899B (en) 2015-10-27 2015-10-27 Method and device for processing monitoring video

Publications (2)

Publication Number Publication Date
CN105306899A CN105306899A (en) 2016-02-03
CN105306899B true CN105306899B (en) 2020-01-03

Family

ID=55203584

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510708964.6A Active CN105306899B (en) 2015-10-27 2015-10-27 Method and device for processing monitoring video

Country Status (1)

Country Link
CN (1) CN105306899B (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105933621B (en) * 2015-12-29 2018-11-13 广东中星电子有限公司 A kind of method and device of switching adjacent camera video
CN105812726B (en) * 2016-03-07 2019-01-29 广东威创视讯科技股份有限公司 Signal monitoring method and system based on joined screen system
CN107959872A (en) * 2016-10-18 2018-04-24 杭州海康威视系统技术有限公司 A kind of video switching method, device and video patrol system
CN106507046B (en) * 2016-11-07 2019-12-24 浙江大华技术股份有限公司 Alarm information generation method and device
CN107846623B (en) * 2017-10-31 2020-12-22 广东中星电子有限公司 Video linkage method and system
CN110557603B (en) * 2018-06-01 2021-09-03 杭州海康威视系统技术有限公司 Method and device for monitoring moving target and readable storage medium
CN109873992B (en) * 2019-03-26 2021-12-24 联想(北京)有限公司 Information processing method and device
CN112752067A (en) * 2019-10-30 2021-05-04 杭州海康威视系统技术有限公司 Target tracking method and device, electronic equipment and storage medium
CN111083642A (en) * 2019-12-10 2020-04-28 浩云科技股份有限公司 Method for positioning personnel in treasury
CN111565296B (en) * 2020-04-29 2023-04-07 北京睿呈时代信息科技有限公司 Memory, video monitoring system control method, system and equipment
CN111901690B (en) * 2020-06-15 2024-03-15 视联动力信息技术股份有限公司西藏分公司 Stream state detection method, device and computer readable storage medium
CN112732975B (en) * 2020-12-31 2023-02-24 杭州海康威视数字技术股份有限公司 Object tracking method and device, electronic equipment and system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102065279A (en) * 2010-10-28 2011-05-18 北京中星微电子有限公司 Method for continuous tracking monitored object and system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101695125A (en) * 2009-10-16 2010-04-14 天津市中环系统工程有限责任公司 Method and system for realizing video intelligent track navigation
US9087386B2 (en) * 2012-11-30 2015-07-21 Vidsys, Inc. Tracking people and objects using multiple live and recorded surveillance camera video feeds
CN103079061B (en) * 2013-01-30 2016-07-13 浙江宇视科技有限公司 A kind of video tracking processes device and video link processes device
CN104519319A (en) * 2014-12-11 2015-04-15 北京中星微电子有限公司 Method and device for surveillance video display of electronic map

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102065279A (en) * 2010-10-28 2011-05-18 北京中星微电子有限公司 Method for continuous tracking monitored object and system

Also Published As

Publication number Publication date
CN105306899A (en) 2016-02-03

Similar Documents

Publication Publication Date Title
CN105306899B (en) Method and device for processing monitoring video
US9979901B2 (en) System and method for automatic camera hand-off using location measurements
JP6399356B2 (en) Tracking support device, tracking support system, and tracking support method
JP6696615B2 (en) Monitoring system, monitoring method, and recording medium storing monitoring program
EP2302602B1 (en) Systems and methods for location-based multimedia monitoring
WO2017193735A1 (en) Trace obtaining method and device for video surveillance system
US8289390B2 (en) Method and apparatus for total situational awareness and monitoring
US8437508B2 (en) Information processing apparatus and information processing method
US10019877B2 (en) Apparatus and methods for the semi-automatic tracking and examining of an object or an event in a monitored site
CN104519319A (en) Method and device for surveillance video display of electronic map
CN110557603B (en) Method and device for monitoring moving target and readable storage medium
KR101933153B1 (en) Control Image Relocation Method and Apparatus according to the direction of movement of the Object of Interest
US20160210516A1 (en) Method and apparatus for providing multi-video summary
CN105530465A (en) Security surveillance video searching and locating method
CN105933665B (en) A kind of method and device for having access to camera video
US20150128045A1 (en) E-map based intuitive video searching system and method for surveillance systems
CN111010547A (en) Target object tracking method and device, storage medium and electronic device
WO2021068553A1 (en) Monitoring method, apparatus and device
KR100964726B1 (en) Method for tracking moving objects using characteristics of moving objects in image camera system
JP2006093955A (en) Video processing apparatus
CN106331606A (en) Multi-screen display system and method for video detection system
CN113905211A (en) Video patrol method, device, electronic equipment and storage medium
CN111405382A (en) Video abstract generation method and device, computer equipment and storage medium
CN110781797B (en) Labeling method and device and electronic equipment
CN114363568A (en) Moving target monitoring method, system and storage medium based on multi-video stitching

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant