Cable-free logging data processing method and system, terminal and storage medium thereof
Through the cable-free logging data processing method, the problem of cable stuck in complex wells in cable logging is solved, and the accurate collection and storage of complex well data is achieved, ensuring the completeness and reliability of the data.
Patent Information
- Application Number
- CN202311236000.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-22
- Publication Date
- 2025-03-25
AI Technical Summary
In the prior art, when logging through cables, complex wells with very severe blockages can easily cause cables to be stuck in the well, resulting in inaccurate data acquisition or termination of logging data acquisition, affecting the acquisition of oilfield well data parameters.
The cableless logging data processing method is adopted. By setting peripheral initialization operations, logging data is collected, and a file system is established in the storage medium, RTC real-time clock information is read, file types are created, logging data is stored or backed up, and multiple file types of data are saved and backup.
Accurate collection and storage of cable-free logging data is achieved, the problem of cable stuck in the well is avoided, data parameters of complex wells are obtained, and the integrity and reliability of logging data are improved.
Smart Images

Figure CN119690916A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of petroleum logging, and in particular to a cableless logging data processing method, system, terminal and storage medium thereof. Background Art
[0002] In the later stage of oilfield development, the development objects become more and more complex and the development difficulty becomes greater and greater. The number of large-displacement horizontal wells and high-angle wells gradually increases. These wells usually have the characteristics of shallow casing, open hole section deviation near the casing mouth, shallow inclination point, complex well conditions (step or threaded wellbore, diameter expansion and contraction, large dogleg, serious leakage, etc.), long horizontal section displacement, etc., and some complex wells with very serious obstruction often appear.
[0003] In the prior art, cable logging is usually used for measurement. However, for complex wells with very serious obstructions, the cable is often stuck in the complex well. Usually, the cable stuck in the complex well is removed by hard pulling or cutting. Under this operation, it may lead to inaccurate data collection at best, and even terminate the logging data collection at worst, which greatly affects the acquisition of data parameters of the oil field wells. Summary of the invention
[0004] In order to overcome the defects of the above-mentioned prior art, the purpose of the present invention is to provide a cable-free logging data processing method, system, terminal and storage medium thereof, so as to solve the technical problems in the prior art of inaccurate data in cable logging and the termination of logging data acquisition.
[0005] The present invention is achieved through the following technical solutions:
[0006] A method for processing cable-free logging data comprises the following steps:
[0007] Set the initialization operation of peripherals to collect logging data;
[0008] Create a file system, read RTC real-time clock information, and create file types;
[0009] Store or back up the created file types;
[0010] Read logging data according to the file type and display the logging data information.
[0011] Preferably, the peripheral initialization operation includes initialization operations of the system clock, the communication bus, the serial communication interface, the data acquisition unit and the working register of the driving unit.
[0012] Furthermore, the communication bus includes RS485 bus, USB bus, CAN bus, UART bus, RS232 bus, AMI bus, 1553 bus and IIC bus.
[0013] Preferably, in creating the file system, RTC real-time clock information is read to create a file type with the time as the file name.
[0014] Preferably, the file types include bin type files, dat type files, hex type files and txt type files.
[0015] Preferably, the created file type is stored or backed up in a NorFLASH memory chip or a NANDFLASH memory chip, and the NorFLASH memory chip or the NANDFLASH memory chip supports a serial interface, a parallel interface and various types of pluggable mobile storage media to form a storage chip array.
[0016] Preferably, after connecting the USB cable to the USB port of the PC during file type reading, wait for USB device enumeration. When the USB device is enumerated successfully, NAND Flash is displayed as a removable disk in the PC. After opening the disk, the stored logging data will be displayed in the disk, and the storage data can be opened, copied, pasted and deleted.
[0017] A cableless logging data processing system, used to implement the cableless logging data processing method described above, comprising:
[0018] The data acquisition module is used to set the initialization operation of the peripherals and collect the logging data;
[0019] Data processing module, used to create a file system, read RTC real-time clock information, and create file types;
[0020] A data storage module, used to store or back up the created file types;
[0021] The human-computer interaction module is used to read the logging data according to the file type and display the logging data information.
[0022] A mobile terminal comprises a memory, a processor and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the above-mentioned method for processing cable-free logging data are implemented.
[0023] A computer-readable storage medium stores a computer program, wherein the computer program, when executed by a processor, implements the steps of the above-mentioned method for processing cable-free logging data.
[0024] Compared with the prior art, the present invention has the following beneficial technical effects:
[0025] The present invention provides a cable-free logging data processing method, which continuously expands the data storage capacity by cascading multiple storage media to meet the needs of different logging instruments for different storage capacities; by establishing a file system in the storage medium, the creation of files of various data types is realized, and the logging data is saved in different file types, thereby achieving the purpose of data backup; the main control module expands different data interfaces, and can complete fast connection on different types of data buses, thereby achieving the universality and scalability of the data storage unit; the designed data storage unit has a driver-free reading method, which realizes that after the logging instrument is connected to a computer, various file operations of the logging data can be quickly realized.
[0026] Furthermore, after the main control unit establishes a file system in the storage medium, it can create a variety of different types of data storage files and backup files according to the requirements of the logging interpretation software. After the storage operation is completed, the storage device is connected to the computer through the USB bus. At this time, the storage device is displayed as an independent storage drive letter in the computer. After opening, the saved files can be opened, copied, cut, pasted, deleted, etc. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 It is a flow chart of the method for processing cable-free logging data in the present invention;
[0028] Figure 2 Flow chart of a method for processing cableless logging data in an embodiment of the present invention;
[0029] Figure 3 Schematic diagram of the structure of a data storage unit in an embodiment of the present invention. DETAILED DESCRIPTION
[0030] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0031] The present invention is further described in detail below in conjunction with the accompanying drawings:
[0032] See also Figure 1 In one embodiment of the present invention, a method for processing cableless logging data is provided, comprising the following steps:
[0033] Step 1, set the peripheral initialization operation to collect well logging data;
[0034] Specifically, the peripheral initialization operation includes the initialization operation of the system clock, the communication bus, the serial communication interface, the data acquisition unit and the working register of the driving unit.
[0035] Among them, the communication bus includes RS485 bus, USB bus, CAN bus, UART bus, RS232 bus, AMI bus, 1553 bus and IIC bus.
[0036] Step 2, create a file system, read the RTC real-time clock information, and create a file type;
[0037] Specifically, during the creation of the file system, the RTC real-time clock information is read to create a file type with the time as the file name.
[0038] The file types include bin type files, dat type files, hex type files and txt type files.
[0039] Step 3, storing or backing up the created file type;
[0040] Specifically, the created file type is stored or backed up in a NorFLASH memory chip or a NANDFLASH memory chip, and the NorFLASH memory chip or the NANDFLASH memory chip supports a serial interface, a parallel interface and various pluggable mobile storage media to form a memory chip array.
[0041] Step 4: read the logging data according to the file type and display the logging data information.
[0042] Specifically, after connecting the USB cable to the USB port of the PC during file type reading, wait for the USB device to be enumerated. When the USB device is enumerated successfully, the NAND Flash is displayed as a removable disk in the PC. After opening the disk, the stored logging data will be displayed in the disk, and the stored data can be opened, copied, pasted, and deleted.
[0043] The present invention is designed with a universal physical storage unit to store the collected logging data and logging backup data; an expandable physical storage unit is designed to expand or reduce the physical storage unit according to the data storage space requirements; the storage unit supports serial, parallel storage media and various pluggable mobile storage media; the designed physical storage unit has a file system to achieve the creation of multiple file types; the storage unit has an automatic backup function to achieve safe and reliable storage of files; the designed data storage unit includes a main control module, which includes a processor and a data storage unit for realizing the establishment of a file system, data storage, reading and other controls. It includes a data transmission unit, which can be customized to support but not limited to multiple bus protocols such as RS485, CAN, network, USB, UART, RS232, AMI, 1553, IIC, etc. The designed data storage unit has driver-free support for existing mainstream PC operating systems.
[0044] Example
[0045] according to Figure 3 As shown, this embodiment provides a well logging data storage system, including a main controller, an FPGA logic expansion unit, a coprocessor storage control unit, a storage array unit, an RTC real-time clock, a 485 bus, a USB bus, a CAN bus, an SPI serial communication interface, and an I2C serial communication interface.
[0046] The main controller is used to receive system commands, logging data, data upload and other main control logic; the FPGA logic expansion unit is used to expand the system serial communication interface and forward logging data; the coprocessor storage control unit is used to establish a file system in the storage unit array and implement the read and write operations of the stored data; the NANDFLASH storage array unit is the system storage medium for storing logging data.
[0047] according to Figure 2 As shown, the specific logging data storage operation method, the specific process is as follows:
[0048] After the storage unit is powered on, the initialization of related general peripherals is completed first, including the initialization operation of the working registers of the system clock, communication bus (485 bus, USB bus, CAN bus), serial communication interface (SPI, I2C), data acquisition unit and driver unit (ADC, DAC, etc.). The above peripherals are mainly used for well logging data acquisition related operations; secondly, the NANDFlash storage medium initialization operation and the establishment of the file system are started; after the file system is successfully established, the RTC real-time clock information is read, and the time is used as the file name to create a file of any required type such as bin, dat, hex, txt, etc., which is used to store data and well logging backup data; when it is necessary to read the well logging data stored in NANDFlash, connect the USB cable to the USB port of the PC and wait for the USB device to be enumerated. After the enumeration is successful, NANDFlash is displayed as a removable disk in the PC. After opening the disk, the stored well logging data will be displayed in the disk, and the storage data can be opened, copied, pasted, deleted, etc.
[0049] In summary, the present invention provides a cable-free logging data processing method, which continuously expands the data storage capacity by cascading multiple storage media to meet the different storage capacity requirements of different logging instruments; by establishing a file system in the storage medium, the creation of files of various data types is realized, and the logging data is saved in different file types, thereby achieving the purpose of data backup; the main control module expands different data interfaces, and can complete rapid connection on different types of data buses, thereby achieving the versatility and scalability of the data storage unit; the designed data storage unit has a driver-free reading method, which realizes the rapid implementation of various file operations of logging data after the logging instrument is connected to the computer.
[0050] The present invention also provides a cableless logging data processing system, based on the above-mentioned cableless logging data processing method, comprising a data acquisition module, a data processing module, a data storage module and a human-computer interaction module;
[0051] The data acquisition module is used to set the initialization operation of the peripherals and collect the logging data;
[0052] Data processing module, used to create a file system, read RTC real-time clock information, and create file types;
[0053] A data storage module, used to store or back up the created file types;
[0054] The human-computer interaction module is used to read the logging data according to the file type and display the logging data information.
[0055] like Figure 3As shown, the present invention also provides a mobile terminal, including a memory, a processor, and a computer program stored in the memory and executable on the processor, such as a cableless logging data processing program.
[0056] The data storage unit includes three main control units: the main controller, the FPGA logic expansion interface, and the coprocessor; it has a configurable communication interface, supporting but not limited to 485 bus, USB bus, CAN bus, SPI and I2C serial communication interfaces; it includes an RTC real-time clock unit; it includes expandable storage unit 1, storage unit 2..., storage unit N. The control unit is responsible for issuing system control commands, reading bus data, and uploading storage data; FPGA is used to expand the universal serial bus; the coprocessor unit is mainly responsible for creating a file system in the storage array, generating timestamp information, and completing the transfer and extraction of logging data according to the data storage format; the storage unit supports NorFLASH and NANDFLASH storage chips, and supports serial interfaces, parallel interfaces and various types of pluggable mobile storage media to form a storage chip array to realize the storage of logging data.
[0057] When the processor executes the computer program, the steps of the above-mentioned method for processing cableless logging data are implemented, for example:
[0058] Set the initialization operation of peripherals to collect logging data;
[0059] Create a file system, read RTC real-time clock information, and create file types;
[0060] Store or back up the created file types;
[0061] Read logging data according to the file type and display the logging data information.
[0062] Alternatively, when the processor executes the computer program, the functions of each module in the above system are realized, for example:
[0063] The data acquisition module is used to set the initialization operation of the peripherals and collect the logging data;
[0064] Data processing module, used to create a file system, read RTC real-time clock information, and create file types;
[0065] A data storage module, used to store or back up the created file types;
[0066] The human-computer interaction module is used to read the logging data according to the file type and display the logging data information.
[0067] Exemplarily, the computer program may be divided into one or more modules / units, which are stored in the memory and executed by the processor to complete the present invention. The one or more modules / units may be a series of computer program instruction segments capable of completing specific functions, which are used to describe the execution process of the computer program in the mobile terminal. For example, the computer program may be divided into a data acquisition module, a data processing module, a data storage module, and a human-computer interaction module; the specific functions of each module are as follows:
[0068] The data acquisition module is used to set the initialization operation of the peripherals and collect the logging data;
[0069] Data processing module, used to create a file system, read RTC real-time clock information, and create file types;
[0070] A data storage module, used to store or back up the created file types;
[0071] The human-computer interaction module is used to read the logging data according to the file type and display the logging data information.
[0072] The mobile terminal may be a computing device such as a desktop computer, a notebook, a palm computer, a cloud server, etc. The mobile terminal may include, but is not limited to, a processor and a memory.
[0073] The processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc. The processor is the control center of the mobile terminal, and uses various interfaces and lines to connect various parts of the entire mobile terminal.
[0074] The memory may be used to store the computer programs and / or modules, and the processor implements various functions of the mobile terminal by running or executing the computer programs and / or modules stored in the memory and calling the data stored in the memory.
[0075] The memory may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory may include a high-speed random access memory, and may also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (SmartMediaCard, SMC), a secure digital (SecureDigital, SD) card, a flash card (FlashCard), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0076] The present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method for processing cableless logging data are implemented.
[0077] If the module / unit integrated in the mobile terminal is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium.
[0078] Based on such understanding, the present invention implements all or part of the processes in the above method, and can also be completed by instructing related hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the above-mentioned cableless logging data processing method can be implemented. Wherein, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form, etc.
[0079] The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal and software distribution medium, etc.
[0080] It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media does not include electrical carrier signals and telecommunication signals.
[0081] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.
Claims
1. A method for processing cable-free logging data, characterized in that: The steps include: Set the initialization operation of peripherals to collect logging data; Create a file system, read RTC real-time clock information, and create file types; Store or back up the created file types; Read logging data according to the file type and display the logging data information.
2. A method for processing cable-free logging data according to claim 1, characterized in that: The peripheral initialization operation includes the system clock, the communication bus, the serial communication interface, the data acquisition unit and the working register initialization operation of the driving unit.
3. A method for processing cable-free logging data according to claim 2, characterized in that: The communication bus includes RS485 bus, USB bus, CAN bus, UART bus, RS232 bus, AMI bus, 1553 bus and IIC bus.
4. The method for processing cable-free logging data according to claim 1, characterized in that: When creating the file system, read the RTC real-time clock information and create a file type with the time as the file name.
5. The method for processing cable-free logging data according to claim 1, characterized in that: The file types include bin type files, dat type files, hex type files and txt type files.
6. The method for processing cableless logging data according to claim 1, characterized in that: The created file type is stored or backed up in a NorFLASH memory chip or a NANDFLASH memory chip, and the NorFLASH memory chip or the NANDFLASH memory chip supports a serial interface, a parallel interface and various pluggable mobile storage media to form a memory chip array.
7. The method for processing cableless logging data according to claim 1, characterized in that: After connecting the USB cable to the USB port of the PC in the file type reading, wait for the USB device to be enumerated. When the USB device is enumerated successfully, NAND Flash is displayed as a removable disk in the PC. After opening the disk, the stored logging data will be displayed in the disk, and the stored data can be opened, copied, pasted and deleted.
8. A cableless logging data processing system, used to implement a cableless logging data processing method according to any one of claims 1 to 7, characterized in that: include: The data acquisition module is used to set the initialization operation of the peripherals and collect the logging data; Data processing module, used to create a file system, read RTC real-time clock information, and create file types; A data storage module, used to store or back up the created file types; The human-computer interaction module is used to read the logging data according to the file type and display the logging data information.
9. A mobile terminal comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method for processing cableless logging data as described in any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of a method for processing cableless logging data as described in any one of claims 1 to 7 are implemented.