Circuit device information acquisition method, device, equipment and medium in circuit design

文档序号:1338210 发布日期:2020-07-17 浏览:40次 中文

阅读说明:本技术 电路设计中的电路器件信息获取方法、装置、设备及介质 (Circuit device information acquisition method, device, equipment and medium in circuit design ) 是由 刘彬 于 2020-03-24 设计创作,主要内容包括:本申请公开了电路设计中的电路器件信息获取方法、装置、设备及介质。该方法包括:接收作用在查询功能按钮上的信息查询操作,查询功能按钮位于电路设计软件功能栏;显示包括信息编辑框和编辑确定按钮的参数信息查询窗口;接收由用户在信息编辑框中输入待查信息标识符后作用于编辑确定按钮形成的标识符提交操作;按照该待查信息标识符执行当前所展示目标电路原理图中所对应目标电路器件的参数信息获取操作。利用该方法,通过在现有电路设计软件中增加信息查询功能插件来为电路设计者提供一个能够只获取所需部分电路器件相关信息的查询通道,实现了对现有电路设计软件的优化,提高了电路设计软件的应用需求范围,提升了电路设计使用体验。(The application discloses a method, a device, equipment and a medium for acquiring circuit device information in circuit design. The method comprises the following steps: receiving an information query operation acting on a query function button, wherein the query function button is positioned in a circuit design software function bar; displaying a parameter information query window including an information edit box and an edit decision button; receiving an identifier submitting operation formed by a user acting on an editing determination button after inputting an identifier of the information to be checked in an information editing frame; and executing the parameter information acquisition operation of the corresponding target circuit device in the currently displayed target circuit schematic diagram according to the identifier of the information to be checked. By using the method, the information query function plug-in is added in the existing circuit design software to provide a query channel which can only obtain the relevant information of the required part of circuit devices for a circuit designer, thereby realizing the optimization of the existing circuit design software, improving the application requirement range of the circuit design software and improving the use experience of the circuit design.)

1. A method for obtaining circuit device information in circuit design is characterized by comprising the following steps:

receiving an information query operation, wherein the information query operation acts on a query function button, and the query function button is positioned in a circuit design software function bar;

displaying a parameter information query window, wherein the parameter information query window comprises an information editing frame and an editing determining button;

receiving an identifier submitting operation which is acted on the editing determining button after a user inputs an identifier of the information to be checked in the information editing frame;

and executing actual parameter information acquisition operation of the corresponding target circuit device according to the submitted information identifier to be checked, wherein the corresponding target circuit device is a circuit device which needs to acquire parameter information in the currently displayed target circuit schematic diagram.

2. The method of claim 1, prior to the receiving information query operation, further comprising:

receiving a box dragging operation, wherein the box dragging operation acts on a box drawing symbol positioned in the drawing toolbar of the circuit design software;

responding to the box dragging operation, and displaying the box drawing symbol as a drawing box in a drawing interface showing the target circuit schematic diagram;

receiving a box scaling operation, wherein the box scaling operation acts on any vertex or any border of the drawing box;

and responding to the block scaling operation, so that the scaled drawing block comprises the circuit devices which need to acquire information in the target circuit schematic diagram.

3. The method of claim 2, further comprising, after responding to the block scaling operation:

receiving attribute setting operation corresponding to the drawing box;

displaying an attribute setting window, wherein the attribute setting window comprises a box filling color setting item;

displaying the drawing box in a non-filling color in response to a non-filling color setting operation of a user in the box filling color setting item;

and receiving marking operation of the user on the drawing box, acquiring a query identifier corresponding to the drawing box, and storing the query identifier in an associated manner.

4. The method of claim 1, wherein the performing the actual parameter information obtaining operation of the corresponding target circuit device according to the submitted identifier of the information to be checked comprises:

traversing a drawing graph existing in the target circuit schematic diagram, and determining a candidate drawing box containing a query identifier;

comparing each query identifier with the identifier of the information to be searched, and recording the candidate drawing boxes with the same query identifier and the identifier of the information to be searched as drawing boxes to be searched;

and determining the circuit device in the drawing frame to be searched as a target circuit device corresponding to the identifier of the information to be searched, and acquiring actual parameter information corresponding to the target circuit device.

5. The method according to claim 4, wherein the determining the partial circuit devices in the drawing box to be searched as the target circuit device corresponding to the identifier of the information to be searched, and acquiring the actual parameter information corresponding to the target circuit device comprises:

determining vertex coordinate information of each vertex of the drawing box to be searched in the target circuit schematic diagram;

determining a schematic diagram area covered by the drawing square to be searched according to the vertex coordinate information;

determining the circuit devices in the schematic diagram area as target circuit devices based on pre-stored drawing information of each circuit device in the target circuit schematic diagram;

acquiring actual parameter information corresponding to each target circuit device based on a design log generated in the target circuit schematic diagram design;

wherein the drawing information comprises position coordinate information of the circuit device in the target circuit schematic diagram.

6. The method of any one of claims 1-5, further comprising:

and displaying the actual parameter information acquired by the corresponding target circuit devices according to a preset display form.

7. The method of any one of claims 1-5, further comprising:

acquiring standard parameter information of each target circuit device in a circuit device drawing library;

and comparing the actual parameter information of each target circuit device with the standard parameter information of each target circuit device, and displaying a comparison result so that a user can draw and check the drawn target circuit device according to the comparison result.

8. An apparatus for acquiring information of a circuit device in a circuit design, comprising:

the first receiving module is used for receiving information query operation, wherein the information query operation acts on a query function button, and the query function button is positioned in a circuit design software function bar;

the first display module is used for displaying a parameter information query window, and the parameter information query window comprises an information editing frame and an editing determining button;

the second receiving module is used for receiving an identifier submitting operation, and the identifier submitting operation is acted on the editing determining button after a user inputs an identifier of the information to be checked in the information editing frame;

and the information acquisition module is used for executing actual parameter information acquisition operation of the corresponding target circuit device according to the submitted information identifier to be checked, wherein the corresponding target circuit device is a circuit device which needs to acquire parameter information in the currently displayed target circuit schematic diagram.

9. A computer device, comprising: a memory and one or more processors;

the memory for storing one or more programs;

when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-7.

10. A storage medium containing computer-executable instructions for performing the method of claims 1-7 when executed by a computer processor.

Technical Field

The present application relates to the field of circuit design technologies, and in particular, to a method, an apparatus, a device, and a medium for obtaining circuit device information in circuit design.

Background

With the vigorous development of electronic technology, new components and devices are developed, electronic circuits become more and more complex, and the design work of the circuits cannot be completed simply by hands, so that the auxiliary design of electronic circuits based on computers is born, and the auxiliary design is also called electronic design automation. The Altium Designer is integrated electronic product development system software promoted by an Altium company, can perfectly integrate technologies such as schematic design, Circuit simulation, Printed Circuit Board (PCB) drawing and editing, topological logic automatic wiring, signal integrity analysis and design output, and provides a brand-new automatic Circuit design and development platform for Circuit designers.

The complete engineering file of a schematic diagram designed by the Altium Designer usually comprises a plurality of schematic diagram working page (sheet) files and PCB files, and a circuit Designer finds that in the circuit design, the parameter information of each circuit device contained in the whole sheet file can only be acquired in the conventional schematic diagram engineering of the Altium Designer, and the parameter information of the circuit device contained in a certain area of the sheet file cannot be acquired.

Disclosure of Invention

In view of this, embodiments of the present application provide a method, an apparatus, a device, and a medium for acquiring circuit device information in a circuit design, so as to realize flexible acquisition of circuit device information in a designed circuit diagram.

In a first aspect, an embodiment of the present application provides a method for obtaining circuit device information in circuit design, including:

receiving an information query operation, wherein the information query operation acts on a query function button, and the query function button is positioned in a circuit design software function bar;

displaying a parameter information query window, wherein the parameter information query window comprises an information editing frame and an editing determining button;

receiving an identifier submitting operation which is acted on the editing determining button after a user inputs an identifier of the information to be checked in the information editing frame;

and executing actual parameter information acquisition operation of the corresponding target circuit device according to the submitted information identifier to be checked, wherein the corresponding target circuit device is a circuit device which needs to acquire parameter information in the currently displayed target circuit schematic diagram.

Further, before the receiving the information query operation, the method further includes:

receiving a box dragging operation, wherein the box dragging operation acts on a box drawing symbol positioned in the drawing toolbar of the circuit design software;

responding to the box dragging operation, and displaying the box drawing symbol as a drawing box in a drawing interface showing the target circuit schematic diagram;

receiving a box scaling operation, wherein the box scaling operation acts on any vertex or any border of the drawing box;

and responding to the block scaling operation, so that the scaled drawing block comprises the circuit devices which need to acquire information in the target circuit schematic diagram.

Further, after responding to the block scaling operation, the method further comprises:

receiving attribute setting operation corresponding to the drawing box;

displaying an attribute setting window, wherein the attribute setting window comprises a box filling color setting item;

displaying the drawing box in a non-filling color in response to a non-filling color setting operation of a user in the box filling color setting item;

and receiving marking operation of the user on the drawing box, acquiring a query identifier corresponding to the drawing box, and storing the query identifier in an associated manner.

Further, the executing the actual parameter information obtaining operation of the corresponding target circuit device according to the submitted identifier of the information to be checked includes:

traversing a drawing graph existing in the target circuit schematic diagram, and determining a candidate drawing box containing a query identifier;

comparing each query identifier with the identifier of the information to be searched, and recording the candidate drawing boxes with the same query identifier and the identifier of the information to be searched as drawing boxes to be searched;

and determining the circuit device in the drawing frame to be searched as a target circuit device corresponding to the identifier of the information to be searched, and acquiring actual parameter information corresponding to the target circuit device.

Further, the determining, by the circuit device to be located in the drawing box to be searched, a part of the circuit devices to be located in the drawing box to be searched as target circuit devices corresponding to the identifier of the information to be searched, and acquiring actual parameter information corresponding to the target circuit devices includes:

determining vertex coordinate information of each vertex of the drawing box to be searched in the target circuit schematic diagram;

determining a schematic diagram area covered by the drawing square to be searched according to the vertex coordinate information;

determining the circuit devices in the schematic diagram area as target circuit devices based on pre-stored drawing information of each circuit device in the target circuit schematic diagram;

acquiring actual parameter information corresponding to each target circuit device based on a design log generated in the target circuit schematic diagram design;

wherein the drawing information comprises position coordinate information of the circuit device in the target circuit schematic diagram.

Further, the method further comprises:

and displaying the actual parameter information acquired by the corresponding target circuit devices according to a preset display form.

Further, the method further comprises:

and acquiring standard parameter information of each target circuit device in a circuit device drawing library.

And comparing the actual parameter information of each target circuit device with the standard parameter information of each target circuit device, and displaying a comparison result so that a user can draw and check the drawn target circuit device according to the comparison result.

In a second aspect, an embodiment of the present application provides an apparatus for acquiring circuit device information in a circuit design, including:

the first receiving module is used for receiving information query operation, wherein the information query operation acts on a query function button, and the query function button is positioned in a circuit design software function bar;

the first display module is used for displaying a parameter information query window, and the parameter information query window comprises an information editing frame and an editing determining button;

the second receiving module is used for receiving an identifier submitting operation, and the identifier submitting operation is acted on the editing determining button after a user inputs an identifier of the information to be checked in the information editing frame;

and the information acquisition module is used for executing actual parameter information acquisition operation of the corresponding target circuit device according to the submitted information identifier to be checked, wherein the corresponding target circuit device is a circuit device which needs to acquire parameter information in the currently displayed target circuit schematic diagram.

In a third aspect, an embodiment of the present application further provides a computer device, including:

a memory and one or more processors;

the memory for storing one or more programs;

when the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the circuit device information acquisition method in the circuit design as described in the first aspect above.

In a fourth aspect, embodiments of the present application further provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are used to perform the circuit device information obtaining method in the circuit design according to the first aspect.

The circuit device information acquisition method is mainly integrated in the existing circuit design software as a plug-in to realize the query of the parameter information of part of the circuit device in a circuit schematic diagram, and the plug-in is specifically displayed in a function bar of the circuit design software in the form of a query function button. The specific implementation of the method can be described as follows: a computer device running circuit design software first receives an information query operation, which acts on a query function button; then, displaying a parameter information inquiry window based on the information inquiry operation, wherein the parameter information inquiry window comprises an information editing frame and an editing determining button; then, the user can receive the identifier submitting operation after inputting the identifier of the information to be checked in the information editing box and triggering the editing determining button; and finally, according to the submitted branch information identifier, the actual parameter information acquisition operation of the target circuit device corresponding to the information identifier to be checked can be executed, wherein the corresponding target circuit device is a circuit device which needs to acquire parameter information in the currently displayed target circuit schematic diagram. According to the technical scheme, the query channel capable of only acquiring the relevant information of the required part of circuit devices is provided for a circuit designer by adding the information query function plug-in the existing circuit design software, so that the optimization of the existing circuit design software is realized, the application requirement range of the circuit design software is expanded, and the circuit design experience of the circuit designer is improved.

Drawings

Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:

fig. 1 is a schematic flowchart of a method for acquiring circuit device information in a circuit design according to an embodiment of the present disclosure;

FIG. 2 is a diagram illustrating an initial effect of a drawing box formed when the circuit device information obtaining method is performed according to the present embodiment;

fig. 3 is a diagram showing an example of a display attribute setting window triggered when the circuit device information acquisition method is performed according to the present embodiment;

FIG. 4 is a diagram showing a final effect of a drawing box formed when the circuit device information obtaining method is performed according to the present embodiment;

fig. 5 is a schematic flowchart of a method for acquiring circuit device information in a circuit design according to a second embodiment of the present application;

fig. 6 is a flowchart illustrating a specific implementation of parameter information acquisition by an identifier of information to be checked in the information acquisition method according to the embodiment of the present application;

fig. 7 is a circuit device information obtaining apparatus in a circuit design according to a third embodiment of the present application;

fig. 8 is a schematic structural diagram of a computer device according to a fourth embodiment of the present invention.

Detailed Description

In order to make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings. It should be understood that the embodiments described are only a few embodiments of the present application, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.

When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the application, as detailed in the appended claims.

In the description of the present application, it is to be understood that the terms "first," "second," "third," and the like are used solely for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order, nor should be construed to indicate or imply relative importance. The specific meaning of the above terms in the present application can be understood by those of ordinary skill in the art as appropriate. Further, in the description of the present application, "a plurality" means two or more unless otherwise specified. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.

20页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种支持EDA软件的自动化测试并记录的方法及系统

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类