Enterprise security index analysis method and system based on big data and artificial intelligence
Through the enterprise safety index analysis method based on big data and artificial intelligence, the center point and influence range of the storage container are detected, the fire time is calculated, and a tree structure is constructed to evaluate the enterprise safety index, which solves the domino effect problem of storage container fire accidents and achieves a better Accurate security assessment and protective measures.
Patent Information
- Application Number
- CN202110438091.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-04-22
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2041-04-22
AI Technical Summary
In the biochemical enterprise park, the concentrated distribution of flammable and explosive chemicals in storage containers can easily cause fire accidents, leading to a domino effect. Existing technology makes it difficult to monitor and evaluate the danger of storage containers in real time, and lacks effective protective measures.
The enterprise safety index analysis method based on big data and artificial intelligence is used to detect the center point and size of the storage container in the panoramic image, calculate the impact range, and calculate the fire time based on the blocking nodes, and build a tree structure to evaluate the enterprise safety index and determine whether There are safety risks.
It improves the accuracy of storage container fire time detection, can more accurately assess the impact of root node fire on the entire enterprise campus, and provides more effective safety protection measures to prevent the spread of fire.
Smart Images

Figure CN113095322B
Abstract
Description
Technical Field
[0001] The present application relates to the fields of enterprise security and artificial intelligence, and specifically to an enterprise security index analysis method and system based on big data and artificial intelligence. Background Art
[0002] There are a large number of storage containers in the processing plants or raw material storage points in the biochemical enterprise park for storing chemical raw materials, most of which are flammable and explosive chemicals. In order to maintain the production of the enterprise, and subject to the limitations of the park site, the number of storage containers is huge and the distribution is relatively concentrated. When a fire occurs in a storage container, it will cause fires in the surrounding storage containers, causing a domino effect. Therefore, an enterprise safety index analysis method is needed to monitor the danger level of each storage container in real time, strengthen the protection of storage containers with high danger levels, and prevent danger from occurring. Summary of the invention
[0003] In view of the above problems, the present invention proposes a method and system for analyzing enterprise safety index based on big data and artificial intelligence. Detect the center point and size of the raw material storage container in the panoramic image and calculate the influence range of each node. Set the root node and use the root node as the node to be processed to obtain the second node. Calculate the first fire time of the second node according to the obstruction of the node on the first path. Traverse each second node, set it as the target node, calculate the accurate fire time of the target node, and obtain the edge weight from the root node to each second node. The second node that will catch fire is used as the node to be processed, and the path is extended from the root node to obtain the tree structure corresponding to the root node, and the enterprise safety index of the root node is obtained. Reselect the root node, obtain the enterprise safety index corresponding to each node, and further obtain the final safety index of the enterprise to determine whether the enterprise has safety hazards.
[0004] A method for analyzing enterprise security index based on big data and artificial intelligence, the method comprising:
[0005] Step S1: Detect the panoramic image to obtain the center point and size of the raw material storage container enclosing frame.
[0006] Step S2: The raw material storage container is regarded as a node, and the influence range of each node is calculated according to the attributes of the surrounding environment of the raw material storage container.
[0007] Step S3: Select a node as the root node, and use the root node as the node to be processed.
[0008] Step S4: setting a second node according to the influence range of the node to be processed, and calculating the first ignition time of the second node according to the obstruction of other nodes on the first path between the node to be processed and the second node.
[0009] Step S5: traverse each second node and perform the following operations: set the second node as the target node, screen out the second node whose first ignition time is less than the first ignition time of the target node and whose influence range includes the target node, and output the influence node sequence; judge whether the target node will catch fire according to the heat emitted by the nodes in the influence node sequence and the nodes to be processed. If so, connect the nodes to be processed with the target node, further calculate the accurate ignition time of the target node, and obtain the final edge weight from the nodes to be processed to the target node.
[0010] Step S6: The second node that will catch fire is taken as the node to be processed, and steps S4-S5 are executed to expand the path from the root node until the number of second nodes that will catch fire on each path is zero, and the tree structure corresponding to the root node is obtained, and the enterprise safety index of the root node is obtained according to the tree structure.
[0011] Step S7: Reselect the root node, execute steps S3-S6 until all nodes are traversed, obtain the enterprise safety index corresponding to each node, further obtain the enterprise final safety index, and determine whether the enterprise has safety hazards.
[0012] The calculation of the influence range of each node according to the properties of the surrounding environment of the raw material storage container includes: calculating the pool fire influence diameter S is the area of the pool surrounded by the protective dike of the raw material storage container; calculate the fireball impact diameter W is the mass of combustibles in the raw material storage container; the ideal impact diameter is D = max (D 1 ,D 2 );Calculate the final impact diameter of the node g is the acceleration of gravity, v is the wind speed, and the circular area with the center point corresponding to the node as the center and D′ as the diameter is the influence range of the node.
[0013] The calculating the first ignition time of the second node according to the blocking of other nodes on the first path between the node to be processed and the second node specifically includes:
[0014] Select a second node and record it as node k, connect the node to be processed and node k to obtain the first path; draw a first straight line perpendicular to the first path through the center point of the second node, determine whether the first straight line other than the first straight line corresponding to node k intersects with the first path, and take the second node that intersects with the first path as a blocking node; calculate the distance d from the intersection of the first straight line corresponding to the blocking node and the first path to the node to be processed, and project the bounding box of each blocking node onto the corresponding first straight line to obtain the projection l.
[0015] Sort the blocking nodes from small to large according to d to get the blocking node sequence. First, project the bounding box of node k onto the first straight line corresponding to node k to get the projection l 0, project l corresponding to the i-th blocking node in the blocking node sequence onto l 0 Get l i ′, the blocking line segment is l i ″=l i ′∩[l 0 -(l′ 1 ∩l 0 )-…-(l i ' -1 ∩l 0 )],l i The corresponding blocking coefficient is distance() is used to calculate the length of the line segment inside (), φ i is the influence coefficient of the i-th blocking node.
[0016] The first fire time of node k N represents the number of blocking nodes on the first path corresponding to node k, q(x) k is the ideal final heat received by node k per second, δ i is the blocking coefficient of each blocking node, is the critical heat of node k.
[0017] The calculation method of the ideal final heat is as follows: When the fire type is a pool fire, the ideal heat received by the second node per second is Where m f is the burning rate, H c is the combustion heat; when the fire type is fireball, the ideal heat received by the second node per second is where q 0 is the thermal radiation flux on the surface of the fireball, and x is the distance from the second node to the node to be processed;
[0018] q(x)=max(q 1 (x), q 2 (x)), q(x) is the ideal final heat received by the second node per second.
[0019] The step of judging whether the target node will catch fire according to the heat emitted by the nodes in the influencing node sequence and the nodes to be processed specifically includes:
[0020] Sort the affected nodes from short to long according to the first fire time to obtain an affected node sequence; connect the nodes in the affected node sequence and the target node to obtain the second path, and the heat emitted by the node to be processed to the target node per second is q g , the total number of second paths is Num, and the first fire time of the second node corresponding to the mth second path is t 2m ,q m is the heat dissipated per second after the second node corresponding to the mth second path catches fire.
[0021] The total amount of heat received by the target node is: Q A =q g t 21 +(q g +q 1 )(t 22 -t 21 )+…+(q g +q 1 +…+q m )(t 2(m+1) -t 2m ), get the critical heat of the target node Determine whether there is m such that If it does not exist, it is determined that the target node cannot catch fire and the target node is discarded; if it exists, it means that the target node will catch fire and the target node is retained.
[0022] The obtaining of the final edge weight from the to-be-processed node to the target node specifically includes:
[0023] Find satisfaction The maximum value of m 0 , if m 0 <Num, further judge in the mth 0 The first fire time is Q A Is it equal to If equal to The final edge weight from the node to be processed to the target node If not equal to The exact time t when the fire occurs at the target node is calculated according to the following formula: * : The final edge weight from the node to be processed to the target node
[0024] The step of obtaining the enterprise security index of the root node according to the tree structure specifically includes:
[0025] Get the edge weights corresponding to the paths from the root node to each node in the last layer of the tree structure, select the path with the smallest edge weight as the target path, the sum of the edge weights on the target path is ∑W, ε is the number of nodes included in the target path, and the enterprise security index μ of the root node is:
[0026] The obtaining of the final safety index of the enterprise and judging whether the enterprise has safety risks specifically include:
[0027] The minimum value μ of the safety index of all enterprises min As the final safety index of the enterprise, set the enterprise safety index threshold μ 0 , if μ min<μ 0 , indicating that the enterprise has potential safety hazards; if μ min ≥μ 0 , indicating that there are no safety risks in the enterprise.
[0028] A big data and artificial intelligence-based enterprise security index analysis system comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program implements the steps of any of the above methods when executed by the processor.
[0029] Compared with the prior art, the present invention has the following beneficial effects:
[0030] (1) Taking into account the blocking of thermal radiation by nodes, the paths with repeated blocking are removed when different nodes repeatedly block the first path. At the same time, the blocking coefficient is changed according to the different degrees of blocking of the paths by different types of nodes, thereby improving the accuracy of the fire time detection of the second node.
[0031] (2) Not only the direct heat radiation of the root node to the target node is taken into account, but also the radiation of the second node to the target node that is affected by the heat radiation of the root node and catches fire is taken into account, so that a more accurate fire ignition time can be obtained.
[0032] (3) Selecting the fire spread path that affects the most layers of nodes in the shortest time and calculating the enterprise safety index based on the target path can better characterize the impact of a fire at the root node on the entire enterprise park. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 A diagram of the method steps. DETAILED DESCRIPTION
[0034] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0035] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, rather than to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, and may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0036] Embodiment 1:
[0037] The main purpose of the present invention is to achieve enterprise-safe computing.
[0038] In order to achieve the content of the present invention, the present invention designs a method and system for analyzing enterprise security index based on big data and artificial intelligence. The method steps are shown in the figure below: Figure 1 shown.
[0039] The present invention is aimed at a biochemical enterprise park, where there are many raw material storage containers. If a fire occurs in one of the raw material storage containers due to safety protection issues, the raw material storage container on fire will emit heat to the surrounding raw material storage containers, that is, heat radiation. In order to estimate the impact of each raw material storage container on the entire enterprise park in the event of a fire, the present invention obtains a panoramic image of the park through a camera set in the enterprise park, and calculates the enterprise safety index based on the information in the image.
[0040] Step S1: A panoramic image of the park is collected by a camera, and the center point coordinates and size information of the raw material storage container enclosing frame in the panoramic image are detected by a raw material storage container detection network. The raw material storage container detection network used in the present invention is a Center Net network, which is an encoder + FC fully connected structure. The encoder is used to extract features to obtain a feature map, and the FC fully connected is used to detect features in the feature map and output the center point and size of the enclosing frame. The network training method is:
[0041] Several panoramic images are used as data sets, and the data sets are manually annotated. The center point and size of the bounding box corresponding to each raw material storage container are annotated to obtain label data. The network is trained using the mean square error loss function and the cross entropy loss function to obtain a trained raw material storage container detection network.
[0042] The panoramic image is input into the trained raw material storage container detection network, the center point and size of the raw material storage container bounding box are detected, and the bounding box and the corresponding center point are projected onto the BIM ground plane to obtain a panoramic view of the enterprise park on the BIM ground plane.
[0043] Step S2: Determine the impact range of the raw material storage container when it catches fire based on the information of the raw material storage container itself and its surroundings.
[0044] After a fire occurs, a raw material storage container will generate heat radiation to other raw material storage containers around it. The impact range of the raw material storage container on fire is related to multiple factors. The present invention selects the most important factors as the basis for calculating the impact range of the raw material storage container on fire: the type and storage amount of the liquid in the raw material storage container, the type of fire, the type of raw material storage container, and the wind speed around the raw material storage container. In order to obtain the accurate impact range of the raw material storage container on fire, the above factors need to be taken into account.
[0045] There are two types of fires when the raw material storage container is on fire: pool fire and fireball. The impact range of the raw material storage container when on fire is a circular area with the center point of the raw material storage container as the center, but the calculation method of the impact diameter corresponding to the two types of fires is different. When the fire type is a pool fire, the impact diameter of the raw material storage container is: Where S is the area of the pool surrounded by the protective embankment of the raw material storage container, D 1 is the pool fire impact diameter.
[0046] When the fire type is fireball, the impact diameter is: Where W is the mass of combustibles in the raw material storage container. W is related to the type of raw material storage container β and the real-time storage volume γ. For a single raw material storage container, W = 0.5γ; for a double raw material storage container, W = 0.7γ; and for a multi-raw material storage container, W = 0.9γ. 2 is the fireball impact diameter.
[0047] In order to ensure the accuracy and practicality of the subsequent calculation of the enterprise safety index, the maximum range is selected as the influence range of the raw material storage container, and the ideal influence range of the node is D = max(D 1 ,D 2 Considering that wind speed will affect the direction of fire, the present invention sets a wind speed sensor in the enterprise park, and corrects D in combination with wind speed v to obtain the final impact diameter of the raw material storage container. g is the acceleration due to gravity and v is the wind speed.
[0048] At this point, the impact range of each raw material storage container when it catches fire is obtained.
[0049] Step S3: each raw material storage container is regarded as a node, a node is selected as a root node, and the root node is used as a node to be processed.
[0050] Step S4: Assuming that the node to be processed is on fire, based on the heat radiation of the node to be processed to each second node and the heat radiation of other second nodes, calculate whether each second node will catch fire and the specific time of the fire, and obtain the edge weight of each heat radiation propagation path.
[0051] The method of obtaining the enterprise safety index of the present invention is to obtain the quantitative index corresponding to the domino effect caused by a fire in a raw material storage container in the enterprise park. The domino effect refers to when the initial accident occurs, it causes accidents in other nearby units, resulting in the consequences of the accident being greater than the initial event. For the enterprise park, the domino effect of a fire is that after a node catches fire, it generates heat radiation to nearby nodes, causing fires in nodes around the fire node, and extending to raw material storage containers in a larger range.
[0052] The present invention uses the center point of the raw material storage container enclosing box corresponding to the node to be processed as the center of the circle and D' as the diameter to obtain the influence range of the node to be processed, and takes the node whose center point is within the influence range of the node to be processed as the second node. A second node is selected and set as the target node, and the first ignition time of each second node and the target node is calculated first, and the accurate ignition time of the target node is calculated.
[0053] First, calculate the first ignition time of each second node under the influence of the node to be processed. Connect the node to be processed with each second node to obtain the first path, which is the path where the node to be processed directly generates heat radiation to each second node. Obtain the critical heat Q for each second node to ignite 0 When the heat accumulated at a node exceeds the critical heat, the node will catch fire. Due to the different properties of each node, the critical heat Q of each node is 0 The specific values can be obtained from the database.
[0054] Then calculate the heat dissipated from the node to be processed to the second node Q(x) = q(x)t, q(x) is the final heat received by the second node per second. When the fire type is pool fire, the heat received by the second node per second is Where m f is the burning rate, H c is the combustion heat, x is the distance from the second node to the node to be processed; when the fire type is fireball, the heat received by the second node per second is where q 0 is the heat radiation flux on the fireball surface. If the second node is a cylindrical tank, take 270kW / m 2 ; If the second node is a spherical tank, take 200kW / m 2 , x is the distance from the second node to the node to be processed.
[0055] In order to improve the practicability and reliability of the system, the present invention adopts 1 (x) and q 2 The maximum value in (x) is taken as the heat q(x) received by each second node per second, that is, q(x) = max(q 1 (x), q 2 (x)).
[0056] After obtaining q(x), theoretically, the first ignition time of the second node can be obtained by dividing the critical heat of the second node by q(x). However, in actual scenarios, there may be other second nodes blocking the first path between the second node and the node to be processed. The second node blocking the first path will have a certain obstruction to heat radiation. In order to more accurately calculate the first ignition time of the second node, the present invention designs the following steps:
[0057] Select a second node and record it as node k, connect the node to be processed and node k to obtain the first path; draw a first straight line perpendicular to the first path through the center point of the second node, determine whether the first straight line other than the first straight line corresponding to node k intersects with the first path, and use the second node that intersects with the first path as a blocking node.
[0058] The distance d from the intersection of the first straight line corresponding to the blocking node and the first path to the node to be processed is calculated, and the bounding box of each blocking node is projected onto the corresponding first straight line to obtain the projection l.
[0059] Sort the blocking nodes by d from small to large to get the blocking node sequence. The smaller d is, the closer the second node that generates the blockage is to the node to be processed. First, project the bounding box of node k onto the first straight line corresponding to node k to obtain the projection l 0 , project l corresponding to the second node of the i-th node on the blocking node sequence onto l 0 Get l i ′, the blocking line segment is l i ″=l i ′∩[l 0 -(l′ 1 ∩l 0 )-…-(l i ' -1 ∩l 0 )],l i The corresponding blocking coefficient is distance() is used to calculate the length of the line segment inside (), φ i is the influence coefficient of the i-th blocking node. Different types of raw material storage containers have different blocking degrees on the first path, so the present invention sets the blocking node influence coefficient φ iThe six influence coefficients corresponding to the six types of round (single, double, multiple) tank storage and square (single, double, multiple) tank storage are 0.3, 0.35, 0.4, 0.2, 0.25, and 0.3 respectively.
[0060] After obtaining the blocking length of each blocking node, the first fire time of each second node can be calculated. The first fire time t of node k is k The calculation method is:
[0061] N represents the number of blocking nodes on the first path corresponding to node k, q k is the amount of heat received by node k per second in the absence of shading, q k The same value as q(x). i is the blocking coefficient of the blocking node, and the blocking coefficient ranges from [0,1]. is the critical heat of node k.
[0062] Step S5: traverse each second node and perform the following operations:
[0063] Set the second node as the target node, and screen the second nodes according to the first fire time t of other second nodes. Compare t with the first fire time T of the target node. T can be easily calculated based on the type and content of the objects in the raw material storage container. If t>T, it means that the second node cannot affect the target node, so delete the point; keep the second node with t≤T. Proceed to the next step of screening.
[0064] In addition to being affected by the node to be processed, the target node is also affected by a nearby second node that caught fire earlier than the target node. The present invention then screens the retained second nodes according to the positions of the second nodes, and detects whether the target node is within the influence range of the second node. If so, the second node is retained; if not, the second node is deleted.
[0065] For the second node that is retained at the end, an influence node sequence is formed by sorting the second nodes from small to large according to the first fire time corresponding to the second nodes. The influence range of each second node included in the influence node sequence includes the target node. The number of nodes is Num, and the number of second paths is also Num.
[0066] The second node in the affected node sequence is affected by the node to be processed and then ignites, and then generates heat radiation to the target node. This impact path is called the second path. The nodes in the affected node sequence and the target node are connected to obtain the second path. The present invention has set the path from the node to be processed to the target node as the first path, and the target node is affected by the first path and the second path. Get the heat q emitted by the node to be processed to the target node per second g ,q g It can be obtained by calculating the ideal final heat.
[0067] There are Num second paths. Calculate the first fire time of each second path corresponding to the second node. The first fire time of the mth second path corresponding to the second node is t 2m Then calculate the heat dissipated per second after the second node of each second path is on fire. The heat dissipated per second after the second node of the mth second path is on fire is q m .
[0068] It should be noted that the second node will only affect the target node after it catches fire, and when the target node catches fire, the impact of the second node that catches fire later than the target node on the target node is no longer considered, so the second paths are sorted from small to large according to the first fire time of the second node.
[0069] According to the first path weight, the second path sequence fuses the influencing factors on all paths, calculates the accurate ignition time of the target node, and obtains the final edge weight W from the node to be processed to the target node. First, the time period to which the accurate ignition time belongs is determined. The present invention obtains the time period to which the accurate ignition event belongs based on whether the accumulation of heat emitted by the node to be processed and the influencing node to the target node exceeds the critical heat of the target node.
[0070] The total amount of heat received by the target node is:
[0071] Q A =q g t 21 +(q g +q 1 )(t 22 -t 21 )+…+(q g +q 1 +…+q m )(t 2(m+1) -t 2m ), this formula is designed according to the sorting of the second path, in 0-t 21 During the time period, only the nodes to be processed are burning, and the target node only receives the heat emitted by the nodes to be processed; 21 -t 22 During the time period, the first second node in the affected node sequence catches fire, and the second node and the node to be processed will jointly emit heat to the target node in the future. By analogy, the total amount of heat received by the target node is obtained. A formula.
[0072] The first fire time of the second node in the influencing node sequence and the first fire time of the target node divide the time into several time periods, and the time between adjacent first fire times is a time period. A It is the total heat received by the target node at the first fire time.
[0073] The critical heat of the target node is First, determine whether there is m such that If it does not exist, it means that the target node cannot catch fire under the influence of the second node and the node to be processed, so the target node is discarded.
[0074] If it exists, then further calculate the exact time when the target node caught fire. Find the node that satisfies The maximum m value is denoted as m 0 If m 0 <Num means in the mth 0 When the fire occurs at the second node, the accumulated heat of the target node is close to the critical value, that is, the target node is at the mth node. 0 The first fire time and the mth 0 +1 first fire time between fires.
[0075] Further judgement at the mth 0 The first fire time is Q k Is it equal to If equal to The exact fire time of the target node is The final edge weight from the node to be processed to the target node When not equal to When , the exact time t when the fire occurs at the target node is calculated according to the following formula: * :
[0076] Get t * After that, the exact fire time of the target node can be obtained as t * +t 2(m0+1) , the final edge weight from the node to be processed to the target node
[0077] At this point, the edge weight W from the node to be processed to the target node is obtained, the remaining second nodes are traversed, each node is taken as the target node in turn, and the edge weights from the node to be processed to all second nodes are obtained.
[0078] Step S6: The second node that will catch fire is taken as a node to be processed, and steps S4-S5 are executed to expand the path from the root node until the number of the second nodes that will catch fire on each path is zero, thereby obtaining a tree structure corresponding to the root node.
[0079] The purpose of this step is to obtain the tree structure corresponding to the root node and the edge weights of each edge on the tree structure. A root node contains more than one layer of structure. The second node that catches fire after being affected by the root node will affect the nodes farther away from the root node and cause them to catch fire. This is the domino effect. The second node that will catch fire is taken as the node to be processed, its influence diameter is obtained, and the corresponding second node is further obtained. The operation is repeated in this way until the number of second nodes that catch fire is 0, then the traversal is stopped, and the tree structure corresponding to the root node selected in step S3 is obtained.
[0080] Furthermore, the enterprise security index of the root node is obtained according to the tree structure corresponding to the root node. The edge weights of each path from the root node to the last layer of the tree structure are obtained, and the path with the smallest edge weight is selected as the target path. The target path refers to the path with the shortest domino effect time. The sum of the edge weights on the target path is recorded as ∑W, and the number of nodes included in the target path is recorded as ε. Then the enterprise security index μ of the root node is:
[0081]
[0082] The value range of μ is [0,1]. The smaller the enterprise safety index is, the farther the fire spreads in a unit time after the root node catches fire, and the less safe the park is when a fire occurs at the root node.
[0083] Step S7:
[0084] Traverse all nodes in the enterprise park, execute steps S3-S6 and obtain the enterprise security index of each node in the enterprise park. In order to ensure the practicality of the enterprise security index and issue early warnings in time, the present invention sets the minimum value μ of the security index of all nodes min As the final safety index of the enterprise. Set the enterprise safety index threshold μ 0 , when μ min <μ 0 When μ min ≥μ 0 When the enterprise park is relatively safe. 0 is an empirical threshold, which can be set by the implementer according to the actual situation. 0 =0.5.
[0085] The present invention also provides an enterprise security index analysis system based on big data and artificial intelligence, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program implements the steps of an enterprise security index analysis method based on big data and artificial intelligence when executed by the processor.
[0086] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for analyzing enterprise security index based on big data and artificial intelligence, characterized in that: The method includes: Step S1: Detect the panoramic image to obtain the center point and size of the raw material storage container enclosing frame; Step S2: considering the raw material storage container as a node, and calculating the influence range of each node according to the attributes of the surrounding environment of the raw material storage container; Step S3: Select a node as the root node, and use the root node as the node to be processed; Step S4: setting a second node according to the influence range of the node to be processed, and calculating the first ignition time of the second node according to the blocking of other nodes on the first path between the node to be processed and the second node; Step S5: traverse each second node and perform the following operations: set the second node as the target node, screen out the second node whose first ignition time is less than the first ignition time of the target node and whose influence range includes the target node, and output the influence node sequence; judge whether the target node will catch fire according to the heat emitted by the nodes in the influence node sequence and the node to be processed; if it will catch fire, connect the node to be processed with the target node, further calculate the accurate ignition time of the target node, and obtain the final edge weight from the node to be processed to the target node; Step S6: The second node that will catch fire is taken as a node to be processed, and steps S4-S5 are executed to expand the path from the root node until the number of the second nodes that will catch fire is zero, and a tree structure corresponding to the root node is obtained, and the enterprise safety index of the root node is obtained according to the tree structure; Step S7: reselect the root node, execute steps S3-S6 until all nodes are traversed, obtain the enterprise safety index corresponding to each node, further obtain the enterprise final safety index, and determine whether the enterprise has safety hazards; The calculating the first ignition time of the second node according to the blocking of other nodes on the first path between the node to be processed and the second node specifically includes: Select a second node and record it as node k, connect the node to be processed and node k to obtain the first path; draw a first straight line perpendicular to the first path through the center point of the second node, determine whether the first straight line other than the first straight line corresponding to node k intersects with the first path, and take the second node that intersects with the first path as a blocking node; Calculate the distance d from the intersection of the first straight line corresponding to the blocking node and the first path to the node to be processed, and project the bounding box of each blocking node onto the corresponding first straight line to obtain the projection l; Sort the blocking nodes from small to large according to d to get the blocking node sequence. First, project the bounding box of node k onto the first straight line corresponding to node k to get projection l0. Project l corresponding to the i-th blocking node in the blocking node sequence onto l0 to get l′. i , the blocking line segment is l″ i = l′ i ∩[l0-(l′1∩l0)-…-(l′ i-1 ∩l0)],l″ i The corresponding blocking coefficient is distance() is used to calculate the length of the line segment inside (), φ i is the influence coefficient of the i-th blocking node; The first fire time of node k N represents the number of blocking nodes on the first path corresponding to node k, q(x) k is the ideal final heat received by node k per second, δ i is the blocking coefficient of each blocking node, is the critical heat of node k.
2. The method according to claim 1, characterized in that The calculation of the influence range of each node according to the properties of the surrounding environment of the raw material storage container includes: Calculate Pool Fire Impact Diameter S is the area of the pool surrounded by the protective dike of the raw material storage container; calculate the fireball impact diameter W is the mass of combustibles in the raw material storage container; the ideal impact diameter is D = max (D1, D2); Calculate the final impact diameter of the node g is the acceleration of gravity, v is the wind speed, and the circular area with the center point corresponding to the node as the center and D′ as the diameter is the influence range of the node.
3. The method according to claim 2, characterized in that The calculation method of the ideal final heat is as follows: When the fire type is pool fire, the ideal heat received by the second node per second is Where m f is the burning rate, H c For the heat of combustion; When the fire type is fireball, the ideal heat received by the second node per second is Where q0 is the thermal radiation flux on the surface of the fireball, and x is the distance from the second node to the node to be processed; q(x)=max(q1(x),q2(x)), where q(x) is the ideal final amount of heat received by the second node per second.
4. The method according to claim 3, characterized in that The step of judging whether the target node will catch fire according to the heat emitted by the nodes in the influencing node sequence and the nodes to be processed specifically includes: Sort the affected nodes from shortest to longest according to the first fire time to obtain the affected node sequence; The nodes in the affected node sequence are connected to the target node to obtain the second path. The heat emitted by the node to be processed to the target node per second is q g , the total number of second paths is Num, and the first fire time of the second node corresponding to the mth second path is t 2m ,q m is the heat dissipated per second after the second node corresponding to the mth second path catches fire; The total amount of heat received by the target node is: Q A =q g t 21 +(q g +q1)(t 22 -t 21 )+…+(q g +q1+…+q m )(t 2(m+1) -t 2m ), get the critical heat of the target node Determine whether there is m such that If it does not exist, it is determined that the target node cannot catch fire and the target node is discarded; if it exists, it means that the target node will catch fire and the target node is retained.
5. The method according to claim 4, characterized in that The obtaining of the final edge weight from the to-be-processed node to the target node specifically includes: Find satisfaction The maximum m value m0, if m0<Num, further determine the first ignition time at the m0th time Q A Is it equal to If equal to The final edge weight from the node to be processed to the target node If not equal to The exact time t when the fire occurs at the target node is calculated according to the following formula: * : The final edge weight from the node to be processed to the target node 6. The method according to claim 1, characterized in that The step of obtaining the enterprise security index of the root node according to the tree structure specifically includes: Get the edge weights corresponding to the paths from the root node to each node in the last layer of the tree structure, select the path with the smallest edge weight as the target path, the sum of the edge weights on the target path is ∑W, ε is the number of nodes included in the target path, and the enterprise security index μ of the root node is:
7. The method according to claim 6, characterized in that The obtaining of the final safety index of the enterprise and judging whether the enterprise has safety risks specifically include: The minimum value μ of the safety index of all enterprises min As the final enterprise safety index, set the enterprise safety index threshold μ0. If μ min <μ0, it means that the enterprise has potential safety hazards; if μ min ≥μ0, indicating that there are no safety hazards in the enterprise.
8. An enterprise security index analysis system based on big data and artificial intelligence, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
