A method for tracking changes in engineering drawings and a storage medium
By constructing a topology structure for engineering drawings and using electronic devices to automatically identify and track the impact of changes, the problem of low efficiency and omissions in manual investigation during engineering drawing changes is solved. This achieves automated and accurate tracking of the impact of changes, improving management efficiency and data consistency.
Patent Information
- Application Number
- CN202611706737.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-30
- Publication Date
- 2026-11-27
AI Technical Summary
In existing technologies, manually checking the scope of impact of changes when engineering drawings are modified is inefficient and prone to omissions, and cannot achieve automation and accurate tracking.
By constructing the topology of engineering drawings, electronic devices are used to automatically identify and track the impact of changes, including receiving operations, finding nodes, and generating change impact information, thereby enabling automatic location of cross-drawing reference relationships.
It improved the efficiency and accuracy of determining the scope of impact of changes, reduced the workload of manual investigation, avoided omissions in changes, and improved management efficiency and data consistency.
Smart Images

Figure CN123179769A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computers, and more particularly to a method and storage medium for tracking changes based on engineering drawings. Background Technology
[0002] Engineering drawings, as a universal technical language for engineering construction, accurately express the model, location, and wiring relationships of equipment. They serve as the technical documents upon which all stages of construction, installation, commissioning, acceptance, and operation and maintenance are based. For example, in pumped storage power stations, engineering drawings include the terminal block connection methods and component connection methods of electrical systems such as generators, excitation systems, monitoring systems, and relay protection, guiding the design and implementation of the power station from construction to operation.
[0003] However, when the design content expressed in the drawings changes, it is necessary to manually check each drawing that may be affected by the change to determine the content that needs to be modified accordingly. But manual checking is inefficient and carries a high risk of omissions. Therefore, there is an urgent need for a method that can automatically identify and locate the scope of the change's impact, improving checking efficiency and reducing the risk of omissions. Summary of the Invention
[0004] This application provides a method and storage medium for tracking changes based on engineering drawings, which can track the impact of changes across drawings, improve the efficiency and accuracy of determining the scope of change impact, and effectively avoid omissions and inefficiencies caused by manual investigation.
[0005] In a first aspect, this application provides a tracking method based on engineering drawing changes. The method includes: receiving a first operation, the first operation being used to modify the reference relationship of a first object so that the first object is connected to a second object, the second object being located within a first engineering drawing; responding to the first operation, taking the node corresponding to the first engineering drawing as a first node, and searching for a second node and first reference relationship information in a preset topology according to the first node, the second node being connected to the first node, the second node corresponding to a second engineering drawing, the second engineering drawing being an engineering drawing that has a reference relationship with the first engineering drawing, the first reference relationship information including the location information or system identifier of a third object, the third object including terminals and / or components that have a reference relationship with the first engineering drawing; obtaining a fourth object based on the object identifier of the second object in the first reference relationship information or first cable list information, the fourth object including terminals or components that have a reference relationship with the second object, the first cable list information including the connection objects of each terminal in a first electrical system, the system identifier of the third object indicating the first electrical system; generating change impact information based on the fourth object and the engineering drawing to which the fourth object belongs, the change impact information being used to indicate the object and engineering drawing affected by the first operation.
[0006] This method can automatically locate all engineering drawings and objects that have a reference relationship with the newly added object (such as the second object mentioned above) after the user adds a reference relationship to a certain terminal, thereby automating and accurately tracking engineering drawing changes, reducing the workload of manual investigation, avoiding omissions in changes, and improving management efficiency and data consistency.
[0007] In a design approach provided in the first aspect, the first operation is further used to delete the reference relationship between the first object and the fifth object, the fifth object being located within the third engineering drawing. The method further includes: taking the node corresponding to the third engineering drawing as the third node, and searching for the fourth node and the second reference relationship information in the topology based on the third node, the third node being connected to the fourth node, the fourth node corresponding to the fourth engineering drawing, the fourth engineering drawing being an engineering drawing that has a reference relationship with the third engineering drawing, the second reference relationship information including the location information or system identifier of the sixth object, the sixth object including terminals that have a reference relationship with the third engineering drawing; based on the object identifier of the fifth object, querying the second reference relationship information or the second cable list information to obtain the seventh object, the seventh object including terminals that have a reference relationship with the fifth object, the second cable list information including the connection objects of each terminal in the second electrical system, the system identifier of the fifth object indicating the second electrical system; generating second change impact information based on the seventh object and the engineering drawing to which the seventh object belongs, the second change impact information being used to indicate the objects and engineering drawings affected by the fifth object. In other words, after detecting that a user has deleted the reference relationship of a terminal, the electronic device automatically locates all engineering drawings and objects that have a reference relationship with the deleted object (such as the fifth object mentioned above), which can also realize the automation and accurate tracking of engineering drawing changes.
[0008] In one design approach provided in the first aspect, the method further includes: obtaining object information of multiple source objects from multiple engineering drawings, wherein the object information of the source objects includes the location information of a target object, the target object being a terminal or component that has a reference relationship with the source object, and the target object and the source object belonging to different engineering drawings; constructing multiple tuples based on the object information of the multiple source objects; wherein each tuple includes a source drawing, a target drawing, and reference relationship information between the source drawing and the target drawing, the source drawing being the engineering drawing to which the source object belongs, the target drawing being the engineering drawing to which the target object belongs, the reference relationship information including the location information or system identifier of an eighth object, the eighth object including a terminal and / or component that has a reference relationship with the source drawing, and the eighth object including a fourth object; constructing a topology structure by using each engineering drawing in the multiple engineering drawings as a node, and using the reference relationship information between the engineering drawings as directed edges connecting the nodes, wherein the directed edges are indicated by the nodes corresponding to the source drawings to the nodes corresponding to the target drawings.
[0009] In one design approach provided in the first aspect, when the first reference relationship information includes the location information of the third object, the electronic device may use an object whose location information in the third object includes the object identifier of the second object as the fourth object.
[0010] In one design approach provided in the first aspect, when the first reference relationship information includes the system identifier of the third object, the electronic device may use the object in the first cable list information whose connected object is the aforementioned second object as the fourth object.
[0011] In one design approach provided in the first aspect, the system identifier includes an excitation system, a monitoring system, a protection system, and a measurement system.
[0012] In one design approach provided in the first aspect, the location information of an object includes the object identifier of the object, the object identifier of the object's connected objects, the loop identifier of the loop to which the object belongs, and the page identifier of the engineering drawing to which the object belongs.
[0013] In one design approach provided in the first aspect, the method further includes: generating a first engineering drawing based on a preset drawing template in response to a second operation by the user to create a new drawing.
[0014] Secondly, embodiments of this application provide a computer-readable storage medium storing computer instructions. When these computer instructions are executed by a processor, they are used to implement a method as described in the first aspect and any of its possible design embodiments.
[0015] Thirdly, embodiments of this application provide a computer program product that, when running on a computer / executed by the computer's processor, implements the method described in the first aspect and any of its possible design embodiments. The computer may be an electronic device as described in the first aspect and any of its possible implementations.
[0016] Understandably, the beneficial effects that the computer-readable storage medium of the second aspect and the computer program product of the third aspect can achieve can be referred to as the beneficial effects of the first aspect and any possible implementation thereof, which will not be repeated here. Attached Figure Description
[0017] Figure 1 A flowchart illustrating a method for tracking engineering drawing changes, provided in an embodiment of this application; Figure 2 A schematic diagram of the topology of an engineering drawing provided in this application embodiment; Figure 3 A schematic diagram of a standardized interface terminal module for an excitation regulator cabinet provided in this application embodiment; Figure 4 A flowchart illustrating a method for tracking engineering drawing changes, provided in an embodiment of this application; Figure 5 This is a structural block diagram of a tracking device based on engineering drawing changes, provided as an embodiment of this application. Detailed Implementation
[0018] Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this embodiment, unless otherwise stated, "a plurality of" means two or more.
[0019] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0020] In the technical solutions provided in this application, the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved are all information and data authorized by the user or fully authorized by all parties. The collection, storage, use, processing, transmission, provision and disclosure of the above information and data all comply with the provisions of relevant laws and regulations and do not violate public order and good morals.
[0021] It should be noted that in the embodiments of this application, certain software, components, models and other existing solutions in the industry may be mentioned. These should be regarded as exemplary and are only intended to illustrate the feasibility of implementing the technical solution of this application. However, it does not mean that the applicant has used or necessarily used the solution.
[0022] Engineering drawings, as a universal technical language for engineering construction, accurately represent the location and wiring relationships of terminals, components, and other objects. They serve as the common technical documents for all stages of construction, installation, commissioning, acceptance, and operation and maintenance. Taking pumped storage power stations as an example, they rely on the potential energy of the water levels in the upper and lower reservoirs to achieve energy storage and power generation. The accompanying engineering drawings cover the terminal layout and secondary circuit design of electrical systems such as generators, excitation systems, monitoring systems, and protection systems.
[0023] The excitation system provides DC excitation current to the generator rotor, establishing a magnetic field and regulating the generator terminal voltage and output power. The monitoring system collects signals such as the excitation system's output voltage, current, generator terminal voltage, reactive power, and excitation status. The protection system detects faults based on these signals and issues trip commands when a fault is detected, protecting the generator and excitation system from damage caused by overcurrent, overvoltage, and loss of excitation.
[0024] The aforementioned electrical systems use terminal blocks within the cabinets to lead out signal cables, enabling signal exchange across cabinets. Terminals, components, and wiring circuits are recorded in the corresponding engineering drawings for the opposite cabinet. When the design of terminals or components within a cabinet changes, manual tracing of cross-drawing and cross-cabinet references is required, resulting in low tracing efficiency and the potential for omissions in reference relationships.
[0025] To address the aforementioned issues, this application proposes a tracking method based on engineering drawing changes. After detecting an operation that modifies the reference relationship of any object (such as a terminal or component) in an engineering drawing, it can automatically identify cross-drawing reference relationships, locate all engineering drawings and objects that have reference relationships with the modified object, achieve automated and accurate tracking of engineering drawing changes, reduce the workload of manual investigation, avoid omissions in changes, and improve management efficiency and data consistency.
[0026] The following describes the implementation of the embodiments of this application in detail, taking the excitation system in a pumped storage power station as an example and in conjunction with the accompanying drawings.
[0027] Please see Figure 1 This illustrates a flowchart of a method for tracking engineering drawing changes provided in an embodiment of this application. Figure 1 As shown, this tracking method, applied to electronic devices, may include the following steps: S101. Extract object information of source objects from multiple engineering drawings.
[0028] In this embodiment, different electrical systems can be deployed in different cabinets. Each cabinet can include multiple terminal blocks, on which terminals and components are arranged. Each terminal block corresponds to an engineering drawing, which records the objects included in the corresponding terminal block and their wiring details. Different engineering drawings have different page numbers to uniquely identify them. Furthermore, the engineering drawings may also have a system identifier to identify the electrical system to which the drawing belongs.
[0029] The wiring details of a source object include its connections to other terminals and / or components within its own drawing, as well as its connections to other terminals and / or components not included in this drawing. For any given drawing, an object within that drawing is defined as a source object; terminals and / or components connected to the source object are called target objects. Target objects and source objects can belong to the same drawing or different drawings. It should be understood that the connection relationships between a source object and other terminals and / or components can also be referred to as reference relationships.
[0030] It should be noted that the definitions of the source object and the target object are only relative to the engineering drawing to which the source object belongs; within the engineering drawing to which the target object belongs, the target object is the source object under that engineering drawing. Furthermore, the source object and the target object are each other's connection objects.
[0031] In some implementations, electronic devices can perform optical character recognition (OCR) on engineering drawings to extract object information of the source object from the engineering drawings.
[0032] In other implementations, the electronic device can extract feature information of multiple graphic objects from engineering drawings. These image objects can be blocks, line segments, or text, and their feature information can include coordinates, annotations, and associated text. Then, the electronic device can compare the image area containing the first graphic object with graphic templates in a preset standard symbol library to obtain the component type corresponding to the first graphic object. This preset standard symbol library can include graphic templates for standard electrical components such as relays, resistors, and terminals. Finally, the first graphic object is used as the target object, and its object information is obtained based on the feature information of the multiple graphic objects.
[0033] The source object's information can include attribute values for multiple attributes, including: object identifier, drawing identifier, system identifier, and wiring information. The object identifier uniquely identifies the source object and can be represented by terminal numbers, component numbers, etc. The drawing identifier indicates the engineering drawing to which the source object belongs and can be represented by the drawing page number.
[0034] The system identifier is used to indicate the electrical system to which the source object belongs, and can be an excitation system, monitoring system, protection system, or measurement system, etc.
[0035] Wiring information includes reference location information and reference type. Reference location information is used to indicate the target object (also known as the connection object).
[0036] During the engineering design phase, to avoid redundancy and complexity in engineering drawings, when the target object and the source object belong to the same electrical system and are on the same engineering drawing, the drawing includes the connection lines between the target object and the source object. When the target object and the source object belong to the same electrical system but are on different engineering drawings, the engineering drawing for the source object can indicate the location information of the target object, and the engineering drawing for the target object can indicate the location information of the source object. When the target object and the source object belong to different electrical systems, the engineering drawing for the source object only indicates the electrical system to which the target object belongs, without directly indicating the location information of the target object; the location information of the target object is recorded uniformly in the cable register. Correspondingly, the engineering drawing for the target object only indicates the electrical system to which the source object belongs, without directly indicating the location information of the source object.
[0037] Therefore, when the target object and the source object belong to different electrical systems, the reference location information includes the system identifier of the target object. When the target object and the source object belong to the same electrical system, the reference location information includes the location information of the target object.
[0038] The location information of the target object can be determined based on the object identifier of the target object, the object identifier of the source object, and the loop identifier of the loop to which the target object belongs. The loop identifier can be determined based on the drawing identifier of the engineering drawing to which the loop belongs, the type code of the loop, and the loop number, which can be represented as "drawing identifier-type code-loop number".
[0039] Circuits can include voltage transformer (PT) circuits, current transformer (CT) circuits, power supply circuits (such as AC live / neutral circuits), common terminal jumper circuits, etc. Different types of circuits have different type codes, such as the type code for AC live / neutral circuits being AL / AN, the type code for PT circuits being PT, and the type code for CT circuits being CT, etc.
[0040] Optionally, the location information of the target object can be represented by <drawing identifier-type code-circuit number, source object's object identifier / target object's object identifier>. For example, terminal A1 in engineering drawing A is connected to terminal B1 in engineering drawing B. The page number of engineering drawing B is 1208. Terminal B1 is located in AC live wire circuit 1, and AC live wire circuit 1 is the 11th circuit in engineering drawing B. The serial number of terminal A1 is X1:1, and the serial number of terminal B1 is X2:1. Then, the reference location information of terminal A1 can be 1208AL11 X1:1 / X2:1.
[0041] In other words, when the target object and the source object belong to different electrical systems, the electronic device cannot directly determine the location of the target object based on the terminal reference location information; when the target object and the source object belong to the same electrical system, the electronic device can directly determine the location of the target object based on the source object's reference location information.
[0042] Reference types can be used to indicate the way a source object and a target object are referenced; they can be cable references or loop references.
[0043] It should be understood that when the target object and the source object belong to the same engineering drawing, staff can quickly determine the scope of the change affecting the source object, including the target object, simply by consulting the engineering drawing to which the source object belongs, without needing to retrieve other engineering drawings. Conversely, when the target object and the source object belong to different engineering drawings, it is difficult to quickly locate the scope of the change affecting the source object. Therefore, the following explanation uses the example of the target object and the source object belonging to different engineering drawings.
[0044] S102. Construct multiple tuples based on the object information of the source object.
[0045] In this embodiment, the tuple includes source drawings, target drawings, and the reference relationship between the source drawings and the target drawings. The source drawings are the engineering drawings to which the source object belongs, and the target drawings are the engineering drawings to which the target object belongs.
[0046] In one implementation, the electronic device can traverse the object information of all source objects, determine the target object of the source object and the engineering drawing to which the target object belongs, and then use the engineering drawing to which the source object belongs as the source drawing, the engineering drawing to which the target object belongs as the target drawing, and the reference position information of the source object (used to indicate the target object) as the reference relationship information between the source drawing and the target drawing to obtain a triplet.
[0047] It should be understood that this reference relationship information includes the reference location information of all source objects in the source drawing. That is, the reference relationship information includes the location information or system identifier of target object 1. Target object 1 includes terminals and / or components that have a reference relationship with terminals in the source drawing, or can be referred to as terminals and / or components that have a reference relationship with the source drawing.
[0048] Optionally, a triple can be specifically represented as <source drawing's drawing identifier, target drawing's drawing identifier, and reference relationship information>.
[0049] Taking engineering drawing A as an example, which also includes terminal A2, and terminal A2 is connected to the protection system in engineering drawing C, the electronic device can extract the wiring information of terminal A1 and terminal A2 from engineering drawing A. Since the wiring information of terminal A1 indicates that terminal A1 is connected to terminal B1 in engineering drawing B, and the wiring information of terminal A2 indicates that terminal A2 is connected to the protection system, the electronic device can determine that there is a reference relationship between engineering drawing A and engineering drawing B, and between engineering drawing A and engineering drawing C, and establish two triplets: <drawing identifier A, drawing identifier B, reference relationship information 1> and <drawing identifier A, drawing identifier C, reference relationship information 2>. Reference relationship information 1 includes the location information of terminal B1, and reference relationship information 2 includes the system identifier (i.e., the protection system) to which the target object connected to terminal A2 belongs. Drawing identifier A is the drawing identifier of engineering drawing A, drawing identifier B is the drawing identifier of engineering drawing B, and drawing identifier C is the drawing identifier of engineering drawing C.
[0050] Taking engineering drawing A as an example, which also includes terminal A3, and terminal A3 is connected to terminal B2 in engineering drawing B, the electronic device can extract the wiring information of terminal A1 and terminal A3 from engineering drawing A. Since the wiring information of terminal A1 indicates that terminal A1 is connected to terminal B1 in engineering drawing B, and the wiring information of terminal A3 indicates that terminal A3 is connected to terminal B2 in engineering drawing B, the electronic device can establish a triplet of <drawing identifier A, engineering identifier B, and reference relationship information 3>, where reference relationship information 3 includes the position information of terminal B1 and the position information of terminal B2.
[0051] It should be noted that since the references between objects are mutual, that is, the engineering drawing where object A is located will record that object A references object B, and the engineering drawing where object B is located will record that object B references object A, when engineering drawing B is used as the source drawing, the electronic device can establish a triplet of <drawing identifier B, engineering identifier A, reference relationship information 4>, where reference relationship information 4> includes the position information of terminal A3.
[0052] It is understandable that the above triplet can locate every terminal or component across drawings and circuits, ensuring that all affected engineering drawings can be located when analyzing the impact of drawing changes in the future.
[0053] It should be noted that the above embodiments are only used to illustrate the ternary set and do not constitute a limitation on the scope of protection of this application. In practical applications, the tuple can also be a quadruple, a quintuple, etc., and the tuple can also include the reference type between the source drawing and the target drawing, etc., without specific limitations here.
[0054] S103. Using each engineering drawing in the multiple engineering drawings involved in the tuple as a node, and using the reference relationship information between the engineering drawings as directed edges connecting the nodes, a topology structure is constructed; the directed edges point from the node corresponding to the source drawing to the node corresponding to the target drawing.
[0055] Based on the multiple tuples (such as triples) extracted in step S102, a topology is constructed. This topology is used to visually represent the reference relationships between multiple engineering drawings.
[0056] Please see Figure 2 This diagram illustrates the topology of an engineering drawing provided in an embodiment of this application. In multiple engineering drawings, each drawing corresponds to a node. For example, a tuple may involve... Figure 2 The diagrams shown correspond to various nodes in the topology, including the excitation power cabinet interface diagram, the monitoring system local control unit (LCU)-digital input (DI) allocation diagram, the excitation regulator cabinet interface diagram, the de-excitation switch cabinet interface diagram, the measurement system interface diagram, and the protection system signal interface diagram. Each engineering drawing represents a node in the topology. The monitoring system LCU-DI allocation diagram is linked to both the excitation power cabinet and excitation regulator cabinet interface diagrams; the excitation regulator cabinet interface diagram is linked to both the measurement system and protection system signal interface diagrams; and the de-excitation switch cabinet interface diagram is linked to both the protection system signal interface diagram.
[0057] S104. Receive the first operation, which is used to modify the reference relationship of the first object so that the connection object of the first object is changed from the fifth object to the second object. The second object is located in the first engineering drawing, and the fifth object is located in the third engineering drawing.
[0058] The first object, the second object, and the fifth object can be located on the same engineering drawing or on different engineering drawings; no specific restrictions are imposed here.
[0059] S105. Using the node corresponding to the first engineering drawing as the first node, find the second node and the first reference relationship information in the topology based on the first node.
[0060] Upon receiving the first operation, the electronic device can use the node corresponding to the first engineering drawing as the first node and search for the second node connected to the first node in the topology. The second node corresponds to the second engineering drawing. It should be understood that the second engineering drawing is an engineering drawing that references the first engineering drawing.
[0061] For example, the first engineering drawing is Figure 4If the excitation regulator cabinet interface diagram is provided, then the second node may include the node corresponding to the measurement system interface diagram, the node corresponding to the protection system signal interface diagram, and the node corresponding to the monitoring system LCU-DI allocation diagram.
[0062] After determining the first node and the second node, the electronic device can also obtain the reference relationship information between the first node and the second node from the topology, i.e., the first reference relationship information. This first reference relationship information is used to indicate a third object and may include the location information or system identifier of the third object. The third object includes terminals and / or components that have a reference relationship with the first engineering drawing.
[0063] In other words, the electronic device can identify all engineering drawings and objects that have a reference relationship with the first engineering drawing.
[0064] S106. Based on the object identifier of the second object, a fourth object is obtained by querying the first reference relationship information or the first cable list information. The fourth object includes terminals and / or components that have a reference relationship with the second object.
[0065] In this embodiment, the electronic device stores cable list information for different electrical systems. This cable list information includes the connection relationships between terminals in the corresponding electrical system and terminals in other electrical systems. In other words, the cable list information includes the connection objects of each terminal in the corresponding electrical system. This cable list information can be pre-configured by the user or obtained by the electronic device through image recognition of the cable list; no specific limitations are imposed here.
[0066] The system identifier of the third object indicates the first electrical system. This first cable inventory information is the cable inventory information of the first electrical system, including the connection objects of each terminal in the first electrical system.
[0067] Therefore, if the first reference relationship information includes the location information of the third object, the electronic device can use the object whose location information in the third object includes the object identifier of the second object as the fourth object.
[0068] When the first reference relationship information includes the system identifier of the third object, the electronic device can query the first cable list information based on the system identifier of the third object, and regard the object in the first cable list information whose connected object is the aforementioned second object as the fourth object.
[0069] S107. Generate the first change impact information based on the second engineering drawing and the fourth object.
[0070] The impact information includes the fourth object and its associated engineering drawings. Optionally, the first change impact information may include at least one impact record, each impact record including a fourth object and its associated engineering drawings.
[0071] Furthermore, the electronic device can classify the impact records corresponding to the fourth object according to the system identifier, resulting in multiple data groups. Each data group includes at least one impact record, and multiple impact records belonging to the same data group involve fourth objects with the same system identifier. In other words, the electronic device can statistically analyze the scope of change impact from the electrical system perspective, making it easier for users to understand the drawings and objects affected by the change from a system perspective.
[0072] S108. Using the node corresponding to the third engineering drawing as the third node, find the fourth node and the second reference relationship information in the topology based on the third node.
[0073] Among them, the third node is connected to the fourth node, the fourth node corresponds to the fourth engineering drawing, the fourth engineering drawing is an engineering drawing that has a reference relationship with the third engineering drawing, the second reference relationship information includes the location information or system identifier of the sixth object, and the sixth object includes the terminal that has a reference relationship with the third engineering drawing.
[0074] S109. Based on the object identifier of the fifth object, the seventh object is obtained by querying the second reference relationship information or the second cable list information. The seventh object includes terminals and / or components that have a reference relationship with the fifth object.
[0075] The system identifier of the sixth object indicates the second electrical system. The second cable list information is the cable list information of the second electrical system, including the connection objects of each terminal in the second electrical system.
[0076] Similarly, if the second reference relationship information includes the location information of the sixth object, the electronic device can use the object whose location information in the sixth object includes the object identifier of the fifth object as the seventh object.
[0077] When the second reference relationship information includes the system identifier of the sixth object, the electronic device can query the second cable list information based on the system identifier of the sixth object, and designate the object in the second cable list information whose connected object is the aforementioned fifth object as the seventh object.
[0078] S110. Generate second change impact information based on the seventh object and the engineering drawings to which the seventh object belongs. The second change impact information is used to indicate the objects and engineering drawings affected by the fifth object.
[0079] It should be noted that, Figure 1 The following explanation uses the example of changing the connection object of the first object from the fifth object to the second object in the first operation. In some implementations, the first object may originally be an idle terminal with no connection object. In this case, the electronic device may not need to execute S108~S110.
[0080] In some implementations, the first object, which was originally connected to the fifth object, is modified to no longer be connected to any object. In this case, the electronic device does not need to execute S105~S107.
[0081] Please see Figure 4 This is a flowchart illustrating a method for tracking engineering drawing changes, provided in an embodiment of this application. Figure 4 As shown, after receiving an operation to modify the reference relationship of the first object, the electronic device can trace the affected objects and engineering drawings within the topology structure. Then, the electronic device can classify the objects and drawings according to system tags, obtaining impact information for monitoring systems, protection systems, measurement systems, and cable lists. Finally, it integrates the impact information from these systems to obtain cross-system classification change impact information and outputs it.
[0082] It should be understood that this application only provides impact information. Whether the objects mentioned in the impact information are actually affected still needs to be verified by the designers based on the impact information. In other words, this application aims to improve the accuracy of the scope of impact of changes and to increase the speed of determining the scope of impact of changes.
[0083] In one implementation, the electronic device pre-stores drawing templates for different standard terminal blocks. These standard terminal blocks standardize the physical structure and signal definitions of external cable interfaces. For example, the standard terminal block can define the function name (such as excitation command, demagnetization command), signal type, and voltage level of each terminal, and assign a system identifier to each terminal.
[0084] For example, such as Figure 3As shown, it illustrates a schematic diagram of a standardized interface terminal module for an excitation regulator cabinet. The standard terminal block of the excitation system can include 48 terminals, which are arranged in a single layer and double rows. The installation dimensions conform to the German Institute for Standardization (DIN35) standard rail specification, and the label format is uniform. Terminal X1:1 is predefined as the excitation command input signal, a digital input (DI) signal, with a direct current (DC) voltage level of 220V, belonging to the monitoring system; terminal X1:2 is predefined as the demagnetization command input signal, a DI signal, with a DC voltage level of 220V, belonging to both the monitoring and protection systems; terminal X1:5 is predefined as the magnetizing pulse output signal, a digital output (DO) signal, with a DC voltage level of 24V, belonging to the monitoring system; terminal X1:7 is predefined as the magnetizing pulse output signal, a digital output (DO) signal, with a DC voltage level of 24V, belonging to the monitoring system; terminal X1:10 is predefined as the overexcitation limit action output signal, a DO signal, with a DC voltage level of 24V, belonging to both the monitoring and protection systems. In addition, the standardized interface terminal module also includes spare terminals such as X1:25 and X1:26.
[0085] In this way, different manufacturers only need to configure and arrange their terminal blocks according to the standard terminal block drawing template. Even if the internal operating logic of the cabinet is different, the terminal blocks for different scenarios can pass the consistency certification and be interchangeable, enabling plug-and-play use of the standard terminal blocks. When the power station undergoes technical transformation and the system supplier is changed, the new system only needs to complete the internal wiring according to the terminal functions defined by the standard terminal blocks. The external cables do not need to be modified and can be installed in the standard positions on the same cabinet.
[0086] In addition, the above operations also improve the speed at which users can obtain engineering drawings. When a new project exists, the electronic device can call the corresponding drawing template based on the user's operation of creating a new drawing, and quickly generate engineering drawings (such as the first engineering drawing mentioned above).
[0087] In this embodiment, engineering drawings can also have system identifiers. Thus, electronic devices can categorize engineering drawings based on these system identifiers to generate virtual system atlases. These virtual system atlases include excitation system atlases, monitoring system atlases, protection system atlases, and measurement system atlases, etc. Specifically, the excitation system atlas can include all engineering drawings identified as an excitation system, the monitoring system atlas can include all engineering drawings identified as a monitoring system, and so on. This facilitates user management of engineering drawings from the perspective of electrical systems.
[0088] For example, the excitation system of a pumped storage power station originally used equipment from manufacturer A. Due to technical upgrades, it needed to be replaced with equipment from manufacturer B. Simultaneously, the excitation regulator cabinet required an upgrade to its functionality, necessitating the addition of two limiter action signal outputs to the terminal blocks. Since both manufacturer A and manufacturer B use standardized terminal blocks, the power station did not need to replace the terminal blocks themselves. Only two limiter action signal outputs needed to be added to manufacturer B's terminal blocks. No modifications to the external cables were required, and the monitoring system database signal mapping did not require reconfiguration due to the standardized module signal names. This reduced the replacement time from hundreds of hours in the traditional approach to tens of hours.
[0089] Specifically, the excitation regulator cabinet needs to add two limiter action signal outputs: overexcitation limit action and underexcitation limit action, defined on the spare terminals X1:25 and X1:26 in the original interface terminal module. Then, the electronic equipment can use the tracking method provided in this application embodiment to determine the impact information of the spare terminals X1:25 and X1:26 respectively. Finally, the designer verifies whether the affected objects have been modified according to the impact information, reducing the risk of omissions.
[0090] In summary, by employing the engineering drawing change-based tracking method provided in this application, when the electronic device detects that a user has changed the connection object of the first object from the fifth object to the second object, it can determine the connection object and its associated engineering drawing of the second object, as well as the connection object and its associated engineering drawing of the fifth object. This method can automatically identify the drawings and objects affected by the first operation, effectively solving the problems of low efficiency and high risk of omission in traditional manual investigation, realizing automated tracking of the impact of engineering drawing changes, and significantly improving the work efficiency and data consistency of engineering change management.
[0091] like Figure 5 As shown in the figure, this application embodiment also provides a tracking device 500 based on engineering drawing changes. The tracking device 500 includes a receiving module 501, a searching module 502, a querying module 503, and an information generation module 504.
[0092] The receiving module 501 is used to receive a first operation, which is used to modify the reference relationship of the first object so that the connection object of the first object is changed from the fifth object to the second object. The second object is located in the first engineering drawing, and the fifth object is located in the third engineering drawing.
[0093] The lookup module 502 is used to take the node corresponding to the first engineering drawing as the first node, and look up the second node and the first reference relationship information in the preset topology according to the first node. The second node is connected to the first node and corresponds to the second engineering drawing. The second engineering drawing is an engineering drawing that has a reference relationship with the first engineering drawing. The first reference relationship information includes the location information or system identifier of the third object. The third object includes terminals and / or components that have a reference relationship with the first engineering drawing.
[0094] In addition, the lookup module 502 is also used to take the node corresponding to the third engineering drawing as the third node, and look up the fourth node and the second reference relationship information in the topology based on the third node. The third node is connected to the fourth node, the fourth node corresponds to the fourth engineering drawing, the fourth engineering drawing is an engineering drawing that has a reference relationship with the third engineering drawing, and the second reference relationship information includes the location information or system identifier of the sixth object, and the sixth object includes terminals and / or components that have a reference relationship with the third engineering drawing.
[0095] The query module 503 is used to query the first reference relationship information or the first cable list information based on the object identifier of the second object to obtain the fourth object. The fourth object includes terminals and / or components that have a reference relationship with the second object. The first cable list information includes the connection objects of each terminal in the first electrical system. The system identifier of the third object indicates the first electrical system.
[0096] If the first reference relationship information includes the location information of the third object, the query module 503 is used to identify the object whose location information in the third object includes the object identifier of the second object as the fourth object.
[0097] If the first reference relationship information includes the system identifier of the third object, the query module 503 is used to identify the object in the first cable list information whose connection object is the second object as the fourth object.
[0098] The query module 503 is also used to query the second reference relationship information or the second cable list information based on the object identifier of the fifth object to obtain the seventh object. The seventh object includes terminals that have a reference relationship with the fifth object. The second cable list information includes the connection objects of each terminal in the second electrical system. The system identifier of the fifth object indicates the second electrical system.
[0099] The information generation module 504 is used to generate first change impact information based on the fourth object and the engineering drawing to which the fourth object belongs. The first change impact information is used to indicate the object and engineering drawing affected by the second object.
[0100] The information generation module 504 is also used to generate second change impact information based on the seventh object and the engineering drawings to which the seventh object belongs. The second change impact information is used to indicate the objects and engineering drawings affected by the fifth object.
[0101] In some implementations, such as Figure 5 As shown, the tracking device 500 also includes a topology construction module 505. This topology construction module 505 is used to obtain object information of multiple source objects from multiple engineering drawings. The object information of the source objects includes the location information of the target object. The target object is a terminal or component that has a reference relationship with the source object, and the target object and the source object belong to different engineering drawings.
[0102] The Top Structure Building Module 505 is also used to build multiple tuples based on the object information of multiple source objects; wherein, each tuple includes source drawings, target drawings, and reference relationship information between source drawings and target drawings, the source drawings are the engineering drawings to which the source objects belong, the target drawings are the engineering drawings to which the target objects belong, the reference relationship information includes the location information or system identifier of the fifth object, the fifth object includes the terminal that has a reference relationship with the source drawings, and the fifth object includes the fourth object; The Top Structure Building Module 505 is also used to construct a topology structure by taking each engineering drawing in multiple engineering drawings as a node and using the reference relationship information between the engineering drawings as directed edges connecting the nodes. The directed edges are indicated by the node corresponding to the source drawing to the node corresponding to the target drawing.
[0103] This application also provides a computer-readable storage medium storing computer instructions. When these computer instructions are executed by a processor, they are used to implement the technical solution of the tracking method based on engineering drawing changes described in the above embodiments. Specifically, when the computer instructions are executed by a processor, a computer device can execute the technical solution of the tracking method based on engineering drawing changes described in the above embodiments.
[0104] This application also provides a computer program product, which includes a computer program stored in a computer-readable storage medium. At least one processor can read the computer program from the computer-readable storage medium. When the at least one processor executes the computer program, it can implement the technical solution of the tracking method based on engineering drawing changes in the above embodiments.
[0105] The aforementioned computer-readable storage media can be implemented by any type of volatile or non-volatile storage device or a combination thereof. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical storage, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), etc.
[0106] Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM can take many forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). Computer-readable storage media may be any available medium accessible to general-purpose or special-purpose computers.
[0107] An exemplary computer-readable storage medium is coupled to a processor, enabling the processor to read information from and write information to the storage medium. Of course, the computer-readable storage medium can also be a component of the processor. The processor and the computer-readable storage medium can reside in application-specific integrated circuits (ASICs). Alternatively, the processor and the computer-readable storage medium can exist as discrete components in an electronic control unit or main control device; this application does not limit this.
[0108] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative; for instance, the division of modules is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple modules may be combined or integrated into another liquid metal battery management system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be indirect coupling or communication connection through some interfaces, devices, or modules, and may be electrical, mechanical, or other forms.
[0109] The modules described as separate components may or may not be physically separate. The components shown as modules may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to implement the solution of this embodiment according to actual needs.
[0110] Furthermore, the functional modules in the various embodiments of this application can be integrated into one processing unit, or each module can exist physically separately, or two or more modules can be integrated into one unit. The unit composed of the above modules can be implemented in hardware or in the form of hardware plus software functional units.
[0111] The integrated modules described above, implemented as software functional modules, can be stored in a computer-readable storage medium. These software functional modules, stored in a storage medium, include several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute some steps of the methods of the various embodiments of this application.
[0112] It should be understood that the steps of the method disclosed in the embodiments of this application can be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules in the processor.
[0113] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.
[0114] The technical features of the above embodiments can be combined arbitrarily. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as the combination of these technical features does not contradict each other, it should be considered within the scope of this specification. The above embodiments only illustrate several implementation methods of this application, and their descriptions are relatively specific and detailed, but they should not be construed as limiting the scope of this application. It should be noted that for those skilled in the art, several modifications and improvements can be made without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
[0115] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features therein. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.
Claims
1. A method for tracking changes based on engineering drawings, characterized in that, The method includes: Receive a first operation, the first operation being used to modify the reference relationship of a first object so that the first object is connected to a second object, the second object being located within a first engineering drawing; In response to the first operation, the node corresponding to the first engineering drawing is taken as the first node, and the second node and the first reference relationship information are searched in the preset topology according to the first node. The second node is connected to the first node and corresponds to the second engineering drawing. The second engineering drawing is an engineering drawing that has a reference relationship with the first engineering drawing. The first reference relationship information includes the location information or system identifier of the third object. The third object includes terminals and / or components that have a reference relationship with the first engineering drawing. The fourth object is obtained by querying the first reference relationship information or the first cable list information based on the object identifier of the second object. The fourth object includes terminals and / or components that have a reference relationship with the second object. The first cable list information includes the connection objects of each terminal in the first electrical system. The system identifier of the third object indicates the first electrical system. First change impact information is generated based on the fourth object and the engineering drawings to which the fourth object belongs. The first change impact information is used to indicate the objects and engineering drawings affected by the second object.
2. The method according to claim 1, characterized in that, The first operation is further used to delete the reference relationship between the first object and the fifth object, the fifth object being located within the third engineering drawing, and the method further includes: The node corresponding to the third engineering drawing is taken as the third node, and the fourth node and the second reference relationship information are found in the topology according to the third node. The third node is connected to the fourth node, the fourth node corresponds to the fourth engineering drawing, and the fourth engineering drawing is an engineering drawing that has a reference relationship with the third engineering drawing. The second reference relationship information includes the location information or system identifier of the sixth object. The sixth object includes terminals and / or components that have a reference relationship with the third engineering drawing. The seventh object is obtained by querying the second reference relationship information or the second cable list information based on the object identifier of the fifth object. The seventh object includes terminals that have a reference relationship with the fifth object. The second cable list information includes the connection objects of each terminal in the second electrical system. The system identifier of the fifth object indicates the second electrical system. A second change impact information is generated based on the seventh object and the engineering drawings to which the seventh object belongs. The second change impact information is used to indicate the objects and engineering drawings affected by the fifth object.
3. The method according to claim 1 or 2, characterized in that, The method further includes: Obtain object information of multiple source objects from multiple engineering drawings. The object information of the source objects includes the location information of the target objects. The target objects are terminals or components that have a reference relationship with the source objects. The target objects and the source objects belong to different engineering drawings. Multiple tuples are constructed based on the object information of the multiple source objects; wherein each tuple includes a source drawing, a target drawing, and reference relationship information between the source drawing and the target drawing, the source drawing is the engineering drawing to which the source object belongs, the target drawing is the engineering drawing to which the target object belongs, the reference relationship information includes the location information or system identifier of an eighth object, the eighth object includes terminals and / or components that have a reference relationship with the source drawing, and the eighth object includes the fourth object; The topology is constructed by using each of the multiple engineering drawings as a node and the reference relationship information between the engineering drawings as directed edges connecting the nodes. The directed edges are indicated by the node corresponding to the source drawing to the node corresponding to the target drawing.
4. The method according to claim 3, characterized in that, When the first reference relationship information includes the location information of the third object, the step of retrieving the fourth object from the first reference relationship information or the first cable list information based on the object identifier of the second object includes: The object whose location information includes the object identifier of the second object in the third object is designated as the fourth object.
5. The method according to claim 3, characterized in that, When the first reference relationship information includes the system identifier of the third object, the process of retrieving the fourth object from the first reference relationship information or the first cable list information based on the object identifier of the second object includes: The object in the first cable list information whose connection object is the second object is designated as the fourth object.
6. The method according to any one of claims 1-2 and 4-5, characterized in that, The system identifiers include the excitation system, monitoring system, protection system, and measurement system.
7. The method according to any one of claims 1-2 and 4-5, characterized in that, The location information of an object includes the object identifier of the object, the object identifier of the object's connected objects, the loop identifier of the loop to which the object belongs, and the page identifier of the engineering drawing to which the object belongs.
8. The method according to any one of claims 1-2 and 4-5, characterized in that, The method further includes: In response to the user's second operation of creating a new drawing, the first engineering drawing is generated based on a preset drawing template.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that, when executed by a processor, are used to implement the method as described in any one of claims 1-8.
10. A computer program product, characterized in that, When the computer program product is run on a computer / executed by the computer's processor, it implements the method as described in any one of claims 1-8.
