Oil pipe accumulated liquid detection method and equipment for tertiary oil recovery and medium

Through the wireless link module and the acoustic wave transmitting module combined with edge computing equipment, remote automatic monitoring and analysis of the effusion level of the oil and gas wells is achieved, solving the problem of manual measurement and the inability to automatically and continuously measure, and improving the recovery rate of three oil productions .

CN119288442AInactive Publication Date: 2025-01-10DESHI ENERGY TECH GRP CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202411657179.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-19
Publication Date
2025-01-10
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing oil and gas well fluid level detection methods consume manpower and cannot achieve automatic continuous measurement, which affects the recovery rate.

Method used

The wireless link module and acoustic wave emission module are used to construct an ad hoc network, detect the liquid reflected waves in the oil pipe through infrasonic waves, combine with edge computing equipment to monitor and analyze the liquid accumulation level in real time, and automatically take liquid discharge measures.

Benefits of technology

Remote automatic monitoring of the height of the fluid accumulation level of the oil and gas well is realized, measurement efficiency and accuracy are improved, cumbersome and long cycle problems of manual measurement, and the recovery rate of three oil productions is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119288442A_ABST
    Figure CN119288442A_ABST
Patent Text Reader

Abstract

The invention discloses an oil pipe accumulated liquid detection method and equipment for tertiary oil recovery and a medium, and relates to the technical field of petroleum. The method comprises the steps that the main control module constructs an ad hoc network; the sound wave transmitting module is controlled to transmit infrasonic waves into an oil pipe corresponding to the oil-gas well; after the ad hoc network is constructed, the main control module sends an acquisition instruction to the data packet acquisition module so as to receive a data packet uploaded by the data packet acquisition module; based on the ad hoc network and the identity label of the oil pipe corresponding to the data packet, the main control module determines a target edge computing device corresponding to the data packet, and sends the data packet to the target edge computing device, so that the target edge computing device determines the height of the accumulated liquid level of the corresponding oil pipe according to the data packet; and according to the height of the accumulated liquid level, a liquid drainage measure corresponding to the oil pipe is determined, and accumulated liquid in the oil pipe is drained through the liquid drainage measure, so that the recovery rate of tertiary oil recovery of the oil and gas well is increased.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of petroleum technology, and in particular to a method, equipment and medium for detecting fluid accumulation in oil pipes used in tertiary oil recovery. Background Art

[0002] In the whole operation process of oil and gas wells, tertiary oil recovery technology is usually used to improve the recovery rate of crude oil in oil fields. Tertiary oil recovery is to inject chemicals, thermal fluids, gases or microorganisms to change the properties of oil, gas, water and rocks, so as to extract more oil. In the process of tertiary oil recovery, the liquid level of oil and gas wells is one of the important factors affecting the output of resources in oil and gas wells. Therefore, monitoring and analyzing the liquid level of oil and gas wells is of great significance to improving oil recovery.

[0003] At present, since most oil and gas wells are located in remote areas, the detection of liquid level in oil and gas wells is mainly done by regular on-site manual measurement of the liquid level in the oil and gas wells, or by remote monitoring systems of the Internet of Things. However, regular on-site manual measurement of the liquid level in oil and gas wells is labor-intensive, has a long measurement cycle, and the dynamic liquid level data cannot be automatically and continuously measured, which will have a certain impact on the recovery rate of the oil and gas wells. Summary of the invention

[0004] The embodiments of the present application provide a method and device for detecting liquid accumulation in oil pipes for tertiary oil recovery, so as to solve the technical problems that the existing methods for detecting liquid level in oil and gas wells are labor-intensive and data cannot be uploaded normally.

[0005] On the one hand, an embodiment of the present application provides a method for detecting liquid accumulation in an oil pipe for tertiary oil recovery, the method comprising: a main control module obtains a start detection instruction, and sends the start detection instruction to a wireless link module and an acoustic wave transmitting module to control the wireless link module to access a remote wireless grid node to build an ad hoc network; and controls the acoustic wave transmitting module to transmit infrasound waves into an oil pipe corresponding to an oil and gas well;

[0006] When the self-organizing network is built, the main control module sends a collection instruction to the data packet collection module to receive the data packet uploaded by the data packet collection module; wherein the data packet includes: the identity of the corresponding oil pipe, environmental data, and the reflected wave of the infrasound wave reflected by the liquid in the oil pipe;

[0007] Based on the ad hoc network and the identity of the oil pipeline corresponding to the data packet, the main control module determines the target edge computing device corresponding to the data packet, and sends the data packet to the target edge computing device, so that the target edge computing device determines the liquid level height corresponding to the oil pipeline according to the data packet;

[0008] According to the height of the accumulated liquid surface, the corresponding drainage measures of the oil pipe are determined, and the accumulated liquid in the oil pipe is discharged through the drainage measures to improve the tertiary oil recovery rate of the oil and gas well.

[0009] In one implementation of the present application, the main control module determines the target edge computing device corresponding to the data packet, specifically including:

[0010] Based on the identity of the oil pipeline corresponding to the data packet, the main control module determines the first edge computing device corresponding to the data packet, and obtains the number of first data packets to be processed corresponding to the first edge computing device;

[0011] When the number of the first data packets to be processed is greater than a first preset threshold, the main control module defines a first area with the first edge computing device as the center and a first preset distance as the radius;

[0012] determining a second edge computing device in the first area that can communicate with the first edge computing device;

[0013] Determine the number of second data packets to be processed of each second edge computing device to form a first number set, and use the minimum number of second data packets to be processed in the first number set that is less than a first preset threshold as the target edge computing device;

[0014] When the number of second data packets to be processed in the first number set is greater than the first preset threshold, a second area is defined with the first edge computing device as the center and a second preset distance as the radius; wherein the second preset distance is greater than the first preset distance;

[0015] Determine a third edge computing device in the second area that can communicate with the first edge computing device;

[0016] Determine the number of third data packets to be processed of each third edge computing device to form a second number set, and take the smallest number of third data packets to be processed in the second number set that is less than the first preset threshold as the target edge computing device.

[0017] In one implementation of the present application, the method further includes:

[0018] When the number of the first data packets to be processed is greater than a first preset threshold, the main control module determines the data volume of each data packet to be processed corresponding to each selected edge computing device around the first edge computing device, and adds up the data volumes of all data packets to be processed to obtain the total data volume that needs to be processed by the selected edge computing device;

[0019] For each edge computing device to be selected, obtaining the throughput of the edge computing device to be selected, and calculating the ratio between the total data volume and the throughput to determine the remaining processing time that the edge computing device to be selected needs to wait when receiving a new data packet;

[0020] Determine the communication time between the selected edge computing device and the first edge computing device, determine the weighting coefficients corresponding to the remaining processing time and the communication time respectively, and perform weighted summation of the remaining processing time and the communication time according to the weighting coefficients to obtain a corresponding summation result;

[0021] According to the summation result, a target edge computing device is selected from the candidate edge computing devices.

[0022] In one implementation of the present application, the main control module determines the target edge computing device corresponding to the data packet, specifically including:

[0023] The main control module reads the header data corresponding to the data packet to obtain the identity in the header data; wherein the identity is used to distinguish different oil pipes;

[0024] The main control module determines a first edge computing device corresponding to the data packet according to the identity identifier.

[0025] In one implementation of the present application, the drainage measures corresponding to the oil pipe are determined according to the height of the accumulated liquid level, specifically including:

[0026] According to the relationship between the liquid accumulation level and the preset liquid accumulation level, the safety level of the oil pipe corresponding to the liquid accumulation level is determined; wherein the safety level includes a red level, an orange level and a blue level, the red level indicates that the oil pipe is severely liquid accumulated, the orange level indicates that the oil pipe is moderately liquid accumulated, and the blue level indicates that the oil pipe is slightly liquid accumulated;

[0027] When the safety level is the red level, determining that the drainage measure corresponding to the oil pipe is a mechanical drainage and gas recovery measure or a gas lift drainage and gas recovery measure;

[0028] When the safety level is the orange level, determining that the drainage measure corresponding to the oil pipe is a foam flooding measure;

[0029] When the safety level is the blue level, it is determined that the drainage measure corresponding to the oil pipe is a pipe string water drainage and gas production measure.

[0030] In one implementation of the present application, after the target edge computing device determines the height of the liquid level corresponding to the oil pipeline according to the data packet, the method further includes:

[0031] When the height of the accumulated liquid level is greater than a corresponding preset threshold, the target edge computing device obtains a historical height of the accumulated liquid level corresponding to the oil pipeline within a first preset time period;

[0032] Obtaining a liquid level height change curve of historical liquid level heights within the first preset time period;

[0033] The change trend of the accumulated liquid level height change curve is obtained to generate a corresponding detection instruction and send it to the oil pipeline maintenance terminal corresponding to the oil pipeline.

[0034] In one implementation of the present application, obtaining the change trend of the accumulation liquid level height change curve to generate a corresponding detection instruction and send it to the oil pipeline maintenance terminal corresponding to the oil pipeline specifically includes:

[0035] In the case where the change trend is an upward trend, the target edge computing device obtains the rainfall amount of the oil pipeline corresponding to the current liquid accumulation level height within the second preset time period;

[0036] When the rainfall is greater than a preset threshold, the target edge computing device generates a rainfall monitoring task to monitor changes in the height of the liquid level of the oil pipeline;

[0037] When the rainfall is less than a preset minimum rainfall threshold, the target edge computing device generates a severe liquid infiltration instruction to send to the oil pipeline maintenance terminal corresponding to the oil pipeline.

[0038] In one implementation of the present application, the method further includes: when the target edge computing device is a second edge computing device or a third edge computing device,

[0039] The target edge computing device sends the liquid level height, data packet, and calculation process data of the oil pipeline to the first edge computing device so that the first edge computing device saves them.

[0040] An embodiment of the present application also provides a device for detecting liquid accumulation in oil pipes in oil and gas wells, the device comprising: a processor; and a memory on which executable code is stored. When the executable code is executed, the processor executes any one of the above-mentioned methods for detecting liquid accumulation in oil pipes for tertiary oil recovery.

[0041] The embodiment of the present application further provides a non-volatile computer storage medium storing computer executable instructions, wherein the computer executable instructions are configured to execute a method for detecting fluid accumulation in an oil pipe for tertiary oil recovery as described in any one of the above.

[0042] By adopting the embodiment of the present invention, the wireless link module and the acoustic wave emission module are controlled by the main control module, so as to realize the remote automatic monitoring of the liquid level height of the oil and gas wells, avoid the tediousness and errors of manual on-site regular measurement, and improve the efficiency and accuracy of monitoring. By receiving and processing the data packets uploaded by the data packet acquisition module in real time, the continuous monitoring of the liquid level height of the oil and gas wells is realized, and the problem of long manual measurement cycle and inability to automatically measure continuously is solved. By accurately monitoring and analyzing the liquid level of the oil and gas wells and taking corresponding drainage measures, the liquid accumulation in the oil pipe can be effectively reduced and the tertiary oil recovery rate of the oil and gas wells can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0044] Figure 1 A flow chart of a method for detecting fluid accumulation in an oil pipe for tertiary oil recovery provided in an embodiment of the present application;

[0045] Figure 2 A schematic structural diagram of an oil pipe liquid accumulation detection device for tertiary oil recovery provided in an embodiment of the present application. DETAILED DESCRIPTION

[0046] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.

[0047] The technical solution proposed in the embodiments of the present application is described in detail below with reference to the accompanying drawings.

[0048] Figure 1 The present invention provides a flow chart of a method for detecting fluid accumulation in oil pipes for tertiary oil recovery. Figure 1 As shown, the method for detecting fluid accumulation in oil pipes for tertiary oil recovery provided in the embodiment of the present application can be mainly implemented by the following steps:

[0049] S101, the main control module obtains the start detection instruction, and sends the start detection instruction to the wireless link module and the sound wave transmission module to control the wireless link module to access the remote wireless grid node to build an ad hoc network; and control the sound wave transmission module to transmit infrasound waves into the oil pipe corresponding to the oil and gas well.

[0050] It should be noted that the main control module is a processor with data receiving and sending capabilities and computing processing capabilities, which is respectively connected to the wireless link module and the sound wave transmitting module, and at least a start detection instruction is stored in the main control module. Among them, the start detection instruction is used to activate the wireless link module to access the remote wireless mesh node, that is, the mesh node, and activate the sound wave transmitting module to start the process of transmitting infrasound waves. Self-organizing network refers to the network obtained by the remote mesh node after the wireless link module completes access to the remote mesh node.

[0051] Specifically, the wireless link module is composed of several wireless links. A wireless link is preset on the wireless link module to connect to the remote mesh node, and a command switch is preset on the wireless link. The normal state of the command switch is the disconnected state. When the command switch receives the start detection command sent by the main control module, the state will be switched to the closed state to realize the access of the remote mesh node, thereby achieving the purpose of building a network.

[0052] The sound wave transmitting module at least includes an infrasound wave transmitter, and the transmitting button corresponding to the infrasound wave transmitter is composed of a switch, and the normal state of the switch is an open state. When the switch receives the start detection instruction sent by the main control module, the state of the switch will be switched to a closed state. At this time, the infrasound wave transmitter will continuously send infrasound waves into the oil pipe according to the preset transmission time. It should be noted that the preset transmission time is any feasible time.

[0053] S102: After the self-organizing network is constructed, the main control module sends a collection instruction to the data packet collection module to receive the data packet uploaded by the data packet collection module.

[0054] The data packet includes: the identity of the corresponding oil pipeline, environmental data, and the reflected wave of the infrasound wave reflected by the liquid in the oil pipeline.

[0055] It should be noted that the completion instruction is stored in the wireless link module. After the wireless link module completes access to the remote mesh node, the completion instruction will be activated by the wireless link module, and the activated completion instruction will be sent to the main control module through the wireless link module.

[0056] In an embodiment of the present application, the main control module is also connected to the data packet acquisition module, and the main control module also pre-stores an acquisition instruction, which is used to control the data packet acquisition module to start the acquisition task and report the collected data. The data packet acquisition module is an acquisition device, which can be a mobile terminal or a data acquisition platform, and the present application does not limit its type. The data packet acquisition module is also respectively connected to a preset temperature sensor, a pressure sensor, a positioning device, and an infrasound receiver in the oil pipe, so as to obtain the oil pipe temperature, the oil pipe pressure, and the reflected wave data corresponding to the infrasound through the temperature sensor, the pressure sensor, the positioning data, and the infrasound receiver.

[0057] It should be noted that the infrasound transmitter and the infrasound receiver are respectively installed at the oil pipe mouth of the oil pipe corresponding to the oil and gas well. The infrasound transmitter transmits ultrasonic waves along the oil pipe to the annular space between the oil pipe and the oil casing. The ultrasonic waves can penetrate the annular space between the oil pipe and the oil casing and reach the liquid accumulation surface. The reflected wave data received by the infrasound receiver can further analyze the height of the liquid accumulation surface in the oil casing. Among them, the reflected wave data at least includes a first time interval (the first time interval mentioned here is the time difference between the reflected waves received after the acoustic wave transmitting module transmits the infrasound wave), the number of peaks of the reflected wave, and the second time interval between any two peaks.

[0058] The data packet collection module can also obtain a pre-stored positioning data-identity database, which stores the oil pipeline positioning data and its corresponding identity, and the identity is used to distinguish different oil pipelines. In this way, after the positioning data corresponding to the oil pipeline is obtained by the data packet collection module, the identity corresponding to the oil pipeline can be determined, and the target edge computing device corresponding to the oil pipeline can be determined according to the identity.

[0059] When the data packet acquisition module completes the acquisition of the above data, the data in the data packet (including: oil pipe temperature, oil pipe pressure, identity and reflected wave data corresponding to the infrasound) will be encapsulated into a data packet. In addition, the header data of the data packet at least includes the identity, so that the receiving main control unit can determine the oil pipe corresponding to the data packet and the edge computing device corresponding to the data packet.

[0060] S103. Based on the self-organizing network and the identity of the oil pipeline corresponding to the data packet, the main control module determines the target edge computing device corresponding to the data packet, and sends the data packet to the target edge computing device, so that the target edge computing device determines the liquid level height of the corresponding oil pipeline according to the data packet.

[0061] In the embodiment of the present application, all edge computing devices deployed in the oil and gas wells are connected to the main control module, and each edge computing device can also communicate with each other. A communication circuit is formed between each edge computing device. In order to increase the speed of data communication between each edge computing device and reduce the delay time, two edge computing devices whose communication distance in the communication circuit is less than the preset communication length need to be connected to each other in advance. The preset communication length is any feasible length.

[0062] In one embodiment of the present application, the correspondence between the oil pipeline identity and the edge computing device is stored in the main control module. When the main control module receives a data packet, it only reads the header data in the data packet, and can preliminarily determine the first edge computing device corresponding to the data packet according to the identity in the header data, so that the entire data packet is not read when reading data, reducing data processing pressure.

[0063] The processing method provided in the embodiment of the present application generates a startup detection instruction to control the operation timing of the wireless link module and the acoustic wave emission module to save power resources. And by controlling the wireless link module to access the remote wireless grid node, the purpose of establishing a network is achieved, avoiding the technical problem that the data cannot be uploaded normally due to the weak external network. The identity corresponding to the oil pipeline is obtained through the data packet acquisition module, so that the main control module can send each data packet to the corresponding target edge computing device for processing, avoiding the time loss caused by a single main control module calculating too many data packets.

[0064] After the main control module determines the first edge computing device corresponding to the data packet, it will send an acquisition instruction to the first edge computing device. The acquisition instruction is used to enable the first edge computing device to send the corresponding first number of data packets to be processed to the main control module, so that the main control module can determine whether the first edge computing device is capable of processing the newly received data packet based on the current number of first data packets to be processed of the first edge computing device.

[0065] Specifically, when the number of first data packets to be processed is less than or equal to a first preset threshold, the main control module determines that the first edge computing device has the ability to quickly process the newly added data packets, and sends the data packets to the first edge computing device. When the number of first data packets to be processed is greater than the first preset threshold, the main control module determines that the first edge computing device does not have the ability to quickly process the newly added data packets. At this time, the main control module obtains other edge computing devices connected to the first edge computing device, and obtains the distance between the other edge computing devices and the first edge computing device, and determines the other edge computing devices whose distance is less than or equal to the first preset distance as the second edge computing device. Among them, the first preset distance can be any feasible distance.

[0066] Furthermore, the main control module obtains the number of second data packets to be processed corresponding to each second edge computing device, and determines the minimum number of second data packets to be processed. When the main control module detects that the minimum second data packet to be processed is less than the first preset threshold, it determines that the second edge computing device corresponding to the minimum value has the ability to quickly process the newly added data packet, and sends the data packet to the second edge computing device.

[0067] When the second number of data to be processed is still greater than the first preset threshold, the main control module determines that all second edge computing devices do not have the ability to quickly process new data packets. At this time, the main control module will obtain other edge computing devices connected to the first edge computing device, and obtain the distance between other edge computing devices and the first edge computing device, and determine other edge computing devices whose distance is less than or equal to the second preset distance as third edge computing devices. Among them, the second preset distance can be any feasible distance. Similarly, the main control module obtains the number of third data packets to be processed corresponding to each third edge computing device. And determine the minimum value between the first number of data packets to be processed, the second number of data packets to be processed, and the third number to be processed. The main control module obtains the edge computing device corresponding to the minimum value and sets it as the target edge computing device.

[0068] In the embodiment of the present application, after determining the corresponding edge computing device according to the identity of the oil pipeline, the main control module does not directly send the data packet to the edge computing device for processing, but pre-determines whether the processing capacity of the current edge computing device can process the data packet normally, thereby avoiding untimely data processing due to insufficient processing capacity, affecting the detection timeliness, and causing safety hazards. In addition, when the processing capacity of the determined edge computing device is insufficient, the edge computing device that can be used to process the data packet is determined from the edge computing devices adjacent to the edge computing device, further reducing the data processing cost and delay.

[0069] In another embodiment of the present application, when the main control module receives a data packet uploaded by the acquisition module, and the first edge computing device corresponding to the pipeline identity identifier is not capable of processing the newly received data packet, in addition to the above method, the allocation probability corresponding to the data packet can also be determined based on the remaining processing time of other edge computing devices, thereby selecting a target edge computing device with a shorter communication time and stronger data processing capability based on the allocation probability.

[0070] Specifically, the data volume of each data packet to be processed corresponding to each edge computing device to be selected around the first edge computing device is determined, and the data volume of all the above-mentioned data packets to be processed is added to obtain the total data volume required to be processed by the current edge computing device to be selected. The throughput of the edge computing device to be selected is obtained, and the ratio between the total data volume and the throughput is calculated to determine the remaining processing time that the current edge computing device to be selected needs to wait when receiving a new data packet. The communication time between the edge computing device to be selected and the first edge computing device is determined, and the weighting coefficients corresponding to the remaining processing time and the communication time are determined respectively, and the remaining processing time and the communication time are weighted and summed according to the weighting coefficient. The summation result obtained by the above process can be used to evaluate the allocation probability corresponding to different edge computing devices to be selected. The larger the summation result, the smaller the allocation probability, that is, the summation result is negatively correlated with the allocation probability. Therefore, after obtaining the summation results corresponding to multiple edge computing devices to be selected, the edge computing device with a smaller corresponding summation result can be selected as the target edge computing device to process the newly received data packet.

[0071] It should be noted that the remaining processing capacity of the edge computing devices to be selected must also be determined. When the remaining processing capacity corresponding to a target edge computing device cannot completely process the newly received data packets, other edge computing devices to be selected can be selected in order from small to large according to the sum results to participate in the processing of the data packets as target edge computing devices.

[0072] After the main control module sends the data packet to the corresponding target edge computing device, the target edge computing module obtains the oil pipe temperature, oil pipe pressure, and the first time interval in the data packet; the first time interval is the time difference between the reflected waves received after the sound wave transmitting module transmits the infrasound wave; and the target edge computing device calculates the wavelength of the reflected wave in the data packet and the second time interval between any two wave peaks, and determines the sound speed of the reflected wave according to the wavelength and the second time interval;

[0073] Specifically, the height of the liquid level of the oil casing outside the oil pipe corresponding to the data packet is calculated according to the following formula:

[0074]

[0075] Where v is the speed of sound, represents the first time interval, represents the second time interval, λ represents the wavelength, l represents the length of the oil pipe, and d represents the height of the liquid accumulation level.

[0076] After calculating the height of the liquid accumulation surface, the target edge computing device generates corresponding feedback data and returns it to the main control module. It should be noted that the feedback data at least includes the identity identifier and the height of the liquid accumulation surface.

[0077] In an embodiment of the present application, a first identity to be processed is pre-stored on the edge computing device. When the edge computing device obtains the data packet sent by the main control module, it will first determine whether the identity corresponding to the data packet is the first identity to be processed. If it is the first identity to be processed, after the edge computing device calculates the data packet, the liquid level height of the oil pipeline, the data packet, and the calculation process data will be stored, and the storage terminal can be the storage disk of the edge computing device or the storage device corresponding to the edge computing device. If the identity is not the first identity to be processed, the edge computing device will retrieve the identity corresponding table to send the liquid level height, data packet, and calculation process data of the oil pipeline calculated by the target edge computing device to the first edge computing device corresponding to the identity, so as to facilitate the storage of the first edge computing device, and it should be noted that the specific storage location of the above data can be the storage disk of the first edge computing device or the storage device corresponding to the first edge computing device (such as: U disk).

[0078] After the target edge computing device obtains the data packet and determines the liquid level height of the oil pipeline according to the data packet, the target edge computing device calculates whether the liquid level height corresponding to the data packet is greater than the corresponding preset threshold. When the liquid level height is greater than the corresponding preset threshold, the liquid in the oil pipeline may affect the exploitation of other resources. At this time, the target edge computing device needs to obtain the various historical liquid level heights corresponding to the oil pipeline in the first preset time period. Then, the target edge computing device obtains several historical liquid level heights corresponding to the same oil pipeline in the first preset time period. Then, the corresponding liquid level height change curve is generated. Then, the target edge computing device generates a corresponding detection instruction according to the change trend of the liquid level height change curve. The change trend of the liquid level is judged by the historical liquid level height, so that when the liquid level height is greater than the preset threshold, it can be further judged whether there is a possibility of infiltration on the liquid level, thereby improving the accuracy of the detection.

[0079] In an embodiment of the present application, when the change trend of the liquid accumulation level height is an upward trend, the target edge computing device obtains the rainfall of the oil pipeline corresponding to the current liquid accumulation level height within the second preset time period; wherein the second preset time period is any feasible time period. When the rainfall is greater than the preset threshold, the target edge computing device generates a rainfall monitoring task to monitor the change of the liquid accumulation level height of the oil pipeline; when the rainfall is less than the preset minimum rainfall threshold, the target edge computing device generates a severe liquid accumulation infiltration instruction to be sent to the oil pipeline maintenance terminal corresponding to the oil pipeline. It should be noted that the oil pipeline maintenance terminal can be a terminal device of the maintenance personnel corresponding to the oil pipeline.

[0080] S104. Determine the corresponding drainage measures for the oil pipe according to the height of the accumulated liquid surface, and discharge the accumulated liquid in the oil pipe through the drainage measures to improve the tertiary oil recovery rate of the oil and gas well.

[0081] The height of the liquid accumulation surface is not only directly related to the production efficiency of oil and gas wells, but also determines what drainage strategy should be adopted to achieve the best effect. Therefore, according to the height of the liquid accumulation surface, the liquid accumulation situation can be roughly divided into three categories: severe liquid accumulation, moderate liquid accumulation and mild liquid accumulation, and corresponding drainage measures should be taken for each situation. In this way, by selecting appropriate drainage measures to timely discharge the existing liquid accumulation in the oil pipe, the recovery rate of tertiary oil recovery can be effectively improved.

[0082] In the embodiment of the present application, the safety level of the oil pipe corresponding to the liquid accumulation level is determined according to the relationship between the liquid accumulation level and the preset liquid accumulation level. Among them, the safety level includes red level, orange level and blue level. The red level indicates that the oil pipe is seriously liquid accumulated, the orange level indicates that the oil pipe is moderately liquid accumulated, and the blue level indicates that the oil pipe is slightly liquid accumulated. In the case of the red level, it means that the current liquid accumulation level is high, which has a significant impact on the production of the gas well, and may cause a significant drop in the production of the gas well or even stop production. In this case, the drainage measures corresponding to the oil pipe are mechanical drainage and gas production measures or gas lift drainage and gas production measures. Among them, the mechanical drainage and gas production technology uses mechanical equipment to extract the accumulated liquid, while the gas lift drainage and gas production technology is to inject high-pressure gas into the well and use the energy of the gas to lift the accumulated liquid to the ground. In the case of moderate liquid accumulation, it means that the liquid accumulation level is moderate, which has a certain impact on the production of the gas well, but has not yet reached the level of seriously affecting production. At this time, the corresponding drainage measure for the oil pipe is the foam flooding measure, which is to inject a foaming agent into the accumulated liquid to form a stable foam layer, thereby reducing the density and fluidity of the accumulated liquid and facilitating subsequent discharge. In addition, it is also possible to consider adjusting production parameters to assist in drainage, such as wellhead pressure and production. In the case of a mild liquid accumulation, the safety level indicates that the current liquid accumulation level is low and has little impact on gas well production, but close monitoring is still required to prevent the deterioration of the liquid accumulation situation. At this time, the corresponding drainage measure for the oil pipe is the pipe string drainage and gas recovery measure, which is to improve the drainage efficiency of the accumulated liquid by optimizing the design of the pipe string structure.

[0083] In addition, the embodiment of the present application also provides a device for detecting liquid accumulation in an oil pipe in an oil and gas well, the device comprising:

[0084] processor;

[0085] and a memory storing executable codes thereon, which, when executed, causes the processor to execute a method for detecting fluid accumulation in an oil pipe for tertiary oil recovery as described in any one of the above items.

[0086] The embodiment of the present application further provides a non-volatile computer storage medium storing computer executable instructions, wherein the computer executable instructions are configured to execute a method for detecting fluid accumulation in an oil pipe for tertiary oil recovery as described in any one of the above.

[0087] Each embodiment in this application is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0088] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0089] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims

1. A method for detecting liquid accumulation in oil pipes for tertiary oil recovery, characterized in that: The method comprises: The main control module obtains the start detection instruction, and sends the start detection instruction to the wireless link module and the sound wave transmitting module to control the wireless link module to access the remote wireless grid node to build an ad hoc network; and controls the sound wave transmitting module to transmit infrasound waves into the oil pipe corresponding to the oil and gas well; When the self-organizing network is built, the main control module sends a collection instruction to the data packet collection module to receive the data packet uploaded by the data packet collection module; wherein the data packet includes: the identity of the corresponding oil pipe, environmental data, and the reflected wave of the infrasound wave reflected by the liquid in the oil pipe; Based on the ad hoc network and the identity of the oil pipeline corresponding to the data packet, the main control module determines the target edge computing device corresponding to the data packet, and sends the data packet to the target edge computing device, so that the target edge computing device determines the liquid level height corresponding to the oil pipeline according to the data packet; According to the height of the accumulated liquid surface, the corresponding drainage measures of the oil pipe are determined, and the accumulated liquid in the oil pipe is discharged through the drainage measures to improve the tertiary oil recovery rate of the oil and gas well.

2. The method for detecting liquid accumulation in oil pipes for tertiary oil recovery according to claim 1, characterized in that: The main control module determines the target edge computing device corresponding to the data packet, specifically including: Based on the identity of the oil pipeline corresponding to the data packet, the main control module determines the first edge computing device corresponding to the data packet, and obtains the number of first data packets to be processed corresponding to the first edge computing device; When the number of the first data packets to be processed is greater than a first preset threshold, the main control module defines a first area with the first edge computing device as the center and a first preset distance as the radius; determining a second edge computing device in the first area that can communicate with the first edge computing device; Determine the number of second data packets to be processed of each second edge computing device to form a first number set, and use the minimum number of second data packets to be processed in the first number set that is less than a first preset threshold as the target edge computing device; When the number of second data packets to be processed in the first number set is greater than the first preset threshold, a second area is defined with the first edge computing device as the center and a second preset distance as the radius; wherein the second preset distance is greater than the first preset distance; Determine a third edge computing device in the second area that can communicate with the first edge computing device; Determine the number of third data packets to be processed of each third edge computing device to form a second number set, and take the smallest number of third data packets to be processed in the second number set that is less than the first preset threshold as the target edge computing device.

3. The method for detecting liquid accumulation in oil pipes for tertiary oil recovery according to claim 2, characterized in that: The method further comprises: When the number of the first data packets to be processed is greater than a first preset threshold, the main control module determines the data volume of each data packet to be processed corresponding to each selected edge computing device around the first edge computing device, and adds up the data volumes of all data packets to be processed to obtain the total data volume that needs to be processed by the selected edge computing device; For each edge computing device to be selected, obtaining the throughput of the edge computing device to be selected, and calculating the ratio between the total data volume and the throughput to determine the remaining processing time that the edge computing device to be selected needs to wait when receiving a new data packet; Determine the communication time between the selected edge computing device and the first edge computing device, determine the weighting coefficients corresponding to the remaining processing time and the communication time respectively, and perform weighted summation of the remaining processing time and the communication time according to the weighting coefficients to obtain a corresponding summation result; According to the summation result, a target edge computing device is selected from the candidate edge computing devices.

4. The method for detecting liquid accumulation in oil pipes for tertiary oil recovery according to claim 1, characterized in that: The main control module determines the target edge computing device corresponding to the data packet, and specifically also includes: The main control module reads the header data corresponding to the data packet to obtain the identity in the header data; wherein the identity is used to distinguish different oil pipes; The main control module determines a first edge computing device corresponding to the data packet according to the identity identifier.

5. The method for detecting fluid accumulation in oil pipes for tertiary oil recovery according to claim 1, characterized in that: Determine the corresponding drainage measures for the oil pipe according to the height of the accumulated liquid level, specifically including: According to the relationship between the liquid accumulation level and the preset liquid accumulation level, the safety level of the oil pipe corresponding to the liquid accumulation level is determined; wherein the safety level includes a red level, an orange level and a blue level, the red level indicates that the oil pipe is severely liquid accumulated, the orange level indicates that the oil pipe is moderately liquid accumulated, and the blue level indicates that the oil pipe is slightly liquid accumulated; When the safety level is the red level, determining that the drainage measure corresponding to the oil pipe is a mechanical drainage and gas recovery measure or a gas lift drainage and gas recovery measure; When the safety level is the orange level, determining that the drainage measure corresponding to the oil pipe is a foam flooding measure; When the safety level is the blue level, it is determined that the drainage measure corresponding to the oil pipe is a pipe string water drainage and gas production measure.

6. The method for detecting fluid accumulation in oil pipes for tertiary oil recovery according to claim 1, characterized in that: After the target edge computing device determines the height of the liquid level corresponding to the oil pipeline according to the data packet, the method further includes: When the height of the accumulated liquid level is greater than a corresponding preset threshold, the target edge computing device obtains a historical height of the accumulated liquid level corresponding to the oil pipeline within a first preset time period; Obtaining a liquid level height change curve of historical liquid level heights within the first preset time period; The change trend of the accumulated liquid level height change curve is obtained to generate a corresponding detection instruction and send it to the oil pipeline maintenance terminal corresponding to the oil pipeline.

7. A method for detecting liquid accumulation in oil pipes for tertiary oil recovery according to claim 6, characterized in that: Obtaining the change trend of the accumulation liquid level height change curve to generate a corresponding detection instruction and send it to the oil pipeline maintenance terminal corresponding to the oil pipeline, specifically including: In the case where the change trend is an upward trend, the target edge computing device obtains the rainfall amount of the oil pipeline corresponding to the current liquid accumulation level height within the second preset time period; When the rainfall is greater than a preset threshold, the target edge computing device generates a rainfall monitoring task to monitor changes in the height of the liquid level of the oil pipe; When the rainfall is less than a preset minimum threshold, the target edge computing device generates a severe liquid infiltration instruction to send to the oil pipeline maintenance terminal corresponding to the oil pipeline.

8. The method for detecting fluid accumulation in oil pipes for tertiary oil recovery according to claim 1, characterized in that: The method also includes: when the target edge computing device is a second edge computing device or a third edge computing device, the target edge computing device sends the liquid level height, data packet, and calculation process data of the oil pipeline to the first edge computing device so that the first edge computing device saves them.

9. A device for detecting liquid accumulation in oil pipes in oil and gas wells, characterized in that: The device comprises: processor; and a memory having executable codes stored thereon, which, when executed, causes the processor to execute a method for detecting fluid accumulation in an oil pipe for tertiary oil recovery as claimed in any one of claims 1 to 8.

10. A non-volatile computer storage medium storing computer executable instructions, characterized in that: The computer executable instructions are configured to execute a method for detecting fluid accumulation in an oil pipe for tertiary oil recovery as described in any one of claims 1 to 8.

Citation Information

Patent Citations

  • Oil well full life cycle management method and system of edge cloud architecture

    CN114519511A

  • Space crowdsourcing scheduling system and method based on edge calculation

    CN114721817A

  • Scheduling method for edge computing and industrial internet system

    CN116582548A

  • Device and method for continuously monitoring unstable liquid level of gas well through infrasonic waves

    CN118088155A

  • Liquid level dynamic monitoring device for radial well construction

    CN211777386U