Neural network modeling method based on maintenance or fault topology change scenario

Through the identification and regularization mechanism of the neural network model, the problem of difficulty in determining the internal topological structure changes of large equipment is solved, the independent identification and accurate judgment of the internal relationships of the equipment are achieved, and the judgment ability of the operators is improved.

CN118691839BActive Publication Date: 2024-10-29ANHUI JIYUAN SOFTWARE CO LTD +2
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411162839.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-23
Publication Date
2024-10-29
Estimated Expiration
2044-08-23

AI Technical Summary

Technical Problem

In the case of large-scale equipment maintenance or failure, the internal equipment connection relationships change complexly, making it difficult to determine the location of changes in the topology, affecting the operator's accurate judgment.

Method used

Adopt a neural network model modeling method based on maintenance or fault topology change scenarios, build a topological node and link identification mechanism through the identification layer, regularization layer and judgment layer to form a preliminary neural network model, and optimize parameters through learning and correction mechanisms. Achieve independent identification and positioning of the internal topology of large equipment.

Benefits of technology

It can timely locate and make accurate judgments when the topological structure inside large equipment changes, improving the operator's ability to control equipment changes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118691839B_ABST
    Figure CN118691839B_ABST
Patent Text Reader

Abstract

The present invention discloses a neural network modeling method based on a maintenance or fault topology change scenario, which relates to the field of computer technology, and includes: constructing a preliminary neural network model; constructing a topology node recognition mechanism in a recognition layer, and constructing a topology link recognition mechanism in a recognition layer; constructing a regularized model of a topological structure in a regularized layer; forming a judgment basis value; forming a learning and correction mechanism of the preliminary neural network model; the preliminary neural network model uses the learning and correction mechanism to obtain a neural network model; attaching a real-scene topology mechanism to the neural network model; the neural network model outputs different positions in the initial topology image and the topology change image. By constructing a topology node recognition mechanism in the recognition layer, constructing a topology link recognition mechanism in the recognition layer, and forming a learning and correction mechanism of the preliminary neural network model, the output result has a high degree of consistency with the actual result, and has a strong reference value.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a neural network modeling method based on maintenance or fault topology change scenarios. Background Art

[0002] The self-learning function of the neural network model gives it broad and attractive prospects in the fields of system identification, pattern recognition, intelligent control, etc. At present, the main way to establish a neural network model is to write program codes for business processes based on the deep learning framework and the programming language supported by the deep learning framework, and convert them into corresponding neural network models according to the written program codes and deep learning framework.

[0003] In recent years, neural networks have been widely used in various fields and have been used in various scenarios of autonomous identification. In the case of maintenance or failure of large equipment, the connection relationship between the basic components of the equipment may change. However, the lines in large equipment are more complicated, and some locations are not convenient for personnel to enter. Therefore, it may be difficult to determine the location of the topological structure change. As a result, it is impossible to accurately grasp the internal relationship of the equipment. When an abnormality occurs, it may affect the operator's accurate judgment. Summary of the invention

[0004] In order to solve the above technical problems, a neural network modeling method based on maintenance or fault topology change scenarios is provided. This technical solution solves the problem raised in the above background technology that in the case of maintenance or failure of large-scale equipment, the connection relationship between the basic components inside it may change. However, the lines in large-scale equipment are relatively complex, and some locations are not convenient for personnel to enter. Therefore, the location of the topological structure change may be difficult to determine, which makes it impossible to accurately grasp the internal relationship of the equipment. When an abnormality occurs, it may affect the operator's accurate judgment.

[0005] In order to achieve the above purpose, the technical solution adopted by the present invention is:

[0006] The neural network modeling method based on the maintenance or fault topology change scenario includes:

[0007] Acquire an actual scenario corresponding to the maintenance or failure, and acquire at least one device in the actual scenario;

[0008] Construct a preliminary neural network model, which includes a recognition layer, a regularization layer, and a judgment layer;

[0009] Based on at least one device zoomed image formed by the zoom-in sequence and the zoom-out sequence, a topology node recognition mechanism is constructed in the recognition layer, and based on the comparison between the target cable and the suspected cable, a topology link recognition mechanism is constructed in the recognition layer, wherein the suspected cable is a cable having a diameter equal to that of the target cable;

[0010] The regularized nodes are sorted based on the eigenvalues, and a regularized model of the topological structure is constructed in the regularized layer;

[0011] Based on the random number generated between 0 and 1, the weight parameter is set in the judgment layer and the judgment basis value is formed;

[0012] Based on the verification results of at least one weight distribution method, a learning and correction mechanism of the preliminary model of the neural network is formed;

[0013] Acquire at least one topology sample scenario and a topology sample change scenario, input the at least one topology sample scenario and its corresponding topology sample change scenario into a preliminary neural network model, and the preliminary neural network model uses a learning and correction mechanism to adjust its own parameters to obtain a neural network model;

[0014] Based on the topological node identification mechanism and the topological link identification mechanism, a real-scene topological mechanism is added to the neural network model.

[0015] Preferably, the construction of a topological node identification mechanism in the identification layer comprises the following steps:

[0016] Evenly divide the acquisition viewing angle range of the device to obtain at least one shooting viewing angle;

[0017] Capture an image of the device according to a shooting angle of view to obtain a reference image of the device;

[0018] An amplified sequence is formed, the number of terms in the sequence is a preset number, the amplified sequence is a geometric sequence, the common ratio is a preset value, and the first term of the amplified sequence is 1;

[0019] A reduction sequence is formed, the number of terms in the sequence is a preset number, the reduction sequence is a geometric sequence, the common ratio is the reciprocal of the preset value, and the first term of the reduction sequence is 1;

[0020] Scaling the device reference image according to the values ​​of the elements in the magnification sequence and the reduction sequence to obtain at least one device scaled image;

[0021] Aggregate at least one device scaled image formed by a device reference image corresponding to at least one shooting angle to obtain a reference image set;

[0022] When the difference between the image of the device to be identified and one of the images in the reference image set is less than a preset difference, the name of the device corresponding to the reference image set is assigned to the device to be identified, and the device reference image of the device corresponding to the reference image set is used as a topological node.

[0023] Preferably, the construction of a topology link identification mechanism in the identification layer comprises the following steps:

[0024] Any cable connected to a single device is selected as a target cable;

[0025] Perform diameter identification on the target cable to obtain the diameter of the target cable;

[0026] Perform path identification on the target cable. When the target cable does not intersect with other cables, record the trajectory of the target cable. When the target cable intersects with other cables, perform diameter identification at the intersection point and treat the cable with the diameter equal to that of the target cable as a suspected cable.

[0027] When the number of suspected cables is 2, the cables except the target cable in the suspected cables are taken as the trajectory of the target cable. When the number of suspected cables exceeds 2, the tangent direction of the target cable is obtained at the intersection point, and the direction of the tangent direction that deviates from the determined part of the target cable is selected for extension to obtain the determination ray;

[0028] Draw a vertical line at a point where the distance between the judgment ray and the intersection point is a preset distance, intersecting the suspected cable at the suspected point, and taking the suspected line corresponding to the suspected point with the smallest distance to the judgment ray as the trajectory of the target cable;

[0029] When another device is identified, path identification is stopped, and the overall path of the target cable obtained by identification is used as a topological link;

[0030] When the target cable traverses all cables connected to a single device, topology link identification is completed.

[0031] Preferably, the regularization model of the topological structure constructed in the regularization layer comprises the following steps:

[0032] Count the number of topological links connected to the topological nodes as the characteristic value;

[0033] Number the topological nodes from small to large according to the characteristic value, obtain the topological nodes whose numbers are greater than the change number as the topological node feature set, and pair the topological node feature set with the change number, where the change number ranges from 1 to the number of topological nodes;

[0034] The minimum value of the distance between the topological node and the topological node in the topological node feature set is used as the distance between the topological node and the topological node feature set;

[0035] Obtaining the change number corresponding to the feature set of topological nodes whose distances to all topological nodes are less than a preset length as the feature number;

[0036] The maximum value of the feature number is used as the target number;

[0037] The topological node in the topological node feature set corresponding to the target number is used as a regular node;

[0038] Sort the regular nodes from small to large according to the eigenvalues ​​to form a regularized model of the topological structure;

[0039] The distance between two topological nodes is the minimum value of the number of topological links from one of the topological nodes to the other topological node.

[0040] Preferably, the weight parameter setting in the judgment layer to form the judgment basis value includes the following steps:

[0041] The topological nodes with the shortest distance from the regular nodes are aggregated as a regular node set, and each regular node corresponds to a unique regular node set;

[0042] Generate a random number between 0 and 1 to assign weights to the topological nodes in the regular node set;

[0043] The judgment basis value of the regular node set is calculated, where the judgment basis value is the sum of the product of the characteristic value of the topological node in the regular node set and the corresponding weight.

[0044] Preferably, the learning and correction mechanism for forming a preliminary model of a neural network comprises the following steps:

[0045] Based on historical data, a weight value range is obtained, and the weight value range is divided into equal intervals to obtain at least one weight allocation point;

[0046] Based on the random combination of at least one weight allocation point, at least one weight allocation method of the regular node set is formed;

[0047] In the judgment layer, each weight allocation method is verified, and the weight allocation method that best matches the actual results is used as the final weight parameter setting in the judgment layer.

[0048] Preferably, the neural network preliminary model uses a learning and correction mechanism to adjust its own parameters, including the following steps:

[0049] Use one of the weight allocation methods to set weight parameters in the judgment layer, and input the topology sample scenario and its corresponding topology sample change scenario into the neural network preliminary model;

[0050] The regular node of the topology sample scenario is recorded as the first regular node, and the regular node of the topology sample change scenario is recorded as the second regular node;

[0051] Sort the first regular nodes by eigenvalue from small to large, sort the second regular nodes by eigenvalue from small to large, and pair the first regular nodes with the second regular nodes that have the same relative position in the sequence;

[0052] Compare whether the judgment basis value of the regular node set corresponding to the first regular node is consistent with the judgment basis value of the regular node set corresponding to the second regular node paired with the first regular node; if not, use the topological structure formed by the regular nodes in the regular node set corresponding to the second regular node as the changed topological structure;

[0053] Compare whether the changed topology structure is consistent with the actual situation of the topology sample change scenario. If so, take the topology sample change scenario as the target topology sample change scenario;

[0054] The proportion of target topology sample change scenarios in all topology sample change scenarios is counted as the identification ratio of the weight distribution method;

[0055] The learning and correction mechanism of the preliminary neural network model will identify the weight distribution method with the largest proportion as the final weight parameter setting in the judgment layer.

[0056] Preferably, the process of adding a real scene topology mechanism to the neural network model comprises the following steps:

[0057] Acquire a real-scene image, identify the device in the real-scene image, use a topological node identification mechanism to identify the device, use the identified device as a topological node, and display the real-scene image of the device at the topological node;

[0058] Perform link recognition in the real scene image, use the topological link recognition mechanism to identify the link, and use the identified link as the topological link;

[0059] The topological link is replaced by a straight line, and the straight line connects the two devices connected by the topological link.

[0060] Compared with the prior art, the present invention has the following beneficial effects:

[0061] By constructing a topological node recognition mechanism in the recognition layer, a topological link recognition mechanism in the recognition layer, and a regularization model of the topological structure in the regularization layer, a learning and correction mechanism of the preliminary model of the neural network is formed, and a preliminary model of the neural network can be constructed. The preliminary model of the neural network can autonomously identify the basic equipment topological structure inside the large equipment, and through the optimization of the learning and correction mechanism, its output result has a high degree of consistency with the actual situation and has a strong reference value. Therefore, when the basic equipment topological structure inside the large equipment changes, it can be positioned in time, so that the operating personnel can timely control the changes inside the large equipment, and then when an abnormality occurs, they can make accurate judgments. BRIEF DESCRIPTION OF THE DRAWINGS

[0062] Figure 1 A flowchart of a neural network modeling method based on a maintenance or fault topology change scenario of the present invention;

[0063] Figure 2 A schematic diagram of a process of constructing a topological node identification mechanism in an identification layer of the present invention;

[0064] Figure 3 A schematic diagram of a process of constructing a topology link identification mechanism in an identification layer of the present invention;

[0065] Figure 4 A schematic diagram of the process of constructing a regularized model of a topological structure in a regularized layer of the present invention;

[0066] Figure 5 A schematic diagram of a process for setting weight parameters in a judgment layer to form a judgment basis value in the present invention;

[0067] Figure 6 A schematic diagram of a flow chart of a learning and correction mechanism for forming a preliminary model of a neural network according to the present invention;

[0068] Figure 7 A schematic diagram of a process for adjusting the parameters of the neural network preliminary model of the present invention using a learning and correction mechanism;

[0069] Figure 8 The figure is a flow chart of the present invention's mechanism for adding a real-scene topology to a neural network model. DETAILED DESCRIPTION

[0070] The following description is used to disclose the present invention so that those skilled in the art can implement the present invention. The preferred embodiments described below are only examples, and those skilled in the art may think of other obvious variations.

[0071] Reference Figure 1 As shown, the neural network modeling method based on the maintenance or fault topology change scenario includes:

[0072] Obtain an actual scenario corresponding to the maintenance or failure, obtain at least one device in the actual scenario, the device name is known, and obtain at least one cable connected between the devices in the actual scenario;

[0073] Construct a preliminary neural network model, which includes a recognition layer, a regularization layer, and a judgment layer;

[0074] Constructing a topological node identification mechanism in the identification layer and a topological link identification mechanism in the identification layer;

[0075] A regularized model of the topological structure is constructed in the regularization layer;

[0076] In the judgment layer, weight parameters are set to form judgment basis values;

[0077] Learning and correction mechanisms that form a preliminary model of the neural network;

[0078] Acquire at least one topology sample scenario and a topology sample change scenario, input the at least one topology sample scenario and its corresponding topology sample change scenario into a preliminary neural network model, and the preliminary neural network model uses a learning and correction mechanism to adjust its own parameters to obtain a neural network model;

[0079] Adding a topological mechanism to the neural network model;

[0080] Obtain an initial topological scene, visualize the initial topological scene using a real-scene topological mechanism, and obtain an initial topological image;

[0081] Obtain the topology change scenario caused by maintenance or failure, and use the real-scene topology mechanism to visualize the topology change scenario to obtain a topology change image;

[0082] The initial topology image and the topology change image are input into the neural network model, and the neural network model outputs different positions in the initial topology image and the topology change image.

[0083] Reference Figure 2 As shown, building a topological node identification mechanism in the identification layer includes the following steps:

[0084] Evenly divide the acquisition viewing angle range of the device to obtain at least one shooting viewing angle;

[0085] Capture an image of the device according to a shooting angle of view to obtain a reference image of the device;

[0086] An amplified sequence is formed, the number of terms in the sequence is a preset number, the amplified sequence is a geometric sequence, the common ratio is a preset value, and the first term of the amplified sequence is 1;

[0087] A reduction sequence is formed, the number of terms in the sequence is a preset number, the reduction sequence is a geometric sequence, the common ratio is the reciprocal of the preset value, and the first term of the reduction sequence is 1;

[0088] Scaling the device reference image according to the values ​​of the elements in the magnification sequence and the reduction sequence to obtain at least one device scaled image;

[0089] Aggregate at least one device scaled image formed by a device reference image corresponding to at least one shooting angle to obtain a reference image set;

[0090] When the difference between the image of the device to be identified and one of the images in the reference image set is less than a preset difference, the name of the device corresponding to the reference image set is assigned to the device to be identified, and the device reference image of the device corresponding to the reference image set is used as a topological node.

[0091] Since the neural network model is for autonomous recognition of images, the topological nodes it generates also need to be autonomously recognized. In this solution, since the topological relationship of basic small devices in large devices is identified, the topological nodes are devices. However, images of the same device may be different and unrecognizable due to angle and distance. Therefore, generating a reference image set as the basis for recognition can solve the recognition difficulties caused by shooting angle and distance.

[0092] Reference Figure 3 As shown, building a topology link identification mechanism in the identification layer includes the following steps:

[0093] Any cable connected to a single device is selected as a target cable;

[0094] Perform diameter identification on the target cable to obtain the diameter of the target cable;

[0095] Perform path identification on the target cable. When the target cable does not intersect with other cables, record the trajectory of the target cable. When the target cable intersects with other cables, perform diameter identification at the intersection point and treat the cable with the diameter equal to that of the target cable as a suspected cable.

[0096] When the number of suspected cables is 2, the cables except the target cable in the suspected cables are taken as the trajectory of the target cable. When the number of suspected cables exceeds 2, the tangent direction of the target cable is obtained at the intersection point, and the direction of the tangent direction that deviates from the determined part of the target cable is selected for extension to obtain the determination ray;

[0097] Draw a vertical line at a point where the distance between the judgment ray and the intersection point is a preset distance, intersecting the suspected cable at the suspected point, and taking the suspected line corresponding to the suspected point with the smallest distance to the judgment ray as the trajectory of the target cable;

[0098] When another device is identified, path identification is stopped, and the overall path of the target cable obtained by identification is used as a topological link;

[0099] When the target cable traverses all cables connected to a single device, topology link identification is completed.

[0100] Because cables are intertwined, it is difficult to distinguish the ownership of intertwined cables during automatic image recognition. Therefore, a topological link identification mechanism is set up to judge the ownership of cables at the intersection points, so that the path the cables extend after passing the intersection points can be determined. Thus, the overall trajectory of the cables can be determined. The cables are connected between two devices, so the trajectory of the cables can be used as a topological link.

[0101] Reference Figure 4 As shown, the regularization model for constructing the topological structure in the regularization layer includes the following steps:

[0102] Count the number of topological links connected to the topological nodes as the characteristic value;

[0103] Number the topological nodes from small to large according to the characteristic value, obtain the topological nodes whose numbers are greater than the change number as the topological node feature set, and pair the topological node feature set with the change number, where the change number ranges from 1 to the number of topological nodes;

[0104] The minimum value of the distance between the topological node and the topological node in the topological node feature set is used as the distance between the topological node and the topological node feature set;

[0105] Obtaining the change number corresponding to the feature set of topological nodes whose distances to all topological nodes are less than a preset length as the feature number;

[0106] The maximum value of the feature number is used as the target number;

[0107] The topological node in the topological node feature set corresponding to the target number is used as a regular node;

[0108] Sort the regular nodes from small to large according to the eigenvalues ​​to form a regularized model of the topological structure;

[0109] The distance between two topological nodes is the minimum value of the number of topological links from one of the topological nodes to the other topological node.

[0110] The purpose of constructing a regularized model of the topological structure is that maintenance or failure will cause changes in the topological structure. Therefore, it is necessary to arrange the key points before and after the structural change, that is, the regular nodes here, so that the regular nodes can be used as reference points to compare the topological structures before and after the structural change. Otherwise, the comparison results will have no reference value if the non-corresponding points in the two topological structures are used for comparison.

[0111] Here, when the preset length is set small enough, the number of regular nodes is large enough, and since the distance between any topological node and one of the regular nodes must be less than the preset length, the regular nodes are relatively uniform.

[0112] Reference Figure 5 As shown, setting weight parameters in the judgment layer to form a judgment basis value includes the following steps:

[0113] The topological nodes with the shortest distance from the regular nodes are aggregated as a regular node set, and each regular node corresponds to a unique regular node set;

[0114] Generate a random number between 0 and 1 to assign weights to the topological nodes in the regular node set;

[0115] The judgment basis value of the regular node set is calculated, where the judgment basis value is the sum of the product of the characteristic value of the topological node in the regular node set and the corresponding weight.

[0116] The judgment basis value is used to judge whether the topological structure of the regular node set changes. When the judgment basis values ​​of the corresponding regular node sets in the two topological maps are different, the regular node set is regarded as a changing topological structure. Due to the conditions set by the regular nodes and the regular node sets: for any topological node, there is a regular node whose distance with the topological node is less than the preset length, that is, the minimum value of the distance from the topological node to at least one regular node is less than the preset length, and the distance from the topological node in the regular node set to the regular node corresponding to the regular node set does not exceed the distance to the remaining regular nodes. Therefore, the distance between the regular node and the topological node in the regular node set is less than the preset length. When the preset length is small enough, the regular node set is limited to a very small range. Therefore, when the area is determined to be a changing structure, it can be positioned more accurately.

[0117] Reference Figure 6 As shown, the learning and correction mechanism for forming a preliminary model of a neural network includes the following steps:

[0118] Based on historical data, a weight value range is obtained, and the weight value range is divided into equal intervals to obtain at least one weight allocation point;

[0119] Based on the random combination of at least one weight allocation point, at least one weight allocation method of the regular node set is formed;

[0120] In the judgment layer, each weight allocation method is verified, and the weight allocation method that best matches the actual results is used as the final weight parameter setting in the judgment layer.

[0121] Reference Figure 7 As shown, the neural network preliminary model uses a learning and correction mechanism to adjust its own parameters, including the following steps:

[0122] Use one of the weight allocation methods to set weight parameters in the judgment layer, and input the topology sample scenario and its corresponding topology sample change scenario into the neural network preliminary model;

[0123] The regular node of the topology sample scenario is recorded as the first regular node, and the regular node of the topology sample change scenario is recorded as the second regular node;

[0124] Sort the first regular nodes by eigenvalue from small to large, sort the second regular nodes by eigenvalue from small to large, and pair the first regular nodes with the second regular nodes that have the same relative position in the sequence;

[0125] Compare whether the judgment basis value of the regular node set corresponding to the first regular node is consistent with the judgment basis value of the regular node set corresponding to the second regular node paired with the first regular node; if not, use the topological structure formed by the regular nodes in the regular node set corresponding to the second regular node as the changed topological structure;

[0126] Compare whether the changed topology structure is consistent with the actual situation of the topology sample change scenario. If so, take the topology sample change scenario as the target topology sample change scenario;

[0127] The proportion of target topology sample change scenarios in all topology sample change scenarios is counted as the identification ratio of the weight distribution method;

[0128] The learning and correction mechanism of the preliminary neural network model will identify the weight distribution method with the largest proportion as the final weight parameter setting in the judgment layer.

[0129] Since different weight distributions will have different effects on the preliminary model of the neural network, in order to ensure the accuracy of the judgment of the preliminary model of the neural network, the weight distribution method that best meets its output effect is selected, so that the obtained neural network model can meet the needs of use.

[0130] Reference Figure 8 As shown, the additional topological mechanism of forming a real scene for the neural network model includes the following steps:

[0131] Acquire a real-scene image, identify the device in the real-scene image, use a topological node identification mechanism to identify the device, use the identified device as a topological node, and display the real-scene image of the device at the topological node;

[0132] Perform link recognition in the real scene image, use the topological link recognition mechanism to identify the link, and use the identified link as the topological link;

[0133] The topological link is replaced by a straight line, and the straight line connects the two devices connected by the topological link.

[0134] Furthermore, the present solution also proposes a storage medium on which a computer-readable program is stored. When the computer-readable program is called, the above-mentioned neural network modeling method based on the maintenance or fault topology change scenario is executed.

[0135] It is understandable that the storage medium may be a magnetic medium, such as a floppy disk, a hard disk, or a magnetic tape; an optical medium, such as a DVD; or a semiconductor medium, such as a solid state drive (SSD).

[0136] To sum up, the advantages of the present invention are: by constructing a topological node recognition mechanism in the recognition layer, constructing a topological link recognition mechanism in the recognition layer, and constructing a regularized model of the topological structure in the regularization layer, a learning and correction mechanism of the preliminary model of the neural network is formed, and a preliminary model of the neural network can be constructed. The preliminary model of the neural network can autonomously identify the basic equipment topological structure inside the large equipment, and through the optimization of the learning and correction mechanism, its output result is highly consistent with the actual situation and has a strong reference value. Therefore, when the basic equipment topological structure inside the large equipment changes, it can be positioned in time, so that the operating personnel can timely control the changes inside the large equipment, and then when an abnormality occurs, they can make accurate judgments.

[0137] The above shows and describes the basic principles, main features and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited to the above embodiments. The above embodiments and descriptions only describe the principles of the present invention. The present invention may be subject to various changes and improvements without departing from the spirit and scope of the present invention. These changes and improvements fall within the scope of the present invention. The scope of protection claimed by the present invention is defined by the attached claims and their equivalents.

Claims

1. A neural network modeling method based on maintenance or fault topology change scenarios, characterized in that: include: Acquire an actual scenario corresponding to the maintenance or failure, and acquire at least one device in the actual scenario; Construct a preliminary neural network model, which includes a recognition layer, a regularization layer, and a judgment layer; Based on at least one device zoomed image formed by the zoom-in sequence and the zoom-out sequence, a topology node recognition mechanism is constructed in the recognition layer, and based on the comparison between the target cable and the suspected cable, a topology link recognition mechanism is constructed in the recognition layer, wherein the suspected cable is a cable having a diameter equal to that of the target cable; The regularized nodes are sorted based on the eigenvalues, and a regularized model of the topological structure is constructed in the regularized layer; Based on the random number generated between 0 and 1, the weight parameter is set in the judgment layer and the judgment basis value is formed; Based on the verification results of at least one weight distribution method, a learning and correction mechanism of the preliminary model of the neural network is formed; Acquire at least one topology sample scenario and a topology sample change scenario, input the at least one topology sample scenario and its corresponding topology sample change scenario into a preliminary neural network model, and the preliminary neural network model uses a learning and correction mechanism to adjust its own parameters to obtain a neural network model; Based on the topological node identification mechanism and the topological link identification mechanism, a real-scene topological mechanism is added to the neural network model; The regularization model of constructing the topological structure in the regularization layer includes the following steps: Count the number of topological links connected to the topological nodes as the characteristic value; Number the topological nodes from small to large according to the characteristic value, obtain the topological nodes whose numbers are greater than the change number as the topological node feature set, and pair the topological node feature set with the change number, where the change number ranges from 1 to the number of topological nodes; The minimum value of the distance between the topological node and the topological node in the topological node feature set is used as the distance between the topological node and the topological node feature set; Obtaining the change number corresponding to the feature set of topological nodes whose distances to all topological nodes are less than a preset length as the feature number; The maximum value of the feature number is used as the target number; The topological node in the topological node feature set corresponding to the target number is used as a regular node; Sort the regular nodes from small to large according to the eigenvalues ​​to form a regularized model of the topological structure; The distance between two topological nodes is the minimum value of the number of topological links from one of the topological nodes to the other topological node.

2. The neural network modeling method based on maintenance or fault topology change scenario according to claim 1 is characterized in that: The construction of the topological node identification mechanism in the identification layer comprises the following steps: Evenly divide the acquisition viewing angle range of the device to obtain at least one shooting viewing angle; Capture an image of the device according to a shooting angle of view to obtain a reference image of the device; An amplified sequence is formed, the number of terms in the sequence is a preset number, the amplified sequence is a geometric sequence, the common ratio is a preset value, and the first term of the amplified sequence is 1; A reduction sequence is formed, the number of terms in the sequence is a preset number, the reduction sequence is a geometric sequence, the common ratio is the reciprocal of the preset value, and the first term of the reduction sequence is 1; Scaling the device reference image according to the values ​​of the elements in the magnification sequence and the reduction sequence to obtain at least one device scaled image; Aggregate at least one device scaled image formed by a device reference image corresponding to at least one shooting angle to obtain a reference image set; When the difference between the image of the device to be identified and one of the images in the reference image set is less than a preset difference, the name of the device corresponding to the reference image set is assigned to the device to be identified, and the device reference image of the device corresponding to the reference image set is used as a topological node.

3. The neural network modeling method based on maintenance or fault topology change scenario according to claim 2 is characterized in that: The construction of the topology link identification mechanism in the identification layer comprises the following steps: Any cable connected to a single device is selected as a target cable; Perform diameter identification on the target cable to obtain the diameter of the target cable; Perform path identification on the target cable. When the target cable does not intersect with other cables, record the trajectory of the target cable. When the target cable intersects with other cables, perform diameter identification at the intersection point and treat the cable with the diameter equal to that of the target cable as a suspected cable. When the number of suspected cables is 2, the cables except the target cable in the suspected cables are taken as the trajectory of the target cable. When the number of suspected cables exceeds 2, the tangent direction of the target cable is obtained at the intersection point, and the direction of the tangent direction that deviates from the determined part of the target cable is selected for extension to obtain the determination ray; Draw a vertical line at a point where the distance between the judgment ray and the intersection point is a preset distance, intersecting the suspected cable at the suspected point, and taking the suspected line corresponding to the suspected point with the smallest distance to the judgment ray as the trajectory of the target cable; When another device is identified, path identification is stopped, and the overall path of the target cable obtained by identification is used as a topological link; When the target cable traverses all cables connected to a single device, topology link identification is completed.

4. The neural network modeling method based on maintenance or fault topology change scenario according to claim 3 is characterized in that: The weight parameter setting in the judgment layer to form the judgment basis value includes the following steps: The topological nodes with the shortest distance from the regular nodes are aggregated as a regular node set, and each regular node corresponds to a unique regular node set; Generate a random number between 0 and 1 to assign weights to the topological nodes in the regular node set; The judgment basis value of the regular node set is calculated, where the judgment basis value is the sum of the product of the characteristic value of the topological node in the regular node set and the corresponding weight.

5. The neural network modeling method based on maintenance or fault topology change scenario according to claim 4 is characterized in that: The learning and correction mechanism for forming a preliminary model of a neural network comprises the following steps: Based on historical data, obtain a value range of the weight, divide the value range of the weight into equal intervals, and obtain at least one weight allocation point; Based on the random combination of at least one weight allocation point, at least one weight allocation method of the regular node set is formed; In the judgment layer, each weight allocation method is verified, and the weight allocation method that best matches the actual results is used as the final weight parameter setting in the judgment layer.

6. The neural network modeling method based on maintenance or fault topology change scenario according to claim 5 is characterized in that: The neural network preliminary model uses a learning and correction mechanism to adjust its own parameters, including the following steps: Use one of the weight allocation methods to set weight parameters in the judgment layer, and input the topology sample scenario and its corresponding topology sample change scenario into the neural network preliminary model; The regular node of the topology sample scenario is recorded as the first regular node, and the regular node of the topology sample change scenario is recorded as the second regular node; Sort the first regular nodes by eigenvalue from small to large, sort the second regular nodes by eigenvalue from small to large, and pair the first regular nodes with the second regular nodes that have the same relative position in the sequence; Compare whether the judgment basis value of the regular node set corresponding to the first regular node is consistent with the judgment basis value of the regular node set corresponding to the second regular node paired with the first regular node; if not, use the topological structure formed by the regular nodes in the regular node set corresponding to the second regular node as the changed topological structure; Compare whether the changed topology structure is consistent with the actual situation of the topology sample change scenario. If so, take the topology sample change scenario as the target topology sample change scenario; The proportion of target topology sample change scenarios in all topology sample change scenarios is counted as the identification ratio of the weight distribution method; The learning and correction mechanism of the preliminary neural network model will identify the weight distribution method with the largest proportion as the final weight parameter setting in the judgment layer.

7. The neural network modeling method based on maintenance or fault topology change scenario according to claim 6 is characterized in that: The mechanism for forming a real scene topology by adding the neural network model comprises the following steps: Acquire a real-scene image, identify the device in the real-scene image, use a topological node identification mechanism to identify the device, use the identified device as a topological node, and display the real-scene image of the device at the topological node; Perform link recognition in the real scene image, use the topological link recognition mechanism to identify the link, and use the identified link as the topological link; The topological link is replaced by a straight line, and the straight line connects the two devices connected by the topological link.

Citation Information

Patent Citations

  • Power system transient stability adaptive evaluation method based on transfer learning

    CN110879917A

  • Automatic topology method and system based on machine vision

    CN116846765A