[go: up one dir, main page]

CN114510607B - A report adaptive arrangement method for fault tree - Google Patents

A report adaptive arrangement method for fault tree

Info

Publication number
CN114510607B
CN114510607B CN202111392470.3A CN202111392470A CN114510607B CN 114510607 B CN114510607 B CN 114510607B CN 202111392470 A CN202111392470 A CN 202111392470A CN 114510607 B CN114510607 B CN 114510607B
Authority
CN
China
Prior art keywords
fault tree
tree structure
report
nodes
paper
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111392470.3A
Other languages
Chinese (zh)
Other versions
CN114510607A (en
Inventor
董海勇
董力
张福凯
周元辉
林谢贵
杨亮
张茂帝
李娜
谷青范
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Aeronautical Radio Electronics Research Institute
Original Assignee
China Aeronautical Radio Electronics Research Institute
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Aeronautical Radio Electronics Research Institute filed Critical China Aeronautical Radio Electronics Research Institute
Priority to CN202111392470.3A priority Critical patent/CN114510607B/en
Publication of CN114510607A publication Critical patent/CN114510607A/en
Application granted granted Critical
Publication of CN114510607B publication Critical patent/CN114510607B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/901Indexing; Data structures therefor; Storage structures
    • G06F16/9027Trees
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying
    • G06F16/9038Presentation of query results

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Software Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本发明公开了一种面向故障树的报告自适应排布方法,包含以下步骤:步骤1、导入绘制好的故障树,定义或选择生成故障树报告的纸张尺寸;步骤2、读取故障树结构的结构参数信息,自上而下确定故障树结构在报告中的缩放参数r;步骤3、对于超出排布区域的故障树结构,确定故障树报告中的转移门,对故障树结构进行分解;步骤4、将转移门所在的分支视为一个新的故障树在新页面上进行排布;步骤5、添加转移门之间的超链接;步骤6、按照故障树报告格式,生成故障树报告。本发明使故障树导出报告具有布局合理、可读性高等特点。

The invention discloses a report adaptive arrangement method for a fault tree, comprising the following steps: step 1, importing a drawn fault tree, defining or selecting a paper size for generating a fault tree report; step 2, reading structural parameter information of a fault tree structure, and determining a scaling parameter r of the fault tree structure in a report from top to bottom; step 3, for a fault tree structure that exceeds an arrangement area, determining a transfer gate in a fault tree report, and decomposing the fault tree structure; step 4, treating a branch where a transfer gate is located as a new fault tree and arranging it on a new page; step 5, adding hyperlinks between transfer gates; and step 6, generating a fault tree report according to a fault tree report format. The invention enables a fault tree export report to have the characteristics of reasonable layout and high readability.

Description

Fault tree-oriented report self-adaptive arrangement method
Technical Field
The invention belongs to the fields of security engineering and reliability engineering, and relates to a fault tree-oriented report self-adaptive arrangement method.
Background
The fault tree analysis is a common graphical analysis method, is widely applied to the fields of security engineering and reliability engineering, can help engineering personnel identify the reasons of system failure, and finds out links with lower security or reliability, so that corresponding improvement measures are adopted to promote the system design.
In the fault tree analysis process, a high-complexity safety key system often means that the fault tree to be drawn in an analysis tool is huge in size, and great difficulty is brought to the derivation of a fault tree report with high readability and standard layout. At present, a unified recognition and specification method is not provided for the arrangement of the fault tree derived reports, and the arrangement process of logic gates such as AND gates, OR gates, voting gates and the like and branch nodes thereof in a fault tree structure is not unified, so that the problems of uneven readability of reports generated by different fault tree analysis tools, unreasonable decomposition of the fault tree structure and the like are caused.
Disclosure of Invention
In order to standardize the arrangement method of the fault tree export report, the invention aims to provide a fault tree-oriented report self-adaptive arrangement method, so that the readability of the fault tree export report is improved.
The invention aims at realizing the following technical scheme.
A report self-adaptive arrangement method facing fault tree includes the following steps:
Step 1, importing a drawn fault tree, and defining or selecting the paper size of a report of the generated fault tree;
step 2, reading structural parameter information of the fault tree structure, and determining a scaling parameter r of the fault tree structure in a report from top to bottom;
Step 3, determining a transfer gate in a fault tree report for the fault tree structure exceeding the arrangement area, and decomposing the fault tree structure;
step 4, regarding the branch where the transfer gate is located as a new fault tree, and arranging the branches on a new page;
Step5, adding hyperlinks among the transfer gates;
and 6, generating a fault tree report according to the fault tree report format.
Preferably, the scaling parameter r is determined as follows:
the scaling parameter r is calculated by the following formula:
Wherein x represents the number of secondary nodes below the top node, d represents the interval between the secondary nodes, S represents the proportionality coefficient of the width of the arrangement area and the width of the paper, W represents the width of the paper, L represents the width of the logic symbol;
If the scaling parameter calculated by the above formula is 1 and the fault tree structure has three levels of nodes, the scaling parameter r needs to be calculated again by the following formula:
Wherein x 1 represents the number of tertiary nodes, d 1 represents the spacing between tertiary node symbols;
If the scaling parameter calculated by the formula is not equal to 1, setting a minimum scaling parameter r min;
When Lx+ (x-1) d is less than or equal to S W, there are:
when lxx+ (x-1) d > s×w:
Preferably, in step 3, after determining the scaling parameter r of the fault tree structure in the report, the fault tree structure needs to be decomposed when the following formula is established:
H*r*ymax+h*r*(ymax-1)>T*E
Or (b)
L*r*xmax+d′*r*(xmax-1)>S*W
Wherein y max represents the maximum number of stages of the fault tree structure, H represents the distance between logical symbols, x max represents the maximum number of peer nodes in the fault tree structure, d' represents the distance between peer nodes, T represents the proportionality coefficient of the height of the arrangement area and the height of the paper, S represents the proportionality coefficient of the width of the arrangement area and the width of the paper, E represents the height of the paper, W represents the width of the paper, L represents the width of the logical symbols, H represents the height of the logical symbols;
When the scaled fault tree structure exceeds the left side and the right side of the arrangement area, converting the upper stage of the logic symbol exceeding the area into a transfer gate;
when the scaled fault tree structure exceeds the lower side of the arrangement area, converting the upper stage of the logic symbol exceeding the area into a transfer gate;
when the scaled fault tree structure exceeds the left side, the right side or the lower side of the arrangement area, if a voting gate exists at the upper stage exceeding the logic symbol of the area, converting the voting gate into a transfer gate;
Aiming at the scaled fault tree structure, the position of the top node is taken as a central axis, and if the number of the left branch nodes and the right branch nodes of the fault tree structure is unbalanced, branches with more nodes are translated to the direction taking the position of the top node as the central axis.
The invention provides a normalized arrangement method of the fault tree export report, so that the fault tree export report has the characteristics of reasonable layout, high readability and the like. The invention takes the fault tree structure drawn in the fault tree analysis tool as input, outputs the fault tree analysis report with the characteristics of high readability, standard layout and the like through a series of standard methods and various arrangement algorithms, and has stronger practical and popularization values.
Drawings
FIG. 1 is a flow chart of a fault tree oriented report adaptive arrangement method;
FIG. 2 is a schematic diagram of fault tree logic symbols and paper parameters;
FIG. 3 is a schematic diagram of a fault tree structure before scaling;
FIG. 4 is a schematic diagram of the effect of the fault tree structure after scaling;
FIG. 5 is a right side schematic view of a fault tree structure beyond an arrangement area;
FIG. 6 is an exploded view of the fault tree structure beyond the right side of the deployment area;
FIG. 7 is a schematic diagram of the underside of a fault tree structure beyond an arrangement area;
FIG. 8 is an exploded view of the underside of the fault tree structure beyond the routing area;
FIG. 9 is a schematic diagram of the underside of a fault tree structure with voting gates beyond an area of arrangement;
FIG. 10 is an exploded view of the underside of a fault tree structure with voting gates beyond the deployment area;
FIG. 11 is a schematic diagram of a fault tree structure with unbalanced numbers of left and right branch nodes;
fig. 12 is a schematic layout diagram of a fault tree structure with unbalanced numbers of left and right branch nodes.
Detailed Description
The invention provides a fault tree-oriented report self-adaptive arrangement method, which provides a specific fault tree report generation process, and fig. 1 is a flow chart of the fault tree-oriented report self-adaptive arrangement method, and comprises the following steps:
and 1, importing the drawn fault tree, and defining or selecting the paper size for generating a fault tree report.
The drawn fault tree structure is used as input of the method of the invention, and the sizes of paper (including paper and electronic) can be set in a self-defining way or different types of standard paper can be selected, such as A0 paper (841 mm x 1189 mm), A1 paper (594 mm x 841 mm), A2 paper (420 mm x 594 mm), A3 paper (294 mm x 420 mm), A4 paper (210 mm x 292 mm), A5 paper (148 mm x 210 mm) and the like. For ease of description, the paper size parameter reported by the fault tree is herein set to be height E, width W.
Step 2, reading structural parameter information of the fault tree structure, and determining a scaling parameter r of the fault tree structure in a report from top to bottom;
The structure parameter information includes the height H and width L of each logical symbol (logical gate, logical event) in the fault tree structure, the number of stages of the fault tree, the number of nodes at each stage, the intervals between the nodes, and the like, as shown in fig. 2. Based on the set paper size, determining a scaling parameter r of the fault tree structure in the report from top to bottom, wherein the scaling parameter r can be calculated by the following formula:
The system comprises a top node, a plurality of secondary nodes, a spacing d between the secondary nodes, and a ratio coefficient of the width of the arrangement area to the width of the paper, wherein x represents the number of the secondary nodes under the top node, S represents the ratio coefficient of the width of the arrangement area to the width of the paper, and the ratio coefficient can be set to be 0.95 or can be customized according to the requirement.
If the scaling parameter calculated by the above formula is 1 and the fault tree structure has three levels of nodes, the scaling parameter r needs to be calculated again by the following formula:
Where x 1 represents the number of tertiary nodes and d 1 represents the spacing between tertiary node symbols.
If the scaling parameter calculated by the above formula is not equal to 1, in order to ensure the readability of the fault tree structure, especially the complex large-scale fault tree structure, it is required that the fault tree structure is not infinitely scaled down when being arranged, a threshold should be generally set, that is, a minimum scaling parameter r min is set, for example, r min =0.6, and the relationship between r and r min can be obtained by the following formula:
When Lx+ (x-1) d is less than or equal to S W, there are:
when lxx+ (x-1) d > s×w:
Step3, determining a transfer gate in a fault tree report for the fault tree structure exceeding the arrangement area, decomposing the fault tree structure, and standardizing the arrangement of the fault tree structure in the fault tree report;
After the scaling parameter r of the fault tree structure in the report is determined, the size of the arrangement area of the fault tree structure in the report is based on the size of the arrangement area of the fault tree structure in the report, and the scaled fault tree structure is combined with the scaled fault tree structure, so that the fault tree structure can not be completely displayed in the arrangement area and needs to be decomposed, and the fault tree structure can be completely displayed in the arrangement area.
When the following formula is established, the fault tree structure needs to be decomposed
H*r*ymax+h*r*(ymax-1)>T*E
Or (b)
L*r*xmax+d′*r*(xmax-1)>S*W
Wherein y max represents the maximum number of the fault tree structure, h represents the distance between logical symbols, x max represents the maximum number of peer nodes (three-level nodes and nodes below three-level nodes) in the fault tree structure, d' represents the distance between peer nodes, T represents the proportionality coefficient of the height of the arrangement area and the height of the paper, for example, the design is 0.9, and the proportionality system can be customized according to the requirement.
To achieve the above object, here, a large-scale fault tree structure is decomposed by converting a logical symbol into a form of a transfer gate. The arrangement of the fault tree structure in the report area should keep the central display all the time along with the top node, the second level node and the third level node, and the branch where the transfer gate is located can be regarded as a new fault tree structure to carry out the arrangement processing. The following considerations are mainly made here:
When the scaled fault tree structure exceeds the left and right sides of the arrangement area, the upper stage of the logical sign of the exceeding area is converted into a transfer gate. A schematic diagram of the fault tree structure on the right side of the out-of-arrangement area is shown in fig. 5, wherein the rightmost side of the fourth-stage node of the fault tree structure is out of the area range, so that the node on the upper stage of the out-of-area node is converted into a new transfer gate, and the branch is arranged into another page for display, and an exploded schematic diagram of the fault tree structure on the right side of the out-of-arrangement area is shown in fig. 6;
When the scaled fault tree structure exceeds the underside of the staging area, the upper level of the excess area logical sign is converted into a transfer gate. FIG. 7 is a schematic diagram showing the lower side of the fault tree structure beyond the arrangement area, wherein the eighth level node of the fault tree structure exceeds the area range, so that the node of the upper level beyond the area node is converted into a new transfer gate, and the branch is arranged into another page for display, and FIG. 8 is a schematic diagram showing the decomposition of the lower side of the fault tree structure beyond the arrangement area;
When the scaled fault tree structure exceeds the left side, the right side or the lower side of the arrangement area, if a voting gate exists at the upper stage exceeding the area logic symbol, the voting gate is converted into a transfer gate. FIG. 9 is a schematic diagram showing the lower side of the fault tree structure with transfer gates beyond the arrangement area, wherein the eighth level node of the fault tree structure exceeds the area range, and the father node of the node above the area is a voting gate, so that the voting gate node is converted into a new transfer gate, and the branches are arranged into another page for display, and FIG. 10 is a schematic diagram showing the decomposition of the lower side of the fault tree structure beyond the arrangement area;
Aiming at the scaled fault tree structure, the position of the top node is taken as the central axis, and if the number of the left branch nodes and the right branch nodes of the fault tree structure is unbalanced, in order to improve the utilization efficiency of the arrangement area of the fault tree structure and enhance the readability, the branches with more nodes can be translated towards the direction taking the position of the top node as the central axis. As shown in fig. 11, which is a schematic diagram of a fault tree structure with unbalanced numbers of left and right branch nodes, it can be seen that the number of nodes of the left branch is significantly higher than that of nodes of the right branch in the fault tree structure, so that the left branch is moved to a direction taking the position of the top node as the central axis, and the arrangement effect after the movement is shown in fig. 12.
And 4, regarding the branch where the transfer gate is located as a new fault tree, and arranging the branches on the new page.
The fault tree branch where the transfer gate is located is treated as a new fault tree structure for processing, and the steps are the same as the above method. Step 5, adding hyperlinks among the transfer gates;
after the decomposition of the entire fault tree structure is completed, in order to quickly look for the fault tree structure in the fault tree report, it is necessary to annotate the transfer gate generated by the decomposition and set hyperlinks so as to quickly find different parts of the entire fault tree structure.
And 6, designing a fault tree report format, and generating a fault tree report.
Finally, to embody the entire fault tree information in the fault tree report, the following portions need to be included in the fault tree report:
data of logic gates and logic events contained in the fault tree;
fault tree structure after the above-mentioned processing;
Report generation time, page number display, report name, logic gate, number of logic events, etc.

Claims (2)

1. A fault tree-oriented report self-adaptive arrangement method is characterized by comprising the following steps:
Step 1, importing a drawn fault tree, and defining or selecting the paper size of a report of the generated fault tree;
step 2, reading structural parameter information of the fault tree structure, and determining a scaling parameter r of the fault tree structure in a report from top to bottom;
Step 3, determining a transfer gate in a fault tree report for the fault tree structure exceeding the arrangement area, and decomposing the fault tree structure;
step 4, regarding the branch where the transfer gate is located as a new fault tree, and arranging the branches on a new page;
Step5, adding hyperlinks among the transfer gates;
step 6, generating a fault tree report according to the fault tree report format;
the scaling parameter r is determined as follows:
the scaling parameter r is calculated by the following formula:
Wherein x represents the number of secondary nodes below the top node, d represents the interval between the secondary nodes, S represents the proportionality coefficient of the width of the arrangement area and the width of the paper, W represents the width of the paper, L represents the width of the logic symbol;
If the scaling parameter calculated by the above formula is 1 and the fault tree structure has three levels of nodes, the scaling parameter r needs to be calculated again by the following formula:
Wherein x 1 represents the number of tertiary nodes, d 1 represents the spacing between tertiary node symbols;
If the scaling parameter calculated by the formula is not equal to 1, setting a minimum scaling parameter r min;
When Lx+ (x-1) d is less than or equal to S W, there are:
when lxx+ (x-1) d > s×w:
2. the method for adaptively arranging reports facing fault trees according to claim 1, wherein in step 3, after determining the scaling parameter r of the fault tree structure in the report, the fault tree structure needs to be decomposed when the following formula is established:
H*r*ymax+h*r*(ymax-1)>T*E
Or (b)
L*r*xmax+d′*r*(xmax-1)>S*W
Wherein y max represents the maximum number of stages of the fault tree structure, H represents the distance between logical symbols, x max represents the maximum number of peer nodes in the fault tree structure, d' represents the distance between peer nodes, T represents the proportionality coefficient of the height of the arrangement area and the height of the paper, S represents the proportionality coefficient of the width of the arrangement area and the width of the paper, E represents the height of the paper, W represents the width of the paper, L represents the width of the logical symbols, H represents the height of the logical symbols;
When the scaled fault tree structure exceeds the left side and the right side of the arrangement area, converting the upper stage of the logic symbol exceeding the area into a transfer gate;
when the scaled fault tree structure exceeds the lower side of the arrangement area, converting the upper stage of the logic symbol exceeding the area into a transfer gate;
when the scaled fault tree structure exceeds the left side, the right side or the lower side of the arrangement area, if a voting gate exists at the upper stage exceeding the logic symbol of the area, converting the voting gate into a transfer gate;
Aiming at the scaled fault tree structure, the position of the top node is taken as a central axis, and if the number of the left branch nodes and the right branch nodes of the fault tree structure is unbalanced, branches with more nodes are translated to the direction taking the position of the top node as the central axis.
CN202111392470.3A 2021-11-23 2021-11-23 A report adaptive arrangement method for fault tree Active CN114510607B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111392470.3A CN114510607B (en) 2021-11-23 2021-11-23 A report adaptive arrangement method for fault tree

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111392470.3A CN114510607B (en) 2021-11-23 2021-11-23 A report adaptive arrangement method for fault tree

Publications (2)

Publication Number Publication Date
CN114510607A CN114510607A (en) 2022-05-17
CN114510607B true CN114510607B (en) 2025-07-15

Family

ID=81548154

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111392470.3A Active CN114510607B (en) 2021-11-23 2021-11-23 A report adaptive arrangement method for fault tree

Country Status (1)

Country Link
CN (1) CN114510607B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119292495A (en) * 2024-12-12 2025-01-10 之江实验室 Intelligent display method, device, equipment and medium of fault tree in simulation software

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107563639A (en) * 2017-08-31 2018-01-09 中国农业银行股份有限公司 Evaluating information system risk device and method based on fault tree
CN110520994A (en) * 2017-04-05 2019-11-29 半导体组件工业公司 Imaging sensor with vertical stacking photodiode and vertical transfer gate

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AUPR464601A0 (en) * 2001-04-30 2001-05-24 Commonwealth Of Australia, The Shapes vector
US20060227153A1 (en) * 2005-04-08 2006-10-12 Picsel Research Limited System and method for dynamically zooming and rearranging display items
CN111007401A (en) * 2019-12-16 2020-04-14 国网江苏省电力有限公司电力科学研究院 A method and equipment for fault diagnosis of electric vehicle battery based on artificial intelligence

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110520994A (en) * 2017-04-05 2019-11-29 半导体组件工业公司 Imaging sensor with vertical stacking photodiode and vertical transfer gate
CN107563639A (en) * 2017-08-31 2018-01-09 中国农业银行股份有限公司 Evaluating information system risk device and method based on fault tree

Also Published As

Publication number Publication date
CN114510607A (en) 2022-05-17

Similar Documents

Publication Publication Date Title
Zenitani Attack graph analysis: An explanatory guide
CN109657947A (en) A kind of method for detecting abnormality towards enterprises ' industry classification
CN114510607B (en) A report adaptive arrangement method for fault tree
CN115277180B (en) A blockchain log anomaly detection and traceability system
CN107590262A (en) The semi-supervised learning method of big data analysis
CN111930963B (en) Knowledge graph generation method, device, electronic device and storage medium
CN108038184A (en) A kind of date storage method and system based on block chain, a kind of intelligent block chain
Xiuli et al. An improved multi-objective optimization algorithm for solving flexible job shop scheduling problem with variable batches
CN116011330A (en) Power system voltage stability evaluation method based on improved random forest
CN102750534A (en) Method and device for segmenting characters
Sleiman et al. A class of neural-network-based transducers for web information extraction
Li et al. The development of an industry environment for the internet of things: evidence from China
Seol et al. Reduction of association rules for big data sets in socially-aware computing
US20070174306A1 (en) Data extraction and conversion methods and apparatuses
CN119228828A (en) Hypergraph segmentation method based on self-supervised learning
Hsu et al. Support vector machines parameter selection based on combined taguchi method and staelin method for e-mail spam filtering
Boffa et al. Unifying fuzzy concept lattice construction methods
CN107679132A (en) Minimizing Cut Sets of Fault Trees extracting method based on local propagation figure
Shankar et al. A new algorithm for linear regular tree pattern matching
CN113705624B (en) Intrusion detection method and system for industrial control system
CN101499075A (en) Data mining system, its implementing method and application
Bergeron et al. HP distance via double cut and join distance
Guo Grammar theory based on lattice-ordered monoid
Yamagata et al. Acquisition of multiple graph structured patterns by an evolutionary method using sets of TTSP graph patterns as individuals
Horváth Engineering Model System Definition Using Human Initiatives

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant