CN112346607A - Monitoring camera map spot overlapping display optimization method - Google Patents
Monitoring camera map spot overlapping display optimization method Download PDFInfo
- Publication number
- CN112346607A CN112346607A CN201910725236.4A CN201910725236A CN112346607A CN 112346607 A CN112346607 A CN 112346607A CN 201910725236 A CN201910725236 A CN 201910725236A CN 112346607 A CN112346607 A CN 112346607A
- Authority
- CN
- China
- Prior art keywords
- camera
- rectangle
- node
- optimization method
- user
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/04817—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/18—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
- H04N7/181—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a plurality of remote sources
Abstract
The invention discloses a monitoring camera map spot overlapping display optimization method, which comprises the following steps of (1) constructing a space query rectangle according to a user click position; (2) querying a monitoring camera positioned in the space query rectangular range; (3) distinguishing and displaying camera icons in a new interface; (4) and responding to the user operation to play the video. The advantages are that: the invention adopts a method for displaying a large-ratio enlarged scene according to the relative position by newly-built display interface, solves the problem of user pain points of element icon overlapping caused by the limitation of the electronic map scaling scale, and ensures that a user can conveniently distinguish the elements by inquiring overlapping elements in a small range and separately displaying the elements in a new interface.
Description
Technical Field
The invention belongs to the technical field of police command and control information, and particularly relates to a monitoring camera map spot overlapping display optimization method which is applied to a police emergency command and dispatching platform system.
Background
In the current police command control information system, various police elements such as police cars, surveillance cameras and police officers can be displayed by scattering points on an electronic map through position positioning elements, police elements can be displayed on the electronic map in an overlapping manner to assist users in directly knowing the distribution situation of the element positions, and meanwhile, users can directly click corresponding elements on the electronic map to perform related operations, such as directly clicking a surveillance camera icon to call a real-time surveillance video.
Due to the limitation of the display scale of the electronic map, when the actual distances of the multiple elements are short, the corresponding icons of the multiple elements are displayed in an overlapped mode on the electronic map, and therefore a user cannot select the multiple elements easily. In practical situations, there are a large number of monitoring cameras with extremely close distances, such as busy road sections, where the cameras are usually densely distributed, and the distance between the cameras is not more than 5 meters, in which case icon overlapping occurs when points are scattered on an electronic map, which causes inconvenience for a user to call a video, and therefore, it is necessary to perform optimization processing for the situation of overlapping display of element icons.
Disclosure of Invention
The invention aims to provide a monitoring camera map spot overlapping display optimization method, which can solve the problem of overlapping display of monitoring camera icons manufactured due to the scale limit of an electronic map at present and is convenient for a user to call a monitoring video of a specified monitoring camera.
The technical scheme of the invention is as follows: an optimization method for overlapping display of scattered points of a monitoring camera map comprises the following steps,
(1) constructing a space query rectangle according to the click position of the user;
(2) querying a monitoring camera positioned in the space query rectangular range;
(3) distinguishing and displaying camera icons in a new interface;
(4) and responding to the user operation to play the video.
The step (1) comprises that a user clicks the electronic map, records longitude and latitude points of a clicking position of the user, constructs a rectangle r with the length and the width of a and b respectively by taking the clicking position of the user as a central point,
in the step (1), the values of a and b are not more than 20 m, and the positions of the vertexes of the upper left corner and the lower right corner of the rectangle r are determined by the space geometric relationshipLabel (phi)1,λ1) And (phi)2,λ2)。
And the step (2) comprises the steps of carrying out space range query and recursively searching rectangles positioned in the coverage range of the rectangle r from the root node of the tree structure.
And (2) traversing each monitoring camera tuple information stored in the node n if the node n is a leaf node and the minimum boundary rectangle of the node n is overlapped with the rectangle r, judging whether the longitude and latitude coordinates of the monitoring camera are positioned in the range of the query rectangle r, and returning the monitoring camera information of which the coordinates are positioned in the range of the rectangle r.
And the step (2) comprises repeating the searching process for each child node of the node n if the node n is a non-leaf node and the minimum boundary rectangle of the node n has a superposition part with the rectangle r.
The step (3) includes collecting the information of the monitoring cameras meeting the conditions, popping up a new display interface window, and mapping each monitoring camera to the position appointed by the new display interface window according to the longitude and latitude coordinates of the monitoring cameraAnd displaying the camera icon.
And (4) the width and the height of the interface window in the step (3) are respectively w pixels and h pixels.
And (4) clicking a camera icon in a new display interface by a user, initiating a video stream request to a video server according to the camera information, returning the real-time code stream of the camera by the video server, and playing a real-time monitoring picture.
The camera information in the step (4) comprises an identifier (id) of the camera, a network address (addr) of the camera, a video code stream coding mode (code) and a video channel number (channel).
The invention has the beneficial effects that: the invention adopts a method for displaying a large-ratio enlarged scene according to the relative position by newly-built display interface, solves the problem of user pain points of element icon overlapping caused by the limitation of the electronic map scaling scale, and ensures that a user can conveniently distinguish the elements by inquiring overlapping elements in a small range and separately displaying the elements in a new interface.
Detailed Description
The present invention will be described in further detail with reference to specific examples.
The invention provides an optimization method for overlapping display of scattered points of a map of a monitoring camera.
The camera information is organized through an R tree structure, and the advantage of using the R tree structure is that the space query speed is high. The R tree structure formed by the camera information is formed by leaf nodes and non-leaf nodes. The data stored by the leaf node is in the form of (id, addr, code, channel, lon, lat, mbr), wherein id is an identifier of a camera, addr is a network address parameter of the camera, code is a video code stream coding mode parameter of the camera, channel represents the number of video channels, lon and lat are longitude and latitude coordinate points of the camera, and mbr represents a minimum boundary rectangle covering the camera; the non-leaf node stores data in the form of (child, mbr), child points to child nodes, and mbr is the smallest bounding rectangle that covers all of its child nodes.
When the monitoring camera icons on the electronic map are displayed in an overlapped mode and the electronic map cannot be enlarged continuously, a rectangular area is constructed according to the longitude and latitude of the clicking position of a user on the electronic map, space inquiry is carried out, monitoring camera information in the rectangular area is inquired, a new display interface is created, and the camera icons are marked on the interface according to the relative position between the cameras, so that the camera icons are not displayed in an overlapped mode. The specific process is as follows:
(1) constructing a spatial query rectangle according to the user click position: the user clicks the electronic map and records the userClicking the longitude and latitude points of the position, taking the user clicking position as a central point, constructing a rectangle r with the length and the width of a and b respectively, wherein the values of a and b are usually not more than 20 m, and determining the vertex coordinates (phi) of the upper left corner and the lower right corner of the rectangle r according to the space geometric relationship1,λ1) And (phi)2,λ2);
(2) Inquiring a monitoring camera positioned in the space inquiry rectangular range: performing space range query, starting recursive search for rectangles located in a coverage range of a rectangle r from a root node of a tree structure, traversing each monitoring camera tuple information stored in a node n if the node n is a leaf node and the minimum boundary rectangle of the node n is overlapped with the rectangle r, judging whether the longitude and latitude coordinates of the monitoring camera are located in the range of the query rectangle r, and returning the monitoring camera information with the coordinates located in the range of the rectangle r; if the node n is a non-leaf node and the minimum boundary rectangle of the n is overlapped with the rectangle r, repeating the searching process for each sub-node of the node n;
(3) distinguish display camera icon in new interface: collecting the information of the monitoring cameras meeting the conditions, popping out a new display interface window, wherein the width and the height of the window are respectively w pixels and h pixels, and mapping each monitoring camera to the position appointed by the new display interface window according to the longitude and latitude coordinates of the monitoring cameraDisplaying a camera icon;
(4) responding to the user operation to play the video: and clicking a camera icon in a new display interface by a user, initiating a video stream request to a video server through an identifier (id) of the camera, a network address (addr) of the camera, a code stream coding mode (code) and a video channel number (channel) according to the information of the camera, and returning the real-time code stream of the camera by the video server to play a real-time monitoring picture.
Claims (10)
1. A monitoring camera map spot overlapping display optimization method is characterized by comprising the following steps: comprises the following steps of (a) carrying out,
(1) constructing a space query rectangle according to the click position of the user;
(2) querying a monitoring camera positioned in the space query rectangular range;
(3) distinguishing and displaying camera icons in a new interface;
(4) and responding to the user operation to play the video.
2. The optimization method for the scatter-dot overlapping display of the surveillance camera as claimed in claim 1, wherein: the step (1) comprises that a user clicks the electronic map, longitude and latitude points of a clicking position of the user are recorded, and a rectangle r with the length and the width of a and b is constructed by taking the clicking position of the user as a central point.
3. The optimization method for the scatter-dot overlapping display of the surveillance camera as claimed in claim 1, wherein: in the step (1), the values of a and b are not more than 20 m, and the coordinates (phi) of the top left corner and the bottom right corner of the rectangle r are determined by the space geometric relationship1,λ1) And (phi)2,λ2)。
4. The optimization method for the scatter-dot overlapping display of the surveillance camera as claimed in claim 1, wherein: and the step (2) comprises the steps of carrying out space range query and recursively searching rectangles positioned in the coverage range of the rectangle r from the root node of the tree structure.
5. The method of optimizing a surveillance camera map spot overlay display of claim 4, wherein: and (2) traversing each monitoring camera tuple information stored in the node n if the node n is a leaf node and the minimum boundary rectangle of the node n is overlapped with the rectangle r, judging whether the longitude and latitude coordinates of the monitoring camera are positioned in the range of the query rectangle r, and returning the monitoring camera information of which the coordinates are positioned in the range of the rectangle r.
6. The method for optimizing the scatter-dot overlapping display of the surveillance camera map as claimed in claim 3, wherein: and the step (2) comprises repeating the searching process for each child node of the node n if the node n is a non-leaf node and the minimum boundary rectangle of the node n has a superposition part with the rectangle r.
7. The optimization method for the scatter-dot overlapping display of the surveillance camera as claimed in claim 1, wherein: the step (3) includes collecting the information of the monitoring cameras meeting the conditions, popping up a new display interface window, and mapping each monitoring camera to the position appointed by the new display interface window according to the longitude and latitude coordinates of the monitoring cameraAnd displaying the camera icon.
8. The optimization method for the scatter-dot overlapping display of the surveillance camera as claimed in claim 1, wherein: and (4) the width and the height of the interface window in the step (3) are respectively w pixels and h pixels.
9. The optimization method for the scatter-dot overlapping display of the surveillance camera as claimed in claim 1, wherein: and (4) clicking a camera icon in a new display interface by a user, initiating a video stream request to a video server according to the camera information, returning the real-time code stream of the camera by the video server, and playing a real-time monitoring picture.
10. The optimization method for the scatter-dot overlapping display of the surveillance camera as claimed in claim 1, wherein: the camera information in the step (4) comprises an identifier (id) of the camera, a network address (addr) of the camera, a video code stream coding mode (code) and a video channel number (channel).
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910725236.4A CN112346607B (en) | 2019-08-07 | 2019-08-07 | Monitoring camera map spot overlapping display optimization method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910725236.4A CN112346607B (en) | 2019-08-07 | 2019-08-07 | Monitoring camera map spot overlapping display optimization method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112346607A true CN112346607A (en) | 2021-02-09 |
CN112346607B CN112346607B (en) | 2022-10-21 |
Family
ID=74366609
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910725236.4A Active CN112346607B (en) | 2019-08-07 | 2019-08-07 | Monitoring camera map spot overlapping display optimization method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112346607B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115086620A (en) * | 2022-08-15 | 2022-09-20 | 广州市华达石化有限公司 | Remote video monitoring method and electronic equipment for industrial gas production enterprise |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103491339A (en) * | 2012-06-11 | 2014-01-01 | 华为技术有限公司 | Video acquisition method, video acquisition equipment and video acquisition system |
CN105472313A (en) * | 2014-08-29 | 2016-04-06 | 霍尼韦尔国际公司 | A method for displaying a plurality of devices on an electronic map in a monitoring system |
CN106331633A (en) * | 2016-08-30 | 2017-01-11 | 长威信息科技发展股份有限公司 | Method and system for displaying and quickly accessing a variety of monitoring resources |
CN107562895A (en) * | 2017-09-06 | 2018-01-09 | 上海享骑电动车服务有限公司 | Geography fence |
-
2019
- 2019-08-07 CN CN201910725236.4A patent/CN112346607B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103491339A (en) * | 2012-06-11 | 2014-01-01 | 华为技术有限公司 | Video acquisition method, video acquisition equipment and video acquisition system |
US20140380163A1 (en) * | 2012-06-11 | 2014-12-25 | Huawei Technologies Co., Ltd. | Video Obtaining Method, Device, and System |
CN105472313A (en) * | 2014-08-29 | 2016-04-06 | 霍尼韦尔国际公司 | A method for displaying a plurality of devices on an electronic map in a monitoring system |
CN106331633A (en) * | 2016-08-30 | 2017-01-11 | 长威信息科技发展股份有限公司 | Method and system for displaying and quickly accessing a variety of monitoring resources |
CN107562895A (en) * | 2017-09-06 | 2018-01-09 | 上海享骑电动车服务有限公司 | Geography fence |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115086620A (en) * | 2022-08-15 | 2022-09-20 | 广州市华达石化有限公司 | Remote video monitoring method and electronic equipment for industrial gas production enterprise |
CN115086620B (en) * | 2022-08-15 | 2022-11-15 | 广州市华达石化有限公司 | Remote video monitoring method and electronic equipment for industrial gas production enterprise |
Also Published As
Publication number | Publication date |
---|---|
CN112346607B (en) | 2022-10-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20230016568A1 (en) | Scenario recreation through object detection and 3d visualization in a multi-sensor environment | |
US20190371055A1 (en) | 3d monitoring server using 3d bim object model and 3d monitoring system comprising it | |
US9798819B2 (en) | Selective map marker aggregation | |
US20150347478A1 (en) | Systems and methods for context-aware and personalized access to visualizations of road events | |
CN110516014B (en) | Method for mapping urban road monitoring video to two-dimensional map | |
US20090183083A1 (en) | Method and system for displaying information on a map | |
KR20140123019A (en) | Visual representation of map navigation history | |
WO2014082407A1 (en) | Method and system for displaying video monitoring image | |
KR101876114B1 (en) | Terminal, server, system for 3d modeling and 3d modeling method using the same | |
WO2021077607A1 (en) | Data processing method and apparatus | |
CN104834711A (en) | Location-based data service apparatus and method | |
CN103927934A (en) | Closed fence drawing method and system | |
US20220044558A1 (en) | Method and device for generating a digital representation of traffic on a road | |
US10783687B2 (en) | Efficient duplicate label handling | |
CN110855950A (en) | GIS video monitoring platform and GIS-based video monitoring system and method | |
CN110914870A (en) | Annotation generation for image networks | |
CN112346607B (en) | Monitoring camera map spot overlapping display optimization method | |
CN112256819A (en) | Data processing method and device based on monitoring map and readable storage medium | |
CN111339600B (en) | Layered household three-dimensional display method and system in building tilt model and storage medium | |
CN115265520A (en) | Intelligent operation equipment and mapping method, device and storage medium thereof | |
CN115077540A (en) | Map construction method and device | |
US10460495B1 (en) | Efficient label insertion and collision handling | |
CN114140592A (en) | High-precision map generation method, device, equipment, medium and automatic driving vehicle | |
EP3580690B1 (en) | Bayesian methodology for geospatial object/characteristic detection | |
WO2023116359A1 (en) | Method, apparatus and system for classifying green, blue and gray infrastructures, and medium |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |