WO2015131575A1 - 一种基于图层的处理方法及装置、计算机存储介质 - Google Patents

一种基于图层的处理方法及装置、计算机存储介质 Download PDF

Info

Publication number
WO2015131575A1
WO2015131575A1 PCT/CN2014/092491 CN2014092491W WO2015131575A1 WO 2015131575 A1 WO2015131575 A1 WO 2015131575A1 CN 2014092491 W CN2014092491 W CN 2014092491W WO 2015131575 A1 WO2015131575 A1 WO 2015131575A1
Authority
WO
WIPO (PCT)
Prior art keywords
layer
coordinates
gis
display object
network management
Prior art date
Application number
PCT/CN2014/092491
Other languages
English (en)
French (fr)
Inventor
王彬
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2015131575A1 publication Critical patent/WO2015131575A1/zh

Links

Images

Classifications

    • 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

Definitions

  • the present invention relates to a layer processing technology, and in particular, to a layer-based processing method and apparatus, and a computer storage medium.
  • the embodiments of the present invention provide:
  • a layer-based processing method including:
  • the first layer is a bottom layer, and the second layer is an upper layer;
  • the method further includes:
  • the position of the display object in the second layer is adjusted accordingly to adapt to the change of the first layer.
  • the change of the first layer comprises translation and/or scaling.
  • the position of the display object in the second layer is adjusted correspondingly to adapt to the change of the first layer, including:
  • the coordinate mapping is performed again, and the coordinates of the display object in the second layer are converted into screen coordinates and displayed.
  • the first layer is a GIS layer
  • the second layer is a network management layer
  • the display object in the second layer is a network management device.
  • the coordinate mapping is performed, and the coordinates of the display object in the second layer are converted into screen coordinates, including:
  • the method further includes:
  • the projected coordinates of the GIS layer are converted into latitude and longitude coordinates and saved.
  • the embodiment of the present invention further provides a layer-based processing device, where the device includes: an overlay module, a mapping module, and a display module;
  • the superimposing module is configured to superimpose the first layer and the second layer, wherein the first layer is an underlying layer, and the second layer is an upper layer;
  • the mapping module is configured to perform coordinate mapping, and convert coordinates of the display object in the second layer into screen coordinates
  • the display module is configured to display the first layer and the display object in the second layer.
  • the device further includes an adjustment module
  • the adjusting module is configured to adjust a position of the display object in the second layer to adapt to the change of the first layer when the first layer changes.
  • the adjustment module is configured to perform coordinate mapping again, converting coordinates of the display object in the second layer into screen coordinates and displaying the coordinates.
  • the first layer is a GIS layer
  • the second layer is a network management layer
  • the display object in the second layer is a network management device.
  • mapping module and/or the adjustment module are configured to:
  • the device further includes a coordinate storage module
  • the coordinate storage module is configured to acquire a current screen coordinate of the display object when the position of the display object in the second layer changes; convert the screen coordinate into a projection coordinate of the GIS layer; The projected coordinates of the layer are converted to latitude and longitude coordinates and saved.
  • Embodiments of the present invention also provide a computer storage medium having stored therein computer executable instructions for performing the methods described above.
  • the layer-based processing method and apparatus and the computer storage medium according to the embodiment of the present invention superimpose the first layer and the second layer, wherein the first layer is an underlying layer, and the second layer is an upper layer ; line coordinate mapping, the coordinates of the display object in the second layer are converted into screen coordinates and displayed.
  • the technical solution described in the embodiment of the invention can enrich the graphic display effect, improve the user experience, and is simple to implement and high in flexibility.
  • Figure 1 is a schematic diagram of a GIS graphic
  • FIG. 2 is a schematic diagram of a network tube drawing effect
  • 3 is a layer-based processing method according to an embodiment of the present invention.
  • FIG. 4 is still another layer-based processing method according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a layer-based processing apparatus according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of another layer-based processing apparatus according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of another layer-based processing apparatus according to an embodiment of the present invention.
  • FIG. 8 is a schematic flowchart of a layer-based processing method according to Embodiment 1 of the present invention.
  • Embodiment 9 is a schematic diagram of a layer superposition principle in Embodiment 1 of the present invention.
  • Embodiment 10 is a schematic diagram of a coordinate mapping principle in Embodiment 1 of the present invention.
  • FIG. 11 is a schematic diagram of a scene in which a GIS layer moves and a network management device does not move;
  • FIG. 12 is a schematic diagram of a scenario in which a GIS layer moves and a network management device changes correspondingly according to an embodiment of the present invention.
  • the method includes:
  • Step 31 superimposing the first layer and the second layer, the first layer is an underlying layer, and the second layer is an upper layer;
  • Step 32 Perform coordinate mapping, convert the coordinates of the display object in the second layer into screen coordinates and display.
  • the method further includes:
  • Step 33 When the first layer changes, adjust the position of the display object in the second layer to adapt to the change of the first layer.
  • the change of the first layer comprises translation and/or scaling.
  • the adjusting the position of the display object in the second layer to adapt to the change of the first layer including:
  • the coordinate mapping is performed again, and the coordinates of the display object in the second layer are converted into screen coordinates and displayed.
  • the first layer is a GIS layer
  • the second layer is a network management layer
  • the display object in the second layer is a network management device.
  • the interface drawn by the GIS is a GIS layer
  • the interface of the network element drawn by the network management is a network management layer
  • the performing coordinate mapping, converting coordinates of the display object in the second layer into screen coordinates includes:
  • the method further includes:
  • the projected coordinates of the GIS layer are converted into latitude and longitude coordinates and saved.
  • the embodiment of the present invention further provides a layer-based processing device, as shown in FIG. 5, the device includes: a superimposing module 51, a mapping module 52, and a display module 53;
  • the superimposing module 51 is configured to superimpose the first layer and the second layer, wherein the first layer is an underlying layer, and the second layer is an upper layer;
  • the mapping module 52 is configured to perform coordinate mapping, and convert coordinates of the display object in the second layer into screen coordinates
  • the display module 53 is configured to display the first layer and the display object in the second layer.
  • the apparatus further includes an adjustment module 54,
  • the adjusting module 54 is configured to adjust a position of the display object in the second layer to adapt to the change of the first layer when the first layer changes.
  • the adjusting module 54 is specifically configured to perform coordinate mapping again, and convert coordinates of the display object in the second layer into screen coordinates and display.
  • the first layer is a GIS layer
  • the second layer is a network management layer
  • the display object in the second layer is a network management device.
  • mapping module 52 and/or the adjustment module 54 are specifically configured to:
  • the apparatus further includes a coordinate storage module 55,
  • the coordinate storage module 55 is configured to acquire a current screen coordinate of the display object when the position of the display object in the second layer changes; convert the screen coordinate into a projected coordinate of the GIS layer; The projected coordinates of the GIS layer are converted to latitude and longitude coordinates and saved.
  • GIS software focuses on the processing related to geographic location information, and is also mainly rendered for geographic elements when drawing, such as location identification, route, and so on.
  • the performance of the network management is the most important.
  • the presentation of the alarm and the presentation of the state need to be known at a glance in the topology.
  • GIS has penetrated into all walks of life, and network management will gradually use many GIS functions to improve network management operability and ease of use. Since the GIS software itself has different concerns, the rich rendering effect of the network management and the powerful GIS function are combined in this embodiment, and the rendering effect of the GIS function is not missing and the network management is rich.
  • FIG. 8 is a schematic flowchart of a layer-based processing method according to Embodiment 1 of the present invention. As shown in FIG. 8, the process includes:
  • Step 801 Perform layer superposition.
  • the GIS layer and the network management layer can be combined in a layered manner.
  • the GIS layer belongs to the lowest part, and the network management layer is the operation element belonging to the upper layer.
  • the network management layer is the operation element belonging to the upper layer.
  • these two layers can be processed by layer overlay, but the two event processing of the two layers themselves still retain their own event processing logic.
  • the GIS layer is defined as the underlying layer on the WEB
  • the network management layer is defined as the upper layer
  • the network management layer is indicated as the transparent mode.
  • Use a total layer first overlay the GIS layer, then overlay the network management layer.
  • the GIS layer is provided by the GIS software
  • the network management layer is provided by the network management interface.
  • the two layers need to be coordinately aligned so that they can be truly superimposed.
  • the network management layer In order to align the GIS layer with the network management layer coordinate system, according to the actual use, the network management layer generally uses the latitude and longitude coordinate system, and the GIS layer can use the general projected coordinate system, but it is better to convert with the latitude and longitude coordinate system. Coordinate system (eg EPSG: 4326, EPSG: 3857).
  • Step 802 Perform coordinate mapping.
  • GIS maps have a variety of projection coordinates, and devices in the network management system require a latitude and longitude coordinate system if they need to use GIS maps, so that the device can be located globally, and can be independent of the projected coordinate system of the specific GIS map.
  • the specificity of the coordinate mapping includes:
  • Step 803 Perform GIS event processing.
  • the network management device in the network management layer can be accurately represented in the GIS map according to the latitude and longitude coordinates, but since the related objects belong to different layers and the layer has the coordinate concept, it is performed in the GIS layer.
  • the GIS layer When moving, when zooming, the GIS layer will update the map rendered on the screen.
  • the screen coordinates of the network management device in the network management layer will remain unchanged because it has not changed, but this will cause a problem.
  • the location of the network management device on the GIS map has changed, not at the location where it should be. As shown in Figure 11, the distance between Chengdu and the network element A and the network element B before translation is inconsistent after the translation, and the distance is pulled apart.
  • the network element device of the network management layer should follow the translation to achieve the geographical consistency. Therefore, when processing the GIS layer's translation, scaling, and other events involving position changes, the elements in the network management layer also need corresponding follow-up processing. That is, the position of the network management device of the network management layer needs to be adjusted on the screen.
  • Step 804 After the network management device in the network management layer is dragged on the screen interface, coordinate is saved.
  • the network management device in the network management layer After the network management device in the network management layer is dragged on the screen interface, the position changes. At this time, you need to record this coordinate. Otherwise, when the GIS layer is operated, the network management device will map with the previous coordinates. specific:
  • this embodiment mainly implements a general combination of the GIS layer and the network management layer under the WEB, and has nothing to do with the specific GIS software and the drawing software.
  • the embodiment of the present invention further provides a computer storage medium in which computer executable instructions are stored, the computer executable instructions being used to execute the method described in any of the foregoing method embodiments.
  • the solution described in the embodiment of the present invention achieves the progress of other graphic drawing and GIS integration, achieves the effect of displaying the network management graphical interface on the GIS map, and improves the ease of use and operability of the network management.
  • Each of the above modules may be implemented by a central processing unit (CPU), a digital signal processor (DSP), or a field-programmable gate array (FPGA) in the electronic device.
  • CPU central processing unit
  • DSP digital signal processor
  • FPGA field-programmable gate array
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Remote Sensing (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Processing Or Creating Images (AREA)
  • Controls And Circuits For Display Device (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

公开了一种基于图层的处理方法及装置、计算机存储介质,该方法包括:叠加第一图层和第二图层,所述第一图层为底层图层,第二图层为上层图层;进行坐标映射,将第二图层中显示对象的坐标转换成屏幕坐标并显示。该装置包括:叠加模块,配置为叠加第一图层和第二图层,所述第一图层为底层图层,第二图层为上层图层;映射模块,配置为进行坐标映射,将第二图层中显示对象的坐标转换成屏幕坐标;显示模块,配置为显示第一图层以及第二图层中的显示对象。

Description

一种基于图层的处理方法及装置、计算机存储介质 技术领域
本发明涉及图层处理技术,尤其涉及一种基于图层的处理方法及装置、计算机存储介质。
背景技术
目前在GIS领域,有方法使用图片来表达标识等信息,但这些信息渲染时只能做到一般的渲染,对于此图片进行合成渲染,例如图片叠加或者颜色叠加等,本身就不属于GIS领域的核心内容,表现就比较弱化。但在GIS使用上仍然有很多场合需要结合更丰富的绘制效果。
目前,基于WEB的各种GIS应用得到大力发展,涉及到各行各业,基本上所有的应用都是基于GIS软件本身提供的相关功能来呈现,例如位置标识,一般的线段等,如图1所示。但是在网管领域,除了需要体现设备的位置关系,还需要有更详细的网管绘制方面的呈现,例如网元需要在GIS上呈现网元的状态,告警呈现等比较复杂的绘制,如图2所示,但是,由于GIS软件不会关注通讯领域的一些特殊表现,从而图2的效果,目前是GIS软件无法满足的。
发明内容
有鉴于此,为解决现有存在的技术问题,本发明实施例提供:
一种基于图层的处理方法,包括:
叠加第一图层和第二图层,所述第一图层为底层图层,第二图层为上层图层;
进行坐标映射,将第二图层中显示对象的坐标转换成屏幕坐标并显示。
在本发明一实施例中,该方法还包括:
当第一图层发生变化时,相应地调整第二图层中显示对象的位置,以适应第一图层的变化。
在本发明一实施例中,所述第一图层的变化包括平移和/或缩放。
在本发明一实施例中,所述相应地调整第二图层中显示对象的位置,以适应第一图层的变化,包括:
重新进行坐标映射,将第二图层中显示对象的坐标转换成屏幕坐标并显示。
在本发明一实施例中,所述第一图层为GIS图层,所述第二图层为网管图层,所述第二图层中的显示对象为网管设备。
在本发明一实施例中,所述进行坐标映射,将第二图层中显示对象的坐标转换成屏幕坐标,包括:
将网管设备的经纬度坐标转换成GIS图层的投影坐标;
将网管设备在GIS图层的投影坐标转换成界面的屏幕坐标。
在本发明一实施例中,该方法还包括:
第二图层中显示对象的位置发生变化时,获取所述显示对象当前的屏幕坐标;
将所述屏幕坐标转换为GIS图层的投影坐标;
将所述GIS图层的投影坐标转换为经纬度坐标,并保存。
本发明实施例还提供了一种基于图层的处理装置,其中,该装置包括:叠加模块、映射模块和显示模块;其中,
所述叠加模块,配置为叠加第一图层和第二图层,所述第一图层为底层图层,第二图层为上层图层;
所述映射模块,配置为进行坐标映射,将第二图层中显示对象的坐标转换成屏幕坐标;
所述显示模块,配置为显示第一图层以及第二图层中的显示对象。
在本发明一实施例中,该装置还包括调整模块,
所述调整模块,配置为当第一图层发生变化时,相应地调整第二图层中显示对象的位置,以适应第一图层的变化。
在本发明一实施例中,所述调整模块,配置为重新进行坐标映射,将第二图层中显示对象的坐标转换成屏幕坐标并显示。
在本发明一实施例中,所述第一图层为GIS图层,所述第二图层为网管图层,所述第二图层中的显示对象为网管设备。
在本发明一实施例中,所述映射模块和/或调整模块,配置为:
将网管设备的经纬度坐标转换成GIS图层的投影坐标;
将网管设备在GIS图层的投影坐标转换成界面的屏幕坐标。
在本发明一实施例中,该装置还包括坐标存储模块,
所述坐标存储模块,配置为当第二图层中显示对象的位置发生变化时,获取所述显示对象当前的屏幕坐标;将所述屏幕坐标转换为GIS图层的投影坐标;将所述GIS图层的投影坐标转换为经纬度坐标,并保存。
本发明实施例还提出了一种计算机存储介质,其中存储有计算机可执行指令,所述计算机可执行指令用于执行上述的方法。
本发明实施例所述的基于图层的处理方法及装置、计算机存储介质,叠加第一图层和第二图层,所述第一图层为底层图层,第二图层为上层图层;行坐标映射,将第二图层中显示对象的坐标转换成屏幕坐标并显示。采用本发明实施例所述的技术方案,能够丰富图形显示效果,提高用户体验,且实现简便,灵活度较高。
附图说明
图1为一GIS图形示意图;
图2为一网管绘制效果示意图;
图3为本发明实施例一种基于图层的处理方法;
图4为本发明实施例再一种基于图层的处理方法;
图5为本发明实施例一种基于图层的处理装置结构示意图;
图6为本发明实施例再一种基于图层的处理装置结构示意图;
图7为本发明实施例再一种基于图层的处理装置结构示意图;
图8为本发明实施例1所述基于图层的处理方法流程示意图;
图9为本发明实施例1中图层叠加原理示意图;
图10为本发明实施例1中坐标映射原理示意图;
图11为GIS图层发生移动、网管设备位置不动的场景示意图;
图12为本发明实施例所述GIS图层发生移动、网管设备位置发生相应变化的场景示意图。
具体实施方式
图3为本发明实施例一种基于图层的处理方法,如图3所示,该方法包括:
步骤31:叠加第一图层和第二图层,所述第一图层为底层图层,第二图层为上层图层;
步骤32:进行坐标映射,将第二图层中显示对象的坐标转换成屏幕坐标并显示。
可选的,如图4所示,在本发明一实施例中,该方法还包括:
步骤33:当第一图层发生变化时,相应地调整第二图层中显示对象的位置,以适应第一图层的变化。
可选的,在本发明一实施例中,所述第一图层的变化包括平移和/或缩放。
可选的,在本发明一实施例中,所述相应地调整第二图层中显示对象的位置,以适应第一图层的变化,包括:
重新进行坐标映射,将第二图层中显示对象的坐标转换成屏幕坐标并显示。
可选的,在本发明一实施例中,所述第一图层为GIS图层,所述第二图层为网管图层,所述第二图层中的显示对象为网管设备。
这里,GIS绘制的界面为GIS图层,网管绘制的网元界面为网管图层。
可选的,在本发明一实施例中,所述进行坐标映射,将第二图层中显示对象的坐标转换成屏幕坐标,包括:
将网管设备的经纬度坐标转换成GIS图层的投影坐标;
将网管设备在GIS图层的投影坐标转换成界面的屏幕坐标。
可选的,在本发明一实施例中,该方法还包括:
第二图层中显示对象的位置发生变化时,获取所述显示对象当前的屏幕坐标;
将所述屏幕坐标转换为GIS图层的投影坐标;
将所述GIS图层的投影坐标转换为经纬度坐标,并保存。
本发明实施例还相应地提出了一种基于图层的处理装置,如图5所示,该装置包括:叠加模块51、映射模块52和显示模块53;其中,
所述叠加模块51,配置为叠加第一图层和第二图层,所述第一图层为底层图层,第二图层为上层图层;
所述映射模块52,配置为进行坐标映射,将第二图层中显示对象的坐标转换成屏幕坐标;
所述显示模块53,配置为显示第一图层以及第二图层中的显示对象。
可选的,如图6所示,在本发明一实施例中,该装置还包括调整模块54,
所述调整模块54,配置为当第一图层发生变化时,相应地调整第二图层中显示对象的位置,以适应第一图层的变化。
可选的,在本发明一实施例中,所述调整模块54,具体配置为重新进行坐标映射,将第二图层中显示对象的坐标转换成屏幕坐标并显示。
可选的,在本发明一实施例中,所述第一图层为GIS图层,所述第二图层为网管图层,所述第二图层中的显示对象为网管设备。
可选的,在本发明一实施例中,所述映射模块52和/或调整模块54,具体配置为:
将网管设备的经纬度坐标转换成GIS图层的投影坐标;
将网管设备在GIS图层的投影坐标转换成界面的屏幕坐标。
可选的,如图7所示,在本发明一实施例中,该装置还包括坐标存储模块55,
所述坐标存储模块55,配置为当第二图层中显示对象的位置发生变化时,获取所述显示对象当前的屏幕坐标;将所述屏幕坐标转换为GIS图层的投影坐标;将所述GIS图层的投影坐标转换为经纬度坐标,并保存。
下面通过具体实施例对本发明的技术方案作进一步详细说明。
实施例1
GIS软件侧重于与地理位置信息相关的处理,在绘制时也主要针对地理要素进行渲染,例如位置标识,路线等。对于通讯行业的网管来说,不管是否使用GIS地图,网管的表现绘制都是最主要的,告警的呈现,状态的呈现,需要在拓扑中一目了然的获知。但GIS已经渗入到各行各业中,网管也会逐渐使用很多GIS功能来提升网管可操作性,易用性等。由于GIS软件自身关注不同,所以本实施例的将网管丰富的渲染效果和强大的GIS功能相结合,达到GIS功能不缺失且网管丰富的渲染效果仍然保留。
为了克服现有技术中GIS软件绘制特殊图形的缺点,解决现有技术中存在的GIS软件无法和网管图形绘制结合的问题。可以在GIS软件中显示非常丰富的网管图形对象,这些网管图形对象可以与GIS地图非常好的融 合在一起,移动,缩放等操作无缝衔接。GIS软件的其他功能也不受影响,而网管图形对象自身的操作也不会受影响。图8为本发明实施例1所述基于图层的处理方法流程示意图,如图8所示,该流程包括:
步骤801:进行图层叠加。
这里,GIS图层与网管图层可以通过分层的方式来结合。GIS图层属于最底层的部分,网管图层是属于更上层的操作元素。在界面上,这两个图层可以通过图层叠加来处理,但两个图层自己本身的各种事件处理仍然保留各自的事件处理逻辑。
具体的,如图9所示,在WEB上将GIS图层定义为底层图层,网管图层定义为上层图层,网管图层指明为透明模式。使用一个总的图层,先叠加GIS图层,后叠加网管图层。其中GIS图层由GIS软件提供,网管图层由网管界面提供。
需要说明的是,在叠加过程中,需要对两个图层进行坐标对齐,这样才能真正的叠加在一起。为了使GIS图层与网管图层坐标系对齐,根据实际使用情况,网管图层一般使用经纬度坐标系,GIS图层可以使用一般的投影坐标系,但最好是能与经纬度坐标系进行转换的坐标系(如EPSG:4326、EPSG:3857)。
步骤802:进行坐标映射。
GIS地图有多种投影坐标,而网管中的设备如果需要使用GIS地图的话,都是要求使用经纬度坐标系,这样能在全球上定位此设备,而且可以与具体GIS地图的投影坐标系无关。
参照图10,坐标映射的具体包括:
1)将网管设备的经纬度坐标通过工具方法转换成GIS投影坐标,这样在GIS图层这个网管设备就能在GIS地图上定位;
2)将网管设备在GIS图层的投影坐标再转换成界面的屏幕坐标,并显 示。
步骤803:进行GIS事件处理。
经过前面两步,网管图层中的网管设备根据经纬度坐标都能准确的在GIS地图中呈现,但由于相关对象是分属于不同的图层,且图层有坐标概念,所以在GIS图层进行各种移动,缩放时,GIS图层自己会更新在屏幕中呈现的地图,而网管图层中的网管设备的屏幕坐标由于没有发生变化,所以会保持不动,但这样会导致一个问题,就是网管设备在GIS地图上的位置发生了变化,没有在它应该在的位置,如图11所示,平移前成都与网元A和网元B的距离在平移后不一致了,距离被拉开。
正常情况下,GIS图层平移时,网管图层的网元设备应该跟随平移,才能达到地理位置的一致性。因此在处理GIS图层的平移,缩放等涉及位置变化的事件时,网管图层中的元素也需要相应的跟随处理。即需要调整网管图层的网管设备在屏幕上的位置。具体的:
1)在屏幕界面上注册GIS图层的平移,缩放事件;
2)在这些事件监听器中处理网管图层的网管设备的坐标调整,通过之前介绍的坐标映射来重新获取这些网管设备在GIS图层平移之后对应在屏幕上的坐标。
3)重新设置网管设备的屏幕坐标。
根据上述步骤进行处理后网元A和网元B的位置情况如图12所示。
步骤804:网管图层中的网管设备在屏幕界面拖动后,进行坐标保存。
网管图层中的网管设备在屏幕界面拖动后,位置发生了变化,这个时候需要记录下此坐标,否则操作GIS图层时,网管设备会以之前的坐标来映射。具体的:
1)屏幕界面上拖动网管设备从一个地方到另外一个地方;
2)获取网管设备当前的屏幕坐标;
3)将屏幕坐标转换为GIS图层的坐标;
4)将GIS图层的坐标转换为经纬度坐标,保存。
需要说明的是,本实施例主要实现WEB下GIS图层与网管图层的一种通用结合,与具体GIS软件和绘制软件无关。
本发明实施例还提出了一种计算机存储介质,其中存储有计算机可执行指令,所述计算机可执行指令用于执行上述任一方法实施例所述的方法。
根据上述描述,本发明实施例所述的方案取得了其他图形绘制与GIS集成的进步,达到了在GIS地图上显示网管图形界面的效果,提高了网管易用性和操作性。
上述各模块可以由电子设备中的中央处理器(Central Processing Unit,CPU)、数字信号处理器(Digital Signal Processor,DSP)或可编程逻辑阵列(Field-Programmable Gate Array,FPGA)实现。
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。

Claims (14)

  1. 一种基于图层的处理方法,其中,该方法包括:
    叠加第一图层和第二图层,所述第一图层为底层图层,第二图层为上层图层;
    进行坐标映射,将第二图层中显示对象的坐标转换成屏幕坐标并显示。
  2. 根据权利要求1所述的方法,其中,该方法还包括:
    当第一图层发生变化时,相应地调整第二图层中显示对象的位置,以适应第一图层的变化。
  3. 根据权利要求2所述的方法,其中,所述第一图层的变化包括平移和/或缩放。
  4. 根据权利要求2所述的方法,其中,所述相应地调整第二图层中显示对象的位置,以适应第一图层的变化,包括:
    重新进行坐标映射,将第二图层中显示对象的坐标转换成屏幕坐标并显示。
  5. 根据权利要求1至4任一项所述的方法,其中,所述第一图层为GIS图层,所述第二图层为网管图层,所述第二图层中的显示对象为网管设备。
  6. 根据权利要求5所述的方法,其中,所述进行坐标映射,将第二图层中显示对象的坐标转换成屏幕坐标,包括:
    将网管设备的经纬度坐标转换成GIS图层的投影坐标;
    将网管设备在GIS图层的投影坐标转换成界面的屏幕坐标。
  7. 根据权利要求5所述的方法,其中,该方法还包括:
    第二图层中显示对象的位置发生变化时,获取所述显示对象当前的屏幕坐标;
    将所述屏幕坐标转换为GIS图层的投影坐标;
    将所述GIS图层的投影坐标转换为经纬度坐标,并保存。
  8. 一种基于图层的处理装置,其中,该装置包括:叠加模块、映射模块和显示模块;其中,
    所述叠加模块,配置为叠加第一图层和第二图层,所述第一图层为底层图层,第二图层为上层图层;
    所述映射模块,配置为进行坐标映射,将第二图层中显示对象的坐标转换成屏幕坐标;
    所述显示模块,配置为显示第一图层以及第二图层中的显示对象。
  9. 根据权利要求8所述的装置,其中,该装置还包括调整模块,
    所述调整模块,配置为当第一图层发生变化时,相应地调整第二图层中显示对象的位置,以适应第一图层的变化。
  10. 根据权利要求9所述的装置,其中,
    所述调整模块,配置为重新进行坐标映射,将第二图层中显示对象的坐标转换成屏幕坐标并显示。
  11. 根据权利要求8至10任一项所述的装置,其中,所述第一图层为GIS图层,所述第二图层为网管图层,所述第二图层中的显示对象为网管设备。
  12. 根据权利要求11所述的装置,其中,所述映射模块和/或调整模块,配置为:
    将网管设备的经纬度坐标转换成GIS图层的投影坐标;
    将网管设备在GIS图层的投影坐标转换成界面的屏幕坐标。
  13. 根据权利要求11所述的装置,其中,该装置还包括坐标存储模块,
    所述坐标存储模块,配置为当第二图层中显示对象的位置发生变化时,获取所述显示对象当前的屏幕坐标;将所述屏幕坐标转换为GIS图层的投影坐标;将所述GIS图层的投影坐标转换为经纬度坐标,并保存。
  14. 一种计算机存储介质,其中存储有计算机可执行指令,所述计算机可执行指令用于执行所述权利要求1至7任一项所述的方法。
PCT/CN2014/092491 2014-09-25 2014-11-28 一种基于图层的处理方法及装置、计算机存储介质 WO2015131575A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410499901.XA CN105512136A (zh) 2014-09-25 2014-09-25 一种基于图层的处理方法及装置
CN201410499901.X 2014-09-25

Publications (1)

Publication Number Publication Date
WO2015131575A1 true WO2015131575A1 (zh) 2015-09-11

Family

ID=54054456

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/092491 WO2015131575A1 (zh) 2014-09-25 2014-11-28 一种基于图层的处理方法及装置、计算机存储介质

Country Status (2)

Country Link
CN (1) CN105512136A (zh)
WO (1) WO2015131575A1 (zh)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110418056A (zh) * 2019-07-16 2019-11-05 Oppo广东移动通信有限公司 一种图像处理方法、装置、存储介质及电子设备
CN112383741A (zh) * 2019-07-29 2021-02-19 杭州海康威视系统技术有限公司 一种视频显示方法及装置
CN112632683A (zh) * 2020-12-30 2021-04-09 苏州美房云客软件科技股份有限公司 基于虚幻引擎的数字孪生城市空间定位方法、装置及存储介质
CN113467682A (zh) * 2021-07-09 2021-10-01 北京三快在线科技有限公司 控制地图覆盖物移动的方法、装置、终端及存储介质

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106127603A (zh) * 2016-06-16 2016-11-16 国电南瑞科技股份有限公司 配网图模交互中的自定义图形对象的层叠加方法
CN106201212B (zh) * 2016-07-19 2019-05-03 厦门美图移动科技有限公司 一种应用图标的生成方法、装置及移动终端
CN106572303B (zh) * 2016-10-17 2020-02-18 努比亚技术有限公司 一种图片处理方法及终端
CN109033400B (zh) * 2018-08-02 2021-09-21 江苏本能科技有限公司 基于地图的车辆通行展示方法及系统
CN110930857B (zh) * 2019-05-31 2022-04-15 上海华兴数字科技有限公司 绘制散点的方法及装置
CN112533021B (zh) * 2019-09-19 2023-04-11 Vidaa(荷兰)国际控股有限公司 一种显示方法及显示设备
CN116051627B (zh) * 2023-02-02 2023-06-13 杭州比智科技有限公司 一种基于svg与Lottie实现图形自适应的方法及系统

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102096707A (zh) * 2011-01-11 2011-06-15 上海海洋大学 一种基于WebGIS的高程地理数据查询系统及方法
CN102467519A (zh) * 2010-11-04 2012-05-23 中国电信股份有限公司 基于地理信息系统的可视化标绘方法及系统
US20130132375A1 (en) * 2005-06-27 2013-05-23 Google Inc. Dynamic View-Based Data Layer in a Geographic Information System
CN103824255A (zh) * 2014-02-28 2014-05-28 武汉大学 基于Sharpmap的通过鼠标滚轮控制地图缩放方法
CN103915035A (zh) * 2012-12-31 2014-07-09 北京中交兴路信息科技有限公司 一种数据转换方法及数据转换装置

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040107716A (ko) * 2003-06-12 2004-12-23 주식회사 케이티 복합 투영법 사용이 가능한 gis 응용 방법 및 그시스템과, 그 방법을 포함하는 프로그램이 저장된 기록매체
CN102609535B (zh) * 2012-02-16 2014-10-22 上海同岩土木工程科技有限公司 一种gis图层点数据叠加方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130132375A1 (en) * 2005-06-27 2013-05-23 Google Inc. Dynamic View-Based Data Layer in a Geographic Information System
CN102467519A (zh) * 2010-11-04 2012-05-23 中国电信股份有限公司 基于地理信息系统的可视化标绘方法及系统
CN102096707A (zh) * 2011-01-11 2011-06-15 上海海洋大学 一种基于WebGIS的高程地理数据查询系统及方法
CN103915035A (zh) * 2012-12-31 2014-07-09 北京中交兴路信息科技有限公司 一种数据转换方法及数据转换装置
CN103824255A (zh) * 2014-02-28 2014-05-28 武汉大学 基于Sharpmap的通过鼠标滚轮控制地图缩放方法

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110418056A (zh) * 2019-07-16 2019-11-05 Oppo广东移动通信有限公司 一种图像处理方法、装置、存储介质及电子设备
CN112383741A (zh) * 2019-07-29 2021-02-19 杭州海康威视系统技术有限公司 一种视频显示方法及装置
CN112632683A (zh) * 2020-12-30 2021-04-09 苏州美房云客软件科技股份有限公司 基于虚幻引擎的数字孪生城市空间定位方法、装置及存储介质
CN113467682A (zh) * 2021-07-09 2021-10-01 北京三快在线科技有限公司 控制地图覆盖物移动的方法、装置、终端及存储介质

Also Published As

Publication number Publication date
CN105512136A (zh) 2016-04-20

Similar Documents

Publication Publication Date Title
WO2015131575A1 (zh) 一种基于图层的处理方法及装置、计算机存储介质
US11176737B2 (en) Textured mesh building
DE112013002803B4 (de) Verfahren, System und Einrichtung zum Liefern einer dreidimensionalen Übergangsanimation für eine Änderung einer Kartenansicht
US10521468B2 (en) Animated seek preview for panoramic videos
TWI698841B (zh) 地圖區域合併的資料處理方法及裝置
US8566020B2 (en) Method and apparatus for transforming three-dimensional map objects to present navigation information
US8917286B2 (en) Image processing device, information processing device, image processing method, and information processing method
US10482665B2 (en) Synching and desyncing a shared view in a multiuser scenario
US20190243530A1 (en) Immersive Media Content Navigation and Editing Techniques
JP2020535534A5 (zh)
US20150170616A1 (en) Local data quality heatmap
JP2005265842A5 (zh)
JP2017505923A (ja) 画像のジオロケーションのためのシステムおよび方法
CN104156480A (zh) 一种基于wpf和gdi+分层绘制地图的方法
Khan et al. Rebirth of augmented reality-enhancing reality via smartphones
JP2009116370A (ja) 地図表示装置、及びその方法等
Pasewaldt et al. Multi-perspective 3D panoramas
WO2015165258A1 (zh) 一种电子地图绘制区域确定方法、装置及导航设备
US10209876B2 (en) Method and apparatus for providing a segmented scrollbar
US20150187098A1 (en) Method and apparatus for unobtrusively changing imagery supplementing a map display
JP7114049B2 (ja) 画像処理装置および画像処理用プログラム
CN112099781A (zh) 一种地图可视化方法、装置、存储介质及设备
WO2017041383A1 (zh) 可缩放矢量图形图像的重组方法及重组装置
JP7382960B2 (ja) 同心状範囲リングおよび距離の可視化
TWI590173B (zh) Interactive Advertising Approach and Its Interactive System

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14884402

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14884402

Country of ref document: EP

Kind code of ref document: A1