Oil gas treatment method, equipment, medium and product

By monitoring the rate of change of oil and gas pressure in the storage tank to determine the load mode, the start-up parameters and control strategies of the oil and gas processing unit are optimized, solving the problem of inflexible response in the existing technology and realizing the high efficiency, energy saving and environmental compliance of the oil and gas processing unit.

CN121455015AActive Publication Date: 2026-02-03BEIJING HENGHE INFORMATION & TECH CO LTD
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
CN202511591883.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-11-03
Publication Date
2026-02-03
Estimated Expiration
2045-11-03

AI Technical Summary

Technical Problem

Existing oil and gas processing equipment is not flexible enough in responding to dynamic changes at gas stations, resulting in untimely processing or energy waste, making it difficult to balance processing efficiency, operating costs and environmental compliance.

Method used

By monitoring the rate of change of oil and gas pressure in the storage tank, the current load mode is determined, and corresponding start-up parameters and timing are matched to achieve differentiated control, including regulatory and interruption operations, thereby optimizing the operation strategy of the oil and gas processing unit.

Benefits of technology

It enables the oil and gas processing unit to respond quickly in emergency situations and maintain stable energy efficiency in daily operations, thereby improving processing efficiency and environmental compliance and reducing energy waste.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121455015A_ABST
    Figure CN121455015A_ABST
Patent Text Reader

Abstract

The invention provides an oil gas treatment method and device, a medium and a product, and the method comprises the following steps: in a standby state, based on the change rate of oil gas pressure in an oil storage tank, determining that an oil gas load is a high load mode or a conventional load mode; differentiated starting parameters are matched for different modes, a lower starting pressure threshold value is adopted for a high-load mode to achieve quick starting, and a higher starting pressure threshold value is adopted for a conventional load mode to avoid frequent starting and stopping. After the system is started, key operation parameters such as the oil gas temperature and the discharge outlet concentration are continuously monitored and compared with safety threshold values so as to execute corresponding adjustability control or interruption protection operation, and the system returns to a standby state until shutdown conditions are met. By implementing the technical scheme provided by the invention, through dynamic pre-judgment and differential control of the oil and gas load, the system can quickly respond under a high load and can stably save energy under a conventional load, and precise and prospective closed-loop management is realized.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of industrial real-time control software, and in particular to an oil gas treatment method, device, medium and product. BACKGROUND

[0002] With the increasingly stringent environmental protection and production safety regulations of the country, the effective recovery and treatment of oil gas (mainly volatile organic compounds) generated in the oil product loading and unloading and vehicle refueling process of the oil station has become a key link to protect the environmental quality and operational safety. How to efficiently recover, safely treat and achieve energy saving and consumption reduction of the dynamically changing oil gas in the operation process of the oil station has become the core demand for the development of oil gas treatment technology.

[0003] In the prior art, the operation control of the oil gas treatment device of the oil station usually relies on an automatic system based on preset fixed thresholds. For example, when the monitoring value of the pressure sensor in the oil storage tank exceeds a certain start-up pressure value, the system starts the booster pump, condenser and other devices for oil gas treatment; when the pressure is lower than the shutdown pressure value, the operation is stopped. However, the start-stop control method based on fixed thresholds in the prior art has the problems of insufficient flexibility in response and low operation energy efficiency when dealing with the dynamic changes of the oil station operation (such as the refueling peak period, oil tank truck unloading, seasonal temperature difference, etc.). This "one-size-fits-all" control strategy may cause the treatment to be not timely when the instantaneous generation amount of oil gas increases, triggering overpressure discharge, or the equipment to be idle when the generation amount of oil gas is small, causing energy waste, and it is difficult to balance the requirements of treatment efficiency, operation cost and environmental protection compliance. SUMMARY

[0004] Therefore, the present application provides an oil gas treatment method, device, medium and product to solve the above problems.

[0005] In a first aspect, an oil gas treatment method is provided, applied to an oil gas treatment device, the method comprising: In the standby state, based on the change rate of the oil gas pressure in the oil storage tank, the current oil gas load mode is determined, and the corresponding start-up parameters are matched according to the current oil gas load mode, the start-up parameters including a start-up pressure threshold and a start-up timing; When the oil gas pressure exceeds the start-up pressure threshold, the preset actuator is started according to the start-up timing, and the oil gas treatment operation state is entered; After entering the oil gas treatment operation state, the key operation parameters are continuously monitored, the key operation parameters including the oil gas temperature and the concentration of the discharge port; The monitoring value of the key operation parameters is compared with a group of safety thresholds corresponding to the current oil gas load mode to obtain a comparison result; based on the comparison result, performing an adjusting control operation or an interruptive protection operation, the adjusting control operation including adjusting a running power of the booster pump or an opening degree of the discharge valve without interrupting the oil gas treatment process; when the interruptive protection operation is triggered or the adjusting control operation is performed until the oil gas pressure is lower than a preset shutdown threshold, performing a shutdown sequence, and returning to the standby state.

[0006] The above technical solution determines whether the current working condition belongs to a high load mode requiring fast response or a regular load mode requiring stable and energy-saving by taking the oil gas pressure change rate in the oil tank as a prospective physical quantity. Based on the determination, a most suitable scheme is matched and applied for the upcoming working condition from a plurality of preset running parameters before entering the actual oil gas treatment process. The scheme not only defines the pressure point and timing of starting, but also specifies the safety monitoring boundary during the running process. The oil gas treatment device can automatically adopt more aggressive parameters to achieve fast response and treatment when facing emergency working conditions such as pressure surge during unloading, and automatically adopt more conservative parameters to ensure the stability and economy of the running when dealing with daily temperature rise and other moderate working conditions, thereby converting single and passive pressure control into precise and prospective closed-loop management for different load properties.

[0007] Optionally, the current oil gas load mode is determined based on the change rate of the oil gas pressure in the oil tank, and a corresponding starting parameter is matched according to the current oil gas load mode, specifically including: comparing the change rate with a preset rate threshold; if the change rate is less than the rate threshold, determining that the current oil gas load mode is a regular load mode, and matching and using a first starting parameter of a first pressure threshold and a regular starting timing according to the regular load mode; if the change rate is greater than or equal to the rate threshold, determining that the current oil gas load mode is a high load mode, and matching and using a second starting parameter of a second pressure threshold and an enhanced starting timing according to the high load mode, wherein the second pressure threshold is lower than the first pressure threshold, and the enhanced starting timing has a smaller actuator starting time interval than the regular starting timing.

[0008] The above technical solution quantifies the oil gas load mode into a regular load mode and a high load mode by setting a specific rate threshold. When the high load mode is determined, the device starts running at a lower pressure point with a faster device starting interval, so that it can intervene in the working condition of rapidly rising pressure earlier and more quickly.

[0009] Optionally, the method further includes: At the end of each preset time period, a time series dataset is constructed based on historical operation data collected within the time period, the historical operation data consisting of a plurality of data points, each data point being associated with an operation cycle and recording an oil and gas pressure change rate, an oil and gas load pattern and a set of performance indicators including unit oil and gas treatment energy consumption, control intervention frequency and emission port concentration peak value; The time series dataset is segmented according to a preset time window, and the performance indicators of the data points in each time window are compared with a preset performance baseline to determine a to-be-optimized working condition; The common characteristics of the data points of the to-be-optimized working condition are analyzed, and the adjustment direction and dynamic adjustment step are determined according to the common characteristics and the deviation degree of the associated performance indicators, and the rate threshold, the first pressure threshold and / or the second pressure threshold are adjusted.

[0010] The above technical solutions enable the device to record and analyze its own historical operation performance, including energy consumption, control action frequency and emission concentration. Based on the analysis, the device can automatically identify the working condition that performs poorly in a specific time period (such as peak hours), and accordingly adjust the rate threshold that distinguishes between regular / high load modes and the start pressure threshold in the two modes.

[0011] Optionally, the adjustment direction and dynamic adjustment step are determined according to the common characteristics and the deviation degree of the associated performance indicators, specifically including: If the common characteristics show that the average control intervention frequency indicator of the to-be-optimized working condition in the operation cycle judged as the regular load mode is worse than the performance baseline, the adjustment direction is to lower the rate threshold; If the common characteristics show that the triggering frequency of the interruptive protection operation in the operation cycle judged as the high load mode exceeds a preset interrupt triggering frequency threshold, the adjustment direction is to lower the second pressure threshold; If the common characteristics show that the average unit oil and gas treatment energy consumption indicator of the to-be-optimized working condition in the operation cycle judged as the regular load mode is worse than the performance baseline, the adjustment direction is to raise the first pressure threshold; The average deviation degree of the performance indicators of the to-be-optimized working condition relative to the performance baseline is calculated; If the average deviation degree exceeds a first deviation threshold but does not exceed a second deviation threshold, a regular adjustment step is adopted; If the average deviation degree exceeds the second deviation threshold, an enhanced adjustment step greater than the regular adjustment step is adopted.

[0012] The above technical solution provides a specific execution rule for the self-adjustment function of the device. For example, when the device finds that a certain working condition is judged as a regular load and frequent control intervention is required, it will automatically reduce the speed threshold for judgment. The adjustment range depends on the severity of the deviation of the actual operation performance index from the preset baseline.

[0013] Optionally, when the oil and gas pressure exceeds the starting pressure threshold, the preset actuator is started according to the starting time sequence, specifically including: If it is determined that the oil and gas load mode is a high load mode, the actuator is started according to the starting time sequence when the oil and gas pressure first exceeds the starting pressure threshold; If it is determined that the oil and gas load mode is a regular load mode, the actuator is started according to the starting time sequence after the oil and gas pressure continuously exceeds or is equal to the starting pressure threshold for a preset length of time.

[0014] The above technical solution sets different starting trigger conditions for different load modes. For the high load mode, the pressure is immediately started as soon as it exceeds the standard, ensuring the emergency response speed. For the regular load mode, the pressure needs to exceed the standard for a period of time before starting, which avoids unnecessary frequent start-stop of the device due to temporary and harmless pressure fluctuations.

[0015] Optionally, based on the comparison result, a regulating control operation or an interruptive protection operation is performed, specifically including: For each parameter in the key operating parameters, an associated first safety threshold and a second safety threshold are set, and the second safety threshold is higher than the first safety threshold; When the monitoring value of any one of the key operating parameters exceeds the corresponding first safety threshold and does not exceed the corresponding second safety threshold, the regulating control operation is performed; When the monitoring value of any one of the key operating parameters exceeds the corresponding second safety threshold, the interruptive protection operation is performed.

[0016] The above technical solution establishes two levels of monitoring defense lines for the safety of the system. When the key operating parameters (such as temperature, concentration) exceed the lower first safety threshold, the system will start the regulating control for correction, and the process will not be interrupted. Only when the parameters further deteriorate and exceed the higher second safety threshold, the system will perform the interruptive shutdown protection.

[0017] Optionally, the regulating control operation is performed, specifically including: Between the first safety threshold and the second safety threshold, a regulating switching threshold is set; When the monitoring value of the key operating parameters exceeds the first safety threshold and does not exceed the regulating switching threshold, a first-level regulating operation is performed, and the first-level regulating operation includes adjusting the opening degree of the exhaust valve; When the monitored value of the critical operating parameter exceeds the adjustment switching threshold and does not exceed the second safety threshold, a second-level adjustment operation is performed, the second-level adjustment operation including reducing the operating power of the booster pump.

[0018] The above technical solution further refines the adjustment control operation into two progressive stages. When the operating parameter just enters the adjustment range, the system first performs a first-level adjustment operation (adjusting the exhaust valve). If the parameter continues to deteriorate and crosses a set switching threshold, the system only then performs a second-level adjustment operation (reducing the booster pump power) with greater force, achieving smooth escalation of the control action.

[0019] In a second aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, a user interface and a network interface, the memory is configured to store instructions, the user interface and the network interface are configured to communicate with other devices, and the processor is configured to execute the instructions stored in the memory, so that the electronic device performs the method according to any one of the preceding method embodiments.

[0020] In a third aspect, an embodiment of the present application provides a computer-readable storage medium, which stores instructions, when the instructions are executed, the method according to any one of the preceding method embodiments is performed.

[0021] In a fourth aspect, an embodiment of the present application provides a computer program product including instructions, when the computer program product is executed on a server, the server performs the method according to the first aspect and any possible implementation manner of the first aspect.

[0022] It can be understood that the electronic device provided by the second aspect, the computer-readable storage medium provided by the third aspect and the computer program product provided by the fourth aspect are all used to execute the method provided by the embodiments of the present application. Therefore, the beneficial effects that can be achieved are referred to the beneficial effects in the corresponding method, which will not be described here.

[0023] In summary, by implementing one or more technical solutions provided by the present application, at least the following technical effects or advantages are achieved: By taking the oil gas pressure change rate in the oil tank as a prospective physical quantity, it is determined in advance whether the current working condition belongs to a high load mode requiring rapid response or a regular load mode requiring stable energy saving. Based on this determination, a most suitable scheme is matched and applied for the upcoming working condition from multiple sets of preset operation parameters before entering the actual oil gas treatment process. The scheme not only defines the starting pressure point and timing, but also specifies the safety monitoring boundary during operation. Through this pre-judgment and differentiated strategy, the oil gas treatment device can automatically adopt more aggressive parameters to achieve rapid response and treatment when facing emergency working conditions such as pressure surge during unloading, and automatically adopt more conservative parameters to ensure the stability and economy of operation when dealing with daily temperature rise and other moderate working conditions, thereby transforming single and passive pressure control into precise and prospective closed-loop management for different types of loads. BRIEF DESCRIPTION OF DRAWINGS

[0024] Figure 1 is an exemplary system architecture diagram of applying the oil gas treatment method of the present application; Figure 2 is a flowchart of an oil gas treatment method in an embodiment of the present application; Figure 3 is a structural schematic diagram of an electronic device disclosed in an embodiment of the present application.

[0025] Explanation of reference signs: 100, system architecture; 101, first terminal device; 102, second terminal device; 103, third terminal device; 104, network; 105, server; 301, processor; 302, communication bus; 303, user interface; 304, network interface; 305, memory. DETAILED DESCRIPTION

[0026] In order for those skilled in the art to better understand the technical solutions in the specification, the technical solutions in the embodiments of the specification will be described clearly and completely below in conjunction with the drawings in the embodiments of the specification. Obviously, the described embodiments are only some of the embodiments of the present application, not all.

[0027] In the description of the embodiments of the present application, the words such as "for example" or "for instance" are used to represent an example, illustration or description. Any embodiment or design scheme described as "for example" or "for instance" in the embodiments of the present application should not be interpreted as more preferred or more advantageous than other embodiments or design schemes. Rather, the words such as "for example" or "for instance" are intended to present the relevant concept in a specific manner.

[0028] In the description of the embodiments of this application, the term "multiple" means two or more. For example, multiple systems means two or more systems, and multiple screen terminals means two or more screen terminals. Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the indicated technical features. Thus, a feature defined with "first" or "second" may explicitly or implicitly include one or more of that feature. The terms "comprising," "including," "having," and variations thereof all mean "including but not limited to," unless otherwise specifically emphasized.

[0029] Figure 1 An exemplary system architecture diagram is shown, illustrating an embodiment of an oil and gas processing method to which this application can be applied.

[0030] like Figure 1 As shown, the system architecture 100 may include a first terminal device 101, a second terminal device 102, a third terminal device 103, a network 104, and a server 105. The network 104 is used as a medium to provide communication links between the terminal devices 101, 102, 103, and the server 105. The network 104 may include various connection types, such as wired or wireless communication links or fiber optic cables, etc.

[0031] Users can use terminal devices 101, 102, and 103 to interact with server 105 via network 104 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 101, 102, and 103, such as model training applications, video recognition applications, web browser applications, social platform software, etc.

[0032] Terminal devices 101, 102, and 103 can be either hardware or software. When terminal devices 101, 102, and 103 are hardware, they can be various electronic devices with displays, including but not limited to smartphones, tablets, e-book readers, MP3 (Moving Picture Experts Group Audio Layer III) players, MP4 (Moving Picture Experts Group Audio Layer IV) players, laptops, and desktop computers, etc. When terminal devices 101, 102, and 103 are software, they can be installed in the aforementioned electronic devices. They can be implemented as multiple software programs or software modules (e.g., multiple software programs or software modules used to provide distributed services) or as a single software program or software module. No specific limitations are imposed here.

[0033] When the terminal 101, 102, 103 is hardware, a video acquisition device can also be installed thereon. The video acquisition device can be various devices capable of acquiring video, such as a camera, a sensor, and the like. A user can acquire video by using the video acquisition device on the terminal 101, 102, 103.

[0034] The server 105 can be a server providing various services, for example, a background server for processing data displayed on the terminal device 101, 102, 103. The background server can analyze and process received data, and can feed back the processing result (for example, a recognition result) to the terminal device.

[0035] It should be noted that the server can be hardware or software. When the server is hardware, it can be implemented as a distributed server cluster composed of multiple servers, or as a single server. When the server is software, it can be implemented as multiple software or software modules (for example, multiple software or software modules for providing distributed services), or as a single software or software module. No specific limitation is made herein.

[0036] It should be understood that Figure 1 The number of terminal devices, networks, and servers in the system architecture is only illustrative. According to the needs of implementation, there can be any number of terminal devices, networks, and servers. In particular, in the case where target data does not need to be obtained remotely, the above system architecture can not include a network, but only include a terminal device or a server.

[0037] Figure 2 is a flowchart of an oil and gas processing method in an embodiment of the present application. The method can be implemented by relying on a computer program, or by relying on a single-chip microcomputer. The computer program can be integrated in an application, or can be run as an independent tool application. The specific steps of an oil and gas processing method are described in detail below.

[0038] S201: In the standby state, based on the change rate of the oil and gas pressure in the oil storage tank, determine the current oil and gas load mode, and match the corresponding start-up parameters according to the current oil and gas load mode, the start-up parameters including a start-up pressure threshold and a start-up timing.

[0039] In an embodiment of the present application, the oil and gas load mode refers to a technical classification of the nature and intensity of the current working condition that causes the change of the oil and gas pressure in the oil storage tank, which is used to represent the load level caused by the current operation state of the oil station on the oil and gas processing system. For example, the oil and gas instantaneous increment generated by the rapid oil unloading operation of the tank truck in the station, and the oil and gas evaporation increment caused by the slow rise of the daytime ambient temperature, correspond to two completely different oil and gas load modes, respectively.

[0040] Specifically, when the main actuators of the oil and gas processing device are in a standby state, the monitoring system continuously collects the oil and gas pressure data in the oil storage tank, and obtains the real-time change rate of the oil and gas pressure by calculating the pressure increment in a unit time. The system internally presets a rate threshold, and compares the currently calculated oil and gas pressure change rate with the rate threshold, so as to determine the current oil and gas load mode. Once the mode (for example, a high load mode or a regular load mode) is determined, a set of start-up parameters corresponding to the mode is retrieved and matched from the preset parameter library. The set of start-up parameters is pre-configured for the specific mode, wherein the start-up pressure threshold defines the pressure critical point for the subsequent authorization system to switch from the standby state to the running state, and the start-up timing sequence defines the start-up sequence and time interval of the actuators (such as the booster pump, the condenser, etc.) in the system.

[0041] In a possible implementation, the current oil and gas load mode is determined based on the change rate of the oil and gas pressure in the oil storage tank, and the corresponding start-up parameters are matched according to the current oil and gas load mode, specifically including: comparing the change rate with a preset rate threshold; if the change rate is less than the rate threshold, determining that the current oil and gas load mode is a regular load mode, and matching the first start-up parameters using the first pressure threshold and the regular start-up timing sequence according to the regular load mode; if the change rate is greater than or equal to the rate threshold, determining that the current oil and gas load mode is a high load mode, and matching the second start-up parameters using the second pressure threshold and the enhanced start-up timing sequence according to the high load mode, wherein the second pressure threshold is lower than the first pressure threshold, and the execution time interval of the enhanced start-up timing sequence is less than the regular start-up timing sequence.

[0042] In the embodiments of the present application, the rate threshold refers to a pre-set critical value for measuring the degree of change of the oil and gas pressure, which serves as a quantitative basis for the system to determine the nature of the oil and gas load mode. For example, the rate threshold can be set to 50 Pa / min according to the historical operation data and the operation type of the oil station. When the monitored pressure change rate exceeds this value, it is considered that a high load event such as oil tank truck unloading occurs, otherwise it is a regular load.

[0043] Specifically, the system will compare the real-time oil and gas pressure change rate calculated continuously with a preset rate threshold stored internally after obtaining the real-time oil and gas pressure change rate. The comparison result will trigger two different branch paths: if the current change rate is less than the rate threshold, the system will determine the current working condition as a regular load mode, and automatically match a first set of starting parameters aiming to achieve smooth and energy-saving operation. The first pressure threshold in the parameter set is set relatively high to filter out small pressure fluctuations that do not require processing, and the regular starting sequence is also in an energy-efficient manner to start each device in an orderly manner; otherwise, if the change rate is greater than or equal to the rate threshold, the system determines that the current is a high load mode, and matches a second set of starting parameters aiming to achieve rapid emergency response. The second pressure threshold in the second set of starting parameters is set lower than the first pressure threshold to ensure that the system can intervene earlier; at the same time, the starting time interval of each actuator in the enhanced starting sequence is also shorter, so that the full processing capacity of the oil and gas processing device is put into operation in the shortest time.

[0044] Optionally, the method further comprises: after the end of each preset time period, constructing a time series data set based on the historical operation data collected in the time period, the historical operation data consisting of a plurality of data points, each data point being associated with an operation cycle and recording the oil and gas pressure change rate, the oil and gas load mode and a set of performance indicators of the operation cycle, the performance indicators including unit oil and gas processing energy consumption, control intervention frequency and emission port concentration peak value; segmenting the time series data set according to a preset time window, comparing the performance indicators of the data points in each time window with a preset performance baseline to determine the working condition to be optimized; analyzing the common characteristics of the data points of the working condition to be optimized, and determining the adjustment direction and dynamic adjustment step length according to the common characteristics and the deviation degree of the associated performance indicators, and adjusting the rate threshold, the first pressure threshold and / or the second pressure threshold.

[0045] In the embodiments of the present application, the performance indicators are a set of performance parameters for quantitatively evaluating the comprehensive performance of the oil and gas processing method in the historical operation cycle from multiple dimensions, which convert the underlying operation data into a high-level evaluation of the degree of system operation. For example, the control intervention frequency indicator reflects the matching degree of the current control parameters and the actual working condition by counting the number of times the adjusting or interrupting protection operation is triggered in one operation cycle, and a higher frequency may mean that the parameter setting is not optimized enough.

[0046] Specifically, the system will automatically start an optimization process after a preset time period (e.g. 24 hours) ends. The historical running data of all complete running cycles in the period is summarized, a data point is created for each cycle, and the corresponding performance indicators (such as calculating the energy consumption per unit of oil and gas processing by accumulating power consumption and processing volume, or obtaining the control intervention frequency by counting the number of alarms, etc.) are calculated to form a time series data set. Among them, a running cycle is defined as the complete process from when the oil and gas processing device meets the starting condition and enters the oil and gas processing running state, to when the shutdown condition is triggered and the shutdown sequence is executed to return to the standby state. The system will segment the data set according to the preset time window (such as peak and flat peak periods), and compare the performance indicators of the data points in each window with the preset performance baseline one by one to screen and determine all performance substandard conditions to be optimized. For these identified conditions to be optimized, the system will perform in-depth analysis to find the common characteristics of the data points (for example, whether most of them are in the regular load mode when high-frequency control intervention occurs). The system will determine the adjustment direction according to the common characteristics found, and calculate a dynamic adjustment step according to the severity of the deviation of the performance indicators of these conditions from the baseline (i.e. the deviation degree), and use this step to perform a self-optimization adjustment on one or more of the rate threshold, the first pressure threshold and / or the second pressure threshold.

[0047] To fully demonstrate the process of self-optimization adjustment in the embodiments of the present application, an exemplary calculation scenario is provided as follows: in an initial state, the relevant parameters stored in the system are set as follows: rate threshold: 50 Pa / min; regular adjustment step: 2%; enhanced adjustment step: 5%; first deviation threshold: 15%; second deviation threshold: 40%; target value of "control intervention frequency" in the performance baseline: 0.1 times / cycle. After a preset 24-hour time period ends, the system collects 100 data points of running cycles. By segmenting and comparing in the peak time window of "07:00-09:00", 10 to-be-optimized working conditions are identified. The system analyzes the data points of the 10 to-be-optimized working conditions and finds that their common characteristics are: the oil and gas pressure change rates are all between 40-49 Pa / min, all are determined as regular load mode, and the average value of "control intervention frequency" is 0.5 times / cycle, which is significantly worse than the performance baseline. The adjustment direction and step are determined: the above common characteristics match the preset rule of "in the running cycles determined as regular load mode, the average control intervention frequency indicator of the to-be-optimized working conditions is worse than the performance baseline", therefore, the system determines that the adjustment direction is to reduce the rate threshold. The step is determined: the system calculates the average deviation degree as (0.5-0.1) / 0.1=400%. Since 400% exceeds the second deviation threshold of 40%, the enhanced adjustment step (5%) is selected. The system performs adjustment calculation: the new rate threshold = 50 Pa / min x (1-5%) = 47.5 Pa / min. The system updates the internal rate threshold parameter online to 47.5 Pa / min, and uses the new threshold as the working parameter of the subsequent running period, thereby completing a closed-loop self-optimization.

[0048] In a possible implementation, the adjustment direction and dynamic adjustment step are determined according to the common characteristics and the deviation degree of the associated performance indicators, specifically including: if the common characteristics show that, in the running cycles determined as regular load mode, the average control intervention frequency indicator of the to-be-optimized working conditions is worse than the performance baseline, the adjustment direction is to reduce the rate threshold; if the common characteristics show that, in the running cycles determined as high load mode, the triggering frequency of the interruptive protection operation exceeds the preset interrupt triggering frequency threshold, the adjustment direction is to reduce the second pressure threshold; if the common characteristics show that, in the running cycles determined as regular load mode, the average unit oil and gas treatment energy consumption indicator of the to-be-optimized working conditions is worse than the performance baseline, the adjustment direction is to increase the first pressure threshold; the average deviation degree of the performance indicators of the to-be-optimized working conditions relative to the performance baseline is calculated; if the average deviation degree exceeds the first deviation threshold but does not exceed the second deviation threshold, the regular adjustment step is adopted; if the average deviation degree exceeds the second deviation threshold, the enhanced adjustment step greater than the regular adjustment step is adopted.

[0049] In one specific embodiment of the present application, the process of determining the adjustment direction and dynamic adjustment step according to the common characteristics and the deviation degree of the associated performance indicators is an automated process based on objective rules, which includes direction decision and amplitude decision. In the direction decision stage, the analyzed common characteristics are matched with a set of pre-set, unique association rules to determine the adjustment direction. The association rule base specifically includes: Rule 1: If the common characteristics show that the average control intervention frequency indicator of the optimized working condition is higher than the performance baseline in the running cycle judged as the regular load mode, it is determined that the adjustment direction is to reduce the speed threshold. This rule aims to correct the problem of frequent adjustment caused by the system's failure to identify critical high-load working conditions in time due to the excessively high speed threshold setting. Rule 2: If the common characteristics show that the triggering frequency of interruptive protection operation exceeds the pre-set interrupt triggering frequency threshold in the running cycle judged as the high-load mode, it is determined that the adjustment direction is to reduce the second pressure threshold. This rule aims to correct the extreme safety event caused by the system's late intervention due to the excessively high high-load start-up pressure threshold setting. Rule 3: If the common characteristics show that the average unit oil and gas treatment energy consumption indicator of the optimized working condition is higher than the performance baseline in the running cycle judged as the regular load mode, it is determined that the adjustment direction is to increase the first pressure threshold. This rule aims to correct the energy waste caused by the system's frequent start-stop due to small fluctuations caused by the excessively low regular load start-up pressure threshold setting. In the amplitude decision stage, based on the performance indicator that triggered the above direction decision, the severity of its deviation from the target is calculated to determine the dynamic adjustment step: Calculate the average deviation degree: the system calculates the average deviation degree of the performance indicator of the optimized working condition relative to the performance baseline. Select the adjustment step: compare the calculated average deviation degree with the pre-set first and second deviation thresholds. If the average deviation degree is between the two, it is determined that it is moderately deviated, and the regular adjustment step is adopted; if the average deviation degree exceeds the second deviation threshold, it is determined that it is severely deviated, and an enhanced adjustment step larger than the regular adjustment step is adopted to achieve greater correction. Integrate the decision results of the two stages, according to the determined adjustment direction, and use the determined dynamic adjustment step to perform an online update of the corresponding threshold (speed threshold, first pressure threshold or second pressure threshold), thereby completing the closed-loop adjustment.

[0050] In one specific embodiment, the performance indicators are calculated and the calculation results are associated and stored with the data points by the following steps: Regarding the calculation of the unit oil-gas treatment energy consumption index: for each complete operation cycle, the system records two key values: total operation energy consumption (E_total): through the smart meter connected to the total power supply of the oil-gas treatment device, or by integrating the instantaneous power of each actuator (such as booster pump, condenser, etc.) over the duration of the entire operation cycle, the total energy consumption of the cycle is obtained, in units of kilowatt-hour (kWh). Total oil-gas treatment volume (V_total): through the gas flow meter installed in the oil-gas treatment pipeline, the volume of gas flowing through is accumulated to obtain the total volume of oil-gas treated in the cycle, in units of cubic meters (m³). The unit oil-gas treatment energy consumption index of this operation cycle is calculated by the following formula: unit oil-gas treatment energy consumption = E_total / V_total. When analyzing the to-be-optimized working condition, the average unit oil-gas treatment energy consumption index is the arithmetic mean of the unit oil-gas treatment energy consumption indexes of all identified to-be-optimized working condition data points.

[0051] Regarding the calculation of the control intervention frequency index: for each complete operation cycle, the system has a built-in counter that records the total number of times the following events occur: the number of triggering times of the regulatory control operation (N_reg). The number of triggering times of the interruptive protection operation (N_int). The control intervention frequency index of this operation cycle is calculated by the following formula: control intervention frequency = N_reg + N_int (unit: times / cycle). When analyzing the to-be-optimized working condition, the average control intervention frequency index is the arithmetic mean of the control intervention frequency indexes of all identified to-be-optimized working condition data points.

[0052] Regarding the calculation of the triggering frequency of the interruptive protection operation: this index is used to evaluate the occurrence of extreme risks in high-load mode, and its calculation is based on a time window (for example, analyzing data within the last 24 hours): total number of times (N_int_total): count the total number of times the interruptive protection operation is triggered in all operation cycles that are judged to be in high-load mode within the time window. Cumulative total duration (T_total): count the total duration of the system in high-load mode within the time window, in units of hours (h). The triggering frequency of the interruptive protection operation is calculated by the following formula: triggering frequency = N_int_total / T_total (unit: times / hour). The calculation result will be compared with the preset interrupt triggering frequency threshold.

[0053] S202: When the oil-gas pressure exceeds the starting pressure threshold, start the preset actuators according to the starting timing and enter the oil-gas treatment operation state.

[0054] In the embodiments of the present application, the start-up timing refers to a set of instructions containing multiple steps, with strict sequence and time interval, which are preset to ensure the safe, smooth and efficient transition of the oil and gas processing device from the stationary standby state to the oil and gas processing running state. For example, a typical start-up timing may first start the condenser for pre-cooling, then start the booster pump to establish the oil and gas circulation path after monitoring that its temperature is lower than the preset start-up enabling temperature, and finally start the vacuum pump to enhance the oil and gas extraction efficiency after confirming that the path pressure is stable.

[0055] Specifically, after the start-up parameters matching the current oil and gas load mode are loaded in step S201, the monitoring system will continuously compare the real-time oil and gas pressure in the storage tank with the start-up pressure threshold in the parameters without interruption. Once the oil and gas pressure is monitored to exceed the start-up pressure threshold, the system will immediately trigger the start-up process. The process will strictly follow the loaded start-up timing to send start-up instructions to the preset multiple actuators (such as booster pump, vacuum pump, condenser, electromagnetic valve, etc. physical equipment) in turn. The issuance of these instructions follows the preset sequence and time or condition judgment, ensuring that each component starts to work in coordination and order. When all instructions in the start-up timing are executed and all related actuators enter the stable working state, the state of the entire system is formally switched from the standby state to the oil and gas processing running state.

[0056] In one possible implementation, when the oil and gas pressure exceeds the start-up pressure threshold, the preset actuators are started according to the start-up timing, specifically including: if it is determined that the oil and gas load mode is the high load mode, the actuators are started according to the start-up timing when the oil and gas pressure first exceeds the start-up pressure threshold; if it is determined that the oil and gas load mode is the regular load mode, the actuators are started according to the start-up timing after the oil and gas pressure is continuously greater than or equal to the start-up pressure threshold for a preset time length.

[0057] In the embodiments of the present application, the preset time length refers to a time parameter set for the regular load mode to confirm whether the start-up condition is continuous and stable, which aims to filter out the short-term pressure fluctuations without the need for processing, and prevent the invalid start-up of the oil and gas processing device. For example, the preset time length can be set to 60 seconds, which means that in the regular load mode, even if the oil and gas pressure exceeds the start-up threshold, the start-up process will not be triggered as long as the duration is less than 60 seconds, thereby effectively avoiding the waste of energy caused by instantaneous disturbance.

[0058] Specifically, under the macro condition that the oil and gas pressure exceeds the start-up pressure threshold, the system will execute differentiated trigger logic according to the previously determined oil and gas load mode. If the current determination is a high load mode, the system will adopt a zero-delay immediate response strategy, and as soon as the oil and gas pressure is first detected to exceed the corresponding start-up pressure threshold, the actuator will be started according to the (enhanced) start-up timing to respond to the emergency condition of pressure surge at the fastest speed. Conversely, if the current determination is a regular load mode, the system will start a delay confirmation mechanism, and in this mode, even if the oil and gas pressure exceeds its corresponding start-up pressure threshold, the start-up instruction will not be immediately issued, but an internal timer will be started, and only when the oil and gas pressure continuously remains above the threshold within the preset time, the timer will end and the actuator will be started according to the (regular) start-up timing. If the pressure falls below the threshold during this period, the timer is reset and the current start-up event is cancelled.

[0059] To further illustrate the start-up timing and shutdown sequence in this application, an embodiment combined with specific process parameters is provided as follows: In an exemplary scenario, when the system is powered on and running, its specific working steps include: the system initializes the communication parameters, reads the system configuration parameters (such as various thresholds to be used later) and judges the rationality of the parameters. Subsequently, the system continuously and repeatedly collects, reads the data of the oil tank pressure, the booster pump outlet temperature, the membrane pressure and the exhaust pipe oil and gas concentration. When the oil tank pressure exceeds the preset start-up threshold (for example, 500 Pa), the system starts the booster pump, the condenser and the vacuum pump, and begins the oil and gas treatment. At the same time, the system opens the oil return valve at regular intervals to make the treated liquid gasoline flow back into the oil tank. During the oil and gas treatment process, the system continuously monitors the key operating parameters: membrane pressure adjustment: when it is detected that the membrane pressure exceeds the first set value (for example, 0.3 MPa), the system opens the exhaust valve and begins to discharge the treated exhaust gas to the outside; when it is detected that the membrane pressure is lower than the second set value (for example, 0.2 MPa), the system closes the exhaust valve, and at this time, no exhaust gas is discharged to the outside. Alternatively, when it is detected that the exhaust oil and gas concentration exceeds the set value (for example, exceeds the first safety threshold of 20 g / m³), the system will issue an alarm prompt and perform an adjusting control operation (such as adjusting the valve opening), but will not shut down immediately. When it is detected that the booster pump outlet temperature is higher than 110°C (for example, which can be used as the second safety threshold), the system shuts down and issues an alarm. When the oil and gas pressure decreases due to treatment and is equal to or lower than the preset shutdown threshold (for example, set to 0 Pa), the system executes the shutdown sequence, closes the booster pump, the condenser and the vacuum pump, stops the oil and gas treatment, and returns to the standby state.

[0060] S203: After entering the oil and gas treatment running state, the key operating parameters including the oil and gas temperature and the exhaust port concentration are continuously monitored.

[0061] In the embodiments of the present application, the key operating parameters refer to a set of core indicators selected from a large number of monitorable physical quantities of the oil and gas processing device, which can most directly reflect the current processing efficiency, operation safety and environmental protection compliance of the system. For example, the discharge port concentration parameter, which is directly related to whether the device meets the national environmental protection standard by measuring the oil and gas content in the final discharge gas in real time, is the final basis for judging whether the oil and gas recovery process is effective, and is therefore regarded as a key operating parameter.

[0062] Specifically, when the start timing in step S202 is completed, the system formally enters the oil and gas processing operating state. In this state, the working task of the system is switched from the start process to the online maintenance of the running state, and the continuous monitoring of a preset set of key operating parameters is immediately started. This monitoring process is realized by reading data from sensors installed at various positions of the device at a high frequency and continuously. Among them, the system monitors the temperature at the outlet of the booster pump to ensure that the processing process is in the best temperature range; at the same time, it monitors the discharge port concentration through the volatile organic compound sensor at the discharge port to ensure that the gas finally discharged to the atmosphere meets the environmental protection regulation requirements; in addition, it also monitors the inlet and outlet pressures of the separation membrane assembly to judge the working efficiency and health status of the membrane separation unit. These continuously monitored key operating parameter values will serve as the real-time data basis for comparison and decision-making in the subsequent steps.

[0063] S204: comparing the monitored values of the key operating parameters with a set of safety threshold values corresponding to the current oil and gas load mode to obtain a comparison result.

[0064] In the embodiments of the present application, the set of safety threshold values corresponding to the current oil and gas load mode refers to a set of critical values bound to different working conditions such as high load mode or conventional load mode, which are used to judge whether the key operating parameters are within the normal range. The system will dynamically select and enable the corresponding set of safety threshold values as the judgment standard for real-time monitoring according to the currently determined oil and gas load mode. For example, in the conventional load mode, the safety threshold value of the booster pump outlet temperature can be set to 100°C; while in the high load mode, considering the sharp increase in processing load, in order to avoid unnecessary frequent alarms, the corresponding temperature safety threshold value can be appropriately relaxed to 110°C.

[0065] Specifically, after continuously obtaining the real-time monitoring values of the key operating parameters in step S203, the system will retrieve a set of safety thresholds corresponding to the current oil and gas load mode (high load or normal load) determined in step S201 from the pre-set configuration library. The system will enter a high-frequency loop comparison process, in which the real-time monitoring value of each key operating parameter will be mathematically compared with the specific limit value corresponding to it in the current set of safety thresholds. For example, compare the real-time monitored oil and gas temperature value with the temperature safety threshold under the current mode, compare the exhaust port concentration value with the concentration safety threshold under the current mode, etc. Through a series of comparison operations, the system generates a comparison result containing the current state identifier for each key operating parameter. The state identifier can be specifically "normal", "first alarm" or "second alarm" data tags, and the comparison result is passed to the subsequent control decision module as the direct input for its execution of corresponding operations.

[0066] Optionally, the key operating parameters and their dynamic safety thresholds are shown in the following table: Key operating parameters Safety threshold in normal load mode Safety threshold in high load mode Note (considerations for setting thresholds) Boost pump outlet temperature First threshold: 100°C Second threshold: 110°C First threshold: 110°C Second threshold: 115°C The system generates more heat under high load, and appropriately relaxing the threshold can avoid unnecessary regulation and shutdown. Outlet concentration First threshold: 20 g / m³ Second threshold: 25 g / m³ First threshold: 20 g / m³ Second threshold: 25 g / m³ Environmental protection index must be strictly followed in any mode, so the threshold is fixed. Membrane module pressure First threshold: 0.2 MPa Second threshold: 0.3 MPa First threshold: 0.25 MPa Second threshold: 0.35 MPa The intake pressure and flow are larger under high load, and the allowed working pressure range is also adjusted accordingly. S205: Based on the comparison result, execute an adjusting control operation or an interruptive protection operation, and the adjusting control operation includes adjusting the operating power of the booster pump or the opening degree of the exhaust port valve without interrupting the oil and gas treatment process.

[0067] In the embodiments of the present application, the adjusting control operation refers to a series of online adjustment actions automatically executed by the system to cope with slight or moderate deviation of the key operating parameters, under the premise that the oil and gas treatment process is not interrupted. The technical function of this operation is to re-correct the operating parameters that have started to deviate from the normal range back to the pre-set safety range by online fine-tuning of part of the actuators without interrupting the overall processing flow. For example, when it is monitored that the oil and gas temperature is slightly higher than its safety threshold, the system can perform an adjusting control operation, such as gradually increasing the operating power of the condenser to enhance the cooling effect, so that the temperature returns to normal.

[0068] Specifically, the system will analyze the comparison result generated in step S204 in real time. If the result shows that the monitoring value of any key operating parameter enters the pre-warning interval (for example, exceeds the first safety threshold but does not reach the second safety threshold), the system will perform an adjusting control operation. In this operation, the core process of oil and gas treatment will not be interrupted, but specific fine-tuning instructions will be sent to specific actuators, for example, according to the specific deviated parameter and amplitude, instructions are sent to the booster pump to adjust its operating power, or instructions are sent to the discharge valve to adjust its opening degree, so as to pull the parameter back to the normal range in continuous operation. However, if the comparison result shows that the monitoring value of any key operating parameter reaches the highest level of danger threshold (for example, exceeds the second safety threshold), the system will determine that the situation is urgent, and immediately perform an interruptive protection operation. The operation will immediately cut off the power supply of the main actuator and close the key valve, so that the entire oil and gas treatment process is forced to stop, to ensure the safety of equipment and environment.

[0069] In a possible implementation, based on the comparison result, the adjusting control operation or the interruptive protection operation is performed, specifically including: setting an associated first safety threshold and a second safety threshold for each of the key operating parameters, the second safety threshold being higher than the first safety threshold; when the monitoring value of any one of the key operating parameters exceeds the corresponding first safety threshold and does not exceed the corresponding second safety threshold, performing the adjusting control operation; when the monitoring value of any one of the key operating parameters exceeds the corresponding second safety threshold, performing the interruptive protection operation.

[0070] In the embodiments of the present application, the first safety threshold represents a pre-warning critical value set for the key operating parameter, which is used to define the boundary of the system from the "normal operating interval" to the "adjusting control interval". When the parameter monitoring value exceeds the threshold, it indicates that the system operation has deviated from the optimal state, although it has not reached a dangerous level, but active intervention is needed to prevent the state from continuously deteriorating. For example, if the normal working pressure of the membrane module is 0.2-0.3 MPa, the first safety threshold of the membrane module can be set to 0.2 MPa. When the pressure exceeds 0.2 MPa, the system will trigger the adjusting control operation, and the second safety threshold representing the dangerous condition can be set to a higher 0.3 MPa.

[0071] Specifically, the system loads a set of safety thresholds with two different numerical levels, i.e., a first safety threshold with a lower value and a second safety threshold with a higher value, for each key operating parameter (such as oil and gas temperature, discharge port concentration, etc.) before entering the operating state. During operation, the system continuously compares the real-time monitoring value of each parameter with the two thresholds, thereby forming a three-interval judgment logic. If the monitoring value of any parameter is lower than its corresponding first safety threshold, it is determined to be normal and no operation is performed. If the monitoring value of the parameter exceeds the corresponding first safety threshold but has not exceeded the corresponding second safety threshold, the system determines that it has entered the pre-warning adjustment interval and will immediately perform an adjustment control operation. If the monitoring value of the parameter further deteriorates and exceeds the corresponding second safety threshold, the system determines that it has entered the danger interval and will immediately perform an interruptive protection operation to stop the entire process.

[0072] In a possible implementation, the adjustment control operation specifically includes: setting an adjustment switching threshold between the first safety threshold and the second safety threshold; when the monitoring value of the key operating parameter exceeds the first safety threshold and does not exceed the adjustment switching threshold, performing a first-level adjustment operation, the first-level adjustment operation including adjusting the opening degree of the discharge port valve; and when the monitoring value of the key operating parameter exceeds the adjustment switching threshold and does not exceed the second safety threshold, performing a second-level adjustment operation, the second-level adjustment operation including reducing the operating power of the booster pump.

[0073] In the embodiments of the present application, the adjustment switching threshold refers to an intermediate critical value set between the first safety threshold and the second safety threshold, which is used to further subdivide the entire adjustment control interval into two sub-intervals, i.e., a first-level adjustment interval and a second-level adjustment interval. The threshold is used to enable the system to take progressive intervention measures with different intensities and costs according to the degree of parameter deviation from the normal range. For example, if the first and second safety thresholds are 0.2 MPa and 0.3 MPa respectively, the adjustment switching threshold can be set to 0.25 MPa, thereby dividing 0.2 MPa-0.25 MPa as the first-level adjustment interval and 0.25 MPa-0.3 MPa as the second-level adjustment interval.

[0074] Specifically, when the monitoring value of any key operating parameter exceeds its corresponding first safety threshold and triggers the regulatory control operation, the system further compares the monitoring value with a regulatory switching threshold set between the first and second safety thresholds to perform the hierarchical regulation. If the monitoring value is between the first safety threshold and the regulatory switching threshold, the system determines that this is a mild deviation and performs the first-level regulation operation. This operation is a low-impact fine-tuning method, such as sending an instruction to the controller of the discharge valve to slightly adjust the opening degree of the valve to change the local pressure or flow of the system. If the parameter monitoring value continues to rise and exceeds the regulatory switching threshold but has not yet reached the second safety threshold, the system determines that the deviation is more serious and upgrades to perform the second-level regulation operation. This operation is a high-impact intervention method, such as directly reducing the operating power of the core equipment booster pump to significantly reduce the processing load of the entire system, thereby more forcefully returning the parameter to the normal range.

[0075] S206: When the interruptive protection operation is triggered or the regulatory control operation is performed until the oil and gas pressure is lower than the preset shutdown threshold, a shutdown sequence is performed, and the system returns to the standby state.

[0076] In the embodiments of the present application, the shutdown sequence refers to a set of instructions corresponding to the start-up sequence and containing multiple steps, which are preset to ensure that the oil and gas processing device safely and orderly transitions from the running state to the standby state of complete stillness. It not only involves shutting down various actuators, but also can include necessary steps such as pipeline purging or pressure release, aiming to safely end the current processing cycle and return the system to the initial state. For example, a typical shutdown sequence can first stop the booster pump, but maintain the vacuum pump and condenser to continue running for a short period of time to discharge the residual oil and gas in the pipeline, and then stop the condenser and vacuum pump in turn after the pipeline pressure drops to a safe value.

[0077] Specifically, after the system enters the oil and gas processing running state, it continuously monitors two conditions that can trigger shutdown. The first is the emergency shutdown condition: once the interruptive protection operation in step S205 is triggered, the system will immediately start the shutdown sequence to ensure safety. The second is the normal shutdown condition: when the system normally processes oil and gas by performing the regulatory control operation and the like, it continuously compares the real-time oil and gas pressure in the oil tank with a preset shutdown threshold with a lower value. When the oil and gas pressure gradually decreases due to continuous processing and falls below the shutdown threshold, the system determines that the current processing task is completed. Regardless of which condition triggers the system, it will start to execute the corresponding shutdown sequence, safely shut down various actuators according to the preset steps and order. When all steps of the shutdown sequence are completed, the system finally returns from the oil and gas processing running state to the standby state, at which time the main equipment stops working, but the monitoring system remains on, waiting for the start of the next processing cycle.

[0078] Correspondingly, in one exemplary scenario, the shutdown sequence can also be distinguished into a regular shutdown sequence and an emergency shutdown sequence according to the triggering cause: the regular shutdown sequence is executed after the task is normally completed, aiming to safely and thoroughly end the cycle, and its steps can include: stopping the booster pump to stop delivering new oil gas. Maintaining the vacuum pump and the condenser to continue running for a preset purging duration (e.g. 60 seconds) to handle the residual oil gas in the pipeline. After the purging ends, the condenser and the vacuum pump are stopped in turn, and the related valves are closed.

[0079] The emergency shutdown sequence is executed when the interruptive protection operation is triggered, aiming to ensure safety in the first place, and its steps can include: immediately sending a stop instruction to all running actuators (including the vacuum pump, the booster pump, the condenser, etc.). Immediately closing all safety cut-off valves between the oil tank and the processing device to isolate the risk source. Activating the audible and visual alarm device and generating a fault log.

[0080] The embodiment further discloses an electronic device, referring to Figure 3 The electronic device can include: at least one processor 301, at least one communication bus 302, a user interface 303, a network interface 304, at least one memory 305.

[0081] The communication bus 302 is configured to realize the connection and communication among the components.

[0082] The user interface 303 can include a display screen (Display) and a camera (Camera), and the optional user interface 303 can further include a standard wired interface and a wireless interface.

[0083] The network interface 304 can optionally include a standard wired interface and a wireless interface (such as a WI-FI interface).

[0084] The processor 301 can include one or more processing cores. The processor 301 connects various parts within the server through various interfaces and lines, performs various functions of the server and processes data by running or executing instructions, programs, code sets or instruction sets stored in the memory 305, and calling data stored in the memory 305. Alternatively, the processor 301 can be implemented in at least one of a hardware form of a digital signal processing (DSP), a field-programmable gate array (FPGA), and a programmable logic array (PLA). The processor 301 can integrate a combination of one or more of a central processing unit (CPU), a graphics processing unit (GPU), and a modem. Among them, the CPU mainly processes operating systems, user interfaces, and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; and the modem is used for processing wireless communication. It can be understood that the above-mentioned modem can also not be integrated into the processor 301, but can be realized by a separate chip.

[0085] The memory 305 can include a random access memory (RAM) and a read-only memory (ROM). Alternatively, the memory 305 includes a non-transitory computer-readable storage medium. The memory 305 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 305 can include a program storage area and a data storage area, wherein the program storage area can store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area can store data involved in the above-mentioned various method embodiments, etc. The memory 305 can alternatively be at least one storage device located away from the aforementioned processor 301. As shown, the memory 305 as a computer storage medium can include an operating system, a network communication module, a user interface module, and an application program of an oil and gas processing method. Figure 3 As shown, the memory 305 as a computer storage medium can include an operating system, a network communication module, a user interface module, and an application program of an oil and gas processing method.

[0086] In Figure 3In the electronic device shown, the user interface 303 is mainly used to provide an interface for the user to input, and obtain data input by the user; and the processor 301 can be used to call an application program stored in the memory 305 and storing an oil and gas processing method, which, when executed by one or more processors 301, causes the electronic device to perform the method of one or more of the above embodiments.

[0087] It should be noted that, for the foregoing method embodiments, in order to simply describe, they are all described as a series of action combinations, but those skilled in the art should know that the present application is not limited to the order of the actions described, because according to the present application, certain steps can be performed in other order or at the same time. Secondly, those skilled in the art should know that the embodiments described in the specification all belong to preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

[0088] In the above embodiments, the description of each embodiment has its own focus, and the parts not described in detail in a certain embodiment can be referred to the related description of other embodiments.

[0089] In some embodiments of the present application, a computer readable storage medium is provided, including instructions, when the instructions run on the electronic device, can cause the electronic device to perform an oil and gas processing method in the embodiments of the present application.

[0090] In some embodiments of the present application, a computer program product is also provided, when the computer program product runs on the electronic device, causes the electronic device to perform an oil and gas processing method in the embodiments of the present application.

[0091] In several embodiments provided by the present application, it should be understood that the disclosed device can be implemented by other ways. For example, the device embodiments described above are only schematic, and for example, the division of the units is only a logical function division, and there can be another division way in actual implementation, for example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the display or discussion of the mutual coupling or direct coupling or communication connection between the units can be through some interface, indirect coupling or communication connection between units or electrical or other forms.

[0092] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they can be located in one place, or can be distributed on a plurality of network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the embodiment of the present application.

[0093] In addition, each of the function units in the various embodiments of the present application can be integrated in one processing unit, or each unit can be physically present separately, or two or more units can be integrated in one unit. The integrated unit can be realized in the form of hardware or in the form of a software function unit.

[0094] The integrated unit, if realized in the form of a software function unit and sold or used as an independent product, can be stored in a computer readable memory. Based on such understanding, the technical solutions of the present application, essentially or in part, or all or part of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a memory 305 and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the various embodiments of the method of the present application. The aforementioned memory 305 includes: a U disk, a mobile hard disk, a magnetic disk or an optical disk, and various media that can store program codes.

[0095] The above is only exemplary embodiments of the present disclosure, and cannot limit the scope of the present disclosure. That is, any equivalent changes and modifications made in accordance with the teachings of the present disclosure are still within the scope of the present disclosure. Other embodiments of the present disclosure will be readily apparent to those skilled in the art upon considering the disclosure herein. The present application is intended to cover any variations, uses, or adaptive changes of the present disclosure that follow the general principles of the present disclosure and include common knowledge or conventional techniques in the art that are not described in the present disclosure. The specification and examples are only considered to be exemplary, and the scope of the present disclosure is defined by the claims.

Claims

1. A method for oil and gas processing, characterized in that, Applied to oil and gas processing equipment, the method includes: In standby mode, the current oil and gas load mode is determined based on the rate of change of oil and gas pressure in the oil storage tank, and corresponding start-up parameters are matched according to the current oil and gas load mode. The start-up parameters include start-up pressure threshold and start-up timing. When the oil and gas pressure exceeds the start-up pressure threshold, the preset actuator is started according to the start-up sequence, and the oil and gas processing operation state is entered. After entering the oil and gas processing operation state, key operating parameters are continuously monitored, including oil and gas temperature and emission concentration. The comparison results are obtained by comparing the monitored values ​​of the key operating parameters with a set of safety thresholds corresponding to the current oil and gas load mode; Based on the comparison results, an adjustment control operation or an interruption protection operation is performed. The adjustment control operation includes adjusting the operating power of the booster pump or the opening of the discharge valve without interrupting the oil and gas processing process. When the interruption protection operation is triggered or the regulatory control operation is executed until the oil and gas pressure is lower than the preset shutdown threshold, the shutdown sequence is executed and the system returns to the standby state.

2. The method according to claim 1, characterized in that, The process of determining the current oil and gas load mode based on the rate of change of oil and gas pressure within the storage tank, and matching corresponding startup parameters according to the current oil and gas load mode, specifically includes: The rate of change is compared with a preset rate threshold; If the rate of change is less than the rate threshold, the current oil and gas load mode is determined to be a normal load mode, and the first start-up parameters of the first pressure threshold and normal start-up sequence are matched according to the normal load mode. If the rate of change is greater than or equal to the rate threshold, the current oil and gas load mode is determined to be a high load mode, and a second start-up parameter with a second pressure threshold and an enhanced start-up sequence is matched according to the high load mode, wherein the second pressure threshold is lower than the first pressure threshold, and the actuator start-up time interval of the enhanced start-up sequence is less than the normal start-up sequence.

3. The method according to claim 2, characterized in that, The method further includes: After each preset time period ends, a time series dataset is constructed based on the historical operating data collected within the time period. The historical operating data consists of multiple data points, each of which is associated with an operating cycle and records the rate of change of oil and gas pressure, oil and gas load mode, and a set of performance indicators for the operating cycle. The performance indicators include unit oil and gas processing energy consumption, control intervention frequency, and peak emission concentration. The time series dataset is segmented according to a preset time window, and the performance index of the data points in each time window is compared with the preset performance baseline to determine the operating conditions to be optimized. Analyze the common characteristics of the data points of the working condition to be optimized, and determine the adjustment direction and dynamic adjustment step size based on the common characteristics and the deviation of the associated performance indicators, and perform adjustments on the rate threshold, the first pressure threshold and / or the second pressure threshold.

4. The method according to claim 3, characterized in that, The step of determining the adjustment direction and dynamic adjustment step size based on the common characteristics and the deviation of the associated performance indicators specifically includes: If the common feature is that, in an operating cycle determined to be a normal load mode, the average control intervention frequency index of the operating condition to be optimized is worse than the performance baseline, then the adjustment direction is to reduce the rate threshold. If the common feature is manifested as the frequency of interrupt protection operation exceeding the preset interrupt trigger frequency threshold in the operation cycle determined to be in a high load mode, then the adjustment direction is to reduce the second pressure threshold. If the common feature is that, in an operating cycle determined to be a normal load mode, the average unit oil and gas processing energy consumption index of the operating condition to be optimized is worse than the efficiency baseline, then the adjustment direction is to increase the first pressure threshold. Calculate the average deviation of the performance index of the operating condition to be optimized relative to the performance baseline; If the average deviation exceeds the first deviation threshold but does not exceed the second deviation threshold, then a conventional adjustment step size is used; If the average deviation exceeds the second deviation threshold, an enhanced adjustment step size larger than the conventional adjustment step size is adopted.

5. The method according to claim 1, characterized in that, When the oil and gas pressure exceeds the start-up pressure threshold, the preset actuator is activated according to the start-up sequence, specifically including: If the oil and gas load mode is determined to be a high load mode, the actuator is started according to the start-up sequence when the oil and gas pressure first exceeds the start-up pressure threshold. If the oil and gas load mode is determined to be a normal load mode, the actuator will be started according to the start sequence after the oil and gas pressure is continuously greater than or equal to the start pressure threshold for a preset duration.

6. The method according to claim 1, characterized in that, The step of performing regulatory control operations or interruption protection operations based on the comparison results specifically includes: For each of the key operating parameters, a first security threshold and a second security threshold are respectively set, wherein the second security threshold is higher than the first security threshold; When the monitored value of any of the key operating parameters exceeds the corresponding first safety threshold but does not exceed the corresponding second safety threshold, the regulatory control operation is executed. When the monitored value of any of the key operating parameters exceeds the corresponding second security threshold, the interruption protection operation is executed.

7. The method according to claim 6, characterized in that, The execution of the regulatory control operation specifically includes: An adjustment switching threshold is set between the first security threshold and the second security threshold; When the monitored value of the key operating parameter exceeds the first safety threshold but does not exceed the adjustment switching threshold, a first-level adjustment operation is performed, which includes adjusting the opening degree of the discharge port valve. When the monitored value of the key operating parameter exceeds the adjustment switching threshold but does not exceed the second safety threshold, a second-level adjustment operation is performed, which includes reducing the operating power of the booster pump.

8. An electronic device, characterized in that, Including processor and memory; The memory is used to store computer program code, the computer program code including computer instructions, and the processor invokes the computer instructions to cause the electronic device to perform the method as described in any one of claims 1-7.

9. A computer-readable storage medium storing computer instructions, characterized in that, When the computer instructions are executed on an electronic device, the electronic device causes the electronic device to perform the method as described in any one of claims 1-7.

10. A computer program product, characterized in that, When the computer program product is run on an electronic device, it causes the electronic device to perform the method as described in any one of claims 1-7.

Citation Information

Patent Citations

  • Gas station oil gas emission treatment device and method

    CN112390220A

  • Device and method for detecting leakproofness of oil gas recovery system of oil tank truck

    CN114136561A

  • Oil unloading oil gas recovery testing method, terminal equipment and storage medium

    CN116907738A

  • Online monitoring system, method and equipment for oil and gas recovery of gas station and medium

    CN119503717A

  • Oil gas recovery treatment system and oil gas recovery treatment method

    CN119960402A