Intelligent display method and device for fault tree in simulation software, equipment and medium
By setting the minimum spacing between event nodes in the simulation software, the problem of event nodes blocking each other in the existing technology is solved, and the simple and smooth display and efficient creation of the fault tree is realized, which improves the efficiency and readability of complex system failure analysis. sex.
Patent Information
- Application Number
- CN202411832023.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-12
- Publication Date
- 2025-01-10
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
During the analysis of fault tree in existing simulation software, event nodes are prone to block each other, resulting in unclear display, affecting the efficiency and readability of user creation and analysis of complex systems.
The intelligent display method is adopted in the simulation software. By setting the minimum spacing between event nodes in the canvas, we ensure that there is sufficient spacing between the event nodes in the previous layer and the next layer and between multiple event nodes in the same layer to avoid nodes. Stack to form a simple and smooth fault tree structure.
It effectively reduces the occlusion of event nodes, improves the readability of the fault tree and user creation efficiency, and helps engineers systematically analyze the fault conditions of complex systems.
Smart Images

Figure CN119292495A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of simulation software, and in particular to an intelligent display method, device, equipment and medium of a fault tree in simulation software. Background Art
[0002] With the continuous development of modern science and technology, the reliability and safety of complex systems have received increasing attention. Fault Tree Analysis (FTA), as an effective method for system fault diagnosis and risk assessment, plays a vital role in many fields such as aerospace, electronic engineering, mechanical manufacturing, and chemical industry.
[0003] Related fault tree analysis, such as AutoFTA (Automated Fault Tree Analysis), will cause the displayed events to block each other when creating event nodes. For example, the node of a conditional event will be inserted around an AND gate or a NOT gate, causing the node of the conditional event to overlap with the nodes of other events. Summary of the invention
[0004] The present application provides a method, device, equipment and medium for intelligently displaying a fault tree in simulation software.
[0005] The present application provides a method for intelligently displaying a fault tree in a simulation software, comprising: Displaying nodes of the previous layer of events in a canvas of the simulation software; the nodes of the previous layer of events are obtained by operating a first creation icon button of a toolbar of the simulation software; the toolbar includes the first creation icon button corresponding to the nodes of the previous layer of events and a second creation icon button corresponding to nodes of other events; the nodes of other events include nodes of the next layer of events and / or nodes of multiple events at the same layer; Based on the node of the upper layer event, receiving an instruction that the displayed node is selected; If the second creation icon button is operated, the node of the previous event is connected with the node of the next event around the selected node, and the left-right spacing between the nodes of multiple events in the same layer is greater than or equal to the first spacing, and the upper-lower spacing between the node of the previous event and the node of the next event is greater than or equal to the second spacing, so as to form a fault tree; The first spacing and the second spacing are both determined by the dot matrix of the canvas, and are at least greater than or equal to 0.1 dot matrix respectively.
[0006] Further, the node of the upper layer event includes the node of the uppermost layer event, and correspondingly, the node of the uppermost layer event is the node of the top event; the node of the other events includes the nodes of the multiple events; The node of displaying the previous layer event in the canvas of the simulation software includes: Displaying the node of the top event in the center of the canvas; The method of connecting the node of the previous event layer with the node of the next event layer around the selected node and displaying that the left-right spacing between the nodes of multiple events in the same layer is greater than or equal to a first spacing, and the upper-lower spacing between the node of the previous event layer and the node of the next event layer is greater than or equal to a second spacing, includes: The nodes of the multiple events are connected below the node of the top event, and the left-right spacing between the nodes of the multiple events in the same layer is displayed to be greater than or equal to the first spacing, and the upper-lower spacing between the node of the top event and the nodes of the multiple next-layer events is greater than or equal to the second spacing.
[0007] Further, the nodes of other events include nodes of conditional events and nodes of other events at the same layer as the nodes of conditional events; the second creation icon button includes a creation icon button of the node of conditional events; If the second create icon button is operated, the node of the previous event is connected with the node of the next event around the selected node, and the left-right spacing between the nodes of multiple events in the same layer is displayed to be greater than or equal to the first spacing, and the upper-lower spacing between the node of the previous event and the node of the next event is greater than or equal to the second spacing, including: If the creation icon button of the node that receives the conditional event is operated, the node of the conditional event is connected on one side of the selected node, and the left-right spacing between the node and the nodes of other events on the same layer is greater than or equal to the first spacing, and the upper-lower spacing between the node of the conditional event and the node of the upper layer is greater than or equal to the second spacing.
[0008] Furthermore, the method further comprises: Determine whether the total display width of all other event nodes in the same layer is greater than the width of the canvas; If yes, the width of the canvas is adaptively enlarged to be greater than or equal to the total display width, and the fault tree is moved to the center of the canvas; the nodes of all events are aligned horizontally and vertically in the center; If not, the method returns to the step of forming a fault tree by connecting the nodes of the previous layer event with the nodes of the next layer event around the selected node if the second create icon button is operated, and displaying that the left-right spacing between the nodes of multiple events at the same layer is greater than or equal to the first spacing, and the upper-lower spacing between the nodes of the previous layer event and the nodes of the next layer event is greater than or equal to the second spacing.
[0009] Furthermore, the determining whether the total display width of nodes of all other events in the same layer is greater than the width of the canvas includes: It is preferred to determine whether the total display width of the nodes of all other events in the widest node layer is greater than the width of the canvas.
[0010] Furthermore, the initial values of the second spacing and the first spacing are the maximum spacing; The method further comprises: Determine whether the total display width of all other event nodes in the same layer is greater than the width of the canvas; If so, the second spacing and the first spacing of the nodes of all other events are adjusted to be the minimum spacing respectively, and the width of the canvas is adaptively increased to be greater than or equal to the total display width, and the fault tree is moved to the center of the canvas.
[0011] Furthermore, after receiving the instruction that the displayed node is selected, the method further includes: A conversion instruction for converting the AND or OR gate of the selected node is received; and in response to the conversion instruction, the AND or OR gate of the selected node is converted.
[0012] Further, the first spacing includes a minimum spacing; the left-right spacing between the nodes displaying multiple events at the same layer is greater than or equal to the first spacing, including: the left-right spacing between the nodes of the AND gate intermediate events under the same node displayed on the canvas and other AND gate intermediate events is the minimum spacing; and / or, The first spacing includes a minimum spacing; the left-right spacing between the nodes displaying multiple events at the same layer is greater than or equal to the first spacing, including: the left-right spacing between the nodes of the AND gate intermediate events under the same node and the nodes of the OR gate intermediate events under the same node displayed on the canvas is the minimum spacing; and / or, The first spacing includes a minimum spacing; the left-right spacing between the nodes displaying multiple events at the same layer is greater than or equal to the first spacing, including: the left-right spacing between the nodes of the OR gate intermediate events under the same node displayed on the canvas and the nodes of other OR gate intermediate events is the minimum spacing; and / or, The first spacing includes a minimum spacing; the left-right spacing between the nodes displaying multiple events on the same layer is greater than or equal to the first spacing, including: the left-right spacing between the node of the intermediate event and the node of the basic event under the same node on the canvas is the minimum spacing.
[0013] The embodiment of the present application provides an intelligent display device for a fault tree in simulation software, which is used to implement the intelligent display method for a fault tree in simulation software as described above. The intelligent display device for a fault tree in simulation software includes: A first display module displays nodes of an event of a previous layer in a canvas of the simulation software; the nodes of the event of the previous layer are obtained by operating a first creation icon button of a toolbar of the simulation software; the toolbar includes the first creation icon button corresponding to the nodes of the event of the previous layer and a second creation icon button corresponding to nodes of other events; the nodes of other events include nodes of events of a next layer and / or nodes of multiple events of the same layer; An instruction receiving module, used for receiving an instruction that a displayed node is selected based on the node of the upper layer event; A second display module is used for, if receiving the operation of the second creation icon button, connecting the node of the previous layer event with the node of the next layer event around the selected node, and displaying that the left-right spacing between the nodes of multiple events in the same layer is greater than or equal to the first spacing, and the upper-lower spacing between the node of the previous layer event and the node of the next layer event is greater than or equal to the second spacing, so as to form a fault tree; The node of the next layer event is connected to the node of the previous layer event, and the first spacing and the second spacing are both determined by the dot matrix of the canvas, and are at least greater than or equal to 0.1 dot matrix respectively.
[0014] The present application provides an electronic device, comprising one or more processors, for implementing any of the methods described above.
[0015] The present application provides a computer-readable storage medium having a program stored thereon. When the program is executed by a processor, the method described in any one of the above items is implemented.
[0016] The present application provides a computer program product, comprising a computer program / instruction, which implements any of the above methods when executed by a processor.
[0017] In some embodiments, in the intelligent display method of the fault tree in the simulation software of the present application, there is a first spacing between the nodes of the same-layer events of the fault tree, and there is a second spacing between the nodes of the events of different layers, and the nodes of all events will not be stacked together. In this way, through the minimum spacing between the nodes of the events, the connection of the fault tree is made concise and smooth, unnecessary event occlusion is reduced, and the efficiency of the user in creating the fault tree and the readability of the fault tree are improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 Shown is a flow chart of a method for intelligently displaying a fault tree in simulation software according to an embodiment of the present application; Figure 2a Shown Figure 1 The schematic diagram of adding the nodes of the intermediate events to the nodes of the top events of the intelligent display method of the fault tree in the simulation software is shown; Figure 2b Shown Figure 1 The schematic diagram of the minimum distance between the node of the upper event layer and the node of the lower event layer in the intelligent display method of the fault tree in the simulation software is shown; Figure 3a Shown Figure 1 The schematic diagram of adding the nodes of intermediate events and the nodes of basic events to the nodes of the top event of the intelligent display method of the fault tree in the simulation software is shown; Figure 3b Shown Figure 3a The schematic diagram of the minimum distance between the top event node, the intermediate event node and the basic event node is shown; Figure 4a Shown Figure 1 The schematic diagram of adding conditional events to the creation of the intelligent display method of the fault tree in the simulation software is shown; Figure 4b Shown Figure 4a The schematic diagram shown is for creating a minimum spacing between the added condition event and other events; Figure 5a Shown Figure 1 The schematic diagram of the node of the intermediate event with conditional event and various events under the node of the intelligent display method of the fault tree in the simulation software is shown; Figure 5b Shown Figure 5a The schematic diagram of the node of the intermediate event with the conditional event and the width w between various types of events under the node is shown; Figure 6a Shown Figure 1 The schematic diagram of the positional relationship between the nodes at the same level and the event groups of each node in the intelligent display method of the fault tree in the simulation software is shown; Figure 6b Shown Figure 6a A schematic diagram of the minimum spacing between nodes at the same layer and event groups of each node shown; Figure 7 Shown Figure 1 The schematic diagram of the visual display of the probability of each event in the fault tree of the intelligent display method of the fault tree in the simulation software shown; Figure 8 Shown is a schematic diagram of the structure of an intelligent display device for a fault tree in simulation software provided by an embodiment of the present application; Fig. 9 Shown is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0019] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with one or more embodiments of the present specification. Instead, they are merely examples of devices and methods consistent with some aspects of one or more embodiments of the present specification as detailed in the appended claims.
[0020] It should be noted that: in other embodiments, the steps of the corresponding method are not necessarily performed in the order shown and described in this specification. In some other embodiments, the steps included in the method may be more or less than those described in this specification. In addition, a single step described in this specification may be decomposed into multiple steps for description in other embodiments; and multiple steps described in this specification may be combined into a single step for description in other embodiments.
[0021] In order to solve the technical problem of the above-mentioned display of events blocking each other, an embodiment of the present application provides an intelligent display method of a fault tree in a simulation software (hereinafter referred to as the intelligent display method), which connects and displays multiple events on the same layer around a selected node, with the left and right spacing between the nodes being greater than or equal to a first spacing, and the upper and lower spacing between the nodes of the previous layer of events and the nodes of the next layer of events being greater than or equal to a second fixed spacing, to form a fault tree.
[0022] In an embodiment of the present application, there is a first spacing between nodes of events at the same level of the fault tree, and there is a second spacing between nodes of events at different levels, and the nodes of all events will not be stacked together. In this way, through the minimum spacing between the nodes of an event and the nodes of an event, the connection observed by the fault tree is concise and smooth, unnecessary event occlusion is reduced, and the efficiency of creating a fault tree by the user and the readability of the fault tree are improved. In this way, the fault tree can systematically analyze the fault conditions of a complex system and help engineers analyze the quality characteristics of their complex systems.
[0023] In related technology fault tree analysis, such as FreeFta (Free Fault Tree Analysis) software, the automatic layout stacks all events under the same node on the same horizontal axis, and all events under the same node are stacked together.
[0024] Compared to the related art, in the embodiment of the present application, there is a first spacing between the nodes of the same-layer events of the fault tree, and there is also a second spacing between the nodes of the events of different layers, and the nodes of the events of the fault tree will not block each other, including the nodes of the conditional events. Further, the embodiment of the present application is based on the relative positional relationship between the intermediate event and the event group, and the event and the event are greater than or equal to the minimum spacing, and the event group and the event group are greater than or equal to the minimum spacing. In this way, the method is more efficient and clearer to display the complex fault tree arrangement mode, especially the fault tree layout mode of the nodes including the conditional events.
[0025] The intelligent display method of the fault tree in the simulation software of the embodiment of the present application can be applied to various simulation software that can analyze the faults of electrical equipment and the like.
[0026] The fault tree in this article can be used as a powerful tool to predict and evaluate its quality characteristics. The fault tree is graphical and clearly shows the logical relationship between various events, predicting and evaluating its reliability and safety.
[0027] These events may include top events and other events other than top events. It should be further explained that the fault tree includes: top events, intermediate events of AND gates, intermediate events of OR gates, basic events, conditional events and connecting lines.
[0028] In this regard, combined with the above introduction to the fault tree, all events appear in the canvas in a graphical form, so the graphical structure of these events is called the event node. For example, these events created in the fault tree of the canvas can be called the top event node, the node of the intermediate event of the AND gate, the node of the intermediate event of the gate, the node of the basic event, the node of the conditional event, etc.
[0029] The fault tree intelligent layout display method of the embodiment of the present application is related to its event appearance visualization, and the following explanation describes its appearance factor explanation.
[0030] The top event is the final fault result of concern in the fault tree analysis and is located at the top of the fault tree. The probability of occurrence of the top event is predicted. The node appearance of the top event is represented by a rectangle on the canvas in the embodiment of the present application.
[0031] The AND gate intermediate event is an event between the top event and the basic event, but it is connected to other related events through the AND gate. The logic of the AND gate is that the output event will only occur when all input events occur. The node appearance of the AND gate intermediate event in the embodiment of the present application is a rectangle on the canvas, and the AND gate symbol is connected below. The AND gate symbol and the intermediate event are in a horizontally centered position relationship.
[0032] The above-mentioned OR gate intermediate event is an event located between the top event and the basic event, and it is connected to other related events through the OR gate. The logic of the OR gate is that as long as one of the input events occurs, the output event will occur. The node appearance of the OR gate intermediate event in the embodiment of the present application is a rectangle on the canvas, and the AND gate symbol is connected below, and the AND gate symbol and the intermediate event are in a horizontally centered position relationship.
[0033] The above-mentioned conditional event means that whether or not it occurs will affect whether the logical connection between other events is valid. It does not directly cause the top event to occur, but its state determines the actual working mode of the logic gate (AND gate, OR gate) in the embodiment of the present application. The node appearance of the conditional event in the embodiment of the present application is a rectangle on the canvas, and the AND gate and OR gate symbols are connected to its left side, and the position relationship with the logic gate is centered above and below.
[0034] Based on this, by analyzing the relationship between other events and the top event, high-risk areas in the system can be accurately located, and targeted improvements or preventive measures can be taken. This graphical fault tree structure helps explain problems to non-technical personnel in meetings. This makes it easier for team members and decision makers to understand complex system failure analysis and predict its quality characteristics, facilitating communication and discussion.
[0035] Through FTA, enterprises can identify potential risks and failure modes of the system earlier, so as to carry out preventive maintenance and system improvement. This "preventive" management mode can greatly reduce the possibility of system downtime and accidents, saving the cost of maintenance and emergency response. Please see below for detailed description.
[0036] Figure 1 Shown is a flow chart of a method for intelligently displaying a fault tree in simulation software according to an embodiment of the present application.
[0037] like Figure 1As shown, the intelligent display method of the fault tree in the simulation software may include but is not limited to the following steps 110 to 140: Step 110, displaying the nodes of the previous layer of events in the canvas of the simulation software; the nodes of the previous layer of events are obtained by operating the first creation icon button of the toolbar of the simulation software; the toolbar includes the first creation icon button corresponding to the nodes of the previous layer of events and the second creation icon button corresponding to the nodes of other events; the nodes of other events include the nodes of the next layer of events and / or the nodes of multiple events at the same layer.
[0038] It should be noted that, in this article, the toolbar may display the creation icon buttons corresponding to the nodes of all events. The creation icon buttons may include, but are not limited to, the creation icon buttons corresponding to the nodes of each event. Among them, the creation icon button corresponding to the node of the previous event may be referred to as the first creation icon button. The creation icon buttons corresponding to the nodes of other events may be referred to as the second creation icon button.
[0039] Among them, in this way, the creation icon button on the toolbar of the simulation software can be selected to create a node of the top event, a node of the gate intermediate event, a node of the gate intermediate event, a node of the basic event, a node of the conditional event, etc.
[0040] In this step 110, the user selects the first create icon button in the toolbar, and the node of the previous layer event is displayed. For the simulation software, it is received that the first create icon button is operated. Based on this, the above display method of this article can be displayed on a display screen. In this way, the create icon buttons corresponding to the nodes of all events can be displayed in the toolbar, which is very intuitive and convenient for users to operate. In addition, the manual button creates events to meet the user's actual needs for creating events.
[0041] Step 120: Based on the node of the upper layer event, receive an instruction that the displayed node is selected.
[0042] In this step 120, the user selects a displayed node. For the simulation software, the displayed node is selected, that is, it is determined by receiving an instruction that the displayed node is selected.
[0043] Step 130, if the second creation icon button is operated, then around the selected node, the nodes of the previous layer event are connected with the nodes of the next layer event, and the left-right spacing between the nodes of multiple events in the same layer is displayed to be greater than or equal to the first spacing, and the upper-lower spacing between the nodes of the previous layer event and the nodes of the next layer event is greater than or equal to the second spacing, so as to form a fault tree. Among them, the first spacing and the second spacing are both determined by the dot matrix of the canvas, and are at least greater than or equal to 0.1 dot matrix respectively. The dot matrix is used to represent pixels. Of course, the number of pixels corresponding to one dot matrix of different simulation software may be different. Example 1, one dot matrix corresponds to 20 pixels. Example 2, is it possible for one dot matrix to correspond to 30 pixels? Examples are not given one by one here. In this way, the dot matrix can adapt to the canvas of different simulation software, thereby improving the adaptability of the method.
[0044] Continue to combine Figure 1 As shown, in this article, the above step 130 may further include but is not limited to first, receiving the operation of the second creation icon button, generating a second creation instruction corresponding to the nodes of other events; the nodes of other events include the nodes of the next layer of events and / or the nodes of multiple events in the same layer. Secondly, in response to the second creation instruction, around the selected node, connect the nodes of the previous layer of events with the nodes of the next layer of events, and display that the left and right spacing between the nodes of the same layer of multiple events is greater than or equal to the first spacing, and that the upper and lower layer spacing between the nodes of the previous layer of events and the nodes of the next layer of events is greater than or equal to the second spacing, so as to form a fault tree.
[0045] In this article, the "first" of the first spacing and the "second" of the second spacing are used to distinguish the two spacings. In fact, the sizes of the two spacings can be equal or unequal. Based on this, the spacing in this article is used to indicate that there is a gap between the nodes of multiple events in the same layer, and the nodes of the next layer event and the nodes of the previous layer event, so that the nodes of these events do not overlap.
[0046] In addition, the above spacing can be determined by the dot matrix of the canvas. 0.1 dot matrix. In this way, it is ensured that each node does not overlap. For example, 0.1 dot matrix can be called the minimum spacing. Of course, the values of these spacings can also be 0.1 dot matrix, 0.2 dot matrix, 0.3 dot matrix, 0.4 dot matrix, 0.5 dot matrix, 0.6 dot matrix, 0.7 dot matrix, 0.8 dot matrix, 0.9 dot matrix, 1 dot matrix, etc., each with a spacing of 0.1 dot matrix, and examples are not given one by one here. In this way, in the embodiment of the present application, through the minimum spacing between events, unnecessary connections and redundant nodes are directly reduced between events, which is highly practical and improves the efficiency of users in building fault trees.
[0047] Combination Figure 1As shown, the first spacing includes the minimum spacing. The left-right spacing between nodes displaying multiple events on the same layer in the above step 130 is greater than or equal to the first spacing, which can be implemented by at least one of the following optional embodiments: In a first optional embodiment, the left-right spacing between the nodes of the AND gate intermediate events under the same node and other AND gate intermediate events displayed on the canvas is the minimum spacing.
[0048] In a second optional embodiment, the left-right spacing between nodes of AND gate intermediate events and nodes of OR gate intermediate events under the same node displayed on the canvas is the minimum spacing.
[0049] In a third optional embodiment, the left-right spacing between nodes of OR gate intermediate events under the same node and nodes of other OR gate intermediate events displayed on the canvas is the minimum spacing.
[0050] In a fourth optional embodiment, the left-right distance between the node of the intermediate event and the node of the basic event under the same node on the canvas is the minimum distance.
[0051] In this way, the left and right spacing between nodes of events at the same layer in this article is greater than or equal to the minimum spacing, and the connection is simple and smooth. At the same time, it can reduce unnecessary event occlusion and improve the efficiency of users in creating fault trees and the readability of fault trees.
[0052] It should be noted that the nodes of the next layer of events are connected to the nodes of the previous layer of events, and the nodes of the previous layer of events are the previous layer relative to the adjacent nodes of the next layer of events. Similarly, the nodes of the next layer of events are the next layer relative to the adjacent nodes of the previous layer of events. In this way, there are gaps between all adjacent upper and lower layers, and between the nodes of each event. When the nodes of the previous layer of events include the nodes of the topmost layer of events, correspondingly, the nodes of the topmost layer of events are the nodes of the top events.
[0053] Therefore, the nodes of the above events include, but are not limited to: nodes of top events and nodes of other events including nodes of events at the next level and / or nodes of multiple events at the same level. The detailed description is as follows: Figure 2a Shown Figure 1 The schematic diagram of adding the nodes of the intermediate events to the nodes of the top events of the intelligent display method of the fault tree in the simulation software is shown; Figure 2b Shown Figure 2a A schematic diagram showing the minimum distance between nodes of the previous layer of events and nodes of the next layer of events.
[0054] like Figure 2a and Figure 2bAs shown, the distance between the node of the previous layer event and the node of the next layer event includes the logical relationship node of the node of the previous layer intermediate event and the adjacent node of the next layer intermediate event is at least greater than or equal to the minimum distance, the distance between the logical relationship node of the previous layer and the adjacent node of the next layer intermediate event is at least greater than or equal to the minimum distance, and the distance between the node of the previous layer intermediate event and the adjacent node of the next layer intermediate event is at least greater than or equal to the minimum distance. Whether the node of the intermediate event includes the logical relationship node depends on the actual situation, and is explained in detail as follows.
[0055] Figure 3a Shown Figure 1 The schematic diagram of adding the nodes of intermediate events and the nodes of basic events to the nodes of the top event of the intelligent display method of the fault tree in the simulation software is shown; Figure 3b Shown Figure 3a The diagram shows the minimum distance between the top event node, the intermediate event node and the basic event node.
[0056] like Figure 2b , Figure 3a and Figure 3b As shown, the nodes of other events may include, but are not limited to, one or more of the nodes of intermediate events, the nodes of conditional events, and the nodes of basic events.
[0057] Next, the nodes of these intermediate events may include logical relationship nodes, and these logical relationship nodes may perform a variety of logical relationship conversions, and the distance between the logical relationship nodes and the nodes of the intermediate events is at least greater than or equal to the minimum distance (such as Figure 2b As shown in Figure 1-1). In this way, the logical relationship node is at the upper layer relative to the node of the intermediate event, and the node of the intermediate event is at the lower layer relative to the logical relationship node. In this way, the node of the intermediate event has its own logical relationship node, and the node of the intermediate event can be quickly established.
[0058] It should be noted that the above basic event cannot add nodes of any type of event under its node, and the creation icon button of the relevant creation event in the tool bar of its simulation software is disabled. In this way, the embodiment of the application takes into account that the node of the conditional event can also have a spacing with the nodes of other events to avoid the node of the conditional event from blocking each other with the nodes of other events.
[0059] A conditional event is a prerequisite or background for a system failure to occur. It provides a basis or trigger condition for other events in the fault tree. Common conditional events include operating environment, operating mode, equipment status, etc. The number of conditional events is limited to only one for each event node (such as top event or intermediate event). The purpose is to facilitate the calculation of relative positions and their uniform distribution when the fault tree is intelligently laid out. However, when actually editing the expression of its condition, there can be multiple conditional events.
[0060] Next, the node of the intermediate event may include one or more of a node of an AND gate intermediate event, a node of an OR gate intermediate event, a node of an XOR gate intermediate event, a node of a NAND gate intermediate event, or a NAND gate intermediate event.
[0061] Exemplarily, all nodes of the same layer and the nodes of the gate intermediate event, or the upper border vertices of the nodes of the gate intermediate event and the nodes of the basic event are on the same ordinate (on the same horizontal line). The minimum spacing of each event under the same node can be 20 pixels.
[0062] The spacing between the nodes of AND intermediate events, OR intermediate events and basic events of all nodes in the same layer and the nodes of AND intermediate events, OR intermediate events and basic events of all nodes in the upper layer can be 40 pixels. Similarly, the spacing between the nodes of AND intermediate events, OR intermediate events and basic events of all nodes in the same layer and the nodes of AND intermediate events, OR intermediate events and basic events of all nodes in the lower layer can be 40 pixels.
[0063] Continue as Figure 2a and Figure 2b As shown, the minimum vertical spacing between the created top event and its lower layer event can be 20 pixels. Further, if multiple layers are created, the minimum vertical spacing between each layer can be 20 pixels.
[0064] In other examples, when the logical relationship node is separated from the node of the event, and the toolbar further includes a third creation icon button for displaying the logical relationship node separately. In this regard, the intelligent display method of the fault tree in the simulation software may further include receiving the operation of the third creation icon button, connecting and displaying the logical relationship node under the selected node, and the upper and lower layer spacing between the logical relationship node and the node of the upper layer event is greater than or equal to the second spacing. For example, receiving the operation of the third creation icon button, generating a creation instruction for the node of other events; in response to the creation instruction for the node of other events, connecting and displaying the logical relationship node under the selected node, and the upper and lower layer spacing between the logical relationship node and the node of the upper layer event is greater than or equal to the second spacing.
[0065] Among them, AND Gate and OR Gate can be regarded as a node in the fault tree, but they do not represent specific physical events or faults, but are nodes representing the logical relationship between events.
[0066] In this example, the connection between the event nodes and the logical relationship nodes appears concise and smooth, which reduces unnecessary event occlusion and improves the efficiency of users in creating fault trees and the readability of fault trees.
[0067] Combination Figure 1 As shown, in a first optional embodiment, the above step 110 may further include the following step 1, and the above step 130 may further include the following step 2: 1. Display the node of the top event in the center of the canvas.
[0068] In the above step 1, when the node of the top event is initially created, it is automatically aligned and centered on the canvas: all events are horizontally and vertically aligned; the nodes of all events include the node of the top event and the nodes of other events.
[0069] Through the intermediate events, the probability of occurrence of basic events, and the connection relationship and NOR gate of the fault tree, and using the fault tree analysis algorithm, the probability of occurrence of the nodes of the above top events is solved, so as to statistically calculate the key failure factors and potential risks. This structured analysis method is more accurate than traditional empirical analysis.
[0070] 2. The node of the top event is taken as the selected node, and the nodes of multiple events are connected below the node of the top event, and the left-right spacing between the nodes of multiple events in the same layer is greater than or equal to the first spacing, and the upper-lower spacing between the node of the top event and the nodes of multiple events in the next layer is greater than or equal to the second spacing.
[0071] The nodes of the uppermost event of the upper event of the present application at least include the nodes of the top event. Correspondingly, the nodes of the multiple lower event may include the nodes of more than two basic events.
[0072] In practical applications, when there is no node of an intermediate event in the entire fault tree, the fault tree at least includes a node of a top event and nodes of more than two basic events, so that the cause of the fault can be analyzed.
[0073] The nodes of the uppermost event of the nodes of the upper event layer include at least the nodes of the top event. Correspondingly, the nodes of the multiple lower event layers may include more than two basic event nodes and more than two intermediate event nodes.
[0074] In practical applications, when there are nodes of intermediate events in the entire fault tree, the fault tree at least includes a node of a top event, two or more nodes of basic events, and two or more nodes of intermediate events. In this way, the cause of the fault can be analyzed more clearly.
[0075] Continue to combine Figure 1 , Figure 2a , Figure 2b , Figure 3a and Figure 3b As shown, in order to make the analysis goal clear, only one top event can be created. Select the top event node with the mouse, and click the Create and Gate Intermediate Event node, or the Gate Intermediate Event node, or any event button in the basic event in the toolbar to start creating and adding, and the number is unlimited. Based on this, the detailed description is as follows: For example, the user can select (for example, click) the icon button for creating a top event with the mouse, and create a node for the top event at the center point of the horizontal axis of the canvas and 1 / 10 of the vertical axis, determine the initial position of the top event, and perform the following other steps. For example, in the fault tree, select the node of the top event and the node of any type of intermediate event, and continue to add the nodes of the intermediate events, the nodes of the basic events, and the nodes of the conditional events under the nodes. Detailed examples are as follows: Example 1: Select any intermediate event node, and you can continue to create any type of intermediate events under the node of the intermediate event; and double-click the node of any intermediate event with the mouse to pop up a dialog window to modify the logic gate of the intermediate event, that is, the AND gate intermediate event and the OR gate intermediate event switch their logic gate types.
[0076] Example 2: Select any node of an intermediate event to continue creating the basic event of the intermediate event.
[0077] Example 3: Select any node of an intermediate event to continue creating a conditional event for the intermediate event.
[0078] In this article, the nodes of other events such as the node of the AND gate intermediate event, the node of the OR gate intermediate event, the node of the basic event under the node of the creation top event are arranged from left to right according to the creation time.
[0079] Figure 4a Shown Figure 1 The schematic diagram of adding conditional events to the creation of the intelligent display method of the fault tree in the simulation software is shown; Figure 4b Shown Figure 4a The schematic diagram shown is for creating a minimum spacing between the added condition event and other events; Figure 5a Shown Figure 1 The schematic diagram of the node of the intermediate event with conditional event and various events under the node of the intelligent display method of the fault tree in the simulation software is shown; Figure 5b Shown Figure 5a The diagram shown is a schematic diagram of a node of an intermediate event with a conditional event and the width w between various types of events under the node.
[0080] like Figure 4a , Figure 4b , Figure 5a and Figure 5b As shown, in the second optional embodiment, the nodes of the other events include the node of the conditional event and the nodes of the other events in the same layer as the node of the conditional event; the second creation icon button includes the creation icon button of the node of the conditional event. Accordingly, the above step 130 may further include that if the creation icon button of the node of the conditional event is operated, the node of the conditional event is connected on one side of the selected node, and the left-right spacing between the nodes of the other events in the same layer is greater than or equal to the first spacing, and the upper-lower spacing between the node of the conditional event and the node of the upper layer is greater than or equal to the second spacing.
[0081] Exemplarily, the total width of the graph of the nodes of the AND gate intermediate events and the nodes of the conditional events when horizontally centered can be calculated, and the minimum spacing between the starting end of the total width and the nodes of any type of intermediate events and the nodes of basic events can be 20 pixels; the minimum spacing between the end of the total width and the nodes of any type of intermediate events and the nodes of basic events can be 20 pixels.
[0082] In this paper, all event nodes under the node of the same intermediate event are packaged, and all packaged event nodes are formed into an event group. Furthermore, the minimum distance between event groups at the same layer is calculated.
[0083] In this regard, the total width of all events (event groups) under the same node is calculated, and the minimum spacing between the starting end of the total width and the end of the width of all events under other nodes at the same level can be 20 pixels; the minimum spacing between the end of the total width and the starting end of the width of all events under other nodes at the same level can be 20 pixels.
[0084] Continue as Figure 4a and Figure 4b As shown, after the node of the conditional event is added to the node of the intermediate event, the minimum distance between the nodes of all conditional events of the same layer and the same node and the nodes of other events can be, but is not limited to, 20 pixels.
[0085] Continue as Figure 5a and Figure 5b As shown, under the node of the intermediate event, the node of the conditional event and the node of the basic event continue to be added, and the nodes of all events under the node are regarded as an event group, and the event group is vertically aligned with the node of the event of the parent node.
[0086] Figure 6a Shown Figure 1 The schematic diagram of the positional relationship between the nodes at the same level and the event groups of each node in the intelligent display method of the fault tree in the simulation software is shown; Figure 6b Shown Figure 6a The diagram shows the minimum spacing between nodes on the same layer and the positional relationship between event groups of each node.
[0087] like Figure 6a and Figure 6b As shown, the event groups can be prevented from blocking each other by ensuring that the left-right spacing between one event group and another adjacent event group on the same layer is greater than or equal to the minimum spacing.
[0088] Continue as Figure 6a and Figure 6b As shown, the fault tree can be automatically moved to the center of the canvas through the following embodiments: In one embodiment, the above-mentioned intelligent display method of the fault tree in the simulation software may also include but is not limited to steps A to C: Step A, determining whether the total display width of all other event nodes in the same layer (the total width of all events of the same layer nodes) is greater than the width of the canvas.
[0089] Since the node of the top event is the node of the top event, and there is only one node, the total display width of the layer where the node of the top event is located is the smallest. Therefore, the total display width of the layer where the nodes of other events are located is determined to achieve automatic movement and alignment in the process of establishing the entire fault tree.
[0090] Step B: If the total display width of all event nodes in the same layer is greater than the width of the canvas, the width of the canvas is adaptively enlarged to be greater than or equal to the total display width, and the fault tree is moved to the center of the canvas; all event nodes are aligned horizontally and vertically.
[0091] Step C: If no, that is, the total display width of all other event nodes in the same layer is not greater than the width of the canvas, then return to step 130, or continue to return to step B, find the total display width, and move the position of each layer of event groups according to their relative positions.
[0092] Then, if Figure 6a and Figure 6b As shown, continue to click on any event node in the event node of the previous layer, and add the event node of the lower layer in its lower layer. Traverse the structure of the entire fault tree, calculate the structure of the fault tree, and ensure that the minimum width of its event group and event group is 20 pixels.
[0093] In the embodiment of the present application, during the entire fault tree creation process, the event tree is automatically moved to the center of the canvas, and the user does not need to manually move the event tree to the center. At the same time, it is ensured that there is a spacing between the nodes of all events, and the nodes of all events are not blocked.
[0094] Combined with the above Figure 6a and Figure 6b As shown, the above step A can be implemented in the following multiple optional ways: In an optional method, it is preferred to determine whether the total display width of the nodes of all other events in the widest node layer is greater than the width of the canvas. In this way, it is prioritized to ensure that the nodes of all events in the widest node layer are not blocked. For example, the minimum spacing between events in the widest node layer is 20 pixels.
[0095] In this optional method, the total display width of all other event nodes is specifically implemented as follows: for example, if the width of each event node is the same, the total display width of all other event nodes in the same layer can be determined according to the number of event nodes and the interval between event nodes; according to the total display width of all other event nodes in the same layer, the layer with the largest total display width is selected to determine the total display width of all other event nodes. For another example, the total display width is determined by traversing the total display width of all node layers where all other event nodes are located.
[0096] In this way, it is prioritized to determine whether the total display width of all other event nodes is greater than the width of the canvas, so that the fault tree can be automatically aligned and centered quickly according to the layer where the maximum total display width is located.
[0097] In another optional method, first, the total display width of each layer is determined by traversing the layers where the nodes of all other events are located; then, it is determined whether the total display width of each layer is greater than the width of the canvas. In this way, each layer is judged one by one, the accuracy of the judgment is improved, and then the accuracy of the fault tree alignment is improved.
[0098] In another embodiment, the initial value of the second spacing and the first spacing is the maximum spacing. Accordingly, the above-mentioned intelligent display method of the fault tree in the simulation software may also include but is not limited to the following three steps: Step 1, determine whether the total display width of the nodes of all other events in the same layer is greater than the width of the canvas. Step 2, if so, adjust the second spacing and the first spacing of the nodes of all other events to the minimum spacing respectively, and adaptively increase the width of the canvas to be greater than or equal to the total display width, and move the fault tree to the center of the canvas. Step 3, if not, return to step 130 to continue execution.
[0099] In the embodiment of the present application, during the process of automatically moving the center alignment on the canvas, not only the width of the canvas can be adjusted, but also the second spacing and the first spacing of the nodes of all other events can be adjusted to the minimum spacing, respectively. In this way, the alignment adjustment of the fault tree on the canvas can be completed more quickly and effectively.
[0100] As an embodiment of the present application, the intelligent display method of the fault tree in the simulation software may further include but is not limited to: after receiving the instruction that the displayed node is selected, receiving the conversion instruction of the AND or gate conversion of the selected node; responding to the conversion instruction, converting the AND or gate of the selected node. In this way, when the user operates the AND or gate conversion of the selected node, the conversion instruction of the AND or gate conversion of the selected node is received to convert the AND or gate of the selected node.
[0101] The conversion instruction may be received after step 110 , during the execution of steps 120 to 140 , and / or during the execution of steps A to C .
[0102] As an embodiment of the present application, the intelligent display method of the fault tree in the simulation software may further include but is not limited to: receiving an operation of deleting a node of any event, when deleting a node of any event, that is, deleting the nodes under the nodes of all events, after successfully deleting the event, traversing all nodes, and executing the above steps A to C. In this way, the operation of deleting a node of any event can be performed.
[0103] Figure 7 Shown Figure 1 The diagram shown is a visual display of the probability of each event in the fault tree by the intelligent display method of the fault tree in the simulation software.
[0104] like Figure 7 As shown, the probability of occurrence of each event is displayed on the canvas. Of course, whether the specific probability is displayed can be set according to user needs. For example, the numerical value of the probability of occurrence of each event can include but is not limited to: the probability of the node of the intermediate event and / or the node of the conditional event is displayed in the upper right corner of the event node, and the probability is aligned with the right side of the event node.
[0105] In the embodiment of the present application, by analyzing the probability of occurrence assigned to each event, the probability of occurrence of the top event can be calculated, and then the overall reliability and security of the system can be evaluated.
[0106] In addition, it should be noted that in this article, greater than or equal to means greater than or equal to, and less than or equal to also means less than or equal to.
[0107] Based on the same application concept as the above method, the embodiment of the present application also provides a fault tree visualization display device in simulation software, such as Figure 8As shown, the visual display device of the fault tree in the simulation software is used to implement the above intelligent display method of the fault tree in the simulation software, and may include the following modules: The first display module 71 displays the nodes of the previous layer of events in the canvas of the simulation software; the nodes of the previous layer of events are obtained by operating the first creation icon button of the toolbar of the simulation software; the toolbar includes the first creation icon button corresponding to the nodes of the previous layer of events and the second creation icon button corresponding to the nodes of other events; the nodes of other events include the nodes of the next layer of events and / or the nodes of multiple events at the same layer.
[0108] The instruction receiving module 72 is used to receive an instruction that the displayed node is selected based on the node of the previous layer event; The second display module 73 is used to connect the nodes of the previous event layer with the nodes of the next event layer around the selected node if the second creation icon button is operated, and display that the left-right spacing between the nodes of multiple events in the same layer is greater than or equal to the first spacing, and the upper-lower spacing between the nodes of the previous event layer and the nodes of the next event layer is greater than or equal to the second spacing, so as to form a fault tree; The node of the next layer event is connected to the node of the previous layer event, and the first spacing and the second spacing are determined by the dot matrix of the canvas, and are at least greater than or equal to 0.1 dot matrix respectively. The dot matrix is used to represent pixels.
[0109] As an embodiment, the fault tree visualization display device in the above simulation software may further include the following modules: A first judgment module is used to judge whether the total display width of nodes of all other events in the same layer is greater than the width of the canvas; A first movement control module is used for, if yes, adaptively increasing the width of the canvas to be greater than or equal to the total display width, and moving the fault tree to be centered on the canvas; aligning the nodes of all events horizontally and vertically; The processing module is used to return to the step of forming a fault tree by connecting the nodes of the previous layer event with the nodes of the next layer event around the selected node, and displaying that the left-right spacing between the nodes of multiple events at the same layer is greater than or equal to the first spacing, and the upper-lower spacing between the nodes of the previous layer event and the nodes of the next layer event is greater than or equal to the second spacing if the second create icon button is operated.
[0110] As an embodiment, the initial values of the second spacing and the first spacing are the maximum spacing; the fault tree visualization display device in the above simulation software may also include the following modules: A first judgment module is used to judge whether the total display width of nodes of all other events in the same layer is greater than the width of the canvas; The second movement control module is used to adjust the second spacing and the first spacing of the nodes of all other events to the minimum spacing respectively, and adaptively increase the width of the canvas to be greater than or equal to the total display width, and move the fault tree to the center of the canvas.
[0111] As an embodiment, the fault tree visualization display device in the above-mentioned simulation software may also include the following modules: a conversion instruction receiving module, which is used to receive the conversion instruction of the AND or OR gate conversion of the selected node after receiving the instruction that the displayed node is selected; and a conversion response module, which is used to respond to the conversion instruction and convert the AND or gate of the selected node.
[0112] The implementation process of the functions and effects of each module in the above-mentioned device is specifically described in the implementation process of the corresponding steps in the above-mentioned method, and the same technical effect can be achieved, which will not be repeated here.
[0113] An embodiment of the present application provides an electronic device, comprising the above-mentioned intelligent display device of a fault tree in simulation software.
[0114] Fig. 9 Shown is a schematic structural diagram of an electronic device 90 provided in an embodiment of the present application.
[0115] like Fig. 9 As shown, the electronic device 90 includes one or more processors 91 for implementing the intelligent display method of the fault tree in the simulation software as described above.
[0116] In some embodiments, the electronic device 90 may include a storage medium 99. For example, the computer-readable storage medium may store a program that can be called by the processor 91, and may include a non-volatile storage medium. In some embodiments, the electronic device 90 may include a memory 98 and an interface 97. In some embodiments, the electronic device 90 may also include other hardware according to actual applications.
[0117] The computer-readable storage medium of the embodiment of the present application stores a program thereon, and when the program is executed by the processor 91, it is used to implement the intelligent display method of the fault tree in the simulation software as described above.
[0118] The present application provides a computer program product, comprising a computer program / instruction, which implements any of the above methods when executed by a processor.
[0119] The present application also provides a computer program, which is stored in a computer-readable storage medium, such as Fig. 9 The computer program is stored in a storage medium 99, and when the processor executes the computer program, the processor 91 is prompted to execute the method described above.
[0120] The present application may take the form of a computer program product implemented on one or more computer-readable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing program code. Computer-readable storage media include permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer-readable storage media include but are not limited to: phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.
[0121] The above description is only a preferred embodiment of this specification and is not intended to limit this specification. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of this specification should be included in the scope of protection of this specification.
[0122] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the phrase "includes a ..." defines an element, and does not exclude the presence of other identical elements in the process, method, commodity or device including the element.
Claims
1. A method for intelligently displaying a fault tree in a simulation software, characterized in that: include: Display the nodes of the previous event layer in the canvas of the simulation software; The node of the event of the previous layer is obtained by operating the first creation icon button of the toolbar of the simulation software; the toolbar includes the first creation icon button corresponding to the node of the event of the previous layer and the second creation icon button corresponding to the node of other events; the nodes of other events include the nodes of the event of the next layer and / or the nodes of multiple events of the same layer; Based on the node of the upper layer event, receiving an instruction that the displayed node is selected; If the second creation icon button is operated, the node of the previous event is connected with the node of the next event around the selected node, and the left-right spacing between the nodes of multiple events in the same layer is greater than or equal to the first spacing, and the upper-lower spacing between the node of the previous event and the node of the next event is greater than or equal to the second spacing, so as to form a fault tree; The first spacing and the second spacing are both determined by the dot matrix of the canvas, and are at least greater than or equal to 0.1 dot matrix respectively.
2. The intelligent display method of a fault tree in a simulation software as claimed in claim 1, characterized in that: The node of the upper layer event includes the node of the uppermost layer event, and correspondingly, the node of the uppermost layer event is the node of the top event; The nodes of the other events include the nodes of the multiple events; The node of displaying the previous layer event in the canvas of the simulation software includes: Displaying the node of the top event in the center of the canvas; The method of connecting the node of the previous event layer with the node of the next event layer around the selected node and displaying that the left-right spacing between the nodes of multiple events in the same layer is greater than or equal to a first spacing, and the upper-lower spacing between the node of the previous event layer and the node of the next event layer is greater than or equal to a second spacing, includes: The nodes of the multiple events are connected below the node of the top event, and the left-right spacing between the nodes of the multiple events in the same layer is displayed to be greater than or equal to the first spacing, and the upper-lower spacing between the node of the top event and the nodes of the multiple next-layer events is greater than or equal to the second spacing.
3. The intelligent display method of a fault tree in a simulation software as claimed in claim 1, characterized in that: The nodes of the other events include the nodes of the conditional events and the nodes of other events in the same layer as the nodes of the conditional events; the second creation icon button includes the creation icon button of the nodes of the conditional events; If the second create icon button is operated, the node of the previous event is connected with the node of the next event around the selected node, and the left-right spacing between the nodes of multiple events in the same layer is displayed to be greater than or equal to the first spacing, and the upper-lower spacing between the node of the previous event and the node of the next event is greater than or equal to the second spacing, including: If the creation icon button of the node that receives the conditional event is operated, the node of the conditional event is connected on one side of the selected node, and the left-right spacing between the node and the nodes of other events on the same layer is greater than or equal to the first spacing, and the upper-lower spacing between the node of the conditional event and the node of the upper layer is greater than or equal to the second spacing.
4. The intelligent display method of a fault tree in a simulation software as claimed in claim 1, characterized in that: The method further comprises: Determine whether the total display width of all other event nodes in the same layer is greater than the width of the canvas; If yes, the width of the canvas is adaptively enlarged to be greater than or equal to the total display width, and the fault tree is moved to the center of the canvas; the nodes of all events are aligned horizontally and vertically in the center; If not, the method returns to the step of forming a fault tree by connecting the nodes of the previous layer event with the nodes of the next layer event around the selected node if the second create icon button is operated, and displaying that the left-right spacing between the nodes of multiple events at the same layer is greater than or equal to the first spacing, and the upper-lower spacing between the nodes of the previous layer event and the nodes of the next layer event is greater than or equal to the second spacing.
5. The intelligent display method of fault tree in simulation software as claimed in claim 4, characterized in that: The determining whether the total display width of nodes of all other events in the same layer is greater than the width of the canvas includes: It is preferred to determine whether the total display width of the nodes of all other events in the widest node layer is greater than the width of the canvas.
6. The intelligent display method of fault tree in simulation software as claimed in claim 1, characterized in that: The initial values of the second spacing and the first spacing are the maximum spacing; The method further comprises: Determine whether the total display width of all other event nodes in the same layer is greater than the width of the canvas; If so, the second spacing and the first spacing of the nodes of all other events are adjusted to be the minimum spacing respectively, and the width of the canvas is adaptively increased to be greater than or equal to the total display width, and the fault tree is moved to the center of the canvas.
7. The intelligent display method of a fault tree in a simulation software according to any one of claims 1 to 6, characterized in that: After receiving the instruction that the displayed node is selected, the method further includes: A conversion instruction for converting the AND or OR gate of the selected node is received; and in response to the conversion instruction, the AND or OR gate of the selected node is converted.
8. The intelligent display method of a fault tree in a simulation software according to any one of claims 1 to 6, characterized in that: The first spacing includes a minimum spacing; the left-right spacing between the nodes displaying multiple events at the same layer is greater than or equal to the first spacing, including: the left-right spacing between the nodes of the AND gate intermediate events under the same node displayed on the canvas and other AND gate intermediate events is the minimum spacing; and / or, The first spacing includes a minimum spacing; the left-right spacing between the nodes displaying multiple events at the same layer is greater than or equal to the first spacing, including: the left-right spacing between the nodes of the AND gate intermediate events under the same node and the nodes of the OR gate intermediate events under the same node displayed on the canvas is the minimum spacing; and / or, The first spacing includes a minimum spacing; the left-right spacing between the nodes displaying multiple events at the same layer is greater than or equal to the first spacing, including: the left-right spacing between the nodes of the OR gate intermediate events under the same node displayed on the canvas and the nodes of other OR gate intermediate events is the minimum spacing; and / or, The first spacing includes a minimum spacing; the left-right spacing between the nodes displaying multiple events on the same layer is greater than or equal to the first spacing, including: the left-right spacing between the node of the intermediate event and the node of the basic event under the same node on the canvas is the minimum spacing.
9. An intelligent display device for a fault tree in a simulation software, characterized in that: The method for intelligently displaying a fault tree in simulation software according to any one of claims 1 to 8, wherein the intelligent display device for displaying a fault tree in simulation software comprises: A first display module displays nodes of an event of a previous layer in a canvas of the simulation software; the nodes of the event of the previous layer are obtained by operating a first creation icon button of a toolbar of the simulation software; the toolbar includes the first creation icon button corresponding to the nodes of the event of the previous layer and a second creation icon button corresponding to nodes of other events; the nodes of other events include nodes of events of a next layer and / or nodes of multiple events of the same layer; An instruction receiving module, used for receiving an instruction that a displayed node is selected based on the node of the upper layer event; A second display module is used for, if receiving the operation of the second creation icon button, connecting the node of the previous layer event with the node of the next layer event around the selected node, and displaying that the left-right spacing between the nodes of multiple events in the same layer is greater than or equal to the first spacing, and the upper-lower spacing between the node of the previous layer event and the node of the next layer event is greater than or equal to the second spacing, so as to form a fault tree; The node of the next layer event is connected to the node of the previous layer event, and the first spacing and the second spacing are both determined by the dot matrix of the canvas, and are at least greater than or equal to 0.1 dot matrix respectively.
10. An electronic device, characterized in that: The method comprises one or more processors for implementing the intelligent display method of a fault tree in simulation software as claimed in any one of claims 1 to 8.
11. A computer-readable storage medium, characterized in that: A program is stored thereon, and when the program is executed by a processor, the intelligent display method of a fault tree in simulation software as described in any one of claims 1 to 8 is implemented.
Citation Information
Patent Citations
Failure event analysis system and analysis method thereof
CN103577672A
Power distribution network topology layout method
CN103762591A
Automatic processing method and device for fault tree graphical modeling node layout
CN110362854A
Method for dynamically adjusting tree spacing based on Walker's Tree
CN111241348A
Network topological graph drawing method and device and storage medium
CN112737853A