Logging storage method and system using token looped network access, terminal and medium
By using token ring network access technology in the well logging system, building a virtual ring network and setting node priority, the problems of large amount of downhole instrument data and low storage efficiency are solved, and efficient data transmission and storage are achieved.
Patent Information
- Application Number
- CN202311659226.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-05
- Publication Date
- 2025-06-06
AI Technical Summary
The existing well logging system has large amount of downhole instrument data, complex storage methods and low storage efficiency.
Token ring network access technology is used to build a virtual ring network through underground remote transmission instruments, set the underground instrument as a node, and set the access priority according to the node priority to realize self-calling of data and distributed storage.
It improves the transmission and storage efficiency of downhole instrument data, simplifies storage methods, and enhances data utilization efficiency.
Smart Images

Figure CN120110828A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of well logging downhole bus transmission, in particular to a well logging storage method, system, terminal and medium accessed by a token ring network. Background Art
[0002] Geophysical logging (referred to as logging) is an important technology in the process of oil production. In the process of exploring and exploiting underground mineral deposits such as oil and natural gas, the basic principles of physics are used, and advanced instruments and equipment are used to detect the physical property parameters (electricity / acoustic / radioactivity) of the well wall medium, and evaluate the lithology, physical properties (porosity, permeability), electrical properties, and oil content (four-property relationship) of the reservoir. The logging system mainly completes the measurement and analysis of various physical properties of the underground formation. It is a data-centric control system that realizes the functions of logging information collection, transmission, processing and quality control through a certain transmission medium. It is the material carrier of all logging information application technologies, including system hardware and system software. Among them, downhole instrument data storage and high-speed and high-reliability data transmission between the ground system are key technologies that need to be broken through in the application of the logging system, which puts forward higher requirements for the downhole instrument bus. At present, downhole instruments mostly use DTB bus, Ethernet bus, and CAN bus. However, the bus mode used by various logging systems cannot select data collection according to demand, but needs to collect all data at one time according to the set transmission rate. Sometimes, due to the limitations of transmission distance and transmission speed, the amount of received data is too large and the real-time storage is too large. Summary of the invention
[0003] In order to overcome the defects of the above-mentioned prior art, the purpose of the present invention is to provide a logging storage method, system, terminal and medium using a token ring network access to solve the technical problems in the prior art of large amount of downhole instrument data, complex storage method and low storage efficiency.
[0004] The present invention is achieved through the following technical solutions:
[0005] A well logging storage method using a token ring network access comprises the following steps:
[0006] Step 1, obtaining information of multiple downhole instruments, determining cyclic communication connections of multiple downhole instruments, and forming a token ring network bus;
[0007] Step 2, setting multiple downhole instruments as corresponding nodes, numbering the multiple nodes, and setting node access priorities according to the numbers;
[0008] Step 3: The token receives the access instruction and accesses the nodes in sequence according to the node access priority. After determining the node to store the real-time collected data, it passes it to the next node for data storage until all token accesses are completed.
[0009] Preferably, in step 1, address information of multiple downhole instruments is obtained by a host computer via a downhole telemetry instrument.
[0010] Preferably, in step 2, corresponding nodes are set for multiple downhole instruments, and multiple nodes are numbered in sequence along the token ring network bus, one of the nodes is set as the first node, and the node access priority is set on the first node along the token ring network bus.
[0011] Furthermore, the node access priority is set in a unidirectional manner for the first node access along the token ring network bus until the last node access.
[0012] Preferably, in step 3, the token sequentially accesses nodes according to the node access priority, sequentially obtains the node addresses of the previous node and the next node, sequentially accesses the nodes along the token ring network bus, and stores the real-time collected data through the node feedback information.
[0013] Furthermore, the token performs unidirectional access to nodes along the token ring network bus, and deletes the information of the previous node after completing the access to the previous node.
[0014] Furthermore, the token is a 3-byte special frame, and the data frame is released after receiving the data frame sent by the node.
[0015] A well logging storage system using a token ring network for access, comprising:
[0016] An information acquisition module is used to acquire information of multiple downhole instruments, determine the cyclic communication connection of multiple downhole instruments, and form a token ring network bus;
[0017] A data setting module is used to set multiple downhole instruments as corresponding nodes, number multiple nodes, and set node access priorities according to the numbers;
[0018] The access execution module is used for receiving access instructions with tokens, and accessing nodes in sequence according to their access priority. After determining the node to store real-time collected data, it passes it to the next node for data storage until all token accesses are completed.
[0019] 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 well logging storage method accessed by a token ring network as described above are implemented.
[0020] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the well logging storage method using a token ring network access as described above are implemented.
[0021] Compared with the prior art, the present invention has the following beneficial technical effects:
[0022] The present invention provides a logging storage method using a token ring network access. A virtual ring network is constructed by using downhole telemetry instruments and various downhole logging instruments. By setting the priority of the downhole instruments and using the token access characteristics of the token ring network bus, each downhole instrument node is unidirectionally accessed in a circular manner to store and call data, thereby realizing data self-calling and distributed storage. Starting from the first node, each node is accessed in sequence and a host computer command is received to execute whether to store the current real-time collected data. The use of distributed storage can greatly improve the data transmission and storage efficiency, and provide guidance for the transmission and storage of a large number of data of a large number of instruments in the well in the future. The design of the bus structure can improve the utilization efficiency and storage efficiency of downhole instrument data. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 The present invention provides a flow chart of a well logging storage method using a token ring network access;
[0024] Figure 2 It is a schematic diagram of the token ring network bus design system in the present invention. DETAILED DESCRIPTION
[0025] 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.
[0026] The present invention is further described in detail below in conjunction with the accompanying drawings:
[0027] The purpose of the present invention is to provide a well logging storage method, system, terminal and medium using a token ring network access to solve the technical problems of large amount of downhole instrument data, complex storage method and low storage efficiency in the prior art.
[0028] See also Figure 1 In one embodiment of the present invention, a method for storing well logging data using a token ring network is provided, comprising the following steps:
[0029] Step 1, obtaining information of multiple downhole instruments, determining cyclic communication connections of multiple downhole instruments, and forming a token ring network bus;
[0030] Specifically, the address information of multiple downhole instruments is obtained by the host computer through the downhole telemetry instrument.
[0031] Step 2, setting multiple downhole instruments as corresponding nodes, numbering the multiple nodes, and setting node access priorities according to the numbers;
[0032] Specifically, corresponding nodes are set for multiple downhole instruments, and multiple nodes are numbered in sequence along the token ring network bus, one of the nodes is set as the first node, and the node access priority is set on the first node along the token ring network bus.
[0033] The node access priority is set in a unidirectional manner along the token ring network bus in sequence from the first node access to the last node access.
[0034] Step 3: The token receives the access instruction and accesses the nodes in sequence according to the node access priority. After determining the node to store the real-time collected data, it passes it to the next node for data storage until all token accesses are completed.
[0035] Specifically, the token accesses nodes in sequence according to the node access priority, obtains the node addresses of the previous node and the next node in sequence, accesses the nodes in sequence along the token ring network bus, and stores the real-time collected data through the node feedback information.
[0036] The token performs unidirectional access to nodes along the token ring bus, and deletes the information of the previous node after visiting the previous node.
[0037] The token ring network bus in the present invention includes a host computer, a network cable, a coaxial cable, a downhole telemetry instrument, and a plurality of downhole instruments. Each downhole instrument is set as a node to realize multi-node unidirectional access of the token.
[0038] The host computer refers to a computer or single-chip microcomputer that can directly send operation instructions. It generally provides a user operation interactive interface and displays transmission data to the user. Here it is a PC.
[0039] Downhole telemetry refers to the cable telemetry sub, which is a unified data transmission system between all downhole instruments and the ground computer logging system. Its main function is to collect downhole data and transmit it to the ground.
[0040] The downhole instruments should be cable logging series instruments.
[0041] The token in the present invention is a 3-byte special frame, and the data frame is released after receiving the data frame sent by the node.
[0042] Example
[0043] according to Figure 2As shown, taking three parameters, inclination, wellbore, lateral, acoustic wave, and induction downhole instruments as examples, it includes a host computer, a network cable, a coaxial cable, a downhole telemetry instrument, and several downhole instruments. Since a variety of combinations can be used for downhole instrument logging operations, it is not limited to the combination of the instruments listed above, but the overall data transmission principle is the same. Each downhole instrument acts as a node to achieve multi-node unidirectional access to the token. The logging storage method includes the following steps:
[0044] S1, select a computer as the host computer, and connect each downhole instrument. There is no requirement for the number of downhole instrument connections, and multiple nodes can be set for token access.
[0045] S2, set the access priority of each instrument node according to the requirements, and define each instrument as node 1, node 2, and so on in the order of priority. Use the set nodes to create a virtual ring.
[0046] S3, the host computer sends a command, first node 1 decides whether to store the real-time collected data, and can store the current node data according to demand. If the data does not need to be stored, the token is passed to the next node.
[0047] S4, repeat S3, and continue to unidirectionally transfer to the next node for data storage until all token accesses are completed as required. The data flow is unidirectional in the direction of token transfer; in order to prevent the token from circulating infinitely, once it has completed its purpose, it will be deleted from the network to ensure efficient data transmission.
[0048] In summary, the present invention provides a logging storage method using a token ring network for access, in which downhole instruments are used as nodes in a virtual ring, and serial numbers are defined for each node according to a custom priority order. Based on the token access characteristics, each node is accessed in sequence starting from the first node and a host computer command is received to execute whether to store the current real-time collected data. This real-time access and real-time storage method can greatly improve data transmission and storage efficiency.
[0049] The present invention also provides a well logging storage system accessed by a token ring network, comprising an information acquisition module, a data setting module and an access execution module;
[0050] An information acquisition module is used to acquire information of multiple downhole instruments, determine the cyclic communication connection of multiple downhole instruments, and form a token ring network bus;
[0051] A data setting module is used to set multiple downhole instruments as corresponding nodes, number multiple nodes, and set node access priorities according to the numbers;
[0052] The access execution module is used for receiving access instructions with tokens, and accessing nodes in sequence according to their access priority. After determining the node to store real-time collected data, it passes it to the next node for data storage until all token accesses are completed.
[0053] The present invention also provides a mobile terminal, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, such as a well logging storage program accessed by a token ring network.
[0054] When the processor executes the computer program, the steps of implementing the above-mentioned well logging storage method using the token ring network access include the following steps:
[0055] Step 1, obtaining information of multiple downhole instruments, determining cyclic communication connections of multiple downhole instruments, and forming a token ring network bus;
[0056] Step 2, setting multiple downhole instruments as corresponding nodes, numbering the multiple nodes, and setting node access priorities according to the numbers;
[0057] Step 3: The token receives the access instruction and accesses the nodes in sequence according to the node access priority. After determining the node to store the real-time collected data, it passes it to the next node for data storage until all token accesses are completed.
[0058] Alternatively, when the processor executes the computer program, the functions of each module in the above system are realized, for example:
[0059] An information acquisition module is used to acquire information of multiple downhole instruments, determine the cyclic communication connection of multiple downhole instruments, and form a token ring network bus;
[0060] A data setting module is used to set multiple downhole instruments as corresponding nodes, number multiple nodes, and set node access priorities according to the numbers;
[0061] The access execution module is used for receiving access instructions with tokens, and accessing nodes in sequence according to their access priority. After determining the node to store real-time collected data, it passes it to the next node for data storage until all token accesses are completed.
[0062] 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 implement the present invention. The one or more modules / units may be a series of computer program instruction segments capable of implementing specific functions, which are used to describe the execution process of the computer program in the mobile terminal.
[0063] For example, the computer program may be divided into an information acquisition module, a data setting module, and an access execution module;
[0064] The specific functions of each module are as follows:
[0065] An information acquisition module is used to acquire information of multiple downhole instruments, determine the cyclic communication connection of multiple downhole instruments, and form a token ring network bus;
[0066] A data setting module is used to set multiple downhole instruments as corresponding nodes, number multiple nodes, and set node access priorities according to the numbers;
[0067] The access execution module is used for receiving access instructions with tokens, and accessing nodes in sequence according to their access priority. After determining the node to store real-time collected data, it passes it to the next node for data storage until all token accesses are completed.
[0068] 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.
[0069] 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.
[0070] 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.
[0071] 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.
[0072] 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 well logging storage method using a token ring network access are implemented.
[0073] 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.
[0074] 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 hydropower LCU controller variable real-time monitoring method can be implemented. Among them, 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.
[0075] 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.
[0076] 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.
[0077] 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 storing well logging data using a token ring network. It is characterized in that The steps include: Step 1, obtaining information of multiple downhole instruments, determining cyclic communication connections of multiple downhole instruments, and forming a token ring network bus; Step 2, setting multiple downhole instruments as corresponding nodes, numbering the multiple nodes, and setting node access priorities according to the numbers; Step 3: The token receives the access instruction and accesses the nodes in sequence according to the node access priority. After determining the node to store the real-time collected data, it passes it to the next node for data storage until all token accesses are completed.
2. A method for storing well logging data using a token ring network according to claim 1, It is characterized in that In step 1, the address information of multiple downhole instruments is obtained by the host computer through the downhole telemetry instrument.
3. A method for storing well logging data using a token ring network according to claim 1, It is characterized in that In step 2, corresponding nodes are set for multiple downhole instruments, and multiple nodes are numbered in sequence along the token ring network bus, one of the nodes is set as the first node, and the node access priority is set on the first node along the token ring network bus.
4. A method for storing well logging data using a token ring network access according to claim 3, It is characterized in that The node access priority is set in one direction along the token ring network bus in sequence from the first node access to the last node access.
5. A method for storing well logging data using a token ring network according to claim 1, It is characterized in that In step 3, the token accesses nodes in sequence according to the node access priority, obtains the node addresses of the previous node and the next node in sequence, accesses the nodes in sequence along the token ring network bus, and stores the real-time collected data through the node feedback information.
6. A method for storing well logging data using a token ring network access according to claim 5, It is characterized in that The token accesses the nodes unidirectionally along the token ring bus. After visiting the previous node, the previous node information is deleted.
7. A method for storing well logging data using a token ring network access according to claim 5, It is characterized in that The token is a 3-byte special frame, which releases the data frame after receiving the data frame sent by the node.
8. A well logging storage system accessed using a token ring network, It is characterized in that include An information acquisition module is used to acquire information of multiple downhole instruments, determine the cyclic communication connection of multiple downhole instruments, and form a token ring network bus; A data setting module is used to set multiple downhole instruments as corresponding nodes, number multiple nodes, and set node access priorities according to the numbers; The access execution module is used for receiving access instructions with tokens, and accessing nodes in sequence according to their access priority. After determining the node to store real-time collected data, it passes it to the next node for data storage until all token accesses are completed.
9. A mobile terminal comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the steps of the well logging storage method using a token ring network access as described in any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium storing a computer program. It is characterized in that When the computer program is executed by a processor, the steps of a well logging storage method using a token ring network access as described in any one of claims 1 to 7 are implemented.