Oil and gas production data processing method and system based on IPv6 network
By upgrading IPv4 devices to IPv6 in the oil and gas production system and building an IPv6 network, combining feature association model and dynamic provisioning scripts, the data processing and security problems of the IPv4 system are solved, the efficiency and security of the system are improved, and the system is achieved. Intelligent monitoring and optimization of oil and gas production process.
Patent Information
- Application Number
- CN202410963206.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-18
- Publication Date
- 2024-11-08
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In the existing oil and gas production systems, IPv4-based data transmission systems have problems such as insufficient address space, low transmission efficiency, low security and insufficient data processing capabilities, especially when facing real-time data transmission needs, the response speed is slow.
By upgrading the communication equipment of oil and gas production sites IPv6 protocol, building an IPv6 network, and using identity authentication and access control mechanisms to authenticate data acquisition terminals, monitoring terminals and communication terminals, and using pre-trained feature association models to associate data features Monitor, promptly detect abnormal situations, and optimize the operating parameters of off-grid power equipment through dynamic allocation scripts.
It improves the data processing capability, data transmission efficiency and security of the oil and gas production data processing system, realizes intelligent monitoring and optimization of the production process, and reduces energy consumption and operating costs.
Smart Images

Figure CN118921393A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of oilfield data management, and in particular to an IPv6-based oil and gas production application method and system. Background Art
[0002] Oil and gas production is a complex and critical industrial sector, mainly involving the extraction, processing and transportation of oil and natural gas. In this process, "oil" refers to petroleum, while "gas" in this plan specifically refers to natural gas used for hydrogen production. With the transformation of the global energy structure and the increasing demand for clean energy, natural gas, as a relatively clean fossil fuel, is increasingly valued in the energy field, especially as a raw material for hydrogen production.
[0003] In the current oil and gas production process, a large amount of real-time data needs to be efficiently transmitted and processed at all times. However, the IPv4-based data transmission system used in the existing oil and gas production system has the defects of insufficient address space, low transmission efficiency and low security. At the same time, due to the increasing demand for real-time data transmission, the IPv4 data transmission system also faces problems such as insufficient data processing capacity, low intelligence and slow response to abnormal situations. Summary of the invention
[0004] In order to improve the data processing capability, data transmission efficiency and data transmission security of the oil and gas production data processing system, the present application provides an oil and gas production data processing method and system based on IPv6 network.
[0005] The above-mentioned invention objective of the present application is achieved through the following technical solutions:
[0006] A method for processing oil and gas production data based on IPv6 network, comprising the steps of:
[0007] Upgrading IPv4-based communication equipment to IPv6-based communication equipment at oil and gas production sites and building an IPv6 network, where the communication equipment includes data acquisition terminals, monitoring terminals, and communication terminals;
[0008] Through the identity authentication and access control mechanism in the IPv6 network, the data collection terminal, monitoring terminal and communication terminal are authenticated respectively;
[0009] After identity authentication is completed, the production environment information from the data acquisition terminal and the production data information fed back by the monitoring terminal are received in real time;
[0010] Input the production environment information and production data information into the pre-trained feature association model for feature association monitoring;
[0011] When the abnormal correlation features output by the feature correlation model are received, they are processed based on the preset abnormal management strategy, and the abnormal correlation features and processing results are uploaded to the central server through the communication terminal.
[0012] By adopting the above technical solution, the original IPv4-based communication equipment (including data acquisition terminals, monitoring terminals and communication terminals) in the oil and gas production sites are upgraded to support the IPv6 protocol, and an IPv6 network is constructed accordingly. IPv6 not only increases the address space, but also supports more efficient data transmission and enhances the security of the network. After the IPv6 network is constructed, the data acquisition terminal, monitoring terminal and communication terminal are authenticated through the identity authentication and access control mechanism in the network. After the device passes the identity authentication, it receives the production environment information from the data acquisition terminal and the production data information fed back by the monitoring terminal in real time, and inputs the received production environment information and production data information into the pre-trained feature association model for feature association monitoring, thereby monitoring and timely discovering abnormal situations in the production process. In this case, if the feature association model outputs an abnormal association feature, it is processed based on the preset abnormal management strategy, and the abnormal association feature and the processing result are uploaded to the central server through the communication terminal for further analysis and recording; the present application performs IPv6-based equipment upgrade and network construction on the IPv4-based communication equipment in the oil and gas production site, and sets a pre-trained feature association model to perform feature association monitoring on the production environment information and production data information in the production process, intelligently identifies and tracks the association between key features, and when the feature association model outputs an abnormal association feature, the preset abnormal management strategy is initiated for processing, and the abnormal situation and the processing result are uploaded to the central server through the IPv6 network, which has the effect of improving the data processing capability, data transmission efficiency and security of the oil and gas production data processing system.
[0013] In a preferred example, the present application can be further configured as follows:
[0014] Integrate off-grid power equipment that supports the IPv6 protocol into the IPv6 network and authenticate the off-grid power equipment;
[0015] receiving device status information from off-grid power equipment at intervals, wherein the device status information includes operation information and energy consumption information of the production equipment;
[0016] The equipment status information is dynamically analyzed through the preset dynamic deployment script, and the operation information of the production equipment is adjusted based on the dynamic analysis results.
[0017] By adopting the above technical solution, off-grid power equipment that supports the IPv6 protocol is integrated into the IPv6 network. After the integration is completed, the off-grid power equipment is authenticated to ensure that only authorized equipment can access the IPv6 network, and equipment status information is received from the off-grid power equipment at intervals. The received information is analyzed in real time through a preset dynamic allocation script, and the operating parameters of the production equipment are automatically adjusted based on the analysis results. The present application realizes intelligent monitoring and optimization of the oil and gas production process by integrating off-grid power equipment, receiving and analyzing equipment status information, and dynamically adjusting operating parameters with a preset dynamic allocation script, thereby improving production efficiency, reducing energy consumption and operating costs.
[0018] In a preferred example, the present application can be further configured as follows: the step of dynamically analyzing the device status information through a preset dynamic deployment script and adjusting the operation information of the production equipment based on the dynamic analysis result includes the following steps:
[0019] The dynamic allocation script extracts features from the operation information and energy consumption information of the production equipment to obtain an operation status feature set, an electric energy consumption feature set, and a power factor feature set;
[0020] Perform feature coding conversion based on the operating state feature set and the electric energy consumption feature set, and the operating state feature set and the power factor feature set to generate an energy consumption characterization vector and a power factor characterization vector;
[0021] Dynamically analyze the energy consumption characterization vector and the power factor characterization vector respectively to generate a production energy consumption control plan and a production power control plan;
[0022] Adjust the operation information of production equipment based on the production energy consumption control plan and the production power control plan.
[0023] By adopting the above technical solution, the dynamic allocation script first extracts the key features of the received operation information and energy consumption information of the production equipment to form a state feature set, an electric energy consumption feature set and a power factor feature set. After extracting the key features, the feature encoding is converted to generate an energy consumption characterization vector and a power factor characterization vector, that is, a high degree of abstraction and representation of the original data, which is convenient for subsequent analysis and processing. After generating the energy consumption characterization vector and the power factor characterization vector, the dynamic allocation script will dynamically analyze these two vectors respectively: by analyzing the energy consumption characterization vector, the energy consumption of the equipment is evaluated, and a production energy consumption control plan is generated; by analyzing the power factor characterization vector, the power factor of the equipment is evaluated, and a production power control plan is generated. Based on the generated production energy consumption control plan and production power control plan, the dynamic allocation script adjusts the operation information of the production equipment to ensure that the production equipment operates in a more efficient and stable state, thereby improving the overall efficiency and reliability of oil and gas production.
[0024] In a preferred example, the present application can be further configured as follows: the IPv6 network includes an identity authentication server, and the steps of performing identity authentication on the data acquisition terminal, the monitoring terminal, and the communication terminal respectively through the identity authentication and access control mechanism in the IPv6 network include the steps of:
[0025] Establish communication connection between data collection terminal, monitoring terminal and communication terminal and IPv6 network based on TLS / SSL protocol;
[0026] Enable two-way authentication between data collection terminals, monitoring terminals and communication terminals and identity authentication servers.
[0027] By adopting the above technical solution, the data acquisition terminal, monitoring terminal and communication terminal establish a secure communication connection with the IPv6 network based on the TLS / SSL (Transport Layer Security / Secure Sockets Layer) protocol. The TLS / SSL protocol provides a method for establishing an encrypted channel between the communicating parties to ensure the confidentiality and integrity of data transmission, and can prevent the data from being stolen or tampered with during transmission. Once a secure communication connection is established, the data acquisition terminal, monitoring terminal and communication terminal will perform two-way authentication with the identity authentication server. Through the two-way authentication mechanism, it is ensured that only authorized terminals can access the IPv6 network, and only trusted servers can process the data of the aforementioned terminals, thereby improving the security of the network and protecting sensitive data from unauthorized access and leakage.
[0028] In a preferred example, the present application can be further configured as follows: after the identity authentication is completed, the step of receiving the production environment information from the data acquisition terminal and the production data information fed back by the monitoring terminal in real time includes the following steps:
[0029] After identity authentication is completed, the location information of all data collection terminals and their corresponding bound monitoring terminals is obtained;
[0030] Based on the preset area division strategy, the target area is divided into several sub-areas;
[0031] Receive real-time data collected from the data collection terminal in each sub-area and production data information fed back by the corresponding monitoring terminal.
[0032] By adopting the above technical solution, the location information of all data acquisition terminals and their corresponding bound monitoring terminals is obtained, and based on the preset area division strategy, the target area is divided into several sub-areas to better organize and manage data from different areas, and when a problem or failure occurs in the equipment, the specific location of the problem or failure can be quickly located by dividing the sub-areas, thereby speeding up the troubleshooting and repair speed and improving the stability provided; the collection data from the data acquisition terminal in each sub-area and the production data information fed back by the corresponding monitoring terminal are received in real time, providing a basis for subsequent data analysis, fault warning and production optimization; and when new terminal equipment needs to be added, since the division of sub-areas makes the system more modular, the new terminal equipment can be quickly and flexibly added to the corresponding sub-area without the need for large-scale adjustments to the entire system, thereby improving the flexibility and scalability of the system.
[0033] In a preferred example, the present application can be further configured as follows: the feature association model includes an extraction layer, an identification layer, and an association layer, and the step of inputting the production environment information and the production data information into the pre-trained feature association model for feature association monitoring includes the steps of:
[0034] The extraction layer extracts features from the production environment information and production data information respectively to obtain the features of the collected data and the features of the production data;
[0035] The recognition layer identifies abnormalities in the features of the collected data and the features of the production data. If abnormal features are identified, they are output to the association layer.
[0036] The association layer performs feature association monitoring on the collected data features, production data features and abnormal features based on preset association rules.
[0037] By adopting the above technical solution, data enters the extraction layer, and the extraction layer extracts features of the production environment information and the production data information respectively to form collection data features and production data features. The extracted collection data features and production data features are passed to the recognition layer, and the recognition layer uses machine learning and pattern recognition technology to detect anomalies of the features. When a feature that is significantly different from the normal pattern, that is, an abnormal feature, is identified, the recognition layer marks the abnormal feature and outputs it to the association layer. The association layer performs feature association monitoring on the collection data features, production data features and abnormal features based on preset association rules. Feature association monitoring helps to timely discover and locate problems and improve the reliability and safety of the production process.
[0038] The second object of the invention is achieved by the following technical solutions:
[0039] An oil and gas production data processing system based on IPv6 network, comprising:
[0040] An IPv6 network construction module is used to upgrade the IPv6-based communication equipment of the oil and gas production site based on IPv4 communication equipment and build an IPv6 network, wherein the communication equipment includes a data acquisition terminal, a monitoring terminal and a communication terminal;
[0041] The identity authentication module is used to authenticate the data acquisition terminal, the monitoring terminal and the communication terminal through the identity authentication and access control mechanism in the IPv6 network;
[0042] The first information receiving module is used to receive the production environment information from the data acquisition terminal and the production data information fed back by the monitoring terminal in real time after the identity authentication is completed;
[0043] A data input module is used to input production environment information and production data information into a pre-trained feature association model for feature association monitoring;
[0044] The exception handling module is used to process the exception associated features output by the feature association model based on the preset exception management strategy when receiving the exception associated features, and upload the exception associated features and processing results to the central server through the communication terminal.
[0045] By adopting the above technical solution, the IPv6 network construction module is used to upgrade the IPv6-based communication equipment of the oil and gas production site based on IPv4 communication equipment and build an IPv6 network, wherein the communication equipment includes a data acquisition terminal, a monitoring terminal and a communication terminal; the identity authentication module is used to authenticate the data acquisition terminal, the monitoring terminal and the communication terminal respectively through the identity authentication and access control mechanism in the IPv6 network; the first information receiving module is used to receive the production environment information from the data acquisition terminal and the production data information fed back by the monitoring terminal in real time after the identity authentication is completed; the data input module is used to input the production environment information and the production data information into the pre-trained feature association model for feature association monitoring; the exception processing module is used to process the abnormal association features output by the feature association model based on the preset abnormal management strategy when receiving the abnormal association features, and upload the abnormal association features and the processing results to the central server through the communication terminal.
[0046] In a preferred example, the present application can be further configured as follows:
[0047] The device integration module is used to integrate off-grid power equipment supporting the IPv6 protocol into the IPv6 network and perform identity authentication on the off-grid power equipment;
[0048] A second information receiving module, used to receive device status information from off-grid power equipment at intervals, wherein the device status information includes operation information and energy consumption information of the production equipment;
[0049] The dynamic analysis module is used to dynamically analyze the equipment status information through a preset dynamic deployment script, and adjust the operation information of the production equipment based on the dynamic analysis results.
[0050] By adopting the above technical solution, the device integration module is used to integrate off-grid power equipment that supports the IPv6 protocol into the IPv6 network and perform identity authentication on the off-grid power equipment; the second information receiving module is used to receive device status information from the off-grid power equipment at intervals, and the device status information includes operating information and energy consumption information of the production equipment; the dynamic analysis module is used to dynamically analyze the device status information through a preset dynamic allocation script, and adjust the operating information of the production equipment based on the dynamic analysis results.
[0051] In summary, the present application includes at least one of the following beneficial technical effects:
[0052] 1. This application upgrades IPv6-based equipment and builds a network for IPv4-based communication equipment in oil and gas production sites, and sets a pre-trained feature association model to monitor the production environment information and production data information in the production process, intelligently identifies and tracks the association between key features, and starts a preset abnormal management strategy to process when the feature association model outputs abnormal association features, and uploads the abnormal situation and processing results to the central server through the IPv6 network, which has the effect of improving the data processing capability, data transmission efficiency and security of the oil and gas production data processing system;
[0053] 2. This application realizes intelligent monitoring and optimization of the oil and gas production process by integrating off-grid power equipment, receiving and analyzing equipment status information, and dynamically adjusting operating parameters with pre-set dynamic allocation scripts, thereby improving production efficiency, reducing energy consumption and operating costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] Figure 1 This is a flow chart of an embodiment of an oil and gas production data processing method based on an IPv6 network of the present application;
[0055] Figure 2 This is another implementation flow chart of an embodiment of an oil and gas production data processing method based on an IPv6 network of the present application;
[0056] Figure 3 This is a flowchart of implementing step S80 in an embodiment of an oil and gas production data processing method based on an IPv6 network of the present application;
[0057] Figure 4 This is a flowchart for implementing step S30 in an embodiment of an oil and gas production data processing method based on an IPv6 network of the present application;
[0058] Figure 5 This is a flowchart for implementing step S40 in an embodiment of an oil and gas production data processing method based on an IPv6 network of the present application. DETAILED DESCRIPTION
[0059] The following is combined with Figure 1-5 This application is described in further detail.
[0060] In one embodiment, if Figure 1 As shown, the present application discloses a method for processing oil and gas production data based on IPv6 network, which specifically includes the following steps:
[0061] S10: upgrading the IPv6-based communication equipment of the oil and gas production site based on IPv4 communication equipment and building an IPv6 network, wherein the communication equipment includes a data acquisition terminal, a monitoring terminal and a communication terminal;
[0062] In this embodiment, the oil and gas production site is a specific location or facility for production activities such as oil and gas extraction, processing, storage and transportation; the communication equipment upgrade is to update the existing communication equipment or system from an old version or old technology to a new version or a more advanced version. In the transition from IPv4 to IPv6 in this embodiment, the communication equipment upgrade is to replace or update the network communication module inside the device to support the IPv6 protocol to ensure that the device can work normally in the IPv6 network environment; the IPv6 network is a network built based on the IPv6 (Internet Protocol version 6) protocol; the data acquisition terminal is a device for collecting various production environment data (such as temperature, pressure, flow, etc.); the monitoring terminal is a device for real-time monitoring of the production process and equipment status to collect production process data, etc.; the communication terminal is a device responsible for data transmission and communication, and is used to exchange data information with other systems;
[0063] Specifically, the original IPv4-based communication equipment (including data acquisition terminals, monitoring terminals and communication terminals) in the oil and gas production sites are upgraded to support the IPv6 protocol, and an IPv6 network is constructed accordingly.
[0064] S20: Authenticate the data collection terminal, the monitoring terminal, and the communication terminal through the identity authentication and access control mechanism in the IPv6 network;
[0065] In this embodiment, the identity authentication and access control mechanism is a security mechanism used to confirm the identity of a user or terminal attempting to access network resources or systems, and to control its resource access based on the identity and its corresponding permissions; identity authentication is a process step to verify whether the identity of an entity (such as a user, device or service) is authentic;
[0066] Specifically, after the IPv6 network is built, the identity authentication and access control mechanism in the network is used to authenticate the data collection terminals, monitoring terminals, and communication terminals.
[0067] S30: After identity authentication is completed, the production environment information from the data collection terminal and the production data information fed back by the monitoring terminal are received in real time;
[0068] In this embodiment, the production environment information refers to information data related to the environment during the production process, including the temperature, pressure, flow rate of the oil well, and the temperature and humidity of the environment; the production data information refers to information data related to the production process and production conditions, including output, production efficiency, quality (API degree, sulfur content, viscosity), etc.
[0069] Specifically, after the corresponding device passes the identity authentication, it receives the production environment information from the data acquisition terminal and the production data information fed back by the monitoring terminal in real time.
[0070] S40: Inputting the production environment information and the production data information into the pre-trained feature association model for feature association monitoring;
[0071] In this embodiment, the feature association model is an analysis model for analyzing the association between data features, and the feature association monitoring is to extract, analyze and associate different features of production environment information and production data information to monitor changes and abnormalities of real-time input data;
[0072] Specifically, the received production environment information and production data information are input into the pre-trained feature association model for feature association monitoring, so as to timely discover abnormal situations in the production process;
[0073] Furthermore, the feature association model performs association analysis based on oil well temperature and production efficiency, oil well pressure and production, oil well flow and quality, ambient temperature and production efficiency, and comprehensive multi-parameters, and outputs corresponding abnormal association features when an abnormal association pattern different from a preset standard association pattern is identified;
[0074] Furthermore, when the feature association model performs association analysis on the comprehensive multi-parameters, a feature association matrix is constructed with production environment information and production data information as rows and columns respectively. The correlation coefficient and trend change in the feature association matrix are analyzed or the conventional pattern in the feature association matrix is learned based on a machine learning algorithm, thereby identifying the correlation between the parameters in the rows and columns. Similarly, when the feature association model identifies an abnormal association pattern that is different from the preset standard association pattern, the corresponding abnormal association feature is output;
[0075] Furthermore, by deploying feature association models at multiple oil and gas production sites and aggregating the learning and training results of each feature association model at intervals, the generalization ability of the feature association model can be improved;
[0076] Among them, multiple oil and gas production sites corresponding to the multiple feature association models to be aggregated are set as a federated learning site group;
[0077] Among them, based on the preset screening rules, the environmental similarity of each oil and gas production site in the same federated learning site group is greater than the preset threshold. Since data under similar environments are more comparable, the feature association models deployed by several oil and gas production sites under similar environments are aggregated for learning and training, which can significantly improve the adaptability of the feature association model to similar environments and the accuracy of abnormal pattern recognition and detection.
[0078] Furthermore, in the preset screening rules, the factors considered for environmental similarity include geographical location similarity, climate condition similarity, oil well type, production process similarity, and physical and chemical properties of the production environment.
[0079] S50: When receiving the abnormal correlation feature output by the feature correlation model, processing is performed based on a preset abnormal management strategy, and the abnormal correlation feature and processing result are uploaded to the central server through the communication terminal;
[0080] In this embodiment, the abnormal correlation feature is a feature correlation that is significantly different from the normal mode identified in the data analysis; the preset abnormal management strategy is a predetermined rule for identifying, reporting, processing and recording abnormal situations; the central server is a server in the IPv6 network for centralized management, storage and processing of data;
[0081] Specifically, if the feature association model outputs an abnormal association feature, it is processed based on the preset abnormal management strategy, and the abnormal association feature and the processing result are uploaded to the central server through the communication terminal for further analysis and recording;
[0082] Furthermore, blockchain technology is used to ensure the immutability and traceability of abnormal correlation characteristics and processing results.
[0083] In one embodiment, if Figure 2 As shown, the steps include:
[0084] S60: Integrate off-grid power equipment that supports the IPv6 protocol into the IPv6 network and perform identity authentication on the off-grid power equipment;
[0085] S70: receiving device status information from off-grid power equipment at intervals, wherein the device status information includes operation information and energy consumption information of the production equipment;
[0086] S80: Dynamically analyze the equipment status information through a preset dynamic deployment script, and adjust the operation information of the production equipment based on the dynamic analysis result.
[0087] In this embodiment, the off-grid power equipment is an independently operated power equipment that is not directly connected to the main power grid, and is usually powered by renewable energy (such as solar energy, wind energy) or backup power; the equipment status information is data describing the current operating status and performance of the equipment, including parameters such as operating time, energy consumption, temperature, and pressure; the dynamic allocation script is a programmable script used to dynamically adjust the system parameters of the production equipment according to real-time data to optimize its system performance;
[0088] Specifically, off-grid power equipment that supports the IPv6 protocol is integrated into the IPv6 network. After the integration is completed, the identity of the off-grid power equipment is authenticated to ensure that only authorized equipment can access the IPv6 network. The equipment status information is received from the off-grid power equipment at intervals, and the received information is analyzed in real time through the pre-set dynamic deployment script, and the operating parameters of the production equipment are automatically adjusted based on the analysis results.
[0089] Furthermore, a virtual model of the equipment is established based on digital twin technology, and then the adjustment plan based on dynamic analysis is simulated in a virtual environment to reduce the risks in actual operations and optimize the adjustment strategy.
[0090] In one embodiment, if Figure 3 As shown, step S80 includes the steps of:
[0091] S81: The dynamic allocation script extracts features from the operation information and energy consumption information of the production equipment respectively to obtain an operation status feature set, an electric energy consumption feature set, and a power factor feature set;
[0092] S82: performing feature coding conversion based on the operating state feature set and the electric energy consumption feature set, and the operating state feature set and the power factor feature set to generate an energy consumption characterization vector and a power factor characterization vector;
[0093] S83: Dynamically analyzing the energy consumption characterization vector and the power factor characterization vector respectively, and generating a production energy consumption control plan and a production power control plan;
[0094] S84: adjusting the operation information of the production equipment based on the production energy consumption control plan and the production power control plan;
[0095] In this embodiment, feature extraction is to extract key information or features that can represent the main characteristics of the original data from the original data; feature coding conversion is to convert the extracted features into another form or representation through methods such as mathematical transformation, coding technology, etc.; the characterization vector is a vector obtained after feature extraction and coding conversion, which contains key information of the original data and is used for machine learning, data analysis, etc. The energy consumption characterization vector is information representing the association between energy consumption and equipment status, and the power factor characterization vector is information representing the association between power factor and equipment status; dynamic analysis is to continuously analyze and evaluate the status or behavior of the system based on real-time or historical data so as to adjust the system parameters or strategies in time. In this embodiment, dynamic analysis is to control the operating status of the production equipment based on the energy consumption characterization vector and the power factor characterization vector to control energy consumption and control power;
[0096] Furthermore, the dynamic allocation script introduces an adaptive control algorithm that can automatically adjust the control scheme according to different production requirements and equipment status.
[0097] Specifically, the dynamic allocation script first extracts the key features of the received operation information and energy consumption information of the production equipment to form a state feature set, an electric energy consumption feature set and a power factor feature set. After extracting the key features, it performs feature coding conversion to generate energy consumption characterization vectors and power factor characterization vectors, that is, a high degree of abstraction and representation of the original data to facilitate subsequent analysis and processing. After generating the energy consumption characterization vector and the power factor characterization vector, the dynamic allocation script will dynamically analyze these two vectors respectively: by analyzing the energy consumption characterization vector, the energy consumption of the equipment is evaluated, and a production energy consumption control plan is generated; by analyzing the power factor characterization vector, the power factor of the equipment is evaluated, and a production power control plan is generated. Based on the generated production energy consumption control plan and production power control plan, the dynamic allocation script adjusts the operation information of the production equipment to ensure that the production equipment operates in a more efficient and stable state, thereby improving the overall efficiency and reliability of oil and gas production.
[0098] In one embodiment, the IPv6 network includes an identity authentication server, and step S20 includes the steps of:
[0099] S21: Establish communication connection between the data collection terminal, monitoring terminal and communication terminal and the IPv6 network based on TLS / SSL protocol;
[0100] S22: Perform two-way authentication between the data collection terminal, the monitoring terminal, and the communication terminal and the identity authentication server;
[0101] In this embodiment, the TLS / SSL protocols are TLS (Transport Layer Security) and SSL (Secure Sockets Layer), which are used to provide secure communications on an insecure network. They prevent data from being stolen or tampered with by encrypting communication content, verifying the identities of both communicating parties, and ensuring the integrity of the data; two-way authentication is a mutual identity authentication process between a terminal and an identity authentication server.
[0102] Specifically, the data acquisition terminal, monitoring terminal and communication terminal establish a secure communication connection with the IPv6 network based on the TLS / SSL (Transport Layer Security / Secure Sockets Layer) protocol. The TLS / SSL protocol provides a method to establish an encrypted channel between the communicating parties to ensure the confidentiality and integrity of data transmission, and prevent the data from being stolen or tampered with during transmission. Once a secure communication connection is established, the data acquisition terminal, monitoring terminal and communication terminal will perform two-way authentication with the identity authentication server. Through the two-way authentication mechanism, it is ensured that only authorized terminals can access the IPv6 network, and only trusted servers can process the data of the aforementioned terminals, thereby improving the security of the network and protecting sensitive data from unauthorized access and leakage.
[0103] In one embodiment, if Figure 4 As shown, step S30 includes the steps of:
[0104] S31: After identity authentication is completed, the location information of all data collection terminals and their corresponding bound monitoring terminals is obtained;
[0105] S32: Divide the target area into a plurality of sub-areas based on a preset area division strategy;
[0106] S33: receiving in real time the collected data from the data collection terminal in each sub-area and the production data information fed back by the corresponding monitoring terminal;
[0107] In this embodiment, the location information is the specific coordinates or relative position of the data acquisition terminal and the monitoring terminal in the geographic space; the preset area division strategy is a pre-set rule for dividing the target area into multiple smaller sub-areas, which can be set to be divided based on geographic location, equipment distribution or business needs according to actual correspondence.
[0108] Specifically, the location information of all data acquisition terminals and their corresponding bound monitoring terminals is obtained, and based on the preset area division strategy, the target area is divided into several sub-areas to better organize and manage data from different areas, and when a problem or failure occurs in the equipment, the specific location of the problem or failure can be quickly located by dividing the sub-areas, thereby speeding up the troubleshooting and repair speed and improving the stability provided; the collection data from the data acquisition terminals in each sub-area and the production data information fed back by the corresponding monitoring terminals are received in real time, providing a basis for subsequent data analysis, fault warning and production optimization; and when new terminal equipment needs to be added, since the division of sub-areas makes the system more modular, the new terminal equipment can be quickly and flexibly added to the corresponding sub-area without the need for large-scale adjustments to the entire system, thereby improving the flexibility and scalability of the system.
[0109] In one embodiment, the feature association model includes an extraction layer, a recognition layer, and an association layer, such as Figure 5 As shown, step S40 includes the steps of:
[0110] S41: The extraction layer extracts features from the production environment information and the production data information respectively to obtain the collection data features and the production data features;
[0111] S42: The recognition layer performs abnormal recognition on the features of the collected data and the features of the production data. If an abnormal feature is recognized, it is output to the association layer;
[0112] S43: The association layer performs feature association monitoring on the collected data features, the production data features and the abnormal features based on the preset association rules;
[0113] In this embodiment, the extraction layer is the first layer of the feature association model, which is used to extract key features from the original data for subsequent analysis and processing; the recognition layer is the second layer of the feature association model, which is used to perform anomaly detection on the extracted features, and to identify abnormal patterns that do not conform to the preset standard patterns as abnormal features; the association layer is the third layer of the feature association model, which is used to perform association analysis on the input features based on preset association rules, so as to monitor the relationships and influences between the data; the preset association rules are pre-set correlation rules between data obtained based on multiple tests.
[0114] Specifically, the data enters the extraction layer, which extracts features of the production environment information and the production data information respectively to form collection data features and production data features. The extracted collection data features and production data features are passed to the recognition layer, which uses machine learning and pattern recognition technology to detect anomalies of the features. When features that are significantly different from the normal pattern, that is, abnormal features, are identified, the recognition layer marks the abnormal features and outputs them to the association layer. The association layer performs feature association monitoring on the collection data features, production data features and abnormal features based on preset association rules. Feature association monitoring helps to timely discover and locate problems, thereby improving the reliability and safety of the production process.
[0115] Furthermore, anomaly detection algorithms such as isolation forest or one-class support vector machine are used to handle high-dimensional data and unbalanced datasets;
[0116] Furthermore, based on time series analysis, dynamic time warping or long short-term memory networks are used to detect abnormal patterns in time series data.
[0117] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0118] In one embodiment, an oil and gas production data processing system based on an IPv6 network is provided, and the oil and gas production data processing system based on an IPv6 network corresponds one-to-one to the oil and gas production data processing method based on an IPv6 network in the above embodiment. The oil and gas production data processing system based on an IPv6 network includes:
[0119] An IPv6 network construction module is used to upgrade the IPv6-based communication equipment of the oil and gas production site based on IPv4 communication equipment and build an IPv6 network, wherein the communication equipment includes a data acquisition terminal, a monitoring terminal and a communication terminal;
[0120] The identity authentication module is used to authenticate the data acquisition terminal, the monitoring terminal and the communication terminal through the identity authentication and access control mechanism in the IPv6 network;
[0121] The first information receiving module is used to receive the production environment information from the data acquisition terminal and the production data information fed back by the monitoring terminal in real time after the identity authentication is completed;
[0122] A data input module is used to input production environment information and production data information into a pre-trained feature association model for feature association monitoring;
[0123] The exception handling module is used to process the abnormal correlation features output by the feature association model based on the preset abnormal management strategy when receiving the abnormal correlation features, and upload the abnormal correlation features and processing results to the central server through the communication terminal;
[0124] Optionally, also include:
[0125] The device integration module is used to integrate off-grid power equipment supporting the IPv6 protocol into the IPv6 network and perform identity authentication on the off-grid power equipment;
[0126] A second information receiving module, used to receive device status information from off-grid power equipment at intervals, wherein the device status information includes operation information and energy consumption information of the production equipment;
[0127] The dynamic analysis module is used to dynamically analyze the equipment status information through the preset dynamic deployment script, and adjust the operation information of the production equipment based on the dynamic analysis results;
[0128] Optional dynamic analysis modules include:
[0129] The feature extraction submodule is used to extract the features of the operation information and energy consumption information of the production equipment respectively, so as to obtain the operation state feature set, the power consumption feature set and the power factor feature set;
[0130] A feature coding submodule, used to perform feature coding conversion based on an operating state feature set and an electric energy consumption feature set, and an operating state feature set and a power factor feature set, to generate an energy consumption characterization vector and a power factor characterization vector;
[0131] A scheme generation submodule is used to dynamically analyze the energy consumption characterization vector and the power factor characterization vector respectively, and generate a production energy consumption control scheme and a production power control scheme;
[0132] A dynamic adjustment submodule is used to adjust the operation information of the production equipment based on the production energy consumption control scheme and the production power control scheme;
[0133] Optionally, the identity authentication module includes:
[0134] The communication connection submodule is used to establish a communication connection between the data acquisition terminal, the monitoring terminal and the communication terminal and the IPv6 network based on the TLS / SSL protocol;
[0135] A two-way authentication submodule is used to enable two-way authentication between the data acquisition terminal, the monitoring terminal and the communication terminal and the identity authentication server;
[0136] Optionally, the first information receiving module includes:
[0137] The location information acquisition submodule is used to obtain the location information of all data collection terminals and their corresponding bound monitoring terminals after identity authentication is completed;
[0138] A region division submodule is used to divide the target region into several sub-regions based on a preset region division strategy;
[0139] The first information receiving submodule is used to receive in real time the collected data from the data collection terminal in each sub-area and the production data information fed back by the corresponding monitoring terminal;
[0140] Optionally, also include:
[0141] The extraction layer module is used to extract features of the production environment information and the production data information respectively to obtain the features of the collected data and the features of the production data;
[0142] The recognition layer module is used to identify abnormalities in the features of the collected data and the features of the production data. If abnormal features are identified, they are output to the association layer;
[0143] The association layer module is used to perform feature association monitoring on the collected data features, production data features and abnormal features based on preset association rules.
[0144] For the specific definition of an oil and gas production data processing system based on an IPv6 network, please refer to the definition of an oil and gas production data processing method based on an IPv6 network above, which will not be repeated here. Each module in the above-mentioned oil and gas production data processing system based on an IPv6 network can be implemented in whole or in part through software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0145] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A method for processing oil and gas production data based on IPv6 network, characterized in that: Includes steps: Upgrading IPv4-based communication equipment to IPv6-based communication equipment at oil and gas production sites and building an IPv6 network, where the communication equipment includes data acquisition terminals, monitoring terminals, and communication terminals; Through the identity authentication and access control mechanism in the IPv6 network, the data collection terminal, monitoring terminal and communication terminal are authenticated respectively; After identity authentication is completed, the production environment information from the data acquisition terminal and the production data information fed back by the monitoring terminal are received in real time; Input the production environment information and production data information into the pre-trained feature association model for feature association monitoring; When the abnormal correlation features output by the feature correlation model are received, they are processed based on the preset abnormal management strategy, and the abnormal correlation features and processing results are uploaded to the central server through the communication terminal.
2. The method for processing oil and gas production data based on IPv6 network according to claim 1, characterized in that: Also includes the steps: Integrate off-grid power equipment that supports the IPv6 protocol into the IPv6 network and authenticate the off-grid power equipment; receiving device status information from off-grid power equipment at intervals, wherein the device status information includes operation information and energy consumption information of the production equipment; The equipment status information is dynamically analyzed through the preset dynamic deployment script, and the operation information of the production equipment is adjusted based on the dynamic analysis results.
3. The method for processing oil and gas production data based on IPv6 network according to claim 2, characterized in that: The step of dynamically analyzing the equipment status information by using a preset dynamic deployment script and adjusting the operation information of the production equipment based on the dynamic analysis result comprises the following steps: The dynamic allocation script extracts features from the operation information and energy consumption information of the production equipment to obtain an operation status feature set, an electric energy consumption feature set, and a power factor feature set; Perform feature coding conversion based on the operating state feature set and the electric energy consumption feature set, and the operating state feature set and the power factor feature set to generate an energy consumption characterization vector and a power factor characterization vector; Dynamically analyze the energy consumption characterization vector and the power factor characterization vector respectively to generate a production energy consumption control plan and a production power control plan; Adjust the operation information of production equipment based on the production energy consumption control plan and the production power control plan.
4. The method for processing oil and gas production data based on IPv6 network according to claim 1, characterized in that: The IPv6 network includes an identity authentication server, and the steps of performing identity authentication on the data acquisition terminal, the monitoring terminal and the communication terminal respectively through the identity authentication and access control mechanism in the IPv6 network include the steps of: Establish communication connection between data collection terminal, monitoring terminal and communication terminal and IPv6 network based on TLS / SSL protocol; Enable two-way authentication between data collection terminals, monitoring terminals and communication terminals and identity authentication servers.
5. The method for processing oil and gas production data based on IPv6 network according to claim 1, characterized in that: After the identity authentication is completed, the step of receiving the production environment information from the data acquisition terminal and the production data information fed back by the monitoring terminal in real time comprises the following steps: After identity authentication is completed, the location information of all data collection terminals and their corresponding bound monitoring terminals is obtained; Based on the preset area division strategy, the target area is divided into several sub-areas; Receive real-time data collected from the data collection terminal in each sub-area and production data information fed back by the corresponding monitoring terminal.
6. The method for processing oil and gas production data based on IPv6 network according to claim 1, characterized in that: The feature association model includes an extraction layer, an identification layer and an association layer. The step of inputting the production environment information and the production data information into the pre-trained feature association model for feature association monitoring includes the steps of: The extraction layer extracts features from the production environment information and production data information respectively to obtain the features of the collected data and the features of the production data; The recognition layer identifies abnormalities in the features of the collected data and the features of the production data. If abnormal features are identified, they are output to the association layer. The association layer performs feature association monitoring on the collected data features, production data features and abnormal features based on preset association rules.
7. An oil and gas production data processing system based on IPv6 network, characterized in that: include: An IPv6 network construction module is used to upgrade the IPv6-based communication equipment of the oil and gas production site based on IPv4 communication equipment and build an IPv6 network, wherein the communication equipment includes a data acquisition terminal, a monitoring terminal and a communication terminal; The identity authentication module is used to authenticate the data acquisition terminal, the monitoring terminal and the communication terminal through the identity authentication and access control mechanism in the IPv6 network; The first information receiving module is used to receive the production environment information from the data acquisition terminal and the production data information fed back by the monitoring terminal in real time after the identity authentication is completed; A data input module is used to input production environment information and production data information into a pre-trained feature association model for feature association monitoring; The exception handling module is used to process the exception associated features output by the feature association model based on the preset exception management strategy when receiving the exception associated features, and upload the exception associated features and processing results to the central server through the communication terminal.
8. The oil and gas production data processing system based on IPv6 network according to claim 7 is characterized in that: Also includes: The device integration module is used to integrate off-grid power equipment supporting the IPv6 protocol into the IPv6 network and perform identity authentication on the off-grid power equipment; A second information receiving module, used to receive device status information from off-grid power equipment at intervals, wherein the device status information includes operation information and energy consumption information of the production equipment; The dynamic analysis module is used to dynamically analyze the equipment status information through a preset dynamic deployment script, and adjust the operation information of the production equipment based on the dynamic analysis results.
Citation Information
Patent Citations
6LoWPAN protocol based real-time IoT (Internet of Things) environment monitoring system
CN106453580A
Multi-well data acquisition and intelligent monitoring method and system for oil and gas production
CN110048894A
Network security dynamic early warning system based on deep learning
CN117118745A
NLP-based event text feature association analysis method and system and medium
CN117371450A
Method, apparatus and device for predicting network device anomaly, and storage medium
WO2020073688A1
