WO2020078110A1 - Method and apparatus for generating electrical diagram, and electronic device - Google Patents

Method and apparatus for generating electrical diagram, and electronic device Download PDF

Info

Publication number
WO2020078110A1
WO2020078110A1 PCT/CN2019/103206 CN2019103206W WO2020078110A1 WO 2020078110 A1 WO2020078110 A1 WO 2020078110A1 CN 2019103206 W CN2019103206 W CN 2019103206W WO 2020078110 A1 WO2020078110 A1 WO 2020078110A1
Authority
WO
WIPO (PCT)
Prior art keywords
node
nodes
size
displayed
page
Prior art date
Application number
PCT/CN2019/103206
Other languages
French (fr)
Chinese (zh)
Inventor
罗晓
肖振德
古松
黄建军
李彦龙
Original Assignee
珠海格力电器股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 珠海格力电器股份有限公司 filed Critical 珠海格力电器股份有限公司
Publication of WO2020078110A1 publication Critical patent/WO2020078110A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/18Network design, e.g. design based on topological or interconnect aspects of utility systems, piping, heating ventilation air conditioning [HVAC] or cabling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/14Tree-structured documents

Abstract

Provided by the present disclosure are a method and apparatus for generating an electrical diagram, and an electronic device. The apparatus for generating an electrical diagram obtains the size of a screen and node information of each node; invokes corresponding models from a preset database; determines the number of nodes displayed on each page according to the size of the screen; displays models of each node on pages according to the number of nodes displayed on each page; obtains a connection relationship between each node; and connects the models of each node displayed on the pages according to the connection relationship between each node. The present disclosure may enable the generated electrical diagram to be appropriately paged according to the size of the screen, and the electrical diagram of each page may be clearly displayed on the screen, which thereby solves the problems in existing technology of a tedious process, low efficiency and screen display mismatching when designing electrical diagrams.

Description

电气图生成方法及装置、电子设备Electric diagram generating method and device, electronic equipment
相关申请的交叉引用Cross-reference of related applications
本申请是以CN申请号为201811197451.3,申请日为2018年10月15日的申请为基础,并主张其优先权,该CN申请的公开内容在此作为整体引入本申请中。This application is based on the application with the CN application number 201811197451.3 and the application date is October 15, 2018, and claims its priority. The disclosure content of the CN application is hereby incorporated into this application as a whole.
技术领域Technical field
本公开涉及电气图技术领域,具体涉及一种电气图生成方法及装置、电子设备。The present disclosure relates to the technical field of electrical diagrams, and in particular to an electrical diagram generation method and apparatus, and electronic equipment.
背景技术Background technique
在设计建筑物的能源管理系统的相关技术中,通常需要对整体建筑的电气图进行展示。以电表为例,需要根据配电房电路走线,人工手绘电气图。在设计人员完成整体电气图的设计后,将其交由软件开发人员进行页面显示开发及数据显示开发。In the related technology of designing the energy management system of a building, it is usually necessary to show the electrical diagram of the whole building. Taking an electric meter as an example, it is necessary to manually draw an electrical diagram according to the circuit wiring of the power distribution room. After the designer completes the design of the overall electrical diagram, it is handed over to the software developer for page display development and data display development.
发明内容Summary of the invention
根据本公开实施例的第一方面,提供一种电气图生成方法,包括:获取屏幕的尺寸和需要显示的各个节点的节点信息;所述节点信息包括节点的类型、级别和参数;根据所述节点的类型和级别从预设的数据库中调用对应的模型;根据所述屏幕的尺寸,在页面上显示所述各个节点的模型和对应的参数;获取所述各个节点之间的连接关系;根据所述各个节点之间的连接关系,将在所述页面上显示的模型进行相应连接。According to a first aspect of an embodiment of the present disclosure, there is provided a method for generating an electrical diagram, including: obtaining the size of a screen and node information of each node that needs to be displayed; The type and level of the node call the corresponding model from the preset database; according to the size of the screen, display the model of each node and the corresponding parameters on the page; obtain the connection relationship between each node; The connection relationship between the respective nodes is to connect the models displayed on the page accordingly.
在一些实施例中,所述根据所述屏幕的尺寸,在页面上显示所述各个节点的模型和对应的参数包括:根据所述屏幕的尺寸和所述模型的尺寸确定每页页面的节点显示数量;根据所述每页页面的节点显示数量以及所述各个节点的参数,在所述每页页面上显示对应节点的模型和对应的参数。In some embodiments, the displaying the model of each node on the page and the corresponding parameter according to the size of the screen includes: determining the node display of each page of the page according to the size of the screen and the size of the model Quantity; according to the number of nodes displayed on each page and the parameters of each node, the model of the corresponding node and the corresponding parameters are displayed on the page of each page.
在一些实施例中,所述根据所述屏幕的尺寸,在页面上显示所述各个节点的模型和对应的参数包括:根据所述屏幕的尺寸和所述模型的尺寸,确定每个显示页面的节点显示数量;根据所述每个显示页面的节点显示数量,在所述各个节点中选择出与所述每个显示页面相关联的预定数量个节点,其中所述预定数量不超过所述节点显示数量;在所述屏幕的当前页面上,显示出与所述当前页面相关联的节点对应的模型和参数。In some embodiments, the displaying the model of each node and the corresponding parameters on the page according to the size of the screen includes: determining the size of each displayed page according to the size of the screen and the size of the model The number of nodes displayed; according to the number of nodes displayed on each display page, a predetermined number of nodes associated with each display page are selected among the respective nodes, wherein the predetermined number does not exceed the number of nodes displayed Quantity; on the current page of the screen, the models and parameters corresponding to the nodes associated with the current page are displayed.
在一些实施例中,根据所述屏幕的尺寸与所述模型的尺寸的比值确定所述节点显示数量。In some embodiments, the number of node displays is determined according to the ratio of the size of the screen to the size of the model.
在一些实施例中,根据以下公式确定所述节点显示数量:
Figure PCTCN2019103206-appb-000001
其中,w 1为所述屏幕的尺寸,w 0为所述模型的尺寸,所述尺寸为宽度或高度,n为所述节点显示数量,k为大于1的常数,函数
Figure PCTCN2019103206-appb-000002
为向上取整函数。
In some embodiments, the number of displayed nodes is determined according to the following formula:
Figure PCTCN2019103206-appb-000001
Where w 1 is the size of the screen, w 0 is the size of the model, the size is the width or height, n is the number of nodes displayed, k is a constant greater than 1, function
Figure PCTCN2019103206-appb-000002
Is the rounding function up.
在一些实施例中,所述各个节点之间的连接关系通过所述各个节点的父节点和子节点表示。In some embodiments, the connection relationship between the various nodes is represented by a parent node and a child node of each node.
在一些实施例中,最高级的节点的父节点为空,最低级的节点的子节点为空。In some embodiments, the parent node of the highest-level node is empty and the child nodes of the lowest-level node are empty.
在一些实施例中,所述模型为可缩放矢量图形。In some embodiments, the model is a scalable vector graphic.
在一些实施例中,所述节点的参数存储在对应可缩放矢量图形的xml文件中。In some embodiments, the parameters of the nodes are stored in xml files corresponding to scalable vector graphics.
根据本公开实施例的第一方面,提供一种电气图生成装置,包括:输入单元,被配置为获取屏幕的尺寸和需要显示的各个节点的节点信息;所述节点信息包括节点的类型、级别和参数;还被配置为获取所述各个节点之间的连接关系;模型调用单元,被配置为根据所述节点的类型和级别从预设的数据库中调用对应的模型;分页显示单元,被配置为根据所述屏幕的尺寸,在页面上显示所述各个节点的模型和对应的参数;还被配置为根据所述各个节点之间的连接关系,将在所述页面上显示的模型进行相应连接。According to a first aspect of an embodiment of the present disclosure, there is provided an electrical diagram generating apparatus, including: an input unit configured to obtain a screen size and node information of each node that needs to be displayed; the node information includes the type and level of the node And parameters; also configured to obtain the connection relationship between the various nodes; a model calling unit, configured to call the corresponding model from a preset database according to the type and level of the node; a paging display unit, configured In order to display the model of each node and the corresponding parameters on the page according to the size of the screen; it is also configured to connect the model displayed on the page accordingly according to the connection relationship between each node .
在一些实施例中,分页显示单元被配置为根据所述屏幕的尺寸和所述模型的尺寸,确定每个显示页面的节点显示数量,根据所述每个显示页面的节点显示数量,在所述各个节点中选择出与所述每个显示页面相关联的预定数量个节点,其中所述预定数量不超过所述节点显示数量,在所述屏幕的当前页面上,显示出与所述当前页面相关联的节点对应的模型和参数。In some embodiments, the paging display unit is configured to determine the number of nodes displayed on each display page according to the size of the screen and the size of the model, and according to the number of nodes displayed on each display page, in the Each node selects a predetermined number of nodes associated with each of the displayed pages, where the predetermined number does not exceed the number of nodes displayed, and on the current page of the screen, relevant to the current page is displayed The model and parameters corresponding to the connected node.
在一些实施例中,分页显示单元被配置为根据所述屏幕的尺寸与所述模型的尺寸的比值确定所述节点显示数量。In some embodiments, the paging display unit is configured to determine the number of node displays according to the ratio of the size of the screen to the size of the model.
在一些实施例中,分页显示单元被配置为根据以下公式确定所述节点显示数量:
Figure PCTCN2019103206-appb-000003
其中,w 1为所述屏幕的尺寸,w 0为所述模型的尺寸,所述尺寸为宽度或高度,n为所述节点显示数量,k为大于1的常数,函数
Figure PCTCN2019103206-appb-000004
为向上取整函数。
In some embodiments, the paging display unit is configured to determine the number of nodes displayed according to the following formula:
Figure PCTCN2019103206-appb-000003
Where w 1 is the size of the screen, w 0 is the size of the model, the size is the width or height, n is the number of nodes displayed, k is a constant greater than 1, function
Figure PCTCN2019103206-appb-000004
Is the rounding function up.
在一些实施例中,所述各个节点之间的连接关系通过所述各个节点的父节点和子 节点表示。In some embodiments, the connection relationship between the various nodes is represented by a parent node and a child node of each node.
在一些实施例中,最高级的节点的父节点为空,最低级的节点的子节点为空。In some embodiments, the parent node of the highest-level node is empty and the child nodes of the lowest-level node are empty.
在一些实施例中,所述模型为可缩放矢量图形。In some embodiments, the model is a scalable vector graphic.
在一些实施例中,所述节点的参数存储在对应可缩放矢量图形的xml文件中。In some embodiments, the parameters of the nodes are stored in xml files corresponding to scalable vector graphics.
根据本公开实施例的第三方面,提供一种电子设备,其特征在于,包括存储器和处理器,所述存储器和所述处理器之间互相通信连接,所述存储器中存储有计算机指令,所述处理器通过执行所述计算机指令,从而执行如上述任一实施例项所述的电气图生成方法。According to a third aspect of the embodiments of the present disclosure, an electronic device is provided, which includes a memory and a processor, and the memory and the processor are communicatively connected to each other, and the memory stores computer instructions. By executing the computer instructions, the processor executes the electrical diagram generation method described in any of the above embodiments.
根据本公开实施例的第四方面,提供一种计算机可读存储介质,其中所述计算机可读存储介质存储有计算机指令,所述计算机指令用于使所述计算机执行如上述任一实施例所述的电气图生成方法。According to a fourth aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to cause the computer to execute as described in any of the above embodiments The described electrical diagram generation method.
通过以下参照附图对本公开的示例性实施例的详细描述,本公开的其它特征及其优点将会变得清楚。Other features and advantages of the present disclosure will become clear through the following detailed description of exemplary embodiments of the present disclosure with reference to the drawings.
附图说明BRIEF DESCRIPTION
为了更清楚地说明本公开实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本公开的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly explain the embodiments of the present disclosure or the technical solutions in the prior art, the following will briefly introduce the drawings required in the embodiments or the description of the prior art. Obviously, the drawings in the following description are only These are some embodiments of the present disclosure. For those of ordinary skill in the art, without paying creative labor, other drawings can be obtained based on these drawings.
图1示出了本公开一个实施例的电气图生成方法的流程示意图;FIG. 1 shows a schematic flowchart of an electrical diagram generation method according to an embodiment of the present disclosure;
图2示出了本公开一个实施例的一级电表节点的模型示意图;2 shows a schematic diagram of a model of a first-level meter node according to an embodiment of the present disclosure;
图3示出了本公开一个实施例的二级电表节点的模型示意图;3 shows a schematic diagram of a model of a two-level meter node according to an embodiment of the present disclosure;
图4示出了本公开一个实施例的三级电表节点的模型示意图;4 shows a schematic diagram of a model of a three-level electric meter node according to an embodiment of the present disclosure;
图5示出了本公开另一实施例的电气图生成方法的流程示意图;5 shows a schematic flowchart of a method for generating an electrical diagram according to another embodiment of the present disclosure;
图6示出了本公开一个实施例的电气图的示意图;6 shows a schematic diagram of an electrical diagram of an embodiment of the present disclosure;
图7示出了本公开一个实施例的电气图生成装置的结构示意图;7 shows a schematic structural diagram of an electrical diagram generating apparatus according to an embodiment of the present disclosure;
图8示出了本公开一个实施例的电子设备的结构示意图。FIG. 8 shows a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
具体实施方式detailed description
为使本公开实施例的目的、技术方案和优点更加清楚,下面将结合本公开实施例中的 附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。To make the objectives, technical solutions, and advantages of the embodiments of the present disclosure more clear, the technical solutions in the embodiments of the present disclosure will be described clearly and completely in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments It is a part of the embodiments of the present disclosure, but not all the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those skilled in the art without creative work fall within the protection scope of the present disclosure.
发明人通过研究发现,在相关技术中,通过人工绘制的电气图在使用不同尺寸的屏幕进行显示的过程中,常存在尺寸不匹配的问题,从而导致电气图无法清楚地显示在屏幕上。The inventor discovered through research that, in the related art, when manually drawing electrical diagrams using screens of different sizes for display, there is often a problem of size mismatch, resulting in that the electrical diagram cannot be clearly displayed on the screen.
据此,本公开提供一种电气图能够与屏幕尺寸相匹配的方案。According to this, the present disclosure provides a scheme in which the electrical diagram can be matched with the screen size.
图1示出了本公开一个实施例的电气图生成方法的流程示意图。在一些实施例中,下列的电气图生成方法步骤由电气图生成装置执行。FIG. 1 shows a schematic flowchart of an electrical diagram generation method according to an embodiment of the present disclosure. In some embodiments, the following electrical diagram generating method steps are performed by the electrical diagram generating apparatus.
在步骤S101:获取屏幕的尺寸和需要显示的各个节点的节点信息。节点信息包括节点的类型、级别和参数。In step S101: obtain the size of the screen and the node information of each node that needs to be displayed. The node information includes the type, level and parameters of the node.
在步骤S102:根据节点的类型和级别从预设的数据库中调用对应的模型。In step S102: the corresponding model is called from a preset database according to the type and level of the node.
在一些实施例中,预设的数据库中存储的模型可以为SVG(Scalable Vector Graphics,可缩放矢量图形)。SVG用于描述二维矢量图形,由万维网联盟制定,是一个开放标准。In some embodiments, the model stored in the preset database may be SVG (Scalable Vector Graphics). SVG is used to describe two-dimensional vector graphics, developed by the World Wide Web Consortium, and is an open standard.
图2至图4示出了本公开一些实施例的电表节点模型示意图。Figures 2 to 4 show schematic diagrams of meter node models of some embodiments of the present disclosure.
图2至图4分别示出了通过SVG绘制的一级电表节点、二级电表节点和三级电表节点的模型示意图图2给出了一级电表节点的模型示意图,No.XXX表示节点名称,Ia、Ib和Ic分别表示a相电流、b相电流和c相电流,P表示功率。图3给出了二级电表节点的模型示意图,No.XXX表示节点名称,Ia、Ib和Ic分别表示a相电流、b相电流和c相电流,P表示功率,U表示电压。图4给出了三级电表节点的模型示意图,No.XXX表示节点名称,Ia、Ib和Ic分别表示a相电流、b相电流和c相电流。在一些实施例中,相应的名称及参数可以存储在SVG的XML(eXtensible Markup Language,可扩展标记语言)文件中。SVG具有可伸缩特性,可对基于矢量的图形进行自定义。在一些实施例中,在一个页面显示时,最多可显示到三级,如果一级、二级节点较多时,一个页面显示到二级节点,甚至一级节点。Figures 2 to 4 show the model diagrams of the first-level meter nodes, the second-level meter nodes and the third-level meter nodes drawn by SVG. Figure 2 shows the model diagrams of the first-level meter nodes. No.XXX represents the node name. Ia, Ib, and Ic represent a-phase current, b-phase current, and c-phase current, respectively, and P represents power. Figure 3 shows the model diagram of the second-level meter node. No. XXX represents the node name, Ia, Ib and Ic represent the a-phase current, b-phase current and c-phase current, P represents the power and U represents the voltage. Figure 4 shows the model diagram of the three-level meter node. No. XXX represents the node name, and Ia, Ib, and Ic represent the a-phase current, b-phase current, and c-phase current, respectively. In some embodiments, the corresponding names and parameters may be stored in SVG XML (eXtensible Markup Language, Extensible Markup Language) files. SVG is scalable and can be customized for vector-based graphics. In some embodiments, when one page is displayed, it can be displayed up to three levels. If there are many first-level and second-level nodes, one page is displayed to the second-level nodes or even the first-level nodes.
在步骤S103:根据屏幕的尺寸,在页面上显示各个节点的模型和对应的参数。In step S103: according to the size of the screen, the model of each node and the corresponding parameters are displayed on the page.
在一些实施例中,根据屏幕的尺寸和模型的尺寸确定每页页面的节点显示数量。根据每页页面显示的节点显示数量以及各个节点的参数,在每页页面上显示各个对应节点的模型和对应的参数。需要说明的是,将屏幕每次显示的内容视为一个显示页面。In some embodiments, the number of nodes displayed on each page is determined according to the size of the screen and the size of the model. According to the number of nodes displayed on each page and the parameters of each node, the model and corresponding parameters of each corresponding node are displayed on each page. It should be noted that the content displayed on the screen each time is regarded as a display page.
在一些实施例中,根据屏幕的尺寸与模型的尺寸的比值确定节点显示数量。例如,可以根据以下公式确定每页的节点显示数量:In some embodiments, the number of node displays is determined according to the ratio of the size of the screen to the size of the model. For example, the number of nodes displayed per page can be determined according to the following formula:
Figure PCTCN2019103206-appb-000005
Figure PCTCN2019103206-appb-000005
其中,w 1为屏幕的尺寸,w 0为模型的尺寸,上述尺寸可以为宽度或高度。n为每页的节点显示数量,k为大于1的常数,函数
Figure PCTCN2019103206-appb-000006
为向上取整函数。例如,对于分辨率为800×600、1024×768及1920×1080的屏幕尺寸,每页的节点显示数量可分别为5个、7个和9个。
Among them, w 1 is the size of the screen, w 0 is the size of the model, the above-mentioned size can be width or height. n is the number of nodes displayed per page, k is a constant greater than 1, the function
Figure PCTCN2019103206-appb-000006
Is the rounding function up. For example, for screen sizes with resolutions of 800 × 600, 1024 × 768, and 1920 × 1080, the number of nodes displayed per page can be 5, 7, and 9, respectively.
在一些实施例中,根据每个显示页面的节点显示数量,将第一级节点和第二级节点所对应的模型通过第一显示页面进行显示,将第三级节点所对应的模型通过第二显示页面进行显示。In some embodiments, according to the number of nodes displayed on each display page, the models corresponding to the first-level nodes and the second-level nodes are displayed through the first display page, and the models corresponding to the third-level nodes are displayed through the second Display the page to display.
由此,可根据屏幕的尺寸,将需要显示的各个节点分页面显示,从而确保每一页面的显示内容都能清楚地显示在屏幕上。Therefore, according to the size of the screen, each node that needs to be displayed can be displayed in pages, thereby ensuring that the display content of each page can be clearly displayed on the screen.
在步骤S104:获取各个节点之间的连接关系。In step S104: obtain the connection relationship between each node.
在一些实施例中,在生成电气图的过程中,对于一级节点、二级节点、三级节点等,可以使用树状形式进行数据存储,并为每个节点配置对应的父节点和子节点,从而利用父节点和子节点表征各个节点之间的连接关系。例如,为了为每一节点均配置父节点及子节点,可以根据节点的级别,确定最高级的节点的父节点为空,最低级的节点的子节点为空。In some embodiments, in the process of generating the electrical diagram, for the first-level nodes, the second-level nodes, the third-level nodes, etc., a tree-like form may be used for data storage, and a corresponding parent node and child node are configured for each node Therefore, the parent node and the child node are used to characterize the connection relationship between each node. For example, in order to configure a parent node and a child node for each node, it can be determined that the parent node of the highest-level node is empty and the child nodes of the lowest-level node are empty according to the level of the node.
例如,如果节点只有三级,那么一级节点的父节点设为空,其子节点为相连的二级节点。二级节点的父节点为相连的一级节点,其子节点为相连的三级节点。三级节点的父节点为相连的二级节点,其子节点设为空。For example, if the node has only three levels, the parent node of the first-level node is set to null, and its child nodes are connected second-level nodes. The parent node of the second-level node is the connected first-level node, and its child node is the connected third-level node. The parent node of the third-level node is the connected second-level node, and its child nodes are set to empty.
在上述实施例中,图2给出了一级电表节点的模型示意图,图3给出了二级电表节点的模型示意图,图4给出了三级电表节点的模型示意图。相应地,还可给三级电表节点设置相应的子节点,从而获得四级电表节点。还可给四级电表节点设置相应的子节点,从而获得五级电表节点。以此类推。In the above embodiment, FIG. 2 shows a model schematic diagram of a first-level meter node, FIG. 3 shows a model schematic diagram of a second-level meter node, and FIG. 4 shows a model schematic diagram of a three-level meter node. Correspondingly, corresponding sub-nodes can also be set for the three-level ammeter node, so as to obtain the four-level ammeter node. Corresponding sub-nodes can also be set for the four-level ammeter node to obtain the five-level ammeter node. And so on.
在步骤S105:根据各个节点之间的连接关系,将在页面上显示的模型进行相应连接。In step S105: according to the connection relationship between each node, the model displayed on the page is connected accordingly.
图2示出了本公开另一个实施例的电气图生成方法的流程示意图。在一些实施例中,下列的电气图生成方法步骤由电气图生成装置执行。FIG. 2 shows a schematic flowchart of a method for generating an electrical diagram according to another embodiment of the present disclosure. In some embodiments, the following electrical diagram generating method steps are performed by the electrical diagram generating apparatus.
在步骤S201:获取屏幕的尺寸和需要显示的各个节点的节点信息。节点信息包括节点的类型、级别和参数。In step S201: obtain the size of the screen and the node information of each node that needs to be displayed. The node information includes the type, level and parameters of the node.
在步骤S202:根据节点的类型和级别从预设的数据库中调用对应的模型。In step S202: the corresponding model is called from the preset database according to the type and level of the node.
在一些实施例中,预设的数据库中存储的模型可以为SVG(Scalable Vector Graphics, 可缩放矢量图形)。SVG用于描述二维矢量图形,由万维网联盟制定,是一个开放标准。In some embodiments, the model stored in the preset database may be SVG (Scalable Vector Graphics, scalable vector graphics). SVG is used to describe two-dimensional vector graphics, developed by the World Wide Web Consortium, and is an open standard.
在步骤S203:根据屏幕的尺寸和模型的尺寸,确定每个显示页面的节点显示数量。需要说明的是,将屏幕每次显示的内容视为一个显示页面。In step S203: according to the size of the screen and the size of the model, determine the number of nodes displayed on each display page. It should be noted that the content displayed on the screen each time is regarded as a display page.
在一些实施例中,根据屏幕的尺寸与模型的尺寸的比值确定节点显示数量。例如,通过利用上述公式(1)来确定每页的节点显示数量。In some embodiments, the number of node displays is determined according to the ratio of the size of the screen to the size of the model. For example, the number of nodes displayed per page is determined by using the above formula (1).
在步骤S204:根据每个显示页面的节点显示数量,在各个节点中选择出与每个显示页面相关联的预定数量个节点,其中预定数量不超过节点显示数量。In step S204: according to the node display number of each display page, a predetermined number of nodes associated with each display page are selected from the various nodes, where the predetermined number does not exceed the node display number.
在一些实施例中,根据每个显示页面的节点显示数量,将第一级节点和第二级节点所对应的模型通过第一显示页面进行显示,将第三级节点所对应的模型通过第二显示页面进行显示。In some embodiments, according to the number of nodes displayed on each display page, the models corresponding to the first-level nodes and the second-level nodes are displayed through the first display page, and the models corresponding to the third-level nodes are displayed through the second Display the page to display.
由此,可根据屏幕的尺寸,将需要显示的各个节点分页面显示,从而确保每一页面的显示内容都能清楚地显示在屏幕上。Therefore, according to the size of the screen, each node that needs to be displayed can be displayed in pages, thereby ensuring that the display content of each page can be clearly displayed on the screen.
在步骤S205,在屏幕的当前页面上,显示出与当前页面相关联的节点对应的模型和参数。In step S205, on the current page of the screen, the model and parameters corresponding to the nodes associated with the current page are displayed.
在步骤S206:获取各个节点之间的连接关系。In step S206: obtain the connection relationship between each node.
在一些实施例中,在生成电气图的过程中,对于一级节点、二级节点、三级节点等,可以使用树状形式进行数据存储,并为每个节点配置对应的父节点和子节点,从而利用父节点和子节点表征各个节点之间的连接关系。例如,为了为每一节点均配置父节点及子节点,可以根据节点的级别,确定最高级的节点的父节点为空,最低级的节点的子节点为空。In some embodiments, in the process of generating the electrical diagram, for the first-level nodes, the second-level nodes, the third-level nodes, etc., a tree-like form may be used for data storage, and a corresponding parent node and child node are configured for each node, Therefore, the parent node and the child node are used to characterize the connection relationship between each node. For example, in order to configure a parent node and a child node for each node, it can be determined that the parent node of the highest-level node is empty and the child nodes of the lowest-level node are empty according to the level of the node.
例如,如果节点只有三级,那么一级节点的父节点设为空,其子节点为相连的二级节点。二级节点的父节点为相连的一级节点,其子节点为相连的三级节点。三级节点的父节点为相连的二级节点,其子节点设为空。For example, if the node has only three levels, the parent node of the first-level node is set to null, and its child nodes are connected second-level nodes. The parent node of the second-level node is the connected first-level node, and its child node is the connected third-level node. The parent node of the third-level node is the connected second-level node, and its child nodes are set to empty.
在步骤S207:根据各个节点之间的连接关系,将在当前页面上显示的模型进行相应连接。In step S207: according to the connection relationship between each node, the model displayed on the current page is connected accordingly.
在一些实施例中,在绘制电气图的过程中,可以以一级节点为根节点,二级节点和三级节点分别为叶节点。例如,可以选取页面上方中间点为开始坐标,根据用户设置的一级节点类型,从标准图块资源库选取对应的节点图块以绘制第一节点,并将第一节点作为根节点。接下来,依次在一级节点下面绘制二级节点,在二级节点下面绘制三级节点。最终,根据各个节点之间的连接关系,统一绘制节点与节点间的连接线,形成完整的电气图。相应的示意图如图6所示。In some embodiments, in the process of drawing the electrical diagram, the first-level node may be the root node, and the second-level node and the third-level node are respectively leaf nodes. For example, you can select the middle point at the top of the page as the starting coordinate, and select the corresponding node tile from the standard tile resource library to draw the first node according to the first-level node type set by the user, and use the first node as the root node. Next, draw the second-level nodes under the first-level nodes in sequence, and the third-level nodes under the second-level nodes. Finally, according to the connection relationship between each node, the connection lines between the nodes are drawn uniformly to form a complete electrical diagram. The corresponding schematic diagram is shown in Figure 6.
图7示出了本公开一个实施例的电气图生成装置的结构示意图。如图7所示,该装置可以包括:输入单元601、模型调用单元602和分页显示单元603。FIG. 7 shows a schematic structural diagram of an electrical diagram generating apparatus according to an embodiment of the present disclosure. As shown in FIG. 7, the device may include: an input unit 601, a model calling unit 602 and a paging display unit 603.
该装置以一级节点为根节点,二级节点、三级节点分别为叶节点。例如,可以选取页面上方中间点为开始坐标,根据电气图生成装置中设置的一级节点类型,从标准图块资源库选取对应的节点图块以绘制第一节点,并将第一节点作为根节点。接下来,电气图生成装置依次在一级节点下面绘制二级节点,在二级节点下面绘制三级节点,最终统一绘制节点与节点间的连接线,形成完整的电气图。The device takes the primary node as the root node, and the secondary node and tertiary node as leaf nodes. For example, you can select the middle point at the top of the page as the starting coordinate, and select the corresponding node block from the standard block library to draw the first node according to the first-level node type set in the electrical diagram generating device, and use the first node as the root node. Next, the electrical diagram generating device sequentially draws the second-level nodes under the first-level nodes, and the third-level nodes under the second-level nodes, and finally draws the connection lines between the nodes uniformly to form a complete electrical diagram.
输入单元601用于获取屏幕的尺寸和需要显示的各个节点的节点信息,节点信息包括节点的类型、级别和参数。例如,节点的类型和级别由用户指定并通过输入单元601输入至电气图生成装置中,节点的参数可以通过输入单元601中设置的通讯组件与对应的模型(如SVG)的变量对应进行绑定,从而将节点的参数输入至电气图生成装置中。在完成电气图之后,可将该电气图与相应的工程项目绑定并存储在系统中。用户登陆系统后可查询相应的工程项目,系统根据工程项目的名称加载电气图网页,并根据绑定的节点显示相应的数据。The input unit 601 is used to obtain the size of the screen and the node information of each node that needs to be displayed. The node information includes the type, level, and parameters of the node. For example, the type and level of the node are specified by the user and input into the electrical diagram generating device through the input unit 601. The parameters of the node can be bound to the variables of the corresponding model (such as SVG) through the communication components set in the input unit 601 , So as to input the parameters of the node into the electrical diagram generating device. After completing the electrical diagram, the electrical diagram can be bound to the corresponding engineering project and stored in the system. After logging in to the system, the user can query the corresponding engineering project. The system loads the electrical diagram web page according to the project name and displays the corresponding data according to the bound node.
模型调用单元602用于根据节点的类型和级别从预设的数据库中调用对应的模型。The model calling unit 602 is used to call the corresponding model from a preset database according to the type and level of the node.
在一些实施例中,上述模型为可缩放矢量图形。In some embodiments, the above model is a scalable vector graphic.
在一些实施例中,节点的参数存储在对应可缩放矢量图形的xml文件中。In some embodiments, the parameters of the nodes are stored in xml files corresponding to scalable vector graphics.
分页显示单元603用于根据屏幕的尺寸,在页面上显示各个节点的模型和对应的参数。The paging display unit 603 is used to display the model of each node and the corresponding parameters on the page according to the size of the screen.
在一些实施例中,分页显示单元603根据屏幕的尺寸和模型的尺寸,确定每个显示页面的节点显示数量,根据每个显示页面的节点显示数量,在各个节点中选择出与每个显示页面相关联的预定数量个节点,其中预定数量不超过节点显示数量,在屏幕的当前页面上,显示出与当前页面相关联的节点对应的模型和参数。In some embodiments, the paging display unit 603 determines the number of nodes displayed on each display page according to the size of the screen and the size of the model, and selects each display page from each node according to the number of nodes displayed on each display page There are a predetermined number of associated nodes, of which the predetermined number does not exceed the number of nodes displayed. On the current page of the screen, the models and parameters corresponding to the nodes associated with the current page are displayed.
在一些实施例中,分页显示单元603根据屏幕的尺寸与模型的尺寸的比值确定节点显示数量。In some embodiments, the paging display unit 603 determines the number of node displays according to the ratio of the size of the screen to the size of the model.
例如,分页显示单元603根据上述公式(3)确定节点显示数量。For example, the paging display unit 603 determines the number of node displays according to the above formula (3).
在一些实施例中,各个节点之间的连接关系通过各个节点的父节点和子节点表示。In some embodiments, the connection relationship between each node is represented by the parent node and the child node of each node.
在一些实施例中,最高级的节点的父节点为空,最低级的节点的子节点为空。In some embodiments, the parent node of the highest-level node is empty and the child nodes of the lowest-level node are empty.
此外,输入单元601还用于获取各个节点之间的连接关系。分页显示单元603还用于根据各个节点之间的连接关系,将在页面上显示的模型进行相应连接。In addition, the input unit 601 is also used to acquire the connection relationship between each node. The paging display unit 603 is also used to connect the models displayed on the page accordingly according to the connection relationship between the various nodes.
本公开实施例还提供了一种电子设备,如图8所示,该电子设备可以包括处理器701和存储器702。处理器701和存储器702可以通过总线或者其他方式连接。例如图6中各节点通过总线连接。An embodiment of the present disclosure also provides an electronic device. As shown in FIG. 8, the electronic device may include a processor 701 and a memory 702. The processor 701 and the memory 702 may be connected through a bus or other means. For example, each node in FIG. 6 is connected through a bus.
处理器701可以为中央处理器(Central Processing Unit,简称:CPU)。处理器701还可以为其他通用处理器、数字信号处理器(Digital Signal Processor,简称:DSP)、专用集成电路(Application Specific Integrated Circuit,简称:ASIC)、现场可编程门阵列(Field-Programmable Gate Array,简称:FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等芯片,或者上述各类芯片的组合。The processor 701 may be a central processing unit (Central Processing Unit, abbreviated as: CPU). The processor 701 may also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP for short), application specific integrated circuits (Application Specific Integrated Circuit, ASIC for short), field-programmable gate array (Field-Programmable Gate Array) , Referred to as: FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components and other chips, or a combination of the various types of chips.
存储器702作为一种非暂态计算机可读存储介质,可用于存储非暂态软件程序、非暂态计算机可执行程序以及模块,如本公开实施例中的电气图生成方法对应的程序指令/模块(例如,图7所示的输入单元601、模型调用单元602和分页显示单元603)。处理器701通过运行存储在存储器702中的非暂态软件程序、指令以及模块,从而执行处理器的各种功能应用以及数据处理,即实现图1中任一实施例涉及的电气图生成方法。The memory 702 is a non-transitory computer-readable storage medium, and can be used to store non-transitory software programs, non-transitory computer executable programs and modules, such as program instructions / modules corresponding to the electrical diagram generation method in the embodiments of the present disclosure (For example, the input unit 601, the model calling unit 602, and the paging display unit 603 shown in FIG. 7). The processor 701 executes non-transitory software programs, instructions, and modules stored in the memory 702 to execute various functional applications and data processing of the processor, that is, to implement the electrical diagram generation method according to any embodiment in FIG. 1.
存储器702可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储处理器701所创建的数据等。此外,存储器702可以包括高速随机存取存储器,还可以包括非暂态存储器,例如至少一个磁盘存储器件、闪存器件、或其他非暂态固态存储器件。在一些实施例中,存储器702可选包括相对于处理器701远程设置的存储器,这些远程存储器可以通过网络连接至处理器701。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 702 may include a storage program area and a storage data area, where the storage program area may store an operating system and application programs required by at least one function; the storage data area may store data created by the processor 701, and the like. In addition, the memory 702 may include a high-speed random access memory, and may also include a non-transitory memory, such as at least one magnetic disk storage device, a flash memory device, or other non-transitory solid-state storage devices. In some embodiments, the memory 702 may optionally include memories remotely provided with respect to the processor 701, and these remote memories may be connected to the processor 701 through a network. Examples of the above network include but are not limited to the Internet, intranet, local area network, mobile communication network, and combinations thereof.
上述一个或者多个模块存储在存储器702中,当被处理器701执行时,执行如图1或图5中任一实施例所示的电气图生成方法。The above one or more modules are stored in the memory 702, and when executed by the processor 701, execute the electrical diagram generation method shown in any of the embodiments of FIG. 1 or FIG.
上述电子设备具体细节可以对应参阅图1中任一实施例中对应的相关描述和效果进行理解,此处不再赘述。The specific details of the above electronic device can be understood by referring to the corresponding descriptions and effects in any embodiment in FIG. 1, which will not be repeated here.
本公开同时还涉及一种计算机可读存储介质,其中计算机可读存储介质存储有计算机指令,指令被处理器执行时实现如图1或图5中任一实施例涉及的方法。The present disclosure also relates to a computer-readable storage medium, where the computer-readable storage medium stores computer instructions, and when the instructions are executed by a processor, the method according to any of the embodiments in FIG. 1 or FIG. 5 is implemented.
本领域技术人员可以理解,实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,简称:ROM)、随机存储记忆体(Random Access Memory,简称:RAM)、快闪存储器(Flash Memory)、硬盘(Hard Disk Drive,简称: HDD)或固态硬盘(Solid-State Drive,简称:SSD)等;所述存储介质还可以包括上述种类的存储器的组合。Those skilled in the art can understand that all or part of the process in the method in the above embodiments can be completed by instructing relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium. During execution, the process of the embodiments of the above methods may be included. The storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), and a flash memory (Flash Memory) , A hard disk (Hard Disk Drive, referred to as: HDD) or a solid-state drive (Solid-State Drive, referred to as SSD), etc .; the storage medium may also include a combination of the above types of memory.
虽然结合附图描述了本公开的实施例,但是本领域技术人员可以在不脱离本公开的精神和范围的情况下作出各种修改和变型,这样的修改和变型均落入由所附权利要求所限定的范围之内。Although the embodiments of the present disclosure have been described with reference to the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present disclosure. Such modifications and variations fall within the scope of the appended claims Within the defined range.

Claims (19)

  1. 一种电气图生成方法,包括:A method of generating electrical diagrams, including:
    获取屏幕的尺寸和需要显示的各个节点的节点信息;所述节点信息包括节点的类型、级别和参数;Obtain the size of the screen and the node information of each node that needs to be displayed; the node information includes the type, level and parameters of the node;
    根据所述节点的类型和级别从预设的数据库中调用对应的模型;Call the corresponding model from the preset database according to the type and level of the node;
    根据所述屏幕的尺寸,在页面上显示所述各个节点的模型和对应的参数;According to the size of the screen, display the model of each node and corresponding parameters on the page;
    获取所述各个节点之间的连接关系;Obtaining the connection relationship between the various nodes;
    根据所述各个节点之间的连接关系,将在所述页面上显示的模型进行相应连接。According to the connection relationship between the respective nodes, the models displayed on the page are connected accordingly.
  2. 根据权利要求1所述的电气图生成方法,其特征在于,所述根据所述屏幕的尺寸,在页面上显示所述各个节点的模型和对应的参数包括:The method for generating an electrical diagram according to claim 1, wherein displaying the model of each node and corresponding parameters on the page according to the size of the screen includes:
    根据所述屏幕的尺寸和所述模型的尺寸确定每页页面的节点显示数量;Determine the number of nodes displayed on each page according to the size of the screen and the size of the model;
    根据所述每页页面的节点显示数量以及所述各个节点的参数,在所述每页页面上显示对应节点的模型和对应的参数。According to the number of nodes displayed on each page and the parameters of each node, the model of the corresponding node and the corresponding parameters are displayed on the page of each page.
  3. 根据权利要求1所述的电气图生成方法,其中,所述根据所述屏幕的尺寸,在页面上显示所述各个节点的模型和对应的参数包括:The method for generating an electrical diagram according to claim 1, wherein the displaying the model of each node and corresponding parameters on the page according to the size of the screen includes:
    根据所述屏幕的尺寸和所述模型的尺寸,确定每个显示页面的节点显示数量;Determine the number of nodes displayed on each display page according to the size of the screen and the size of the model;
    根据所述每个显示页面的节点显示数量,在所述各个节点中选择出与所述每个显示页面相关联的预定数量个节点,其中所述预定数量不超过所述节点显示数量;According to the number of nodes displayed on each display page, a predetermined number of nodes associated with each display page are selected among the respective nodes, where the predetermined number does not exceed the number of nodes displayed;
    在所述屏幕的当前页面上,显示出与所述当前页面相关联的节点对应的模型和参数。On the current page of the screen, the models and parameters corresponding to the nodes associated with the current page are displayed.
  4. 根据权利要求2或3所述的电气图生成方法,其中,The electrical diagram generation method according to claim 2 or 3, wherein
    根据所述屏幕的尺寸与所述模型的尺寸的比值确定所述节点显示数量。The number of node displays is determined according to the ratio of the size of the screen to the size of the model.
  5. 根据权利要求4所述的电气图生成方法,其中,根据以下公式确定所述节点显示数量:The electric diagram generating method according to claim 4, wherein the number of nodes displayed is determined according to the following formula:
    Figure PCTCN2019103206-appb-100001
    Figure PCTCN2019103206-appb-100001
    其中,w 1为所述屏幕的尺寸,w 0为所述模型的尺寸,所述尺寸为宽度或高度,n为所述节点显示数量,k为大于1的常数,函数
    Figure PCTCN2019103206-appb-100002
    为向上取整函数。
    Where w 1 is the size of the screen, w 0 is the size of the model, the size is the width or height, n is the number of nodes displayed, k is a constant greater than 1, function
    Figure PCTCN2019103206-appb-100002
    Is the rounding function up.
  6. 根据权利要求1所述的电气图生成方法,其中,所述各个节点之间的连接关系通过所述各个节点的父节点和子节点表示。The electrical diagram generating method according to claim 1, wherein the connection relationship between the respective nodes is represented by a parent node and a child node of the respective nodes.
  7. 根据权利要求6所述的电气图生成方法,其中,The electrical diagram generating method according to claim 6, wherein:
    最高级的节点的父节点为空,最低级的节点的子节点为空。The parent node of the highest-level node is empty, and the child nodes of the lowest-level node are empty.
  8. 根据权利要求1所述的电气图生成方法,其中,所述模型为可缩放矢量图形。The electrical diagram generating method according to claim 1, wherein the model is a scalable vector graphic.
  9. 根据权利要求8所述的电气图生成方法,其中,所述节点的参数存储在对应可缩放矢量图形的xml文件中。The electrical diagram generating method according to claim 8, wherein the parameters of the node are stored in an xml file corresponding to the scalable vector graphics.
  10. 一种电气图生成装置,包括:An electrical diagram generating device, including:
    输入单元,被配置为获取屏幕的尺寸和需要显示的各个节点的节点信息;所述节点信息包括节点的类型、级别和参数;还被配置为获取所述各个节点之间的连接关系;The input unit is configured to obtain the size of the screen and the node information of each node that needs to be displayed; the node information includes the type, level, and parameters of the node; and is configured to obtain the connection relationship between the various nodes;
    模型调用单元,被配置为根据所述节点的类型和级别从预设的数据库中调用对应的模型;A model calling unit configured to call the corresponding model from a preset database according to the type and level of the node;
    分页显示单元,被配置为根据所述屏幕的尺寸,在页面上显示所述各个节点的模型和对应的参数;还被配置为根据所述各个节点之间的连接关系,将在所述页面上显示的模型进行相应连接。The paging display unit is configured to display the model of each node and corresponding parameters on the page according to the size of the screen; and is also configured to display on the page according to the connection relationship between each node The displayed models are connected accordingly.
  11. 根据权利要求10所述的电气图生成装置,其中,The electrical diagram generating apparatus according to claim 10, wherein
    分页显示单元被配置为根据所述屏幕的尺寸和所述模型的尺寸,确定每个显示页面的节点显示数量,根据所述每个显示页面的节点显示数量,在所述各个节点中选择出与所述每个显示页面相关联的预定数量个节点,其中所述预定数量不超过所述节点显示数量,在所述屏幕的当前页面上,显示出与所述当前页面相关联的节点对应的模 型和参数。The paging display unit is configured to determine the number of nodes displayed on each display page according to the size of the screen and the size of the model, and select and select among the various nodes according to the number of nodes displayed on each display page A predetermined number of nodes associated with each display page, where the predetermined number does not exceed the number of nodes displayed, and a model corresponding to the node associated with the current page is displayed on the current page of the screen And parameters.
  12. 根据权利要求11所述的电气图生成装置,其中,The electrical diagram generating apparatus according to claim 11, wherein
    分页显示单元被配置为根据所述屏幕的尺寸与所述模型的尺寸的比值确定所述节点显示数量。The paging display unit is configured to determine the number of node displays according to the ratio of the size of the screen to the size of the model.
  13. 根据权利要求12所述的电气图生成装置,其中,The electrical diagram generating apparatus according to claim 12, wherein
    分页显示单元被配置为根据以下公式确定所述节点显示数量:The paging display unit is configured to determine the number of displayed nodes according to the following formula:
    Figure PCTCN2019103206-appb-100003
    Figure PCTCN2019103206-appb-100003
    其中,w 1为所述屏幕的尺寸,w 0为所述模型的尺寸,所述尺寸为宽度或高度,n为所述节点显示数量,k为大于1的常数,函数
    Figure PCTCN2019103206-appb-100004
    为向上取整函数。
    Where w 1 is the size of the screen, w 0 is the size of the model, the size is the width or height, n is the number of nodes displayed, k is a constant greater than 1, function
    Figure PCTCN2019103206-appb-100004
    Is the rounding function up.
  14. 根据权利要求10所述的电气图生成装置,其中,The electrical diagram generating apparatus according to claim 10, wherein
    所述各个节点之间的连接关系通过所述各个节点的父节点和子节点表示。The connection relationship between the various nodes is represented by the parent node and the child node of each node.
  15. 根据权利要求14所述的电气图生成装置,其中,The electrical diagram generating apparatus according to claim 14, wherein
    最高级的节点的父节点为空,最低级的节点的子节点为空。The parent node of the highest-level node is empty, and the child nodes of the lowest-level node are empty.
  16. 根据权利要求10所述的电气图生成装置,其中,所述模型为可缩放矢量图形。The electrical diagram generating apparatus according to claim 10, wherein the model is a scalable vector graphic.
  17. 根据权利要求16所述的电气图生成装置,其中,所述节点的参数存储在对应可缩放矢量图形的xml文件中。The electrical diagram generating apparatus according to claim 16, wherein the parameter of the node is stored in an xml file corresponding to the scalable vector graphics.
  18. 一种电子设备,其特征在于,包括:An electronic device, characterized in that it includes:
    存储器和处理器,所述存储器和所述处理器之间互相通信连接,所述存储器中存储有计算机指令,所述处理器通过执行所述计算机指令,从而执行如权利要求1-9中任一项所述的电气图生成方法。A memory and a processor, the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the computer instructions to execute any one of claims 1-9 The electrical diagram generation method described in the item.
  19. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计 算机指令,所述计算机指令用于使所述计算机执行如权利要求1-9中任一项所述的电气图生成方法。A computer-readable storage medium, characterized in that the computer-readable storage medium stores computer instructions for causing the computer to execute the electrical diagram according to any one of claims 1-9 Generation method.
PCT/CN2019/103206 2018-10-15 2019-08-29 Method and apparatus for generating electrical diagram, and electronic device WO2020078110A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811197451.3 2018-10-15
CN201811197451.3A CN109522596B (en) 2018-10-15 2018-10-15 Electric diagram generation method and electronic device

Publications (1)

Publication Number Publication Date
WO2020078110A1 true WO2020078110A1 (en) 2020-04-23

Family

ID=65772093

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/103206 WO2020078110A1 (en) 2018-10-15 2019-08-29 Method and apparatus for generating electrical diagram, and electronic device

Country Status (2)

Country Link
CN (1) CN109522596B (en)
WO (1) WO2020078110A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109522596B (en) * 2018-10-15 2020-09-15 珠海格力电器股份有限公司 Electric diagram generation method and electronic device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090070724A1 (en) * 2007-09-10 2009-03-12 Kabushiki Kaisha Toshiba Information processing device, method of creating power supply system tree and program of the same
CN104881415A (en) * 2014-02-28 2015-09-02 国际商业机器公司 Tree graph generation method and tree graph generation equipment
CN106168995A (en) * 2016-07-04 2016-11-30 北京空间飞行器总体设计部 It is applied to the figure of spacecraft, table conversion method and converting system
CN109522596A (en) * 2018-10-15 2019-03-26 珠海格力电器股份有限公司 Electrical drawing generating method and electronic equipment

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003316844A (en) * 2002-04-26 2003-11-07 Hitachi Ltd Data forming method for semiconductor integrated circuit
CN104331545B (en) * 2014-10-20 2017-06-23 国电南瑞科技股份有限公司 A kind of implementation method of the grid automation GIS electrical layers based on CIM/G
CN106021632B (en) * 2015-10-30 2019-02-26 国家电网公司 The whole network drawing method is generated based on topological relation transforming plant primary wiring diagram
CN106997292A (en) * 2016-01-26 2017-08-01 北京国双科技有限公司 The method and apparatus for handling rectangle tree graph
CN108053460B (en) * 2017-12-04 2022-02-08 上海振华重工(集团)股份有限公司 Drawing method and device of electric power system diagram
CN108509689A (en) * 2018-03-09 2018-09-07 南京信息工程大学 A kind of electrical figure dynamic creation method towards intelligent substation

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090070724A1 (en) * 2007-09-10 2009-03-12 Kabushiki Kaisha Toshiba Information processing device, method of creating power supply system tree and program of the same
CN104881415A (en) * 2014-02-28 2015-09-02 国际商业机器公司 Tree graph generation method and tree graph generation equipment
CN106168995A (en) * 2016-07-04 2016-11-30 北京空间飞行器总体设计部 It is applied to the figure of spacecraft, table conversion method and converting system
CN109522596A (en) * 2018-10-15 2019-03-26 珠海格力电器股份有限公司 Electrical drawing generating method and electronic equipment

Also Published As

Publication number Publication date
CN109522596A (en) 2019-03-26
CN109522596B (en) 2020-09-15

Similar Documents

Publication Publication Date Title
US11574105B1 (en) Using a barycenter compact model for a circuit network
Guo et al. A parallel attractor finding algorithm based on Boolean satisfiability for genetic regulatory networks
US11645438B2 (en) Generating a template-driven schematic from a netlist of electronic circuits
CN111161406A (en) GIM file visualization processing method, system, readable storage medium and computer
CN110795093B (en) Interactive view generation method and device
CN112214210A (en) Logistics business rule engine and configuration method, device, equipment and storage medium thereof
Zhou et al. InterPSS: A new generation power system simulation engine
KR20150092880A (en) Method and Apparatus for Re-Configuring Design Decisions after Developing Graphic User Interface
CN113536425A (en) Revit-based climbing frame design method, terminal equipment and storage medium
US9471733B1 (en) Solving a circuit network in multicore or distributed computing environment
WO2020078110A1 (en) Method and apparatus for generating electrical diagram, and electronic device
CN110853120B (en) Network layout method, system and medium based on segmentation drawing method
CN105320662B (en) Webpage generating method and device
CN111985014B (en) Modeling method and system based on standard atlas
CN105590241B (en) Self-adaptive electronic bill implementation method and system
US20200379435A1 (en) Method and electronic generation device for generating at least one configuration file for an automation tool, related computer program
US10796037B1 (en) Pade-weierstrass analytic continuation technique for the efficient enforcement of control limits in power-flow studies
CN107979085B (en) Dynamic power network topology modeling method and system
CN111026629A (en) Method and device for automatically generating test script
US20220083703A1 (en) Customizable reinforcement learning of column placement in structural design
US10936864B2 (en) Grid layout determination from a document image
CN114365049A (en) Method, system, and storage medium for fast modeling using production data
CN109829019A (en) A kind of data transfer device of vector data, device and electronic equipment
JP5582006B2 (en) Development support program, development support method, and development support apparatus
CN117272431A (en) Wire drawing method, device, equipment and medium for power engineering

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19872760

Country of ref document: EP

Kind code of ref document: A1