CN108369602A - The spatial display method and device of monitoring device - Google Patents

The spatial display method and device of monitoring device Download PDF

Info

Publication number
CN108369602A
CN108369602A CN201780002698.2A CN201780002698A CN108369602A CN 108369602 A CN108369602 A CN 108369602A CN 201780002698 A CN201780002698 A CN 201780002698A CN 108369602 A CN108369602 A CN 108369602A
Authority
CN
China
Prior art keywords
picture
target
screen
target monitoring
display
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
Application number
CN201780002698.2A
Other languages
Chinese (zh)
Other versions
CN108369602B (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.)
Shenzhen ZTE Netview Technology Co Ltd
Original Assignee
Shenzhen ZTE Netview Technology Co Ltd
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 Shenzhen ZTE Netview Technology Co Ltd filed Critical Shenzhen ZTE Netview Technology Co Ltd
Publication of CN108369602A publication Critical patent/CN108369602A/en
Application granted granted Critical
Publication of CN108369602B publication Critical patent/CN108369602B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/40Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
    • G06F16/44Browsing; Visualisation therefor
    • G06F16/444Spatial browsing, e.g. 2D maps, 3D or virtual spaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • 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

Abstract

A kind of spatial display method and device of monitoring device provided by the invention, belongs to monitoring display technology field.This method includes:Simultaneously current interface of the display target monitoring device residing for screen is cut, and generates cutting picture;In cutting picture, the elements of a fix of target monitoring equipment are calculated;Picture and the elements of a fix are cut by operation, calculates the position coordinates of target monitoring equipment relative screen;The circuit of file generated and the screen line drawn by the operation of input equipment according to the map calculate the opposite position coordinates for cutting picture of target monitoring equipment, with display target monitoring device space geographical location.The spatial display method and device of the monitoring device of the present invention can accurately show the spatial position of unit, and follow the display roaming, amplification, reduction operation of the smooth operation of mouse, and can reduce the erection difficulty of GIS monitoring systems and set up expense.

Description

The spatial display method and device of monitoring device
Technical field
The present invention relates to monitoring display technology field more particularly to a kind of spatial display method and devices of monitoring device.
Background technology
In monitoring trade, the geospatial information of equipment is typically to pass through GIS-Geographic Information System (Geography Information System, GIS) intuitively show.The general data sources of GIS mainly have control measure measured data, The digitlization of existing paper map, existing space data file or database, remote sensing image, statistical data etc..
Currently, applications of the GIS in monitor supervision platform be there are mainly two types of mode, one is using as GoogleMap, Map Services application programming interface (the Application of the offers such as MapABC, MapBar, SougouMap Programming Interface, API);Another is then purchase or obtains required data from other channels, is based on this A little data are realized using third-party GIS foundation platform and are applied.For the first realization, need to network online;Second real It is existing, it can realize the application of higher level, but basic data source is more, along with standard differs, data volume is huge, will In these data integrations to same foundation map, processing and integrated process need to pay sizable cost.In addition, due to very Either building are all without geographical measurement data only internal planning chart or design drawing, it is difficult to intuitively exist for more gardens The geographical location of monitoring device is immediately seen in space.
Invention content
It is a primary object of the present invention to propose a kind of spatial display method and device of monitoring device, planning can be realized The combined operation of figure brings the possibility of intuitive presentation device to the user that can not set up GIS-Geographic Information System.
To achieve the above object, the present invention provides a kind of spatial display method of monitoring device, the method includes:It cuts And current interface of the display target monitoring device residing for screen, and generate cutting picture;In the cutting picture, institute is calculated State the elements of a fix of target monitoring equipment;By operating the cutting picture and the elements of a fix, the target prison is calculated Control the position coordinates of equipment relative screen;According to the map the circuit of file generated and by input equipment operation draw Screen line calculates the relatively described position coordinates for cutting picture of the target monitoring equipment, to show the target monitoring equipment Geographical location in space.
Optionally, simultaneously current interface of the display target monitoring device residing for screen is cut described, and generates cutting figure Before piece, the method further includes:Import the map file;Target Photo, the target are searched from the map file Picture includes target monitoring equipment.
Optionally, described to cut simultaneously current interface of the display target monitoring device residing for screen, and cutting picture is generated, Including:Obtain the level of zoom of Target Photo and the central point relative coordinate of Target Photo;According to the level of zoom, meter Calculate the size of the rectangle display box of current screen;To the target figure in the central point relative coordinate position of the Target Photo Piece is cut according to the size of the rectangle display box, is generated and is cut picture;The cutting picture is replicated, and is shown part is replicated Show to current interface.
Optionally, the position coordinates of the target monitoring equipment relative screen sanction opposite with the target monitoring equipment It cuts and meets following formula between the position coordinates of picture:
Xzoom=ViewSize.Width ÷ CurrImageSize.Width;
Yzoom=ViewSize.Height ÷ CurrImageSize.Height;
Location (X, Y)=(layerLocation.X-imageLocation.X) × xzoom, (layerLocation.Y-imageLocation.Y)×yzoom;
Wherein, ViewSize is the size of display area, and CurrImageSize is the size for cutting picture, Location (X, Y) is the position coordinates of the target monitoring equipment relative screen, and imageLocation (X, Y) is the upper left for cutting picture Angular coordinate, layerLocation (X, Y) are coordinate of the target monitoring equipment with respect to picture.
Optionally, the method further includes:The business operating instructions of user terminal are responded, and feedback operation result is to screen Interface.
In addition, to achieve the above object, the present invention also provides a kind of spatial display device of monitoring device, described device packets It includes:Picture cuts display module, is set as cutting simultaneously current interface of the display target monitoring device residing for screen, and generate sanction Cut picture;First computing module is set as in the cutting picture, calculates the elements of a fix of the target monitoring equipment;The Two computing modules are set as, by operating the cutting picture and the elements of a fix, calculating the target monitoring equipment phase To the position coordinates of screen;Third computing module is set as the circuit of file generated according to the map and by input equipment The screen line drawn is operated, the relatively described position coordinates for cutting picture of the target monitoring equipment are calculated, to show the mesh Geographical location of the mark monitoring device in space.
Optionally, described device further includes:Import modul is set as importing the map file;Picture searching module, if It is set to from the map file and searches Target Photo, the Target Photo includes target monitoring equipment.
Optionally, the picture cutting display module includes:Acquiring unit is set as obtaining the zoom-level of Target Photo Not and the central point relative coordinate of Target Photo;Computing unit is set as, according to the level of zoom, calculating current screen Rectangle display box size;Unit is cut, is set as in the central point relative coordinate position of the Target Photo to described Target Photo is cut according to the size of the rectangle display box, is generated and is cut picture;Display unit is set as described in duplication Picture is cut, and is shown part is replicated to current interface.
Optionally, the position coordinates for the target monitoring equipment relative screen that second computing unit calculates with it is above-mentioned Meet following formula between the relatively described position coordinates for cutting picture of the target monitoring equipment that third computing unit calculates:
Xzoom=ViewSize.Width ÷ CurrImageSize.Width;
Yzoom=ViewSize.Height ÷ CurrImageSize.Height;
Location (X, Y)=(layerLocation.X-imageLocation.X) × xzoom, (layerLocation.Y-imageLocation.Y)×yzoom;
Wherein, ViewSize is the size of display area, and CurrImageSize is the size for cutting picture, Location (X, Y) is the position coordinates of the target monitoring equipment relative screen, and imageLocation (X, Y) is the upper left for cutting picture Angular coordinate, layerLocation (X, Y) are coordinate of the target monitoring equipment with respect to picture.
Optionally, wherein described device further includes:Execution module is set as the business operating instructions of response user terminal, and Feedback operation result is to the interface of screen.
The spatial display method and device of monitoring device proposed by the present invention cuts and shows by operating Target Photo Current interface of the target monitoring equipment residing for screen calculates target monitoring equipment to generate cutting picture in cutting picture The elements of a fix, according to operation cut picture and the elements of a fix calculate target monitoring equipment relative screen position coordinates and The opposite position coordinates for cutting picture can accurately show equipment with display target monitoring device in the geographical location in space The spatial position of unit, and the display roaming, amplification, reduction operation of the smooth operation of mouse are followed, and GIS monitoring can be reduced The erection difficulty and erection expense of system.
Description of the drawings
Fig. 1 is the flow diagram of the spatial display method for the monitoring device that present pre-ferred embodiments provide;
Fig. 2 is the sub-process schematic diagram of the spatial display method for the monitoring device that present pre-ferred embodiments provide;
Fig. 3 is the module diagram of the spatial display device for the monitoring device that present pre-ferred embodiments provide;
Fig. 4 is the module diagram of the picture cutting display module in Fig. 3.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific implementation mode
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached The embodiment of figure description is exemplary, it is intended to is set as explaining the present invention, and is not considered as limiting the invention.
Fig. 1 is please referred to, is the flow diagram of the spatial display method for the monitoring device that present pre-ferred embodiments provide, The method includes the steps:
Step 110, map file is imported.
Specifically, the map file in the present embodiment includes Garden Planning figure, building construction figure or satellite image map.
Optionally, it imports before map file, can first be searched whether in local file in the presence of the map file needed, If not finding, 110 are entered step, if finding, can be omitted step 110.
Step 120, Target Photo is searched from the map file, the Target Photo includes target monitoring equipment.
Optionally, according to operational order, map file execution is correspondingly operated, to find target monitoring equipment. Operational order includes:The operations such as amplification, diminution, roaming.
Step 130, it when operating the Target Photo, cuts and shows target monitoring equipment the working as residing for screen Front interface, and generate cutting picture.
Specifically, Fig. 2 is please referred to, step 130 further comprises:
Step 210, the level of zoom of Target Photo and the central point relative coordinate of Target Photo are obtained.
Specifically, the level of zoom in operational order is obtained according to the rotating direction of input equipment.Specifically, level of zoom (ZoomLevel) size is calculated using formula (2).
N=Mousewheel/120 formula (1)
ZoomLevel=N>01.1n×ZoomLevel:ZoomLevel ÷ 1.1n formula (2)
Wherein, Monsewheel is mouse roller value.If the idler wheel of mouse is rolled along a first direction, idler wheel Value is positive number, and N is positive number;If the idler wheel of mouse is rolled along the second direction opposite with first direction, idler wheel value For negative, N is negative.That is, when idler wheel is positive direction, level of zoom multiplies the n times in 1.1 equal to current zoom rank Side, when idler wheel is negative direction, level of zoom is equal to current zoom rank and removes in 1.1 Nth power.
Step 220, according to the level of zoom, the size of the rectangle display box of current screen is calculated.
Specifically, the size of rectangle display box (CurrImageSize) is calculated using formula (3).
CurrImageSize=(ImgSrcSize.X ÷ ZoomLevel, ImgSrcSize.Y ÷ ZoomLeve) formula (3)
Wherein, ZoomLevel is the magnification level under current operation, and ImgSrcSize is the picture size imported.
Step 230, in the central point relative coordinate position of the Target Photo to the Target Photo according to the square The size of shape display box is cut, and is generated and is cut picture.
Specifically, if only generating first according to rectangle display box cuts picture, the size and square of picture are cut for the first time Shape display box it is equal in magnitude.If being cut to the first cutting picture, when generating the second cutting picture, then second picture is cut (rectangle) size is calculated using formula (6).
ImageLocation.X=(OldImage.Width-CurrImageSize.Width) ÷ 2+ ImageLocation.X formula (4)
ImageLocation.Y=(OldImage.Height-CurrImageSize.Height) ÷ 2+ ImageLocation.Y formula (5)
Rectangle=(imageLocation, CurrImageSize) formula (6)
Wherein, OldImage is the first size for cutting picture, and CurrImageSize is the size of current clipping region, LocationPoint is the top left co-ordinate of current clipping region.
Step 240, the cutting picture is replicated, and is shown part is replicated to current interface.
Step 140, in the cutting picture, the elements of a fix of the target monitoring equipment are calculated.
Specifically, according to the level of zoom of picture and central point relative coordinate, the position that target monitoring equipment navigates to is calculated The elements of a fix set, and coordinate is saved in database.
Further, before the elements of a fix are saved in database together, the target monitoring equipment is configured on map Icon, name and the state of display, which change, needs icon to be shown.
Further, when equipment is located in building, then target monitoring equipment is determined according to building switching planning chart Position.
Step 150, by operating the cutting picture and the elements of a fix, the target monitoring equipment phase is calculated To the position coordinates of screen.
Specifically, by the operations such as being amplified, reducing to cutting picture, the target monitoring equipment is moved in the screen The position of curtain, and according to the elements of a fix, calculate position coordinates of the target monitoring equipment relative to screen.
More specifically, the position coordinates of target monitoring equipment relative screen are calculated using formula (9).
Xzoom=ViewSize.Width ÷ CurrImageSize.Width formula (7)
Yzoom=ViewSize.Height ÷ CurrImageSize.Height formula (8)
Location (X, Y)=(layerLocation.X-imageLocation.X) × xzoom, (layerLocation.Y-imageLocation.Y) × yzoom formula (9)
Wherein, ViewSize is the size of display area, and CurrImageSize is the size for cutting picture, ImageLocation is the top left co-ordinate for cutting picture, and layerLocation is seat of the target monitoring equipment with respect to picture Mark.
Step 160, the circuit generated according to the map file and the screen of the operation drafting by input equipment Line calculates the relatively described position coordinates for cutting picture of the target monitoring equipment, to show the target monitoring equipment in sky Between geographical location.
Specifically, public affairs may be used in the opposite position coordinates layerLocation (X, Y) for cutting picture of target monitoring equipment Formula (10) is calculated.
LayerLocation (X, Y)=(location.X ÷ xzoom+imageLocation.X, location.Y ÷ Yzoom+imageLocation.Y) formula (10)
Wherein, location is the position coordinates of relative screen, and imageLocation is the upper left corner seat for cutting picture Mark.
In the present embodiment, the input equipment can be mouse.
For example, when carrying out the business such as perambulatory route planning, guard's route planning, screen line is drawn by the operation of mouse Road cuts Picture Coordinate relatively according to circuit point set, and by calculating monitoring device, converts point set to opposite cutting figure Piece coordinate set, by line memory to database.
Class business is calculated when being related to space, such as apart from nearest monitoring point, basic space computing unit can be according to phase Distance operation is done to Picture Coordinate.Under current magnification level and cutting position, opposite Picture Coordinate calculates, wherein LayerLocation is equipment with respect to coordinates of icon, and location is with respect to display area screen coordinate, and computational methods are as follows:
Pointx=location.X/xzoom+imageLocation.X;
Pointy=location.Y/yzoom+imageLocation.Y.
Step 170, the business operating instructions of user terminal are responded, and feedback operation result is to the interface of screen.
The spatial display method of monitoring device provided in this embodiment, the mesh related with space-time that safety-security area is related to Mark includes the GIS map element of Drawing Object and attribute in conjunction with formation, and in the form of data layer according to opposite Picture Coordinate Spatial database is included in be managed collectively.It may include one or more safety-security area dedicated service figure layers, and figure layer includes one List of elements, an element indicate a target, are collectively formed by Drawing Object and an attribute record.Drawing Object usually by Basic point (such as video camera), line (such as vehicle running orbit), face (switching map) are constituted, and attribute list stores the attached of the target Belong to information (number, title, type and the other attributes of such as video camera), Drawing Object and attribute list record row pass through unique Identification number is associated with, and realizes that spatial information and the mutual of attribute list are looked into this, and map is by showing different element pictures to open up Show equipment different conditions, such as access control, the alarm of camera.
Example one chooses the camera in point-type business interface, by mouse-click or double-clicks camera, makes camera Into line flicker.
Example two chooses the line of vehicle running orbit in line style business, and the line chosen will produce the change of color.
Example three selects the building map in mesoprosopy business, the map chosen that can switch over.
Example four, can be according to opposite cutting picture such as apart from nearest monitoring point when being related to space calculating class business Coordinate does distance operation.
The spatial display method of the monitoring device of the present embodiment cuts by operating Target Photo and display target is supervised Current interface of the equipment residing for screen is controlled, to generate cutting picture, the positioning of target monitoring equipment is calculated in cutting picture Coordinate cuts picture according to operation and the elements of a fix calculates the position coordinates of target monitoring equipment relative screen and opposite sanction The position coordinates for cutting picture, with display target monitoring device in the geographical location in space, so as to accurately show tables of equipment The spatial position of member, and the display roaming, amplification, reduction operation of the smooth operation of mouse are followed, and GIS monitoring system can be reduced The erection difficulty and erection expense of system.
Fig. 3 is please referred to, another preferred embodiment of the present invention additionally provides a kind of spatial display device of monitoring device, the dress Set including:
Import modul 310 is set as importing map file.
Specifically, the map file in the present embodiment includes Garden Planning figure, building construction figure or satellite image map.
Optionally, before import modul 310 imports map file, can first search whether to exist in local file needs The map file wanted triggers import modul 310 if not finding, if finding, without triggering import modul 310.
Picture searching module 320 is set as searching Target Photo from the map file, and the Target Photo includes mesh Mark monitoring device.
Optionally, according to operational order, picture searching module 320 correspondingly operates map file execution, to look for To target monitoring equipment.Operational order includes:The operations such as amplification, diminution, roaming.
Picture cuts display module 330, is set as, when operating the Target Photo, cutting and showing the target monitoring Current interface of the equipment residing for screen, and generate cutting picture.
Specifically, Fig. 4 is please referred to, picture cuts display module 330 and further comprises:
Acquiring unit 410 is set as obtaining the opposite seat of central point of the level of zoom of Target Photo and Target Photo Mark.
Specifically, acquiring unit 410 obtains the level of zoom in operational order according to the rotating direction of input equipment.Specifically The size on ground, level of zoom (ZoomLevel) is calculated using formula (2).
N=Mousewheel/120 formula (1)
ZoomLevel=N>01.1n×ZoomLevel:ZoomLevel ÷ 1.1n formula (2)
Wherein, Monsewheel is mouse roller value.If the idler wheel of mouse is rolled along a first direction, idler wheel Value is positive number, and N is positive number;If the idler wheel of mouse is rolled along the second direction opposite with first direction, idler wheel value For negative, N is negative.That is, when idler wheel is positive direction, level of zoom multiplies the n times in 1.1 equal to current zoom rank Side, when idler wheel is negative direction, level of zoom is equal to current zoom rank and removes in 1.1 Nth power.
Computing unit 420 is set as calculating the size of the rectangle display box of current screen according to the level of zoom.
Specifically, the size of rectangle display box (CurrImageSize) is calculated using formula (3).
CurrImageSize=(ImgSrcSize.X ÷ ZoomLevel, ImgSrcSize.Y ÷ ZoomLeve) formula (3)
Wherein, ZoomLevel is the magnification level under current operation, and ImgSrcSize is the picture size imported.
Unit 430 is cut, is set as in the central point relative coordinate position of the Target Photo to the Target Photo It is cut according to the size of the rectangle display box, generates and cut picture.
Specifically, it if only generating first according to rectangle display box cuts picture, cuts unit 430 and cuts picture for the first time Size and rectangle display box it is equal in magnitude.If being cut to the first cutting picture, when generating the second cutting picture, then cut out The size for cutting the cutting picture of unit 430 second (rectangle) is calculated using formula (6).
ImageLocation.X=(OldImage.Width-CurrImageSize.Width) ÷ 2+ ImageLocation.X formula (4)
ImageLocation.Y=(OldImage.Height-CurrImageSize.Height) ÷ 2+ ImageLocation.Y formula (5)
Rectangle=(imageLocation, CurrImageSize) formula (6)
Wherein, OldImage is the first size for cutting picture, and CurrImageSize is the size of current clipping region, LocationPoint is the top left co-ordinate of current clipping region.
Display unit 440 is set as replicating the cutting picture, and is shown part is replicated to current interface.
First computing device 340 is set as in the cutting picture, and the positioning for calculating the target monitoring equipment is sat Mark.
Specifically, according to the level of zoom of picture and central point relative coordinate, the first computing device 340 calculates target monitoring The elements of a fix for the position that equipment navigates to, and coordinate is saved in database.
Further, before the elements of a fix are saved in database together, the target monitoring equipment is configured on map Icon, name and the state of display, which change, needs icon to be shown.
Further, when equipment is located in building, then the first computing device 340 switches planning chart to target according to building Monitoring device is positioned.
Second computing device 350 is set as by operating the cutting picture and the elements of a fix, described in calculating The position coordinates of target monitoring equipment relative screen.
Specifically, by the operations such as being amplified, reducing to cutting picture, the target monitoring equipment is moved in the screen The position of curtain, and according to the elements of a fix, the second computing device 350 calculates position coordinates of the target monitoring equipment relative to screen.
More specifically, the position coordinates of target monitoring equipment relative screen are calculated using formula (9).
Xzoom=ViewSize.Width ÷ CurrImageSize.Width formula (7)
Yzoom=ViewSize.Height ÷ CurrImageSize.Height formula (8)
Location (X, Y)=(layerLocation.X-imageLocation.X) × xzoom, (layerLocation.Y-imageLocation.Y) × yzoom formula (9)
Wherein, ViewSize is the size of display area, and CurrImageSize is the size for cutting picture, ImageLocation is the top left co-ordinate for cutting picture, and layerLocation is seat of the target monitoring equipment with respect to picture Mark.
Third computing device 360 is set as the circuit generated according to the map file and by the behaviour of input equipment Make the screen line drawn, the relatively described position coordinates for cutting picture of the target monitoring equipment is calculated, to show the target Geographical location of the monitoring device in space.
Specifically, public affairs may be used in the opposite position coordinates layerLocation (X, Y) for cutting picture of target monitoring equipment Formula (10) is calculated.
LayerLocation (X, Y)=(location.X ÷ xzoom+imageLocation.X, location.Y ÷ Yzoom+imageLocation.Y) formula (10)
Wherein, location is the position coordinates of relative screen, and imageLocation is the upper left corner seat for cutting picture Mark.
In the present embodiment, the input equipment can be mouse.
For example, when carrying out the business such as perambulatory route planning, guard's route planning, screen line is drawn by the operation of mouse Road cuts Picture Coordinate relatively according to circuit point set, and by calculating monitoring device, converts point set to opposite cutting figure Piece coordinate set, by line memory to database.
Class business is calculated when being related to space, such as apart from nearest monitoring point, basic space computing unit can be according to phase Distance operation is done to Picture Coordinate.Under current magnification level and cutting position, opposite Picture Coordinate calculates, wherein LayerLocation is equipment with respect to coordinates of icon, and location is with respect to display area screen coordinate, and computational methods are as follows:
Pointx=location.X/xzoom+imageLocation.X;
Pointy=location.Y/yzoom+imageLocation.Y.
Execution module 370 is set as the business operating instructions of response user terminal, and feedback operation result is to the boundary of screen Face.
The spatial display device of monitoring device provided in this embodiment, the mesh related with space-time that safety-security area is related to Mark includes the GIS map element of Drawing Object and attribute in conjunction with formation, and in the form of data layer according to opposite Picture Coordinate Spatial database is included in be managed collectively.It may include one or more safety-security area dedicated service figure layers, and figure layer includes one List of elements, an element indicate a target, are collectively formed by Drawing Object and an attribute record.Drawing Object usually by Basic point (such as video camera), line (such as vehicle running orbit), face (switching map) are constituted, and attribute list stores the attached of the target Belong to information (number, title, type and the other attributes of such as video camera), Drawing Object and attribute list record row pass through unique Identification number is associated with, and realizes that spatial information and the mutual of attribute list are looked into this, and map is by showing different element pictures to open up Show equipment different conditions, such as access control, the alarm of camera.
Example one chooses the camera in point-type business interface, by mouse-click or double-clicks camera, makes camera Into line flicker.
Example two chooses the line of vehicle running orbit in line style business, and the line chosen will produce the change of color.
Example three selects the building map in mesoprosopy business, the map chosen that can switch over.
Example four, can be according to opposite cutting picture such as apart from nearest monitoring point when being related to space calculating class business Coordinate does distance operation.
The spatial display device of the monitoring device of the present embodiment, by operating Target Photo, picture cuts display module 330 cut simultaneously current interface of the display target monitoring device residing for screen, to generate cutting picture, the first computing module 340 The elements of a fix of target monitoring equipment are calculated in cutting picture, the second computing module 350 cuts picture according to operation and determines Position coordinate calculates the position coordinates of target monitoring equipment relative screen and third computing module 360 calculates target monitoring equipment The opposite position coordinates for cutting picture, with display target monitoring device in the geographical location in space, so as to accurately show The spatial position of unit, and the display roaming, amplification, reduction operation of the smooth operation of mouse are followed, and GIS can be reduced The erection difficulty and erection expense of monitoring system.
It should be noted that herein, term " comprising " or its any other variant are intended to nonexcludability Including so that process, method, article or device including a series of elements include not only those elements, but also wrap Include other elements that are not explicitly listed, or further include for this process, method, article or device intrinsic want Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including the element Process, method, there is also other identical elements in article or device.
The embodiments of the present invention are for illustration only, can not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art Going out the part of contribution can be expressed in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal equipment (can be mobile phone, computer, clothes Be engaged in device, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
It these are only the preferred embodiment of the present invention, be not intended to limit the scope of the invention, it is every to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.
Industrial applicibility
The spatial display method and device of monitoring device proposed by the present invention cuts and shows by operating Target Photo Current interface of the target monitoring equipment residing for screen calculates target monitoring equipment to generate cutting picture in cutting picture The elements of a fix, according to operation cut picture and the elements of a fix calculate target monitoring equipment relative screen position coordinates and The opposite position coordinates for cutting picture can accurately show equipment with display target monitoring device in the geographical location in space The spatial position of unit, and the display roaming, amplification, reduction operation of the smooth operation of mouse are followed, and GIS monitoring can be reduced The erection difficulty and erection expense of system.

Claims (10)

1. a kind of spatial display method of monitoring device, the method includes:
Simultaneously current interface of the display target monitoring device residing for screen is cut, and generates cutting picture;
In the cutting picture, the elements of a fix of the target monitoring equipment are calculated;
By operating the cutting picture and the elements of a fix, the position of the target monitoring equipment relative screen is calculated Coordinate;
The circuit of file generated and the screen line drawn by the operation of input equipment according to the map calculate the target prison Control equipment relatively it is described cut picture position coordinates, with show the target monitoring equipment space geographical location.
2. the spatial display method of monitoring device according to claim 1, wherein cut simultaneously display target monitoring described Current interface of the equipment residing for screen, and generate before cutting picture, the method further includes:
Import the map file;
Target Photo is searched from the map file, the Target Photo includes target monitoring equipment.
3. the spatial display method of monitoring device according to claim 2, wherein simultaneously display target monitoring is set for the cutting The standby current interface residing for screen, and cutting picture is generated, including:
Obtain the level of zoom of Target Photo and the central point relative coordinate of Target Photo;
According to the level of zoom, the size of the rectangle display box of current screen is calculated;
To the Target Photo according to the big of the rectangle display box in the central point relative coordinate position of the Target Photo It is small to be cut, it generates and cuts picture;
The cutting picture is replicated, and is shown part is replicated to current interface.
4. the spatial display method of monitoring device according to claim 1, wherein the target monitoring equipment relative screen Position coordinates it is opposite with the target monitoring equipment it is described cut picture position coordinates between meet following formula:
Xzoom=ViewSize.Width ÷ CurrImageSize.Width;
Yzoom=ViewSize.Height ÷ CurrImageSize.Height;
Location (X, Y)=(layerLocation.X-imageLocation.X) × xzoom, (layerLocation.Y- imageLocation.Y)×yzoom;
Wherein, ViewSize is the size of display area, and CurrImageSize is the size for cutting picture, Location (X, Y) For the position coordinates of the target monitoring equipment relative screen, imageLocation (X, Y) is the upper left corner seat for cutting picture Mark, layerLocation (X, Y) are coordinate of the target monitoring equipment with respect to picture.
5. according to the spatial display method of claim 1-4 any one of them monitoring devices, wherein the method further includes: The business operating instructions of user terminal are responded, and feedback operation result is to the interface of screen.
6. a kind of spatial display device of monitoring device, described device include:
Picture cuts display module, is set as cutting simultaneously current interface of the display target monitoring device residing for screen, and generate Cut picture;
First computing module is set as in the cutting picture, calculates the elements of a fix of the target monitoring equipment;
Second computing module is set as, by operating the cutting picture and the elements of a fix, calculating the target monitoring The position coordinates of equipment relative screen;
Third computing module is set as the circuit of file generated according to the map and the screen of the operation drafting by input equipment Curtain line calculates the relatively described position coordinates for cutting picture of the target monitoring equipment, to show that the target monitoring equipment exists The geographical location in space.
7. the spatial display device of monitoring device according to claim 6, wherein described device further includes:
Import modul is set as importing the map file;
Picture searching module is set as searching Target Photo from the map file, and the Target Photo includes target monitoring Equipment.
8. the spatial display device of monitoring device according to claim 7, wherein the picture cuts display module packet It includes:
Acquiring unit is set as obtaining the level of zoom of Target Photo and the central point relative coordinate of Target Photo;
Computing unit is set as calculating the size of the rectangle display box of current screen according to the level of zoom;
Unit is cut, is set as in the central point relative coordinate position of the Target Photo to the Target Photo according to described The size of rectangle display box is cut, and is generated and is cut picture;
Display unit is set as replicating the cutting picture, and is shown part is replicated to current interface.
9. the spatial display device of monitoring device according to claim 6, wherein the institute that second computing unit calculates It states the position coordinates of target monitoring equipment relative screen and the target monitoring equipment that above-mentioned third computing unit calculates is opposite Meet following formula between the position coordinates for cutting picture:
Xzoom=ViewSize.Width ÷ CurrImageSize.Width;
Yzoom=ViewSize.Height ÷ CurrImageSize.Height;
Location (X, Y)=(layerLocation.X-imageLocation.X) × xzoom, (layerLocation.Y- imageLocation.Y)×yzoom;
Wherein, ViewSize is the size of display area, and CurrImageSize is the size for cutting picture, Location (X, Y) For the position coordinates of the target monitoring equipment relative screen, imageLocation (X, Y) is the upper left corner seat for cutting picture Mark, layerLocation (X, Y) are coordinate of the target monitoring equipment with respect to picture.
10. according to the spatial display device of claim 6-9 any one of them monitoring devices, wherein described device further includes:
Execution module is set as the business operating instructions of response user terminal, and feedback operation result is to the interface of screen.
CN201780002698.2A 2017-03-28 2017-03-08 Space display method and device of monitoring equipment Expired - Fee Related CN108369602B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/078369 WO2018176206A1 (en) 2017-03-28 2017-03-28 Spatial display method and apparatus for monitoring device

Publications (2)

Publication Number Publication Date
CN108369602A true CN108369602A (en) 2018-08-03
CN108369602B CN108369602B (en) 2021-09-21

Family

ID=63011410

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201780002698.2A Expired - Fee Related CN108369602B (en) 2017-03-28 2017-03-08 Space display method and device of monitoring equipment

Country Status (2)

Country Link
CN (1) CN108369602B (en)
WO (1) WO2018176206A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110381446A (en) * 2019-07-10 2019-10-25 宁夏仲检检测有限公司 A kind of sampler's motion profile method for tracing
CN110611787A (en) * 2019-06-10 2019-12-24 青岛海信电器股份有限公司 Display and image processing method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2504824A1 (en) * 2009-11-26 2012-10-03 Jabbakam Limited Surveillance system and method
CN104166943A (en) * 2014-07-04 2014-11-26 国家电网公司 Method and device for drawing cable line graph
CN105354326A (en) * 2015-11-26 2016-02-24 航天恒星科技有限公司 Spatial position indexing method and system
US20160191860A1 (en) * 2014-12-24 2016-06-30 Electronics And Telecommunications Research Institute Apparatus and method for displaying surveillance area of camera

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20120125037A (en) * 2011-05-06 2012-11-14 삼성테크윈 주식회사 Method for controlling surveillance system
CN102547128B (en) * 2012-02-02 2014-03-12 河南亚视软件技术有限公司 Intelligent monitoring method and application thereof
JP6639091B2 (en) * 2015-02-12 2020-02-05 キヤノン株式会社 Display control device and display control method
CN105245825A (en) * 2015-08-24 2016-01-13 国网上海市电力公司 Video monitoring method based on map positioning of transformer station
CN106027960B (en) * 2016-05-13 2019-03-26 深圳先进技术研究院 A kind of positioning system and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2504824A1 (en) * 2009-11-26 2012-10-03 Jabbakam Limited Surveillance system and method
CN104166943A (en) * 2014-07-04 2014-11-26 国家电网公司 Method and device for drawing cable line graph
US20160191860A1 (en) * 2014-12-24 2016-06-30 Electronics And Telecommunications Research Institute Apparatus and method for displaying surveillance area of camera
CN105354326A (en) * 2015-11-26 2016-02-24 航天恒星科技有限公司 Spatial position indexing method and system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110611787A (en) * 2019-06-10 2019-12-24 青岛海信电器股份有限公司 Display and image processing method
CN110611787B (en) * 2019-06-10 2021-05-28 海信视像科技股份有限公司 Display and image processing method
CN110381446A (en) * 2019-07-10 2019-10-25 宁夏仲检检测有限公司 A kind of sampler's motion profile method for tracing

Also Published As

Publication number Publication date
CN108369602B (en) 2021-09-21
WO2018176206A1 (en) 2018-10-04

Similar Documents

Publication Publication Date Title
Fan et al. Heterogeneous information fusion and visualization for a large-scale intelligent video surveillance system
CN102474293B (en) Portable terminal and the method for operating thereof of the environment of applicable current scene are provided
CN105302916A (en) Information recommendation method and device
CN103226729A (en) Virtual reality-based reservation method and system
CN105302893B (en) Pollution sources three-dimensional geographic information system
MX2009001952A (en) Filtering of data layered on mapping applications.
WO2011080385A1 (en) Method and apparatus for decluttering a mapping display
CN111753622A (en) Computer-implemented method, server, and medium for localization of indoor environment
US10846804B2 (en) Electronic business card exchange system and method using mobile terminal
US20140040829A1 (en) Determining active real objects for running a software application
CN112100408B (en) Historical entity data display method, device and equipment
CN101562823A (en) Cutting method, presentation method, device and wireless network geosystem of vector map
CN110278329B (en) Notification message management method and mobile terminal
CN108074009A (en) Motion route generation method and device, mobile terminal and server
US20220269701A1 (en) Method, apparatus, system and storage medium for data visualization
CN108369602A (en) The spatial display method and device of monitoring device
CN112068753A (en) Method and device for searching business object
CN113360792A (en) Information recommendation method and device, electronic equipment and storage medium
CN113535865A (en) Map grid dividing method and electronic equipment
CN104375991A (en) Image map-based urban monitoring system
CN106227514B (en) WebGIS middleware supporting multiple industries
CN104063113A (en) Set display and interaction method for location-related information in digital map
CN114625983B (en) House source information display method and device, electronic equipment and readable storage medium
CN116669039A (en) Application authority management method and device, electronic equipment and readable storage medium
CN112539752B (en) Indoor positioning method and indoor positioning device

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 518000 the six level of energy storage building 3099, Keyuan South Road, Nanshan District, Shenzhen, Guangdong.

Applicant after: SHENZHEN ZNV TECHNOLOGY Co.,Ltd.

Address before: 518000 the six level of energy storage building 3099, Keyuan South Road, Nanshan District, Shenzhen, Guangdong.

Applicant before: SHENZHEN ZNV TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20210921