A hazardous chemical substance traceability management method, system, intelligent terminal and storage medium

By collecting real-time data to generate a two-dimensional unloading deviation, and using a traceability management device for real-time monitoring, the problems of inaccurate anomaly detection and low traceability efficiency in existing technologies are solved, thus achieving efficient anomaly handling at gas stations.

CN122155079APending Publication Date: 2026-06-05SHANGHAI WANJING SUPPLY CHAIN GRP CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
SHANGHAI WANJING SUPPLY CHAIN GRP CO LTD
Filing Date
2026-02-03
Publication Date
2026-06-05

AI Technical Summary

Technical Problem

In existing technologies, hazardous chemical traceability management methods fail to effectively identify anomalies in multi-dimensional data cross-judgment, resulting in inaccurate anomaly detection and low traceability efficiency.

Method used

By collecting real-time cumulative channel flow and real-time gasoline volume in the storage tank, a two-dimensional unloading deviation is generated. This deviation is then monitored in real time using a traceability management device to generate an unloading monitoring report and control the gas station's anomaly handling device to handle anomalies.

Benefits of technology

It improved the accuracy of anomaly detection and traceability efficiency, and enhanced the emergency management capabilities of gas stations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122155079A_ABST
    Figure CN122155079A_ABST
Patent Text Reader

Abstract

The application relates to a hazardous chemical substance trace management method and system, an intelligent terminal and a storage medium, and relates to the technical field of hazardous chemical substance management. The application comprises the following steps: collecting an oil unloading receiving instruction of a preset gas station; opening a preset oil storage tank valve according to the oil unloading receiving instruction, and collecting real-time cumulative channel flow and real-time oil storage tank gasoline total amount according to a preset detection time interval; analyzing the real-time cumulative channel flow, the real-time oil storage tank gasoline total amount and a preset standard gasoline density to generate a two-dimensional oil unloading deviation; controlling a preset trace management device to monitor a gasoline storage process in real time according to the two-dimensional oil unloading deviation to generate an oil unloading monitoring report; and controlling a preset gas station abnormality processing device to perform abnormality processing according to the oil unloading monitoring report. The application has the effects of improving abnormality detection accuracy and trace efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of hazardous chemical management, and in particular to a hazardous chemical traceability management method, system, smart terminal and storage medium. Background Technology

[0002] Gas station unloading and storage equipment refers to the collective term for equipment in a gas station that enables gasoline to be unloaded from tank trucks to storage tanks and monitors the unloading and storage process in real time. It consists of oil pipelines, storage tank valves, and various sensors used to monitor the unloading and storage process.

[0003] In related technologies, the hazardous chemicals traceability management method refers to a management method that uses technical means to monitor and trace anomalies in three stages—before, during, and after unloading—at gas stations, from unloading to storage. Various sensors collect relevant data on gasoline during unloading and storage, and the collected data is independently compared with corresponding thresholds to determine if there are any abnormalities such as abnormal liquid levels. If an anomaly is found, historical sensor data, gas station monitoring data, and manual records are manually retrieved and verified to trace the source of the abnormal data.

[0004] Regarding the aforementioned technologies, when monitoring the process from unloading to storage at gas stations, the data collected by various sensors are independent and lack a multi-dimensional data linkage integration and cross-validation mechanism. This results in the inability to identify abnormalities such as oil mixing that require cross-validation of multi-dimensional data, and the inability to quickly trace the root cause of abnormal data. Consequently, the detection of abnormalities is inaccurate and the traceability efficiency is low, leaving room for improvement. Summary of the Invention

[0005] To improve the accuracy of anomaly detection and traceability efficiency, this application provides a method, system, smart terminal, and storage medium for hazardous chemical traceability management.

[0006] Firstly, this application provides a method for traceability management of hazardous chemicals, employing the following technical solution: A method for traceability management of hazardous chemicals includes: Collect unloading instructions from pre-set gas stations; The preset oil storage tank valve is opened according to the oil unloading receiving instruction, and the real-time cumulative channel flow and real-time total gasoline volume in the oil storage tank are collected according to the preset detection time interval. The real-time cumulative channel flow, real-time total gasoline volume in the storage tank, and preset standard gasoline density are analyzed to generate a two-dimensional unloading deviation. The gasoline storage process is monitored in real time by a pre-set traceability management device based on the two-dimensional unloading deviation control, so as to generate an unloading monitoring report. Based on the unloading monitoring report, the preset gas station anomaly handling device is controlled to handle anomalies.

[0007] Optionally, the steps of analyzing the real-time cumulative channel flow, the real-time total gasoline volume in the storage tank, and the preset standard gasoline density to generate the two-dimensional unloading deviation include: Collect the initial oil tank mass and real-time oil tank storage volume of the preset oil storage tank; Calculate the difference between the real-time total gasoline volume in the storage tank, the initial tank mass, and the real-time cumulative channel flow rate to generate the real-time mass deviation. Calculate the quotient between the total amount of gasoline in the real-time storage tank and the real-time storage volume of the storage tank to generate the real-time average gasoline density; Calculate the absolute value of the difference between the real-time average gasoline density and the standard gasoline density to generate the real-time density deviation. The real-time mass deviation and real-time density deviation are combined to generate a two-dimensional unloading deviation.

[0008] Optionally, the step of using a preset traceability management device to monitor the gasoline storage process in real time based on the two-dimensional unloading deviation to generate an unloading monitoring report includes: Determine whether the two-dimensional unloading deviation meets the preset requirements for normal two-dimensional deviation. If the conditions are met, the preset normal unloading monitoring report will be determined as the unloading monitoring report; If not satisfied, then find the real-time mass deviation and real-time density deviation in the two-dimensional unloading deviation. Determine whether the real-time quality deviation meets the preset requirements for normal quality deviation. If the conditions are met, the wrong oil detection time, historical tanker truck changeover time, and sensor calibration time will be collected. The timing of incorrect oil detection, historical tanker truck changeover timelines, and sensor calibration timelines are analyzed to generate an oil unloading monitoring report. If the conditions are not met, the real-time density deviation and standard gasoline density are analyzed to generate an unloading monitoring report.

[0009] Optionally, the steps for analyzing the timing of incorrect oil detection, historical tanker truck changeover timelines, and sensor calibration timelines to generate an oil unloading monitoring report include: The deviation detection result is generated by searching through historical tanker truck changeover timelines and sensor calibration timelines based on the time of the oil mis-detection. Determine whether the deviation detection result is consistent with the preset oil mis-detection result; If they match, find the tanker truck number of the erroneous oil in the deviation detection results; The results of the oil mismatch detection are combined with the oil tanker number of the oil mismatch to generate an oil unloading monitoring report; If there is a discrepancy, the preset sensor calibration anomaly result will be identified as the unloading monitoring report.

[0010] Optionally, the steps of analyzing the density deviation and standard gasoline density to generate an unloading monitoring report include: Determine whether the density deviation is greater than the standard gasoline density; If the value is not greater than the specified value, then collect the unloading outlet flow rate, the unloading valve flow rate, and the storage tank inlet flow rate. The system analyzes preset leakage anomaly results, unloading monitoring results, unloading outlet flow rate, unloading valve flow rate, and storage tank inlet flow rate to generate an unloading monitoring report. If the value is greater than the specified value, then collect the time variation curve of the oil storage tank density. The pre-defined abnormal results of oil mixing, the density change curve of the oil storage tank over time, and the oil unloading monitoring results are analyzed to generate an oil unloading monitoring report.

[0011] Optionally, the traceability management device includes a node-assisted flow measurement component. The steps for analyzing preset leakage anomaly results, unloading monitoring results, unloading outlet flow rate, unloading valve flow rate, and storage tank inlet flow rate to generate an unloading monitoring report include: Calculate the difference between the oil unloading outlet flow rate and the oil unloading valve flow rate to generate the oil unloading section flow deviation value; Calculate the difference between the flow rate of the unloading valve and the flow rate at the inlet of the oil storage tank to generate the flow deviation value of the oil inlet section; The flow deviation values ​​of the unloading section and the inlet section are compared with the preset gasoline segment leakage thresholds to generate leakage detection results. Based on the leak detection results, the location of the leak section is found in the preset correspondence between the leak section location results; The auxiliary flow measurement component at the control node of the leak section location is used to detect the preset oil unloading pipeline in order to generate the correspondence between the flow and location of the leak section node. Calculate the quotient between the difference between adjacent flow data in the flow correspondence of the leaking segment nodes and the preset inter-node length to generate the flow gradient correspondence of the node location; The corresponding relationship of flow gradient at node location is filtered based on the preset normal node flow change to generate the location of node with sudden flow change. The locations of sudden flow changes and abnormal leakage results are summarized to generate an oil unloading monitoring report.

[0012] Optionally, the steps for analyzing preset oil mixing anomaly results, oil storage tank density-time change curves, and unloading monitoring results to generate an unloading monitoring report include: The density-time variation curves of oil storage tanks are screened based on the standard gasoline density to generate unloading times for abnormal density. Collect the historical oil unloading number time correspondence and historical valve switching sequence; The type of oil mixing anomaly is determined by searching the historical oil unloading time correspondence and historical valve switching sequence based on the density anomaly unloading time. The types and results of oil mixing anomalies are summarized to generate an oil unloading monitoring report.

[0013] Secondly, this application provides a hazardous chemical traceability management system, which adopts the following technical solution: A hazardous chemical traceability management system includes: The data acquisition module is used to collect unloading reception instructions, real-time cumulative channel flow, and real-time total gasoline volume in the storage tank; A memory for storing a program for a hazardous chemical traceability management method as described in any of the preceding items; The processor and the program in the memory can be loaded and executed by the processor to implement a hazardous chemical traceability management method as described in any of the above.

[0014] Thirdly, this application provides a smart terminal, which adopts the following technical solution: A smart terminal includes a memory and a processor, wherein the memory stores a computer program that can be loaded by the processor and executed as described in any of the preceding claims for a hazardous chemical traceability management method.

[0015] Fourthly, this application provides a computer storage medium capable of storing corresponding programs, which facilitates improvements in anomaly detection accuracy and traceability efficiency, and adopts the following technical solution: A computer-readable storage medium storing a computer program that can be loaded by a processor and executed any of the above-described hazardous chemical traceability management methods.

[0016] In summary, this application includes at least one of the following beneficial technical effects: 1. By opening the oil storage tank valve according to the oil unloading receiving command, and collecting the real-time cumulative channel flow and the real-time total gasoline volume in the oil storage tank according to the detection time interval, the real-time cumulative channel flow, the real-time total gasoline volume in the oil storage tank and the standard gasoline density are analyzed to obtain the two-dimensional oil unloading deviation. Based on the two-dimensional oil unloading deviation, the traceability management device is controlled to monitor the gasoline storage process in real time to obtain the oil unloading monitoring report. Based on the oil unloading monitoring report, the gas station's abnormal handling device is controlled to handle abnormalities, thereby improving the accuracy of abnormality detection and traceability efficiency, and thus improving the emergency management capability of the gas station; 2. By determining whether the two-dimensional unloading deviation meets the requirements of the normal two-dimensional deviation, if it does, the normal unloading monitoring report is determined as the unloading monitoring report; if it does not, the real-time mass deviation and real-time density deviation are found in the two-dimensional unloading deviation, and it is determined whether the real-time mass deviation meets the requirements of the normal mass deviation. If it does, the timing of the wrong oil detection, the historical tanker truck changeover sequence, and the sensor calibration sequence are analyzed to obtain the unloading monitoring report; if it does not, the real-time density deviation and the standard gasoline density are analyzed to obtain the unloading monitoring report, thus providing data support for subsequent abnormal handling of the gas station's abnormal handling device based on the unloading monitoring report. 3. By calculating the difference between the unloading outlet flow rate and the unloading valve flow rate, the flow deviation value of the unloading section is obtained. Similarly, the difference between the unloading valve flow rate and the storage tank inlet flow rate is calculated to obtain the inlet flow deviation value. These two values ​​are then compared against the gasoline segment leakage threshold to obtain the leakage detection result. Based on this result, the location of the leak section is located in the corresponding relationship. The unloading pipeline is then monitored using the auxiliary flow measurement component at the leak section location control node to obtain the flow position correspondence of the leak section nodes. The quotient between the difference in adjacent flow data and the length between nodes is calculated to obtain the flow gradient correspondence of the node locations. The flow gradient correspondence of the node locations is then filtered based on the normal node flow rate changes to identify the locations of nodes with sudden flow changes. Finally, the locations of these sudden flow changes and the leakage anomaly results are summarized to generate an unloading monitoring report. This report provides data support for subsequent anomaly handling at the gas station. Attached Figure Description

[0017] Figure 1 This is a flowchart of a hazardous chemical traceability management method in an embodiment of this application.

[0018] Figure 2 This is a flowchart of the steps in this application embodiment to analyze the real-time cumulative channel flow, the real-time total amount of gasoline in the storage tank, and the preset standard gasoline density to generate a two-dimensional unloading deviation.

[0019] Figure 3 This is a flowchart of the steps in this application embodiment to control a preset traceability management device based on the two-dimensional unloading deviation to monitor the gasoline storage process in real time and generate an unloading monitoring report.

[0020] Figure 4 This is a flowchart of the steps in this application embodiment to analyze the oil mis-detection time, historical tanker truck changeover time sequence, and sensor calibration time sequence to generate an oil unloading monitoring report.

[0021] Figure 5This is a flowchart illustrating the steps in this application embodiment to analyze density deviation and standard gasoline density to generate an unloading monitoring report.

[0022] Figure 6 This is a flowchart of the steps in this application embodiment to analyze preset leakage anomaly results, unloading monitoring results, unloading outlet flow rate, unloading valve flow rate, and storage tank inlet flow rate to generate an unloading monitoring report.

[0023] Figure 7 This is a flowchart of the steps in this application embodiment to analyze preset abnormal oil mixing results, oil storage tank density time change curves, and oil unloading monitoring results to generate an oil unloading monitoring report. Detailed Implementation

[0024] To make the purpose, technical solution, and advantages of this application clearer, the following description is provided in conjunction with the appendix. Figures 1 to 7 The present application will be further described in detail below with reference to embodiments. It should be understood that the specific embodiments described herein are for illustrative purposes only and are not intended to limit the scope of the application.

[0025] This application discloses a hazardous chemical traceability management method, mainly addressing the traceability management problem of unloading oil at gas stations. Specifically, it discloses a gas station, an oil storage tank valve, a traceability management device, an unloading status monitoring component, a gas station anomaly handling device, and a processing terminal. The processing terminal is communicatively connected to the oil storage tank valve, the traceability management device, the unloading status monitoring component, and the gas station anomaly handling device to achieve data interaction and control. After receiving an unloading reception command, the processing terminal controls the oil storage tank valve to open and controls the unloading status monitoring component in the traceability management device to collect data. The collected data is then analyzed to obtain a two-dimensional... After determining the two-dimensional oil unloading monitoring data, the processing terminal compares and analyzes the two-dimensional oil unloading monitoring data with relevant data thresholds to determine the type of data anomaly and trace the cause of the data anomaly based on the data anomaly type, thereby generating an oil unloading monitoring report. After determining the oil unloading monitoring report, the processing terminal controls the gas station's anomaly handling device to handle the abnormal situation according to the oil unloading monitoring report. The aim is to quickly and reasonably control the gas station's anomaly handling device to adjust for abnormal situations that occur during the oil unloading and storage process at the gas station, thereby improving the accuracy and efficiency of gas station traceability management, and ultimately enhancing the gas station's emergency management capabilities.

[0026] Reference Figure 1 This application discloses a hazardous chemical traceability management method, including the following steps: Step S100: Collect the unloading reception command from the preset gas station.

[0027] The unloading reception command refers to the control signal used to control the opening and closing of the oil storage tank valve and the switching of channels. The processing terminal collects the level of the unloading confirmation button and all gasoline grade buttons at the gas station in real time. When the level of the unloading confirmation button is high and the level of one of the gasoline grade buttons is high, the unloading command and the corresponding gasoline grade are summarized to obtain the unloading reception command. When the level is low, the unloading command is closed and determined as the unloading reception command.

[0028] The start unloading command is a control signal that controls the opening of the oil storage tank valve; the close unloading command is a control signal that controls the closing of the oil storage tank valve.

[0029] Oil storage tank valves are multi-way selector valves in oil storage tanks that can be opened or closed according to oil unloading instructions and can switch the direction of gasoline flow according to the gasoline grade.

[0030] A gas station is a place that can store gasoline of different grades and refuel cars.

[0031] An oil storage tank is a gasoline storage device that can receive gasoline transported by tank trucks and classify and store gasoline of different grades.

[0032] The unloading confirmation button is a signal transmitter used to send a signal to the oil storage tank indicating whether gasoline has been received; the gasoline grade button is a signal transmitter used to send a signal to the oil storage tank valve indicating the type of gasoline to be received, thereby switching the oil storage tank valve. It consists of multiple buttons corresponding to different gasoline grades.

[0033] Tanker trucks are enclosed tank trucks used to transport gasoline of different grades.

[0034] Step S101: Open the preset oil storage tank valve according to the oil unloading receiving instruction, and collect the real-time cumulative channel flow and the real-time total amount of gasoline in the oil storage tank according to the preset detection time interval.

[0035] In this process, after the processing terminal determines that the unloading instruction is a start unloading instruction, it controls the opening of the oil storage tank valve and switches the oil storage tank valve according to the gasoline grade, so that gasoline flows from the tanker truck into the oil storage tank. The real-time cumulative channel flow and the real-time total amount of gasoline in the oil storage tank are collected according to the detection time interval to form a time cumulative flow change curve and a time oil storage tank total amount change curve.

[0036] The detection time interval refers to the time difference between two consecutive detections of each unloading of oil and storage of gasoline in the storage tank at a gas station. In one embodiment, the detection time interval is 3 seconds.

[0037] Real-time cumulative channel flow refers to the total mass of gasoline that flows through the unloading pipeline in each detection time interval. In one embodiment, data on the gasoline flowing through the unloading pipeline is collected by a Coriolis mass flow meter to obtain the number of samplings and the mass of each sampling within a detection time interval. The number of samplings and the mass of each sampling are then multiplied by the processing terminal to obtain the real-time cumulative channel flow for a time interval.

[0038] The cumulative flow rate change curve refers to the curve showing the change of the total mass of gasoline flowing through the unloading pipeline over time. During the process of gasoline flowing into the storage tank, the real-time cumulative channel flow rate and the real-time total amount of gasoline in the storage tank are collected according to the detection time interval. The data collection time is used as the horizontal axis and the collected real-time cumulative channel flow rate is used as the vertical axis to obtain the cumulative flow rate coordinate set. Then, the coordinate set is marked in a two-dimensional rectangular coordinate system and all the coordinates are connected in sequence according to the detection time to obtain the cumulative flow rate change curve.

[0039] The real-time total gasoline volume in the storage tank refers to the mass of gasoline stored in the storage tank during each detection time interval. In one embodiment, a level gauge installed at the bottom of the storage tank collects the real-time liquid level height according to the detection time interval. Then, the real-time gasoline volume is found in the liquid level height-volume correspondence table. The real-time gasoline density is measured by an online densitometer, and the real-time temperature is measured by a temperature sensor. Finally, the real-time temperature is subtracted by 20°C by a processing terminal. The difference is multiplied by 0.0012 / °C, and 1 is subtracted from the product. Finally, the difference is multiplied by the real-time gasoline volume and the real-time gasoline density to obtain the real-time total gasoline volume in the storage tank.

[0040] The time-based gasoline total volume change curve refers to the curve showing the change in the mass of gasoline stored in the tank over time. The specific method for determining this curve is the same as the method for determining the time-based cumulative flow change curve mentioned above, and will not be repeated here.

[0041] An unloading pipeline refers to the pipeline used to transport gasoline when storing it in a storage tank. It includes the unloading section pipeline connecting the tanker truck to the storage tank valve, the inlet section pipeline connecting the storage tank valve to the storage tank inlet, and the storage tank switching valve used to switch the gasoline flow path.

[0042] Step S102: Analyze the real-time cumulative channel flow, the real-time total amount of gasoline in the storage tank, and the preset standard gasoline density to generate a two-dimensional unloading deviation.

[0043] The two-dimensional unloading deviation refers to the set of deviations in gasoline mass and density. This deviation is obtained by analyzing the real-time cumulative channel flow, the real-time total gasoline volume in the storage tank, and the standard gasoline density at the processing terminal. For specific methods, please refer to [reference needed]. Figure 2 This process provides data support for subsequent traceability management of gasoline.

[0044] Standard gasoline density refers to the density of gasoline of different octane ratings at 20°C without other impurities. In one embodiment, when the gasoline octane rating is 92, the standard gasoline density is 0.73 g / cm³. 3 When the gasoline octane rating is 95, the standard gasoline density is 0.74 g / cm³. 3 When the gasoline octane rating is 98, the standard gasoline density is 0.75 g / cm³. 3 .

[0045] Step S103: Based on the two-dimensional unloading deviation, the preset traceability management device is used to monitor the gasoline storage process in real time to generate an unloading monitoring report.

[0046] The unloading monitoring report refers to the judgment conclusions reflecting whether there are any abnormalities in the process of gasoline unloading and storage, as well as the type and source of the abnormalities. The unloading monitoring report is obtained by the processing terminal controlling the traceability management device to monitor the gasoline storage process in real time based on the two-dimensional unloading deviation. Specific methods are described in [reference needed]. Figure 3 This process provides data support for subsequent emergency response based on the oil unloading monitoring report.

[0047] The traceability management device is a module used to trace data anomalies that occur within the current detection time interval. It consists of an oil unloading status monitoring component, a communication module, and a historical data storage module. The oil unloading status monitoring component monitors the oil unloading process in real time and stores the collected data in the historical data storage module according to the corresponding start time. When it is determined that there are data anomalies within the current detection time interval, the data in the historical data storage module is extracted according to the data anomaly type, thereby tracing the cause of the data anomaly.

[0048] The oil unloading status monitoring component refers to a set of data acquisition modules used to monitor the oil unloading process. It consists of a communication module, a level gauge installed at the bottom of the oil storage tank, a node auxiliary flow measurement component, and a mass flow meter.

[0049] The node-assisted flow measurement component refers to a flow monitoring component used to measure the mass flow rate of each node on the unloading pipeline. It consists of mass flow meters and a communication module that are evenly installed on the unloading pipeline at a set distance. After receiving the location of the leak section from the processing terminal, it starts the flow meter on the corresponding leak section to collect data according to the location of the leak section, and uploads the collected data to the processing terminal through the communication module for aggregation, thereby obtaining the flow rate of each node on the corresponding leak section.

[0050] A historical data storage module refers to a data storage unit used to store historical data.

[0051] Historical data refers to a database used to trace the source of anomalies occurring within the current detection time interval. It consists of parameter time-varying curves formed by the processing terminal for each unloading of oil at a gas station and storage of gasoline in the storage tank, including the tanker number, unloading quality, unloaded gasoline grade, real-time cumulative channel flow, and real-time total gasoline volume in the storage tank, versus the unloading start and end times; change curves formed by the storage tank valve switching records and data collected by the unloading status monitoring component versus the unloading start and end times; calibration start and end times of the unloading status monitoring component; and a data set of historical emergency handling methods.

[0052] The specific method for forming the curve is the same as the method for forming the time-cumulative flow rate change curve in step S101, and will not be repeated here.

[0053] Step S104: Control the preset gas station anomaly handling device to handle the anomaly according to the oil unloading monitoring report.

[0054] In this process, after the processing terminal determines the unloading monitoring report, it searches historical data based on the unloading monitoring report to obtain the corresponding anomaly handling plan. Based on the anomaly handling plan, it controls the gas station's anomaly handling device to handle the anomaly, thereby improving the gas station's emergency response capability.

[0055] Gas station anomaly handling device refers to a device used to handle abnormal situations that occur during the unloading of oil and the storage of gasoline in storage tanks.

[0056] Reference Figure 2 The steps for generating a two-dimensional unloading deviation include analyzing the real-time cumulative channel flow, the real-time total gasoline volume in the storage tank, and the preset standard gasoline density. Step S200: Collect the initial oil tank mass and real-time oil tank storage volume of the preset oil storage tank.

[0057] The initial tank mass refers to the mass of gasoline in the storage tank at the beginning of the current detection time interval. The processing terminal searches the time-based gasoline total volume change curve of the storage tank based on the current time to obtain the tank mass corresponding to the previous detection time interval adjacent to the current detection time interval. This mass is the initial tank mass.

[0058] The real-time storage volume of the oil tank refers to the real-time volume of gasoline in the tank during the current detection time interval. The level gauge installed at the bottom of the oil tank collects the real-time liquid level height of the tank according to the detection time interval, and then looks up the corresponding volume in the liquid level height-volume table to obtain the real-time storage volume of the oil tank.

[0059] The oil storage tank in this step is the same as the oil storage tank in step S100 above, and will not be described again here.

[0060] Step S201: Calculate the difference between the real-time total gasoline volume in the storage tank, the initial tank mass, and the real-time cumulative channel flow rate to generate the real-time mass deviation.

[0061] The real-time quality deviation refers to the difference between the actual change in gasoline in the storage tank and the amount of gasoline transported in the pipeline during the detection time interval. The real-time quality deviation can be obtained by subtracting the initial tank mass and the real-time cumulative channel flow from the total amount of gasoline in the storage tank in real time through the processing terminal.

[0062] Step S202: Calculate the quotient between the total amount of gasoline in the real-time storage tank and the real-time storage volume of the storage tank to generate the real-time average gasoline density.

[0063] The real-time average gasoline density refers to the average gasoline density in the storage tank during the detection time interval. The real-time average gasoline density can be obtained by dividing the total amount of gasoline in the storage tank by the real-time storage volume of the storage tank through the processing terminal.

[0064] Step S203: Calculate the absolute value of the difference between the real-time average gasoline density and the standard gasoline density to generate the real-time density deviation.

[0065] The real-time density deviation refers to the deviation of the gasoline density in the storage tank from the standard gasoline density within the detection time interval. The real-time density deviation can be obtained by subtracting the standard gasoline density from the real-time average gasoline density through the processing terminal.

[0066] Step S204: Summarize the real-time mass deviation and the real-time density deviation to generate a two-dimensional unloading deviation.

[0067] In this step, the two-dimensional unloading deviation is the same as that in step S102 above. The two-dimensional unloading deviation can be obtained by summing up the real-time mass deviation and the real-time density deviation through the processing terminal.

[0068] Reference Figure 3 The steps for generating an oil unloading monitoring report by using a pre-set traceability management device based on two-dimensional oil unloading deviation control to monitor the gasoline storage process in real time include: Step S300: Determine whether the two-dimensional unloading deviation meets the preset requirements for normal two-dimensional deviation.

[0069] The normal two-dimensional deviation refers to the data corresponding to the two-dimensional oil unloading deviation when no abnormalities occur during the unloading process. The requirement for the normal two-dimensional deviation is that the ratio of the real-time mass deviation to the change in gasoline mass in the storage tank within the current detection time interval should not exceed 0.3%, and the real-time density deviation should be ±0.005 g / cm³. 3 .

[0070] The processing terminal determines whether the two-dimensional oil unloading deviation meets the requirements of the normal two-dimensional deviation, thereby determining whether any abnormalities have occurred during the oil unloading process.

[0071] Step S3001: If satisfied, the preset normal unloading monitoring report is determined as the unloading monitoring report.

[0072] If the processing terminal determines that the two-dimensional unloading deviation meets the requirements of the normal two-dimensional deviation, it indicates that there is no abnormality in the unloading process. Therefore, the normal unloading monitoring report is determined as the unloading monitoring report by the processing terminal.

[0073] A normal unloading monitoring report refers to the judgment conclusion output when no abnormalities are found in the data.

[0074] Step S3002: If not satisfied, find the real-time mass deviation and real-time density deviation in the two-dimensional unloading deviation.

[0075] If the processing terminal determines that the two-dimensional unloading deviation does not meet the requirements of the normal two-dimensional deviation, it indicates that an abnormality has occurred in the unloading process. Therefore, the real-time mass deviation and real-time density deviation are found in the two-dimensional unloading deviation of the processing terminal, thereby providing data support for subsequent determination of the abnormality type.

[0076] The real-time quality deviation in this step is the same as the real-time quality deviation in step S201 above, and the real-time density deviation in this step is the same as the real-time density deviation in step S203 above, which will not be elaborated here.

[0077] Step S30021: Determine whether the real-time quality deviation meets the preset requirements for normal quality deviation.

[0078] Among them, normal deviation quality refers to the maximum allowable quality deviation value during the unloading process. The requirement for normal quality deviation is that the ratio of the real-time quality deviation in the two-dimensional unloading deviation to the change in gasoline quality in the storage tank within the current detection time interval is not greater than 0.3%.

[0079] By processing the terminal to determine whether the real-time quality deviation is greater than the normal quality deviation, it can be determined whether the data anomaly may be caused by incorrect oil unloading.

[0080] Step S300211: If satisfied, collect the oil error detection time, historical tanker truck changeover time sequence, and sensor calibration time sequence.

[0081] If the processing terminal determines that the real-time quality deviation meets the requirements of the normal quality deviation, it indicates that the data anomaly may be caused by the wrong oil being unloaded. Therefore, the processing terminal determines the wrong oil detection time, the historical tanker truck changeover sequence, and the sensor calibration sequence, thereby providing data support for the subsequent generation of the unloading monitoring report.

[0082] The oil mis-detection time refers to the time point when the density deviation first occurs within the current detection time interval. The oil mis-detection time can be obtained by the processing terminal searching through historical data based on the current detection time interval.

[0083] Historical tanker truck changeover sequence refers to a table that matches tanker truck numbers with unloading times in historical data. By searching through historical data using a processing terminal, the tanker truck numbers and corresponding unloading times that were unloading operations within the current detection time interval are obtained. By matching the tanker truck numbers with their corresponding unloading times one by one, the historical tanker truck changeover sequence can be obtained.

[0084] The sensor calibration sequence refers to the time point when the sensors in the oil unloading status monitoring component are calibrated within the current detection time interval. The processing terminal searches the historical data according to the current detection time interval to obtain the number of sensor calibrations and the corresponding calibration time period. Then, by matching the number of sensor calibrations with the calibration time period one by one, the sensor calibration sequence can be obtained.

[0085] Step S3002111: Analyze the oil mis-detection time, historical tanker truck changeover time sequence, and sensor calibration time sequence to generate an oil unloading monitoring report.

[0086] The unloading monitoring report in this step is consistent with the steps described above. The report is obtained by analyzing the wrong oil detection time, historical tanker truck changeover timeline, and sensor calibration timeline using a processing terminal. The specific method is described in [reference needed]. Figure 4 This process provides data support for determining emergency response plans based on the anomalies in the oil unloading monitoring report.

[0087] Step S300212: If not satisfied, analyze the real-time density deviation and standard gasoline density to generate an unloading monitoring report.

[0088] If the processing terminal determines that the real-time quality deviation is greater than the normal quality deviation, it indicates that the data anomaly is unlikely to be caused by incorrect oil unloading. Therefore, by analyzing the real-time density deviation and the standard gasoline density through the processing terminal, an oil unloading monitoring report can be obtained. The specific method is described in [reference needed]. Figure 5 The steps.

[0089] Reference Figure 4 The steps for generating an oil unloading monitoring report include analyzing the timing of incorrect oil detection, historical tanker truck changeover sequences, and sensor calibration sequences. Step S400: Search the historical tanker truck changeover sequence and sensor calibration sequence based on the oil error detection time to generate the deviation detection result.

[0090] The deviation detection result refers to the qualitative conclusion on the cause of the anomaly after time matching of the wrong oil sampling time. The processing terminal searches for the wrong oil detection time in the historical tanker truck changeover time sequence and sensor calibration time sequence. When a time that completely matches the wrong oil detection time is found in the historical tanker truck changeover time sequence, the tanker truck number corresponding to the time period in the historical tanker truck changeover time sequence is extracted and summarized with the wrong oil detection result to obtain the deviation detection result. When a time that completely matches the wrong oil detection time is found in the sensor calibration time sequence, the sensor calibration anomaly result is determined as the deviation detection result.

[0091] The wrong oil detection result refers to the judgment conclusion output when the grade of gasoline transported in the tanker truck is different from the grade of the tanker truck itself, that is, the tanker truck is loaded with the wrong oil; the sensor calibration abnormality result refers to the judgment conclusion output when the sensor measuring relevant detection data during the oil unloading process has an incorrect calibration parameter after recalibration, which causes data drift in the relevant data collected, thus causing the detection data to deviate.

[0092] Step S401: Determine whether the deviation detection result is consistent with the preset oil error detection result.

[0093] The oil mis-detection result in this step is consistent with the oil mis-detection result in step S400 above, and will not be repeated here.

[0094] By processing the terminal to determine whether the deviation detection result is consistent with the wrong oil detection result, it can be determined whether the deviation in the detection data is due to the wrong oil being loaded into the tanker truck or due to abnormal sensor calibration.

[0095] Step S4011: If they match, find the tanker number of the erroneous oil tanker in the deviation detection results.

[0096] If the processing terminal determines that the deviation detection result is consistent with the wrong oil detection result, it means that the deviation in the detection data is due to the wrong oil being loaded into the tanker truck. Therefore, the processing terminal determines the tanker truck number that was wrongly loaded, thereby providing data support for tracing the tanker truck corresponding to the number and determining the unloading monitoring report.

[0097] The wrong oil tanker number refers to the tanker number corresponding to the time of the wrong oil detection, where the grade of the gasoline being transported in the tanker is different from the tanker's own grade. The wrong oil tanker number can be obtained by searching the deviation detection results through the processing terminal.

[0098] Step S40111: Summarize the results of the wrong oil detection with the wrong oil tanker number to generate an oil unloading monitoring report.

[0099] The unloading monitoring report in this step is consistent with the unloading monitoring report in step S10222 above. The unloading monitoring report can be obtained by summarizing the wrong oil detection results and the wrong oil tanker number through the processing terminal.

[0100] Step S4012: If there is a discrepancy, the preset sensor calibration abnormality result will be determined as the unloading monitoring report.

[0101] If the processing terminal determines that the deviation detection result is inconsistent with the oil error detection result, it indicates that the deviation in the detection data is caused by abnormal sensor calibration. Therefore, the abnormal sensor calibration result is determined as the oil unloading monitoring report by the processing terminal.

[0102] The sensor calibration anomaly result in this step is consistent with the sensor calibration anomaly result in step S400 above, and will not be repeated here.

[0103] Reference Figure 5 The steps for analyzing density deviation and standard gasoline density to generate an unloading monitoring report include: Step S500: Determine whether the density deviation is greater than the standard gasoline density.

[0104] The process involves using a processing terminal to determine whether the density deviation exceeds the standard gasoline density. This helps identify whether the deviation is due to residual gasoline of other grades in the tanker or unloading pipeline, or due to gasoline collisions and mixing during transport or unloading, or gasoline leakage during unloading.

[0105] Step S5001: If not greater than, collect the unloading outlet flow rate, the unloading valve flow rate, and the storage tank inlet flow rate.

[0106] If the processing terminal determines that the density deviation is not greater than the standard gasoline density, it indicates that the deviation in the detection data is due to gasoline leakage during the unloading process. Therefore, the processing terminal determines the unloading outlet flow rate, the unloading valve flow rate, and the storage tank inlet flow rate, thereby providing data support for tracing the leak location and determining the unloading monitoring report.

[0107] The unloading outlet flow rate refers to the mass of gasoline flowing through the connection point between the tanker truck and the storage tank per unit time. It is obtained by data detection through the mass flow meter installed at the connection point in the unloading status detection equipment of the processing terminal.

[0108] The flow rate of the unloading valve refers to the mass of gasoline flowing through the valve of the oil storage tank per unit time. It is obtained by data detection through the mass flow meter installed at the valve of the oil storage tank in the oil unloading status detection equipment of the processing terminal control.

[0109] The inlet flow rate of the oil storage tank refers to the mass of gasoline flowing through the inlet of the oil storage tank per unit time. It is obtained by data detection through the mass flow meter installed at the valve inlet of the oil storage tank in the oil unloading status detection equipment of the processing terminal control.

[0110] Step S50011: Analyze the preset leakage anomaly results, unloading monitoring results, unloading outlet flow rate, unloading valve flow rate, and storage tank inlet flow rate to generate an unloading monitoring report.

[0111] The unloading monitoring report in this step is consistent with the unloading monitoring report in step S10222 above. The unloading monitoring report is obtained by analyzing the leakage anomaly results, unloading monitoring results, unloading outlet flow rate, unloading valve flow rate, and storage tank inlet flow rate through the processing terminal. The specific method is as follows: Figure 6 This process provides data support for subsequent emergency response based on unloading monitoring reports, thereby reducing losses at gas stations.

[0112] Leakage anomaly results refer to the judgment conclusion output when the deviation of the detection data is due to gasoline leakage during the unloading process.

[0113] Step S5002: If it is greater than, then collect the time change curve of the oil storage tank density.

[0114] If the processing terminal determines that the density deviation is greater than the standard gasoline density, it indicates that the deviation in the detection data is due to the presence of other grades of gasoline residue in the tanker or unloading pipeline. This residue is caused by the collision and stirring between gasoline particles during the transportation or unloading process, resulting in uniform mixing of the gasoline. Therefore, by determining the density change curve of the storage tank through the processing terminal, data support can be provided for tracing the source of other gasoline residues and for unloading monitoring reports.

[0115] The density-time variation curve of an oil storage tank refers to the curve showing the change in the average density of gasoline in the tank over time as the gasoline content in the tank increases from 0 tons to the current time. The process involves a processing terminal collecting the real-time average density of gasoline in the tank at detection time intervals, using each detection time as the horizontal axis and the corresponding real-time average density of gasoline as the vertical axis to obtain a density-time coordinate set. This set is then marked in a two-dimensional Cartesian coordinate system, and all coordinates are connected sequentially according to the detection time order to obtain the density-time variation curve of the oil storage tank.

[0116] Step S50021: Analyze the preset abnormal oil mixing results, the oil storage tank density time change curve, and the oil unloading monitoring results to generate an oil unloading monitoring report.

[0117] The unloading monitoring report in this step is consistent with the unloading monitoring report in step S10222 above. The unloading monitoring report is obtained by analyzing the abnormal oil mixing results, the oil storage tank density-time change curve, and the unloading monitoring results through a processing terminal. The specific method is as follows: Figure 7 This process provides data support for tracing the source of any remaining gasoline and processing the mixed gasoline.

[0118] An abnormal mixed-oil result refers to the judgment output when the cause of the deviation in the detection data is that there are other grades of gasoline residues in the tanker truck or unloading pipeline, and the gasoline is uniformly mixed due to collision and stirring between gasoline during the transportation or unloading process.

[0119] Reference Figure 6 The steps for generating an oil unloading monitoring report include analyzing preset leakage anomaly results, oil unloading monitoring results, oil unloading outlet flow rate, oil unloading valve flow rate, and oil storage tank inlet flow rate. Step S600: Calculate the difference between the oil unloading outlet flow rate and the oil unloading valve flow rate to generate the oil unloading section flow deviation value.

[0120] The unloading section flow deviation value refers to the deviation value of the mass flow rate of gasoline flowing through the oil pipeline between the oil tanker and the oil storage tank valve. The unloading section flow deviation value can be obtained by subtracting the unloading valve flow rate from the unloading outlet flow rate through the processing terminal, thereby providing data support for the subsequent accurate location of the leak in the unloading section.

[0121] Step S601: Calculate the difference between the flow rate of the unloading valve and the flow rate at the inlet of the oil storage tank to generate the flow deviation value of the oil inlet section.

[0122] The inlet flow deviation value refers to the deviation of the mass flow rate of gasoline flowing through the oil pipeline between the oil storage tank valve and the oil storage tank inlet. The inlet flow deviation value can be obtained by subtracting the oil storage tank inlet flow rate from the unloading valve flow rate through the processing terminal.

[0123] Step S602: Compare the flow deviation values ​​of the unloading section and the inlet section with the preset gasoline segment leakage thresholds to generate leakage detection results.

[0124] The leak detection result refers to the conclusion output after analyzing the flow deviation values ​​of the unloading section and the inlet section, which reflects the pipeline type to which the leak occurred. The processing terminal searches for the flow deviation thresholds of the unloading section and the inlet section in the gasoline segment leak thresholds, and determines whether the flow deviation value of the unloading section is greater than the corresponding threshold, and whether the flow deviation value of the inlet section is greater than the corresponding threshold. If both the flow deviation values ​​of the unloading section and the inlet section are greater than the corresponding threshold, it indicates that both the unloading section and the inlet section pipelines are leaking, and the result of both sections being leaked is determined as the leak detection result. If only the flow deviation value of the unloading section is greater than the corresponding threshold, the result of the unloading section being leaked is determined as the leak detection result. If only the flow deviation value of the inlet section is greater than the corresponding threshold, the result of the inlet section being leaked is determined as the leak detection result.

[0125] The gasoline segment leakage threshold refers to the set of flow deviation thresholds for the inlet and outlet pipelines, including the outlet flow deviation threshold and the inlet flow deviation threshold. By summing the outlet flow deviation threshold and the inlet flow deviation threshold through the processing terminal, the gasoline segment leakage threshold can be obtained.

[0126] The unloading section flow deviation threshold refers to the maximum allowable mass flow deviation value in the unloading section pipeline. In one embodiment, the operator determines the unit length unloading section volumetric flow deviation threshold according to industry standards, finds the unloading section pipeline length in the technical manual, and inputs the unit length unloading section volumetric flow deviation threshold and the unloading section pipeline length into the processing terminal. Then, the processing terminal multiplies the unloading section volumetric flow deviation threshold by the standard gasoline density and the unloading section pipeline length to obtain the unloading section flow deviation threshold. The unloading section volumetric flow deviation threshold is 0.2 L / (m·h).

[0127] The inlet flow deviation threshold refers to the maximum allowable mass flow deviation value in the inlet pipeline. In one embodiment, the operator finds the inlet volume flow deviation threshold for gasoline storage at a gas station according to industry practices for rigid pipelines, then finds the length of the inlet pipeline in the technical manual, and inputs the inlet volume flow deviation threshold and the inlet pipeline length into the processing terminal. The inlet flow deviation threshold, the inlet pipeline length, and the standard gasoline density are then multiplied to obtain the inlet flow deviation threshold.

[0128] Step S603: Based on the leakage detection results, locate the leakage section in the preset correspondence between leakage section locations.

[0129] The location of the leak section refers to the set of coordinates of the endpoints of the pipeline where the leak occurred. The location of the leak section can be obtained by the processing terminal by looking up the corresponding mapping table of the leak detection results. When the leak detection result is a leak in the unloading section, the location of the leak section is the coordinates of the two endpoints of the unloading section pipeline.

[0130] The correspondence between the leak location results refers to the correspondence between the coordinate sets of the endpoint positions of the unloading section pipeline and the inlet section pipeline and the leak detection results for all situations. In one embodiment, the operator selects the bottom concrete foundation ring beam of the oil storage tank, the valve well positioning marker of the underground fire hydrant in the gas station, and the metal benchmark pile of the gas station as reference positions. Then, the three-dimensional coordinates of the endpoints of the unloading section pipeline and the inlet section pipeline are measured by a total station, and the reference positions are used as a reference to obtain the coordinate sets of the endpoint positions of the unloading section pipeline and the inlet section pipeline. Then, a mapping table is formed by corresponding each leak detection result with the corresponding coordinate position set.

[0131] Step S604: The auxiliary flow measurement component of the control node at the location of the leak section is used to detect the preset oil unloading pipeline to generate the flow location correspondence of the leak section node.

[0132] Among them, the correspondence between the flow rate and location of the leak section nodes refers to the correspondence between the set of location coordinates of two adjacent nodes of the leak section and the mass flow rate of the pipeline between the two nodes. After the processing terminal determines the location of the leak section, the processing terminal controls the auxiliary flow measurement component of the node to monitor the flow of the unloading pipeline, and forms a mapping table by matching the collected mass flow rate with the node location coordinates.

[0133] Node position coordinates refer to the set of endpoint position coordinates of the corresponding unloading pipeline range that the deployed node auxiliary flow detection components are responsible for detecting. In one embodiment, the operator numbers the flow meters according to the flow meter installation nodes marked on the installation drawings and installs the flow meters on the unloading pipeline. After the installation is completed, the total station is controlled to measure the node position of each flow meter according to the reference position. The measured coordinates are then summarized to obtain the node position coordinates.

[0134] Step S605: Calculate the quotient between the difference of adjacent flow data in the flow correspondence of the leaking segment nodes and the preset inter-node length, so as to generate the flow gradient correspondence of the node location.

[0135] Among them, the node location flow gradient correspondence refers to the correspondence between the node location coordinates and the rate of change of mass flow rate per unit length. By processing the terminal, the mass flow rates corresponding to two adjacent oil unloading pipelines are subtracted from the node location coordinates in the node flow correspondence of the leak section, and then divided by the length between the nodes to obtain the node flow gradient. Then, the node flow gradient and the corresponding node location coordinates are summarized to obtain the node location flow gradient correspondence.

[0136] The inter-node length refers to the length of the pipeline between two adjacent nodes in the unloading pipeline. In one embodiment, the inter-node length can be obtained by the operator by looking up the installation drawings of the node auxiliary flow measurement component.

[0137] Step S606: Filter the correspondence between the flow gradient at the node location based on the preset normal node flow change amount to generate the node location of the flow mutation.

[0138] Among them, the location of the flow mutation node refers to the set of node coordinates at both ends of the unloading pipeline corresponding to the flow rate that is different from the normal node flow rate change in the node location flow gradient correspondence. By processing the terminal, the flow data in the node location flow gradient correspondence is compared with the normal node flow rate change, and the node coordinates corresponding to the flow data that is greater than the normal node flow rate change are summarized to obtain the location of the flow mutation node.

[0139] Step S607: Summarize the locations of flow change nodes and leakage anomaly results to generate an oil unloading monitoring report.

[0140] The unloading monitoring report in this step is consistent with the unloading monitoring report in step S10222 above. The unloading monitoring report can be obtained by summarizing the location of the flow change node and the leakage anomaly results through the processing terminal.

[0141] Reference Figure 7The steps for generating an oil unloading monitoring report include analyzing preset abnormal oil mixing results, oil storage tank density over time curves, and oil unloading monitoring results: Step S700: Screen the density-time change curve of the oil storage tank according to the standard gasoline density to generate the unloading time of density anomalies.

[0142] The density anomaly unloading time refers to the unloading time when the average density of gasoline in the storage tank is inconsistent with the standard gasoline density. The density anomaly unloading time is obtained by comparing the density in the storage tank density-time change curve with the standard gasoline density through the processing terminal, and summarizing the times corresponding to the densities that are different from the standard gasoline density.

[0143] Step S701: Collect the historical oil unloading number time correspondence and historical valve switching sequence.

[0144] The historical unloading number-time correspondence refers to the correspondence between the tanker truck number unloading oil at the gas station and the unloading time during the process of the gasoline content in the storage tank increasing from 0t to the current content. When the processing terminal determines that the gasoline content in the storage tank is 0t, it extracts the tanker truck number and the corresponding unloading time that entered the gas station for unloading after that moment from the historical data, and forms a mapping table by matching the tanker truck number with the corresponding unloading time, thus obtaining the historical unloading number-time correspondence.

[0145] Historical valve switching sequence refers to the correspondence between the switching records and switching times of the oil tank switching valves in the unloading pipeline during the process of the gasoline content in the oil tank increasing from 0t to the current content. When the processing terminal determines that the gasoline content in the oil tank is 0t, it extracts the switching records of the oil tank switching valves after that moment from the historical data and the corresponding switching times, and forms a mapping table with the switching records and corresponding switching times one by one to obtain the historical valve switching sequence.

[0146] The unloading pipeline in this step is the same as the unloading pipeline in step S101 above, and will not be described again here.

[0147] Step S702: Based on the density anomaly unloading time, search in the historical unloading number time correspondence and historical valve switching sequence to determine the type of oil mixing anomaly.

[0148] Among them, the oil mixing anomaly type refers to the data used to record the cause and type of the oil mixing anomaly when it occurs. The processing terminal compares the density anomaly unloading time with the historical oil unloading number time correspondence and the historical valve switching sequence. When a matching time is found in the historical oil unloading number time correspondence, the corresponding tanker number and tanker oil transportation anomaly type are determined to be the oil mixing anomaly type. When a matching time is found in the historical valve switching sequence, the valve switching anomaly type is determined to be the oil mixing anomaly type.

[0149] An abnormal type of oil tanker transport refers to an abnormality caused by the mixing of gasoline transported in the current shipment with gasoline that was left in the tanker from the previous shipment. Valve switching anomaly refers to an anomaly caused by gasoline mixing with gasoline in other storage tanks because the switching valve of the oil tank failed to switch to the corresponding oil tank.

[0150] Step S703: Summarize the types and results of oil mixing anomalies to generate an oil unloading monitoring report.

[0151] The unloading monitoring report in this step is consistent with the unloading monitoring report in step S10222 above. The unloading monitoring report can be obtained by summarizing the oil mixing anomaly type and the oil mixing anomaly result through the processing terminal.

[0152] Based on the same inventive concept, embodiments of this application provide a hazardous chemical traceability management system, including: The data acquisition module is used to collect data such as unloading reception command, real-time cumulative channel flow, real-time total gasoline volume in the storage tank, initial tank mass, real-time storage volume in the storage tank, oil error detection time, historical tank truck changeover sequence, sensor calibration sequence, unloading outlet flow, unloading valve flow and storage tank inlet flow, storage tank density time variation curve, historical unloading number time correspondence, and historical valve switching sequence. A memory used to store a program for a hazardous chemicals traceability management method; The processor is a program that can be loaded and executed by the processor to implement a method for traceability management of hazardous chemicals.

[0153] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional modules is used as an example. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device, and unit described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0154] This application provides a computer-readable storage medium storing a computer program that can be loaded by a processor and executed as a method for tracing and managing hazardous chemicals.

[0155] Computer storage media include, for example, USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, optical disks, and other media that can store program code.

[0156] Based on the same inventive concept, this application provides a smart terminal, including a memory and a processor, wherein the memory stores a computer program that can be loaded and executed by the processor to provide a method for tracing and managing hazardous chemicals.

[0157] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional modules is used as an example. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device, and unit described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0158] The above are all preferred embodiments of this application and are not intended to limit the scope of protection of this application. Any feature disclosed in this specification (including the abstract and drawings) may be replaced by other equivalent or similar features unless specifically stated otherwise. That is, unless specifically stated otherwise, each feature is only one example of a series of equivalent or similar features.

Claims

1. A method for traceability management of hazardous chemicals, characterized in that, include: Collect unloading instructions from pre-set gas stations; The preset oil storage tank valve is opened according to the oil unloading receiving instruction, and the real-time cumulative channel flow and real-time total gasoline volume in the oil storage tank are collected according to the preset detection time interval. The real-time cumulative channel flow, real-time total gasoline volume in the storage tank, and preset standard gasoline density are analyzed to generate a two-dimensional unloading deviation. The gasoline storage process is monitored in real time by a pre-set traceability management device based on the two-dimensional unloading deviation control, so as to generate an unloading monitoring report. Based on the unloading monitoring report, the preset gas station anomaly handling device is controlled to handle anomalies.

2. The method for traceability management of hazardous chemicals according to claim 1, characterized in that, The steps for analyzing real-time cumulative channel flow, real-time total gasoline volume in the storage tank, and preset standard gasoline density to generate a two-dimensional unloading deviation include: Collect the initial oil tank mass and real-time oil tank storage volume of the preset oil storage tank; Calculate the difference between the real-time total gasoline volume in the storage tank, the initial tank mass, and the real-time cumulative channel flow rate to generate the real-time mass deviation. Calculate the quotient between the total amount of gasoline in the real-time storage tank and the real-time storage volume of the storage tank to generate the real-time average gasoline density; Calculate the absolute value of the difference between the real-time average gasoline density and the standard gasoline density to generate the real-time density deviation. The real-time mass deviation and real-time density deviation are combined to generate a two-dimensional unloading deviation.

3. The method for traceability management of hazardous chemicals according to claim 1, characterized in that, The steps for generating an unloading monitoring report by using a pre-set traceability management device based on two-dimensional unloading deviation control to monitor the gasoline storage process in real time include: Determine whether the two-dimensional unloading deviation meets the preset requirements for normal two-dimensional deviation. If the conditions are met, the preset normal unloading monitoring report will be determined as the unloading monitoring report; If not satisfied, then find the real-time mass deviation and real-time density deviation in the two-dimensional unloading deviation. Determine whether the real-time quality deviation meets the preset requirements for normal quality deviation. If the conditions are met, the wrong oil detection time, historical tanker truck changeover time, and sensor calibration time will be collected. The timing of incorrect oil detection, historical tanker truck changeover timelines, and sensor calibration timelines are analyzed to generate an oil unloading monitoring report. If the conditions are not met, the real-time density deviation and standard gasoline density are analyzed to generate an unloading monitoring report.

4. The method for traceability management of hazardous chemicals according to claim 3, characterized in that, The steps for generating an oil unloading monitoring report include analyzing the timing of incorrect oil detection, historical tanker truck changeover sequences, and sensor calibration sequences. The deviation detection result is generated by searching through historical tanker truck changeover timelines and sensor calibration timelines based on the time of the oil mis-detection. Determine whether the deviation detection result is consistent with the preset oil mis-detection result; If they match, find the tanker truck number of the erroneous oil in the deviation detection results; The results of the oil mismatch detection are combined with the oil tanker number of the oil mismatch to generate an oil unloading monitoring report; If there is a discrepancy, the preset sensor calibration anomaly result will be identified as the unloading monitoring report.

5. The method for traceability management of hazardous chemicals according to claim 3, characterized in that, The steps for analyzing density deviation and standard gasoline density to generate an unloading monitoring report include: Determine whether the density deviation is greater than the standard gasoline density; If the value is not greater than the specified value, then collect the unloading outlet flow rate, the unloading valve flow rate, and the storage tank inlet flow rate. The system analyzes preset leakage anomaly results, unloading monitoring results, unloading outlet flow rate, unloading valve flow rate, and storage tank inlet flow rate to generate an unloading monitoring report. If the value is greater than the specified value, then collect the time variation curve of the oil storage tank density. The pre-defined abnormal results of oil mixing, the density change curve of the oil storage tank over time, and the oil unloading monitoring results are analyzed to generate an oil unloading monitoring report.

6. The method for traceability management of hazardous chemicals according to claim 5, characterized in that, The traceability management device includes a node-assisted flow measurement component. The steps for analyzing preset leakage anomaly results, unloading monitoring results, unloading outlet flow rate, unloading valve flow rate, and storage tank inlet flow rate to generate an unloading monitoring report include: Calculate the difference between the oil unloading outlet flow rate and the oil unloading valve flow rate to generate the oil unloading section flow deviation value; Calculate the difference between the flow rate of the unloading valve and the flow rate at the inlet of the oil storage tank to generate the flow deviation value of the inlet section; The flow deviation values ​​of the unloading section and the inlet section are compared with the preset gasoline segment leakage thresholds to generate leakage detection results. Based on the leak detection results, the location of the leak section is found in the preset correspondence between the leak section location results; The auxiliary flow measurement component at the control node of the leak section location is used to detect the preset oil unloading pipeline in order to generate the correspondence between the flow and location of the leak section node. Calculate the quotient between the difference between adjacent flow data in the flow correspondence of the leaking segment nodes and the preset inter-node length to generate the flow gradient correspondence of the node location; The corresponding relationship of flow gradient at node location is filtered based on the preset normal node flow change to generate the location of node with sudden flow change. The locations of sudden flow changes and abnormal leakage results are summarized to generate an oil unloading monitoring report.

7. The method for traceability management of hazardous chemicals according to claim 5, characterized in that, The steps for generating an oil unloading monitoring report by analyzing preset abnormal oil mixing results, oil storage tank density over time curves, and oil unloading monitoring results include: The density-time variation curves of oil storage tanks are screened based on the standard gasoline density to generate unloading times for abnormal density. Collect the historical oil unloading number time correspondence and historical valve switching sequence; The type of oil mixing anomaly is determined by searching the historical oil unloading time correspondence and historical valve switching sequence based on the density anomaly unloading time. The types and results of oil mixing anomalies are summarized to generate an oil unloading monitoring report.

8. A hazardous chemical traceability management system, characterized in that, include: The data acquisition module is used to collect unloading reception instructions, real-time cumulative channel flow, and real-time total gasoline volume in the storage tank; A memory for storing a program of a hazardous chemical traceability management method as described in any one of claims 1 to 7; The processor and the program in the memory can be loaded and executed by the processor to implement the hazardous chemical traceability management method as described in any one of claims 1 to 7.

9. A smart terminal, characterized in that, It includes a memory and a processor, wherein the memory stores a computer program that can be loaded by the processor and executed as described in any one of claims 1 to 7 for a hazardous chemical traceability management method.

10. A computer-readable storage medium, characterized in that, The system contains a computer program that can be loaded by a processor and executed as described in any one of claims 1 to 7, for the traceability management of hazardous chemicals.