CN112346607B - Monitoring camera map spot overlapping display optimization method - Google Patents

Monitoring camera map spot overlapping display optimization method Download PDF

Info

Publication number
CN112346607B
CN112346607B CN201910725236.4A CN201910725236A CN112346607B CN 112346607 B CN112346607 B CN 112346607B CN 201910725236 A CN201910725236 A CN 201910725236A CN 112346607 B CN112346607 B CN 112346607B
Authority
CN
China
Prior art keywords
camera
rectangle
node
monitoring camera
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.)
Active
Application number
CN201910725236.4A
Other languages
Chinese (zh)
Other versions
CN112346607A (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.)
CSSC Systems Engineering Research Institute
Original Assignee
CSSC Systems Engineering Research Institute
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 CSSC Systems Engineering Research Institute filed Critical CSSC Systems Engineering Research Institute
Priority to CN201910725236.4A priority Critical patent/CN112346607B/en
Publication of CN112346607A publication Critical patent/CN112346607A/en
Application granted granted Critical
Publication of CN112346607B publication Critical patent/CN112346607B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction 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/04817Interaction 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • H04N7/181Closed-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 the camera icon in a new interface; and (4) 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

Monitoring camera map spot overlapping display optimization method
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 existing 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-locating elements, the police elements can be displayed on the electronic map in a superposition manner to assist users to directly know the distribution situation of the element positions, and meanwhile, the users can directly click corresponding elements on the electronic map to perform related operations, such as directly clicking the icon of the surveillance camera to call 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 coordinates (phi) of the top left corner and the bottom right corner of the rectangle r are determined by the space geometric relationship 11 ) And (phi) 22 )。
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 monitoring camera information meeting the conditions, popping up a new display interface window, and shooting each monitoring cameraThe head is mapped to the position designated by the new display interface window according to the longitude and latitude coordinates
Figure BDA0002158695250000021
And 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 monitoring camera map, which comprises the steps of constructing a rectangle to acquire the monitoring camera positioned in the range of the rectangle through space query when a user clicks a specified point on the map, and then marking a monitoring camera icon according to the relative position of the camera in a new display interface (a window which is not displayed by taking an electronic map as a base map), thereby distinguishing the monitoring cameras which are overlapped and displayed together on the electronic map.
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. For the R tree structure formed by the camera information, the R tree structure 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 conducted, monitoring camera information located in the rectangular area is inquired, meanwhile, a new display interface is created, and the marking camera icons are displayed on the interface in an overlapped mode according to the relative position between the cameras, so that the marking camera icons cannot be displayed in an overlapped mode. The specific process is as follows:
(1) Constructing a spatial query rectangle according to the user click position: a user clicks an electronic map, records longitude and latitude points of a user clicking position, constructs a rectangle r with the length and the width of a and b by taking the user clicking position as a central point, the value of a and b is usually not more than 20 m, and determines vertex coordinates (phi) of the upper left corner and the lower right corner of the rectangle r according to a space geometric relationship 11 ) And (phi) 22 );
(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 camera
Figure BDA0002158695250000041
Displaying a camera icon;
(4) Responding to the user operation to play the video: the user clicks a camera icon in a new display interface, a video stream request is initiated 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 the video server returns a real-time code stream of the camera and plays a real-time monitoring picture.

Claims (1)

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 the camera icon in a new interface;
(4) Responding to user operation to play 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 coordinates (phi) of the top left corner and the bottom right corner of the rectangle r are determined by the space geometric relationship 11 ) And (phi) 22 );
The step (2) comprises the steps of carrying out spatial range query, and recursively searching rectangles positioned in the coverage range of the rectangle r from the root node of the tree structure;
if the node n is a leaf node and the minimum boundary rectangle of the node n is overlapped with the rectangle r, traversing each monitoring camera tuple information stored in the node n, 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;
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, repeating the searching process for each sub-node of the node n;
the step (3) comprises 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 camera
Figure FDA0003801936830000011
Displaying a camera icon;
the step (4) comprises that a user clicks a camera icon in a new display interface, a video stream request is sent to a video server according to the camera information, the video server returns the real-time code stream of the camera, and a real-time monitoring picture is played;
the width and the height of the interface window in the step (3) are respectively w pixels and h pixels;
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).
CN201910725236.4A 2019-08-07 2019-08-07 Monitoring camera map spot overlapping display optimization method Active CN112346607B (en)

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 CN112346607A (en) 2021-02-09
CN112346607B true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115086620B (en) * 2022-08-15 2022-11-15 广州市华达石化有限公司 Remote video monitoring method and electronic equipment for industrial gas production enterprise

Citations (4)

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

Patent Citations (4)

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

Also Published As

Publication number Publication date
CN112346607A (en) 2021-02-09

Similar Documents

Publication Publication Date Title
US11443555B2 (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
WO2014082407A1 (en) Method and system for displaying video monitoring image
US8913083B1 (en) System and method of generating a view for a point of interest
KR20140123019A (en) Visual representation of map navigation history
US20160037356A1 (en) Network planning tool support for 3d data
CN105025255B (en) A kind of city management processing system for video and method of work
CN106679665A (en) Route planning method and route planning device
KR101876114B1 (en) Terminal, server, system for 3d modeling and 3d modeling method using the same
JP5696996B2 (en) Image display system
WO2021077607A1 (en) Data processing method and apparatus
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
CN112346607B (en) Monitoring camera map spot overlapping display optimization method
CN111339600B (en) Layered household three-dimensional display method and system in building tilt model and storage medium
CN112434846A (en) Method and apparatus for optimizing camera deployment
CN115265520A (en) Intelligent operation equipment and mapping method, device and storage medium thereof
JP4376340B2 (en) Curve slider device
CN108388636B (en) Streetscape method for retrieving image and device based on adaptive segmentation minimum circumscribed rectangle

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