CN103324484A - Method and device for displaying view - Google Patents

Method and device for displaying view Download PDF

Info

Publication number
CN103324484A
CN103324484A CN201310268925XA CN201310268925A CN103324484A CN 103324484 A CN103324484 A CN 103324484A CN 201310268925X A CN201310268925X A CN 201310268925XA CN 201310268925 A CN201310268925 A CN 201310268925A CN 103324484 A CN103324484 A CN 103324484A
Authority
CN
China
Prior art keywords
view
menu
according
type
data
Prior art date
Application number
CN201310268925XA
Other languages
Chinese (zh)
Other versions
CN103324484B (en
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 华为技术有限公司
Priority to CN201310268925.XA priority Critical patent/CN103324484B/en
Publication of CN103324484A publication Critical patent/CN103324484A/en
Application granted granted Critical
Publication of CN103324484B publication Critical patent/CN103324484B/en

Links

Abstract

An embodiment of the invention discloses a method and device for displaying a view. The method includes receiving an access request of a user for the view; establishing a view type according to the access request for the view; calling data source to acquire view data according to the access request for the view; establishing the view according to the view type and the view data; displaying the view to the user, so that the problem about establishing the view can be solved.

Description

一种展现视图的方法及设备技术领域[0001] 本发明涉及通信领域,尤其涉及到一种展现视图的方法及设备。 Method and apparatus to show the technical field of view [0001] The present invention relates to the field of communications, and more particularly to a method and apparatus to show the view. 背景技术[0002] 随着存储资源管理(Storage Resource Management, SRM)日趋复杂化,对于管理物理、虚拟化到云的资源,提出以下挑战:如何自动关联和显示存储区域网络(StroageArea Network, SAN)与基础结构元素的关系、如何查看高层次视图和详细视图、如何直观地查看所有SAN元素设备的运行状况、如何虚拟化资源端到端路径查看、如何减少手动收集和更新映射信息花费的时间、如何提供一种跨数据库管理员、主机和存储领域的共享视图优化更改管理。 [0002] As the storage resource management (Storage Resource Management, SRM) become more complex, for the management of physical, virtual to cloud resources, the following challenge: how to automatically display and associated storage area network (StroageArea Network, SAN) relationship with the infrastructure elements, high-level view of how to view and detailed view of how to visualize the health status of all elements of SAN devices, how to end path view virtualized resources, reduce manual on how to collect and update information on time spent mapping, how to provide a cross-database administrators, hosts, and shared the view storage areas to optimize change management. [0003] 通常SRM路径管理有一种是传统的浏览器/服务器(BiOwer/ServenB/S)架构方式,使用标准的模型-视图-控制器(model-view-controller, MVC)架构,互联网用户界面(User Interface, WEB UI)层使用主流的JAVA 服务器页面(Java Server Pages, JSP )静态图片或者动态Java脚本(JavaScript, JS)技术或者富互联网应用(Rich InternetApplication,RIA)技术展现,WEB Server转发UI请求到数据源,数据源再调用持久化接口完成整个拓扑的展现,传统MVC视图与数据源是一对一的关系,如果数据源变化,视图同样需要变化,同时,资源拓扑通常是一个维度展现,可视化效果差。 [0003] Generally there is a path management SRM conventional browser / server (BiOwer / ServenB / S) architecture manner using the standard model - View - Controller (model-view-controller, MVC) architecture, the Internet user interface ( User Interface, WEB UI) layer using mainstream JAVA server page (Java server pages, JSP) still pictures or dynamic Java scripting (JavaScript, JS) technology or rich Internet applications (rich InternetApplication, RIA) technology show, WEB server forwards the UI request to data sources, data source and then call the persistence interface to complete the topology of the entire show, the traditional MVC view with a data source is a one to one relationship, if the source data changes, the view also need to change, at the same time, resource topology usually is a dimension show, visualization poor. 发明内容[0004] 本发明实施例提供了一种展现视图的方法,旨在解决如何创建视图的问题。 SUMMARY [0004] Embodiments of the present invention provides a method to show the view, to solve the problem of how to create a view. [0005] 第一方面,一种展现视图的方法,所述方法包括:[0006] 接收用户对视图的访问请求;[0007] 根据所述对视图的访问请求创建视图类型;[0008] 根据所述对视图的访问请求调用数据源获取视图数据;[0009] 根据所述视图类型和所述视图数据创建视图,以向所述用户展示所述视图。 Method [0005] In a first aspect, a view showing the method comprising: [0006] receiving a request for access to a user view; [0007] The request to create the view type of the access to the view; [0008] in accordance with the said call access request to view the data source data acquired view; [0009] creating a view according to the view and the view of the data type, to view the display to the user. [0010] 结合第一方面,在第一方面的第一种可能的实现方式中,所述方法还包括:[0011] 为不同维度的视图预先设置不同的视图类型定义,其中,所述不同维度的视图包括但不限于:以存储设备为视角的视图、以主机为视角的视图或以应用为视角的视图。 [0010] with the first aspect, the first possible implementation manner of the first aspect, the method further comprises: [0011] set different types of views for different dimensions of views defined in advance, wherein the different dimensions the views include but are not limited to: storage devices in a perspective view, a view in perspective of host applications or in perspective view. [0012] 结合第一方面的第一种可能的实现方式,在第一方面的第二种可能的实现方式中,所述视图类型定义包括节点菜单定义、视图工具菜单定义、链路菜单定义,所述节点菜单定义用于定义视图中节点的菜单展示属性,所述视图工具菜单定义用于定义视图中工具栏的菜单展示属性,所述链路菜单定义用于定义视图中链路的菜单展示属性。 [0012] The first possible implementation of the first aspect, a second possible implementation of the first aspect of the view type definition includes the definition of a node menu, menu definitions view of the tool, the link menu definitions, the menu node definition defines a menu display attribute node view, the view of the tool menu definition defines the view toolbar menu display attribute of the link menu view definition defines a menu display link Attributes. [0013] 结合第一方面或者第一方面的第一种可能的实现方式或者第一方面的第二种可能的实现方式,在第一方面的第三种可能的实现方式中,所述根据所述视图类型和所述视图数据创建视图包括:[0014] 根据所述视图类型和所述视图数据创建视图对象;[0015] 根据所述试图对象,创建视图。 [0013] with the first aspect or the first possible implementation of the first aspect or the second possible implementation of the first aspect, the third possible implementation manner of the first aspect, according to the view and the view type of said data to create the view comprises: [0014] the view objects of the view and the view data type; [0015] the attempt of the subject, to create a view. [0016] 结合第一方面的第三种可能的实现方式,在第一方面的第四种可能的实现方式中,所述方法还包括:[0017] 存储所述创建的视图对象和所述视图数据。 [0016] The binding third possible implementation of the first aspect, a fourth possible implementation manner of the first aspect, the method further comprises: [0017] storing said created view objects and view the data. [0018] 结合第一方面或者第一方面的第一种可能的实现方式或者第一方面的第二种可能的实现方式,在第一方面的第五种可能的实现方式中,所述根据所述对视图的访问请求创建视图类型之前,还包括:[0019] 确定是否存储所述对视图的访问请求所对应的视图对象,如果否,执行所述根据所述对视图的访问请求创建视图类型的步骤。 [0018] with the first aspect or the first possible implementation of the first aspect or the second possible implementation of the first aspect, in a fifth aspect of the first possible implementation, according to the said prior access request to create a view of the view type, further comprising: [0019] determining whether the memory access request to view object corresponding to the view, if not, executing the created view type according to the access request to view A step of. [0020] 结合第一方面的第五种可能的实现方式,在第一方面的第六种可能的实现方式中,所述方法还包括:[0021 ] 当确定存储有所述对视图的访问请求所对应视图对象时,过滤掉无权访问的视图对象。 [0020] The binding fifth possible implementation of the first aspect, in a sixth possible implementation manner of the first aspect, the method further comprises: [0021] When it is determined the request for access to stored view when the object corresponding to the view, the view object was filtered off does not have access. [0022] 第二方面,一种展示视图的设备,所述设备包括:[0023] 接收单元,用于接收用户对视图的访问请求;[0024] 第一创建单元,用于根据所述对视图的访问请求创建视图类型;[0025] 获取单元,用于根据所述对视图的访问请求调用数据源获取视图数据;[0026] 第二创建单元,用于根据所述视图类型和所述视图数据创建视图;[0027] 所述视图用于展现给所述用户。 [0022] In a second aspect, a view showing the apparatus, the apparatus comprising: [0023] a receiving unit for receiving a user access request to view; [0024] a first creating unit, according to the view create a view of the access request type; [0025] acquiring unit, for acquiring view data based on the call request to access the data source view; [0026] a second creating unit, a data type and the view according to the view creating the view; [0027] a view for presentation to the user. [0028] 结合第二方面,在第二方面的第一种可能的实现方式中,所述设备还包括:[0029] 设置单元,用于为不同维度的视图预先设置不同的视图类型定义,其中,所述不同维度的视图包括但不限于:以存储设备为视角的视图、以主机为视角的视图或以应用为视角的视图。 [0028] combination with the second aspect, the first possible implementation of the second aspect, said apparatus further comprising: [0029] setting unit for setting different views for different types of defined dimensions views advance, wherein , dimensions of the different views include but are not limited to: storage devices in a perspective view, a view in perspective of host applications or in perspective view. [0030] 结合第二方面的第一种可能的实现方式,在第二方面的第二种可能的实现方式中,所述视图类型定义包括节点菜单定义、视图工具菜单定义、链路菜单定义,所述节点菜单定义用于定义视图中节点的菜单展示属性,所述视图工具菜单定义用于定义视图中工具栏的菜单展示属性,所述链路菜单定义用于定义视图中链路的菜单展示属性。 [0030] The first possible implementation of the second aspect, a second possible implementation of the second aspect of the view type definition includes the definition of a node menu, menu definitions view of the tool, the link menu definitions, the menu node definition defines a menu display attribute node view, the view of the tool menu definition defines the view toolbar menu display attribute of the link menu view definition defines a menu display link Attributes. [0031] 结合第二方面或者第二方面的第一种可能的实现方式或者第二方面的第二种可能的实现方式,在第二方面的第三种可能的实现方式中,所述第二创建单元,具体用于:[0032] 根据所述视图类型和所述视图数据创建视图对象;[0033] 根据所述试图对象,创建视图。 [0031] combination with the second aspect or the first possible implementation of the second aspect or the second possible implementation of the second aspect, a third aspect of the second possible implementation manner, the second creating unit, adapted to: [0032] the view objects of the view and the view data type; [0033] the attempt of the subject, to create a view. [0034] 结合第二方面的第三种可能的实现方式,在第二方面的第四种可能的实现方式中,所述设备还包括:[0035] 存储所述创建的视图对象和所述视图数据。 [0034] The binding third possible implementation of the second aspect, a fourth possible implementation of the second aspect, said apparatus further comprising: a view object [0035] and storing said created view of the data. [0036] 结合第二方面或者第二方面的第一种可能的实现方式或者第二方面的第二种可能的实现方式,在第二方面的第五种可能的实现方式中,所述设备还包括确定单元,所述确定单元具体用于:[0037] 确定是否存储所述对视图的访问请求所对应的视图对象,如果否,执行所述根据所述对视图的访问请求创建视图类型的步骤。 [0036] combination with the second aspect or the first possible implementation of the second aspect or the second aspect of a second possible implementation, a fifth possible implementation of the second aspect, said apparatus further comprises determining unit, the determination unit is configured to: [0037] determining whether the memory access request to view object corresponding to the view, and if not, performing the step of creating the view type according to the access request to view . [0038] 结合第二方面的第五种可能的实现方式,在第二方面的第六种可能的实现方式中,所述设备还包括过滤单元,所述过滤单元具体用于:[0039] 当确定存储有所述对视图的访问请求所对应视图对象时,过滤掉无权访问的视图对象。 [0038] The binding fifth possible implementation of the second aspect, a sixth possible implementation manner of the second aspect, the apparatus further comprises a filter unit, the filter unit is configured to: [0039] When the determination is stored when the view object corresponding to the access request to view, filter out the view object does not have access. [0040] 与现有技术相比,本发明实施例提供一种展示视图的方法,所述方法通过接收用户对视图的访问请求;根据所述对视图的访问请求创建视图类型;根据所述对视图的访问请求调用数据源获取视图数据;根据所述视图类型和所述视图数据创建视图;将所述视图展现给所述用户,从而解决创建视图的问题。 [0040] Compared with the prior art, embodiments provide a view showing the method of the present invention, the method for access to a view request by receiving user; creating view type according to the access request to view; according to the access to a view request for obtaining the data source view call data; creating the view and the view type of the view data; the view will show to the user, thereby solving the problem to create a view. 附图说明[0041] 为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。 BRIEF DESCRIPTION [0041] In order to more clearly illustrate the technical solutions in the embodiments or the prior art embodiment of the present invention, the accompanying drawings for describing the embodiments or the prior art described in the introduction required simply Apparently, the following the drawings are merely described some embodiments of the present invention, those of ordinary skill in the art is concerned, without creative efforts, we can derive from these drawings other drawings. [0042] 图1是本发明实施例提供的一种展示视图的方法流程图;[0043] 图2是本发明实施例提供的一种展示视图的方法流程图;[0044] 图3是本发明实施例提供的另一种展示视图的方法示意图;[0045] 图4是本发明实施例提供的一种展示视图的设备结构图;[0046] 图5是本发明实施例提供的一种展示视图的设备结构图;[0047] 图6是本发明实施例提供的一种展示视图的设备结构图。 [0042] FIG. 1 is a view showing a method flowchart according to an embodiment of the present invention; [0043] FIG. 2 is a view showing a flowchart of a method according to an embodiment of the present invention; [0044] FIG. 3 of the present invention is another method is a view showing a schematic diagram according to an embodiment; [0045] FIG. 4 is a view showing structural diagram of a device according to an embodiment of the present invention; [0046] FIG. 5 is a view showing an embodiment of the present invention FIG device structures; [0047] FIG. 6 is a view showing structural diagram of a device according to an embodiment of the present invention. 具体实施方式[0048] 下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。 DETAILED DESCRIPTION [0048] below in conjunction with the present invention in the accompanying drawings, technical solutions of embodiments of the present invention are clearly and completely described, obviously, the described embodiments are merely part of embodiments of the present invention, rather than all embodiments. 基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。 Based on the embodiments of the present invention, those of ordinary skill in the art to make all other embodiments without creative work obtained by, it falls within the scope of the present invention. [0049] 参考图1,图1是本发明实施例提供的一种展示视图的方法流程图。 [0049] Referring to FIG 1, FIG. 1 is a view showing a method according to an embodiment of the present invention a flowchart. 如图1所示,所述方法包括以下步骤:[0050] 步骤101,接收用户对视图的访问请求;[0051] 具体的,用户在打开资源拓扑界面时,请求访问视图,用户访问视图的请求转发到上下文中。 As shown, the method includes the steps of: [0050] Step 101 receives a user access request to view; [0051] Specifically, the user interface when opening the resource topology, requesting access to the view, a user requesting access to a view forwarded to the context. [0052] 步骤102,根据所述对视图的访问请求创建视图类型;[0053] 步骤103,根据所述对视图的访问请求调用数据源获取视图数据;[0054] 步骤104,根据所述视图类型和所述视图数据创建视图;[0055] 可选地,所述根据所述视图类型和所述视图数据创建视图包括:[0056] 根据所述视图类型和所述视图数据创建视图对象;[0057] 根据所述试图对象,创建视图。 [0052] Step 102, according to the access request to create the view type view; [0053] Step 103, call request data acquisition source based on the view data to the view access; [0054] Step 104, according to the view type and creating the view data view; [0055] Alternatively, said view comprises creating a view according to the type and the view data: [0056] the view objects of the view and the view data type; [0057 ] the attempt of the subject, to create a view. [0058] 步骤105,将所述视图展现给所述用户。 [0058] Step 105, the view presented to the user. 所述步骤105是可选的步骤。 The step 105 is an optional step. [0059] 可选地,所述方法还包括:[0060] 为不同维度的视图预先设置不同的视图类型定义,其中,所述不同维度的视图包括但不限于:以存储设备为视角的视图、以主机为视角的视图或以应用为视角的视图。 [0059] Optionally, the method further comprises: [0060] set different types of views for different dimensions of views defined in advance, wherein the dimensions of the different views include but are not limited to: A storage device is a perspective view, in the perspective of host applications to view or perspective view. [0061] 所述视图类型定义包括节点菜单定义、视图工具菜单定义、链路菜单定义,所述节点菜单定义用于定义视图中节点的菜单展示属性,所述视图工具菜单定义用于定义视图中工具栏的菜单展示属性,所述链路菜单定义用于定义视图中链路的菜单展示属性。 [0061] The view includes a node type definition menu definitions, menu definitions view of the tool, the link menu definition, the node definition defines a menu view menu display attribute of the node, the view of the tool for defining the view menu definitions toolbar menu display attribute of the link menu menu definition defining a view showing a link attribute. [0062] 本发明实施例提供一种展示视图的方法,所述方法通过接收用户对视图的访问请求;根据所述对视图的访问请求创建视图类型;根据所述对视图的访问请求调用数据源获取视图数据;根据所述视图类型和所述视图数据创建视图;将所述视图展现给所述用户,从而解决创建视图的问题。 Example embodiments provide a view showing a method of [0062] the present invention, the method by receiving a request to access a user view; creating view type according to the access request to view; call request according to the access to the data source view Gets the view data; creating a view according to the view and the view data type; the view presented to the user, thereby solving the problem to create a view. [0063] 同时,通过为不同维度的视图预先设置不同的视图类型定义,从而可以实现对视图的多维度展示。 [0063] Also, the view through a different preset dimensions of the different types of view definitions, which can achieve multi-dimensional view of the display. [0064] 参考图2,图2是本发明实施例提供的一种展示视图的方法流程图。 [0064] Referring to FIG 2, FIG. 2 is a view showing a method according to an embodiment of the present invention a flowchart. 如图2所示,所述方法包括以下步骤:[0065] 步骤201,接收用户对视图的访问请求;[0066] 步骤202,确定是否存储所述对视图的访问请求所对应的视图对象;[0067] 步骤203,若未存储所述对视图的访问请求所对应的视图对象,根据所述对视图的访问请求创建视图类型;[0068] 步骤204,根据所述对视图的访问请求调用数据源获取视图数据;[0069] 步骤205,根据所述视图类型和所述视图数据创建视图;[0070] 步骤206,将所述视图展现给所述用户。 2, the method comprising the steps of: [0065] Step 201 receives a user access request to view; [0066] Step 202, it is determined whether to store the view object access request corresponding to the view; [ 0067] step 203, if not the memory access request corresponding to the view of the view objects, according to the access request to create the view type view; [0068] step 204, call request according to the access to the data source view view data acquisition; [0069] step 205, the created view and a view type of the view data; [0070] step 206, the view will show to the user. [0071] 可选地,所述方法还包括:[0072] 存储所述创建的视图对象和所述视图数据。 [0071] Optionally, the method further comprising: view object [0072] and storing said created view the data. [0073] 可选地,所述方法还包括:[0074] 步骤207,当确定存储有所述对视图的访问请求所对应视图对象时,过滤掉无权访问的视图对象。 [0073] Optionally, the method further comprises: [0074] Step 207, when it is determined that the view object is stored corresponding to the access request to view, filter out the view object does not have access. [0075] 本发明实施例提供一种展示视图的方法,所述方法通过接收用户对视图的访问请求;根据所述对视图的访问请求创建视图类型;根据所述对视图的访问请求调用数据源获取视图数据;根据所述视图类型和所述视图数据创建视图;将所述视图展现给所述用户,从而解决创建视图的问题。 Example embodiments provide a view showing a method of [0075] the present invention, the method by receiving a request to access a user view; creating view type according to the access request to view; call request according to the access to the data source view Gets the view data; creating a view according to the view and the view data type; the view presented to the user, thereby solving the problem to create a view. [0076] 同时,通过为不同维度的视图预先设置不同的视图类型定义,从而可以实现对视图的多维度展示。 [0076] Also, the view through a different preset dimensions of the different types of view definitions, which can achieve multi-dimensional view of the display. [0077] 参考图3,图3是本发明实施例提供的另一种展示视图的方法示意图。 [0077] Referring to FIG 3, FIG. 3 is a schematic view showing another method according to an embodiment of the present invention. 如图3所示,系统启动时,初始化上下文,加载预先配置的视图类型定义,所述视图类型定义包括节点菜单定义、视图工具菜单定义、链路菜单定义,所述节点菜单定义用于定义视图中节点的菜单展示属性,所述视图工具菜单定义用于定义视图中工具栏的菜单展示属性,所述链路菜单定义用于定义视图中链路的菜单展示属性。 3, at system startup, the initialization context, the view type definitions load preconfigured, the view type definition includes the definition of a node menu, menu definitions view of the tool, the link menu definition, the view definition defines a menu node the menu display attribute node, the view Definition tools menu view toolbar menu display attribute for a link menu menu definition defining a view showing a link attribute. [0078] 当加载完预先配置的视图类型定义后,根据预先配置的视图类型定义,构造视图类型定义对象,并创建视图类型。 [0078] When finished loading preconfigured view type definition, according to the view type definitions preconfigured configuration view type definition object, and create a view type. [0079] 当接收用户对视图的访问请求时,根据所述请求查找是否缓存所述请求对应的视图对象,若确定缓存所述请求对应的视图对象,则过滤用户无法访问的视图对象,序列化过滤后的视图对象,并使用序列化后的视图对象展示所述视图。 [0079] Upon receiving a user request for access to a view to find whether the request buffer according to the view object corresponding to the request, determining if a cache view object corresponding to the request, the user can not access the view object is filtered, serialized after filtration view object, the display view using the view object serialized. [0080] 当确定未缓存所述请求对应的视图对象,则根据所述请求创建视图类型,根据所述请求调用数据源获取视图数据,并根据所述视图类型和所述视图数据创建视图,并将所述视图展示给用户。 [0080] When it is determined not to cache the view object corresponding to the request, the view type is created according to the request, the request acquiring view data based on the call data source, and creating a view according to the view and the view of the data type, and the user to view the display. [0081] 本发明实施例提供一种展示视图的方法,所述方法通过接收用户对视图的访问请求;根据所述对视图的访问请求创建视图类型;根据所述对视图的访问请求调用数据源获取视图数据;根据所述视图类型和所述视图数据创建视图;将所述视图展现给所述用户,从而解决创建视图的问题。 Example embodiments provide a view showing a method of [0081] the present invention, the method by receiving a request to access a user view; creating view type according to the access request to view; call request according to the access to the data source view Gets the view data; creating a view according to the view and the view data type; the view presented to the user, thereby solving the problem to create a view. [0082] 参考图4,图4是本发明实施例提供的一种展示视图的设备结构图。 [0082] Referring to FIG 4, FIG. 4 is a view showing structural diagram of a device according to an embodiment of the present invention. 如图4所示,所述设备包括以下单元:[0083] 接收单元401,用于接收用户对视图的访问请求;[0084] 第一创建单元402,用于根据所述对视图的访问请求创建视图类型;[0085] 获取单元403,用于根据所述对视图的访问请求调用数据源获取视图数据;[0086] 第二创建单元404,用于根据所述视图类型和所述视图数据创建视图;[0087] 所述第二创建单元404,具体用于:[0088] 根据所述视图类型和所述视图数据创建视图对象;[0089] 根据所述试图对象,创建视图。 4, the apparatus includes the following units: [0083] a receiving unit 401 for receiving a user access request to view; [0084] a first creating unit 402 for creating, according to the request for access to the view view type; [0085] acquiring unit 403 for acquiring view data based on the call request to access the data source view; [0086] the second creating unit 404 for creating a view of the view and the view data type ; [0087] the second creating unit 404, adapted to: [0088] the view objects of the view and the view data type; [0089] the attempt of the subject, to create a view. [0090] 展示单元405,用于将所述视图展现给所述用户。 [0090] The display unit 405, for presentation to the user of the view. 所述展示单元405为可选单元。 The display unit 405 is an optional unit. [0091] 可选地,所述设备还包括:[0092] 设置单元,用于为不同维度的视图预先设置不同的视图类型定义,其中,所述不同维度的视图包括但不限于:以存储设备为视角的视图、以主机为视角的视图或以应用为视角的视图。 [0091] Optionally, the apparatus further comprises: [0092] setting unit for setting different views defined for different types of views in advance dimensions, wherein the dimensions of the different views include but are not limited to: A storage device It is a perspective view, a view in perspective of host applications or in perspective view. [0093] 所述视图类型定义包括节点菜单定义、视图工具菜单定义、链路菜单定义,所述节点菜单定义用于定义视图中节点的菜单展示属性,所述视图工具菜单定义用于定义视图中工具栏的菜单展示属性,所述链路菜单定义用于定义视图中链路的菜单展示属性。 [0093] The view includes a node type definition menu definitions, menu definitions view of the tool, the link menu definition, the node definition defines a menu view menu display attribute of the node, the view of the tool for defining the view menu definitions toolbar menu display attribute of the link menu menu definition defining a view showing a link attribute. [0094] 本发明实施例提供一种展示视图的设备,所述设备通过接收用户对视图的访问请求;根据所述对视图的访问请求创建视图类型;根据所述对视图的访问请求调用数据源获取视图数据;根据所述视图类型和所述视图数据创建视图;将所述视图展现给所述用户,从而解决创建视图的问题。 Example embodiments provide a view showing an apparatus of the [0094] present invention, the device access request by receiving a user view; creating view type according to the access request to view; call request according to the access to the data source view Gets the view data; creating a view according to the view and the view data type; the view presented to the user, thereby solving the problem to create a view. [0095] 同时,通过为不同维度的视图预先设置不同的视图类型定义,从而可以实现对视图的多维度展示。 [0095] Also, the view through a different preset dimensions of the different types of view definitions, which can achieve multi-dimensional view of the display. [0096] 参考图5,图5是本发明实施例提供的一种展示视图的设备结构图。 [0096] Referring to FIG 5, FIG. 5 is a view showing structural diagram of a device according to an embodiment of the present invention. 如图5所示,所述设备包括:[0097] 接收单元501,用于接收用户对视图的访问请求;[0098] 第一创建单元502,用于根据所述对视图的访问请求创建视图类型;[0099] 确定单元503,用于确定是否存储所述对视图的访问请求所对应的视图对象;[0100] 获取单元504,用于若确定存储所述对视图的访问请求所对应的视图对象,则根据所述对视图的访问请求调用数据源获取视图数据;[0101] 第二创建单元505,用于根据所述视图类型和所述视图数据创建视图;[0102] 展示单元506,用于将所述视图展现给所述用户。 5, the apparatus comprising: [0097] a receiving unit 501 for receiving a user access request to view; [0098] a first creating unit 502 for creating the view type according to the access request to view ; [0099] determination unit 503 for determining whether to store the view object access request corresponding to the view; [0100] acquiring unit 504, a view object for storing said access request if the view corresponding to the determined , then according to the call request for access to the data source view data acquired view; [0101] the second creating unit 505 for creating a view of the view and the view data type; [0102] display unit 506, for the view presented to the user. [0103] 所述设备还包括:[0104] 存储单元,用于存储所述创建的视图对象和所述视图数据。 [0103] The apparatus further comprises: [0104] a storage unit for storing said created view objects and view the data. [0105] 所述设备还包括过滤单元507,所述过滤单元507具体用于:[0106] 当确定存储有所述对视图的访问请求所对应视图对象时,过滤掉无权访问的视图对象。 [0105] The apparatus 507 further comprises a filter unit, the filter unit 507 is specifically configured to: [0106] is stored when it is determined that the access request corresponds to the view object in view, filter out the view object does not have access. [0107] 本发明实施例提供一种展示视图的设备,所述设备通过接收用户对视图的访问请求;根据所述对视图的访问请求创建视图类型;根据所述对视图的访问请求调用数据源获取视图数据;根据所述视图类型和所述视图数据创建视图;将所述视图展现给所述用户,从而解决创建视图的问题。 Example embodiments provide a view showing an apparatus of the [0107] present invention, the device access request by receiving a user view; creating view type according to the access request to view; call request according to the access to the data source view Gets the view data; creating a view according to the view and the view data type; the view presented to the user, thereby solving the problem to create a view. [0108] 同时,通过为不同维度的视图预先设置不同的视图类型定义,从而可以实现对视图的多维度展示。 [0108] Also, the view through a different preset dimensions of the different types of view definitions, which can achieve multi-dimensional view of the display. [0109] 参考图6,图6是本发明实施例提供的一种展示视图的设备结构图。 [0109] Referring to FIG 6, FIG. 6 is a view showing structural diagram of a device according to an embodiment of the present invention. 参考图6,图6是本发明实施例提供的设备600,本发明具体实施例并不对所述设备的具体实现做限定。 Referring to FIG 6, FIG. 6 is a device provided in the embodiment 600 of the present invention, particular embodiments of the present invention is not limited to do a specific implementation of the device. 所述设备600包括:[0110]处理器(processor)601,通信接口(Communications Interface)602,存储器(memory) 603,总线604。 The device 600 comprises: [0110] processor (processor) 601, a communication interface (Communications Interface) 602, memory (memory) 603, a bus 604. [0111] 处理器601,通信接口602,存储器603通过总线604完成相互间的通信。 [0111] processor 601, communications interface 602, memory 603 perform communication with each other through a bus 604. [0112] 通信接口602,用于与其他设备进行通信;[0113] 处理器601,用于执行程序。 [0112] The communication interface 602 for communicating with other devices; [0113] processor 601 for execution. [0114] 具体地,程序可以包括程序代码,所述程序代码包括计算机操作指令。 [0114] In particular, the program may include program code, the program code includes computer operating instructions. [0115] 处理器601可能是一个中央处理器CPU,或者是特定集成电路ASIC (ApplicationSpecific Integrated Circuit),或者是被配置成实施本发明实施例的一个或多个集成电路。 [0115] The processor 601 may be a central processing unit CPU, a specific integrated circuit or ASIC (ApplicationSpecific Integrated Circuit), or configured to implement one or more embodiments of the integrated circuit embodiments of the present invention. [0116] 存储器603,用于存放程序。 [0116] memory 603 for program storage. 存储器603可能包含高速RAM存储器,也可能还包括非易失性存储器(non-volatile memory)。 High-speed memory 603 may include RAM memory, and may also include non-volatile memory (non-volatile memory). 程序具体可以包括:[0117] 接收用户对视图的访问请求;[0118] 根据所述对视图的访问请求创建视图类型;[0119] 根据所述对视图的访问请求调用数据源获取视图数据;[0120] 根据所述视图类型和所述视图数据创建视图;[0121] 将所述视图展现给所述用户。 Specific procedures may include: [0117] receiving a user request for access to a view; [0118] The request to create the view type of the access to the view; [0119] a request to invoke a data acquisition source based on the view data to the view access; [ 0120] creating the view and the view type of the view data; [0121] to show the view to the user. [0122] 所述方法还包括:[0123] 为不同维度的视图预先设置不同的视图类型定义,其中,所述不同维度的视图包括但不限于:以存储设备为视角的视图、以主机为视角的视图或以应用为视角的视图。 [0122] The method further comprises: [0123] set different types of views for different dimensions of views defined in advance, wherein the dimensions of the different views include but are not limited to: storage devices in a perspective view in perspective of host applications to view or perspective view. [0124] 所述视图类型定义包括节点菜单定义、视图工具菜单定义、链路菜单定义,所述节点菜单定义用于定义视图中节点的菜单展示属性,所述视图工具菜单定义用于定义视图中工具栏的菜单展示属性,所述链路菜单定义用于定义视图中链路的菜单展示属性。 [0124] The view includes a node type definition menu definitions, menu definitions view of the tool, the link menu definition, the node definition defines a menu view menu display attribute of the node, the view of the tool for defining the view menu definitions toolbar menu display attribute of the link menu menu definition defining a view showing a link attribute. [0125] 所述根据所述视图类型和所述视图数据创建视图包括:[0126] 根据所述视图类型和所述视图数据创建视图对象;[0127] 根据所述试图对象,创建视图。 [0125] The view comprises creating a view according to the type and the view data: [0126] The view objects of the view and the view data type; [0127] The attempt of the subject, to create a view. [0128] 所述方法还包括:[0129] 存储所述创建的视图对象和所述视图数据。 [0128] The method further comprising: view object [0129] and storing said created view the data. [0130] 所述根据所述对视图的访问请求创建视图类型之前,还包括:[0131] 确定是否存储所述对视图的访问请求所对应的视图对象,如果否,执行所述根据所述对视图的访问请求创建视图类型的步骤。 [0130] According to the view prior to the request to create access to view type, further comprising: [0131] determining whether the view object storage access request corresponding to the view, if no, according to the execution of the access to a view of the steps to create the type request view. [0132] 所述方法还包括:[0133] 当确定存储有所述对视图的访问请求所对应视图对象时,过滤掉无权访问的视图对象。 [0132] The method further comprises: [0133] is stored when it is determined that the access request corresponds to the view object in view, filter out the view object does not have access. [0134] 本发明实施例提供一种展示视图的方法,所述方法通过接收用户对视图的访问请求;根据所述对视图的访问请求创建视图类型;根据所述对视图的访问请求调用数据源获取视图数据;根据所述视图类型和所述视图数据创建视图;将所述视图展现给所述用户,从而解决创建视图的问题。 Example embodiments provide a view showing a method of [0134] the present invention, the method by receiving a request to access a user view; creating view type according to the access request to view; call request according to the access to the data source view Gets the view data; creating a view according to the view and the view data type; the view presented to the user, thereby solving the problem to create a view. [0135] 本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。 [0135] Those of ordinary skill in the art may understand that the above-described method embodiments all or part of the processes may be related hardware instructed by a computer program, the program may be stored in a computer readable storage medium. when the program is executed, the processes of the foregoing method embodiments. 其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory, ROM)或随机存取存储器(Random AccessMemory,简称RAM)等。 Wherein the storage medium may be a magnetic disk, an optical disk, read-only memory (Read-Only Memory, ROM) or random access memory (Random AccessMemory, referred to as RAM). [0136] 以上所揭露的仅为本发明较佳实施例而已,当然不能以此来限定本发明之权利范围,因此依本发明权利要求所作的等同变化,仍属本发明所涵盖的范围。 [0136] the preferred embodiments disclosed above are merely embodiments of the present invention, it, of course, not intended to limit the scope of the invention, therefore equivalent changes made under this invention as claimed in claim still covered by the scope of the present invention.

Claims (14)

1.一种展现视图的方法,其特征在于,所述方法包括接收用户对视图的访问请求; 根据所述对视图的访问请求创建视图类型; 根据所述对视图的访问请求调用数据源获取视图数据; 根据所述视图类型和所述视图数据创建视图,以向所述用户展示所述视图。 A method of view presentation, characterized in that the method comprises receiving a user access request to view; creating view type according to the access request to view; view of obtaining access to the data source view call request transactions; Create view and the view type of the view data, said view to show to the user.
2.根据权利要求1所述的方法,其特征在在于,所述方法还包括: 为不同维度的视图预先设置不同的视图类型定义,其中,所述不同维度的视图包括但不限于:以存储设备为视角的视图、以主机为视角的视图或以应用为视角的视图。 The method according to claim 1, characterized in that the method further comprises: setting different types of views for different dimensions of views defined in advance, wherein the dimensions of the different views include but are not limited to: storing is a perspective view of the device, to view or perspective of host applications in a perspective view.
3.根据权利要求2所述的方法,其特征在在于, 所述视图类型定义包括节点菜单定义、视图工具菜单定义、链路菜单定义,所述节点菜单定义用于定义视图中节点的菜单展示属性,所述视图工具菜单定义用于定义视图中工具栏的菜单展示属性,所述链路菜单定义用于定义视图中链路的菜单展示属性。 3. The method according to claim 2, characterized in that the view type definition includes the definition of a node menu, menu definitions view of the tool, the link menu definition, the node definition defines a menu in the menu view nodes property, the view of the tool menu definition defines the view toolbar menu display attribute of the link menu menu definition defining a view showing a link attribute.
4.根据权利要求1-3任意一项所述的方法,其特征在在于,所述根据所述视图类型和所述视图数据创建视图包括: 根据所述视图类型和所述视图数据创建视图对象; 根据所述试图对象,创建视图。 4. The method according to any one of claims 1-3, characterized in that said view comprises creating a view according to the type and the view data: The view objects said view and the view data type ; tried according to the object to create a view.
5.根据权利要求4所述的方法,其特征在在于,所述方法还包括: 存储所述创建的视图对象和所述视图数据。 The method according to claim 4, characterized in that the method further comprises: storing said created view objects and view the data.
6.根据权利要求1-3任意一项所述的方法,其特征在在于,所述根据所述对视图的访问请求创建视图类型之前,还包括: 确定是否存储所述对视图的访问请求所对应的视图对象,如果否,执行所述根据所述对视图的访问请求创建视图类型的步骤。 The method according to any one of claims 1-3 claims, characterized in that, according to the view prior to the request to create access to view type, further comprising: determining whether the storage access request to view corresponding view object, if not, performing the step of creating the view type according to the access request to view.
7.根据权利要求6所述的方法,其特征在在于,所述方法还包括: 当确定存储有所述对视图的访问请求所对应视图对象时,过滤掉无权访问的视图对象。 7. The method according to claim 6, characterized in that the method further comprises: determining when the view object is stored corresponding to said access request to view, filter out the view object does not have access.
8.一种展示视图的设备,其特征在于,所述设备包括: 接收单元,用于接收用户对视图的访问请求; 第一创建单元,用于根据所述对视图的访问请求创建视图类型; 获取单元,用于根据所述对视图的访问请求调用数据源获取视图数据; 第二创建单元,用于根据所述视图类型和所述视图数据创建视图,所述视图用于展现给所述用户。 A view of the display device, wherein, said apparatus comprising: receiving means for receiving a user access request to view; a first creating unit configured to create a view on the view type according to the access request; acquiring means for acquiring the data source view call request according to the access to the data view; a second creation unit for creating the view and the view type of the view data, the view presented to the user for .
9.根据权利要求8所述的设备,其特征在于,所述设备还包括: 设置单元,用于为不同维度的视图预先设置不同的视图类型定义,其中,所述不同维度的视图包括但不限于:以存储设备为视角的视图、以主机为视角的视图或以应用为视角的视图。 9. The apparatus according to claim 8, characterized in that, said apparatus further comprising: a setting unit for setting different views for different types of defined dimensions previously views, wherein dimensions of the different views include, but are not limited to: storage devices in a perspective view, a view in perspective of host applications or in perspective view.
10.根据权利要求9所述的设备,其特征在于,所述视图类型定义包括节点菜单定义、视图工具菜单定义、链路菜单定义,所述节点菜单定义用于定义视图中节点的菜单展示属性,所述视图工具菜单定义用于定义视图中工具栏的菜单展示属性,所述链路菜单定义用于定义视图中链路的菜单展示属性。 10. The apparatus according to claim 9, wherein said view includes a node type definition menu definitions, menu definitions view of the tool, the link menu definition, the node definition defines a menu view menu display attribute node the view menu definition tool view toolbar menu definition attributes for display, the menu definition defining a link menu view showing a link attribute.
11.根据权利要求8-10任意一项所述的设备,其特征在于,所述第二创建单元,具体用于: 根据所述视图类型和所述视图数据创建视图对象; 根据所述试图对象,创建视图。 11. The apparatus according to claim any one of claims 8-10, wherein the second creating unit is configured to: according to the view objects of the view and the view data type; according to the subject attempts to , create a view.
12.根据权利要求11所述的设备,其特征在于,所述设备还包括: 存储单元,用于存储所述创建的视图对象和所述视图数据。 12. The apparatus as claimed in claim 11, wherein said apparatus further comprises: a storage unit for storing said created view objects and view the data.
13.根据权利要求8-10任意一项所述的设备,其特征在于,所述设备还包括确定单元,所述确定单元具体用于: 确定是否存储所述对视图的访问请求所对应的视图对象,如果否,执行所述根据所述对视图的访问请求创建视图类型的步骤。 13. The apparatus according to claim any one of claims 8-10, characterized in that said apparatus further comprises a determining unit, said determining unit is configured to: determine whether to store the access request is a view corresponding to the view objects, if not, performing the step of creating the view type of the access request according to the view.
14.根据权利要求13所述的设备,其特征在于,所述设备还包括过滤单元,所述过滤单元具体用于: 当确定存储有所述对视图的访问请求所对应视图对象时,过滤掉无权访问的视图对象。 14. The apparatus according to claim 13, wherein said apparatus further comprises a filter unit, the filter unit is configured to: when it is determined that the stored access request corresponding to the view object in view, filtered no right to view the object access.
CN201310268925.XA 2013-06-28 2013-06-28 A method and apparatus to show the view CN103324484B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310268925.XA CN103324484B (en) 2013-06-28 2013-06-28 A method and apparatus to show the view

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310268925.XA CN103324484B (en) 2013-06-28 2013-06-28 A method and apparatus to show the view

Publications (2)

Publication Number Publication Date
CN103324484A true CN103324484A (en) 2013-09-25
CN103324484B CN103324484B (en) 2017-07-28

Family

ID=49193253

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310268925.XA CN103324484B (en) 2013-06-28 2013-06-28 A method and apparatus to show the view

Country Status (1)

Country Link
CN (1) CN103324484B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016023160A1 (en) * 2014-08-11 2016-02-18 华为技术有限公司 Method and device for loading view of application and electronic terminal
CN105589689A (en) * 2015-11-25 2016-05-18 杭州华三通信技术有限公司 Business management device and method applied in network management system
WO2017193530A1 (en) * 2016-05-12 2017-11-16 中兴通讯股份有限公司 Image generation method, device, and terminal

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6978422B1 (en) * 2001-09-28 2005-12-20 Emc Corporation Methods and apparatus for displaying managed resource information
US7191410B1 (en) * 2002-12-02 2007-03-13 Sap Ag Managing information display
CN101030224A (en) * 2006-03-03 2007-09-05 国际商业机器公司 System and method for building a unified query that spans heterogeneous environments
CN101640824A (en) * 2009-09-07 2010-02-03 中兴通讯股份有限公司 Frame device for establishing end-to-end business and use method thereof
CN102027474A (en) * 2008-05-15 2011-04-20 微软公司 Data viewer management
CN102104510A (en) * 2011-03-01 2011-06-22 北京中创信测科技股份有限公司 Data view processing method and system
CN102521401A (en) * 2011-12-24 2012-06-27 北京数码大方科技有限公司 Method and device for processing data view

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6978422B1 (en) * 2001-09-28 2005-12-20 Emc Corporation Methods and apparatus for displaying managed resource information
US7191410B1 (en) * 2002-12-02 2007-03-13 Sap Ag Managing information display
CN101030224A (en) * 2006-03-03 2007-09-05 国际商业机器公司 System and method for building a unified query that spans heterogeneous environments
CN102027474A (en) * 2008-05-15 2011-04-20 微软公司 Data viewer management
CN101640824A (en) * 2009-09-07 2010-02-03 中兴通讯股份有限公司 Frame device for establishing end-to-end business and use method thereof
CN102104510A (en) * 2011-03-01 2011-06-22 北京中创信测科技股份有限公司 Data view processing method and system
CN102521401A (en) * 2011-12-24 2012-06-27 北京数码大方科技有限公司 Method and device for processing data view

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016023160A1 (en) * 2014-08-11 2016-02-18 华为技术有限公司 Method and device for loading view of application and electronic terminal
CN105589689A (en) * 2015-11-25 2016-05-18 杭州华三通信技术有限公司 Business management device and method applied in network management system
WO2017193530A1 (en) * 2016-05-12 2017-11-16 中兴通讯股份有限公司 Image generation method, device, and terminal

Also Published As

Publication number Publication date
CN103324484B (en) 2017-07-28

Similar Documents

Publication Publication Date Title
US20140372515A1 (en) System and method for providing virtual web access
US8924592B2 (en) Synchronization of server-side cookies with client-side cookies
US9323835B2 (en) Cloud-based web content filtering
US9584364B2 (en) Reporting performance capabilities of a computer resource service
JP2017504857A (en) Document management and collaboration system
US9917889B2 (en) Enterprise service bus routing system
JP5821678B2 (en) Web services for automatic compatibility check that does not depend on the browser of the web application
US20150363368A1 (en) Transforming HTML Forms into Mobile Native Forms
US20140136944A1 (en) Real time web development testing and reporting system
CN101946248B (en) Method and apparatus for providing API service and making API mash-up, and computer readable recording medium thereof
Yue et al. Geoprocessing in cloud computing platforms–a comparative analysis
US8887182B2 (en) Hybrid applications
CN103713891A (en) Method and device for graphic rendering on mobile device
WO2013078041A1 (en) 3d modeling system distributed between a client device web browser and a server
US9432247B2 (en) Instantiating resources of an IT-service
US8195706B2 (en) Configuration management visualization
JP6185843B2 (en) Animation adjustment across multiple applications or processes
CN103853812B (en) A method and system for providing a web page
US20140095720A1 (en) Allocating instantiated resources to an it-service
US20150128121A1 (en) Dynamic application version selection
US9373094B2 (en) Dynamic web services system and method
JP6210978B2 (en) Automatic conversion and code generation user interface object
CN104133828B (en) Drag and drop the clipboard for html document
US9720658B2 (en) Application creation method and apparatus
US9459862B2 (en) Automated porting of application to mobile infrastructures

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
GR01