Drawing method, device and equipment of electrical schematic diagram, medium and product

By using parameterized symbols to represent simplified loops in the drawing interface of the electrical schematic, paper waste and information redundancy problems are solved when drawing multiple circuits of the same electrical function, and efficient and accurate electrical schematic drawing is achieved.

CN119692287APending Publication Date: 2025-03-25利驰数字科技(苏州)有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411761953.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-03
Publication Date
2025-03-25

AI Technical Summary

Technical Problem

In electrical equipment research and development and manufacturing enterprises, drawing multiple circuits of the same electrical function requires multiple circuits and multiple pages, which is time-consuming and labor-intensive, prone to errors and leakage, and causes waste of paper and large drawing space.

Method used

By using parameterized symbols to represent omitted simplified loops in the drawing interface, users can configure the generation rules of the simplified loop through movement and click operations, thereby generating simplified loops with electrical properties.

Benefits of technology

This method reduces drawing space and paper consumption, retains electrical information of the electrical schematic diagram, facilitates engineers to identify and modify, and improves drawing efficiency and accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119692287A_ABST
    Figure CN119692287A_ABST
Patent Text Reader

Abstract

The invention discloses a drawing method and device of an electrical schematic diagram, equipment, a medium and a product, the electrical schematic diagram comprises a first loop, a second loop and a parameterized symbol which are located in a drawing interface, and the drawing method comprises the following steps: in response to a movement action of a user on the parameterized symbol, enabling the parameterized symbol to be located between the first loop and the second loop, in response to a click action of the user on the parameterized symbol, displaying a configuration window of the parameterized symbol to the user; in the configuration window, the first loop is determined as a starting loop, and the second loop is determined as a cut-off loop; based on the generation rule configuration control, in response to a configuration operation of a user, configuring a generation rule of the simplified loop; generating a simplified loop in response to a configuration completion instruction of the user; and when the click action of the user on the parameterized symbol is responded again, the simplified loop is displayed to the user so as to solve the problems that paper is wasted and graph recognition is not facilitated when a plurality of identical electrical schematic diagrams need to be drawn in related technologies.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of auxiliary drawing technology, and in particular to a method, device, equipment, medium and product for drawing an electrical schematic diagram. Background Art

[0002] In the related art, in the field of electrical equipment research and development and manufacturing enterprises, it is often necessary to carry out two-dimensional electrical schematic design. When designing multiple electrical circuits with the same functions, it is usually arranged in an array. At present, auxiliary drawing software such as CAD or ECAD is generally used for auxiliary drawing. Although it saves some manpower and material resources, the problem is that when drawing a large number of identical electrical function circuits, multiple circuits and multiple pages are often required for drawing, which is not only time-consuming and labor-intensive, but also prone to errors and omissions, and will cause the problem of occupying a large amount of drawing space and wasting drawing printing space. Although it is possible to manually omit some of the same electrical diagrams to solve the problem of drawing space, the omitted part of the drawing cannot be read directly, and personnel are required to deduce the relevant content accordingly, which is not conducive to circuit recognition and is prone to drawing errors. Summary of the invention

[0003] The present invention provides a method, device, equipment, medium and product for drawing an electrical schematic diagram, so as to solve the problems in the related art that when multiple identical electrical schematic diagrams need to be drawn, paper waste is caused, and it is not conducive to reading the diagrams.

[0004] According to a first aspect of the present invention, a method for drawing an electrical schematic diagram is provided, wherein the electrical schematic diagram includes a first circuit, a second circuit, and a parameterized symbol located in a drawing interface, and the drawing method includes the following steps:

[0005] In response to a user's moving action on the parameterized symbol, the parameterized symbol is positioned between the first loop and the second loop, and the parameterized symbol is used to represent a simplified loop omitted between the first loop and the second loop;

[0006] In response to a user clicking on the parameterized symbol, displaying a configuration window of the parameterized symbol to the user;

[0007] In the configuration window, based on a user clicking on a control for selecting a starting loop, a starting loop selection window is formed, and in response to a user selecting a first loop in the drawing interface, the first loop is determined to be a starting loop; based on a user clicking on a control for selecting a stopping loop, a stopping loop selection window is formed, and in response to a user selecting a second loop in the drawing interface, the second loop is determined to be a stopping loop; based on a generation rule configuration control, in response to a user's configuration operation, a generation rule for the simplified loop is configured;

[0008] In response to a configuration completion instruction from a user, generating the simplified circuit;

[0009] When responding to the user's clicking action on the parameterized symbol again, the simplified circuit is displayed to the user.

[0010] According to a second aspect of the present invention, a device for drawing an electrical schematic diagram is provided, wherein the electrical schematic diagram includes a first circuit, a second circuit and a parameterized symbol located in a drawing interface, and the drawing method includes the following steps:

[0011] A first generating module is used to perform the following steps: in response to a user's moving action on the parameterized symbol, the parameterized symbol is located between the first loop and the second loop, and the parameterized symbol is used to represent a simplified loop omitted between the first loop and the second loop;

[0012] A configuration module, configured to execute the following steps: in response to a user clicking on the parameterized symbol, displaying a configuration window of the parameterized symbol to the user;

[0013] In the configuration window, based on a user clicking on a control for selecting a starting loop, a starting loop selection window is formed, and in response to a user selecting a first loop in the drawing interface, the first loop is determined to be a starting loop; based on a user clicking on a control for selecting a stopping loop, a stopping loop selection window is formed, and in response to a user selecting a second loop in the drawing interface, the second loop is determined to be a stopping loop; based on a generation rule configuration control, in response to a user's configuration operation, a generation rule for the simplified loop is configured;

[0014] A second generating module, configured to execute the step of generating the simplified circuit in response to a configuration completion instruction of a user;

[0015] The display module is used to execute the step of displaying the simplified circuit to the user in response to the user clicking the parameterized symbol again.

[0016] According to a third aspect of the present invention, there is provided an electronic device, the electronic device comprising:

[0017] at least one processor; and

[0018] a memory communicatively connected to the at least one processor; wherein,

[0019] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the method for drawing an electrical schematic diagram described in any embodiment of the present invention.

[0020] According to a fourth aspect of the present invention, there is provided a computer-readable storage medium storing computer instructions for enabling a processor to implement the method for drawing an electrical schematic diagram as described in any embodiment of the present invention when the computer instructions are executed.

[0021] According to a fifth aspect of the present invention, a computer program product is provided. The computer program product comprises a computer program. When the computer program is executed by a processor, the method for drawing an electrical schematic diagram according to any embodiment of the present invention is implemented.

[0022] The technical solution of the embodiment of the present invention simplifies the space and paper occupied by drawing multiple identical circuits by using parameterized symbols to represent omitted simplified circuits, and the parameterized symbols represent that the simplified circuits have electrical properties, so that when generating a connection list for the entire circuit schematic, etc., it can be directly generated with one click. Furthermore, by applying parameterized symbols and assigning electrical properties of simplified circuits to parameterized symbols, not only can the drawing space be reduced and the drawing printing space be saved, but also the electrical information of the entire electrical schematic, i.e., multiple identical circuits, can be retained, which is beneficial for engineers to identify the diagram and extract and integrate the electrical schematic information, and convenient for engineers to modify the simplified circuit, the first circuit or the second circuit, etc.

[0023] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0025] Figure 1 A flow chart of a method for drawing an electrical schematic diagram is provided for an embodiment of the present invention;

[0026] Figure 2 A drawing interface diagram of the method for drawing an electrical schematic diagram according to an embodiment of the present invention;

[0027] Figure 3 A configuration interface diagram of a method for drawing an electrical schematic diagram according to an embodiment of the present invention;

[0028] Figure 4 A flowchart of another method for drawing an electrical schematic diagram provided by an embodiment of the present invention;

[0029] Figure 5 A drawing interface diagram of a method for drawing an electrical schematic diagram according to a specific embodiment of the present invention;

[0030] Figure 6 A simplified circuit representation in a method for drawing an electrical schematic diagram according to an embodiment of the present invention;

[0031] Figure 7 A simplified circuit representation in a method for drawing an electrical schematic diagram according to another specific embodiment of the present invention;

[0032] Figure 8 The present invention is a schematic diagram of the structure of an electronic device for implementing the method for drawing an electrical schematic diagram according to an embodiment of the present invention. DETAILED DESCRIPTION

[0033] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0034] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0035] In the related art, if, for example, there are 20 identical feeder circuits in a distribution cabinet, the identical circuits need to be drawn 20 times in the drawing. This repetitive circuit expression method has the problems of occupying a large drawing space, wasting drawing printing space, being not conducive to circuit diagram recognition, and being prone to drawing errors.

[0036] The two-dimensional electrical schematics drawn by the commonly used CAD computer graphics drawing software often rely on manual statistics and output of information such as electrical components, selection, and connection relationships. This is not only time-consuming and labor-intensive, but also prone to errors and omissions, which seriously restricts the improvement of project development efficiency and the increase of project complexity.

[0037] AutoCAD computer-aided design software allows engineers to manually draw electrical schematic circuits. When drawing the same circuit, they use array drawing or "..." and other representation methods that omit graphics, which basically meet the needs of schematic drawing expression. However, the electrical schematics drawn by this method only have elements such as electrical symbols and graphics, and only meet the graphic display function of the electrical schematics; the electrical symbols and elements do not have electrical properties, such as function definitions, component models, connection relationships, etc., and cannot realize functions such as automatic statistics and output of electrical information through schematics. Commonly used detailed lists, terminal lists, connection relationship tables, etc., still need to be manually counted, calculated, and drawn, which is time-consuming, labor-intensive, extremely inefficient, and very prone to errors.

[0038] ECAD computer-aided electronic systems represented by EPLAN can give electrical properties to symbol graphics while drawing electrical schematics, and can realize functions such as automatic statistics and output of electrical information through schematics, basically meeting the needs of electrical schematic design. However, the schematic symbols and circuit drawing process must follow a strict one-to-one drawing logic, lacking a simplified expression of the same electrical function circuit. When encountering a large number of identical electrical function circuits, multiple circuits and multiple pages are often required, increasing the drawing workload, occupying a large amount of drawing space, wasting drawing printing space, being unfavorable for circuit recognition, and prone to drawing errors.

[0039] Therefore, an embodiment of the present invention provides a method for drawing a simplified electrical schematic diagram of similar electrical circuits with electrical properties, which can meet the automatic statistics and output functions of the electrical schematic diagram while adopting a simplified expression method of similar circuits and can perform parametric editing.

[0040] Figure 1 A flowchart of a method for drawing an electrical schematic diagram is provided for an embodiment of the present invention. This embodiment is applicable to the drawing of an electrical schematic diagram. The method can be executed by a drawing device for an electrical schematic diagram. The drawing device for an electrical schematic diagram can be implemented in the form of hardware and / or software. The drawing device for an electrical schematic diagram can be configured in a processor. Figure 1 As shown, the electrical schematic diagram includes a first circuit, a second circuit and a parametric symbol located in a drawing interface, and the drawing method includes the following steps:

[0041] S101, in response to a user's moving action on a parameterized symbol, the parameterized symbol is positioned between a first loop and a second loop, the parameterized symbol being used to represent a simplified loop omitted between the first loop and the second loop.

[0042] in, Figure 2This is a drawing interface diagram of the method for drawing an electrical schematic diagram according to an embodiment of the present invention. In the interface, there is a drawing drawing part 00, a menu bar 04 and a tool bar 05, and a first loop 01 and a second loop 02 located in the drawing part. The first loop 01 and the second loop 02 can be drawn by the user on the drawing interface based on the drawing of the target electrical schematic diagram, or can be automatically generated by the drawing software from the imported drawing of the target electrical schematic diagram. There is no specific limitation on the way the first loop 01 and the second loop 02 are formed on the drawing interface.

[0043] The reference symbol 03 is a form in which at least two geometric figures are arranged in sequence along the direction from the first loop 01 to the second loop 02. The geometric figures can be square, circle, triangle, rhombus, etc. Commonly used ones are generally Figure 2 The "three dots" shown in can indicate the meaning of omission. In one embodiment, a reference symbol library can be set in the drawing software for the user to select. Then, after responding to the user's selection of the reference symbol, it is added to the drawing interface. Based on the user's drag operation or cut-copy operation, the reference symbol 03 is added between the first loop 01 and the second loop 92, for example, it can be dragged to a preset position, and the preset position is the same distance from the first loop and the second loop, etc., so that it can be determined that the reference symbol 03 is associated with the first loop 01 and the second loop 02.

[0044] S102: In response to a user clicking on a parameterized symbol, a configuration window of the parameterized symbol is displayed to the user.

[0045] The click action in S102 may be a double-click or a single-click of the mouse, etc., which can trigger the display of the configuration window.

[0046] S103, in the configuration window, based on the user clicking on the control for selecting the starting loop, a starting loop selection window is formed, and in response to the user selecting the first loop in the drawing interface, the first loop is determined to be the starting loop; based on the user clicking on the control for selecting the ending loop, a ending loop selection window is formed, and in response to the user selecting the second loop in the drawing interface, the second loop is determined to be the ending loop; based on the generation rule configuration control, in response to the user's configuration operation, the generation rule of the simplified loop is configured.

[0047] Figure 3 This is a configuration interface diagram of the method for drawing an electrical schematic diagram according to an embodiment of the present invention, such as Figure 3As shown, in the configuration window, a start loop control 06 for selecting a frame, a stop loop control 07 for selecting a frame, and a generation rule configuration control 08 are included. When the start loop control 06 for selecting a frame is clicked, a selection box appears, and in response to the user's selection action on the first loop 01 in the drawing interface, the first loop 01 is determined to be the start loop 061. When the stop loop control 07 for selecting a frame is clicked, a selection box appears, and in response to the user's selection action on the second loop 02 in the drawing interface, the second loop 02 is determined to be the stop loop 071. After the generation rule is configured based on the generation rule configuration control, in response to the user's "OK" instruction, the configuration of the parameterized symbol 03 is completed.

[0048] S104: In response to the configuration completion instruction from the user, a simplified circuit is generated.

[0049] In response to a “confirmation” instruction from the user, the drawing software generates a simplified loop based on the starting loop 061 and the ending loop 071 .

[0050] S105 , when responding to the user's click action on the parameterized symbol again, displaying the simplified circuit to the user.

[0051] Therefore, by using the "three-dot" parametric symbol 03 to represent multiple identical circuits between the first circuit 01 and the second circuit 02, the drawing paper can be omitted, and by configuring the generated rules, the parametric symbol 03 has electrical properties, and the information of the original electrical schematic diagram will not be lost in order to omit the paper. Therefore, when drawing multiple identical or similar electrical circuits through the above method, it is possible to ensure the space of the drawing sheet and to ensure that all the information of the electrical schematic diagram is retained, making it easier for engineers to read the drawings, greatly reducing the drawing workload, and avoiding drawing errors, omissions, etc. Furthermore, the efficiency and accuracy of drawing, as well as the development efficiency of the project, are improved, and the complexity of the project is adapted.

[0052] Figure 4 This is a flowchart of another method for drawing an electrical schematic diagram provided by an embodiment of the present invention. The relationship between this embodiment and the above embodiment is that S104 is described in more detail, that is, after the user's configuration instructions are completed, a step of how the computer generates a simplified circuit is added. The description of the remaining steps can be referred to in Example 1, and will not be repeated in this embodiment. Figure 4 As shown, S104, in response to the user's configuration completion instruction, generating a simplified loop includes:

[0053] S1041, determining whether the start loop and the end loop meet the consistency condition;

[0054] S1042: When the starting loop and the ending loop meet the consistency condition, a simplified loop is generated based on the common loop features and generation rules of the starting loop and the ending loop.

[0055] It should be noted that both the starting loop and the ending loop have electrical components, connection relationships between components, identifier naming and other electrical property characteristics. When the electrical components, connection relationships between components, identifier naming and the like in the starting loop and the ending loop are similar or identical, that is, when the electrical properties are the same or similar, it can be considered that the two meet the consistency condition.

[0056] Optionally, the generation rule includes a simplified circuit electrical property generation rule, and S1041 determines whether the start circuit and the end circuit meet the consistency condition, including:

[0057] Picking up a first electrical property parameter of a start loop and a second electrical property parameter of a stop loop;

[0058] Associating electrical property parameters at the same position in the start loop and the end loop, when the electrical property parameters at the same position belong to the same type feature and each of the same positions satisfies the same condition, it is determined that the start loop and the end loop meet the consistency condition, wherein the type feature is an electrical connection relationship, a component selection, or an electrical identifier naming;

[0059] Based on the common circuit features and generation rules of the start circuit and the end circuit, the simplified circuit is generated including:

[0060] A simplified circuit is generated based on common type features and electrical property generation rules of the start circuit and the end circuit.

[0061] It should be noted that when judging whether the start loop and the end loop meet the consistency condition, the electrical property parameters of the start loop and the end loop can be picked up, and the electrical property parameters include the selection of electrical components in the loop, the naming of electrical identifiers, and the connection relationship of electrical components. Figure 5 ,exist Figure 5 In the first electrical property parameter of the picked-up starting circuit 061, the selection of the 1C1 electrical component is 1C, and the selection of the 1QF1 electrical component is QF1. In the 1C electrical component, the electrical identifiers are named U terminal, V terminal, W terminal, OUT+ terminal and OUT- terminal, and in the 1QF1 electrical component, the electrical identifiers are named 1, 2, 3, 4, 5, 6 terminals. In addition, the internal connection relationship is: U terminal is connected to 6 terminal, V terminal is connected to 4 terminal, and W terminal is connected to 2 terminal. The external connection relationship is the connection between OUT+ terminal and the outside, and the connection between OUT- terminal and the outside. Terminals 1, 3 and 5 are connected to the outside.

[0062] The second electrical property parameter in the picked-up starting circuit 071 includes the 1C9 electrical component selection 1C, and the 9QF1 electrical component selection QF1, and the electrical identifiers in the 1C electrical component are named U terminal, V terminal, W terminal, OUT+ terminal and OUT- terminal, and the electrical identifiers in the QF1 electrical component are named 1, 2, 3, 4, 5, 6 terminals. In addition, the internal connection relationship is: U terminal is connected to 6 terminal, V terminal is connected to 4 terminal, and W terminal is connected to 2 terminal. The external connection relationship is the connection between OUT+ terminal and the outside, and the connection between OUT- terminal and the outside. Terminals 1, 3 and 5 are connected to the outside.

[0063] In the starting loop 061 and the ending loop 071, take the center of each loop as the origin, find the corresponding electrical property parameters at the same position of the two loops, and compare them one by one. Exemplarily, the position of the 5th terminal of the starting loop 061 corresponds to the position of the 5th terminal of the ending loop 071, the position of the 3rd terminal of the starting loop 061 corresponds to the position of the 3rd terminal of the ending loop 071, and so on. When the starting loop 061 and the ending loop 071 are the same at each position, it means that the starting loop 061 and the ending loop 071 meet the consistency. Then, the type characteristics of each position of the starting loop 061 and the ending loop 071 are used as the electrical properties of the simplified loop, and the configuration in the electrical property generation rule is used (such as retaining the connection relationship between the starting loop 061 and the ending loop 071 and the external environment, and retaining the connection relationship inside the loop), then the simplified loop finally generated is Figure 6 In addition, the number of simplified circuits generated can also be configured in the electrical attribute generation rule.

[0064] In another embodiment, in order to generate more abundant simplified loop information, the generation rule further includes a simplified loop label generation rule, and S1041 determines whether the start loop and the end loop meet the consistency condition and further includes:

[0065] Pick up the first label parameter of the start loop and the second label parameter of the end loop;

[0066] Associating the label parameters at the same position in the start loop and the end loop, when the label parameters at the same position satisfy the same label format, and each of the same positions satisfies the same label format, it is determined that the start loop and the end loop meet the consistency condition;

[0067] Based on the common circuit features and generation rules of the start circuit and the end circuit, the generation of simplified circuits also includes:

[0068] Based on the common label form of the start loop and the end loop and the label generation rule, the label of the simplified loop is generated.

[0069] It should be noted that when determining whether the start loop and the end loop meet the consistency condition, the label parameters of the start loop and the end loop can be picked up, and the label parameters include the label format of the electrical components in the loop. Figure 5 ,exist Figure 5 In the example, the first label parameter in the picked-up starting loop 061 includes the label 1C1 of the 1C1 electrical component and the label 1QF1 of the 1QF1 electrical component. The second label parameter in the picked-up ending loop 071 includes the label 1C9 of the 1C9 electrical component and the label 9QF1 of the 9QF1 electrical component. At the same position, the label formats of the two are the same. For example, at the position of 1C1, the formats are all in the form of numbers, letters C and numbers, and at the position of 1QF1, the formats are all in the form of numbers, letters Q, letters F and numbers. Among them, at the position of 1C1, the third digit changes, and at the position of 1QF1, the first digit changes. Furthermore, it can be obtained that the changed number is the serial number of the loop. Therefore, according to the pre-set label generation rules, such as the increasing rule, the serial numbers of the simplified loops are arranged, and then it can be obtained. Figure 7 The electrical schematic diagram of the simplified circuit shown in Figure 1 is shown in Figure 1. It should be noted that due to paper limitations, Figure 6 and Figure 7 Only three simplified circuits are shown.

[0070] Optionally, S1041 determining whether the start loop and the end loop meet the consistency condition further includes:

[0071] When at least one electrical property parameter at the same position does not belong to the same type of feature, and / or at least one label parameter at the same position does not belong to the same label format, it is determined that the starting loop and the ending loop do not meet the consistency condition, and an error reminder message is displayed to the user.

[0072] Among them, after the user completes the configuration, the computer calculates the electrical properties of the simplified circuit. If the starting circuit and the end circuit do not meet the consistency conditions, the calculation cannot be performed. At this time, an error reminder will be given, such as a pop-up window. At this time, the user needs to reselect the starting circuit and the end circuit. This situation is easy to occur when there are multiple circuits in the drawing interface in addition to the first and second circuits. At this time, the user is likely to make a wrong selection.

[0073] Optionally, S105 showing the simplified loop to the user includes: showing the simplified loop information to the user in a tree or list format.

[0074] After the user configuration is completed, the simplified circuit is generated. At this time, the information of each simplified circuit has formed a list or tree structure inside the computer. Then, when the user clicks the parameterized symbol, the drawing interface can display the relevant information of the simplified circuit to the user in the form of a tree or list. It is convenient for the user to view. In one embodiment, the list can be in the form of Figure 3 The circuit list, label selection, connection relationship, etc. in the lower left corner.

[0075] Optionally, after the simplified circuit is generated in S104, the method further includes: storing the simplified circuit in a storage block associated with the parameterized symbol. After the simplified circuit is generated, the content of the simplified circuit is stored for easy re-calling.

[0076] Optionally, after displaying the simplified circuit to the user in S105, the method further includes: in response to an editing operation performed by the user on the information of the simplified circuit, modifying the information of the simplified circuit.

[0077] That is, after displaying the simplified circuit to the user, the user can also edit the simplified circuit accordingly. This is applicable to when a few of the simplified circuits are different from other simplified circuits, and can be manually modified. This improves the efficiency of drawing. For example, in the example Figure 3 In the display window, before the simplified circuit is generated, the circuit list only has the start circuit and the end circuit. After the simplified circuit is generated, the circuit list adds simplified circuit 1, simplified circuit 2, etc. When you need to modify simplified circuit 2, you can click simplified circuit 2, and you can make corresponding edits in the label selection and connection relationship on the right, such as using the drop-down menu option method or manual editing method.

[0078] Optionally, after the simplified loop is generated in S104, the method further includes: when the first loop and / or the second loop changes, the simplified loop association changes synchronously.

[0079] That is to say, when the start circuit and the end circuit of the box selection change, the simplified circuit changes synchronously, or when the user modifies the first circuit and the second circuit, the simplified circuit changes synchronously. After the simplified circuit association changes in this way, the demand for updating the entire electrical schematic at any time can be met. Avoid redrawing the drawing due to minor changes in the first circuit and / or the second circuit (such as changes in identifier naming or numbering, etc.).

[0080] Optionally, after the simplified circuit is generated in S104, the method further includes: in response to a statistical output operation of the user, generating one or more of a connection element report, a selection report, a connection relationship report or a wiring diagram based on the first circuit, the second circuit and the simplified circuit.

[0081] It should be noted that the simplified circuit expression can be used for functions such as automatic report output. The simplified circuit expression, including but not limited to the form of the "..." symbol, has the properties of electrical circuits and symbols, and can be applied to the automatic statistics and output functions of electrical information, including but not limited to component reports, selection reports, connection relationship reports, wiring diagrams, etc. Since the simplified circuit has electrical properties, when the user needs to perform statistical output of the entire electrical schematic, the first circuit, the second circuit, and the related electrical information in the simplified circuit can be output. This will help users to count the component models and quantities required for the implementation of the project, and help users control the overall picture of the entire electrical schematic.

[0082] In a specific embodiment, the drawing method comprises the following steps:

[0083] Step 1: Draw a single circuit. Use electrical design software to draw an electrical circuit with electrical properties. You can define device identifiers, select components, make electrical connections, and other settings.

[0084] Step 2: Place a parametric symbol. Select the parametric symbol (a simplified expression such as the "..." symbol, which can also be replaced by other symbols) from the menu bar and place the symbol in the schematic. This symbol represents several circuits in a simplified expression (referred to as "simplified circuits") and can be configured parametrically. Double-click the parametric symbol to open the "Simplified Circuit Property Editing" window. For example, Figure 3 .

[0085] Step 3: Select the template circuit. Through the "Simplified Circuit Property Editing" window, select the template circuit in the schematic diagram, and select a starting template circuit and an ending template circuit.

[0086] Step 4: Select parameter configuration: Through the "Simplified Circuit Property Editing" window, select and enter parameter configuration, such as identifier naming rules, connection relationship configuration, external connection processing method, component selection rules, etc.

[0087] Step 5: Automatically create simplified circuits. Through parameter configuration in the "Simplified Circuit Property Editing" window and selection of template circuits, specific simplified circuits are automatically created in batches. The electrical properties of the simplified circuits are extracted from the template circuits.

[0088] Step 6 Edit the simplified circuit properties. The "Simplified Circuit Property Editing" window displays the simplified circuit information details in a tree or list format. You can view and edit all electrical properties of all circuits, and select components through the database.

[0089] Step 7: Automatically associate and modify the circuit. When you edit the template circuit again, the association modification of the simplified parameterized circuit will be automatically completed according to the defined parameters and rules, realizing the automatic association modification of the template circuit and the simplified circuit.

[0090] Step 8: Automatic statistical output function. Schematic circuits, template circuits, simplified circuits, etc. can all perform automatic statistics and output of electrical information equivalently.

[0091] In summary, the drawing method of the electrical schematic diagram proposed by the embodiment of the present invention can be expressed in a simplified circuit expression method with electrical properties, that is, by placing a form including but not limited to "..." symbols in the schematic diagram to express multiple omitted similar circuits. In other words, the method can draw an electrical schematic diagram with electrical properties, meet the automatic statistical output function of electrical information, and improve the efficiency by 10 times compared with the manual statistical output report. And it can express similar circuits in a simplified manner, greatly simplifying the schematic circuit expression, and improve the efficiency by 3 times compared with manually drawing the same circuit. The simplified expression of a large number of circuits saves drawing space and reduces the paper consumption of drawing printing. Taking the drawing of 100 similar circuits in a project as an example, the paper saving is about 80%. And the simplified circuit expression can improve the efficiency of engineers reading drawings, and can effectively reduce the workload of engineers to check and compare whether the circuit parameters are consistent on multiple pages, and the efficiency is improved by 3 times. It can also effectively avoid the errors caused by manually entering attributes when drawing multiple circuits, and improve the quality of electrical design.

[0092] Another embodiment of the present invention further provides a device for drawing an electrical schematic diagram, wherein the electrical schematic diagram includes a first circuit, a second circuit, and a parameterized symbol located in a drawing interface, and a drawing method includes the following steps:

[0093] A first generating module is used to perform the following steps: in response to a user's moving action on the parameterized symbol, the parameterized symbol is located between the first loop and the second loop, and the parameterized symbol is used to represent a simplified loop omitted between the first loop and the second loop;

[0094] The configuration module is used to perform the following steps: in response to a user clicking on the parameterized symbol, display a configuration window of the parameterized symbol to the user;

[0095] In the configuration window, based on the user's click on the control for selecting the starting loop, a starting loop selection window is formed, and in response to the user's selection action on the first loop in the drawing interface, the first loop is determined to be the starting loop; based on the user's click on the control for selecting the ending loop, a ending loop selection window is formed, and in response to the user's selection action on the second loop in the drawing interface, the second loop is determined to be the ending loop; based on the generation rule configuration control, in response to the user's configuration operation, the generation rule of the simplified loop is configured;

[0096] A second generating module, configured to execute the step of generating a simplified circuit in response to a configuration completion instruction of a user;

[0097] The display module is used to execute the step of displaying the simplified circuit to the user in response to the user's clicking action on the parameterized symbol again.

[0098] Optionally, the second generation module includes:

[0099] A judgment module, used to judge whether the starting loop and the ending loop meet the consistency condition;

[0100] The first execution module is used to generate a simplified loop based on the common loop features and generation rules of the starting loop and the ending loop when the starting loop and the ending loop meet the consistency condition.

[0101] Optionally, the generation rule includes a simplified circuit electrical property generation rule, and the judgment module includes:

[0102] A first picking unit, used for picking up a first electrical property parameter of a start loop and a second electrical property parameter of a stop loop;

[0103] A first determination unit is used to associate electrical property parameters at the same position in the start loop and the end loop, and when the electrical property parameters at the same position belong to the same type feature and are satisfied at each same position, it is determined that the start loop and the end loop meet the consistency condition, wherein the type feature is an electrical connection relationship, a component selection, or an electrical identifier naming;

[0104] The first execution module includes:

[0105] The first execution unit is used to generate a simplified loop based on the common type characteristics and electrical property generation rules of the start loop and the end loop.

[0106] Optionally, the generation rule further includes a simplified loop label generation rule, and the judgment module further includes:

[0107] A second picking unit, used for picking up a first label parameter of a starting loop and a second label parameter of a stopping loop;

[0108] A second determining unit is used to associate the label parameters at the same position in the start loop and the end loop, and when the label parameters at the same position meet the same label format and each of the same positions meets the same label format, it is determined that the start loop and the end loop meet the consistency condition;

[0109] The first execution module also includes:

[0110] The second execution unit is used to generate a label of the simplified loop based on the common label form of the start loop and the end loop and the label generation rule.

[0111] Optionally, the judging module further includes:

[0112] A third determining unit is used to determine that the start loop and the end loop do not meet the consistency condition when at least one electrical property parameter at the same position does not belong to the same type of feature and / or at least one label parameter at the same position does not belong to the same label format;

[0113] The second execution module is used to display error reminder information to the user.

[0114] Optionally, the display module includes:

[0115] The display unit is used to display the simplified circuit information to the user in a tree or list form.

[0116] Optionally, the electrical schematic drawing device further includes: a storage module for storing in a storage block associated with the parameterized symbol.

[0117] Optionally, the electrical schematic drawing device further includes: an editing module for modifying the simplified circuit information in response to a user's editing operation on the simplified circuit information.

[0118] Optionally, the electrical schematic drawing device further includes: a synchronous association modification module, which is used to simplify the circuit association to change synchronously when the first circuit and / or the second circuit changes.

[0119] Optionally, the electrical schematic drawing device also includes: a statistical output module, which is used to generate one or more of a connection element report, a selection report, a connection relationship report or a wiring diagram based on the first circuit, the second circuit and the simplified circuit in response to the user's statistical output operation.

[0120] The electrical schematic drawing device provided in the embodiment of the present invention can execute the electrical schematic drawing method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0121] An embodiment of the present invention provides an electronic device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the method for drawing an electrical schematic diagram of any embodiment of the present invention.

[0122] Figure 8A schematic diagram of an electronic device that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0123] like Figure 8 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the random access memory (RAM) 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the read-only memory (ROM) 12 and the random access memory (RAM) 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0124] A number of components in the electronic device 10 are connected to an input / output (I / O) interface 15, including an input unit 16, such as a keyboard, a mouse, etc., an output unit 17, such as various types of displays, speakers, etc., a storage unit 18, such as a disk, an optical disk, etc., and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0125] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 performs the various methods and processes described above, such as a method for drawing an electrical schematic diagram.

[0126] In some embodiments, the method for drawing an electrical schematic diagram may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via a read-only memory (ROM) 12 and / or a communication unit 19. When the computer program is loaded into a random access memory (RAM) 13 and executed by the processor 11, one or more steps of the method for drawing an electrical schematic diagram described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to execute the method for drawing an electrical schematic diagram in any other appropriate manner (e.g., by means of firmware).

[0127] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0128] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0129] The embodiment of the present invention further provides a computer-readable storage medium, which stores computer instructions. The computer instructions are used to enable a processor to implement the method for drawing an electrical schematic diagram of any embodiment of the present invention when executed.

[0130] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0131] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0132] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0133] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0134] An embodiment of the present invention further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the computer program implements a method for drawing an electrical schematic diagram according to any embodiment of the present invention.

[0135] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0136] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for drawing an electrical schematic diagram, characterized in that: The electrical schematic diagram includes a first circuit, a second circuit and a parameterized symbol located in a drawing interface, and the drawing method includes the following steps: In response to a user's moving action on the parameterized symbol, the parameterized symbol is positioned between the first loop and the second loop, and the parameterized symbol is used to represent a simplified loop omitted between the first loop and the second loop; In response to a user clicking on the parameterized symbol, displaying a configuration window of the parameterized symbol to the user; In the configuration window, based on a user clicking on a control for selecting a starting loop, a starting loop selection window is formed, and in response to a user selecting a first loop in the drawing interface, the first loop is determined to be a starting loop; based on a user clicking on a control for selecting a stopping loop, a stopping loop selection window is formed, and in response to a user selecting a second loop in the drawing interface, the second loop is determined to be a stopping loop; based on a generation rule configuration control, in response to a user's configuration operation, a generation rule for the simplified loop is configured; In response to a configuration completion instruction from a user, generating the simplified circuit; When responding to the user's clicking action on the parameterized symbol again, the simplified circuit is displayed to the user.

2. The method for drawing an electrical schematic diagram according to claim 1, characterized in that: In response to a configuration completion instruction from a user, generating the simplified loop includes: It is determined whether the starting loop and the ending loop meet a consistency condition, and when the starting loop and the ending loop meet the consistency condition, the simplified loop is generated based on the common loop features of the starting loop and the ending loop and the generation rule.

3. The method for drawing an electrical schematic diagram according to claim 2, characterized in that: The generation rule includes the electrical property generation rule of the simplified circuit, and judging whether the starting circuit and the ending circuit meet the consistency condition includes: Picking up a first electrical property parameter of the start loop and a second electrical property parameter of the stop loop; Associating electrical property parameters at the same position in the start loop and the end loop, and determining that the start loop and the end loop meet a consistency condition when the electrical property parameters at the same position belong to the same type feature and each of the same positions meets the same type feature, wherein the type feature is an electrical connection relationship, a component selection, or an electrical identifier naming; Based on the common loop features of the starting loop and the ending loop and the generation rule, generating the simplified loop includes: The simplified circuit is generated based on the common type features of the start circuit and the end circuit and the electrical property generation rule.

4. The method for drawing an electrical schematic diagram according to claim 3, characterized in that: The generation rule also includes a label generation rule for the simplified loop, and judging whether the starting loop and the ending loop meet the consistency condition also includes: Picking up a first label parameter of the start loop and a second label parameter of the end loop; Associating the label parameters at the same position in the start loop and the end loop, and when the label parameters at the same position satisfy the same label format and each of the same positions satisfies the same label format, determining that the start loop and the end loop satisfy the consistency condition; Based on the common loop features of the starting loop and the ending loop and the generation rule, generating the simplified loop further includes: The label of the simplified loop is generated based on the common label form of the starting loop and the ending loop and the label generation rule.

5. The method for drawing an electrical schematic diagram according to claim 4, characterized in that: Determining whether the starting loop and the ending loop meet the consistency condition further includes: When at least one electrical property parameter at the same position does not belong to the same type of feature, and / or at least one label parameter at the same position does not belong to the same label format, it is determined that the starting loop and the ending loop do not meet the consistency condition, and an error reminder message is displayed to the user.

6. The method for drawing an electrical schematic diagram according to claim 1, characterized in that: The simplified circuit is presented to the user including: The information of the simplified circuit is presented to the user in a tree or list form.

7. The method for drawing an electrical schematic diagram according to claim 1, characterized in that: After generating the simplified circuit, the method further includes: Stored in a memory block associated with the parameterized symbol.

8. The method for drawing an electrical schematic diagram according to claim 1, characterized in that: After presenting the simplified circuit to the user, the method further comprises: In response to a user's editing operation on the information of the simplified circuit, the information of the simplified circuit is modified.

9. The method for drawing an electrical schematic diagram according to claim 1, characterized in that: After generating the simplified circuit, the method further includes: When the first loop and / or the second loop changes, the simplified loop association changes synchronously.

10. The method for drawing an electrical schematic diagram according to claim 1, characterized in that: After generating the simplified circuit, the method further includes: In response to the user's statistical output operation, one or more of a connection element report, a selection report, a connection relationship report or a wiring diagram is generated based on the first circuit, the second circuit and the simplified circuit.

11. A device for drawing an electrical schematic diagram, characterized in that: The electrical schematic diagram includes a first circuit, a second circuit and a parameterized symbol located in a drawing interface, and the drawing method includes the following steps: A first generating module is used to perform the following steps: in response to a user's moving action on the parameterized symbol, the parameterized symbol is located between the first loop and the second loop, and the parameterized symbol is used to represent a simplified loop omitted between the first loop and the second loop; A configuration module, configured to execute the following steps: in response to a user clicking on the parameterized symbol, displaying a configuration window of the parameterized symbol to the user; In the configuration window, based on a user clicking on a control for selecting a starting loop, a starting loop selection window is formed, and in response to a user selecting a first loop in the drawing interface, the first loop is determined to be a starting loop; based on a user clicking on a control for selecting a stopping loop, a stopping loop selection window is formed, and in response to a user selecting a second loop in the drawing interface, the second loop is determined to be a stopping loop; based on a generation rule configuration control, in response to a user's configuration operation, a generation rule for the simplified loop is configured; A second generating module, configured to execute the step of generating the simplified circuit in response to a configuration completion instruction of a user; The display module is used to execute the step of displaying the simplified circuit to the user in response to the user clicking the parameterized symbol again.

12. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the method for drawing an electrical schematic diagram according to any one of claims 1 to 10.

13. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method for drawing an electrical schematic diagram according to any one of claims 1 to 10 when executed.

14. A computer program product, characterized in that The computer program product comprises a computer program, which, when executed by a processor, implements the method for drawing an electrical schematic diagram according to any one of claims 1 to 10.