Disclosure of Invention
The invention aims to provide a monitoring display method which can display the real-time positions of multiple cameras and the current monitoring visual field of the cameras in a three-dimensional visual mode.
In order to solve the technical problems, the invention adopts a technical scheme that: a monitoring display method is provided, which comprises the following steps:
the system server presents a distribution diagram of a plurality of network cameras in the three-dimensional system on a display,
the system server receives the video images of the network cameras,
and displaying a real-time video image shot by a camera selected by the interface in a floating window mode.
In a preferred embodiment of the present invention, each network camera corresponds to an ID, and the system server receives an ID input instruction, updates a video image of a certain camera, and realizes real-time display of a monitor video image.
In a preferred embodiment of the invention, the method for selecting the camera by the interface comprises cursor following and double clicking.
In a preferred embodiment of the invention, the camera selected by the interface displays the best real-time video image shot on the display in a mode of adjusting the focal length and the angle.
In a preferred embodiment of the present invention, the system server displays a floating window operation menu according to a further operation instruction, including full screen display, full screen exit, manual photographing, and history picture display, so as to meet different requirements of operators.
In a preferred embodiment of the present invention, the monitoring and displaying method comprises the following steps:
s1: setting the coordinate position of a mouse on a display screen as A (x, y), and determining the position coordinate B (x, y, z) of the mouse in a three-dimensional space by adopting a three-dimensional engine technology through screen space mapping;
s2: initializing a Ray (B, V) according to the current observation direction V of the three-dimensional visual field by taking a space coordinate point B (x, y, z) as a starting point;
s3: ray collision detection is carried out in a scene by Ray (B, V), all intersecting model information is returned, and whether the returned intersecting model information contains model information of the network camera or not is judged; if the model intersection information is not contained, the flow is terminated; if the network camera model information is contained, returning the model information, and inquiring a database according to the model information to acquire configuration information such as IP (Internet protocol) of the network camera;
s4: organizing the RTSP protocol address of the streaming media playing according to the configuration information such as IP of the webcam obtained in S3, calling the player panel, and displaying the video information of the webcam at the a (x, y) position of the display screen coordinates.
The invention has the beneficial effects that: the invention can display the real-time positions of multiple cameras and the current monitoring visual field of the cameras in a three-dimensional visual mode, more intuitively and friendly realize the visualization of the programmed operation of the transformer substation, is more favorable for remote monitoring and operation, and is convenient for a monitor to quickly and accurately perform auxiliary judgment through real-time images and videos of a switch and a disconnecting link by sending video images to a human-computer interaction interface of the monitor in real time, thereby ensuring the safety of programmed operation remote control.
Detailed Description
The following detailed description of the preferred embodiments of the present invention, taken in conjunction with the accompanying drawings, will make the advantages and features of the invention easier to understand by those skilled in the art, and thus will clearly and clearly define the scope of the invention.
Referring to fig. 1, an embodiment of the present invention includes:
a monitoring display method comprises the following steps:
the system server presents a distribution diagram of the network cameras in the three-dimensional system on the display, and compared with the tree-type list mode display in the prior art, the method is more visual and friendly;
the system server receives the video images of the network cameras, displays a real-time video image shot by a camera selected by the interface in a floating window mode, and presents a mode of same-screen multi-picture or multi-screen multi-picture.
The camera selected by the interface can display the shot optimal real-time video image on the display in a mode of adjustable focal length and angle. Each network camera corresponds to an ID, and the system server can also receive an ID input instruction, update the video image of a certain camera and realize the real-time display of the monitoring video image. The system server can display a floating window operation menu according to a further operation instruction, wherein the floating window operation menu comprises full-screen display, full-screen quitting, manual photographing and historical picture displaying, so that different requirements of operators are met.
The monitoring display method can be applied to various fields, for example, secondary confirmation of video monitoring images is required in the process of programmed operation of a transformer substation, and the position relationship between the electrical equipment and the camera can be displayed in a three-dimensional visualized mode by the aid of the monitoring display method.
Multiple paths (such as 1, 4, 9 and 16 paths) of video information can be optionally monitored on the same screen, namely, multiple paths (such as 1, 4, 9 and 16 paths) of real-time image information of the transformer substation can be monitored on the same screen; the image information can be switched at any time, and various modes such as single-picture manual switching, single-picture automatic rotation viewing, multi-picture manual switching, multi-picture automatic rotation viewing and the like can be selected.
The accessible carries out three-dimensional visual presentation with the transformer substation, and convenient, directly perceived, high-efficient video monitoring who concerns the interior equipment of station when moving mouse to certain equipment in the three-dimensional visual interface of transformer substation on, the video monitoring camera position distribution condition of "paying attention to" this equipment is directly perceived to know through obvious extension dotted line. When the device of "focus" is double-clicked, the video surveillance pictures on the respective stands indicated by the extended dotted lines will be presented "in synchronization with the screen" in a pop-up manner.
Specifically, referring to fig. 2, the algorithm implementation of the monitoring display method includes the following steps:
s1: setting the coordinate position of a mouse on a display screen as A (x, y), and determining the position coordinate B (x, y, z) of the mouse in a three-dimensional space by adopting a three-dimensional engine technology through screen space mapping;
the three-dimensional system adopts a three-dimensional engine technology, uses OpenGL (open Graphics library) to render, adopts java as a logic implementation language, adopts java fx to construct an interface framework, and adopts a BIHTree scene structure to divide a scene into a plurality of bounding volumes.
S2: initializing a ray (B, V) according to the current observation direction V of the three-dimensional visual field by taking a space coordinate point B (x, y, z) as a starting point;
s3: the newly-built Ray is combined with a BIHTree scene structure of an engine, otherwise, the efficiency is low due to traversing the scene, the BIHTree divides the scene into a plurality of bounding volumes, collision is carried out with the bounding volume closest to a transmitting line, the bounding volume which is unlikely to collide is not considered, and the calculation of traversing the scene is not needed, so that the Ray detection efficiency is greatly improved by the method.
Ray collision detection is carried out in a scene by Ray (B, V), all intersecting model information is returned, and whether the returned intersecting model information contains model information of the network camera or not is judged; if the model intersection information is not contained, the flow is terminated; if the network camera model information is contained, returning the model information, and inquiring a database according to the model information to acquire configuration information such as IP (Internet protocol) of the network camera;
s4: based on the configuration information such as IP of the network camera obtained in S3, an RTSP (Real Time Streaming Protocol) Protocol address for Streaming media playing is organized, a player panel is called, and video information of the network camera is displayed at a (x, y) position of a display screen coordinate.
The invention can display the real-time positions of multiple cameras and the current monitoring visual field of the cameras in a three-dimensional visual mode, more intuitively and friendly realize the visualization of the programmed operation of the transformer substation, is more favorable for remote monitoring and operation, and is convenient for a monitor to quickly and accurately perform auxiliary judgment through real-time images and videos of a switch and a disconnecting link by sending video images to a human-computer interaction interface of the monitor in real time, thereby ensuring the safety of programmed operation remote control.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes performed by the present specification and drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.