A tank risk multi-modal early warning method fusing monitoring data and video features
By fusing gun-type cameras and multi-source monitoring data, and utilizing attitude calculation algorithms and light propagation laws, the problem of high false alarm rate of external floating roof tanks at low liquid levels has been solved, achieving highly accurate and stable risk warning and ensuring tank safety.
Patent Information
- Application Number
- CN202611546821.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-08
- Publication Date
- 2026-11-24
AI Technical Summary
External floating roof tanks are susceptible to visual blind spots caused by light and shadow, liquid level changes and weather interference when operating at low liquid levels, which increases the risk of false alarms in traditional monitoring and affects the accuracy and stability of safety monitoring.
By using a bullet camera to collect video data, combined with attitude calculation algorithms and multi-source monitoring data, and by establishing a mapping relationship between visual imaging and the actual operating status of the storage tank through calibration point sequence and the rectilinear propagation law of light, the floating roof status can be accurately monitored and risk warnings can be provided.
It effectively shields against misjudgment interference from non-risk factors, improves the accuracy and stability of risk identification for external floating roof tanks, reduces false alarm rates, increases monitoring efficiency, reduces manual intervention, and ensures long-term safe operation.
Smart Images

Figure CN123158558A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of digital data processing technology, and in particular to a method for digital computing or data processing specifically applicable to a particular application, specifically a multimodal early warning method for storage tank risks that integrates monitoring data and video features. Background Technology
[0002] External floating roof tanks, as the core and main facilities for crude oil transshipment at coastal ports and crude oil storage in large petrochemical bases, have significant advantages in large-scale centralized crude oil storage scenarios due to their larger single-tank volume and lower oil evaporation loss. However, the core characteristic of this type of tank is that the floating roof is almost completely exposed to the open environment, directly affected by external factors such as wind, rain, strong sunlight, and extreme temperatures, making the uncertainty of safety management far higher than that of enclosed tanks.
[0003] Especially when the crude oil storage in the tank is small and the liquid level is low, the floating roof that sinks with the liquid level will be partially blocked by the upper tank wall. At this time, if the large-area glare caused by the strong midday sun, the dynamic shadow of the floating roof surface moving with the sunlight, and the image clarity deterioration caused by rain, snow, fog and haze, it is easy to form a large number of visual blind spots that cannot be covered by traditional monitoring. This may increase the probability of false alarms in the analysis and create potential risks to the long-term safe operation monitoring of the external floating roof tank.
[0004] Therefore, how to provide a multimodal early warning method for tank risks that integrates monitoring data and video features for external floating roof tanks, and provide conditions for avoiding false alarms, has become an urgent problem to be solved. Summary of the Invention
[0005] This application provides a multimodal early warning method for storage tank risks that integrates monitoring data and video features, so as to at least partially solve the above-mentioned technical problems.
[0006] The embodiments of this application adopt the following technical solutions: In a first aspect, embodiments of this application provide a multimodal early warning method for storage tank risks that integrates monitoring data and video features, the method comprising: Based on the first video data collected historically by gun-type cameras deployed for the target storage tank, the calibration point of the target storage tank is determined; the conditions for collecting the first video data are: the target storage tank is in normal condition, the floating roof height of the target storage tank is not less than a preset threshold height, and the environment in which the target storage tank is located does not obstruct the gun-type camera; the calibration point is at least the identifiable point on the floating roof when the floating roof of the target storage tank is at the highest liquid level below the floating roof elevation; As the floating roof descends, for each calibration point, a corresponding sequence is generated based on its position change process in the first video data, serving as its calibration sequence. The calibration sequence contains several nodes, each node representing: the identifiability of the calibration point at the height of the floating roof, and a correlation coefficient. The correlation coefficient is determined based on the identifiability of other calibration points besides the current calibration point, representing the feasibility of performing attitude calculation based on other calibration points when the current calibration point is unidentifiable. In a production environment, acquire second video data collected from the target storage tank; When the first condition is met, the current height of the floating roof is determined; the first condition includes at least one of the following: the gun-type camera is blocked, or the feasibility of performing attitude calculation based on the calibration points identified in the second video data is lower than a preset threshold. If the current height of the floating roof is greater than the threshold height, a risk warning will be issued based on the calibration sequence and multi-source monitoring data of the storage tank.
[0007] In an optional embodiment of this specification, the method further includes: If the current height of the floating roof is not greater than the threshold height, then multi-source monitoring data of the storage tank is acquired; the multi-source monitoring data of the storage tank is acquired based on at least one of the following sensors: combustible gas sensor, liquid level sensor, temperature sensor, pressure sensor, electrostatic sensor, and settlement / deformation monitoring. The presence of high-risk events is determined based on the multi-source monitoring data of the storage tank.
[0008] In an optional embodiment of this specification, risk warning is performed based on the calibration sequence and multi-source monitoring data of the storage tank, including: Among the calibration points, those that are not identifiable in the second video data are identified as points to be determined; Determine whether the target point is continuous on the floating roof; the target point is one of the undetermined points that meets the second condition; the second condition includes at least one of the following: the distance between the current floating roof height and the maximum unidentifiable height represented on the calibration sequence of the target point is less than a preset distance threshold, and the correlation coefficient is less than a preset correlation coefficient threshold; If so, then the presence of a high-risk event will be determined based on the multi-source monitoring data of the storage tank.
[0009] In an optional embodiment of this specification, the method further includes: If the target points are not continuous on the floating roof, a target tank cleaning alarm will be issued.
[0010] In an optional embodiment of this specification, the method further includes: The threshold value is positively correlated with the acquisition sensitivity and acquisition frequency of each sensor that collects multi-source monitoring data of the storage tank, and negatively correlated with the time elapsed since the most recent verification of the sensor.
[0011] In an optional embodiment of this specification, the method further includes: The threshold height is the highest liquid level float elevation after being weighted by a preset specified coefficient; the specified coefficient is positively correlated with the maximum storage capacity of the target tank, negatively correlated with the distance of the target tank from the center of its tank cluster, and positively correlated with the vapor pressure of the oil stored inside.
[0012] In an optional embodiment of this specification, the method further includes: The calibration points include a first point and a second point; the first point is always identifiable in the first video data as the floating roof height of the target tank decreases from the highest liquid level to the threshold height under the acquisition conditions; the second point changes from identifiable to unidentifiable in the first video data as the floating roof height of the target tank decreases from the highest liquid level to the threshold height under the acquisition conditions. The degree threshold is positively correlated with the ratio of the number of the first point to the number of the second point.
[0013] In an optional embodiment of this specification, the method further includes: Within a specified time period since the last oil retrieval from the target storage tank, based on the second video data, a corresponding sequence is generated for the calibration point as its available sequence; the available sequence contains several nodes, and the nodes represent the position of each calibration point within the specified time period; Based on the nodes corresponding to the same time on each available sequence, attitude calculation is performed to obtain the attitude data of the floating top at different times within the specified time range; If the attitude data indicates that the floating roof is shaking, then the vapor pressure of the oil in the target storage tank is determined. If the vapor pressure is greater than a preset vapor pressure threshold, a manual intervention alarm is issued. The vapor pressure threshold is negatively correlated with the floating roof height of the target tank after the last oil retrieval, and negatively correlated with the difference between the maximum correlation coefficient between the vapor pressure threshold and the floating roof height of the target tank after the last oil retrieval in the calibration sequence and the identifiability of the calibration point determined at the current moment. Furthermore, the vapor pressure threshold when the target tank was cleaned before the last oil retrieval is greater than the vapor pressure threshold when the target tank was not cleaned before the last oil retrieval.
[0014] In an optional embodiment of this specification, the method further includes: After the specified duration, attitude calculation is performed based on the nodes corresponding to the same moment on each of the available sequences to obtain the attitude data of the floating top at this moment; If the attitude data of the floating roof at this moment indicates that the floating roof is tilted and stuck, a manual intervention alarm will be issued.
[0015] In an optional embodiment of this specification, the method further includes: The time interval between adjacent nodes of the available sequence is less than the time interval between adjacent nodes of the calibration sequence.
[0016] Secondly, embodiments of this application also provide a multimodal early warning device for storage tank risks that integrates monitoring data and video features, the device being used to implement the method steps in the first aspect.
[0017] Thirdly, embodiments of this application also provide an electronic device, including: Processor; and A memory configured to store computer-executable instructions, which, when executed, cause the processor to perform the steps of the method described in the first aspect.
[0018] Fourthly, embodiments of this application also provide a computer-readable storage medium storing one or more programs that, when executed by an electronic device including multiple applications, cause the electronic device to perform the steps of the method described in the first aspect.
[0019] The above-described technical solutions adopted in the embodiments of this application can achieve the following beneficial effects: To address the issue of high false alarm rates in traditional safety monitoring of external floating roof tanks due to the susceptibility of single-video analysis to interference from light, liquid level changes, and weather, this application's method uses the visual characteristics of the floating roof surface as its core foundation. It combines this with the dynamic changes in the floating roof elevation driven by liquid level variations, along with multi-source monitoring data from the tank, to filter out false alarms related to the floating roof's status. This method effectively shields against interference from non-risk factors such as strong light, shadows, and water mist on the screen, significantly improving the accuracy and stability of risk identification for external floating roof tanks, and providing more reliable monitoring support for the long-term safe operation of floating roof tanks. Furthermore, this method, through a linkage verification mechanism between visual features and multi-source monitoring data, replaces the traditional manual process of having maintenance personnel review massive amounts of monitoring footage frame by frame and confirm alarm information line by line. This reduces unnecessary and frequent manual intervention, significantly improves the processing efficiency of massive tank farm monitoring data, and achieves automation. The method in this application does not rely solely on empirical threshold judgments for general visual recognition. Instead, it uses attitude calculation algorithms and physical laws such as the rectilinear propagation of light as underlying support, forming a technical approach with clear technical logic. By combining attitude calculation algorithms with the rectilinear propagation law of light, the dynamic change range of the visible area under different liquid levels is deduced, establishing a mapping relationship between visual imaging deviations and the actual operating state of the storage tank from the underlying physical mechanism level. This technical path, based on algorithmic logic and natural physical laws, gives the method in this application clear, reproducible, and verifiable technical characteristics. Attached Figure Description
[0020] Figure 1 A schematic diagram illustrating the process of a multimodal early warning method for storage tank risks that integrates monitoring data and video features, provided in an embodiment of this specification; Figure 2 This is a schematic diagram of the structure of an electronic device in an embodiment of this specification. Detailed Implementation
[0021] The present invention will now be described in further detail with reference to the accompanying drawings and specific embodiments. Similar elements in different embodiments are referred to by related similar element reference numerals. In the following embodiments, many details are described to facilitate a better understanding of the present application. However, those skilled in the art will readily recognize that some features may be omitted in different situations, or may be replaced by other elements, materials, or methods. In some cases, certain operations related to the present application are not shown or described in the specification. This is to avoid obscuring the core parts of the present application with excessive description. For those skilled in the art, detailed description of these related operations is not necessary; they can fully understand the related operations based on the description in the specification and general technical knowledge in the art.
[0022] Furthermore, the features, operations, or characteristics described in the specification can be combined in any suitable manner to form various embodiments. At the same time, the steps or actions in the method description can be rearranged or adjusted in a manner obvious to those skilled in the art. Therefore, the various orders in the specification and drawings are only for the clear description of a particular embodiment and do not imply a necessary order, unless otherwise stated that a particular order must be followed.
[0023] The serial numbers assigned to components in this document, such as "first" and "second," are used only to distinguish the described objects and have no sequential or technical meaning. The terms "connection" and "linkage" used in this application, unless otherwise specified, include both direct and indirect connections (linkages).
[0024] The technical solutions provided by the various embodiments of this application are described in detail below with reference to the accompanying drawings.
[0025] like Figure 1 As shown, the multimodal early warning method for storage tank risks that integrates monitoring data and video features in this specification includes the following steps: S100: Based on the first video data collected historically by gun-type cameras deployed for the target storage tank, determine the calibration point of the target storage tank.
[0026] The target storage tank in this specification refers to the storage tank to which the methods described herein are applied. Typically, storage tanks are distributed in clusters. In such cases, even if the tanks within a cluster have the same capacity and other parameters, the methods described herein must be applied separately to each tank due to factors such as their different locations within the cluster.
[0027] The methods described in this manual refer to floating roof tanks. Floating roof tanks are the primary vertical cylindrical tanks used in the petrochemical industry for storing volatile flammable liquids. They are characterized by a floating roof that rises and falls synchronously with the liquid level (i.e., the floating roof, also referred to as a floating plate in this manual). By almost completely eliminating the gas phase space above the liquid surface, they significantly reduce oil evaporation losses and are currently the mainstream tank type in large oil depots and refineries. The floating roof relies on its own buoyancy to remain firmly attached to the oil surface, automatically rising and falling during oil collection and transportation, fully covering the liquid surface and drastically reducing the space for oil and gas evaporation at the source. The annular gap between the floating roof edge and the tank wall is completely sealed by a combination of flexible primary and secondary seals, preventing oil and gas leakage and isolating external air from entering the tank, significantly reducing the risk of explosion. Equipped with automatic venting valves, static electricity discharge devices, and emergency central drain valves, etc., the floating roof is raised and lowered smoothly, while eliminating safety hazards such as static electricity buildup and rainwater settling.
[0028] Bullet cameras (also known as PTZ cameras) are one of the main front-end acquisition devices for monitoring floating roof tanks. They are modular, split-type surveillance cameras, unlike PTZ cameras which rely on a built-in pan-tilt unit for image adjustment. Designed for the specific operating conditions of floating roof tanks, they can capture high-definition, fixed-view images of the floating roof surface and sealed edge areas. The output image frames are time-stability stable with controllable distortion, making them an ideal imaging data source for subsequent shadow boundary deduction and attitude calculation based on the rectilinear propagation of light. Considering the structural characteristics of floating roof tanks, bullet cameras are installed to completely avoid moving parts that rise and fall with the floating roof, employing a fixed installation scheme. Common deployment locations include: installation on the outer top of the tank wall and high-level installation on the outer columns of the fire dike. Specific installation locations and the number of devices can be determined based on actual business needs. For example, the video monitoring point settings for crude oil storage tanks must comply with the requirements of the "Code for Fire Protection Design of Petrochemical Enterprises" GB50160 and the "Technical Specification for Safety Monitoring of Major Hazard Sources of Hazardous Chemicals" GB 17681-2024. Bullet cameras must be ExdⅡCT6 explosion-proof type, with a video storage time of no less than 90 days. The bullet camera must be installed at least on the top of the target tank. The installation height of the bullet camera must ensure complete coverage of the floating roof, the tank top sealing device, and the tank wall vents. It can monitor abnormal situations such as floating roof chuck tilt, oil and gas leakage at the seal, and personnel operating on the tank in violation of regulations in real time.
[0029] After the bullet camera is installed, the lens focal length, monitoring angle, and shooting posture are all calibrated and locked at once. During operation, there is no mechanical rotation or lens push-pull movement, eliminating the problems of pan-tilt-zoom (PTZ) jamming or motor malfunctions causing image shift. The imaging position remains highly consistent over long-term operation. This completely fixed characteristic allows the camera's intrinsic and extrinsic parameters to be accurately calibrated in one go. Combined with the rectilinear propagation law of light, a fixed imaging mapping model can be established. Subsequent repeated calibrations are unnecessary. The attitude calculation algorithm can accurately deduce the actual position and shadow boundary of the floating roof at different liquid levels, fundamentally avoiding algorithmic misjudgments caused by random shifts in the image of movable cameras. This is the core hardware foundation for the low misjudgment achieved by the method in this application.
[0030] The acquisition conditions for the first video data (containing several frames sorted by time; since the gun-type cameras set for a target storage tank may not be unique, the acquired videos may also not be unique. The method in this manual uses the video acquired by the gun-type camera with the most identifiable calibration points under the acquisition conditions as the first video data, or manual intervention can be used for selection. Video data acquired by other gun-type cameras can be used for backup or verification purposes) are as follows: the target storage tank is in a normal state (i.e., the target storage tank is in a working state without any abnormalities in components or control systems. For example, there are no problems such as flexible seal failure), the floating roof height of the target storage tank is not less than a preset threshold height (this can be an empirical value; specific evaluation indicators will be introduced below. The higher the floating roof height, the lower the possibility of being blocked by the tank sidewall, and the better the shooting conditions), and the environment in which the target storage tank is located does not obstruct the gun-type camera (whether there is obstruction can be judged based on the captured image. If there is obstruction, the image will be unclear. Obstruction may also be caused by other factors, such as natural factors such as fog, or human factors such as improper placement of construction equipment). The calibration points in this specification are at least the identifiable points on the floating roof when the floating roof of the target tank is at the highest liquid level below the floating roof elevation (identifiable based on vision, which can be based on the inherent structure of the floating roof, such as the connection points on the outer beam of the floating roof; or it can be based on human markings, such as patterns drawn on the floating roof).
[0031] The calibration points in this manual must meet the requirements for attitude calculation. For example, there should be at least four calibration points, and they should not be collinear; the calibration points should be coplanar (not all calibration points need to share a single plane; as long as three or more other calibration points share a single plane with it, the calibration point is considered coplanar); the location of the calibration points needs to be precisely known and fixed; the calibration points need to be distributed and cover the identifiable area of the floating roof when it is at its highest liquid level; the calibration points must also be uniquely distinguishable. For example, a unique identifier can be assigned to each calibration point based on its location and its relative position to other calibration points (for example, the calibration points can be coded according to the planes they share. For example, if the shared planes include planes A and B, the identifier for the calibration points sharing plane A can be A1, A2, A3...; the identifier for the calibration points sharing plane B can be B1, B2, B3...).
[0032] The video data collected by bullet cameras targeting storage tanks has diverse applications and is one of the most important data sources for monitoring storage tanks. For example, it can identify abnormal oil stains in sealed areas and simultaneously trigger signals indicating abnormal increases in the concentration of combustible gases in the corresponding areas. This can help identify oil and gas leaks caused by secondary seal tears on the floating roof, corrosion perforation of the tank wall, or internal leakage in the tank root valve, providing early warning of flash explosion risks. Furthermore, by combining video monitoring data from drainage pipeline flow sensors and water accumulation on the floating roof surface, it can identify abnormal conditions such as oil leakage caused by ruptured central drainage hoses or joint leaks. Therefore, the lack of video data can lead to a decrease in the ability to identify potential hazards and risks; it can also result in misjudgments and false alarms.
[0033] In an optional embodiment of this specification, the threshold height is the highest liquid level float elevation after being weighted by a preset specified coefficient (which can be used to characterize the degree of harm caused to other tanks around it once a safety risk accident occurs in the target tank); the specified coefficient is positively correlated with the maximum storage capacity of the target tank, negatively correlated with the distance of the target tank from the center of its tank cluster, and positively correlated with the vapor pressure of the oil stored inside it (the higher the vapor pressure, the more easily the stored oil evaporates, and the greater the risk of a flash explosion).
[0034] S102: As the floating top moves downward, for each calibration point, based on its position change process in the first video data, a corresponding sequence is formulated as its calibration sequence.
[0035] The sequence in this specification is a time series. The calibration sequence contains several nodes (the time interval between nodes can be determined according to actual needs. In floating roof tank scenarios, explosion-proof camera lenses can achieve stable nighttime image acquisition through specialized night vision technology). Each node represents: the identifiability of the calibration point at the height of the floating roof (indicating whether it is identifiable; for example, identifiability means being able to find its location in a frame and determine its unique identifier; if identifiable, it is marked as 1; if not identifiable, it is marked as 0), and the correlation coefficient. The correlation coefficients in this specification are determined based on the identifiability of other calibration points besides the current calibration point. The correlation coefficient represents the feasibility of performing attitude calculations based on other calibration points when the current calibration point is unidentifiable (feasibility is positively correlated with the number of combinations of other calibration points that can be used to perform attitude calculations. For example, calibration point x is unidentifiable. If points a, b, and c are collinear, the feasibility is 0. If points a, b, and c are not collinear, the feasibility is 1. If points a, b, c, and d are not collinear, the feasibility is 4).
[0036] The change in the position of a calibration point in the first video data may cause its status to change from identifiable to unidentifiable, or it may remain identifiable indefinitely. This is determined by whether the side wall of the target storage tank obstructs it.
[0037] The calibration sequence can be recorded as an inherent attribute of the target tank. In cases where the calibration point is changed, the bullet camera is rearranged, or the buildings around the target tank are adjusted, the calibration sequence of the calibration point must be re-determined.
[0038] S104: In the production environment, acquire the second video data collected for the target storage tank.
[0039] The second video data in this manual is also collected by the same bullet camera that collected the first video data. The time range of the second video data can be determined according to actual business needs. For example, in a scenario where real-time monitoring of the target storage tank is required, this step can be performed once every 2 hours of video data collected.
[0040] S106: When the first condition is met, determine the height of the current floating roof.
[0041] In an optional embodiment, it can be determined directly based on the second video data whether the first condition is met. In another optional embodiment, it can also be determined based on other data sources, for example, the determination can be performed manually.
[0042] The height of the floating roof is not constant and is affected by the oil level inside. It may also be influenced by other factors, which will be discussed further below. The height of the floating roof can be determined using data collected by specialized sensors. Sensors capable of this function, where applicable, are suitable for use in this specification. Examples of such sensors include direct-mounted FMCW frequency-modulated continuous wave radar floating roof monitoring sensors and laser direct-measurement floating roof height sensors.
[0043] The first condition in this specification includes at least one of the following: the bullet camera is obstructed (there are two situations where obstruction occurs. First, only this bullet camera is obstructed, in which case the images captured by different bullet cameras can be compared with frames at the same time to determine whether obstruction occurs; second, all bullet cameras are obstructed, for example, due to fog. In related technologies, image recognition techniques are applicable to this specification when conditions permit), and the feasibility of performing attitude calculation based on the calibration points identified in the second video data is lower than a preset threshold (the threshold can be an empirical value; the judgment based on the threshold can identify whether there are image acquisition problems caused by factors such as strong light. A threshold lower than the threshold indicates that if the conditions continue to deteriorate, it may be impossible to acquire effective images, thus limiting the monitoring effect).
[0044] Attitude calculations are crucial for identifying risks associated with floating roofs. These calculations can reveal risks such as tilting and jamming, which are core structural risks for external floating roof tanks. In most initial stages, these risks are outside the visual blind spots of video surveillance. For example, factors such as blockages in the central drainage system, oil leaks into the floating roof pontoons, and uneven snow accumulation can cause uneven stress on both sides of the floating roof, leading to gradual tilting. If the tilt angle exceeds a certain threshold, the floating roof will jam against the tank wall guide rails, preventing it from rising and falling normally with the liquid level.
[0045] In an optional embodiment of this specification, the quantification of the severity threshold is also designed. In this embodiment, the severity threshold is positively correlated with the acquisition sensitivity and acquisition frequency of each sensor collecting multi-source monitoring data of the storage tank, and negatively correlated with the time elapsed since the most recent verification of the sensor (the better the monitoring effect of each sensor, the more sensitive and timely the risk judgment is based solely on the data collected by each sensor. If there is an anomaly in the image acquisition at this moment, it indicates that a hidden danger actually exists. However, if the risk has not yet been identified based on the multi-source monitoring data of the storage tank, it indicates that if a risk event does exist, the event is highly concealed, and if it occurs suddenly, the consequences may be severe, requiring the severity threshold to improve sensitivity). Optionally, the severity threshold is also set with a minimum value limit, ensuring that the severity threshold is not less than this minimum value.
[0046] Furthermore, in a further optional embodiment, the calibration points include a first point and a second point. The first point is always identifiable in the first video data as the floating roof height of the target tank decreases from the highest liquid level to the threshold height under the acquisition conditions; the second point changes from identifiable to unidentifiable in the first video data as the floating roof height of the target tank decreases from the highest liquid level to the threshold height under the acquisition conditions. The degree threshold is positively correlated with the ratio of the number of the first point to the number of the second point (a high ratio indicates that the conditions of the calibration points are already very good; in this case, the feasibility of attitude calculation is low, indicating a higher possibility of inaccurate risk identification based on vision). The formation of calibration points is affected by many factors, including human factors, to characterize the influence of human factors or random factors such as weld points and connection points that can be used as calibration points, thereby enabling the final output result to offset system errors to a certain extent).
[0047] Whether the bullet camera is obstructed or obstructed for other reasons, preventing it from capturing effective images, these situations will cause data anomalies in the monitoring and management of the target storage tank. However, this does not necessarily mean that a safety risk incident will occur. Frequent alarms due to such anomalies necessitate manual intervention, which wastes human resources. Furthermore, over time, these false alarms and misjudgments can lead to complacency among management personnel, potentially causing truly effective alarms to be ignored.
[0048] S108: If the current height of the floating roof is greater than the threshold height, a risk warning is executed based on the calibration sequence and the multi-source monitoring data of the storage tank.
[0049] The fact that the current floating roof height is greater than the threshold height indicates that the image acquisition anomaly is not caused by the obstruction of the target tank's sidewall. Compared to obstruction caused by other factors, the sidewall obstruction is more severe and almost irreversible. The fact that the threshold height eliminates the possibility of sidewall obstruction suggests that the inability to acquire a valid image is unlikely to be a sign of a safety risk incident. In this case, there is no need to issue an alarm immediately. Instead, further judgment should be made based on the multi-source monitoring data of the tank to reduce or even avoid false alarms and misjudgments.
[0050] To address the issue of high false alarm rates in traditional safety monitoring of external floating roof tanks due to the susceptibility of single-video analysis to interference from light, liquid level changes, and weather, this application's method uses the visual characteristics of the floating roof surface as its core foundation. It combines this with the dynamic changes in the floating roof elevation driven by liquid level variations, along with multi-source monitoring data from the tank, to filter out false alarms related to the floating roof's status. This method effectively shields against interference from non-risk factors such as strong light, shadows, and water mist on the screen, significantly improving the accuracy and stability of risk identification for external floating roof tanks, and providing more reliable monitoring support for the long-term safe operation of floating roof tanks. Furthermore, this method, through a linkage verification mechanism between visual features and multi-source monitoring data, replaces the traditional manual process of having maintenance personnel review massive amounts of monitoring footage frame by frame and confirm alarm information line by line. This reduces unnecessary and frequent manual intervention, significantly improves the processing efficiency of massive tank farm monitoring data, and achieves automation. The method in this application does not rely solely on empirical threshold judgments for general visual recognition. Instead, it uses attitude calculation algorithms and physical laws such as the rectilinear propagation of light as underlying support, forming a technical approach with clear technical logic. By combining attitude calculation algorithms with the rectilinear propagation law of light, the dynamic change range of the visible area under different liquid levels is deduced, establishing a mapping relationship between visual imaging deviations and the actual operating state of the storage tank from the underlying physical mechanism level. This technical path, based on algorithmic logic and natural physical laws, gives the method in this application clear, reproducible, and verifiable technical characteristics.
[0051] Subsequently, in optional embodiments of this specification, when it is necessary to perform risk warning based on the calibration sequence and multi-source monitoring data of the storage tank, firstly, among the calibration points, those that are not identifiable in the second video data are identified (these can be determined by elimination. Although they are not identifiable in the second video data, ideally, the approximate location of the unidentifiable points can be determined based on the relative positional relationship between the identifiable calibration points), as unidentifiable points (which may not be unique).
[0052] Determine whether the target points are continuous on the floating roof (continuity is determined by the distribution of the target points on the floating roof. If the outer contour of the distribution area of the target points on the floating roof is convex, it indicates continuity. If the outer contour of the distribution area of the target points on the floating roof is concave, it indicates discontinuity); the target points are those among the undetermined points that satisfy the second condition; the second condition includes at least one of the following: the distance between the current floating roof height and the maximum unidentifiable height represented on the calibration sequence of the target point is less than a preset distance threshold (indicating that even if the current floating roof height does not constitute an obstruction, there is a risk that the height margin available for data acquisition by the bullet camera is insufficient); the correlation coefficient is less than a preset correlation coefficient threshold (indicating that under the floating roof height condition, the target point is not visible, and there is a risk that the available data margin provided by other points for attitude calculation is insufficient).
[0053] If so (indicating that even if obstruction does not exist, the current affected area is large, and the effect of actual obstruction of the bullet camera is not far off, indicating a high probability that image-based monitoring capabilities are about to be lost), then a high-risk event is determined based on the multi-source monitoring data of the storage tank. In related technologies, any technical means capable of risk assessment based on multi-source monitoring data of the storage tank is applicable to this specification, where conditions permit. Optionally, while performing risk assessment based on multi-source monitoring data of the storage tank, a cleaning alarm is issued, indicating that visual monitoring is about to be lost. The cleaning alarm addresses not only the obstruction problem of the bullet camera but also the obstruction problem of the floating roof top. Management personnel can intervene to identify whether the specific obstruction location is the bullet camera or the floating roof top.
[0054] If the determination result is that the target point is not continuous on the floating roof (indicating that the obstruction is on the floating roof, not on the bullet camera, and the obstruction may be snow; in this case, the sensors used to collect multi-source monitoring data of the storage tank may also be affected, but at this moment the effect may not yet reach a identifiable level), then a target storage tank cleaning alarm will be issued to inform the management personnel to clean the tank and the location of the sensors, so as to avoid sensor malfunction and other situations.
[0055] Furthermore, in other optional embodiments, if the current height of the floating roof is not greater than the threshold height (indicating that a serious situation of obstruction by the side wall of the target tank does exist, and visual monitoring based on the gun-type camera can be basically determined to be in a state of failure), then multi-source monitoring data of the tank is acquired. Then, monitoring continues based on the multi-source monitoring data of the tank to determine whether there are high-risk events. Examples of high-risk events include calculating the floating roof tilt by measuring the real-time height difference of multiple floating roof height sensors deployed along the circumference of the floating roof, and combining this with the rate of height change during the floating roof's ascent and descent to identify high-risk events such as floating roof jamming, horizontal drift, and excessive circumferential torsion; or, by using settlement monitoring data from multiple hydrostatic levels evenly deployed around the tank circumference, uneven settlement exceeding the standard of the tank foundation can be accurately identified, providing an early warning of high-risk structural events such as tank tilting and deformation. Numerous such high-risk events exist, and they will not be listed here. However, if there is valid video data to corroborate these events, the interference of false alarms and misjudgments can be further reduced.
[0056] The multi-source monitoring data for storage tanks in this manual are obtained based on at least one of the following sensors: combustible gas sensor, liquid level sensor, temperature sensor, pressure sensor, electrostatic sensor, and sedimentation / deformation monitoring.
[0057] In optional embodiments of this specification, a specific technical solution is designed to address the potential risk of flash explosion. In this embodiment, when the current time is within a specified time period (which can be an empirical value positively correlated with the capacity of the target storage tank) after the last oil retrieval from the target storage tank, a corresponding sequence is generated for the calibration points based on the second video data, serving as its usable sequence. The usable sequence contains several nodes (time nodes), each node representing the position of each calibration point within the specified time period. (Compared to the calibration sequence, the time interval between adjacent nodes in the usable sequence is shorter than the time interval between adjacent nodes in the calibration sequence, in order to identify the pose changes of the floating roof at a finer temporal granularity.)
[0058] Based on the nodes corresponding to the same moment on each available sequence, attitude calculation is performed (the number of attitude calculations depends on the number of nodes in the available sequence) to obtain the attitude data of the floating roof at different moments within the specified time range (to characterize the pose change of the floating roof within the specified time range). If the attitude data indicates that the floating roof is jittering (since this is a short period of time after filling the target storage tank with oil, air may be mixed into the oil due to turbulence, or air dispersed in the oil may be released due to changes in air pressure or the flow of oil; jittering is a manifestation of air release. If there is no jittering, the process is skipped), then the vapor pressure of the oil in the target storage tank is determined (vapor pressure is mainly affected by the chemical composition of the oil itself and the ambient temperature of the system; the latter can be ignored in the scenario described in this specification. Therefore, the previously collected vapor pressure data can be used directly). If the vapor pressure exceeds a preset vapor pressure threshold (which can be an empirical value related to the disaster risk that the tank cluster can withstand), it indicates the possibility of air mixing with combustible gas, and a manual intervention alarm is issued to allow for human intervention to analyze whether emergency deployment of fire-fighting facilities is necessary. If the vapor pressure is not greater than the preset vapor pressure threshold, monitoring continues to observe whether the shaking decreases.
[0059] In an optional embodiment, the vapor pressure threshold is negatively correlated with the floating roof height of the target storage tank after the previous oil evacuation. A higher floating roof height indicates a larger quantity of stored oil, leading to more severe air release and greater flammable gas volatilization, requiring strict monitoring. Furthermore, the vapor pressure threshold of the target storage tank after cleaning prior to the previous oil evacuation is greater than that of the target storage tank before cleaning prior to the previous oil evacuation, thus monitoring the severe flammable gas release caused by the mixed oil. Further, the absolute value of the difference between the vapor pressure threshold and the maximum correlation coefficient (the maximum value among all correlation coefficients) between the floating roof height of the target storage tank after the previous oil evacuation and the identifiability of the current calibration point (the number of attitude calculation schemes) is negatively correlated. This difference characterizes the impact of vibration on the bolt's identification effect and is positively correlated with the severity of the shaking.
[0060] After the specified time period (or after the floating roof stops shaking), attitude calculation is performed based on the nodes corresponding to the same moment on each of the available sequences to obtain the attitude data of the floating roof at that moment. If the attitude data of the floating roof at that moment indicates that the floating roof is tilted and stuck, a manual intervention alarm is issued to allow for manual intervention and repair.
[0061] Furthermore, this specification also provides a multimodal early warning device for storage tank risks that integrates monitoring data and video features, wherein the device implements any of the above-described method steps.
[0062] The device is capable of performing the methods in any of the foregoing embodiments and can achieve the same or similar technical effects, which will not be elaborated here.
[0063] Figure 2 This is a schematic diagram of the structure of an electronic device according to an embodiment of this application. Please refer to it. Figure 2 At the hardware level, the electronic device includes a processor, and optionally also includes an internal bus, a network interface, and memory. The memory may include main memory, such as high-speed random-access memory (RAM), or non-volatile memory, such as at least one disk drive. Of course, the electronic device may also include other hardware required for other business operations.
[0064] The processor, network interface, and memory can be interconnected via an internal bus, which can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus, or an EISA (Extended Industry Standard Architecture) bus, etc. This bus can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 2 The symbol is represented by a single double-headed arrow, but this does not mean that there is only one bus or one type of bus.
[0065] Memory is used to store programs. Specifically, programs may include program code, which includes computer operation instructions. Memory may include main memory and non-volatile memory, and provides instructions and data to the processor.
[0066] The processor reads the corresponding computer program from non-volatile memory into memory and then runs it, forming a multimodal early warning device for tank risks that integrates monitoring data and video features at the logical level. The processor executes the program stored in memory and specifically performs any of the aforementioned multimodal early warning methods for tank risks that integrate monitoring data and video features.
[0067] The above is as stated in this application. Figure 1The illustrated embodiment discloses a multimodal early warning method for storage tank risks that integrates monitoring data and video features. This method can be applied to or implemented by a processor. The processor may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method can be completed by integrated logic circuits in the processor's hardware or by instructions in software form. The processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic diagrams disclosed in the embodiments of this application. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in the embodiments of this application can be directly manifested as execution by a hardware decoding processor, or execution by a combination of hardware and software modules in the decoding processor. The software module can reside in a mature storage medium in the field, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, or registers. This storage medium is located in memory, and the processor reads information from the memory and, in conjunction with its hardware, completes the steps of the above method.
[0068] The electronic device can also perform Figure 1 A multimodal early warning method for storage tank risks, which integrates monitoring data and video features, is proposed and implemented. Figure 1 The functions of the embodiments shown are not described again in this application.
[0069] This application also proposes a computer-readable storage medium that stores one or more programs, the programs including instructions that, when executed by an electronic device including multiple applications, perform any of the aforementioned tank risk multimodal early warning methods that fuse monitoring data and video features.
[0070] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0071] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0072] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0073] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0074] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0075] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.
[0076] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer 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 technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0077] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0078] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0079] The above description is merely an embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principle of this application should be included within the scope of the claims of this application.
Claims
1. A storage tank risk multi-modal early warning method of fusing monitoring data and video features, characterized in that, The method includes: Based on the first video data collected historically by gun-type cameras deployed for the target storage tank, the calibration point of the target storage tank is determined; the conditions for collecting the first video data are: the target storage tank is in normal condition, the floating roof height of the target storage tank is not less than a preset threshold height, and the environment in which the target storage tank is located does not obstruct the gun-type camera; the calibration point is at least the identifiable point on the floating roof when the floating roof of the target storage tank is at the highest liquid level below the floating roof elevation; As the floating roof descends, for each calibration point, a corresponding sequence is generated based on its position change process in the first video data, serving as its calibration sequence. The calibration sequence contains several nodes, each node representing: the identifiability of the calibration point at the height of the floating roof, and a correlation coefficient. The correlation coefficient is determined based on the identifiability of other calibration points besides the current calibration point, representing the feasibility of performing attitude calculation based on other calibration points when the current calibration point is unidentifiable. In a production environment, acquire second video data collected from the target storage tank; When the first condition is met, the current height of the floating roof is determined; the first condition includes at least one of the following: the gun-type camera is blocked, or the feasibility of performing attitude calculation based on the calibration points identified in the second video data is lower than a preset threshold. If the current height of the floating roof is greater than the threshold height, a risk warning will be issued based on the calibration sequence and multi-source monitoring data of the storage tank.
2. The method of claim 1, wherein, The method further includes: If the current height of the floating roof is not greater than the threshold height, then multi-source monitoring data of the storage tank is acquired; the multi-source monitoring data of the storage tank is acquired based on at least one of the following sensors: combustible gas sensor, liquid level sensor, temperature sensor, pressure sensor, electrostatic sensor, and settlement / deformation monitoring. The presence of high-risk events is determined based on the multi-source monitoring data of the storage tank.
3. The method of claim 1, wherein, Risk warnings are executed based on the calibration sequence and multi-source monitoring data of the storage tank, including: Among the calibration points, those that are not identifiable in the second video data are identified as points to be determined; Determine whether the target point is continuous on the floating roof; the target point is one of the undetermined points that meets the second condition; the second condition includes at least one of the following: the distance between the current floating roof height and the maximum unidentifiable height represented on the calibration sequence of the target point is less than a preset distance threshold, and the correlation coefficient is less than a preset correlation coefficient threshold; If so, then the presence of a high-risk event will be determined based on the multi-source monitoring data of the storage tank.
4. The method as described in claim 3, characterized in that, The method further includes: If the target points are not continuous on the floating roof, a target tank cleaning alarm will be issued.
5. The method as described in claim 1, characterized in that, The method further includes: The threshold value is positively correlated with the acquisition sensitivity and acquisition frequency of each sensor that collects multi-source monitoring data of the storage tank, and negatively correlated with the time elapsed since the most recent verification of the sensor.
6. The method as described in claim 1, characterized in that, The method further includes: The threshold height is the highest liquid level float elevation after being weighted by a preset specified coefficient; the specified coefficient is positively correlated with the maximum storage capacity of the target tank, negatively correlated with the distance of the target tank from the center of its tank cluster, and positively correlated with the vapor pressure of the oil stored inside.
7. The method as described in claim 1, characterized in that, The method further includes: The calibration points include a first point and a second point; the first point is always identifiable in the first video data as the floating roof height of the target tank decreases from the highest liquid level to the threshold height under the acquisition conditions; the second point changes from identifiable to unidentifiable in the first video data as the floating roof height of the target tank decreases from the highest liquid level to the threshold height under the acquisition conditions. The degree threshold is positively correlated with the ratio of the number of the first point to the number of the second point.
8. The method as described in claim 1, characterized in that, The method further includes: Within a specified time period since the last oil retrieval from the target storage tank, based on the second video data, a corresponding sequence is generated for the calibration point as its available sequence; the available sequence contains several nodes, and the nodes represent the position of each calibration point within the specified time period; Based on the nodes corresponding to the same time on each available sequence, attitude calculation is performed to obtain the attitude data of the floating top at different times within the specified time range; If the attitude data indicates that the floating roof is shaking, then the vapor pressure of the oil in the target storage tank is determined. If the vapor pressure is greater than a preset vapor pressure threshold, a manual intervention alarm is issued. The vapor pressure threshold is negatively correlated with the floating roof height of the target tank after the last oil retrieval, and negatively correlated with the difference between the maximum correlation coefficient between the vapor pressure threshold and the floating roof height of the target tank after the last oil retrieval in the calibration sequence and the identifiability of the calibration point determined at the current moment. Furthermore, the vapor pressure threshold when the target tank was cleaned before the last oil retrieval is greater than the vapor pressure threshold when the target tank was not cleaned before the last oil retrieval.
9. The method as described in claim 8, characterized in that, The method further includes: After the specified duration, attitude calculation is performed based on the nodes corresponding to the same moment on each of the available sequences to obtain the attitude data of the floating top at this moment; If the attitude data of the floating roof at this moment indicates that the floating roof is tilted and stuck, a manual intervention alarm will be issued.
10. The method as described in claim 8, characterized in that, The method further includes: The time interval between adjacent nodes of the available sequence is less than the time interval between adjacent nodes of the calibration sequence.
