Drilling data anomaly detection restart processing method and device, platform end equipment and storage medium

By deploying the first and second abnormality detection systems in oil and gas drilling, receiving and detecting real-time and offline drilling data transmitted by edge-end equipment, the problem of data not being abnormally detected when the edge-end network is disconnected and restarted is solved, real-time data is realized The continuous abnormality detection and offline data backtracking analysis improve the accuracy of the detection results.

CN119397440APending Publication Date: 2025-02-07CHINA NAT PETROLEUM CORP +1
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411446485.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-16
Publication Date
2025-02-07

AI Technical Summary

Technical Problem

During oil and gas drilling, when the edge network is disconnected and restarted, the offline data transmitted is not detected abnormally, resulting in missing data abnormality detection.

Method used

After the line is disconnected and restored between the edge end device and the platform end device, the real-time drilling data sent by the edge end device is received through the first abnormality detection system deployed on the platform end device, and the edge end device renewal is obtained through the second abnormality detection system The off-line drilling data is transmitted for abnormal detection. The first and second abnormality detection systems are independent of each other during abnormality detection processing, and synchronize the abnormality detection output results of the second drilling data to the first abnormality detection system for aggregation analysis.

Benefits of technology

When the transmission of the edge-end equipment and the platform-end equipment of the oil and gas drilling is interrupted and the transmission is restored, the platform-end equipment can receive and perform abnormal detection of real-time drilling data, avoiding the loss of timing labels, and ensuring the abnormal detection of real-time drilling data. Continuity improves the accuracy of abnormal detection results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119397440A_ABST
    Figure CN119397440A_ABST
Patent Text Reader

Abstract

The invention discloses a restart processing method and device for well drilling data anomaly detection, platform end equipment and a storage medium. The method comprises the steps of receiving first drilling data sent by edge-end equipment through a first anomaly detection system deployed on the platform-end equipment after the edge-end equipment and the platform-end equipment are recovered after offline, and determining an anomaly detection output result of the first drilling data through the first anomaly detection system; acquiring second drilling data continuously transmitted by the edge end equipment through a second anomaly detection system deployed on the platform end equipment, and determining an anomaly detection output result of the second drilling data through the second anomaly detection system; and synchronizing the anomaly detection output result of the second drilling data from the second anomaly detection system to the first anomaly detection system for aggregation analysis. According to the scheme, the platform end equipment performs anomaly detection on the second drilling data, and continuity and accuracy of anomaly detection of the drilling data are guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the technical field of intelligent drilling and completion, and in particular to a restart processing method, device, platform-side equipment and storage medium for drilling data anomaly detection. Background Art

[0002] With the rapid development of big data technology, the oil and gas drilling industry continues to explore new technical means to improve operational efficiency and safety. In the field of drilling engineering, the collected data is mainly in the form of time series data. It has become an inevitable trend for the development of the industry to implement anomaly detection on multi-source data of oil and gas drilling in a data-driven way. However, the actual field environment often faces many problems. For example, due to network transmission failure, power outage or lack of resources, data upload at the edge is very likely to be interrupted. At this time, the platform side cannot obtain real-time data. When the edge network is restored or restarted successfully, it can only transmit real-time data to the platform side for anomaly detection, which leads to the lack of data anomaly detection. Therefore, the existing anomaly detection method of multi-source data in oil and gas drilling has significant shortcomings in dealing with problems in the actual field environment, and a new technical solution is urgently needed to resolve these problems. Summary of the invention

[0003] The present invention provides a restart processing method, device, platform-side equipment and storage medium for drilling data anomaly detection to solve the problem that when the edge end network is disconnected and restarted during oil and gas drilling, the transmitted offline data is not detected for anomalies.

[0004] According to one aspect of the present invention, a method for restarting drilling data anomaly detection is provided, the method comprising:

[0005] After the edge device and the platform device are disconnected and restored, the first drilling data sent by the edge device is received by the first abnormality detection system deployed on the platform device, and the abnormality detection output result of the first drilling data is determined by the first abnormality detection system. The first drilling data is the drilling data collected in real time after the edge device is disconnected and restored. The abnormality detection output result is used to indicate whether there is a time series label in the drilling data and whether the drilling data has been processed by abnormality detection;

[0006] The second drilling data transmitted by the edge device is obtained by a second anomaly detection system deployed on the platform device, and the anomaly detection output result of the second drilling data is determined by the second anomaly detection system. The second drilling data is the drilling data collected and stored offline by the edge device when it is offline. The first anomaly detection system and the second anomaly detection system are independent of each other during anomaly detection processing.

[0007] The anomaly detection output results of the second drilling data are synchronized from the second anomaly detection system to the first anomaly detection system for convergent analysis.

[0008] According to another aspect of the present invention, a restart processing device for drilling data abnormality detection is provided, the device comprising:

[0009] A first determination module is used to receive first drilling data sent by the edge device through a first anomaly detection system deployed on the platform device after the edge device and the platform device are disconnected and restored, and determine an anomaly detection output result of the first drilling data through the first anomaly detection system, wherein the first drilling data is drilling data collected in real time after the edge device is disconnected and restored, and the anomaly detection output result is used to indicate whether the drilling data has a time series label and whether the drilling data has been processed by anomaly detection;

[0010] A second determination module is used to obtain the second drilling data transmitted by the edge device through a second anomaly detection system deployed on the platform device, and determine the anomaly detection output result of the second drilling data through the second anomaly detection system, wherein the second drilling data is the drilling data collected and stored offline by the edge device when the edge device is offline, and the first anomaly detection system and the second anomaly detection system are independent of each other during anomaly detection processing;

[0011] The result synchronization module is used to synchronize the anomaly detection output result of the second drilling data from the second anomaly detection system to the first anomaly detection system for convergence analysis.

[0012] According to another aspect of the present invention, a platform end device is provided, the platform end device comprising:

[0013] at least one processor; and

[0014] a memory communicatively connected to at least one processor; wherein,

[0015] The memory stores a computer program executable by at least one processor, and the computer program is executed by at least one processor so that the at least one processor can execute the restart processing method for drilling data anomaly detection according to any embodiment of the present invention.

[0016] According to another aspect of the present invention, a computer-readable storage medium is provided, which stores computer instructions for enabling a processor to implement the restart processing method for drilling data anomaly detection according to any embodiment of the present invention when the computer instructions are executed.

[0017] According to the technical solution of the embodiment of the present invention, after the edge device and the platform device are disconnected and restored, the first drilling data sent by the edge device is received by the first anomaly detection system deployed on the platform device, and the anomaly detection output result of the first drilling data is determined by the first anomaly detection system. The first drilling data is the drilling data collected in real time after the edge device is disconnected and restored. The anomaly detection output result is used to indicate whether there is a timing label in the drilling data and whether the drilling data has been processed by anomaly detection. This achieves that when the transmission between the edge device and the platform device of oil and gas drilling is interrupted and then restored, the platform device can still receive the real-time drilling data collected by the edge device, so as to perform anomaly detection on the real-time drilling data, analyze the accuracy of the real-time drilling data and determine whether the real-time drilling data contains a timing label; the second anomaly detection system deployed on the platform device obtains the timing label of the drilling data. The second drilling data transmitted by the edge device is obtained, and the anomaly detection output result of the second drilling data is determined by the second anomaly detection system. The second drilling data is the drilling data collected and stored offline when the edge device is offline. The first anomaly detection system and the second anomaly detection system are independent of each other during anomaly detection processing, so that the platform device can receive the offline drilling data collected and stored by the edge device after the transmission between the edge device and the platform device is interrupted, so as to facilitate anomaly detection of the offline drilling data and avoid the loss of timing labels caused by anomalies of the edge device; the anomaly detection output result of the second drilling data is synchronized from the second anomaly detection system to the first anomaly detection system for convergence analysis, which ensures the continuity of real-time drilling data anomaly detection, is conducive to improving the accuracy of anomaly detection results, and is convenient for retrospective analysis of drilling data stored when the edge device is offline.

[0018] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0020] Figure 1 A flowchart of a method for restarting drilling data anomaly detection provided in the first embodiment of the present invention;

[0021] Figure 2A flowchart of drilling data anomaly detection for resuming transmission after transmission between an edge terminal device and a platform terminal device is provided in Embodiment 1 of the present invention;

[0022] Figure 3 A flowchart of abnormal detection of drilling data normally transmitted between an edge terminal device and a platform terminal device provided in Embodiment 1 of the present invention;

[0023] Figure 4 A schematic diagram of the structure of a restart processing device for drilling data anomaly detection provided by the second embodiment of the present invention;

[0024] Figure 5 A schematic diagram of the structure of a platform-side device for implementing a restart processing method for drilling data anomaly detection provided in Embodiment 3 of the present invention. DETAILED DESCRIPTION

[0025] Embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present invention. It should be understood that the drawings and embodiments of the present invention are only for exemplary purposes and are not intended to limit the scope of protection of the present invention.

[0026] It should be understood that the various steps described in the method embodiments of the present invention may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present invention is not limited in this respect.

[0027] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.

[0028] It should be noted that the concepts such as "first" and "second" mentioned in the present invention are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0029] It should be noted that the modifications of "one" and "plurality" mentioned in the present invention are illustrative rather than restrictive, and those skilled in the art should understand that, unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0030] The names of the messages or information exchanged between multiple devices in the embodiments of the present invention are only used for illustrative purposes, and are not used to limit the scope of these messages or information.

[0031] It is understandable that before using the technical solutions disclosed in the embodiments of the present invention, the type, scope of use, usage scenarios, etc. of the personal information involved in the present invention should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.

[0032] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly prompt the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can independently choose whether to provide personal information to the platform-side device, application, server, storage medium or other software or hardware that performs the operation of the technical solution of the present invention according to the prompt message.

[0033] As an optional but non-limiting implementation, in response to receiving an active request from the user, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the platform-side device.

[0034] It is understandable that the above notification and user authorization process is only illustrative and does not constitute a limitation on the implementation of the present invention. Other methods that meet relevant laws and regulations may also be applied to the implementation of the present invention.

[0035] It is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and relevant provisions.

[0036] Embodiment 1

[0037] Figure 1 The flowchart of a method for restarting drilling data anomaly detection provided in the first embodiment of the present invention. The embodiment of the present invention is applicable to the case where anomaly detection and analysis of transmitted offline drilling data is performed when the edge end network is disconnected and restarted during oil and gas drilling. The method can be executed by a restart processing device for drilling data anomaly detection, which can be implemented in the form of hardware and / or software and can be configured in a platform-side device that implements the restart processing of drilling data anomaly detection. Figure 1 As shown, the method includes:

[0038] S101. After the edge device and the platform device are disconnected and restored, the first drilling data sent by the edge device is received by the first anomaly detection system deployed on the platform device, and the anomaly detection output result of the first drilling data is determined by the first anomaly detection system. The first drilling data is the drilling data collected in real time after the edge device is disconnected and restored. The anomaly detection output result is used to indicate whether there is a time series label for the drilling data and whether the drilling data has been processed by anomaly detection.

[0039] In an embodiment of the present invention, an edge device refers to a device established at an actual drilling site in the oil and gas drilling industry, which is used to collect real-time drilling data during the drilling and completion process, and transmit the collected real-time drilling data to the platform device through the network. Drilling data refers to time series data used to describe parameters such as riser pressure, turntable torque, hook load and turntable speed during the drilling and completion process. The platform device refers to a device established in a drilling data anomaly detection center in the oil and gas drilling industry. A first anomaly detection system is deployed in the platform device, which is used to receive and detect real-time drilling data transmitted by the edge device through the first anomaly detection system, including receiving and detecting the first drilling data transmitted by the edge device, wherein the first drilling data refers to the real-time drilling data of the drilling site collected by the edge device after the transmission with the platform device is interrupted due to the device disconnection or network anomaly of the edge device, and after the transmission with the platform device is restored.

[0040] Anomaly detection refers to judging the accuracy of the collected real-time drilling data based on the context of the data time series. For example, judging whether the current real-time drilling data is abnormal based on whether there is a working condition switch and the data trend at the previous moment of the real-time drilling data. The output result of anomaly detection refers to the result obtained after anomaly detection of the collected real-time drilling data, including whether the drilling data has a time series label and whether the drilling data has been processed by anomaly detection. The time series label refers to the time sequence label when the real-time drilling data is collected.

[0041] Specifically, an edge device is established at the actual site of oil and gas drilling, and a platform device is established at the data anomaly detection center of oil and gas drilling, wherein the platform device is equipped with a first anomaly detection system. Furthermore, after the transmission between the edge device and the platform device is restored after the interruption, the real-time drilling data of the drilling site collected by the edge device is used as the first drilling data, and the first drilling data is transmitted to the first anomaly detection system of the platform device through the network. The first anomaly detection system of the platform device receives the first drilling data transmitted by the edge device, performs anomaly detection and adds time series labels to the first drilling data according to the sequence context relationship of the first drilling data, and determines the anomaly detection result of the first drilling data.

[0042] As an option, the edge device is used to collect, store and report drilling data during the drilling and completion process, and the edge device is configured with offline storage and disconnection resumption functions. It can store the collected drilling data offline when the edge device and the platform device are offline, and resume transmission of the offline stored drilling data after the connection between the edge device and the platform device is restored.

[0043] Specifically, the edge device is used to collect and store the drilling data implemented at the drilling site, and transmit the real-time drilling data to the platform device. At the same time, the edge device has the ability to store the real-time drilling data collected at the drilling site offline when the device is offline or the network is abnormal, and when the connection with the platform device is restored, the offline stored drilling data can be transmitted to the platform device.

[0044] S102. Acquire the second drilling data transmitted by the edge device through the second anomaly detection system deployed on the platform device, and determine the anomaly detection output result of the second drilling data through the second anomaly detection system. The second drilling data is the drilling data collected and stored offline when the edge device is in the offline stage. The first anomaly detection system and the second anomaly detection system are independent of each other during anomaly detection processing.

[0045] In an embodiment of the present invention, a second anomaly detection system is also deployed in the platform-end device, which is used to receive and detect second drilling data transmitted by the edge-end device through the second anomaly detection system, wherein the second drilling data refers to real-time drilling data of the drilling site collected and stored offline by the edge-end device from the time when the edge-end device is disconnected or a network anomaly occurs, resulting in interruption of transmission with the platform-end device, to the time when transmission with the platform-end device is resumed.

[0046] The second drilling data includes drilling data collected by the edge device and stored offline and resumed from the time the edge device and the platform device are disconnected to the time the edge device and the platform device are restored to offline. The drilling data includes at least time series data for describing the riser pressure parameters, turntable torque parameters, hook load parameters and turntable speed parameters during the drilling and completion process.

[0047] Specifically, when the edge device is offline or the network is abnormal, resulting in the interruption of transmission with the platform device, the real-time drilling data collected at the drilling site is stored offline. Then, when the edge device resumes transmission with the platform device, the edge device uses the real-time drilling data stored offline from the time when the transmission with the platform device is interrupted to the time when the transmission is resumed as the second drilling data, and transmits the second drilling data to the second anomaly detection system of the platform device through the network. The second anomaly detection system of the platform device receives the second drilling data transmitted by the edge device, and performs anomaly detection and adds time series labels to the second drilling data according to the sequence context of the second drilling data, and determines the anomaly detection result of the second drilling data. It should be noted that the first anomaly detection system and the second anomaly detection system deployed on the platform device are independent of each other when performing anomaly detection processing and do not affect each other.

[0048] S103: Synchronize the anomaly detection output result of the second drilling data from the second anomaly detection system to the first anomaly detection system for convergent analysis.

[0049] Specifically, the anomaly detection output result of the second drilling data determined by the second anomaly detection system deployed in the platform-end device is synchronized to the first anomaly detection system deployed in the platform-end device, so as to facilitate the backtracking of the real-time drilling data collected by the edge-end device during the period when the transmission between the edge-end device and the platform-end device is interrupted, and analyze whether there is any anomaly in the real-time drilling data collected during the interrupted transmission.

[0050] As an option, synchronizing the anomaly detection output result of the second drilling data from the second anomaly detection system to the first anomaly detection system includes the following steps A1-A3:

[0051] Step A1. When it is detected that the timestamp of the second drilling data for which the second anomaly detection system performs anomaly detection at the current moment has reached the second timestamp, detect whether the first timing label in the anomaly detection output result of the first drilling data is the same as the second timing label in the anomaly detection output result of the second drilling data. The second timestamp is the time corresponding to the time when the disconnection between the edge device and the platform device is restored after the edge device and the platform device are disconnected at the time corresponding to the first timestamp. The first timing label is the timing label obtained by performing anomaly detection on the first drilling data received at the time when the disconnection between the edge device and the platform device is restored in the anomaly detection output result of the first drilling data. The second timing label is the timing label obtained by the second anomaly detection system performing anomaly detection at the current moment in the anomaly detection output result of the second drilling data.

[0052] Step A2: If the first time series label is the same as the second time series label, synchronizing the anomaly detection output result of the second drilling data from the second anomaly detection system to the first anomaly detection system.

[0053] Step A3: If the first timing label is different from the second timing label, the second timestamp is extended and updated, and the timestamp of the second drilling data for anomaly detection by the second anomaly detection system at the current moment is continuously detected to see whether it has reached the second timestamp, until the first timing label is the same as the second timing label.

[0054] In an embodiment of the present invention, a timestamp refers to the time corresponding to the collection of real-time drilling data when the anomaly detection system deployed by the platform-side device performs anomaly detection on the received real-time drilling data. The first timestamp refers to the time corresponding to the time when the real-time drilling data transmission between the edge-side device and the platform-side device is interrupted. The second timestamp refers to the time corresponding to the time when the edge-side device and the platform-side device resume the real-time drilling data transmission after the real-time drilling data transmission interruption occurs between the edge-side device and the platform-side device. The first timing label refers to the timing label obtained from the anomaly detection output result when the first anomaly detection system deployed by the platform-side device performs anomaly detection on the first drilling data corresponding to the time when the transmission is resumed after the real-time drilling data transmission interruption occurs between the edge-side device and the platform-side device. The second timing label refers to the timing label obtained from the anomaly detection output result when the second anomaly detection system deployed by the platform-side device performs anomaly detection on the second drilling data corresponding to the current moment at the current moment.

[0055] Specifically, when the timestamp of the anomaly detection of the second drilling data transmitted by the edge device by the second anomaly detection system deployed on the platform device reaches the second timestamp at the current moment, it is determined whether the first time sequence tag output in the anomaly detection output result of the first drilling data corresponding to the resumption of transmission after the real-time drilling data transmission is interrupted between the edge device and the platform device is the same as the second time sequence tag output in the anomaly detection output result corresponding to the second drilling data at the current moment. If the first time sequence tag is the same as the second time sequence tag, the anomaly detection result of the second drilling data obtained by the second anomaly detection system deployed on the platform device is synchronized to the first anomaly detection system deployed on the platform device. If the first time sequence tag is not the same as the second time sequence tag, the second timestamp is extended and updated, and it is continuously determined whether the timestamp of the anomaly detection of the second drilling data reaches the second timestamp after the extension and update. When the timestamp of the anomaly detection of the second drilling data reaches the second timestamp after the extension and update, it is determined whether the first time sequence tag is the same as the second time sequence tag, until the first time sequence tag is the same as the second time sequence tag, the anomaly detection result of the second drilling data is synchronized to the first anomaly detection system.

[0056] For example, the drilling data anomaly detection after the transmission between the edge device and the platform device is interrupted and the transmission is resumed is as follows: Figure 2 As shown, t1 is the first timestamp, t2 is the second timestamp, and t is the timestamp corresponding to when the second anomaly detection system of the platform-end device performs anomaly detection on the second drilling data transmitted by the edge-end device at the current moment.

[0057] As an option, the method further includes the following steps B1-B2:

[0058] Step B1: When the edge device and the platform device are not in the offline stage, the first drilling data sent by the edge device is received through the first abnormality detection system, and the abnormality detection output result of the first drilling data is determined through the first abnormality detection system and the abnormality detection output result of the first drilling data is sent from the first abnormality detection system to the second abnormality detection system synchronously.

[0059] Step B2: receiving the anomaly detection output result of the first drilling data sent by the first anomaly detection system through the second anomaly detection system deployed on the platform-end device.

[0060] Specifically, when the edge device does not experience device disconnection or network anomalies, and is in normal real-time drilling data transmission with the platform device, only the first anomaly detection system deployed on the platform device performs anomaly detection on the first drilling data, and synchronizes the anomaly detection result of the first drilling data to the second anomaly detection system deployed on the platform device for backup, to prevent data loss caused by anomalies in the first anomaly detection system. At the same time, the second anomaly detection system deployed on the platform device is only used to receive and synchronize the anomaly detection result of the first drilling data, and will not perform anomaly detection, to achieve reasonable allocation of resources.

[0061] For example, the abnormal detection of drilling data normally transmitted between the edge device and the platform device is as follows: Figure 3 As shown, the first anomaly detection system deployed on the platform-side device synchronizes the anomaly detection result of the first drilling data to the second anomaly detection system.

[0062] According to the technical solution of the embodiment of the present invention, after the edge device and the platform device are disconnected and restored, the first drilling data sent by the edge device is received by the first anomaly detection system deployed on the platform device, and the anomaly detection output result of the first drilling data is determined by the first anomaly detection system. The first drilling data is the drilling data collected in real time after the edge device is disconnected and restored. The anomaly detection output result is used to indicate whether there is a timing label in the drilling data and whether the drilling data has been processed by anomaly detection. This achieves that when the transmission between the edge device and the platform device of oil and gas drilling is interrupted and then restored, the platform device can still receive the real-time drilling data collected by the edge device, so as to perform anomaly detection on the real-time drilling data, analyze the accuracy of the real-time drilling data and determine whether the real-time drilling data contains a timing label; the second anomaly detection system deployed on the platform device obtains the timing label of the drilling data. The second drilling data transmitted by the edge device is obtained, and the anomaly detection output result of the second drilling data is determined by the second anomaly detection system. The second drilling data is the drilling data collected and stored offline when the edge device is offline. The first anomaly detection system and the second anomaly detection system are independent of each other during anomaly detection processing, so that the platform device can receive the offline drilling data collected and stored by the edge device after the transmission between the edge device and the platform device is interrupted, so as to facilitate anomaly detection of the offline drilling data and avoid the loss of timing labels caused by anomalies of the edge device; the anomaly detection output result of the second drilling data is synchronized from the second anomaly detection system to the first anomaly detection system for convergence analysis, which ensures the continuity of real-time drilling data anomaly detection, is conducive to improving the accuracy of anomaly detection results, and is convenient for retrospective analysis of drilling data stored when the edge device is offline.

[0063] Embodiment 2

[0064] Figure 4 This is a schematic diagram of the structure of a restart processing device for drilling data anomaly detection provided by the second embodiment of the present invention. The embodiment of the present invention can be applied to the case where anomaly detection and analysis of transmitted offline drilling data is performed when the edge end network is disconnected and restarted during oil and gas drilling. The device can be implemented in the form of hardware and / or software, and can be configured in the platform-side device that implements the restart processing of drilling data anomaly detection. Figure 4 As shown, the device comprises:

[0065] The first determination module 201 is used to receive the first drilling data sent by the edge device through the first abnormality detection system deployed on the platform device after the edge device and the platform device are disconnected and restored, and determine the abnormality detection output result of the first drilling data through the first abnormality detection system, the first drilling data is the drilling data collected in real time after the edge device is disconnected and restored, and the abnormality detection output result is used to indicate whether the drilling data has a time series label and whether the drilling data has been processed by abnormality detection;

[0066] The second determination module 202 is used to obtain the second drilling data transmitted by the edge device through the second anomaly detection system deployed on the platform device, and determine the anomaly detection output result of the second drilling data through the second anomaly detection system. The second drilling data is the drilling data collected and stored offline by the edge device when it is offline. The first anomaly detection system and the second anomaly detection system are independent of each other during anomaly detection processing;

[0067] The result synchronization module 203 is used to synchronize the anomaly detection output result of the second drilling data from the second anomaly detection system to the first anomaly detection system for convergence analysis.

[0068] As an option, the edge device is used to collect, store and report drilling data during the drilling and completion process, and the edge device is configured with offline storage and disconnection resumption functions. It can store the collected drilling data offline when the edge device and the platform device are offline, and resume transmission of the offline stored drilling data after the connection between the edge device and the platform device is restored.

[0069] As an option, the second drilling data includes drilling data collected by the edge device and stored offline and resumed from the time the edge device and the platform device are disconnected to the time the connection between the edge device and the platform device is restored. The drilling data includes at least time series data for describing the riser pressure parameters, turntable torque parameters, hook load parameters and turntable speed parameters during the drilling and completion process.

[0070] As an option, the result synchronization module 203 is specifically used for:

[0071] When it is detected that the timestamp of the second drilling data for which the second anomaly detection system performs anomaly detection at the current moment has reached the second timestamp, it is detected whether the first timing label in the anomaly detection output result of the first drilling data is the same as the second timing label in the anomaly detection output result of the second drilling data, the second timestamp being the time corresponding to when the disconnection between the edge end device and the platform end device is restored after the edge end device and the platform end device are disconnected at the time corresponding to the first timestamp, the first timing label being the timing label obtained by performing anomaly detection on the first drilling data received at the time when the disconnection between the edge end device and the platform end device is restored in the anomaly detection output result of the first drilling data, and the second timing label being the timing label obtained by the second anomaly detection system performing anomaly detection at the current moment in the anomaly detection output result of the second drilling data;

[0072] If the first time series label is the same as the second time series label, synchronizing the anomaly detection output result of the second drilling data from the second anomaly detection system to the first anomaly detection system;

[0073] If the first timing label is different from the second timing label, the second timestamp is extended and updated, and the timestamp of the second drilling data for anomaly detection by the second anomaly detection system at the current moment is continuously detected to see whether it has reached the second timestamp until the first timing label is the same as the second timing label.

[0074] As an option, the device also includes:

[0075] An abnormality detection result synchronization module is used to receive the first drilling data sent by the edge end device through the first abnormality detection system when the edge end device and the platform end device are not in the offline stage, and determine the abnormality detection output result of the first drilling data through the first abnormality detection system and send the abnormality detection output result of the first drilling data from the first abnormality detection system to the second abnormality detection system for synchronization;

[0076] The anomaly detection result receiving module is used to receive the anomaly detection output result of the first drilling data sent by the first anomaly detection system through the second anomaly detection system deployed on the platform end device.

[0077] The technical solution of the embodiment of the present invention is that after the disconnection between the edge end device and the platform end device is restored, the first drilling data sent by the edge end device is received by the first anomaly detection system deployed on the platform end device, and the anomaly detection output result of the first drilling data is determined by the first anomaly detection system, so that when the transmission between the edge end device and the platform end device of the oil and gas drilling is restored after the transmission is interrupted, the platform end device can still receive the real-time drilling data collected by the edge end device, so as to perform anomaly detection on the real-time drilling data, analyze the accuracy of the real-time drilling data and determine whether the real-time drilling data contains time series labels; the second anomaly detection system deployed on the platform end device obtains the anomaly detection result of the edge end device The device continues to transmit the second drilling data, and determines the anomaly detection output result of the second drilling data through the second anomaly detection system, so that the platform-side device can receive the offline drilling data collected and stored by the edge-side device after the transmission between the edge-side device and the platform-side device is interrupted, so as to facilitate anomaly detection of offline drilling data and avoid the loss of timing labels caused by anomalies of the edge-side device; the anomaly detection output result of the second drilling data is synchronized from the second anomaly detection system to the first anomaly detection system for convergence analysis, which ensures the continuity of real-time drilling data anomaly detection, is conducive to improving the accuracy of anomaly detection results, and is convenient for retrospective analysis of drilling data stored when the edge-side device is offline. The restart processing device for drilling data anomaly detection provided in the embodiment of the present invention can execute the restart processing method for drilling data anomaly detection provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0078] Embodiment 3

[0079] Figure 5 A schematic diagram of the structure of a platform-side device for implementing a restart processing method for drilling data anomaly detection provided in Example 3 of the present invention. The platform-side device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The platform-side device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0080] like Figure 5As shown, the platform-side device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In RAM 13, various programs and data required for the operation of the platform-side device 10 can also be stored. The processor 11, ROM 12 and RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0081] Multiple components in the platform end device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the platform end device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0082] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the restart processing method for drilling data anomaly detection.

[0083] In some embodiments, the restart processing method for drilling data anomaly detection may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the platform end device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the restart processing method for drilling data anomaly detection described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to execute the restart processing method for drilling data anomaly detection in any other appropriate manner (e.g., by means of firmware).

[0084] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0085] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0086] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0087] To provide interaction with a user, the systems and techniques described herein may be implemented on a platform-side device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball), through which the user can provide input to the platform-side device. Other types of devices may also be used to provide interaction with a user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0088] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0089] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0090] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0091] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A restart processing method for drilling data anomaly detection, characterized in that: The method comprises: After the edge device and the platform device are disconnected and restored, the first drilling data sent by the edge device is received by a first abnormality detection system deployed on the platform device, and the abnormality detection output result of the first drilling data is determined by the first abnormality detection system, wherein the first drilling data is the drilling data collected in real time after the edge device is disconnected and restored, and the abnormality detection output result is used to indicate whether the drilling data has a time series label and whether the drilling data has been processed by abnormality detection; The second drilling data transmitted by the edge device is obtained by a second abnormality detection system deployed on the platform device, and an abnormality detection output result of the second drilling data is determined by the second abnormality detection system, wherein the second drilling data is the drilling data collected and stored offline when the edge device is offline, and the first abnormality detection system and the second abnormality detection system are independent of each other during abnormality detection processing; The anomaly detection output results of the second drilling data are synchronized from the second anomaly detection system to the first anomaly detection system for convergent analysis.

2. The method according to claim 1, characterized in that The edge device is used to collect, store and report drilling data during the drilling and completion process, and the edge device is configured to have offline storage and disconnection resumption functions. It can store the collected drilling data offline when the edge device and the platform device are offline, and resume the offline stored drilling data after the connection between the edge device and the platform device is restored.

3. The method according to claim 1, characterized in that The second drilling data includes drilling data collected by the edge device and stored offline and retransmitted from the time when the edge device and the platform device are disconnected to the time when the edge device and the platform device are restored to the time when the edge device and the platform device are disconnected, and the drilling data at least includes time series data for describing the riser pressure parameters, turntable torque parameters, hook load parameters and turntable speed parameters during the drilling and completion process.

4. The method according to claim 1, characterized in that: The method further comprises: When the edge device and the platform device are not in an offline stage, the first drilling data sent by the edge device is received through the first abnormality detection system, and the abnormality detection output result of the first drilling data is determined through the first abnormality detection system, and the abnormality detection output result of the first drilling data is sent from the first abnormality detection system to the second abnormality detection system synchronously; The anomaly detection output result of the first drilling data sent by the first anomaly detection system is received by a second anomaly detection system deployed on the platform-side device.

5. The method according to claim 1, characterized in that Synchronizing the anomaly detection output result of the second drilling data from the second anomaly detection system to the first anomaly detection system, comprising: When detecting that the timestamp of the second drilling data for which the second anomaly detection system performs anomaly detection at the current moment has reached the second timestamp, detecting whether the first timing label in the anomaly detection output result of the first drilling data is the same as the second timing label in the anomaly detection output result of the second drilling data, the second timestamp being the time corresponding to when the disconnection between the edge device and the platform device is restored after the edge device and the platform device are disconnected at the time corresponding to the first timestamp, the first timing label being the timing label obtained by performing anomaly detection on the first drilling data received at the time when the disconnection between the edge device and the platform device is restored in the anomaly detection output result of the first drilling data, and the second timing label being the timing label obtained by performing anomaly detection on the second anomaly detection system at the current moment in the anomaly detection output result of the second drilling data; If the first time series label is the same as the second time series label, synchronizing the anomaly detection output result of the second drilling data from the second anomaly detection system to the first anomaly detection system; If the first timing label is different from the second timing label, the second timestamp is extended and updated, and the timestamp of the second drilling data for anomaly detection by the second anomaly detection system at the current moment is continuously detected to see whether it has reached the second timestamp until the first timing label is the same as the second timing label.

6. A restart processing device for drilling data anomaly detection, characterized in that: The device comprises: A first determination module is used to receive first drilling data sent by the edge device through a first abnormality detection system deployed on the platform device after the edge device and the platform device are disconnected and restored, and determine the abnormality detection output result of the first drilling data through the first abnormality detection system, wherein the first drilling data is the drilling data collected in real time after the edge device is disconnected and restored, and the abnormality detection output result is used to indicate whether the drilling data has a time series label and whether the drilling data has been processed by abnormality detection; A second determination module is used to obtain second drilling data transmitted by the edge device through a second abnormality detection system deployed on the platform device, and determine an abnormality detection output result of the second drilling data through the second abnormality detection system, wherein the second drilling data is drilling data collected and stored offline by the edge device when the edge device is offline, and the first abnormality detection system and the second abnormality detection system are independent of each other during abnormality detection processing; A result synchronization module is used to synchronize the anomaly detection output result of the second drilling data from the second anomaly detection system to the first anomaly detection system for convergent analysis.

7. The device according to claim 6, characterized in that The edge device is used to collect, store and report drilling data during the drilling and completion process, and the edge device is configured to have offline storage and disconnection resumption functions. It can store the collected drilling data offline when the edge device and the platform device are offline, and resume the offline stored drilling data after the connection between the edge device and the platform device is restored.

8. The device according to claim 6, characterized in that The second drilling data includes drilling data collected by the edge device and stored offline and retransmitted from the time when the edge device and the platform device are disconnected to the time when the edge device and the platform device are restored to the time when the edge device and the platform device are disconnected, and the drilling data at least includes time series data for describing the riser pressure parameters, turntable torque parameters, hook load parameters and turntable speed parameters during the drilling and completion process.

9. A platform-side device, characterized in that: The platform-side device includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the restart processing method for drilling data anomaly detection according to any one of claims 1-5.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the restart processing method for drilling data anomaly detection according to any one of claims 1 to 5 when executed.

Citation Information

Cited By

  • Control method, device and equipment of well drilling vibrating screen, medium and product

    CN120848347A