A seismic trace data replacement method and device, electronic equipment and storage medium

By comparing the trace head values ​​of seismic data and performing corresponding data replacement processing, the problem of high storage resource consumption in high-density seismic data processing was solved, thereby improving data processing efficiency and storage resource utilization.

CN122307664APending Publication Date: 2026-06-30CHINA PETROLEUM & CHEMICAL CORP +1

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
CHINA PETROLEUM & CHEMICAL CORP
Filing Date
2024-12-28
Publication Date
2026-06-30

AI Technical Summary

Technical Problem

Existing technologies consume large amounts of storage resources when processing high-density seismic data, resulting in low data processing efficiency.

Method used

By comparing the trace header values ​​of the target seismic data and the source seismic data, if they are equal, the trace data of the target seismic data is replaced with the trace data of the source seismic data; if they are not equal, appropriate processing is performed according to the size of the trace header values, including retaining, reading or inserting empty data, thus optimizing the data processing flow.

Benefits of technology

It effectively reduces the consumption of storage resources, improves the utilization rate of storage resources in data processing, and shortens the data conversion time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122307664A_ABST
    Figure CN122307664A_ABST
Patent Text Reader

Abstract

This application discloses a method, apparatus, electronic device, and storage medium for replacing seismic trace data. The method includes: acquiring target seismic data and source seismic data; obtaining the trace header value of the target seismic data from the seismic traces of the target seismic data according to the trace set type of the target seismic data; obtaining the trace header value of the source seismic data from the seismic traces of the source seismic data according to the trace set type of the source seismic data; determining whether the trace header value of the target seismic data is equal to the trace header value of the source seismic data; if the trace header value of the target seismic data is equal to the trace header value of the source seismic data, then replacing the corresponding trace data in the target seismic data with the corresponding trace data in the source seismic data. This solves the problem of high storage resource consumption during seismic data processing in existing technologies, improves the utilization rate of data processing storage resources, and shortens the data conversion time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of seismic data processing, and in particular to a method, apparatus, electronic device, and storage medium for replacing seismic trace data. Background Technology

[0002] In the process of seismic data processing, the existing technology treats the trace head and trace data as a whole. When processing high-density data, a lot of system resources are required to store and transmit logically read-only trace data.

[0003] Therefore, there is a need to provide a seismic trace data replacement method to solve the problem of high storage resource consumption during seismic data processing in existing technologies, improve the utilization rate of data processing storage resources, and shorten the data conversion time. Summary of the Invention

[0004] The main objective of this invention is to provide a method, apparatus, electronic device, and storage medium for replacing seismic trace data, in order to solve the problem of high storage resource consumption during seismic data processing in the prior art, improve the utilization rate of data processing storage resources, and shorten the data conversion time.

[0005] In a first aspect, the present invention provides a method for replacing seismic trace data, comprising:

[0006] Acquire target earthquake data and source earthquake data;

[0007] Obtain the trace header value of the target seismic data from the seismic traces of the target seismic data according to the trace collection type of the target seismic data;

[0008] Obtain the trace header value of the source seismic data from the seismic traces of the source seismic data according to the trace collection type of the source seismic data;

[0009] Determine whether the trace head value of the target seismic data is equal to the trace head value of the source seismic data;

[0010] If the trace head value of the target seismic data is equal to the trace head value of the source seismic data, then the corresponding trace data in the target seismic data will be replaced with the corresponding trace data in the source seismic data.

[0011] Optionally, the step of determining whether the trace head value of the target seismic data is equal to the trace head value of the source seismic data includes the following:

[0012] If the trace head value of the target seismic data is less than the trace head value of the source seismic data, then the corresponding trace data in the target seismic data is retained, and the next trace data of the target seismic data is read.

[0013] Optionally, the step of retaining the corresponding trace data in the target seismic data and reading the next trace of the target seismic data if the trace head value of the target seismic data is greater than that of the source seismic data includes:

[0014] If the corresponding trace data in the target seismic data is empty, then the corresponding trace data in the target seismic data will be replaced with the preset trace data.

[0015] Optionally, the step of determining whether the trace head value of the target seismic data is equal to the trace head value of the source seismic data includes the following:

[0016] If the lead value of the target seismic data is greater than the lead value of the source seismic data, then read the next lead of the source seismic data.

[0017] Optionally, the step of determining whether the trace head value of the target seismic data is equal to the trace head value of the source seismic data includes:

[0018] Determine whether the trace header field value of the target seismic data is equal to the trace header field value of the source seismic data based on the order of the target fields.

[0019] Optionally, the step of determining whether the trace header field value of the target seismic data is equal to the trace header field value of the source seismic data based on the target field order includes:

[0020] If the first field value of the trace header of the target seismic data is equal to the first field value of the trace header of the source seismic data, and the second field value of the trace header of the target seismic data is greater than the second field value of the trace header of the source seismic data, then the trace header value of the target seismic data is greater than the trace header value of the source seismic data.

[0021] According to a second aspect of the present invention, the present invention provides a seismic trace data replacement apparatus, comprising:

[0022] Acquisition module: used to acquire target seismic data and source seismic data;

[0023] First acquisition module: used to obtain the trace header value of the target seismic data from the seismic traces of the target seismic data according to the trace collection type of the target seismic data;

[0024] The second acquisition module is used to obtain the trace header value of the source seismic data from the seismic traces of the source seismic data according to the trace collection type of the source seismic data.

[0025] Decision module: Used to determine whether the trace head value of the target seismic data is equal to the trace head value of the source seismic data;

[0026] Replacement module: If the trace header value of the target seismic data is equal to the trace header value of the source seismic data, then the corresponding trace data in the target seismic data will be replaced with the corresponding trace data in the source seismic data.

[0027] Optionally, the judgment module further includes a field judgment unit: used to judge whether the trace header field value of the target seismic data is equal to the trace header field value of the source seismic data according to the target field order.

[0028] According to a third aspect of the present invention, an electronic device is provided, including a memory and a processor, wherein the memory is used to store one or more computer instructions, wherein the one or more computer instructions, when executed by the processor, implement the seismic trace data replacement method described in any of the first aspects above.

[0029] According to a fourth aspect of the present invention, the present invention provides a storage medium storing a program that, when executed by a computer, implements the seismic trace data replacement method described in any of the first aspects above.

[0030] Compared with the prior art, one or more embodiments of the above solutions may have the following advantages or beneficial effects:

[0031] This invention replaces trace data by comparing trace head values. This solves the problem of high storage resource consumption in existing seismic data processing technologies, improves the utilization rate of data processing storage resources, and shortens data conversion time. Attached Figure Description

[0032] To more clearly illustrate the technical solution of the present invention, the drawings used in the embodiments will be briefly introduced below. Obviously, for those who are not skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0033] Figure 1 A schematic flowchart illustrating a seismic trace data replacement method provided in an embodiment of the present invention;

[0034] Figure 2 This is a schematic diagram of a seismic trace data replacement device provided in an embodiment of the present invention;

[0035] Figure 3 A schematic diagram of a seismic trace data replacement computer device provided in an embodiment of the present invention;

[0036] Figure 4 This is a schematic diagram of a seismic trace data replacement process provided in an embodiment of the present invention. Detailed Implementation

[0037] The embodiments of the present invention will be described in detail below with reference to the accompanying drawings and examples, so that the process of how the present invention uses technical means to solve technical problems and achieve corresponding technical effects can be fully understood and implemented accordingly. The embodiments of the present invention and the various features therein can be combined with each other without conflict, and the resulting technical solutions are all within the protection scope of the present invention.

[0038] Example 1

[0039] like Figure 1 As shown, an embodiment of the present invention provides a seismic trace data replacement method, including the following steps S101 to S105:

[0040] Step S101: Acquire target earthquake data and source earthquake data.

[0041] For example, target earthquake data and source earthquake data are acquired through earthquake acquisition instruments.

[0042] Step S102: Obtain the trace head value of the target seismic data from the seismic traces of the target seismic data according to the trace collection type of the target seismic data.

[0043] For example, the target seismic data is loaded into the corresponding processing node at the smallest granularity of the trace set. The processing node then reads the seismic traces in the trace set in a loop and reads the value of the corresponding trace head from the seismic trace according to the trace set type.

[0044] Step S103: Obtain the trace head value of the source seismic data from the seismic traces of the source seismic data according to the trace collection type of the source seismic data.

[0045] For example, source seismic data is loaded into the corresponding processing node at the smallest granularity of trace sets. The processing node then reads the seismic traces in the trace sets in a loop and reads the corresponding trace head value from the seismic traces according to the trace set type.

[0046] Step S104: Determine whether the trace head value of the target seismic data is equal to the trace head value of the source seismic data.

[0047] For example, based on the order of the target fields, it can be determined whether the trace header field value of the target seismic data is equal to that of the source seismic data. For instance, if the first trace header field value of the target seismic data is equal to the first trace header field value of the source seismic data, and the second trace header field value of the target seismic data is greater than the second trace header field value of the source seismic data, then the trace header value of the target seismic data is greater than the trace header value of the source seismic data. Figure 4As shown, earthquake data A is the target earthquake data, excluding trace data; earthquake data B is the source earthquake data; and earthquake data C is the replaced target earthquake data, including the trace data below. During the comparison, FFID, Channel_Num, Inline, and Crossline are compared in sequence. For example, when comparing the trace header values ​​in the second row, FFID is 501031694 for both, but the Channel_Num of the target earthquake data is 285, which is greater than the Channel_Num of the source earthquake data, which is 284. Therefore, the trace header value of the target earthquake data is greater than that of the source earthquake data.

[0048] Step S105: If the trace head value of the target seismic data is equal to the trace head value of the source seismic data, then replace the corresponding trace data in the target seismic data with the corresponding trace data in the source seismic data.

[0049] If the trace header value of the target seismic data is equal to the trace header value of the source seismic data, then the corresponding trace data in the target seismic data is replaced with the corresponding trace data in the source seismic data. If the trace data in the target seismic data is empty, then that trace data is inserted. The next trace of both the target seismic data and the source seismic data is read for judgment and replacement.

[0050] For example, if the trace head value of the target seismic data is less than the trace head value of the source seismic data, the corresponding trace data in the target seismic data is retained, and the corresponding trace data in the current target seismic data is written into the final result. The next trace data of the target seismic data is then read, judged, and replaced. If the corresponding trace data in the target seismic data is empty, the corresponding trace data in the target seismic data is replaced with preset trace data, such as trace data with all values ​​of 0.

[0051] For example, if the trace head of the target seismic data is greater than that of the source target seismic data, then the trace data of the target seismic data is retained; if the trace data in the target seismic data is empty, then an empty trace with all values ​​of 0 is inserted. Figure 4 As shown, the trace data with FFID 501031694 and Channel_Num 285 are all 0. Read the next trace of the target seismic data, make judgments and replace it. If all traces of the target seismic data have been processed, the processing ends.

[0052] For example, if the lead value of the target seismic data is greater than the lead value of the source seismic data, then the next lead of the source seismic data is read.

[0053] If the trace head of the target seismic data is smaller than that of the source seismic data, then the next trace of the source seismic data is read. If all traces of the source seismic data have been processed, then all remaining traces in the target seismic data are retained without replacement. If the trace data in the target seismic data is empty, then empty data with all remaining trace counts set to 0 is inserted, and the processing ends.

[0054] Example 2

[0055] like Figure 2 As shown, an embodiment of the present invention provides a seismic trace data replacement device, comprising:

[0056] Acquisition module: used to acquire target seismic data and source seismic data;

[0057] First acquisition module: used to obtain the trace header value of the target seismic data from the seismic traces of the target seismic data according to the trace collection type of the target seismic data;

[0058] The second acquisition module is used to obtain the trace header value of the source seismic data from the seismic traces of the source seismic data according to the trace collection type of the source seismic data.

[0059] Decision module: Used to determine whether the trace head value of the target seismic data is equal to the trace head value of the source seismic data;

[0060] Replacement module: If the trace header value of the target seismic data is equal to the trace header value of the source seismic data, then the corresponding trace data in the target seismic data will be replaced with the corresponding trace data in the source seismic data.

[0061] Optionally, the judgment module further includes a field judgment unit: used to judge whether the trace header field value of the target seismic data is equal to the trace header field value of the source seismic data according to the target field order.

[0062] Example 3

[0063] Figure 3 This application shows a schematic diagram of the structure of a computer device provided in an exemplary embodiment, the computer device comprising:

[0064] The processor 301 includes one or more processing cores. The processor 301 executes various functional applications and data processing by running software programs and modules.

[0065] The receiver 302 and transmitter 303 can be implemented as a communication component, which can be a communication chip. Optionally, this communication component can include signal transmission functionality. That is, the transmitter 303 can be used to transmit control signals to the image acquisition device and the scanning device, and the receiver 302 can be used to receive corresponding feedback commands.

[0066] The memory 304 is connected to the processor 301 via the bus 305.

[0067] The memory 304 can be used to store at least one instruction, and the processor 301 is used to execute the at least one instruction to implement steps S101 to S104 in the above control method embodiments.

[0068] Those skilled in the art will understand that Figure 3 This is merely an example of a computer device and does not constitute a limitation on the computer device. It may include more or fewer components than shown, or combine certain components, or different components. For example, the computer device may also include network access devices, etc.

[0069] The processor 301 may be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), 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.

[0070] The memory 304 can be an internal storage unit of the computer device, such as a hard drive or RAM. The memory 304 can also be an external storage device of the computer device, such as a plug-in hard drive, Smart Media Card (SMC), Secure Digital (SD) card, or Flash Card. Furthermore, the memory 304 can include both internal and external storage units. The memory 304 is used to store the computer program and other programs and data required by the terminal device. The memory 304 can also be used to temporarily store data that has been output or will be output.

[0071] Example 4

[0072] This application also provides a computer-readable storage medium storing at least one instruction, at least one program, code set, or instruction set, which can be loaded and executed by a processor to implement the above-described seismic trace data replacement method.

[0073] Optionally, the computer-readable storage medium may include: read-only memory (ROM), random access memory (RAM), solid-state drives (SSDs), or optical discs, etc. The random access memory may include resistive random access memory (ReRAM) and dynamic random access memory (DRAM).

[0074] Example 5

[0075] This application also provides a computer program product or computer program including computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform any of the seismic trace data replacement methods described in the above embodiments.

[0076] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the implementation.

[0077] Those skilled in the art will understand that all or part of the steps of the above embodiments can be implemented by hardware, or by a program instructing related hardware. The program can be stored in a computer-readable storage medium, such as a read-only memory, a disk, or an optical disk. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is used as an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0078] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0079] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.

[0080] The computer program includes computer program code, which can be in the form of source code, object code, executable file, or some intermediate form. The computer-readable medium can include any entity or device capable of carrying the computer program code, recording media, USB flash drive, portable hard drive, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc. It should be noted that the content included in the computer-readable medium can be appropriately added to or subtracted 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 do not include electrical carrier signals and telecommunication signals.

[0081] The above-described embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included within the protection scope of the present invention.

Claims

1. A method of seismic trace data replacement, characterized by, include: Acquire target earthquake data and source earthquake data; Obtain the trace header value of the target seismic data from the seismic traces of the target seismic data according to the trace collection type of the target seismic data; Obtain the trace header value of the source seismic data from the seismic traces of the source seismic data according to the trace collection type of the source seismic data; Determine whether the trace head value of the target seismic data is equal to the trace head value of the source seismic data; If the trace head value of the target seismic data is equal to the trace head value of the source seismic data, then the corresponding trace data in the target seismic data will be replaced with the corresponding trace data in the source seismic data.

2. The method of claim 1, wherein, The step of determining whether the trace head value of the target seismic data is equal to the trace head value of the source seismic data includes: If the trace head value of the target seismic data is less than the trace head value of the source seismic data, then the corresponding trace data in the target seismic data is retained, and the next trace data of the target seismic data is read.

3. The method of claim 2, wherein, The step of retrieving the next trace of the target seismic data if the trace head value of the target seismic data is greater than that of the source seismic data includes: If the corresponding trace data in the target seismic data is empty, then the corresponding trace data in the target seismic data will be replaced with the preset trace data.

4. The method of claim 1, wherein, The step of determining whether the trace head value of the target seismic data is equal to the trace head value of the source seismic data includes: If the lead value of the target seismic data is greater than the lead value of the source seismic data, then read the next lead of the source seismic data.

5. The method of claim 1, wherein, The step of determining whether the trace head value of the target seismic data is equal to the trace head value of the source seismic data includes: Determine whether the trace header field value of the target seismic data is equal to the trace header field value of the source seismic data based on the order of the target fields.

6. The method of claim 5, wherein, The step of determining whether the trace header field value of the target seismic data is equal to the trace header field value of the source seismic data based on the order of the target fields includes: If the first field value of the trace header of the target seismic data is equal to the first field value of the trace header of the source seismic data, and the second field value of the trace header of the target seismic data is greater than the second field value of the trace header of the source seismic data, then the trace header value of the target seismic data is greater than the trace header value of the source seismic data.

7. A seismic trace data replacement device characterized by, include: Acquisition module: used to acquire target seismic data and source seismic data; First acquisition module: used to obtain the trace header value of the target seismic data from the seismic traces of the target seismic data according to the trace collection type of the target seismic data; The second acquisition module is used to obtain the trace header value of the source seismic data from the seismic traces of the source seismic data according to the trace collection type of the source seismic data. Decision module: Used to determine whether the trace head value of the target seismic data is equal to the trace head value of the source seismic data; Replacement module: If the trace header value of the target seismic data is equal to the trace header value of the source seismic data, then the corresponding trace data in the target seismic data will be replaced with the corresponding trace data in the source seismic data.

8. The apparatus of claim 7, wherein, The judgment module also includes a field judgment unit: used to judge whether the trace header field value of the target seismic data is equal to the trace header field value of the source seismic data according to the order of the target fields.

9. An electronic device, comprising: An apparatus comprising a memory for storing one or more computer instructions, wherein the one or more computer instructions, when executed by a processor, implement the method for seismic trace data replacement according to any one of claims 1-6.

10. A computer readable storage medium having stored therein a program, characterized in that, The program, when executed by a computer, implements the method for seismic trace data replacement according to any one of claims 1-6.