Port liquid bulk cargo monitoring and early warning method and system based on Internet of Things

Through the Internet of Things technology and the spatio-temporal attention graph neural network model, the problem of incomplete monitoring data and low early warning accuracy during the loading and unloading of liquid bulk cargoes at the port has been solved. Real-time monitoring and early warning of the status of liquid bulk cargoes and control equipment have been achieved, ensuring that Safety during loading and unloading.

CN118467936BActive Publication Date: 2024-10-15福建省湄洲湾港口发展中心
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410935995.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-12
Publication Date
2024-10-15
Estimated Expiration
2044-07-12

AI Technical Summary

Technical Problem

The existing technology does not provide comprehensive monitoring data during the loading and unloading of liquid bulk cargoes at ports, making it difficult to grasp changes in cargo status in real time, resulting in low early warning accuracy and potential safety hazards.

Method used

Using a method based on the Internet of Things, by obtaining the sensor time series data inside the pipeline, using the pre-trained spatiotemporal attention graph neural network model for prediction and deviation calculation, generating an early warning index, combined with the operating status data of the control equipment, to improve monitoring efficiency and early warning accuracy sex.

Benefits of technology

It achieves real-time monitoring of the status of liquid bulk cargo and comprehensive monitoring of the status of control equipment, improves the accuracy of early warning, and ensures the safety and reliability of the port's liquid bulk cargo loading and unloading process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118467936B_ABST
    Figure CN118467936B_ABST
Patent Text Reader

Abstract

The present application provides a port liquid bulk cargo monitoring and early warning method and system based on the Internet of Things, which obtains the sensor time series data inside the pipeline in a historical time period; after preprocessing the sensor time series data, inputs a pre-trained first prediction model to obtain the estimated sensor data inside the pipeline in a future set time period; adjusts the control device according to the estimated sensor data to obtain the response time data and operation status data of the control device; obtains the real-time sensor data inside the pipeline; obtains the first predicted deviation of the estimated sensor data; determines the first false alarm rate according to the first predicted deviation; generates a first early warning index, and sends it to relevant management personnel. The present application improves the monitoring efficiency, makes data monitoring more comprehensive, fully considers the relevance of the monitoring variables, improves the accuracy of the early warning, and helps to achieve safe loading and unloading of liquid bulk cargo.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of port information technology, and specifically to a port liquid bulk cargo monitoring and early warning method and system based on the Internet of Things. Background Art

[0002] In the storage and management of liquid bulk cargo (such as crude oil, chemicals, etc.) at ports, due to the characteristics of liquid bulk cargo, such as flammability, explosiveness, toxicity, etc., once leakage or accident occurs, it will bring great threats to personnel safety, environmental protection and port operations. Port liquid bulk cargo pipelines are an important infrastructure used to connect the terminal and petrochemical enterprises in the petrochemical industrial base to achieve safe and efficient transportation of liquid bulk cargo.

[0003] In the prior art, in order to ensure the safety during the loading and unloading of liquid bulk cargo, sensors are often installed in the pipeline or the status of the cargo is monitored through manual inspections. This method is not only inefficient and difficult to grasp the status changes of the cargo in real time, but also the existing method does not provide comprehensive monitoring data and ignores the correlation of the monitoring variables, resulting in a low accuracy rate of the final warning, which affects the warning effect and causes certain safety hazards during the loading and unloading of liquid bulk cargo.

[0004] Therefore, the purpose of the present invention is to provide a port liquid bulk cargo monitoring and early warning method and system based on the Internet of Things to solve the problems existing in the prior art. Summary of the invention

[0005] The purpose of this application is to provide a port liquid bulk cargo monitoring and early warning method and system based on the Internet of Things to improve monitoring efficiency, make data monitoring more comprehensive, fully consider the relevance of monitoring variables, improve the accuracy of early warning, and help achieve safe loading and unloading of liquid bulk cargo.

[0006] In a first aspect, the embodiment of the present application provides a port liquid bulk cargo monitoring and early warning method based on the Internet of Things, comprising:

[0007] Obtain the sensor time series data within the pipeline within the historical time period;

[0008] After preprocessing the sensor time series data, the pre-trained first prediction model is input to obtain the estimated sensor data inside the pipeline within a future set time period; the first prediction model is obtained by training a spatiotemporal attention graph-based neural network through historical sensor time series data samples inside the pipeline;

[0009] Adjust the control device according to the estimated sensor data to obtain the response time data and operation status data of the control device;

[0010] Get real-time sensor data inside the pipeline;

[0011] Calculating the deviation of the estimated sensor data according to the real-time sensor data to obtain a first predicted deviation of the estimated sensor data;

[0012] Determining a first false alarm rate according to the first prediction deviation;

[0013] Based on the real-time sensor data, the first false alarm rate, the response time data and the operation status data, a first warning index is generated and sent to relevant management personnel.

[0014] The method, after generating the first warning index, further includes:

[0015] Obtain the time series data of the operating status of the control device in the historical time period;

[0016] After preprocessing the operating status time series data, the pre-trained second prediction model is input to obtain the estimated operating status data of the control device within a future set time period; the second prediction model is obtained by training a spatiotemporal attention graph-based neural network through historical operating status time series data samples of the control device;

[0017] According to the running state data, a deviation calculation is performed on the estimated running state data to obtain a second predicted deviation of the estimated running state data;

[0018] determining a second false alarm rate according to the second prediction deviation;

[0019] generating a second warning index based on the response time data, the second false alarm rate and the operation status data;

[0020] Based on the first warning index and the second warning index, a comprehensive warning index is generated and sent to relevant managers.

[0021] The method pre-trains the first prediction model in the following manner:

[0022] Obtain historical sensor time series data samples inside the pipeline;

[0023] After performing the preprocessing on the historical sensor time series data samples, the historical sensor time series data samples are converted into sensor supervised data;

[0024] The sensor supervised data is input into the graph neural network for training, and the first prediction model is obtained after reaching the preset training cutoff condition.

[0025] The method pre-trains the second prediction model in the following manner:

[0026] Obtain historical operating status time series data samples of control equipment;

[0027] After the historical operation status time series data samples are preprocessed, the historical operation status time series data samples are converted into operation status supervised data;

[0028] The supervised data of the operating status is input into the graph neural network for training, and the second prediction model is obtained after reaching the preset training cutoff condition.

[0029] The graph neural network includes a sequentially connected graph attention layer, a temporal attention layer, a spatiotemporal fusion layer, a feature extractor and an output layer.

[0030] The method, after generating the first warning index, further includes:

[0031] Maintain the pipeline and the control device respectively to obtain a first parameter vector and a second parameter vector;

[0032] Determining a first correction parameter according to the first parameter vector and the second parameter vector;

[0033] Adjust the first warning index according to the first correction parameter to generate a third warning index;

[0034] The fourth warning index is generated based on the third warning index and the comprehensive warning index.

[0035] The method, after generating the fourth warning index, further includes:

[0036] If the fourth warning index exceeds a preset threshold, the control device is turned off and a third parameter vector is generated accordingly;

[0037] Prepare emergency equipment and generate a fourth parameter vector accordingly;

[0038] calculating a correlation degree between the third parameter vector and the fourth parameter vector;

[0039] Establishing a first response index based on response time data, fourth warning index, and relevance;

[0040] Establishment of a second response index based on self-checking of liquid bulk cargoes during loading and unloading;

[0041] According to the first response index and the second response index, a linkage relationship between the control device and the emergency device is established, and the emergency device is started.

[0042] The self-inspection during the loading and unloading process of liquid bulk cargo to establish the second response index includes:

[0043] The road conditions and berth conditions near the wharf are collected respectively to obtain first image data and second image data;

[0044] respectively collecting the state of the pipeline and the operation of the control device to obtain third image data and fourth image data;

[0045] A second response index is established based on the first image data, the second image data, the third image data, and the fourth image data.

[0046] The step of establishing a second response index based on the first image data, the second image data, the third image data and the fourth image data comprises:

[0047] respectively extracting features from the first image data, the second image data, the third image data, and the fourth image data;

[0048] Screening out features associated with the second response index;

[0049] The filtered features are fused to create a comprehensive feature set;

[0050] The second response index is calculated based on the fused feature set.

[0051] In a second aspect, the embodiment of the present application provides a port liquid bulk cargo monitoring and early warning system based on the Internet of Things, including:

[0052] The first acquisition module is used to acquire the sensor time series data inside the pipeline within a historical time period;

[0053] A first training module, after preprocessing the sensor time series data, inputs a pre-trained first prediction model to obtain estimated sensor data inside the pipeline within a future set time period; the first prediction model is obtained by training a spatiotemporal attention graph-based neural network through historical sensor time series data samples inside the pipeline;

[0054] An adjustment module, used to adjust the control device according to the estimated sensor data, and obtain the response time data and operation status data of the control device;

[0055] The second acquisition module is used to acquire real-time sensor data inside the pipeline;

[0056] A first deviation calculation module, used to perform deviation calculation on the estimated sensor data according to the real-time sensor data to obtain a first predicted deviation of the estimated sensor data;

[0057] A first false alarm calculation module, used to determine a first false alarm rate according to a first predicted deviation;

[0058] The first warning module is used to generate a first warning index based on real-time sensor data, a first false alarm rate, response time data and operation status data, and send it to relevant management personnel.

[0059] Compared with the prior art, the port liquid bulk cargo monitoring and early warning method and system based on the Internet of Things provided by the present application obtain sensor time series data inside the pipeline in a historical time period; after preprocessing the sensor time series data, input a pre-trained first prediction model to obtain estimated sensor data inside the pipeline in a future set time period; the first prediction model is obtained by training a neural network based on a spatiotemporal attention graph through samples of historical sensor time series data inside the pipeline; the control device is adjusted according to the estimated sensor data to obtain the response time data and operation status data of the control device; the real-time sensor data inside the pipeline is obtained; the estimated sensor data is biased according to the real-time sensor data. The difference is calculated to obtain the first predicted deviation of the estimated sensor data; according to the first predicted deviation, the first false alarm rate is determined; based on the real-time sensor data, the first false alarm rate, the response time data and the operation status data, a first warning index is generated and sent to the relevant management personnel; this not only improves the monitoring efficiency, but also can grasp the state changes of the goods in real time through the sensor, and can also monitor the state changes of the control equipment, so that the monitoring data is more comprehensive; at the same time, the application fully considers the correlation and change relationship of the monitoring variables, improves the accuracy of the final warning, optimizes the warning effect of the system, helps the management personnel to maintain the on-site equipment and environment in time, and ensures the safety and reliability of the port's liquid bulk cargo during the loading and unloading process. BRIEF DESCRIPTION OF THE DRAWINGS

[0060] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present application. Also, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:

[0061] Figure 1 A flow chart of the port liquid bulk cargo monitoring and early warning method based on the Internet of Things provided by the present application is shown;

[0062] Figure 2 A schematic diagram of a port liquid bulk cargo monitoring and early warning system based on the Internet of Things provided by the present application is shown;

[0063] Figure 3 A schematic diagram of an electronic device provided by the present application is shown. DETAILED DESCRIPTION

[0064] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0065] It should be noted that, unless otherwise specified, the technical terms or scientific terms used in this application should have the common meanings understood by technicians in the field to which this application belongs.

[0066] In addition, the terms "first" and "second" etc. are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or devices.

[0067] Please refer to Figure 1 , Figure 1 : is a flow chart of a port liquid bulk cargo monitoring and early warning method based on the Internet of Things provided in an embodiment of the present application, comprising the following steps:

[0068] S101. Obtain the sensor time series data inside the pipeline in the historical time period; the management personnel need to deploy sensors in the pipeline in advance, specifically in the liquid bulk loading and unloading area, such as the key position of the pipeline, to deploy temperature sensors, pressure sensors and flow rate sensors. These sensors can monitor key parameters such as temperature, pressure and flow rate in the liquid bulk loading and unloading process in real time.

[0069] S102, after preprocessing the sensor time series data (such as temperature time series data, flow rate time series data and pressure time series data), input the pre-trained first prediction model to obtain estimated sensor data inside the pipeline within a future set time period; the first prediction model is obtained by training a spatiotemporal attention graph-based neural network with historical sensor time series data samples inside the pipeline;

[0070] S103, adjusting the control device according to the estimated sensor data to obtain response time data and operation status data of the control device;

[0071] In step S103, the control device includes an oil pump and a valve, and the operating status data is preferably vibration noise data. By acquiring the vibration noise data, it can be determined whether the oil pump and the valve have faults, as follows;

[0072] Vibration Analysis:

[0073] Oil pumps and valves generate specific vibration signals when they are operating normally. When these devices fail, their vibration signals change. For example, bearing damage, poor gear transmission, and other failures may cause changes in the characteristics of the vibration signal.

[0074] Vibration diagnosis technology can collect vibration signals of oil pumps and valves at multiple locations, and use spectrum analysis and other methods to perform frequency domain analysis to obtain the vibration conditions of the equipment at different frequencies. In this way, it can be determined whether there is a fault and the location and type of the fault.

[0075] Noise analysis:

[0076] Oil pumps and valves will also produce specific noise signals when they fail, for example, bearing damage may produce metal grinding sounds, and poor gear transmission may produce knocking sounds.

[0077] Noise diagnosis technology includes acoustic signal acquisition, signal processing, frequency domain analysis and other steps. By acquiring the noise signal generated when the equipment fails and performing frequency domain analysis, the type and location of the fault can be determined.

[0078] Method for obtaining vibration noise data:

[0079] Professional noise monitoring equipment and sensors can be used to monitor and record the vibration and noise data of oil pumps and valves in real time, thereby accurately reflecting the operating status of the equipment.

[0080] S104, obtaining real-time sensor data inside the pipeline;

[0081] S105. According to the real-time sensor data, the estimated sensor data is subjected to deviation calculation to obtain a first predicted deviation of the estimated sensor data. The specific calculation of the first predicted deviation is as follows: |real-time sensor data-estimated sensor data| ÷ estimated sensor data. This value will give the relative deviation between the estimated sensor data and the real-time sensor data. According to the calculated first predicted deviation, the accuracy of the estimated sensor data can be determined. The smaller the deviation, the closer the estimated data is to the actual data, and the more accurate the prediction is.

[0082] S106. Determine a first false alarm rate based on the first predicted deviation; when the first predicted deviation between the real-time sensor data and the estimated sensor data exceeds a set threshold, it can be considered that this is a "false alarm" situation. That is, the estimated sensor data is considered inaccurate or unreliable. The first false alarm rate is calculated as follows: the number of false alarms ÷ the total number of tests.

[0083] S107: Generate a first warning index based on the real-time sensor data, the first false alarm rate, the response time data and the operation status data, and send it to relevant management personnel.

[0084] The calculation of the above first warning index can adopt existing weighted summation, linear combination, nonlinear mapping and other methods, depending on the characteristics of the data and the warning requirements.

[0085] In some embodiments of the present application, after generating the first warning index, the following steps are further included:

[0086] S1. Obtaining the operating status time series data of the control device in the historical time period;

[0087] S2, after preprocessing the operating status time series data, input the pre-trained second prediction model to obtain the estimated operating status data of the control device in the future set time period; the second prediction model is obtained by training the spatiotemporal attention graph-based neural network through the historical operating status time series data samples of the control device;

[0088] S3. Calculate the deviation of the estimated operating status data according to the operating status data to obtain a second predicted deviation of the estimated operating status data;

[0089] S4. determining a second false alarm rate according to the second prediction deviation;

[0090] S5. Generate a second warning index based on the response time data, the second false alarm rate and the operation status data;

[0091] S6. Generate a comprehensive early warning index based on the first early warning index and the second early warning index, and send it to relevant management personnel, which helps to further enhance the accuracy of early warning. The calculation method involved above can refer to the above method.

[0092] In step S102, the present application pre-trains the first prediction model in the following manner:

[0093] S1021. Obtain historical sensor time series data samples inside the pipeline; wherein, the historical sensor time series data samples refer to sensor historical data (specifically, it can be temperature historical data collected by a temperature sensor, flow rate historical data collected by a flow rate sensor, and pressure historical data collected by a pressure sensor), and are counted as time series data with a resolution of daily.

[0094] S1022, after performing the preprocessing on the historical sensor time series data samples, convert the historical sensor time series data samples into sensor supervised data;

[0095] S1023. Input the supervised data of the sensor into the graph neural network for training, and obtain the first prediction model after reaching a preset training cutoff condition.

[0096] Similarly, in step S2, the present application pre-trains the second prediction model in the following manner:

[0097] S21, obtaining a time series data sample of the historical operation status of the control device;

[0098] S22, after performing the preprocessing on the historical operation status time series data samples, converting the historical operation status time series data samples into operation status supervised data;

[0099] S23. Input the supervised data of the operating status into the graph neural network for training, and obtain a second prediction model after reaching a preset training cutoff condition.

[0100] In the present application, the graph neural network specifically includes a sequentially connected graph attention layer, a temporal attention layer, a spatiotemporal fusion layer, a feature extractor and an output layer.

[0101] The advantages of spatiotemporal attention graph neural networks are mainly reflected in their ability to capture spatiotemporal correlations, dynamically learn salient regions, introduce attention mechanisms, have flexibility and interpretability, improve performance, and have wide applications. These advantages make models based on spatiotemporal attention graph neural networks have significant advantages in processing complex data with spatiotemporal dependencies.

[0102] In some embodiments of the present application, after generating the first warning index, the following steps are further included:

[0103] A1. Maintain the pipeline and the control equipment respectively to obtain a first parameter vector and a second parameter vector; the first parameter vector may be a state parameter of a key position (such as elbows, joints, valves, etc.) after pipeline maintenance, such as pressure, temperature, flow, etc.; the second parameter vector may be a state parameter of the control equipment after maintenance, such as response time, accuracy, failure rate, etc.;

[0104] A2. Determine a first correction parameter according to the first parameter vector and the second parameter vector, as follows:

[0105] Step 1: Data cleaning and preprocessing, including normalization, cleaning data, and removing noise, outliers, or missing values.

[0106] Step 2: Determine key parameters and thresholds, analyze the parameters in the first parameter vector and the second parameter vector, and determine which parameters have a significant impact on system performance or risk.

[0107] Set appropriate thresholds or ranges for each key parameter based on historical data, expert knowledge, or industry standards.

[0108] Step 3: Calculate parameter deviation.

[0109] For each key parameter, the deviation between its actual value (in the first parameter vector or the second parameter vector) and the expected value (based on the threshold or standard value) is calculated.

[0110] The deviation can be an absolute value, a percentage, or other suitable measure.

[0111] Step 4: Determine the correction parameters.

[0112] Based on the parameter deviation, a first correction parameter is determined.

[0113] For example, data cleaning: ensuring that all pressure values ​​and response time values ​​are valid and removing outliers.

[0114] Determine key parameters and thresholds: Assume that you are concerned about the pressure parameter and response time parameter, and set the pressure threshold to [1.0, 1.5] MPa and the response time threshold to [0.5, 1.0] seconds.

[0115] Calculate parameter deviations: For each pressure value and response time value, calculate its deviation from the corresponding threshold value (eg, using the absolute value deviation).

[0116] Determine the correction parameter: Assume that the average value of all pressure deviations and response time deviations is used as the correction parameter. Calculate these two average values ​​and add them together or take other appropriate combinations (such as weighted average) to obtain the final correction parameter.

[0117] A3. Adjust the first warning index according to the first correction parameter to generate a third warning index to reflect the actual status of the equipment after maintenance. This can more accurately reflect the risk level of the equipment after maintenance;

[0118] A4. Generate a fourth warning index based on the third warning index and the comprehensive warning index. Specifically, the third warning index and the comprehensive warning index can be combined by weighted average, maximum value, minimum value or other statistical methods to generate the final fourth warning index.

[0119] In some embodiments of the present application, after generating the fourth warning index, the method further includes:

[0120] A41. If the fourth warning index exceeds a preset threshold, the control device is turned off, and a third parameter vector is generated accordingly; the third parameter vector includes state information, a timestamp, etc. when the control device is turned off;

[0121] A42, prepare emergency equipment, and generate a fourth parameter vector accordingly, the fourth parameter vector including information such as the state of the emergency equipment, preparation time, and operators;

[0122] A43, calculating the correlation between the third parameter vector and the fourth parameter vector. Specifically, the correlation between the two parameter vectors may be calculated using an existing correlation calculation method (such as a Pearson correlation coefficient, a Spearman rank correlation coefficient, etc.);

[0123] A44. Establishing a first response index based on the response time data, the fourth warning index and the correlation degree. Specifically, the first response index may be calculated by weighting, summing and other methods;

[0124] A45. Establishment of a second response index based on self-checking of liquid bulk cargoes during loading and unloading;

[0125] A46. According to the first response index and the second response index, establish a linkage relationship between the control equipment and the emergency equipment, and start the emergency equipment.

[0126] In the above step A45, the self-checking of the liquid bulk cargo during the loading and unloading process to establish the second response index includes:

[0127] The road conditions and berth conditions near the wharf are collected respectively to obtain first image data and second image data;

[0128] respectively collecting the state of the pipeline and the operation of the control device to obtain third image data and fourth image data;

[0129] A second response index is established based on the first image data, the second image data, the third image data, and the fourth image data.

[0130] The step of establishing the second response index based on the first image data, the second image data, the third image data and the fourth image data specifically includes the following steps:

[0131] Feature extraction is performed on the first image data, the second image data, the third image data, and the fourth image data respectively; if the above image data come from different sources or sensors, data preprocessing is required, such as radiation calibration, geometric correction, atmospheric correction, etc., to ensure data comparability;

[0132] The above selects appropriate feature extraction methods, such as gray-level co-occurrence matrix, Fourier transform, wavelet transform, etc.;

[0133] Screen out features related to the second response index; the features may include brightness, color, texture, shape, etc. of the image; fuse the screened features to create a comprehensive feature set; specific feature fusion methods may include simple superposition, weighted average, and principal component analysis (PCA);

[0134] The second response index is calculated based on the fused feature set. For example, a regression model (such as linear regression, random forest regression, support vector machine regression, etc.) can be used to predict the value of the second response index.

[0135] The method provided in the embodiment of the present application has the following beneficial effects:

[0136] The port liquid bulk cargo monitoring and early warning method and system based on the Internet of Things provided in the present application obtain sensor time series data inside the pipeline in a historical time period; after preprocessing the sensor time series data, input a pre-trained first prediction model to obtain estimated sensor data inside the pipeline in a future set time period; the first prediction model is obtained by training a neural network based on a spatiotemporal attention graph through samples of historical sensor time series data inside the pipeline; the control device is adjusted according to the estimated sensor data to obtain the response time data and operation status data of the control device; the real-time sensor data inside the pipeline is obtained; and the deviation of the estimated sensor data is calculated according to the real-time sensor data. A first predicted deviation of the estimated sensor data is obtained; a first false alarm rate is determined according to the first predicted deviation; a first warning index is generated based on the real-time sensor data, the first false alarm rate, the response time data and the operation status data, and the index is sent to relevant management personnel; this not only improves the monitoring efficiency, but also enables the state changes of the cargo to be grasped in real time through the sensor, and also enables the state changes of the control equipment to be monitored, making the monitoring data more comprehensive; at the same time, the present application fully considers the correlation and change relationship of the monitoring variables, improves the accuracy of the final warning, optimizes the warning effect of the system, helps management personnel to timely maintain the on-site equipment and environment, and ensures the safety and reliability of the port's liquid bulk cargo during the loading and unloading process.

[0137] In the above-mentioned embodiment, a port liquid bulk cargo monitoring and early warning method based on the Internet of Things is provided. Correspondingly, the present application also provides a port liquid bulk cargo monitoring and early warning system based on the Internet of Things. Figure 2 As shown, the port liquid bulk cargo monitoring and early warning system based on the Internet of Things provided in the embodiment of the present application can implement the above-mentioned port liquid bulk cargo monitoring and early warning method based on the Internet of Things, and the system can be implemented by software, hardware, or a combination of software and hardware. For example, the system may include integrated or separate functional modules or units to perform the corresponding steps in the above-mentioned methods, including:

[0138] The first acquisition module 101 is used to acquire sensor time series data inside the pipeline within a historical time period;

[0139] The first training module 102 pre-processes the sensor time series data and inputs the pre-trained first prediction model to obtain the estimated sensor data inside the pipeline within a future set time period; the first prediction model is obtained by training a spatiotemporal attention graph-based neural network through historical sensor time series data samples inside the pipeline;

[0140] An adjustment module 103, used to adjust the control device according to the estimated sensor data to obtain response time data and operation status data of the control device;

[0141] The second acquisition module 104 is used to acquire real-time sensor data inside the pipeline;

[0142] A first deviation calculation module 105 is used to perform deviation calculation on the estimated sensor data according to the real-time sensor data to obtain a first predicted deviation of the estimated sensor data;

[0143] A first false alarm calculation module 106, configured to determine a first false alarm rate according to the first predicted deviation;

[0144] The first warning module 107 is used to generate a first warning index based on the real-time sensor data, the first false alarm rate, the response time data and the operation status data, and send it to relevant management personnel.

[0145] The system provided in the embodiment of the present application and the method provided in the embodiment of the present application are based on the same inventive concept and have the same beneficial effects as the methods adopted, operated or implemented therein.

[0146] The embodiment of the present application also provides an electronic device corresponding to the method provided in the above embodiment, and the electronic device can be an electronic device used for a client, such as a mobile phone, a laptop computer, a tablet computer, a desktop computer, etc., to execute the above method.

[0147] Please refer to Figure 3 , which shows a schematic diagram of an electronic device provided by some embodiments of the present application. Figure 3 As shown, the electronic device 20 includes: a processor 200, a memory 201, a bus 202 and a communication interface 203, and the processor 200, the communication interface 203 and the memory 201 are connected via the bus 202; the memory 201 stores a computer program that can be run on the processor 200, and when the processor 200 runs the computer program, it executes the phishing email tracing method provided in any of the aforementioned embodiments of the present application.

[0148] The memory 201 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk memory. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 203 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used.

[0149] The bus 202 may be an ISA bus, a PCI bus, or an EISA bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. The memory 201 is used to store programs, and the processor 200 executes the programs after receiving execution instructions. The method disclosed in any implementation of the above-mentioned embodiment of the present application may be applied to the processor 200, or implemented by the processor 200.

[0150] The processor 200 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 200. The above processor 200 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 readily available programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application can be directly embodied as a hardware decoding processor to be executed, or the hardware and software modules in the decoding processor can be executed. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 201, and the processor 200 reads the information in the memory 201 and completes the steps of the above method in combination with its hardware.

[0151] The electronic device provided in the embodiment of the present application and the method provided in the embodiment of the present application are based on the same inventive concept and have the same beneficial effects as the method adopted, operated or implemented by them.

[0152] The present application also provides a computer-readable storage medium corresponding to the method provided in the above-mentioned embodiment, on which a computer program (ie, a program product) is stored. When the computer program is executed by a processor, the method provided in any of the above-mentioned embodiments is executed.

[0153] It should be noted that examples of the computer-readable storage medium may also 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 optical or magnetic storage media, which are not listed here one by one.

[0154] The computer-readable storage medium provided in the above-mentioned embodiments of the present application and the method provided in the embodiments of the present application are based on the same inventive concept and have the same beneficial effects as the method adopted, run or implemented by the application program stored therein.

[0155] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application, and they should all be included in the scope of the claims and specification of the present application.

Claims

1. A port liquid bulk cargo monitoring and early warning method based on the Internet of Things, characterized in that: The following steps are involved: Obtain the sensor time series data within the pipeline within the historical time period; After preprocessing the sensor time series data, the pre-trained first prediction model is input to obtain the estimated sensor data inside the pipeline in the future set time period; the first prediction model is obtained by training the spatiotemporal attention graph-based neural network through historical sensor time series data samples inside the pipeline; the sensor time series data includes temperature time series data, flow rate time series data and pressure time series data; Adjust the control device according to the estimated sensor data to obtain the response time data and operation status data of the control device; Get real-time sensor data inside the pipeline; According to the real-time sensor data, the estimated sensor data is deviated and the first predicted deviation of the estimated sensor data is obtained. The specific calculation of the first predicted deviation is as follows: |real-time sensor data-estimated sensor data| Estimating sensor data; According to the first predicted deviation, the first false alarm rate is determined; the first false alarm rate is calculated as follows: the number of false alarms The total number of tests; Based on the real-time sensor data, the first false alarm rate, the response time data and the operation status data, a first warning index is generated and sent to relevant management personnel.

2. The method according to claim 1, characterized in that: After generating the first warning index, the method further includes: Obtain the time series data of the operating status of the control device in the historical time period; After preprocessing the operating status time series data, the pre-trained prediction model is input to obtain the estimated operating status data of the control device in the future set time period; the prediction model is obtained by training the spatiotemporal attention graph-based neural network with the historical operating status time series data samples of the control device; According to the running state data, a deviation calculation is performed on the estimated running state data to obtain a second predicted deviation of the estimated running state data; determining a second false alarm rate according to the second prediction deviation; generating a second warning index based on the response time data, the second false alarm rate and the operation status data; Based on the first warning index and the second warning index, a comprehensive warning index is generated and sent to relevant managers.

3. The method according to claim 1, characterized in that The first prediction model is pre-trained as follows: Obtain historical sensor time series data samples inside the pipeline; After performing the preprocessing on the historical sensor time series data samples, the historical sensor time series data samples are converted into sensor supervised data; The sensor supervised data is input into the graph neural network for training, and the first prediction model is obtained after reaching the preset training cutoff condition.

4. The method according to claim 1, characterized in that: The prediction model is pre-trained as follows: Obtain historical operating status time series data samples of control equipment; After the historical operation status time series data samples are preprocessed, the historical operation status time series data samples are converted into operation status supervised data; The supervised data of the operating status is input into the graph neural network for training, and the prediction model is obtained after reaching the preset training cutoff condition.

5. The method according to claim 1 or 2, characterized in that: The graph neural network includes a sequentially connected graph attention layer, a temporal attention layer, a spatiotemporal fusion layer, a feature extractor and an output layer.

6. The method according to claim 1 or 2, characterized in that: After generating the first warning index, the method further includes: Maintain the pipeline and the control device respectively to obtain a first parameter vector and a second parameter vector; the first parameter vector is a state parameter of a state parameter of a key position after the pipeline maintenance; the second parameter vector is a state parameter of the control device after the maintenance; Determining a first correction parameter according to the first parameter vector and the second parameter vector; Adjust the first warning index according to the first correction parameter to generate a third warning index; Generate a fourth warning index based on the third warning index and the comprehensive warning index; The first correction parameter is determined according to the first parameter vector and the second parameter vector, specifically as follows: Data cleaning and preprocessing, including normalization, cleaning data, and removing noise, outliers, or missing values; Determine key parameters and thresholds, analyze the parameters in the first parameter vector and the second parameter vector, and determine which parameters have a significant impact on system performance or risk; Set thresholds or ranges for each key parameter based on historical data, expert knowledge, or industry standards; For each key parameter, calculating the deviation between the first parameter vector or the second parameter vector and the expected value; Based on the parameter deviation, a first correction parameter is determined.

7. The method according to claim 6, characterized in that After generating the fourth early warning index, the method further includes: If the fourth warning index exceeds the preset threshold, the control device is turned off, and a third parameter vector is generated accordingly; the third parameter vector includes the state information and timestamp when the control device is turned off; Prepare emergency equipment and generate a fourth parameter vector accordingly; the fourth parameter vector includes the state of the emergency equipment, preparation time and operator information; calculating a correlation degree between the third parameter vector and the fourth parameter vector; Establishing a first response index based on response time data, fourth warning index, and relevance; Establishment of a second response index based on self-checking of liquid bulk cargoes during loading and unloading; According to the first response index and the second response index, a linkage relationship between the control device and the emergency device is established, and the emergency device is started.

8. The method according to claim 7, characterized in that The self-inspection during the loading and unloading process of liquid bulk cargo to establish the second response index includes: The road conditions and berth conditions near the wharf are collected respectively to obtain first image data and second image data; respectively collecting the state of the pipeline and the operation of the control device to obtain third image data and fourth image data; A second response index is established based on the first image data, the second image data, the third image data, and the fourth image data.

9. The method according to claim 8, characterized in that The step of establishing a second response index based on the first image data, the second image data, the third image data and the fourth image data comprises: respectively extracting features from the first image data, the second image data, the third image data, and the fourth image data; Screening out features associated with the second response index; The filtered features are fused to create a comprehensive feature set; The second response index is calculated based on the fused feature set.

10. The port liquid bulk cargo monitoring and early warning system based on the Internet of Things is characterized by: include: The first acquisition module is used to acquire the sensor time series data inside the pipeline within a historical time period; The first training module pre-processes the sensor time series data and inputs the pre-trained first prediction model to obtain the estimated sensor data inside the pipeline in a future set time period; the first prediction model is obtained by training the spatiotemporal attention graph-based neural network through historical sensor time series data samples inside the pipeline; the sensor time series data includes temperature time series data, flow rate time series data and pressure time series data; An adjustment module, used to adjust the control device according to the estimated sensor data, and obtain the response time data and operation status data of the control device; The second acquisition module is used to acquire real-time sensor data inside the pipeline; The first deviation calculation module is used to perform deviation calculation on the estimated sensor data according to the real-time sensor data to obtain a first predicted deviation of the estimated sensor data; the specific calculation of the first predicted deviation is as follows: |real-time sensor data-estimated sensor data| Estimating sensor data; The first false alarm calculation module is used to determine the first false alarm rate according to the first predicted deviation; the first false alarm rate is calculated as follows: the number of false alarms The total number of tests; The first warning module is used to generate a first warning index based on real-time sensor data, a first false alarm rate, response time data and operation status data, and send it to relevant management personnel.