Electrical design drawing processing method, electrical design system and equipment

Through the cloud-based web version electrical design system, electrical design drawings are generated using the electrical component database, which solves the problem of poor flexibility in electrical design software in the existing technology, realizes flexible design on a variety of devices and operating systems, and enhances user experience and design efficiency.

CN119248149APending Publication Date: 2025-01-03GUANGDONG ANCHENG HAIYUN TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202310810123.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-03
Publication Date
2025-01-03

AI Technical Summary

Technical Problem

The existing electrical design software is poor in flexibility, and users need to download and install and perform local maintenance. They cannot flexibly use a variety of devices and operating systems for design, and cannot complete the electrical design drawings in a timely manner when they cannot use the terminal equipment with the software installed. design.

Method used

Provide a cloud-based web version electrical design system, which generates electrical design drawings through the electrical component database, and responds to user interactions in the cloud server and outputs design drawings, avoids restrictions on applications and operating systems, and supports multiple devices. and the use of the operating system.

Benefits of technology

Improves the flexibility of electrical design drawing design, users can design without installing software, enhances the experience, and reduces dependence on operation and maintenance personnel, achieving design capabilities on any device and operating system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119248149A_ABST
    Figure CN119248149A_ABST
Patent Text Reader

Abstract

The invention provides an electrical design drawing processing method, an electrical design system and equipment. The method is applied to a web version electrical design system, the electrical design system comprises an electrical element database, the electrical element database comprises attribute information of a plurality of electrical elements, and the attribute information comprises icons and electrical parameters of the electrical elements. The method comprises the following steps: in response to an interactive operation of a user on an electrical design interface of a first web client, determining attribute information of at least two electrical elements, positions of the electrical elements and a connection relationship between the electrical elements from an electrical element database; and generating an electrical design drawing according to the attribute information of the electrical elements, the positions of the electrical elements and the connection relationship of the electrical elements, and outputting the electrical design drawing to the first web client. According to the method, the design flexibility of the electrical design drawing is improved, and the user experience is enhanced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the electrical field, and in particular to an electrical design drawing processing method, an electrical design system and equipment. Background Art

[0002] In the electrical field, the design of electrical design drawings is an extremely important part. At present, most electrical designs are mainly implemented by electrical design software, which mainly adopts the client-server (C / S) architecture mode. However, the existing electrical design software is an application software based on the operating system, and users need to download and install it. If the electrical design software needs to be updated and upgraded, the user needs to download and install the software again, and local maintenance personnel are required to maintain the software. Therefore, the current electrical design drawing design method has the problem of poor flexibility.

[0003] Therefore, how to improve the flexibility of electrical design drawings is an urgent problem to be solved. Summary of the invention

[0004] The present application provides an electrical design drawing processing method, an electrical design system and a device, which are used to solve the problem of poor flexibility in the design method of electrical design drawings in the prior art.

[0005] In a first aspect, the present application provides an electrical design drawing processing method, the method being applied to a web-based electrical design system, the electrical design system comprising an electrical component database, the electrical component database comprising: attribute information of a plurality of electrical components, the attribute information comprising: icons and electrical parameters of the electrical components; the method comprising:

[0006] In response to an interactive operation of a user on an electrical design interface of a first web client, determining attribute information of at least two electrical components, positions of the electrical components, and connection relationships between the electrical components from the electrical component database;

[0007] Generate an electrical design drawing according to the attribute information of the electrical components, the positions of the electrical components, and the connection relationships of the electrical components;

[0008] The electrical design drawing is output to the first web client.

[0009] Optionally, the method further includes:

[0010] The description information of the electrical design drawing is stored, wherein the description information is used to describe the attribute information, position, and connection relationship of the electrical components in the electrical design drawing.

[0011] Optionally, the storage of the description information of the electrical design drawing includes:

[0012] Obtaining an identification of the electrical design drawing;

[0013] Determining a target workspace corresponding to the electrical design drawing according to the identification of the electrical design drawing;

[0014] Establishing a target data table in the target workspace;

[0015] The description information of the electrical design drawing is stored in the target data table.

[0016] Optionally, the method further includes:

[0017] Receiving an update instruction of the electrical design drawing sent by a target web client; the target web client is the first web client or the second web client;

[0018] Outputting an updated page containing the electrical design drawing to the target web client;

[0019] In response to an interactive operation of a user on an update page of the target web client, updating attribute information of at least one electrical component and a connection relationship between electrical components on the electrical design drawing to obtain an updated electrical design drawing;

[0020] The updated electrical design drawing is output to the target web client, and the stored description information of the electrical design drawing is updated.

[0021] Optionally, the electrical design system includes an electrical design rule library, and the electrical design rule library includes at least one electrical design rule;

[0022] After generating the electrical design drawing according to the attribute information of the electrical component, the position of the electrical component, and the connection relationship of the electrical component, the method further includes:

[0023] Determine, according to the electrical design rules in the electrical design rule library, whether there are electrical components in the electrical design drawing that do not comply with the electrical design rules, and / or the connection relationship between the electrical components;

[0024] If there are electrical components that do not comply with electrical design rules, and / or connection relationships between electrical components, prompt information is output to the first web client.

[0025] Optionally, the method further includes:

[0026] If there are electrical components that do not conform to the electrical design rules and / or the connection relationship between the electrical components, then no modification scheme for the electrical components that conform to the electrical design rules and / or the connection relationship between the electrical components can be determined based on the electrical design rules in the electrical design rule library and the design requirements of the user;

[0027] The outputting prompt information to the first web client includes:

[0028] Output the prompt information and the modification plan to the first web client.

[0029] Optionally, determining whether there are electrical components that do not comply with the electrical design rules in the electrical design rule library and / or the connection relationship between electrical components in the electrical design drawing includes:

[0030] Acquire, from the electrical design rule library, a first electrical design rule related to the attribute information of the electrical components in the electrical design drawing, and a second electrical design rule related to the connection relationship between the electrical components in the electrical design drawing;

[0031] Determining whether there are electrical components in the electrical design drawing that do not comply with the first electrical design rule according to the first electrical design rule and the attribute information of the electrical components in the electrical design drawing;

[0032] According to the second electrical design rule and the connection relationship between electrical components in the electrical design drawing, it is determined whether there is a connection relationship in the electrical design drawing that does not comply with the second electrical design rule.

[0033] Optionally, the method further includes:

[0034] Receiving a target table output instruction of the electrical design drawing sent by the first web client;

[0035] Determining the content of the electrical design drawing involved in the target table according to the target table output instruction;

[0036] Acquire the content from the stored description information of the electrical design drawing;

[0037] Fill the target table template with the content to obtain the target table;

[0038] The target table is output to the first web client.

[0039] In a second aspect, the present application provides an electrical design system, including: a drawing design subsystem, a data structuring subsystem, a workspace management subsystem, and an intelligent error correction subsystem;

[0040] The drawing design subsystem is used to provide a web interface for designing electrical design drawings;

[0041] The data structuring subsystem is used to convert the electrical components included in the electrical design drawing and the connection relationship between the electrical components into structured data, and store the structured data in a data table corresponding to the electrical design drawing;

[0042] The workspace management subsystem is used to manage the electrical design drawings and the workspaces where the data tables corresponding to the electrical design drawings are located, and different electrical design projects correspond to different workspaces;

[0043] The intelligent error correction subsystem is used to identify errors in the electrical components included in the electrical design drawings and the connection relationships between the electrical components. If an error exists, a prompt message corresponding to the error is output.

[0044] In a third aspect, the present application provides an electronic device, comprising: a processor, a communication interface, and a memory; the processor is communicatively connected to the communication interface and the memory respectively;

[0045] The memory stores computer-executable instructions;

[0046] The communication interface communicates and interacts with external devices;

[0047] The processor executes the computer-executable instructions stored in the memory to implement the method as described in any one of the first aspects.

[0048] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer execution instructions, and when the computer execution instructions are executed by a processor, they are used to implement the electrical design drawing processing method as described in any one of the first aspects.

[0049] In a fifth aspect, the present application provides a computer program product, which, when executed by a processor, is used to implement the electrical design drawing processing method as described in any one of the first aspects.

[0050] The electrical design drawing processing method, electrical design system and device provided by the present application determine the attribute information of at least two electrical components, the position of the electrical components, and the connection relationship between the electrical components from the electrical component database through the cloud server of the electrical design system in response to the interactive operation of the user on the electrical design interface of the first web client. The electrical design drawing is generated according to the attribute information of the electrical components, the position of the electrical components, and the connection relationship of the electrical components, and the electrical design drawing is output to the first web client, so that the user is no longer restricted by the application program and the operating system, and can more flexibly use multiple devices and multiple operating systems to design the electrical design drawing, thereby improving the flexibility of the electrical design drawing design and enhancing the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0052] Figure 1 A schematic diagram of the structure of an electrical design system provided in an embodiment of the present application;

[0053] Figure 2 A schematic diagram of a flow chart of a method for processing electrical design drawings provided in an embodiment of the present application;

[0054] Figure 3 A schematic diagram of another process for processing electrical design drawings provided in an embodiment of the present application;

[0055] Figure 4 A flowchart of another method for processing electrical design drawings provided in an embodiment of the present application;

[0056] Figure 5 A flowchart of another method for processing electrical design drawings provided in an embodiment of the present application;

[0057] Figure 6 A flowchart of another method for processing electrical design drawings provided in an embodiment of the present application;

[0058] Figure 7 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.

[0059] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0060] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0061] At present, electrical design software is in the form of application software installed in the operating system of the user's terminal device. The user must install the electrical design software on the user's terminal device, such as a computer, laptop, tablet computer and other devices, before the electrical design drawings can be designed. In this mode, it is necessary to equip the user side with operation and maintenance personnel to ensure the normal operation of the electrical design software. In addition, when the user cannot use the terminal device installed with the electrical design software, there is a design demand for electrical design drawings, and the corresponding drawing design cannot be completed in time. For example, the electrical design software is installed in the computer of the user's company, and the terminal devices in the user's home do not have the electrical design software installed. Then, after the user gets off work, or when the user is on vacation, if the user receives a design demand for electrical design drawings, or modifies the electrical design drawings, the user cannot realize the design demand in time.

[0062] Therefore, the current electrical design software has the problem of poor flexibility in the design of electrical design drawings.

[0063] In view of this, the present application provides a web version of an electrical design system, which is deployed in the cloud and presents its front-end interface in the form of a web, and the front-end interface can provide users with the design function of electrical design drawings. Users only need to open a web page and log in to the electrical design system to design electrical design drawings on the front-end page of the web version of the electrical design system, which improves the flexibility of electrical design drawing design.

[0064] Figure 1 This is a schematic diagram of the structure of an electrical design system provided in an embodiment of the present application. Figure 1 As shown, according to the functions that the electrical design system needs to implement, the system architecture of the electrical design system can be divided into: drawing design subsystem, data structuring subsystem, workspace management subsystem, and intelligent error correction subsystem. The above subsystems can be deployed in the form of software on a server or a server cluster, or in the form of a drawing design subsystem, a data structuring subsystem, a workspace management subsystem, and an intelligent error correction subsystem. When deployed in the form of software, the test subsystem and the safety management subsystem can be deployed on the same server or on two different servers.

[0065] The drawing design subsystem is used to provide a web interface for designing electrical design drawings. The web interface is displayed in the web client. The user can log in to the web client and operate the web interface to realize the design of electrical design drawings. When the user designs electrical design drawings in the web interface, human-computer interaction can be implemented by graphical drag and drop operations. The graphical operation can be based on an open standard vector graphics language, such as Scalable Vector Graphics (SVG). In the drawing design subsystem, an electrical component database can be included. The electrical component database can include attribute information of multiple electrical components, and the attribute information includes icons and electrical parameters of the electrical components. The user can design electrical design drawings in the web interface by dragging the icon of the electrical component.

[0066] The data structuring subsystem is used to convert the electrical components included in the electrical design drawing and the connection relationship between the electrical components into structured data, and store it in the data table corresponding to the electrical design drawing. The structured data corresponding to the electrical component may include the electrical parameters of the electrical component and the parameters corresponding to the connection relationship between the electrical components. For example, the electrical parameters may include information such as the current, voltage, power, etc. when the electrical component is working, and the parameters corresponding to the connection relationship between the electrical components may include information such as the electrical parameters of the connected electrical components and the connecting wires. The data structuring subsystem can read the electrical components included in the electrical design drawing and the connection relationship between the electrical components, and store the corresponding data in a data table or database. The connection relationship between the electrical components can, for example, generate a power supply relationship topology diagram to characterize the electrical components with connection relationships.

[0067] The workspace management subsystem is used to manage the electrical design drawings and the workspace where the data table corresponding to the electrical design drawings is located. Different electrical design projects correspond to different workspaces. The workspace and electrical design project to which the electrical design drawing belongs can be determined by the identification of the electrical design drawing. The identification can be, for example, the name of the electrical design drawing, the document number, etc. There is a mapping relationship between the identification and the workspace. For example, the identification of the corresponding workspace can be included in the document number. The identification of the workspace can be, for example, the identity document (ID) of the workspace. Through the workspace management subsystem, multiple electrical design projects where the user is located can be isolated, which is convenient for the user to switch between multiple electrical design projects, thereby improving the efficiency of electrical design drawing design.

[0068] The intelligent error correction subsystem is used to identify errors in electrical components included in electrical design drawings and the connection relationships between electrical components. If an error exists, a prompt message corresponding to the error is output.

[0069] Optionally, the electrical design system can be deployed on a public cloud server or a private cloud server. When deployed on a public cloud server, the electrical design system can be maintained by the system provider, and the user only needs to log in to the web client of the electrical design system to design electrical design drawings at any time. When deployed on a private cloud server, the electrical design system can also be connected to the enterprise resource planning (ERP) system of the enterprise where the user is located, and based on sharing the enterprise architecture, employee information, etc. with the ERP system, the role management function of the enterprise employee users when using the electrical design system can be realized. For example, users from different departments have different usage permissions and different usage interfaces when using the functions of the electrical design system, thereby improving the efficiency and security of the user's electrical design. In addition, the electrical design system can also be provided with an interface that can connect to upstream and downstream enterprises of electrical design, so that upstream and downstream enterprises can log in to the electrical design system for collaborative design.

[0070] exist Figure 1 Under the electrical design system shown, the present application also provides a method for processing electrical design drawings, which generates electrical design drawings corresponding to the interactive operations performed by the user in the electrical design interface of the web client in response to the interactive operations performed by the user, and outputs the electrical design drawings to the web client used by the user, thereby avoiding the problem of not being able to realize the design requirements of the electrical design drawings when the user cannot use the terminal device installed with the electrical design software, and there is no need for the electrical design system to be maintained by operation and maintenance personnel on the user side, thereby improving the flexibility of electrical design drawing design.

[0071] Below, the execution subject is Figure 1 Taking the cloud server where the electrical design system shown is located as an example, the technical solution of the present application and how the technical solution of the present application solves the above technical problems are described in detail through specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0072] Figure 2 A flowchart of an electrical design drawing processing method provided in an embodiment of the present application.

[0073] like Figure 2 As shown, the method may include:

[0074] S201. In response to an interactive operation of a user on an electrical design interface of a first web client, attribute information of at least two electrical components, positions of the electrical components, and connection relationships between the electrical components are determined from an electrical component database.

[0075] Among them, the first web client is provided by the cloud server of the electrical design system in the form of a web page, and the user can log in, access and use the first web client in the form of a web page. The electrical design interface is also displayed in the web page. The web page can be opened by a browser on the user terminal device, such as any browser such as Chrome, Edge, Firefox, etc. The user terminal device on which the browser is installed can be an electronic device such as a mobile phone, a computer, a tablet computer, etc. The operating system of the user terminal device can be any operating system that can support network access using a browser. The user's interactive operations on the electrical design interface can be, for example, interactive operations that can be supported by the web page such as clicking, dragging, and inputting. This application does not limit this.

[0076] The attribute information of the electrical component may include, for example, the supplier of the electrical component, the name of the electrical component, the number of the electrical component (such as part number, order number, etc.), the circuit attribute of the electrical component (such as current, voltage, power, etc.), etc. There is a connection relationship between two connected electrical components, and the connection relationship may include physical connection and logical connection, for example, the electrical components may be physically connected through wires, or the electrical components may have an electrical connection relationship by setting network labels.

[0077] The user can drag the electrical components to be selected from the electrical component database to the area where the electrical design drawings can be designed on the electrical design interface by dragging, and can place the electrical components at any position in the area by dragging. The user can also add a connection relationship between any two electrical components, for example, by adding a wire, or by setting a network label to connect two electrical components to indicate that there is a connection relationship between the two electrical components, and what kind of connection relationship exists. The attribute information of the electrical component is bound to the electrical component, and can be displayed near the icon of the electrical component, or it can be not displayed, or the attributes to be displayed can be determined according to the user's choice.

[0078] In a possible implementation, after the user completes any interactive operation on the electrical design interface, the server obtains the operation instruction corresponding to the interactive operation, and determines information such as the electrical component selected by the user, the position of the selected electrical component after the user moves it, the two electrical components connected by the user and the connection relationship between the two electrical components based on the operation instruction. Based on the above information, the server determines the attribute information of at least two electrical components, the position of the electrical components, and the connection relationship between the electrical components from the electrical component database.

[0079] In another possible implementation, after the user completes all interactive operations on the first web client, the server obtains the electrical components, the position of each electrical component, and the connection relationship between the electrical components included in the electrical design interface. Based on the above information, the server determines the attribute information of at least two electrical components, the position of the electrical components, and the connection relationship between the electrical components from the electrical component database.

[0080] S202: Generate an electrical design drawing according to the property information of the electrical components, the positions of the electrical components, and the connection relationships of the electrical components.

[0081] According to the attribute information of the electrical components included in the electrical design interface in the first web client, the electrical components selected by the user and the attributes of the electrical components selected by the user are determined. According to the position of the electrical components, the position and / or size of the area that can be designed on the electrical design interface of each electrical component are determined. According to the connection relationship between each two electrical components, the electrical components that need to be connected and the connection relationship between these electrical components are determined.

[0082] The server places the electrical components selected by the user at corresponding positions based on the attribute information of the electrical components, the positions of the electrical components, and the connection relationships of the electrical components, and connects the electrical components that have connection relationships with corresponding connection relationships, thereby generating electrical design drawings corresponding to the user's interactive operations in the electrical design interface on the first web client.

[0083] S203: Outputting electrical design drawings to the first web client.

[0084] The server outputs the electrical design drawing to the first web client, for example, by outputting the drawing file, or directly outputting the electrical design drawing to the interface of the web page displayed by the first web client. When the electrical design drawing is directly output to the interface of the web page displayed by the first web client, the user can export the drawing file corresponding to the electrical design drawing by selecting the export method in the interface of the first web client.

[0085] The method provided in the embodiment of the present application determines the attribute information of at least two electrical components, the positions of the electrical components, and the connection relationship between the electrical components from the electrical component database in response to the user's interactive operation on the electrical design interface of the first web client. Based on the attribute information of the electrical components, the positions of the electrical components, and the connection relationship of the electrical components, an electrical design drawing is generated, and the electrical design drawing is output to the first web client, so that the user is no longer restricted by the application program and the operating system, and can more flexibly use multiple devices and multiple operating systems to design the electrical design drawing, thereby improving the flexibility of the electrical design drawing design and enhancing the user experience.

[0086] Since the electrical design system relies on the cloud platform, most of the user's data is stored in the cloud server. This data may include the electrical design projects in which the user participates, the designed electrical design drawings, the description information corresponding to the electrical design drawings, etc. Therefore, the server can also have the function of data storage. Figure 2 The method shown may also include: storing description information of the electrical design drawing.

[0087] The description information is used to describe the attribute information, position, and connection relationship of the electrical components in the electrical design drawing. The description information may include the attribute information of each electrical component in the electrical design drawing, such as the identification of the supplier of the electrical component, the name of the electrical component, the number of the electrical component (such as part number, order number, etc.), the electrical parameters of the electrical component (such as current, voltage, power, etc.), and other information. The position of the electrical component can be determined by coordinates, and there is a corresponding relationship between the coordinates and the electrical component, thereby indicating the position of each electrical component. The connection relationship between the electrical components can be determined, for example, by the identification of two connected electrical components, and the style and layout information of the line between the two electrical components, etc., to determine the electrical components with a connection relationship, the specific connection relationship, and the style and layout of the connecting lines in the electrical design drawing.

[0088] Exemplarily, the attribute information of the electrical components in the electrical design drawing may be as shown in Table 1 below:

[0089] Table 1

[0090] name Supplier Identification Part Number Order Number Circuit Properties Element 1 Supplier 1 Part Number 1 Order No.1 Circuit Properties 1 Element 2 Supplier 1 Part Number 2 Order No.2 Circuit Properties 2 Element 3 Supplier 2 Part Number 3 Order No.3 Circuit Properties 1 Element 4 Supplier 3 Part Number 4 Order No.4 Circuit Properties 3

[0091] The connection relationship of the electrical components in the electrical design drawing can be shown in Table 2 below:

[0092] Table 2

[0093] Output components Input components Connection Type Connector Style Connection line layout Element 1 Element 5 Physical Connections Style 1 Layout 1 Element 2 Element 6 Physical Connections Style 2 Layout 2 Element 3 Element 1 Logical connections Style 3 Layout 1 Element 4 Element 2 Logical connections Style 3 Layout 3

[0094] In a possible implementation, the electrical design drawings are stored in a data table in the target workspace according to the target workspace corresponding to the electrical design drawings. For the same user, the user may be involved in multiple electrical design projects, and each electrical design project includes at least one electrical design drawing. Therefore, in order to facilitate project management, different electrical design projects can be placed in different workspaces. Figure 3 A schematic diagram of another electrical design drawing processing solution provided in an embodiment of the present application. Figure 3 As shown, the description information storing the electrical design drawing may include:

[0095] S301, obtaining the identification of the electrical design drawing.

[0096] The identification of the electrical design drawing may be, for example, the number of the electrical design drawing, the name of the electrical design drawing, etc., and this application does not limit this. The server may obtain the identification of the electrical design drawing from the first web client. For example, when the identification is a name, the user may customize the name when creating the electrical design drawing, and the electrical design project corresponding to the electrical design drawing. The server may obtain the name of the electrical design drawing from the first web client. The identification may be actively reported to the server by the first web client, or actively collected by the server.

[0097] S302: Determine a target workspace corresponding to the electrical design drawing according to the identification of the electrical design drawing.

[0098] In a possible implementation, the server may pre-store a mapping relationship between the identification of the electrical design drawing and the workspace, and the mapping relationship may be pre-set in the server by the user. The server may determine the target workspace corresponding to the electrical design drawing according to the identification of the electrical design drawing and the mapping relationship.

[0099] In another possible implementation, the server obtains the mapping relationship between the identification of the electrical design drawing and the workspace from the first web client. The mapping relationship may be constructed by the user when establishing the electrical design drawing. For example, the user may first select the electrical design project to be processed, then open the workspace corresponding to the electrical design project, and create a new electrical design drawing in the workspace. The server may determine the mapping relationship between the identification of the electrical design drawing and the workspace based on the above-mentioned interactive operation of the user, and then determine the target workspace corresponding to the electrical design drawing based on the identification of the electrical design drawing and the mapping relationship.

[0100] S303: Create a target data table in the target workspace.

[0101] The server establishes a target data table in the target workspace. The target data table is a blank data table used to store the property information, position, connection relationship, etc. of the electrical components included in the electrical design drawing corresponding to the target data table.

[0102] S304, storing the description information of the electrical design drawing into the target data table.

[0103] The server obtains the attribute information, location, connection relationship and other descriptive information of the electrical components included in the electrical design drawing from the electrical design interface in the first web client, and processes the descriptive information into data structure and stores it in the target data table.

[0104] Another possible implementation is that the description information is directly stored in a data table. In this implementation, the workspace is not divided, a corresponding data table is directly established for the electrical design drawing, and the description information included in the electrical design drawing is stored in the data table.

[0105] In addition, since the design process of electrical design drawings often requires multi-user collaboration, such as multiple employees in an enterprise collaborating on the design of the same electrical design drawing, or upstream and downstream enterprises collaborating on the design of the same electrical design drawing, the method of the present application can also speed up the efficiency of electrical design drawings by setting up a collaborative work function.

[0106] Figure 4 A flowchart of another method for processing electrical design drawings provided in an embodiment of the present application is shown below. Figure 4 As shown, the method may also include:

[0107] S401, receiving an electrical design drawing update instruction sent by a target web client.

[0108] The target web client is a first web client or a second web client. The second web client and the first web client may be web clients used by different users, for example, two clients used by two users in the same enterprise who collaborate on the design of the electrical design drawing, or clients used by two users of different enterprises who collaborate on the design of the electrical design drawing. The update instruction is used to request an update of the content in the electrical design drawing. Specifically, after the first user designs the electrical design drawing using the first web client, the second user uses the second web client to update and adjust the electrical design drawing. For example, it can be used when a downstream enterprise adjusts the content of the electrical design drawing designed by an upstream enterprise according to its own needs.

[0109] The update instruction may include the identification of the electrical design drawing so that the server can identify the electrical design drawing corresponding to the update instruction. Optionally, after receiving the update instruction, the server may also authenticate the target web client to confirm that the target web client has the authority to update the electrical design drawing. The authentication method may refer to the prior art and will not be described in detail here.

[0110] S402: Outputting an updated page containing electrical design drawings to a target web client.

[0111] In a possible implementation, the server stores an update page of the electrical design drawing, and upon receiving an update instruction, extracts the update page and outputs it to the target web client.

[0112] Another possible implementation is that after receiving the update instruction, the server determines the electrical design drawing corresponding to the update instruction, obtains the stored description information of the electrical design drawing, generates the update page according to the description information, and outputs it to the target web client.

[0113] S403: In response to the user's interactive operation on the update page of the target web client, the attribute information of at least one electrical component and the connection relationship between the electrical components are updated on the electrical design drawing to obtain an updated electrical design drawing.

[0114] The user's interactive operation on the update page of the target web client can be similar to the user's interactive operation on the electrical design interface of the first web client in the aforementioned step S201. The server responds to the interactive operation and obtains the updated electrical drawings, which can also refer to step S201 and will not be repeated here.

[0115] S404: Output the updated electrical design drawing to the target web client, and update the description information of the stored electrical design drawing.

[0116] The method of outputting the updated electrical design drawing is similar to the method of outputting the electrical design drawing in the aforementioned step S203, and will not be described in detail here.

[0117] Regarding updating the description information, one possible implementation method is that the server can determine the description information that needs to be updated based on the attribute information of at least one electrical component updated on the electrical design drawing, as well as the changes in the connection relationship between the electrical components, and overwrite the updated description information on the original description information to implement the function of updating the description information of the stored electrical design drawing.

[0118] In another possible implementation, the server may obtain the property information of the electrical components in the updated electrical design drawing and the connection relationship between the electrical components to form updated description information. The server replaces the description information of the electrical design drawing before the update stored previously with the updated description information.

[0119] In the above two implementations, the server may optionally store an operation log of the operation of updating the description information of the stored electrical design drawings, so that the user can trace back the update history later. The server may further store the difference between the description information of the electrical design drawings before and after the update, so that the user can quickly determine the update content.

[0120] The method provided in the embodiment of the present application forms computer-recognizable structured data by storing the description information of the electrical design drawing in the server of the electrical design system, which facilitates the management and storage of the content in the electrical design drawing, thereby improving the storage efficiency and design efficiency. In addition, the method can also support multiple web clients to update the electrical design drawings, realize multi-user collaborative operations, and further improve the efficiency of electrical design drawing design.

[0121] As mentioned above Figure 1 As shown in , the electrical design system can also have an intelligent error correction function for electrical design drawings. Among them, the electrical design system also includes an electrical design rule library, and the electrical design rule library includes at least one electrical design rule.

[0122] Among them, the electrical design rules are used to judge whether there are errors in the electrical design drawings. The electrical design rules may include safety rules, reliability rules, rationality rules, environmental rules, etc. The safety rules are used to ensure that the electrical design has sufficient safety protection or alarm devices and other means to avoid the dangers of fire or explosion caused by defects or improper use of the electrical design. The reliability rules are used to ensure the stability and reliability of the electrical design under preset working conditions and special working conditions. The rationality rules refer to ensuring that the parameters of electrical components and cable parameters are consistent with the electrical load type and actual conditions in the electrical design. The environmental rules are used to reduce the impact of noise, environmental pollution, etc. caused by the electrical design on the environment. It should be understood that the above-mentioned electrical design rules are only given in the form of examples, and the electrical design rules can be determined according to actual needs, and this application does not limit this.

[0123] Below, taking the rationality rules included in the electrical design rules as an example, the electrical design rules are used to determine whether there are errors in the electrical design drawings. Exemplarily, the rationality rules may include: how to determine whether the cables connecting the electrical components comply with the electrical design rules, the validity of the device data of the electrical components, whether the input / output (In / Out, I / N) allocation complies with the electrical design rules, whether the line load exceeds the load of the electrical components, etc.

[0124] Figure 5 A flowchart of another method for processing electrical design drawings provided in an embodiment of the present application is shown below. Figure 5 As shown, after generating the electrical design drawing according to the attribute information of the electrical components, the positions of the electrical components, and the connection relationship of the electrical components in step S202, the method may further include:

[0125] S501. Determine, based on electrical design rules in an electrical design rule library, whether there are electrical components in the electrical design drawings that do not comply with the electrical design rules, and / or the connection relationship between the electrical components.

[0126] A possible implementation manner: determining according to electrical design rules related to electrical components.

[0127] S5011. Acquire, from an electrical design rule library, a first electrical design rule related to attribute information of electrical components in an electrical design drawing, and a second electrical design rule related to connection relationships between electrical components in the electrical design drawing.

[0128] The server may preset a mapping relationship between the first electrical design rule and the attribute information of the electrical component, and the first electrical preset rule corresponding to the attribute information of the electrical component may be determined by the identification of the electrical component. The server may also match the keywords included in the attribute information of the electrical component by keyword matching, and use the matched electrical design rule as the first electrical preset rule. The keyword matching method may be implemented by natural language processing (Natural Language Processing, NLP), and this application does not limit the specific model used by NLP.

[0129] The second electrical design rule corresponding to the connection relationship between the electrical components may also be obtained in a manner similar to that of obtaining the first electrical design rule, which will not be described in detail herein.

[0130] S5012: Determine whether there are electrical components in the electrical design drawing that do not comply with the first electrical design rule based on the first electrical design rule and the attribute information of the electrical components in the electrical design drawing.

[0131] The server traverses the electrical components, and when traversing each electrical component, it traverses each first electrical design rule to determine whether the attribute information of the electrical component complies with the first electrical design rule. Exemplarily, assuming that there is an electrical component whose operating current is greater than the maximum operating current of the cable connected to it, it is considered that the attribute information of the electrical component does not comply with the first electrical design rule. Alternatively, assuming that the operating voltage of the main cable in the electrical design drawing is lower than the rated voltage in the attribute information of any electrical component included in the electrical design drawing, it is considered that there are electrical components in the electrical design drawing that do not comply with the first electrical design rule, etc.

[0132] S5013. According to the second electrical design rule and the connection relationship between electrical components in the electrical design drawing, determine whether there is a connection relationship in the electrical design drawing that does not comply with the second electrical design rule.

[0133] The server traverses all the electrical components that have a connection relationship in the electrical design drawing and obtains each connection relationship. When traversing each connection relationship, each second electrical design rule is traversed to determine whether the connection relationship complies with the second electrical design rule. Exemplarily, if the pins used by the two electrical components connected by any connection relationship do not comply with the second electrical design rule, it is considered that there is a connection relationship in the electrical design drawing that does not comply with the second electrical design rule, such as the positive and negative poles of the power supply are connected in reverse, or the pins of the transistor are connected incorrectly, etc. Or, there is at least one connection relationship where the wire diameter of the cable used is too small to carry the working current of the electrical component, etc.

[0134] Another possible implementation is to traverse the electrical design rules in the electrical design rule library for each electrical component and connection relationship for confirmation. In this implementation, the electrical design rules in the electrical design rule library are not classified, and all electrical components and connection relationships are directly traversed to check whether there are electrical components and / or connection relationships that do not comply with the electrical design rules in the electrical design rule library.

[0135] S502: If there are electrical components that do not comply with electrical design rules, and / or connection relationships between electrical components, output prompt information to the first web client.

[0136] Among them, the prompt information may include prompting an electrical component that does not comply with the electrical design rules, and / or a connection relationship between electrical components that does not comply with the electrical design rules, such as prompting the identification of the electrical component, and / or the two electrical components corresponding to the connection relationship. The prompt information may also include prompting that the electrical component, and / or the connection relationship between electrical components does not comply with the electrical design rules. Further, the prompt information may also prompt the current properties of the electrical component and the properties that comply with the requirements of the electrical design rules, and / or the specific content of the connection relationship and the content of the connection relationship that complies with the requirements of the electrical design rules, etc.

[0137] The server may output the prompt information through a pop-up window or an error correction box, etc., to prompt the user that the electrical design drawing contains electrical components that do not comply with electrical design rules, and / or the connection relationship between electrical components.

[0138] In a possible implementation, the error information of the electrical component that does not comply with the electrical design rules and / or the connection relationship between the electrical components is used as prompt information. The error information includes the identification of the electrical component mentioned above, and / or the two electrical components corresponding to the connection relationship, or the electrical component and / or the connection relationship between the electrical components that does not comply with the electrical design rules; or the current properties of the electrical component and the properties that comply with the electrical design rules, and / or the specific content of the connection relationship and the content of the connection relationship that complies with the electrical design rules, etc.

[0139] Another possible implementation is to determine the electrical components that do not comply with the electrical design rules and / or the modification scheme of the connection relationship between the electrical components based on the output error information and the design requirements of the user.

[0140] According to the electrical design rules in the electrical design rule library and the design requirements of the user, the electrical components that do not meet the electrical design rules and / or the modification plan of the connection relationship between the electrical components are determined, and prompt information and the modification plan are output to the first web client.

[0141] Among them, when there are electrical components that do not comply with the electrical design rules, other electrical components that comply with the electrical design drawings in the electrical component database of the electrical design system can be recommended to replace the electrical components that do not comply with the electrical design rules, and based on the design requirements of the user, electrical components that comply with the electrical design drawings can be further selected from the other electrical components that comply with the electrical design drawings as recommended electrical components.

[0142] When there is a connection relationship between electrical components that does not comply with the electrical design rules, suggestions including how to adjust the connection pins and / or how to switch cables or wires can be output according to the electrical design rules. The scope of the suggestions can be further limited according to the design requirements of the user.

[0143] The method provided in the embodiment of the present application is that after completing the design of the electrical design drawing, the electrical design system calls the electrical design rule library and / or the user's design requirements through the intelligent error correction system to perform intelligent error correction on the electrical components included in the electrical design drawing and / or the connection relationship between the electrical components. When there are electrical components and / or connection relationships that do not meet the electrical design rule library and / or the user's design requirements, prompt information is output and / or a modification plan is provided, thereby improving the accuracy and efficiency of the electrical design drawing design, and enhancing the intelligence of the electrical design system and user experience.

[0144] After the user completes the design of the electrical design drawings, it usually advances to the delivery stage of the electrical design project. At this stage, the user has the need to obtain information about the electrical components, cables and other equipment in the electrical design drawings included in the electrical design project. In order to meet this need, the method of the present application can also have the function of outputting this information. Figure 6 A flowchart of another method for processing electrical design drawings provided in an embodiment of the present application is shown below. Figure 6 As shown, the method may also include:

[0145] S601, receiving a target table output instruction of an electrical design drawing sent by a first web client.

[0146] Among them, the target table can include all the electrical components included in the electrical design drawing, such as the model, supplier, order number and other information of all electrical components, and can also include the model, supplier, length, wire diameter and other information of the cables and wires corresponding to all connection relationships, so as to provide the user with a list of equipment of the electrical design drawing, so as to facilitate the user to purchase these equipment. Furthermore, the target table can also include the price of the equipment to facilitate the generation of a quotation for the electrical design drawing. The content included in the target table can be preset or selected by the user according to the needs. For example, options can be provided, and the user selects the required options according to actual needs to generate a target table including different contents. The target table output instruction is used to indicate the target table that the server needs to generate, as well as the content included in the target table.

[0147] S602: Determine the content of the electrical design drawing involved in the target table according to the target table output instruction.

[0148] The server determines the content of the electrical design drawings involved in the target table according to the output items included in the target table output instruction. For example, if the output items include a list of equipment, it is determined that the output instruction indicates that the content involved in the target table includes the models of all electrical components included in the electrical design drawings, and / or information such as suppliers. The mapping relationship between the output items in the output instruction and the information content to be output can be determined according to actual needs, and this application does not limit this.

[0149] S603: Acquire the content from the description information of the stored electrical design drawing.

[0150] The server obtains the description information corresponding to the electrical design drawing, for example, it may obtain the description information corresponding to the content from the data table corresponding to the electrical design drawing mentioned above, and obtain the content from the description information.

[0151] S604: Fill the target table template with the content to obtain the target table.

[0152] The target table template may include the identification of the electrical design drawing and / or the identification of the electrical design project to which the electrical design drawing belongs (eg, project name), etc. The server fills the content into the area for filling data in the target table template, thereby obtaining the target table.

[0153] S605: Output the target table to the first web client.

[0154] The method provided in the embodiment of the present application receives a target table output instruction of an electrical design drawing sent by a first web client, and determines the content of the electrical design drawing involved in the target table according to the target table output instruction. The content is obtained from the description information of the stored electrical design drawing, and the content is filled into the target table template to obtain the target table, and the target table is output to the first web client, thereby satisfying the user's need to obtain the content involved in the electrical design drawing, and improving the efficiency of the electrical design and the user experience.

[0155] Figure 7 The following is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device is used to execute the aforementioned electrical design drawing processing method, for example, it can be the aforementioned server deployed with the electrical design system. Figure 7 As shown, the electronic device 700 may include: at least one processor 701 , a memory 702 , and a communication interface 703 .

[0156] The memory 702 is used to store programs. Specifically, the programs may include program codes, and the program codes include computer operation instructions.

[0157] The memory 702 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.

[0158] The processor 701 is used to execute the computer-executable instructions stored in the memory 702 to implement the method described in the above method embodiment. The processor 701 may be a CPU, or an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.

[0159] The processor 701 can communicate and interact with external devices through the communication interface 703. The external devices can be, for example, the user terminal device mentioned above, the server where the ERP system is located, etc. In specific implementation, if the communication interface 703, the memory 702 and the processor 701 are implemented independently, the communication interface 703, the memory 702 and the processor 701 can be connected to each other through a bus and communicate with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc., but it does not mean that there is only one bus or one type of bus.

[0160] Optionally, in a specific implementation, if the communication interface 703, the memory 702 and the processor 701 are integrated on a chip, the communication interface 703, the memory 702 and the processor 701 can communicate through an internal interface.

[0161] The present application also provides a computer-readable storage medium, which may include: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, and other media that can store program codes. Specifically, the computer-readable storage medium stores program instructions, and the program instructions are used for the methods in the above embodiments.

[0162] The present application also provides a program product, which includes an execution instruction, which is stored in a readable storage medium. At least one processor of a computing device can read the execution instruction from the readable storage medium, and at least one processor executes the execution instruction so that the computing device implements the above-mentioned electrical design drawing processing method.

[0163] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A method for processing electrical design drawings, characterized in that: The method is applied to a web-based electrical design system, wherein the electrical design system includes an electrical component database, wherein the electrical component database includes: attribute information of a plurality of electrical components, wherein the attribute information includes: icons and electrical parameters of the electrical components; the method includes: In response to an interactive operation of a user on an electrical design interface of a first web client, determining attribute information of at least two electrical components, positions of the electrical components, and connection relationships between the electrical components from the electrical component database; Generate an electrical design drawing according to the attribute information of the electrical components, the positions of the electrical components, and the connection relationships of the electrical components; The electrical design drawing is output to the first web client.

2. The method according to claim 1, characterized in that The method further comprises: The description information of the electrical design drawing is stored, wherein the description information is used to describe the attribute information, position, and connection relationship of the electrical components in the electrical design drawing.

3. The method according to claim 2, characterized in that The storage of the description information of the electrical design drawing includes: Obtaining an identification of the electrical design drawing; Determining a target workspace corresponding to the electrical design drawing according to the identification of the electrical design drawing; Establishing a target data table in the target workspace; The description information of the electrical design drawing is stored in the target data table.

4. The method according to claim 2, characterized in that: The method further comprises: Receiving an update instruction of the electrical design drawing sent by a target web client; the target web client is the first web client or the second web client; Outputting an updated page containing the electrical design drawing to the target web client; In response to an interactive operation of a user on an update page of the target web client, updating attribute information of at least one electrical component and a connection relationship between electrical components on the electrical design drawing to obtain an updated electrical design drawing; The updated electrical design drawing is output to the target web client, and the stored description information of the electrical design drawing is updated.

5. The method according to claim 1, characterized in that: The electrical design system includes an electrical design rule base, the electrical design rule base includes at least one electrical design rule; After generating the electrical design drawing according to the attribute information of the electrical component, the position of the electrical component, and the connection relationship of the electrical component, the method further includes: Determine, according to the electrical design rules in the electrical design rule library, whether there are electrical components in the electrical design drawing that do not comply with the electrical design rules, and / or the connection relationship between the electrical components; If there are electrical components that do not comply with electrical design rules and / or connection relationships between electrical components, prompt information is output to the first web client.

6. The method according to claim 5, characterized in that The method further comprises: If there are electrical components that do not conform to the electrical design rules and / or the connection relationship between the electrical components, then no modification scheme for the electrical components that conform to the electrical design rules and / or the connection relationship between the electrical components can be determined based on the electrical design rules in the electrical design rule library and the design requirements of the user; The outputting prompt information to the first web client includes: Output the prompt information and the modification plan to the first web client.

7. The method according to claim 5, characterized in that The determining, based on the electrical design rules in the electrical design rule library, whether there are electrical components in the electrical design drawing that do not comply with the electrical design rules and / or the connection relationship between the electrical components includes: Acquire, from the electrical design rule library, a first electrical design rule related to the attribute information of the electrical components in the electrical design drawing, and a second electrical design rule related to the connection relationship between the electrical components in the electrical design drawing; Determining whether there are electrical components in the electrical design drawing that do not comply with the first electrical design rule according to the first electrical design rule and the attribute information of the electrical components in the electrical design drawing; According to the second electrical design rule and the connection relationship between electrical components in the electrical design drawing, it is determined whether there is a connection relationship in the electrical design drawing that does not comply with the second electrical design rule.

8. The method according to any one of claims 2 to 7, characterized in that: The method further comprises: Receiving a target table output instruction of the electrical design drawing sent by the first web client; Determining the content of the electrical design drawing involved in the target table according to the target table output instruction; Acquire the content from the stored description information of the electrical design drawing; Fill the target table template with the content to obtain the target table; The target table is output to the first web client.

9. An electrical design system, characterized in that: The system includes: a drawing design subsystem, a data structuring subsystem, a workspace management subsystem, and an intelligent error correction subsystem; The drawing design subsystem is used to provide a web interface for designing electrical design drawings; The data structuring subsystem is used to convert the electrical components included in the electrical design drawing and the connection relationship between the electrical components into structured data, and store the structured data in a data table corresponding to the electrical design drawing; The workspace management subsystem is used to manage the electrical design drawings and the workspaces where the data tables corresponding to the electrical design drawings are located, and different electrical design projects correspond to different workspaces; The intelligent error correction subsystem is used to identify errors in the electrical components included in the electrical design drawings and the connection relationships between the electrical components. If an error exists, a prompt message corresponding to the error is output.

10. An electronic device, characterized in that: include: A processor, a communication interface and a memory, wherein the processor is communicatively connected to the communication interface and the memory respectively; The memory stores computer-executable instructions; The communication interface communicates and interacts with external devices; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 8.

Citation Information

Cited By

  • Coprocessing method and device for drawing file and electronic equipment

    CN121210410A