WO2008014651A1 - Method and device for exhibiting graph of apparatus - Google Patents

Method and device for exhibiting graph of apparatus Download PDF

Info

Publication number
WO2008014651A1
WO2008014651A1 PCT/CN2007/001168 CN2007001168W WO2008014651A1 WO 2008014651 A1 WO2008014651 A1 WO 2008014651A1 CN 2007001168 W CN2007001168 W CN 2007001168W WO 2008014651 A1 WO2008014651 A1 WO 2008014651A1
Authority
WO
WIPO (PCT)
Prior art keywords
slot
chassis
frame
model
scale
Prior art date
Application number
PCT/CN2007/001168
Other languages
French (fr)
Chinese (zh)
Inventor
Runsong Wang
Zefeng Lin
Original Assignee
Huawei Technologies 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 Huawei Technologies Co., Ltd. filed Critical Huawei Technologies Co., Ltd.
Publication of WO2008014651A1 publication Critical patent/WO2008014651A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/20Drawing from basic elements, e.g. lines or circles
    • G06T11/206Drawing of charts or graphs

Definitions

  • the present invention relates to the field of network management technologies, and in particular, to a device graphics display method and apparatus. Background technique
  • Each chassis has multiple slots for inserting boards.
  • one device includes n chassis, and the chassis 1 includes m slots.
  • n chassis are displayed from top to bottom according to the association relationship between the device and the chassis; in each chassis, each slot is displayed from left to right according to the association relationship between the chassis and the slot.
  • the slot in which the plate is inserted can directly display the plates associated with the slot, each slot or panel having the same size and shape. In this way, the frame 1 will be displayed as a horizontally arranged slot or plate, and the total number of slots and plates is m.
  • the main purpose of the embodiments of the present invention is to provide a device graphic display method, which solves the problem that the display mode is single in the prior art and cannot display the real structural condition of the complex device, and the structure of various devices is truly displayed.
  • Another object of embodiments of the present invention is to provide a device graphic presentation device that simply and efficiently exhibits the structure of various devices.
  • An embodiment of the present invention provides a device graphic display method, where the method includes the steps of: establishing various chassis models, and storing slot scale information in each chassis model;
  • the presentation graph of the device is generated according to the obtained slot scale information.
  • An embodiment of the present invention further provides a device graphic presentation device, where the device includes: a chassis model establishing module, configured to establish various chassis models, including generating slot scale information in the chassis model and saving the storage module Medium
  • a storage module configured to store slot scale information in each chassis model
  • a query module configured to obtain, from the storage module, all the chassis models corresponding to the device to be presented and the slot scale information thereof;
  • a graphics generating module configured to generate a presentation mode of the device according to the obtained slot scale information.
  • the frame of different structures in various devices is corresponding to the corresponding frame model by model design, and the slot scale information in each chassis model is stored.
  • the presentation graphics of the device are automatically generated.
  • the data information required in device management is greatly reduced, and complex device graphics of various irregular shapes can be conveniently displayed in one design.
  • Improve equipment management efficiency In particular, for the resource management and network management of the telecommunication enterprise, there are tens of thousands of devices to be managed.
  • the specific chassis model is bound to the slot information, and only hundreds of management can be reduced to The data information of dozens of frame models can be used. Moreover, when a device with a new structural frame is added to the network, it is only necessary to increase the frame model in the database, which greatly reduces the workload of the manager.
  • FIG. 1 is a schematic diagram of the correspondence between the chassis, the slot, the board, and the port in the device in the prior art
  • FIG. 2 is a schematic diagram showing the relationship between the chassis, the slot, and the board in the device shown in the prior art;
  • FIG. 4 is a flow chart of establishing a chassis model in an embodiment of the method of the present invention.
  • FIG. 5 is a schematic diagram showing the frame of the machine frame initialized in the method embodiment of the present invention.
  • FIG. 6 is a schematic diagram showing a graphical representation of a graphic based on the initialization shown in FIG. 5;
  • FIG. 7 is a schematic diagram of a simulation design prototype of an application example of the present invention.
  • FIG. 8 is a schematic view of a frame model panel of a corresponding first frame in the prototype shown in FIG. 7.
  • FIG. 9 is a schematic view of a frame model panel of a corresponding second frame in the prototype shown in FIG. 7.
  • the embodiment of the present invention maps the frame of different structures in various devices to the corresponding frame model by model design, and stores the slot scale information in each frame model. In this way, when the device structure in the network needs to be viewed, all the chassis models corresponding to the device and the slot scale information of the device are obtained from the stored information, and then the presentation graphics of the device are automatically generated according to the information.
  • FIG. 3 is a flowchart of an embodiment of the method of the present invention, including the following steps: Step 301: Establish various chassis models, and store slot scale information in each chassis model. Since all the frames are placed from top to bottom in one device, it is only necessary to record the frame order regardless of the placement of the frames in the device. There can be multiple slots in one frame, and the position of the board depends entirely on the position of the slot. Therefore, for a chassis, if you want to understand the structure inside the chassis, you only need to determine the positional relationship of each slot. That is to say, the figure of a device can be considered to be composed of one or more frame graphics, and each frame graphic is determined by the number and positional relationship of its internal slots.
  • the present invention utilizes the example model design principle to establish various chassis models. That is, the same model can correspond to multiple instances. The size and shape of these instances can be consistent, such as the chassis in different devices and the slots in the chassis. The difference between these examples is that the business in the instance is different. In the case of the case 1 and the case 2, their shapes are the same. The difference is that the first slot of the instance chassis 1 has a board inserted, and the first slot of the instance chassis 2 has no card.
  • the position information of each slot in the frame model can be established and saved to the database by defining the panel, and then the view can be used to make the frame instances with similar structures share the location information.
  • the position information of the groove can be characterized by a parameter such as the position, size and/or shape of the groove relative to the scale of the frame size parameter.
  • the process of establishing the slot scale information in the chassis model can be implemented by means of graphic design, and the specific process will be described in detail later.
  • Step 302 When you need to view the device structure on the network, obtain all the chassis models and their slot scale information corresponding to the device.
  • the frame model number corresponding to the device and its arrangement order are obtained according to the configuration information in the network, and then the frame model corresponding to the frame model number is obtained from the storage information in sequence. And its slot scale information.
  • a device consists of one or several frames. Therefore, a device graphic is composed of graphics of these frames, and a frame graphic is inserted from one to several slots or slots. The graphics of the board are combined.
  • Each chassis is associated with a chassis model in the database. In this way, all the frames belonging to this chassis model can share this part of the information.
  • Step 303 Generate a presentation graphic of the device according to the slot scale information.
  • the actual height of slot(k) in the graph the height scale of the slot (k) xSheight.
  • the board is drawn according to the size ratio of the slot slot (k). After all the frame graphics are drawn according to the above process, the presentation graphics of the device are generated.
  • FIG. 4 is a flowchart of establishing a chassis model in the method of the present invention, including the following steps: Step 401: Obtain basic information of a chassis model, and the information may include a height, a length, a number of slots, and the like of the chassis.
  • Step 402 Check whether there is panel design information in the database that matches the basic information of the chassis model. If yes, go to step 403; otherwise, go to step 404.
  • Step 403 Display the graphic according to the panel design information of the frame model stored in the database. Then, proceed to step 406.
  • Step 404 Initialize the display graphic according to the number of slots in the frame model.
  • an initial graphical representation can be provided, such as the one shown in Figure 5.
  • Step 405 Design a frame model graphic according to the position of the slot in the chassis, including the slot arrangement, the vertices of the slot, and the size of the slot. '
  • Step 406 Obtain the scale of the position of each slot in the chassis model, that is, the slot scale information of the slot.
  • the position of each slot in the frame model is mainly the ratio of the apex, length and width of each slot to the length and width of the frame model.
  • the coordinates, length and width of the vertex of the frame model, and the coordinates, length and width of the vertex of each slot are obtained.
  • i is the serial number of slot Si in the frame model
  • the vertex coordinates of Si are [SiX, SiY]
  • the width of slot Si is siW
  • the height is siH
  • the coordinates of the vertex of the frame model are [X, Y]
  • the height of the box model is SFH
  • the width is SFW
  • Si width scale siW / SFW
  • Step 407 Save the slot scale information of each slot to the database.
  • a chassis model is built.
  • the information is extracted from the database, and the frame can be completely displayed.
  • the frame model information corresponding to other chassis is also extracted from the database, and all the information can be used to display a complete device panel structure.
  • step 403 of the foregoing process after the frame model panel matching the input frame model basic information in the database is displayed, the process may proceed to step 405 to perform on the basis of the displayed frame model panel.
  • Graphic Design
  • the device graphics presentation process of the embodiment of the method of the present invention is exemplified below.
  • the device has two frames S71 and S72. Among them, there are five slots in the frame S71.
  • the panel models of the two frames are first designed.
  • the information of whether each slot is inserted into the board may be configured in advance on the management device.
  • the slot of the slot may be located at the slot.
  • the pattern of the board is drawn, and the pattern of the slot is directly drawn for the slot without the board.
  • the storage medium may be a read only memory, a random access memory, a magnetic disk, an optical disk, or the like.
  • FIG. 10 is a block diagram showing the structure of an embodiment of a device for displaying a device in the present invention:
  • the device comprises: a frame model building module M1, a storage module M2, a query module M3, and a graphic generation module M4.
  • the chassis model establishing module M1 is configured to create various chassis models, including generating slot scale information in the chassis model and storing the information in the storage module M2.
  • the storage module M2 is configured to store slots in each chassis model.
  • the scale module information is used by the query module M3 to obtain all the chassis models corresponding to the device to be presented and the slot scale information of the device to be presented when the device graphics are to be presented; the graphics generation module M4 is configured to obtain the slot according to the query module M3.
  • the scale information generates a presentation graphic of the device.
  • the frame model building module M1 includes a scale calculation submodule Mil and a write submodule M12.
  • the scale calculation sub-module Mil is used to calculate the scale occupied by the position of each slot in the chassis model; the write sub-module M12 is used to write the calculated scale information to the storage module M2.
  • the graphic generation module M4 includes: a slot position sub-calculation module M41 and a drawing sub-module M42.
  • the slot position calculation sub-module M41 is configured to calculate vertex coordinates, width, and height of the slot according to the slot scale information, the frame height, and the frame width acquired by the query module M2.
  • the drawing module M42 is configured to calculate the slot according to the slot position.
  • the vertex coordinates, width, and height information of the slot calculated by the module M41 are used to draw a pattern of each slot in the frame.
  • the scale calculation submodule Mil needs to be based on the basic information of the chassis model, including the height of the chassis, the length ratio, the number of slots, the location, Size, etc., calculate the scale of each slot in the frame model, including the coordinates of the vertices of each slot in the frame, the length and width of each slot, and the length and width of the frame model. Proportional information of degrees.
  • the query module M3 queries the storage information in the storage module M2 according to the configuration information of the device, and obtains the frame model and the slot ratio information corresponding to the device. Then, the graphics generation module M4 generates a presentation pattern of the device based on the slot scale information.
  • the slot position calculation sub-module M41 After obtaining the information of each frame model and its slot scale, the slot position calculation sub-module M41 first generates the graphics of each frame according to the following procedure:
  • the actual height of slot(k) in the graph the height of slot(k) xSheight.
  • the drawing sub-module M42 draws the pattern of the slot(k) according to the calculated actual position of the slot (k). Once the graphics of all the slots in a frame have been drawn, a complete frame graphic will be displayed. Once all the frame graphics have been drawn, a complete device graphic is generated.
  • the board is drawn according to the size ratio of the slot (k), otherwise, only the board can be drawn.
  • An empty slot and identifies that the slot has no card.
  • the graphic format of the last presentation may be determined according to requirements, for example, according to whether the slots in the configuration information are inserted into the board to identify the state of the slot in each slot, and the pattern of the slot in which the slot is inserted is added with a stripe or a ground color to Show the difference between the slot and the slot without the board.

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Numerical Control (AREA)
  • Processing Or Creating Images (AREA)

Abstract

A method for exhibiting the graph of apparatus comprises the following steps: building various frame models, and saving the information of slot-position scale in each frame model; acquiring all the frame models corresponding to the apparatus to be exhibited and the information of slot-position scale thereof; generating the exhibited graph of apparatus based on the information of slot-position scale. A device for exhibiting graph of apparatus comprises: a frame model building module, a saving module, a querying module, and a graph generating module. Whereby, it is possible to exhibit the configuration of various apparatus simply and effectively.

Description

设备图形展现方法及装置  Device graphic display method and device
本申请要求于 2006 年 7 月 28 日提交中国专利局、 申请号为 200610103941.3, 发明名称为"设备图形展现方法及装置"的中国专利申请的优 先权, 其全部内容通过引用结合在本申请中。  The present application claims priority to Chinese Patent Application No. 200610103941.3, the entire disclosure of which is incorporated herein by reference.
技术械 Technical equipment
本发明涉及网络管理技术领域, 具体涉及一种设备图形展现方法及装置。 背景技术  The present invention relates to the field of network management technologies, and in particular, to a device graphics display method and apparatus. Background technique
随着通讯业务的高速发展,网络建设的规模越来越大,结构也越来越复杂。 因此,有效地对网络及资源进行管理是保证网络正常运行的关键之一。设备管 理作为资源管理中最核心的部分,需要对每个板、每个端口都能进行有效地管 理。  With the rapid development of communication services, the scale of network construction is getting larger and larger, and the structure is becoming more and more complicated. Therefore, effectively managing the network and resources is one of the keys to ensuring the normal operation of the network. As the core part of resource management, device management requires effective management of each board and each port.
一个设备中往往有多个机框,每个机框上有多个槽, 用于插入板, 每个板 上还有多个端口, 如图 1所示:  There are often multiple chassis in a device. Each chassis has multiple slots for inserting boards. There are multiple ports on each board, as shown in Figure 1:
设备 E1上有 5个机框, 第三个机框 E13中有 5个槽, 第二个槽 E132中的板上 设有多个端口。  There are five chassis on the E1 device, five slots on the third chassis E13, and multiple ports on the second slot E132.
在大型的数据管理系统中,特别是在电信运营管理系统中,对于真实设备, 如果单单从表格形式的数据来看,很难和设备的实际结构及资源使用情况对应 起来。 因此, 大多采用图形方式来展现设备的结构及资源使用情况。  In large data management systems, especially in telecom operation management systems, it is difficult for real devices to correspond to the actual structure and resource usage of the device, simply from the tabular data. Therefore, most of the graphical methods are used to show the structure and resource usage of the device.
在现有技术中, 通常利用从设备到机框、从机框到槽、从槽到板的关系来 体现它们之间的关联情况。 如图 2所示, 一个设备包括 n个机框, 其中机框 1包 括 m个槽。 在进行设备图形展现时, 按照设备与机框的关联关系从上至下显示 n个机框; 在每个机框内, 按照机框与槽的关联关系从左至右显示各个槽, 对 其上插有板的槽可以直接显示该槽所关联的板,每个槽或者板都具有相同的大 小和形状。 这样, 机框 1会显示为水平排列的槽或者板, 槽和板的总数为 m个。  In the prior art, the relationship between the device to the chassis, the chassis to the slot, and the slot to the board is usually utilized to reflect the relationship between them. As shown in Figure 2, one device includes n chassis, and the chassis 1 includes m slots. When performing device graphic presentation, n chassis are displayed from top to bottom according to the association relationship between the device and the chassis; in each chassis, each slot is displayed from left to right according to the association relationship between the chassis and the slot. The slot in which the plate is inserted can directly display the plates associated with the slot, each slot or panel having the same size and shape. In this way, the frame 1 will be displayed as a horizontally arranged slot or plate, and the total number of slots and plates is m.
目前, 随着业务功能的增加, 新型的设备不断推出, 设备的形状和种类也 不断在增多。 这种单一的展现方式, 对特殊设备无法准确展现。 比如, 一个由 两个机框组成的设备, 其中两个机框中的板的位置并不是全部水平放置, 而且 板的大小和形状不一致的情况下,现有的图形展现技术就无法按照真实的设备 结构来显示, 给设备的施工及生产带来不便。 发明内容 At present, with the increase of business functions, new types of equipment are continuously introduced, and the shape and types of equipment are constantly increasing. This single presentation is not accurate for special devices. For example, a device consisting of two frames, where the positions of the plates in the two frames are not all horizontally placed, and the size and shape of the plates are inconsistent, the existing graphic display technology cannot be true. The structure of the equipment is displayed to bring inconvenience to the construction and production of the equipment. Summary of the invention
本发明实施例的主要目的是提供一种设备图形展现方法,以解决现有技术 中展现方式单一、不能展现复杂设备真实结构状况的问题,真实展现各种设备 的结构。  The main purpose of the embodiments of the present invention is to provide a device graphic display method, which solves the problem that the display mode is single in the prior art and cannot display the real structural condition of the complex device, and the structure of various devices is truly displayed.
本发明实施例的另一个目的是提供一种设备图形展现装置, 以简单、有效 地展现各种设备的结构。  Another object of embodiments of the present invention is to provide a device graphic presentation device that simply and efficiently exhibits the structure of various devices.
本发明实施例提供了一种设备图形展现方法, 所述方法包括步骤: 建立各种机框模型, 并存储各机框模型中的槽位比例尺信息;  An embodiment of the present invention provides a device graphic display method, where the method includes the steps of: establishing various chassis models, and storing slot scale information in each chassis model;
获取要展现的设备对应的机框模型及其槽位比例尺信息;  Obtain the frame model corresponding to the device to be displayed and its slot scale information;
根据获取的槽位比例尺信息生成该设备的展现图形。  The presentation graph of the device is generated according to the obtained slot scale information.
本发明实施例还提供了一种设备图形展现装置, 所述装置包括: 机框模型建立模块, 用于建立各种机框模型, 包括生成机框模型中的槽位 比例尺信息并保存在存储模块中;  An embodiment of the present invention further provides a device graphic presentation device, where the device includes: a chassis model establishing module, configured to establish various chassis models, including generating slot scale information in the chassis model and saving the storage module Medium
存储模块, 用于存储各机框模型中的槽位比例尺信息;  a storage module, configured to store slot scale information in each chassis model;
查询模块 ,用于从所述存储模块中获取要展现的设备对应的所有机框模型 及其槽位比例尺信息;  a query module, configured to obtain, from the storage module, all the chassis models corresponding to the device to be presented and the slot scale information thereof;
图形生成模块, 用于根据所获取的槽位比例尺信息生成该设备的展现图 形。  And a graphics generating module, configured to generate a presentation mode of the device according to the obtained slot scale information.
本发明实施例通过模型化设计,将各种设备内不同结构的机框对应到相应 的机框模型, 并存储各机框模型中的槽位比例尺信息。 这样, 当需要查看网络 中的设备结构时,只需从存储的信息中获得该设备对应的所有机框模型及其槽 位比例尺信息。 然后, 根据这些信息, 即可自动生成该设备的展现图形。 通过 这种方式不仅能够简单有效地展现各种设备的真实结构,大大减少了设备管理 中所需的数据信息; 而且只需一次设计, 即可方便地展现各种不规则形状的复 杂设备图形,提高了设备管理效率。尤其是对于电信企业的资源管理及网络管 理, 需要管理的设备有上万个, 利用本发明的实施例, 将特定机框模型与其槽 位信息绑定, 只需管理上百上甚至可以减少到几十个机框模型的数据信息即 可。 而且, 当有新结构机框的设备加入到网络中时, 只需增加数据库中的机框 模型, 大大减少了管理人员的工作量。 附图说明 In the embodiment of the present invention, the frame of different structures in various devices is corresponding to the corresponding frame model by model design, and the slot scale information in each chassis model is stored. In this way, when you need to view the device structure in the network, you only need to obtain all the chassis models and their slot scale information corresponding to the device from the stored information. Then, based on this information, the presentation graphics of the device are automatically generated. In this way, not only can the actual structure of various devices be simply and effectively displayed, the data information required in device management is greatly reduced, and complex device graphics of various irregular shapes can be conveniently displayed in one design. Improve equipment management efficiency. In particular, for the resource management and network management of the telecommunication enterprise, there are tens of thousands of devices to be managed. By using the embodiment of the present invention, the specific chassis model is bound to the slot information, and only hundreds of management can be reduced to The data information of dozens of frame models can be used. Moreover, when a device with a new structural frame is added to the network, it is only necessary to increase the frame model in the database, which greatly reduces the workload of the manager. DRAWINGS
图 1是现有技术中设备内机框、 槽、 板、 端口对应关系示意图; 图 2是现有技术中用图形展示的设备内机框、 槽、 板的关联关系示意图; 图 3是本发明方法的一个实施例的流程图;  1 is a schematic diagram of the correspondence between the chassis, the slot, the board, and the port in the device in the prior art; FIG. 2 is a schematic diagram showing the relationship between the chassis, the slot, and the board in the device shown in the prior art; A flow diagram of one embodiment of a method;
图 4是本发明方法实施例中建立机框模型的流程图;  4 is a flow chart of establishing a chassis model in an embodiment of the method of the present invention;
图 5是本发明方法实施例中初始化的机框图形展现示意图;  FIG. 5 is a schematic diagram showing the frame of the machine frame initialized in the method embodiment of the present invention; FIG.
图 6是基于图 5所示初始化的图形经设计后的图形展现示意图; 图 7是本发明一个应用示例的模拟设计原型示意图;  6 is a schematic diagram showing a graphical representation of a graphic based on the initialization shown in FIG. 5; FIG. 7 is a schematic diagram of a simulation design prototype of an application example of the present invention;
图 8是图 7所示原型中对应的第一机框的机框模型面板示意图; 图 9是图 7所示原型中对应的第二机框的机框模型面板示意图; 图 10是本发明装置的一个实施例的结构示意框图。  8 is a schematic view of a frame model panel of a corresponding first frame in the prototype shown in FIG. 7. FIG. 9 is a schematic view of a frame model panel of a corresponding second frame in the prototype shown in FIG. 7. FIG. A schematic block diagram of the structure of one embodiment.
具体实施方式 detailed description
本发明的实施例通过模型化设计,将各种设备内不同结构的机框对应到相 应的机框模型, 并存储各机框模型中的槽位比例尺信息。 这样, 当需要查看网 络中的设备结构时,从存储的信息中获得该设备对应的所有机框模型及其槽位 比例尺信息, 然后, 根据这些信息自动生成该设备的展现图形。  The embodiment of the present invention maps the frame of different structures in various devices to the corresponding frame model by model design, and stores the slot scale information in each frame model. In this way, when the device structure in the network needs to be viewed, all the chassis models corresponding to the device and the slot scale information of the device are obtained from the stored information, and then the presentation graphics of the device are automatically generated according to the information.
为了使本技术领域的人员更好地理解本发明,下面结合附图和实施方式对 本发明的实施例作进一步的详细说明。  In order to make those skilled in the art better understand the present invention, the embodiments of the present invention are further described in detail below with reference to the accompanying drawings and embodiments.
参照图 3 , 图 3是本发明方法的一个实施例的流程图, 包括以下步骤: 步骤 301 : 建立各种机框模型, 并存储各机框模型中的槽位比例尺信息。 由于在一个设备中, 所有的机框都是从上而下摆放的, 因此, 可以不考虑 设备内各机框的摆放关系, 只需记录机框顺序。 在一个机框内可以有多个槽, 而板的位置完全取决于槽的位置, 因此对于一个机框,如果想要了解该机框内 的结构, 也只需确定各槽的位置关系。 也就是说, 可以认为一个设备的图形就 是由一个或多个机框图形组成的,而每个机框图形是由其内部槽的数量及位置 关系来决定的。  Referring to FIG. 3, FIG. 3 is a flowchart of an embodiment of the method of the present invention, including the following steps: Step 301: Establish various chassis models, and store slot scale information in each chassis model. Since all the frames are placed from top to bottom in one device, it is only necessary to record the frame order regardless of the placement of the frames in the device. There can be multiple slots in one frame, and the position of the board depends entirely on the position of the slot. Therefore, for a chassis, if you want to understand the structure inside the chassis, you only need to determine the positional relationship of each slot. That is to say, the figure of a device can be considered to be composed of one or more frame graphics, and each frame graphic is determined by the number and positional relationship of its internal slots.
基于这种关系, 本发明利用实例模型设计原理, 建立各种机框模型。 即同 一个模型可以对应多个实例, 这些实例的大小、 形状可以是一致的, 比如不同 设备中的机框、 机框中的槽。 这些实例之间不同的是实例中的业务不同, 如实 例机框 1和实例机框 2, 他们的形状大小是一致的, 不同是实例机框 1的第一 个槽中插了板, 而实例机框 2的第一个槽上没有插板。 Based on this relationship, the present invention utilizes the example model design principle to establish various chassis models. That is, the same model can correspond to multiple instances. The size and shape of these instances can be consistent, such as the chassis in different devices and the slots in the chassis. The difference between these examples is that the business in the instance is different. In the case of the case 1 and the case 2, their shapes are the same. The difference is that the first slot of the instance chassis 1 has a board inserted, and the first slot of the instance chassis 2 has no card.
由于设备中的机框有大量的实例, 而按结构分,机框模型则是数量很有限 的。这样,可以通过定义面板的方式将机框模型中每个槽的位置信息建立起来 同时保存到数据库, 然后再利用视图泱射出来,使结构类似的机框实例可以共 享这些位置信息。  Since there are a large number of instances of the chassis in the device, and the structure is divided, the number of chassis models is very limited. In this way, the position information of each slot in the frame model can be established and saved to the database by defining the panel, and then the view can be used to make the frame instances with similar structures share the location information.
考虑到使用的便利性, 槽的位置信息可以釆用槽的位置、 大小和 /或形状 等参数相对于机框尺寸参数的比例尺来表征。机框模型中的槽位比例尺信息的 建立过程可以通过图形设计的方式来实现, 具体过程将在后面详细描述。  Taking into account the ease of use, the position information of the groove can be characterized by a parameter such as the position, size and/or shape of the groove relative to the scale of the frame size parameter. The process of establishing the slot scale information in the chassis model can be implemented by means of graphic design, and the specific process will be described in detail later.
步骤 302: 当需要查看网络中的设备结构时, 获取该设备对应的所有机框 模型及其槽位比例尺信息。  Step 302: When you need to view the device structure on the network, obtain all the chassis models and their slot scale information corresponding to the device.
为了方便设备管理人员对机框模型的查询,可以预先在网管设备上配置网 络内各设备对应的机框模型编号及其排列顺序。 这样, 对应于每一个设备, 就 可以根据网络中的配置信息获取该设备对应的机框模型编号及其排列顺序,然 后依序从所述存储信息中获取与机框模型编号对应的机框模型及其槽位比例 尺信息。  To facilitate the device administrator to query the chassis model, you can configure the chassis model numbers and their order in the network on the NMS. In this way, corresponding to each device, the frame model number corresponding to the device and its arrangement order are obtained according to the configuration information in the network, and then the frame model corresponding to the frame model number is obtained from the storage information in sequence. And its slot scale information.
如果网络中的设备型号或结构发生改变, 则可以修改这些配置信息,使管 理人员可以准确查找到与该设备对应的所有机框模型的信息。  If the device model or structure in the network changes, you can modify these configuration information so that the administrator can find the information of all the chassis models corresponding to the device.
前面已经描述, 一个设备由一个或者几个机框組成, 因此, 一个设备图形 就是由这些机框的图形组合而成,而一个机框图形又是由一个至几个槽或者槽 上所插的板的图形组合而成。每个机框都关联到数据库中的一个机框模型。这 样, 所有属于这种机框模型的机框可以共享这部分信息。  As described above, a device consists of one or several frames. Therefore, a device graphic is composed of graphics of these frames, and a frame graphic is inserted from one to several slots or slots. The graphics of the board are combined. Each chassis is associated with a chassis model in the database. In this way, all the frames belonging to this chassis model can share this part of the information.
步骤 303: 根据槽位比例尺信息生成该设备的展现图形。  Step 303: Generate a presentation graphic of the device according to the slot scale information.
得到每个机框模型及其槽位比例尺信息后,按照以下过程生成每个机框的 图形:  After obtaining the information of each frame model and its slot scale, use the following procedure to generate a graphic for each frame:
假设机框在图形中的实际宽度为 Swidth、 实际高度为 Sheight。  Assume that the actual width of the chassis in the drawing is Swidth and the actual height is Sheight.
首先, 计算出槽 slot(k)在图形中应该放置的位置和长度、 宽度。  First, calculate the position, length, and width of the slot slot (k) that should be placed in the drawing.
slot(k)在图形中的实际横坐标=3101;(1 的 X坐标比例尺 xSwidth + Sxi; slot(k)在图形中的实际纵坐 #=slot(k)的 Y坐标比例尺 xSheight + Syi; slot(k)在图形中的实际宽度 =slot(k)的宽度比例尺 xSwidth; Slot(k) The actual abscissa in the graph = 3101; (1 X coordinate scale xSwidth + Sxi; slot (k) in the graph of the actual vertical sitting #=slot(k) Y coordinate scale xSheight + Syi; The actual width of slot(k) in the graph = the width of the slot (k) scale xSwidth;
slot(k)在图形中的实际高度 =slot(k)的高度比例尺 xSheight。  The actual height of slot(k) in the graph = the height scale of the slot (k) xSheight.
其中, Sxi、 Syi为机框的顶点坐标值。  Where Sxi and Syi are the vertex coordinate values of the chassis.
其次, 按照计算出来的 slot(k)实际位置画出 slot(k)的图形。  Next, draw the pattern of slot(k) according to the calculated actual position of slot(k).
最后, 如果 slot(k)上插有板, 则按照槽 slot(k)的尺寸比例将板画出来。 所有机框图形根据上述过程画出后, 就生成了该设备的展现图形。  Finally, if a board is inserted in the slot (k), the board is drawn according to the size ratio of the slot slot (k). After all the frame graphics are drawn according to the above process, the presentation graphics of the device are generated.
首先根据计算出来的具体数值, 利用开发工具(比如 C++、 Java等)来实 现或引用某些图片成为具体图形表示, 如设备框图, 机框框图, 槽框图, 板框 图等等, 然后根据计算出来的具体尺寸将上述图形组合在一起,就实现了完整 设备图形。  First, based on the calculated specific values, use development tools (such as C++, Java, etc.) to implement or reference certain images into specific graphical representations, such as device block diagrams, frame diagrams, slot diagrams, board diagrams, etc., and then calculate The specific dimensions combine the above graphics to achieve a complete device graphic.
参照图 4, 图 4是本发明方法中建立机框模型的流程图, 包括以下步骤: 步驟 401 : 获取机框模型的基本信息, 这些信息可以包括机框的高度、 长 度、 槽的数量等。  Referring to FIG. 4, FIG. 4 is a flowchart of establishing a chassis model in the method of the present invention, including the following steps: Step 401: Obtain basic information of a chassis model, and the information may include a height, a length, a number of slots, and the like of the chassis.
步骤 402: 检查数据库中是否存在匹配于机框模型基本信息的面板设计信 息。 如果存在, 则进到步骤 403; 否则, 进到步驟 404。  Step 402: Check whether there is panel design information in the database that matches the basic information of the chassis model. If yes, go to step 403; otherwise, go to step 404.
步骤 403: 根据数据库中存储的机框模型的面板设计信息来显示图形。 然 后, 进到步骤 406。  Step 403: Display the graphic according to the panel design information of the frame model stored in the database. Then, proceed to step 406.
步骤 404: 按照机框模型中槽的数量, 来初始化显示图形。  Step 404: Initialize the display graphic according to the number of slots in the frame model.
如果是初次设计机框模型的面板图形, 可以提供一个初始化的图形展现, 比如图 5所示的图形, 该机框模型中有五个基本槽位 , 分别为水平排列的 S 1、 S2、 S3、 S4、 S5。  If it is the panel graphic of the initial design of the frame model, an initial graphical representation can be provided, such as the one shown in Figure 5. There are five basic slots in the frame model, which are horizontally arranged S 1 , S 2 , and S3 . , S4, S5.
步骤 405: 根据机框内槽的位置, 包括槽位排列、 槽的顶点、 槽的大小等 信息设计机框模型图形。 '  Step 405: Design a frame model graphic according to the position of the slot in the chassis, including the slot arrangement, the vertices of the slot, and the size of the slot. '
根据需要放大或缩小每个槽的图形,以及修改槽在机框内的坐标、排列等。 比如, 设计完成后的机框模型的图形为图 6所示。  Zoom in or out the graphics of each slot as needed, and modify the coordinates, alignment, etc. of the slots in the chassis. For example, the graphic of the frame model after the design is completed is shown in Figure 6.
步骤 406: 获取每个槽的位置在机框模型中所占的比例尺, 即为该槽的槽 位比例尺信息。  Step 406: Obtain the scale of the position of each slot in the chassis model, that is, the slot scale information of the slot.
每个槽的位置在机框模型中所占的比例尺主要是指每个槽的顶点、长度和 宽度占机框模型的长度和宽度的比例。 在步骤 405 中完成机框模型的图形设计后, 即可获得机框模型的顶点坐 标、 长度和宽度, 以及每个槽的顶点坐标、 长度和宽度等信息。 假设 i为槽 Si 在机框模型中的序列号, Si的顶点坐标为 [SiX, SiY], 槽 Si的宽度为 siW, 高 度为 siH; 机框模型的顶点坐标为 [X, Y] , 机框模型的高度为 SFH, 宽度为 SFW, 则对于槽 Si: The position of each slot in the frame model is mainly the ratio of the apex, length and width of each slot to the length and width of the frame model. After the graphic design of the frame model is completed in step 405, the coordinates, length and width of the vertex of the frame model, and the coordinates, length and width of the vertex of each slot are obtained. Suppose i is the serial number of slot Si in the frame model, the vertex coordinates of Si are [SiX, SiY], the width of slot Si is siW, and the height is siH; the coordinates of the vertex of the frame model are [X, Y], The height of the box model is SFH, the width is SFW, then for slot Si:
Si的横坐标比例尺 = )siX - X| / SFW;  The abscissa scale of Si = )siX - X| / SFW;
Si的纵坐标比例尺 = |siY - Y I / SFH;  The ordinate scale of Si = |siY - Y I / SFH;
Si的宽度比例尺 = siW / SFW;  Si width scale = siW / SFW;
Si的高度比例尺 = siH / SFH;  The height scale of Si = siH / SFH;
这样, 就可以计算出每个槽的槽位比例尺信息。  In this way, the slot scale information for each slot can be calculated.
步骤 407: 将各槽的槽位比例尺信息保存到数据库中。  Step 407: Save the slot scale information of each slot to the database.
这样, 一个机框模型就建立完成了。 当需要查看的设备中有与该模型对应 的机框时, 从数据库中提取出这些信息, 即可完整地展现该机框。 如果需要查 看的设备还包括其他机框 ,同样从数据库中将对应于其他机框的机框模型信息 提取出来, 由这些所有信息即可展现一个完整的设备面板结构图。  In this way, a chassis model is built. When there is a frame corresponding to the model in the device to be viewed, the information is extracted from the database, and the frame can be completely displayed. If the device to be viewed also includes other chassis, the frame model information corresponding to other chassis is also extracted from the database, and all the information can be used to display a complete device panel structure.
需要说明的是,在上述流程的步骤 403中, 在显示数据库中匹配于输入的 机框模型基本信息的机框模型面板后, 也可以进入步骤 405, 以所显示的机框 模型面板为基础进行图形设计。  It should be noted that, in step 403 of the foregoing process, after the frame model panel matching the input frame model basic information in the database is displayed, the process may proceed to step 405 to perform on the basis of the displayed frame model panel. Graphic Design.
下面举例说明本发明方法实施例的设备图形展现过程。  The device graphics presentation process of the embodiment of the method of the present invention is exemplified below.
参照图 7所示, 设备有两个机框 S71、 S72。 其中, 机框 S71中有五个槽 Referring to Figure 7, the device has two frames S71 and S72. Among them, there are five slots in the frame S71.
S711、 S712、 S713、 S714、 S715 , 只有槽 S711、 S712、 S714插有板; 机框 S72有四个槽 S721、 S722、 S723、 S724, 只有槽 S721、 S722、 S724插有板。 S711, S712, S713, S714, and S715, only the slots S711, S712, and S714 are inserted with the board; the frame S72 has four slots S721, S722, S723, and S724, and only the slots S721, S722, and S724 are inserted with the boards.
如果数据库中没有这两种类型的机框模型,则首先对这两个机框的机框模 型进行面板设计。  If there are no two types of frame models in the database, the panel models of the two frames are first designed.
设计后, 机框 S71对应的机框模型面板设计结果如图 8所示, 机框 S72 对应的机框模型面板设计结果如图 9所示。  After design, the design result of the frame model panel corresponding to the frame S71 is shown in Figure 8. The design result of the frame model panel corresponding to the frame S72 is shown in Figure 9.
设计完成后,将图 8和图 9所示的机框模型及其槽位比例尺信息存入数据 库中。  After the design is completed, the frame model shown in Figure 8 and Figure 9 and its slot scale information are stored in the database.
当需要图 7所示设备的图形时,从数据库中获取以上这些信息, 生成该设 备的图形。 When the graphics of the device shown in Figure 7 are needed, the above information is obtained from the database to generate the device. Prepared graphics.
需要说明的是,还可以预先在管理设备上配置各槽是否插板的信息, 在展 现设备图形时,根据配置的各槽是否插板的信息,对插板的槽可以在该槽的位 置将板的图形画出, 对未插板的槽则直接将该槽的图形画出。  It should be noted that the information of whether each slot is inserted into the board may be configured in advance on the management device. When the device graphics are displayed, according to the information of whether the configured slot is inserted, the slot of the slot may be located at the slot. The pattern of the board is drawn, and the pattern of the slot is directly drawn for the slot without the board.
本领域普通技术人员可以理解实现上述方法实施例中的全部或部分步骤 是可以通过程序来指令相关的硬件来完成,所述的程序可以存储于一计算机可 读取存储介质中,该程序在执行时可以包括上述方法实施例中的全部或部分步 骤。 所述的存储介质可以是只读存储器、 随机存储器、 磁碟、 光盘等。  A person skilled in the art can understand that all or part of the steps in implementing the above method embodiments can be completed by a program instructing related hardware, and the program can be stored in a computer readable storage medium, and the program is executed. All or part of the steps in the above method embodiments may be included. The storage medium may be a read only memory, a random access memory, a magnetic disk, an optical disk, or the like.
参照图 10, 图 10示出了本发明中设备图形展现装置实施例的结构示意框 图:  Referring to FIG. 10, FIG. 10 is a block diagram showing the structure of an embodiment of a device for displaying a device in the present invention:
该装置包括: 机框模型建立模块 Ml、 存储模块 M2、 查询模块 M3、 图形 生成模块 M4。 其中, 机框模型建立模块 Ml用于建立各种机框模型, 包括生 成机框模型中的槽位比例尺信息并保存在存储模块 M2中; 存储模块 M2用于 存储各机框模型中的槽位比例尺信息;查询模块 M3用于需要展现设备图形时 从存储模块 M2中获取要展现设备对应的所有机框模型及其槽位比例尺信息; 图形生成模块 M4用于根据查询模块 M3所获取的槽位比例尺信息生成该设备 的展现图形。  The device comprises: a frame model building module M1, a storage module M2, a query module M3, and a graphic generation module M4. The chassis model establishing module M1 is configured to create various chassis models, including generating slot scale information in the chassis model and storing the information in the storage module M2. The storage module M2 is configured to store slots in each chassis model. The scale module information is used by the query module M3 to obtain all the chassis models corresponding to the device to be presented and the slot scale information of the device to be presented when the device graphics are to be presented; the graphics generation module M4 is configured to obtain the slot according to the query module M3. The scale information generates a presentation graphic of the device.
机框模型建立模块 Ml包括比例尺计算子模块 Mil和写入子模块 M12。 其中, 比例尺计算子模块 Mil用于计算各槽的位置在机框模型中所占的比例 尺; 写入子模块 M12用于将计算所得的比例尺信息写入所述存储模块 M2。  The frame model building module M1 includes a scale calculation submodule Mil and a write submodule M12. The scale calculation sub-module Mil is used to calculate the scale occupied by the position of each slot in the chassis model; the write sub-module M12 is used to write the calculated scale information to the storage module M2.
图形生成模块 M4包括: 槽位置子计算模块 M41和绘图子模块 M42。 其 中, 槽位置计算子模块 M41用于根据查询模块 M2获取的槽位比例尺信息、 机框高度和机框宽度计算槽的顶点坐标、 宽度、 高度; 绘图模块 M42用于根 据所述槽位置计算子模块 M41计算出的槽的顶点坐标、 宽度、 高度信息画出 机框中各槽的图形。  The graphic generation module M4 includes: a slot position sub-calculation module M41 and a drawing sub-module M42. The slot position calculation sub-module M41 is configured to calculate vertex coordinates, width, and height of the slot according to the slot scale information, the frame height, and the frame width acquired by the query module M2. The drawing module M42 is configured to calculate the slot according to the slot position. The vertex coordinates, width, and height information of the slot calculated by the module M41 are used to draw a pattern of each slot in the frame.
为了使图形生成模块 M4 能够根据槽位比例尺信息生成该设备的展现图 形, 比例尺计算子模块 Mil需要根据机框模型的基本信, ¾, 包括机框的高度、 长度比例、槽的数量、位置、大小等,计算每个槽在机框模型中所占的比例尺, 包括每个槽在机框中的顶点坐标、每个槽的长度和宽度占机框模型的长度和宽 度的比例信息。 In order to enable the graphics generation module M4 to generate the presentation graphics of the device according to the slot scale information, the scale calculation submodule Mil needs to be based on the basic information of the chassis model, including the height of the chassis, the length ratio, the number of slots, the location, Size, etc., calculate the scale of each slot in the frame model, including the coordinates of the vertices of each slot in the frame, the length and width of each slot, and the length and width of the frame model. Proportional information of degrees.
具体计算过程可参照前面对本发明方法实施例的描述, 在此不再赘述。 这样, 将每个机框模型设计完成并计算机框模型中各槽的槽位比例尺后, 将其持久化, 由写入子模块 M12将这些信息写入存储模块 M2中。  For a specific calculation process, reference may be made to the previous description of the method embodiment of the present invention, and details are not described herein again. In this way, after each chassis model is designed and the slot scale of each slot in the computer frame model is completed, it is persisted, and the information is written into the storage module M2 by the write submodule M12.
当需要查看网络中的设备结构时, 由查询模块 M3根据该设备的配置信息 查询存储模块 M2中的存储信息,得到与该设备对应的各机框模型及其槽位比 例尺信息。 然后, 由图形生成模块 M4根据这些槽位比例尺信息生成该设备的 展现图形。  When the device structure in the network needs to be viewed, the query module M3 queries the storage information in the storage module M2 according to the configuration information of the device, and obtains the frame model and the slot ratio information corresponding to the device. Then, the graphics generation module M4 generates a presentation pattern of the device based on the slot scale information.
得到每个机框模型及其槽位比例尺信息后,首先由槽位置计算子模块 M41 按照以下过程生成每个机框的图形:  After obtaining the information of each frame model and its slot scale, the slot position calculation sub-module M41 first generates the graphics of each frame according to the following procedure:
假设机框在图形中的实际宽度为 Swidth、 实际高度为 Sheight。  Assume that the actual width of the chassis in the drawing is Swidth and the actual height is Sheight.
首先, 计算出槽 slot(k)在图形中应该放置的位置和长度、 宽度。  First, calculate the position, length, and width of the slot slot (k) that should be placed in the drawing.
slot(k)在图形中的实际横坐标 =slot(k)的 X坐标比例尺 xSwidth + Sxi; slot(k)在图形中的实际纵坐标 =slot(k)的 Y坐标比例尺 xSheight + Syi; slot(k)在图形中的实际宽度 =slot(k)的宽度 xSwidth;  Slot(k) The actual abscissa in the graph = the X coordinate scale of slot(k) xSwidth + Sxi; the actual ordinate of slot(k) in the graph = the Y coordinate scale of slot(k) xSheight + Syi; slot( k) the actual width in the graph = the width of the slot (k) xSwidth;
slot(k)在图形中的实际高度 =slot(k)的高度 xSheight。  The actual height of slot(k) in the graph = the height of slot(k) xSheight.
其中, Sxi、 Syi为机框的顶点坐标值。  Where Sxi and Syi are the vertex coordinate values of the chassis.
然后,由绘图子模块 M42按照计算出来的 slot(k)实际位置画出 slot(k)的图 形。一个机框中的所有槽的图形绘制完毕后,一个完整的机框图形即可展现出 来。 所有机框图形绘制完成后, 即生成了完整的设备图形。  Then, the drawing sub-module M42 draws the pattern of the slot(k) according to the calculated actual position of the slot (k). Once the graphics of all the slots in a frame have been drawn, a complete frame graphic will be displayed. Once all the frame graphics have been drawn, a complete device graphic is generated.
当然, 在上述绘制槽的图形过程中, 也可以根据设备的配置信息, 如果 slot(k)上插有板, 则按照槽 slot(k)的尺寸比例将板画出来, 否则, 可以只画出 一个空槽, 并标识该槽没有插板。 可以根据需要来确定最后展现的图形格式, 比如,根据配置信息中各槽是否插板来标识各机框中槽的插板状态,插有板的 槽的图形中加入条紋或底色, 以示与没有插板的槽的区别。  Of course, in the above process of drawing the groove, according to the configuration information of the device, if a board is inserted in the slot (k), the board is drawn according to the size ratio of the slot (k), otherwise, only the board can be drawn. An empty slot, and identifies that the slot has no card. The graphic format of the last presentation may be determined according to requirements, for example, according to whether the slots in the configuration information are inserted into the board to identify the state of the slot in each slot, and the pattern of the slot in which the slot is inserted is added with a stripe or a ground color to Show the difference between the slot and the slot without the board.
虽然通过实施例描绘了本发明,本领域普通技术人员知道,本发明有许多 变形和变化而不脱离本发明的精神,希望所附的权利要求包括这些变形和变化 而不脱离本发明的精神。  While the invention has been described by the embodiments of the present invention, it will be understood that

Claims

权 利 要 求  Rights request
1、 一种设备图形展现方法, 其特征在于, 所述方法包括步骤:  A device graphic display method, characterized in that the method comprises the steps of:
建立各种机框模型, 并存储各机框模型中的槽位比例尺信息;  Establish various chassis models and store slot scale information in each chassis model;
获取要展现的设备对应的机框模型及其槽位比例尺信息;  Obtain the frame model corresponding to the device to be displayed and its slot scale information;
根据获取的槽位比例尺信息生成该设备的展现图形。  The presentation graph of the device is generated according to the obtained slot scale information.
1、 根据权利要求 1所述的方法, 其特征在于, 所述建立各种机框模型并 存储机框模型中的槽位比例尺信息的步驟具体包括:  The method according to claim 1, wherein the step of establishing the various chassis models and storing the slot scale information in the chassis model specifically includes:
根据机框内槽的位置建立与设备实际机框对应的机框模型;  Establish a frame model corresponding to the actual chassis of the device according to the position of the slot in the chassis;
计算各槽的位置在机框模型中所占的比例尺;  Calculate the scale of the position of each slot in the frame model;
将计算得到的槽位比例尺信息存储到数据库中。  Store the calculated slot scale information in the database.
3、 根据权利要求 2所述的方法, 其特征在于, 所述计算各槽位在机框模 型中所占的比例尺的步骤包括:  The method according to claim 2, wherein the step of calculating the scale occupied by each slot in the chassis model comprises:
确定各槽的顶点坐标、 高度和宽度;  Determine the vertex coordinates, height and width of each slot;
根据所述顶点坐标分别计算该槽的顶点相对于机框宽度和机框高度的比 例;  Calculating, according to the vertex coordinates, a ratio of a vertex of the slot to a frame width and a frame height;
计算该槽的宽度相对于机框宽度的比例和该槽的高度相对于机框高度的 比例。  Calculate the ratio of the width of the slot to the width of the chassis and the height of the slot relative to the height of the chassis.
4、 根据权利要求 1所述的方法, 其特征在于, 所述方法进一步包括: 预先配置要展现的设备对应的机框模型编号及其排列顺序;  The method according to claim 1, wherein the method further comprises: pre-configuring a frame model number corresponding to the device to be presented and an arrangement order thereof;
所述获取要展现的设备对应的机框模型及其槽位比例尺信息的步骤具体 包括: 按照要展现设备中的机框模型排列顺序,依次从存储的槽位比例尺信息 中获取与机框模型编号对应的机框模型及其槽位比例尺信息。  The step of obtaining the frame model corresponding to the device to be presented and the slot scale information thereof comprises: sequentially obtaining the frame model number from the stored slot scale information according to the order of the chassis model in the device to be presented Corresponding frame model and its slot scale information.
5、 根据权利要求 1所述的方法, 其特征在于, 所述根据获取的槽位比例 尺信息生成该设备的展现图形的步骤进一步包括:  The method according to claim 1, wherein the step of generating the presentation graphic of the device according to the acquired slot scale information further comprises:
确定各机框的顶点坐标、 机框高度和机框宽度;  Determine the vertex coordinates, frame height, and frame width of each chassis;
根据所述槽位比例尺信息依次确定机框中各槽的顶点坐标、 宽度、 高度; 根据所述确定的机框中各槽的顶点坐标、 宽度、 高度画出各机框。  Determining the coordinates, width, and height of the vertices of each slot in the frame according to the slot scale information; and drawing the chassis according to the coordinates, width, and height of the vertices of the slots in the determined frame.
6、 根据权利要求 5所述的方法, 其特征在于, 所述方法还包括: 预先配 置机框中各槽是否插板; 所述根据确定的机框中各槽的顶点坐标、 宽度、 高度画出各机框的步骤包 括: 根据所配置的槽位是否插板在由该槽的顶点坐标、 宽度和高度确定的位置 画出板的图形或槽的图形。 The method according to claim 5, wherein the method further comprises: pre-configuring whether each slot in the frame is inserted into the slot; The step of drawing each frame according to the coordinates, width, and height of the vertices of the slots in the determined frame includes: drawing according to whether the configured slot is at a position determined by coordinates, width, and height of the vertices of the slot The graphics of the board or the graphics of the slot.
7、根据权利要求 1所述的方法, 其特征在于, 所述槽位比例尺信息包括: 槽的横坐标比例尺、 槽的纵坐标比例尺、 槽的宽度比例尺和槽的高度比例尺。  The method according to claim 1, wherein the slot scale information comprises: an abscissa scale of the slot, a ordinate scale of the slot, a width scale of the slot, and a height scale of the slot.
8、 一种设备图形展现装置, 其特征在于, 所述装置包括:  8. A device graphic presentation device, the device comprising:
机框模型建立模块, 用于建立各种机框模型, 包括生成机框模型中的槽位 比例尺信息并保存在存储模块中;  a chassis model building module for establishing various chassis models, including generating slot scale information in the chassis model and saving the information in the storage module;
存储模块, 用于存储各机框模型中的槽位比例尺信息;  a storage module, configured to store slot scale information in each chassis model;
查询模块,用于从所述存储模块中获取要展现的设备对应的所有机框模型 及其槽位比例尺信息;  a query module, configured to obtain, from the storage module, all the chassis models corresponding to the device to be presented and the slot scale information thereof;
图形生成模块, 用于才艮据所获取的槽位比例尺信息生成该设备的展现图 形。  The graphic generating module is configured to generate a display image of the device according to the obtained slot scale information.
9、 根据权利要求 8所述的装置, 其特征在于, 所述机框模型建立模块包 括:  9. The apparatus according to claim 8, wherein the chassis model establishing module comprises:
比例尺计算子模块, 用于计算各槽的位置在机框模型中所占的比例尺; 写入子模块, 用于将计算所得的槽位比例尺信息写入所述存储模块。  The scale calculation sub-module is configured to calculate a scale occupied by the position of each slot in the chassis model; and a write sub-module, configured to write the calculated slot scale information to the storage module.
10、 根据权利要求 8所述的装置, 其特征在于, 所述图形生成模块包括: 槽位置计算子模块, 用于根据查询模块获取的槽位比例尺信息、机框高度 和机框宽度计算槽的顶点坐标、 宽度、 高度;  The device according to claim 8, wherein the graphics generating module comprises: a slot location calculation sub-module, configured to calculate a slot according to the slot scale information, the frame height and the frame width acquired by the query module. Vertex coordinates, width, height;
绘图子模块,用于根据所述槽位置计算子模块计算出的槽的顶点坐标、 宽 度、 高度信息画出机框中各槽的图形。  The drawing sub-module is configured to draw a graphic of each slot in the frame according to the vertex coordinates, width, and height information of the slot calculated by the slot position calculation sub-module.
PCT/CN2007/001168 2006-07-28 2007-04-11 Method and device for exhibiting graph of apparatus WO2008014651A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200610103941.3 2006-07-28
CNB2006101039413A CN100499503C (en) 2006-07-28 2006-07-28 Equipment pattern exhibiting method and apparatus

Publications (1)

Publication Number Publication Date
WO2008014651A1 true WO2008014651A1 (en) 2008-02-07

Family

ID=38996857

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2007/001168 WO2008014651A1 (en) 2006-07-28 2007-04-11 Method and device for exhibiting graph of apparatus

Country Status (2)

Country Link
CN (1) CN100499503C (en)
WO (1) WO2008014651A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102567570A (en) * 2011-12-02 2012-07-11 曙光信息产业(北京)有限公司 Method for plane display of configurable machine room layouts

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107968723A (en) * 2017-11-17 2018-04-27 中国联合网络通信集团有限公司 A kind of modeling method and Design of digital system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11195136A (en) * 1998-01-06 1999-07-21 Fujitsu Ltd Animation method for three-dimensional model and animation preparation device
CN1614637A (en) * 2003-11-08 2005-05-11 Lg电子有限公司 Method for displaying three-dimensional polygon on screen
CN1622644A (en) * 2003-11-28 2005-06-01 中兴通讯股份有限公司 Data binding method of telecommunication network manager frame board bitmap

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11195136A (en) * 1998-01-06 1999-07-21 Fujitsu Ltd Animation method for three-dimensional model and animation preparation device
CN1614637A (en) * 2003-11-08 2005-05-11 Lg电子有限公司 Method for displaying three-dimensional polygon on screen
CN1622644A (en) * 2003-11-28 2005-06-01 中兴通讯股份有限公司 Data binding method of telecommunication network manager frame board bitmap

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102567570A (en) * 2011-12-02 2012-07-11 曙光信息产业(北京)有限公司 Method for plane display of configurable machine room layouts

Also Published As

Publication number Publication date
CN101114934A (en) 2008-01-30
CN100499503C (en) 2009-06-10

Similar Documents

Publication Publication Date Title
US20090244059A1 (en) System and method for automatically generating virtual world environments based upon existing physical environments
CN102640156B (en) For analyzing the system and method for nonstandard facilities operation intracardiac in the data
CN105117835A (en) A power grid information machine room three-dimensional visualized management platform based on a B/S framework
WO2010031701A1 (en) System and method for managing virtual world environments based upon existing physical environments
US9223847B2 (en) Using dimension substitutions in OLAP cubes
RU2005136998A (en) EFFICIENT AND FLEXIBLE BUSINESS MODELING BASED ON STRUCTURED BUSINESS CHARACTERISTICS
US11941328B2 (en) Audit of computer-aided design documents
US20180359146A1 (en) Detecting and managing recurring patterns in device and service configuration data
CN110070616A (en) Memory, statistical data rendering method, device and equipment based on GIS platform
CN111666355A (en) Model construction method and device for three-layer model of field, data and scene
CN108961406A (en) Geographical information visualization method, apparatus and user terminal
CN106846431B (en) Unified Web graph drawing system supporting multiple expression forms
CN106557280B (en) Date storage method, storage array and host server
WO2008014651A1 (en) Method and device for exhibiting graph of apparatus
CN116152460B (en) Method, device, terminal and medium for generating rock stratum model based on UE4
JP2004164592A (en) System and method for analytically modeling data organized according to related attribute
JP3490395B2 (en) 3D graph display device
CN116188676A (en) Method and device for establishing digital twin model of digital center
CN106850322B (en) Resource equipment management system based on six-layer model
US11336532B1 (en) Diagramming child nodes with multiple parent nodes
CN112489177A (en) Point cloud data rendering and displaying method and system
CN111209359A (en) EMS transformer graph model access GIS platform icon self-adaption system and method
CN101192945A (en) A device status display system and method
CN110378996A (en) Server threedimensional model generation method and generating means
CN111654737B (en) Program synchronization management method and device

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: 07720741

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

NENP Non-entry into the national phase

Ref country code: RU

122 Ep: pct application non-entry in european phase

Ref document number: 07720741

Country of ref document: EP

Kind code of ref document: A1