An oil mixing interface tracking method and system based on the internet of things
The Internet of Things (IoT) technology has solved the technical problem of locating the oil mixing interface, enabling the application of the patent in the field of environmental pollution prevention and purification technology. Specifically, it is used to track the oil mixing interface of finished oil during pipeline transportation, thereby improving the efficiency and safety of oil transportation.
Patent Information
- Application Number
- CN202311441426.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-01
- Publication Date
- 2026-03-03
- Estimated Expiration
- 2043-11-01
AI Technical Summary
During pipeline transportation, it is difficult to accurately track the mixing interface of refined oil, which leads to a decline in oil quality and an increase in safety risks. Existing technologies cannot effectively solve the problem of precise cutting and distribution of the mixing interface.
An IoT-based method and system for tracking oil mixing interfaces is adopted. By deploying sensors in oil pipelines to form a sensor acquisition network, oil data is recorded in real time and compared with standard information to generate location tracking sequences and transportation monitoring data. This enables flow monitoring, feature value analysis, oil segmentation, and feedback regulation, thereby achieving real-time scheduling of oil products.
It improved the efficiency of oil transportation, reduced the workload of data processing, enhanced database access security, ensured the efficient use of oil separators and accountability, and reduced economic losses caused by oil mixing interfaces.
Smart Images

Figure CN117489991B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of oil mixing interface tracking technology, specifically an oil mixing interface tracking method and system based on the Internet of Things. Background Technology
[0002] In terms of refined oil interface tracking, multiple refined oils are transported sequentially in the same pipeline during pipeline transportation. Adjacent oils will form a mixing section, which will cause the interface position of the original batches of oils in the pipeline to change. Factors such as the temperature, density, viscosity, and pipeline pressure of the refined oils will also affect the mixing section. Mixing will lead to a decline in oil quality, increase oil safety risks, and in severe cases, lead to economic losses.
[0003] However, during batch transportation in pipelines, the mixing interface is unavoidable. Whether we can accurately track the position of the oil surface of each batch in the finished oil pipeline, precisely cut and distribute the oil batches, and minimize the length of the mixing interface are all issues we need to consider. Summary of the Invention
[0004] To address the aforementioned problems, the present invention aims to provide a method and system for tracking oil mixing interfaces based on the Internet of Things.
[0005] The first objective of this invention is to develop an Internet of Things (IoT)-based method for tracking oil mixing interfaces.
[0006] The second objective of this invention is to develop an Internet of Things-based oil mixing interface tracking system.
[0007] To achieve the aforementioned first objective, the present invention provides the following technical solution: a method for tracking oil mixing interfaces based on the Internet of Things, comprising the following steps:
[0008] Step S1: By deploying sensors in the oil pipeline to form a sensor acquisition network, the oil data information recorded by each sensor in the sensor acquisition network is collected, the oil data information is compared with standard oil information parameters to generate a dataset, and the oil is managed in real time based on the dataset.
[0009] Step S2: When several types of oil are transported in the oil pipeline, real-time oil transportation information is obtained, and the mixing interface formed at the junction of different oils is recorded. The location information of the mixing interface is recorded in real time to generate a location tracking sequence. The location tracking sequence and real-time oil transportation information are combined to generate transportation monitoring data.
[0010] Step S3: Acquire transportation monitoring data and perform real-time scheduling of oil products within the transportation pipeline through flow monitoring, feature value analysis, oil product segmentation, download allocation and transportation, and feedback adjustment.
[0011] Furthermore, the process of collecting the oil product data information includes:
[0012] Several temperature sensors, pressure sensors, infrared sensors, and density and viscosity measurement and analysis sensors are deployed on the oil pipeline, dividing the pipeline into several pipeline unit segments. Temperature and pressure sensors collect oil temperature and pressure data respectively, and infrared sensors generate distance measurement signals to obtain the distance between two infrared sensors. The density and viscosity measurement and analysis sensors are deployed within the oil pipeline unit segments to record the oil density and viscosity data of the oil flowing through the segment in real time. The sensors provide link permissions; after obtaining link permissions, any two sensors can be selected to establish a data transmission space for transmitting oil data information. All data transmission space labels are traversed, and a wireless connection is established between every two data transmission spaces with different labels, thus establishing a sensor acquisition network through the wireless connection.
[0013] Furthermore, the process of generating a dataset by comparing the oil product data information with standard oil product information parameters includes:
[0014] The sensor acquisition network is associated with a central database, which stores oil product data information from several data transmission spaces. The oil product data information and standard oil product information parameters are stored in traversal stack one and traversal stack two respectively for comparison. Traversal stack one and traversal stack two consist of several traversal nodes, each associated with an index value. Each time, two traversal nodes with the same index value are sequentially retrieved. The data similarity between two traversal nodes with the same index value is obtained through sequential comparison. Based on the data similarity, abnormal nodes and normal nodes are divided. All normal nodes are aggregated to generate a normal dataset, and all abnormal nodes are aggregated to generate an abnormal dataset.
[0015] Furthermore, the process of recording and generating the location tracking sequence of the oil mixing interface includes:
[0016] When several types of oil products are transported in oil pipelines, real-time oil product transportation information is obtained. The real-time oil product transportation information includes oil product type, oil product transportation capacity, oil product transportation time, oil product demand arrival time, and oil product batch.
[0017] Within the same batch of oil products, the oil transportation speed is obtained based on the oil transportation capacity, oil transportation time, and oil demand arrival time. At the interface between different types of oil products, a mixing interface is generated. The mixing interface is associated with the mixing interface length, the mixing interface cross-sectional area, and the mixing interface formation time.
[0018] The initial position of the oil pipeline is obtained as the origin of the coordinate system. The mixing capacity of the oil interface is obtained based on the length and cross-sectional area of the mixing interface. The pipeline length occupied by different types of oil in the oil pipeline is obtained. The position point of the mixing interface in the oil pipeline is obtained based on the pipeline length, the origin of the coordinate system, and the length of the mixing interface, and a position tracking sequence is generated.
[0019] Furthermore, the process of generating the transportation monitoring data includes:
[0020] After obtaining the location tracking sequence and real-time oil transportation information, both are input into the set matching and filtering unit. The matching and filtering unit is connected to the set identity verification unit. Maintenance personnel input identity information into the identity verification unit for identity verification. After successful identity verification, the matching and filtering unit generates different data monitoring coefficients, and the part of the data monitoring coefficient that is greater than or equal to the set retention coefficient is used as transportation monitoring data.
[0021] Furthermore, the process of obtaining real-time flow information within the oil pipeline through the aforementioned flow monitoring includes:
[0022] The flow monitoring is performed by a flow monitoring recorder, which includes several segmented flow nodes. A flow statistics table of the oil pipeline is generated by summarizing the flow information recorded at the segmented flow nodes. The number of mixed oil interfaces with normal flow data and the number of mixed oil interfaces with abnormal flow data are counted respectively. Several feature values are generated based on the segmented flow nodes corresponding to the mixed oil interfaces with normal flow data, and a feature value file set is generated.
[0023] Furthermore, the process of oil product segmentation, downloading, distribution, and feedback regulation includes:
[0024] After obtaining the feature values from the feature file set, a segmentation processing form is generated. The segmentation processing form includes the length of the oil product to be segmented, the segmentation priority, the width of the oil product to be segmented, and the segmentation status. When the segmentation status is "segmentation in progress," the oil product segmentation operation is initiated. The oil product segmentation operation segments several mixed oil interfaces according to the segmentation priority. The download capacity is obtained based on the length and width of the oil product to be segmented, and oil product distributors with storage capacity values greater than or equal to the download capacity value are scheduled for download, distribution, and transportation. Real-time oil pipeline operation data after oil product segmentation and download, distribution, and transportation are obtained. The real-time oil pipeline operation data is input into the set feedback model to generate pipeline feedback values for real-time scheduling of oil products within the oil pipeline.
[0025] Based on the same inventive principle, and to achieve the aforementioned second inventive objective, this invention provides an IoT-based oil mixing interface tracking system, employing an IoT-based oil mixing interface tracking method as described in the first invention, comprising the following modules:
[0026] The sensor module is used to deploy sensors in the oil pipeline to form a sensor network to record oil data information. The oil data information is compared with the set standard oil information parameters to generate a dataset for real-time oil management.
[0027] The location tracking module is used to acquire real-time transportation information of oil products, record the oil mixing interface formed at the junction of different oil products, generate a location tracking sequence, and then acquire transportation monitoring data.
[0028] The scheduling and processing module is used to acquire transportation monitoring data and to perform real-time scheduling of oil products in the transportation pipeline through flow monitoring, feature value analysis, oil product segmentation, download allocation and transportation, and feedback adjustment.
[0029] Compared with the prior art, the beneficial effects of the present invention are:
[0030] 1. The data filtering library filters out data that is outside the set standard data ranges for oil density and viscosity, thus reducing the workload of data processing. The data transmission space is set to an encrypted state, and data transmission can only be carried out after obtaining the key assigned by the administrator. The key is set to have a destruction time, and the key is destroyed at the destruction time, but the key sequence corresponding to the key is retained. The key sequence of newly generated keys cannot be the same as the key sequence of destroyed keys. The main database is set to be readable by the administrator only, which improves the access security of the database. The comparison of traversal nodes included in the traversal stack is to compare multiple traversal nodes with the same index value together. The number of comparisons can be set manually, and the larger the number, the higher the data comparison efficiency.
[0031] 2. Different batches of refined oil products are transported in oil pipelines at different standard transport speeds. The standard transport speed is adjusted according to the type of oil product. When transporting oil products within the same batch, the transport speed is increased by reducing the transport time, thus making the transport efficiency more efficient. The transport speed is set to not exceed the set threshold to avoid damage to the oil pipeline due to excessive transport speed. The position of each oil mixing interface is accurately located by using the coordinate origin, pipeline occupancy length, and mixing interface length, laying the foundation for subsequent processing of the mixing interface.
[0032] 3. The identity verification unit ensures the privacy of maintenance personnel associated with the oil pipeline when obtaining pipeline information, preventing unauthorized personnel from accessing such information. The generated monitoring form synchronously records the contact information of maintenance personnel, facilitating subsequent accountability. The segmentation processing form lays the foundation for oil segmentation in the subsequent mixed oil interface. By arranging oil segmenters of appropriate specifications at the start and end cutting points, the highest efficiency of the oil segmenters is ensured. Setting different segmentation priorities ensures that the segmentation is sequential, guaranteeing that urgently needed mixed oil interfaces can be processed in the first instance. Attached Figure Description
[0033] Figure 1 This is a flowchart of the present invention. Detailed Implementation
[0034] like Figure 1 As shown, an IoT-based method for tracking oil mixing interfaces includes the following steps:
[0035] Step S1: By deploying sensors in the oil pipeline to form a sensor acquisition network, the oil data information recorded by each sensor in the sensor acquisition network is collected, the oil data information is compared with standard oil information parameters to generate a dataset, and the oil is managed in real time based on the dataset.
[0036] Step S2: When several types of oil are transported in the oil pipeline, real-time oil transportation information is obtained, and the mixing interface formed at the junction of different oils is recorded. The location information of the mixing interface is recorded in real time to generate a location tracking sequence. The location tracking sequence and real-time oil transportation information are combined to generate transportation monitoring data.
[0037] Step S3: Acquire transportation monitoring data and perform real-time scheduling of oil products within the transportation pipeline through flow monitoring, feature value analysis, oil product segmentation, download allocation and transportation, and feedback adjustment.
[0038] Specifically, the process of collecting oil product data includes:
[0039] Several sensors are installed on the oil pipeline, including temperature sensors, pressure sensors, infrared sensors, and density and viscosity measurement and analysis sensors.
[0040] The oil pipeline is divided into segments, and each segment is numbered as i, i = 1, 2, 3, ..., n, where n is a natural number. After being divided into segments, the oil pipeline is divided into several oil pipeline unit segments. Temperature sensors, pressure sensors and infrared sensors are installed at the connection between two oil pipeline unit segments. Density and viscosity measurement and analysis sensors are installed in each oil pipeline unit segment.
[0041] Temperature and pressure data of oil in the pipeline are collected by temperature and pressure sensors respectively. Operation start permissions of infrared sensors arranged on the three connected oil pipeline unit segments are obtained. The three connected oil pipeline unit segments form two connection points. Each infrared sensor includes an information sending unit and an information receiving unit.
[0042] After obtaining operation start permission, the ranging signal generated by the infrared sensor at the first connection point is obtained. After the ranging signal is sent, it is received by the infrared sensor at the second connection point. After receiving the ranging signal, the distance between the two infrared sensors is generated.
[0043] The density and viscosity measurement and analysis sensor is arranged in the oil pipeline unit section to record the oil density and viscosity data of the oil flowing through the oil pipeline unit section in real time. The density and viscosity measurement and analysis sensor has a built-in data filtering library. After the data filtering library obtains the oil density and viscosity data, it compares them with its own built-in standard data ranges for oil density and viscosity, and filters out the data that is not within the set standard data ranges for oil density and viscosity.
[0044] The sensor provides link permissions. After obtaining the link permissions, any two sensors can be selected as link objects, and marked as object A and object B respectively. A data transmission space is established between object A and object B to transmit oil data information. All data transmission spaces are obtained and labeled as j, j = 1, 2, 3, ..., m, where m is a natural number.
[0045] By traversing the labels of all data transmission spaces, a wireless connection is established between every two data transmission spaces with different labels. Through the wireless connection, the sensors associated with several data transmission spaces establish a sensor acquisition network.
[0046] Specifically, the process of generating a dataset by comparing the oil product data information with standard oil product information parameters includes:
[0047] The sensor network is associated with a central database, which stores oil data information transmitted from several data transmission spaces. The central database only provides read access to the administrator. After obtaining read access, the administrator reads the oil data information and compares it with the set standard oil information parameters.
[0048] Set up traversal stack one and traversal stack two. Store oil product data information in traversal stack one and standard oil product information parameters in traversal stack two. Traversal stack one and traversal stack two are each composed of several traversal nodes. Each traversal node is associated with an index value. Record the index value of traversal stack one and the index value of traversal stack two as X and Y, respectively.
[0049] Where X and Y take values in the range of [1, 100], Y ∈ [1, 100], and X and Y take integer values;
[0050] Sequentially obtain two traversal nodes with the same index value in X and Y, and sequentially compare the oil product data information and standard oil product information parameters stored in the traversal nodes. Obtain the data similarity between the two traversal nodes with the same index value through sequential comparison, and denote it as S.
[0051] Based on the data similarity, each traversed node is divided into abnormal nodes and normal nodes. The rules for data similarity and traversed node division are as follows:
[0052] When S∈[0, 0.65], the corresponding traversed node is marked as an abnormal node;
[0053] When S∈[0.65, 0.95], mark the corresponding traversed node as a normal node;
[0054] The dataset includes a normal dataset and an abnormal dataset. A normal dataset is generated by aggregating all normal nodes, and an abnormal dataset is generated by aggregating all abnormal nodes. The normal dataset is distributed and stored through multi-point transformation, and the abnormal dataset is used for real-time oil product control.
[0055] It should be noted that the built-in data filtering library of the density and viscosity measurement and analysis sensor filters out data that is outside the set standard data ranges for oil density and viscosity, thus reducing the workload of data processing. The data transmission space established when the two sensors interact is encrypted. Data transmission can only be performed after obtaining the key assigned by the administrator. The key is set with a destruction time. The key is destroyed at the destruction time, but the key sequence corresponding to the key is retained. The key sequence of newly generated keys cannot be the same as the destroyed key sequence. The overall database is set to be readable only by the administrator, which improves the access security of the database. The comparison of traversal nodes included in the traversal stack is to compare multiple traversal nodes with the same index value together. The number of comparisons can be set manually. The larger the number, the higher the data comparison efficiency. Multi-point distributed storage periodically limits the storage location of the dataset by setting the change time and change location, which ensures the security of the dataset storage.
[0056] Specifically, the process of recording the oil mixing interface and generating a location tracking sequence based on the real-time oil transportation information includes:
[0057] When several types of oil products are transported in oil pipelines, real-time oil product transportation information is obtained. The real-time oil product transportation information includes oil product type, oil product transportation capacity, oil product transportation time, oil product demand arrival time, and oil product batch.
[0058] When the oil batches are the same, obtain the oil type, oil transportation capacity, oil transportation time, and oil demand arrival time, and mark the oil transportation capacity as R, the oil transportation time as T1, and the oil demand arrival time as T2.
[0059] The oil transportation speed is obtained from R, T1, and T2, and denoted as V. 标 , has V 标 =R / (T2-T1), under the same batch of oil products, the oil product transportation speed is increased by reducing the value of the oil product transportation time T1, and the oil product transportation speed is not allowed to exceed the set transportation speed threshold.
[0060] Within the same batch of oil products, an oil mixing interface is generated at the interface between different types of oil products. The oil mixing interface is associated with the length of the oil mixing interface, the cross-sectional area of the oil mixing interface, and the formation time of the oil mixing interface. The length of the oil mixing interface, the cross-sectional area of the oil mixing interface, and the formation time of the oil mixing interface are respectively marked as L, S, and T`.
[0061] Mark the initial position of the oil pipeline as the origin of the coordinate system, denoted as D. Obtain the mixing capacity of each mixing interface according to L and S, denoted as Rm, where Rm = L × S. Obtain the pipeline length occupied by each type of oil product in the oil pipeline, denoted as L`. Obtain the position point of each mixing interface in the oil pipeline according to the pipeline length L`, the origin of the coordinate system D, and the length of the mixing interface L, denoted as Lo, where Lo = D + L` + L.
[0062] After aggregating several location points, these location points are compared with pre-set marked location points. Location points that are not located at the marked location points are removed, and a location tracking sequence is generated based on the remaining location points.
[0063] It should be noted that the standard transportation speed for different batches of refined oil products transported in pipelines is different. The standard speed is adjusted accordingly based on the type of oil. When transporting oil within the same batch, the transportation speed is increased by reducing transportation time, thus making the transportation more efficient. The stipulation that the transportation speed should not exceed the set threshold is to avoid damage to the pipeline due to excessive oil transportation speed. The location of each mixing interface is accurately located by using the coordinate origin, pipeline occupancy length, and mixing interface length, which facilitates subsequent handling of the mixing interface.
[0064] Specifically, the process of generating the transportation monitoring data includes:
[0065] After obtaining the location tracking sequence and real-time oil transportation information, the two are input into the set matching and filtering unit. The matching and filtering unit establishes a communication connection with the set identity verification unit. Maintenance personnel associated with the oil pipeline verify their identity by inputting their identity information into the identity verification unit.
[0066] After successful identity verification, the identity verification unit assigns a transportation monitoring responsibility identifier to the maintenance personnel and generates a monitoring form simultaneously. The transportation monitoring responsibility identifier is used as the authentication association information of the monitoring form. The monitoring form records the oil mixing interface that malfunctioned and the corresponding oil pipeline unit segment. The contact information in the maintenance personnel's identity information is also recorded in the monitoring form.
[0067] The matching and filtering unit performs data matching after obtaining the location tracking sequence and real-time oil transportation information. After data matching, different data monitoring coefficients are generated, denoted as α. The part of the data monitoring coefficient that is greater than or equal to the set retention coefficient is extracted as transportation monitoring data.
[0068] It should be noted that the identity verification unit ensures the privacy of maintenance personnel associated with the oil pipeline when obtaining pipeline information, preventing unauthorized personnel from obtaining relevant information. The generated monitoring form synchronously records the contact information of maintenance personnel, facilitating subsequent accountability.
[0069] After acquiring transportation monitoring data, the flow situation in the oil pipeline is monitored in real time through flow monitoring. The interface of mixed oil that needs to be segmented is obtained through feature value analysis and a segmentation processing form is generated. After obtaining the segmentation processing form, the oil is segmented, downloaded, allocated and transported, and feedback is adjusted to realize the real-time scheduling of refined oil products in the oil pipeline.
[0070] Specifically, the process of obtaining real-time flow information within the oil pipeline through the aforementioned flow monitoring includes:
[0071] The flow monitoring is performed by a flow monitoring recorder, which includes several segmented flow nodes. Each segmented flow node is located at the oil mixing interface. The flow information recorded at the segmented flow nodes is aggregated to generate a flow statistics table for the oil pipeline.
[0072] After obtaining read permissions for the traffic statistics table, count the number of mixed-use interfaces with normal traffic data and the number of mixed-use interfaces with abnormal traffic data. Obtain the operation permissions for the traffic monitoring recorders associated with the mixed-use interfaces with abnormal traffic data, and increase the corresponding monitoring frequency according to the frequency included in the operation permissions.
[0073] Based on the segmented traffic nodes corresponding to the normal mixed oil interface of the traffic data, several feature values are generated, denoted as G. The several feature values are encapsulated to generate a feature value file set. The feature value file set is set with encryption permission. Only the administrator can read the data feature values after obtaining the permission code corresponding to the encryption permission.
[0074] Specifically, the process of obtaining the segmentation processing form and performing oil product segmentation, downloading, allocation, transportation, and feedback adjustment includes:
[0075] After obtaining the feature value file set, the administrator's permission code is obtained synchronously. The feature file set is read using the permission code, and the feature values in the feature file set are obtained to generate a segmentation processing form.
[0076] The content recorded in the segmentation processing form includes the length of the oil product to be segmented, the segmentation priority, the width of the oil product to be segmented, and the segmentation status;
[0077] The segmentation status includes "segmentation in progress" and "segmentation completed". When "segmentation in progress", the oil segmentation operation is started, a starting cutting point s1 and an ending cutting point s2 are generated, a cutting length is generated based on s1 and s2, the value of the cutting length is greater than or equal to the length of the oil to be segmented, a cutting width is generated, and the cutting width is greater than or equal to the width of the oil to be segmented.
[0078] According to the cutting length and cutting width, the corresponding oil cutter is dispatched to the corresponding oil mixing interface for segmentation. The segmentation operation is performed in the order of segmentation of several oil mixing interfaces by segmentation priority. The segmentation priority is denoted as A, and the value of A is in the range of [1, 7]. The value of A is an integer. The larger the number, the earlier the oil segmentation operation is performed.
[0079] After the oil product splitting operation is completed, the download capacity is generated based on the length and width of the oil product to be split. Oil product distributors with storage capacity values greater than or equal to the download capacity value are scheduled for allocation. The oil products in several oil product distributors are then aggregated to separate different types of oil products.
[0080] The system acquires real-time pipeline operation data after oil product splitting, downloading, distribution, and transportation operations. It inputs the pipeline operation data into the set feedback model to generate pipeline feedback values and summarizes all pipeline feedback values for real-time scheduling and management of refined oil products within the pipeline.
[0081] It should be noted that the feature value is the associated information value of the oil mixing interface that needs to be segmented. The feature value records the information that needs to be segmented and generates a segmentation processing form. The segmentation processing form lays the foundation for the subsequent oil mixing interface segmentation. By arranging oil separators of appropriate specifications at the start and end cutting points, the highest efficiency of the oil separators is ensured. Setting different segmentation priorities ensures that the segmentation has a sequence, ensuring that the oil mixing interface that needs to be processed urgently can be processed in the first time.
[0082] The present invention also provides an Internet of Things-based system for tracking the oil mixing interface, the system comprising:
[0083] The sensor module is used to deploy sensors in the oil pipeline to form a sensor acquisition network. The oil data information recorded by the sensor acquisition network is compared with the set standard oil information parameters to generate a dataset, and the oil is controlled in real time based on the dataset.
[0084] The location tracking module is used to acquire real-time transportation information of several types of oil products during transportation in oil pipelines, record the mixing interface formed at the junction of different oil products, generate a location tracking sequence by recording the location information of the mixing interface in real time, and generate transportation monitoring data based on the location tracking sequence and real-time oil transportation information.
[0085] The scheduling and processing module is used to acquire transportation monitoring data and to perform real-time scheduling of oil products in the transportation pipeline through flow monitoring, feature value analysis, oil product segmentation, download allocation and transportation, and feedback adjustment.
[0086] The above embodiments are only used to illustrate the technical methods of the present invention and are not intended to limit it. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical methods of the present invention without departing from the spirit and scope of the present invention.
Claims
1. A method for tracking oil mixing interfaces based on the Internet of Things, characterized in that, Includes the following steps: Step S1: By deploying sensors in the oil pipeline to form a sensor acquisition network, the oil data information recorded by each sensor in the sensor acquisition network is collected, the oil data information is compared with standard oil information parameters to generate a dataset, and the oil is managed in real time based on the dataset. Step S2: When several types of oil are transported in the oil pipeline, real-time oil transportation information is obtained, and the mixing interface formed at the junction of different oils is recorded. The location information of the mixing interface is recorded in real time to generate a location tracking sequence. The location tracking sequence and real-time oil transportation information are combined to generate transportation monitoring data. Step S3: Acquire transportation monitoring data and conduct real-time scheduling of oil products in the transportation pipeline through flow monitoring, feature value analysis, oil product segmentation, download allocation and transportation, and feedback adjustment; The process of traffic monitoring includes: The flow monitoring is performed by a flow monitoring recorder, which includes several segmented flow nodes. The flow information recorded at the segmented flow nodes is aggregated to generate a flow statistics table for the oil pipeline. The number of mixed oil interfaces with normal flow data and the number of mixed oil interfaces with abnormal flow data are counted separately. Based on the segmented flow nodes corresponding to the mixed oil interfaces with normal flow data, several feature values are generated and a set of feature value files is generated.
2. The method for tracking oil mixing interfaces based on the Internet of Things according to claim 1, characterized in that, The process of collecting oil product data includes: Several temperature sensors, pressure sensors, infrared sensors, and density and viscosity measurement and analysis sensors are deployed on the oil pipeline, dividing the pipeline into several pipeline unit segments. Temperature and pressure sensors collect oil temperature and pressure data respectively, and infrared sensors generate distance measurement signals to obtain the distance between two infrared sensors. The density and viscosity measurement and analysis sensors are deployed within the oil pipeline unit segments to record the oil density and viscosity data of the oil flowing through the segment in real time. The sensors provide link permissions; after obtaining link permissions, any two sensors can be selected to establish a data transmission space for transmitting oil data information. All data transmission space labels are traversed, and a wireless connection is established between every two data transmission spaces with different labels, thus establishing a sensor acquisition network through the wireless connection.
3. The method for tracking oil mixing interfaces based on the Internet of Things according to claim 2, characterized in that, The process of generating a dataset by comparing the oil product data with standard oil product information parameters includes: The sensor acquisition network is associated with a central database, which stores oil product data information from several data transmission spaces. The oil product data information and standard oil product information parameters are stored in traversal stack one and traversal stack two respectively for comparison. Traversal stack one and traversal stack two consist of several traversal nodes, each associated with an index value. Each time, two traversal nodes with the same index value are sequentially retrieved. The data similarity between two traversal nodes with the same index value is obtained through sequential comparison. Based on the data similarity, abnormal nodes and normal nodes are divided. All normal nodes are aggregated to generate a normal dataset, and all abnormal nodes are aggregated to generate an abnormal dataset.
4. The method for tracking oil mixing interfaces based on the Internet of Things according to claim 3, characterized in that, The process of recording the location information of the oil mixing interface and generating the location tracking sequence includes: When several types of oil products are transported in an oil pipeline, real-time oil transportation information is acquired, including oil type, oil transportation capacity, oil transportation time, oil demand arrival time, and oil batch. Within the same oil batch, the oil transportation speed is obtained based on the oil transportation capacity, oil transportation time, and oil demand arrival time. A mixing interface is generated at the boundary between different oil types. The mixing interface is associated with the mixing interface length, the mixing interface cross-sectional area, and the mixing interface formation time. The initial position of the oil pipeline is obtained as the coordinate origin. The mixing capacity of the interface is obtained based on the mixing interface length and the mixing interface cross-sectional area. The pipeline occupancy length of different oil types in the oil pipeline is obtained. The position point of the mixing interface in the oil pipeline is obtained based on the pipeline occupancy length, the coordinate origin, and the mixing interface length, and a position tracking sequence is generated.
5. The method for tracking oil mixing interfaces based on the Internet of Things according to claim 4, characterized in that, The process of generating the transportation monitoring data includes: After obtaining the location tracking sequence and real-time oil transportation information, both are input into the set matching and filtering unit. The matching and filtering unit is connected to the set identity verification unit. Maintenance personnel input identity information into the identity verification unit for identity verification. After successful identity verification, the matching and filtering unit generates different data monitoring coefficients, and the part of the data monitoring coefficient that is greater than or equal to the set retention coefficient is used as transportation monitoring data.
6. The method for tracking oil mixing interfaces based on the Internet of Things according to claim 5, characterized in that, The process of oil product splitting, distribution, and feedback regulation includes: After obtaining the feature values from the feature value file set, a segmentation processing form is generated. The segmentation processing form includes the length of the oil product to be segmented, the segmentation priority, the width of the oil product to be segmented, and the segmentation status. When the segmentation status is "Segmentation in progress", the oil product segmentation operation is started. The oil product segmentation operation performs the segmentation of several mixed oil interfaces according to the segmentation priority. The download capacity is obtained according to the length and width of the oil product to be segmented, and oil product distributors with storage capacity values greater than or equal to the download capacity values are scheduled for download, distribution, and transportation. Real-time oil pipeline operation data after oil product segmentation and download, distribution, and transportation are obtained. The real-time oil pipeline operation data is input into the set feedback model to generate pipeline feedback values for real-time scheduling of oil products within the oil pipeline.
7. A system for tracking oil mixing interfaces based on the Internet of Things, characterized in that, The method for tracking oil mixing interfaces based on the Internet of Things as described in any one of claims 1-6 includes the following modules: The sensor module is used to deploy sensors in the oil pipeline to form a sensor network to record oil data information. The oil data information is compared with the set standard oil information parameters to generate a dataset for real-time oil management. The location tracking module is used to acquire real-time transportation information of oil products, record the oil mixing interface formed at the junction of different oil products, generate a location tracking sequence, and then acquire transportation monitoring data. The scheduling and processing module is used to acquire transportation monitoring data and to perform real-time scheduling of oil products in the transportation pipeline through flow monitoring, feature value analysis, oil product segmentation, download allocation and transportation, and feedback adjustment.
Citation Information
Patent Citations
Method and device for detecting oil mixing interface in sequential oil transportation
CN102080767A
Method for detecting mixed oil interface of product oil pipeline by using near infrared spectrum
CN102235970A