Optical fiber logging DAS data TDMS file analysis method

By designing a multi-level data parsing and storage management structure for files, groups and channels, combined with an asynchronous concurrent programming model, the problem of large amounts of fiber logging DAS data and high parsing difficulty is solved, achieving efficient data processing and accurate information acquisition to meet the needs of modern times. demand for oil and gas field development.

CN118535527APending Publication Date: 2024-08-23GUANGDONG OCEAN UNIVERSITY
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410633359.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-21
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

The amount of optical fiber logging DAS data is huge and difficult to analyze, and traditional processing methods cannot meet actual needs.

Method used

Design a three-layer parsing and storage management structure based on files, groups and channels, set detailed TDMS data attributes, and use an asynchronous concurrent programming model to process block data, including data classification management, removal of outliers, data visualization and other Fusion processing of type logging data.

Benefits of technology

It improves the speed and efficiency of data processing, ensures the accuracy and reliability of data, provides intuitive underground structure information, and supports long-term preservation and subsequent analysis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure BDA0004850913320000061
    Figure BDA0004850913320000061
  • Figure HDA0004850913350000021
    Figure HDA0004850913350000021
  • Figure HDA0004850913350000012
    Figure HDA0004850913350000012
Patent Text Reader

Abstract

The invention provides an optical fiber logging DAS data TDMS file analysis method. The optical fiber logging DAS data TDMS file analysis method comprises the following steps that firstly, the optical fiber logging DAS data TDMS file analysis method is designed; step 2, setting file management attributes of the TDMS data; 3, designing a TDMS data processing method; and step 4, block data processing design. The optical fiber logging DAS data TDMS file analysis method has the advantages of being efficient, accurate, easy to use and the like, is expected to play an important role in the field of oil and gas field development and the like, and with continuous development of the technology, it is believed that more application scenes and wider development space exist in the future.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of oil and gas field development, and in particular to a TDMS file parsing method for optical fiber logging DAS data. Background Art

[0002] In the process of oil and gas field development, fiber optic logging technology is widely used to monitor various parameters of the downhole environment in real time.

[0003] However, due to the huge amount of fiber optic logging DAS data and the high difficulty of data analysis, traditional processing methods are difficult to meet actual needs, and how to effectively parse and process such data has become an urgent problem to be solved.

[0004] Therefore, it is necessary to provide a fiber optic logging DAS data TDMS file parsing method to solve the above technical problems. Summary of the invention

[0005] The present invention provides a TDMS file parsing method for optical fiber logging DAS data, in order to solve the technical problem that the optical fiber logging DAS data volume is huge and the data parsing is difficult, and the traditional processing method is difficult to meet the actual needs.

[0006] The optical fiber logging DAS data TDMS file parsing method provided by the present invention comprises the following steps: step 1, optical fiber logging DAS data TDMS file parsing method design; step 2, TDMS data file File management attribute setting; step 3, TDMS data processing method design; step 4, block data processing design.

[0007] Preferably, the DTS data analysis step includes extracting key information such as depth, temperature and time. Different instruments have different DTS data formats. Distributed fiber optic logging DTS data can measure a set of data every 1 second. The amount of fiber optic logging DTS data for oil and gas field production logging output profile is huge. From the huge amount of DTS data in various formats, a storage format suitable for multidimensional data and discrete data is designed, and the discrete data is classified, managed and stored.

[0008] Preferably, the file management property setting of the TDMS data includes setting a detailed property data table according to the property information of the TDMS data, and also includes but is not limited to key parameters such as sampling frequency, peak voltage, spatial resolution, and probe type.

[0009] Preferably, the design of the TDMS data processing method includes adopting an asynchronous concurrent programming model to process the divided data, fully utilize computer resources, and improve the speed and efficiency of data processing.

[0010] Preferably, the detailed attribute data table also includes information such as data collection time, data collection location, and data collection equipment, so as to comprehensively manage and trace the TDMS data.

[0011] Preferably, the block data processing design includes dividing the original TDMS data into blocks according to certain rules, such as dividing the data into blocks according to time, space or data volume, so as to perform efficient processing and analysis.

[0012] Preferably, the asynchronous concurrent programming model adopts a multi-threaded or multi-process approach to achieve parallel data processing, further improving the speed and efficiency of data processing.

[0013] Preferably, the analysis method also includes a step of performing quality control on the analyzed data, such as removing outliers, filling missing values, etc., to ensure the accuracy and reliability of the data.

[0014] Preferably, the analysis method further includes the step of visually displaying the analyzed data, such as drawing velocity-depth curves, amplitude-depth curves, etc., so that users can intuitively understand the underground structure and rock properties.

[0015] Preferably, the analysis method further comprises the step of fusing the analyzed data with other types of logging data, such as resistivity logging data, sonic logging data, etc., to obtain more comprehensive underground information.

[0016] Compared with the related art, the optical fiber logging DAS data TDMS file parsing method provided by the present invention has the following beneficial effects:

[0017] The present invention provides a method for parsing TDMS files of optical fiber logging DAS data:

[0018] By designing a three-layer parsing and storage management structure based on files, groups and channels, the problem of large amount of fiber optic logging DAS data and high parsing difficulty is effectively solved; by setting detailed TDMS data attributes, the classified storage and management of data is realized, and the asynchronous concurrent programming model is used to efficiently process the block data, which improves the speed and efficiency of data processing. In addition, the method also includes quality control, data visualization and fusion processing with other types of logging data, making the data more accurate and reliable, and providing intuitive underground structure information; finally, by storing the parsed data in the database, it is convenient for long-term preservation and subsequent analysis, providing strong data support for related industries. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1A schematic diagram of a DAS data TDMS file format management method of the optical fiber logging DAS data TDMS file parsing method provided by the present invention;

[0020] Figure 2 Design diagram of TDMS data block processing method;

[0021] Figure 3 Diagram of data storage management method with sequential numbering in blocks;

[0022] Figure 4 Set the DAS file in frequency bands to analyze the window diagram;

[0023] Figure 5 Fiber optic logging DAS data graphics display and output results. DETAILED DESCRIPTION

[0024] The present invention will be further described below in conjunction with the accompanying drawings and implementation modes.

[0025] Please refer to Figure 1-Figure 5 ,in, Figure 1 A schematic diagram of a DAS data TDMS file format management method of the optical fiber logging DAS data TDMS file parsing method provided by the present invention;

[0026] Figure 2 Design diagram of TDMS data block processing method; Figure 3 Diagram of data storage management method with sequential numbering in blocks; Figure 4 Set the DAS file in frequency bands to analyze the window diagram; Figure 5 Fiber optic logging DAS data graphics display and output results.

[0027] The optical fiber logging DAS data TDMS file parsing method provided by the present invention comprises the following steps:

[0028] Step 1: Design of TDMS file parsing method for fiber optic logging DAS data

[0029] Fiber optic logging DAS data has the characteristics of large data volume and difficult data analysis. Its data format mainly includes TDMS format data. This invention designs TDMS format data into three levels: file (FIle), group (Channel Groups) and channel (Channel), and performs data analysis and storage management respectively. The file layer can contain multiple groups, and each group can contain multiple channels. The data storage management structure is designed as follows: Figure 1 shown.

[0030] Step 2: Set the file management properties of TDMS data

[0031] The TDMS data records its attribute information in the file File, mainly including the attribute data shown in Table 1 below.

[0032] Table 1 TDMS data attribute settings

[0033]

[0034]

[0035]

[0036] According to the TDMS data attributes set in Table 1, the TDMS data is classified for storage and management.

[0037] Step 3: Design of TDMS data processing method

[0038] TDMS type DAS data is stored in multiple channels. The number of channels corresponds to the number of depths. Each chanel needs to be sliced ​​and then integrated before data processing.

[0039] Step 1: Determine the size of each block based on the latitude information and sampling rate information read

[0040] Step 2: Determine the number of blocks based on the block size

[0041] Step 3: Slice and integrate slices on each chanel

[0042] Step 4: Process data for all blocks.

[0043] Step 4: Block data processing design

[0044] TDMS data can be processed in an asynchronous concurrency mode after data segmentation. Asynchronous concurrency is a programming model for processing concurrent tasks, in which tasks are not executed sequentially in a traditional synchronous manner, but can be executed simultaneously without blocking the main thread or other tasks. Asynchronous concurrency usually involves multiple independent tasks or coroutines executed in a non-blocking manner, thereby improving the efficiency and performance of the program.

[0045] Here, all blocks are assigned a number in sequence. Due to the concurrency characteristics, the data is not necessarily processed in the original order. After all data is processed, all processing results are sorted and integrated according to the number to obtain the processing results corresponding to the original data. The processing process is as follows: Figure 3 shown.

[0046] The following will further illustrate this through implementation cases.

[0047] According to the design plan and implementation steps, a set of fiber optic logging DAS data TDMS file parsing and imaging software system was developed using Python. First, open the function from the toolbar and the following is displayed Figure 4 Software window. The software system is divided into three parts: the area for selecting files to be processed, the area for setting frequency bands, and the area for exporting result files. The area for selecting files to be processed can display the selected files to be processed. The method for selecting multiple files is the same as the method for selecting multiple files when importing processed data. Single processing is supported here, and only a single file type such as TDMS file format is supported; up to 12 different frequency bands can be set in the frequency band selection area. If there are repeated frequency bands in the input frequency bands, the repeated frequency bands will be automatically removed during calculation, and only one non-repeated frequency band will be retained; in the path export location, you only need to select the corresponding directory, and the file name will be automatically generated according to the selected file to be processed. After the result file is generated, you can also manually modify the file name, click Figure 4 The calculation button in the window can display the analysis results of fiber optic logging DAS data and output images. According to the size of the display imaging area, the analysis result images of different sizes can be exported in the software system window; Figure 5 As shown in the figure, an example of exporting DAS data. Aiming at the difficulty of fiber optic logging DAS data logging interpretation, a TDMS data analysis and fiber optic logging DAS data preprocessing technology was created through technical research. Through actual measurement, the processing accuracy of fiber optic logging DAS data provided in a certain oil field has reached more than 95%, which can fully meet the needs of production practice.

[0048] The distributed optical fiber DAS system has a wide range of applications. It can be applied to different industries such as underground pipelines, oil and gas wells, railways, roads and civil engineering for real-time monitoring of acoustic vibrations and intelligent operation and maintenance and safety assurance. The DAS system enables distributed, continuous and high-density monitoring. By using optical fiber as a sensor, the entire optical fiber line can be converted into hundreds to thousands of sensing units, thereby accurately monitoring subtle vibration changes in a large area. This high-efficiency continuous monitoring feature provides more business opportunities for capital and expands the breadth and depth of the monitoring field. In addition, the DAS system has a huge potential market development prospect. With the rapid development of big data and artificial intelligence technology, the data processing and analysis capabilities of the DAS system will continue to increase, bringing more innovative solutions to all walks of life. This market potential attracts capital to pursue high returns on investment and long-term value-added.

[0049] In the development of oil and gas fields, fiber optic logging technology is an important monitoring method. It can monitor the temperature, pressure, vibration and other parameters of the well in real time, which is of great significance for ensuring the safety of oil and gas wells, optimizing mining strategies and increasing oil and gas production. However, with the development of logging technology, the amount of fiber optic logging DAS data is increasing, and the difficulty of data analysis is gradually increasing, which brings great challenges to data processing. Traditional processing methods can often only perform simple statistics and analysis on small-scale data, and cannot meet the needs of modern oil and gas field development for large-scale, high-resolution data processing.

[0050] It should be noted that: the present invention proposes a multi-level data parsing and storage management structure based on files, groups and channels to efficiently parse and process fiber optic logging data in TDMS format; first, we decompose the data in TDMS format into three levels: files, groups and channels, and then classify and store the data at each level in detail. This not only allows for quick positioning and access to the required data, but also greatly improves the processing speed and accuracy of the data; secondly, we also set detailed TDMS data attributes, including file attributes, group attributes and channel attributes, etc. These attribute information can help us better understand and manage data, and also facilitate subsequent data processing and analysis. For example, file attributes can tell us basic information such as the name, sampling frequency, and spatial resolution of the file; group attributes can describe the device and measurement time to which the group belongs; channel attributes contain detailed information such as specific measurement data and its corresponding channel number; in addition, we use an asynchronous concurrent programming model to process block data. This method can start multiple tasks at the same time, avoiding the blocking phenomenon in the traditional sequential execution method, and greatly improving the efficiency and speed of data processing. By assigning a unique number to each block, we can ensure that the original data can be correctly processed and restored even in a concurrent environment; in general, the present invention provides an effective fiber optic logging DAS data analysis method, which can meet the processing requirements of modern oil and gas field development for large-scale, high-resolution data, and provide strong technical support for the safe production and scientific management of oil and gas fields.

[0051] The above descriptions are merely embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A method for parsing TDMS files of fiber optic logging DAS data. It is characterized in that The steps include: Step 1: Design of TDMS file parsing method for optical fiber logging DAS data; Step 2: Set the file management properties of TDMS data; Step 3: Design of TDMS data processing method; Step 4: Block data processing design.

2. The optical fiber logging DAS data TDMS file parsing method according to claim 1, It is characterized in that The design of the TDMS file parsing method for fiber optic logging DAS data includes designing a parsing and storage management structure based on three levels: file, group (Channel Groups) and channel. The file layer can contain multiple groups, and each group can contain multiple channels to effectively manage and parse TDMS format data.

3. The optical fiber logging DAS data TDMS file parsing method according to claim 1, It is characterized in that The file management property setting of TDMS data includes setting a detailed property data table according to the property information of TDMS data, and also includes but is not limited to key parameters such as sampling frequency, peak voltage, spatial resolution, and probe type.

4. The optical fiber logging DAS data TDMS file parsing method according to claim 1, It is characterized in that The design of TDMS data processing method includes adopting an asynchronous concurrent programming model to process the divided data, make full use of computer resources, and improve the speed and efficiency of data processing.

5. The optical fiber logging DAS data TDMS file parsing method according to claim 3, It is characterized in that The detailed attribute data table also includes information such as data collection time, data collection location, and data collection equipment, so as to comprehensively manage and trace the TDMS data.

6. The optical fiber logging DAS data TDMS file parsing method according to claim 1, It is characterized in that The block data processing design includes dividing the original TDMS data into blocks according to certain rules, such as dividing the data into blocks according to time, space or data volume, so as to perform efficient processing and analysis.

7. The optical fiber logging DAS data TDMS file parsing method according to claim 1, It is characterized in that The asynchronous concurrent programming model adopts a multi-thread or multi-process approach to achieve parallel data processing, further improving the speed and efficiency of data processing.

8. The optical fiber logging DAS data TDMS file parsing method according to claim 1, It is characterized in that The analysis method also includes a step of performing quality control on the analyzed data, such as removing outliers, filling missing values, etc., to ensure the accuracy and reliability of the data.

9. The optical fiber logging DAS data TDMS file parsing method according to claim 1, It is characterized in that The analysis method also includes the step of visually displaying the analyzed data, such as drawing velocity-depth curves, amplitude-depth curves, etc., so that users can intuitively understand the underground structure and rock properties.

10. The optical fiber logging DAS data TDMS file parsing method according to claim 1, It is characterized in that The analysis method also includes the step of fusing the analyzed data with other types of logging data, such as resistivity logging data, sonic logging data, etc., to obtain more comprehensive underground information.

Citation Information

Patent Citations

  • Method and system for inverting two-phase flow production profile of oil and gas well by using DAS

    CN117266832A

  • File analysis method and device and nonvolatile storage medium

    CN118034699A