Seismic gather index generation method, device, electronic device and storage medium

By dividing the seismic body track set file into multiple file blocks and calculating the track set information, the problem of slow seismic data index generation is solved, and the ability to consume data is realized.

CN119003457BActive Publication Date: 2024-12-24RICHFIT INFORMATION TECH +1

Patent Information

Application Number
CN202411465395.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-10-21
Publication Date
2024-12-24
Estimated Expiration
2044-10-21

AI Technical Summary

Technical Problem

In the prior art, the generation speed of seismic data channel set index is slow and data cannot be consumed quickly.

Method used

By dividing the seismic body track set file into multiple file blocks, the track set information in each file block is calculated, and the track set index is generated, the location of the repeated track set number is processed, and finally the seismic body track set is generated based on all track set information. The calculation status of the file.

Benefits of technology

The generation speed of seismic data track set index has been accelerated and the ability to consume fast data has been realized.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119003457B_ABST
    Figure CN119003457B_ABST
Patent Text Reader

Abstract

The present application provides a method, device, electronic device and storage medium for generating seismic gather index. It relates to the field of data processing. The method comprises: obtaining a seismic gather file; dividing the seismic gather file into multiple file blocks according to a preset number of blocks; calculating the gather information of all gathers in the file block for each file block, and generating a calculation completion record corresponding to the file block after the calculation is completed; obtaining the gather numbers of all gathers in multiple file blocks; if it is determined that there are repeated gather numbers, obtaining all the gather start positions and gather end positions corresponding to the gather numbers; determining the smallest gather start position as the gather start position of the gather corresponding to the gather number, and determining the largest gather end position as the gather end position of the gather corresponding to the gather number; generating a gather index based on the gather information of all gathers in multiple file blocks. It can speed up the generation of seismic data gather indexes at various stages and consume data quickly.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing, and in particular to a method, device, electronic device and storage medium for generating a seismic trace gather index. Background Art

[0002] With the development of information technology, digitalization and intelligence of oil fields have become the mainstream trend. As the main exploration method of oil fields, seismic exploration has accumulated a large amount of seismic data through collection, processing and interpretation over the years. The reading and partial content extraction of these large-scale data requires a unified and efficient indexing technology support.

[0003] At present, the traditional single-machine traversal of file content is mainly used to generate track index.

[0004] However, in the prior art, the generation speed of seismic data gather indexes at each stage is slow, and data cannot be consumed quickly. Summary of the invention

[0005] The embodiments of the present application provide a method, device, electronic device and storage medium for generating a seismic gather index, which are used to solve the technical problems of slow generation of seismic data gather index and inability to quickly consume data in various stages of the prior art.

[0006] In a first aspect, an embodiment of the present application provides a method for generating a seismic gather index, comprising:

[0007] Acquire a seismic volume gather file, wherein the seismic volume gather file stores a plurality of gathers;

[0008] Dividing the seismic volume gather file into a plurality of file blocks according to a preset number of blocks;

[0009] For each file block, the gather information of all gathers in the file block is calculated, and after the calculation is completed, a calculation completion record corresponding to the file block is generated, wherein the gather information includes a gather number, a gather start position, and a gather end position;

[0010] Obtaining gather numbers of all gathers in the plurality of file blocks;

[0011] If it is determined that there is a repeated gather number, all gather start positions and gather end positions corresponding to the gather number are obtained;

[0012] Arrange all the gather start positions and gather end positions in ascending order, determine the smallest gather start position as the gather start position of the gather corresponding to the gather number, and determine the largest gather end position as the gather end position of the gather corresponding to the gather number;

[0013] Calculate the calculation status of the seismic volume gather file according to all calculation completion records;

[0014] A gather index is generated according to the gather information of all the gathers in the plurality of file blocks, and the calculation status of the seismic volume gather file is saved.

[0015] Optionally, in the method as described above, each of the multiple track sets includes multiple tracks; accordingly, for each file block, calculating the track set information of all track sets in the file block, including: for each file block, obtaining the first track set number of the first track in the file block; determining the starting position of the first track of the file block as the original track set position and the current position; obtaining a preset number of track set attempts; obtaining a single track length of any track in the file block; and calculating the track set information of all track sets in the file block based on the number of track set attempts, the single track length, the original track set position and the current position.

[0016] Optionally, the method as described above, wherein the gather information of all gathers in the file block is calculated according to the number of gather attempts, the single track length, the original gather position and the current position, including: calculating the target position according to the single track length, the current position and the number of gather attempts; if it is determined that the target position belongs to the file block, obtaining the second gather number of the track to which the target position belongs; determining whether the first gather number and the second gather number are the same; if it is determined that the first gather number and the second gather number are the same, determining whether the target position is at the end of the file block; if it is determined that the target position is at the end of the file block, obtaining and saving the maximum gather and the minimum gather of the file block, and ending the calculation process of the file block; if it is determined that the first If the track gather number and the second track gather number are different, the difference between the target position and the current position is calculated; if it is determined that the difference is equal to the single track length, the original track gather position and the target position are saved as the track gather start position and the track gather end position of the new track gather; the maximum track gather and the minimum track gather of the file block are calculated and updated; the number of track gather attempts is updated to the number of tracks between the target position and the original track gather position; the original track gather position is updated to the target position; the first track gather number is updated to the second track gather number; the current position is updated to the target position; and the step of "calculating the target position according to the single track length, the current position and the number of track gather attempts" is repeated until the target position is at the end of the file block.

[0017] Optionally, in the method as described above, if it is determined that the first track set number and the second track set number are not the same, then after calculating the difference between the target position and the current position, it also includes: if it is determined that the difference is not the single track length, then using a preset algorithm to update the track set attempt number; repeating the step of "calculating the target position based on the single track length, the current position and the track set attempt number" until the target position is at the end of the file block.

[0018] Optionally, in the method as described above, the step of determining whether the target position is after the end of the file block further includes: if it is determined that the target position is not at the end of the file block, updating the current position to the target position; and repeatedly executing the step of "calculating the target position based on the single-track length, the current position and the number of track set attempts" until the target position is at the end of the file block.

[0019] Optionally, the method as described above, if it is determined that the target position belongs to the file block, then after obtaining the second track set number of the track to which the target position belongs, it also includes: if it is determined that the target position does not belong to the file block, then updating the target position to the end of the file block; and obtaining the second track set number of the track to which the target position belongs.

[0020] In a second aspect, an embodiment of the present application provides a seismic gather index generating device, comprising:

[0021] An acquisition module, used for acquiring a seismic volume gather file, wherein the seismic volume gather file stores a plurality of gathers;

[0022] A division module, used for dividing the seismic volume gather file into a plurality of file blocks according to a preset number of blocks;

[0023] A calculation module, for calculating the gather information of all gathers in each file block, and generating a calculation completion record corresponding to the file block after the calculation is completed, wherein the gather information includes a gather number, a gather start position and a gather end position;

[0024] The acquisition module is further used to obtain the gather numbers of all gathers in the multiple file blocks;

[0025] The acquisition module is further used to acquire all the gather start positions and gather end positions corresponding to the gather number if it is determined that there is a repeated gather number;

[0026] A merging module, used for arranging all the gather start positions and gather end positions in ascending order, determining the smallest gather start position as the gather start position of the gather corresponding to the gather number, and determining the largest gather end position as the gather end position of the gather corresponding to the gather number;

[0027] The calculation module is further used to calculate the calculation status of the seismic volume gather file according to all calculation completion records;

[0028] A generating module is used to generate a gather index according to the gather information of all gathers in the plurality of file blocks, and save the calculation status of the seismic volume gather file.

[0029] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a processor, and a memory communicatively connected to the processor;

[0030] The memory stores computer-executable instructions;

[0031] The at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor executes the seismic trace gather index generation method as described in the first aspect and various possible designs of the first aspect.

[0032] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which computer execution instructions are stored. When the computer execution instructions are executed by a processor, they are used to implement the method described in the first aspect and various possible designs of the first aspect.

[0033] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the method described in the first aspect and various possible designs of the first aspect.

[0034] The seismic gather index generation method, device, electronic device and storage medium provided by the present application divide the seismic gather file into multiple file blocks; for each file block, calculate the gather information of all gathers in the file block; obtain the gather numbers of all gathers in multiple file blocks; if it is determined that there are repeated gather numbers, obtain all the gather start positions and gather end positions corresponding to the gather numbers; determine the smallest gather start position as the gather start position of the gather corresponding to the gather number, and determine the largest gather end position as the gather end position of the gather corresponding to the gather number; generate gather indexes according to the gather information of all gathers in multiple file blocks. It can speed up the generation speed of seismic data gather indexes at various stages and consume data quickly. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0036] Figure 1 A schematic diagram of a scenario of a method for generating seismic gather indexes provided in an embodiment of the present application;

[0037] Figure 2 A schematic diagram of a flow chart of a method for generating a seismic gather index according to an embodiment of the present application;

[0038] Figure 3 A schematic diagram of the data format in a seismic volume gather file provided by one embodiment of the present application;

[0039] Figure 4 An example diagram of a gather divided according to an embodiment of the present application;

[0040] Figure 5 A schematic diagram of a process for obtaining file block gather information provided by another embodiment of the present application;

[0041] Figure 6 A schematic diagram of the structure of a seismic gather index generating device provided in an embodiment of the present application;

[0042] Figure 7 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application.

[0043] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0044] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0045] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0046] Figure 1A schematic diagram of a scenario of a method for generating seismic trace gather indexes provided in an embodiment of the present application. Figure 1 As shown, the scene is an electronic device, including: a receiving device 101, a processor 102 and a display device 103.

[0047] It is understandable that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the object identification method. In other feasible implementations of the present application, the above architecture may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently, which can be determined according to the actual application scenario and is not limited here. Figure 1 The components shown may be implemented in hardware, software, or a combination of software and hardware.

[0048] In a specific implementation process, the receiving device 101 may be an input / output interface or a communication interface, and may obtain seismic volume gather files.

[0049] The processor 102 may process the seismic volume gather file to determine gather information of all gathers in the seismic volume gather file and a calculation status of the seismic volume gather file.

[0050] The display device 103 can be used to display the calculation status of the above-mentioned seismic volume gather file.

[0051] The display device may also be a touch display screen, which is used to receive user instructions while displaying the above content to achieve interaction with the user.

[0052] It should be understood that the above-mentioned processor can be implemented by the processor reading instructions in the memory and executing the instructions, or it can be implemented by a chip circuit.

[0053] In addition, the network architecture and business scenarios described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Ordinary technicians in this field can know that with the evolution of network architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

[0054] Figure 2 A flow chart of a method for generating a seismic trace gather index according to an embodiment of the present application is provided. The execution subject of this embodiment may be Figure 1 The electronic device shown in FIG. is not particularly limited in this embodiment. Figure 2 As shown, the method includes:

[0055] S201: Acquire a seismic volume gather file, wherein the seismic volume gather file stores a plurality of gathers.

[0056] Among them, the file format of the seismic volume gather file can be SEGY, SEG2, etc.

[0057] In an example of the present application, the data format in the seismic volume gather file includes file text header information, file binary header information, multiple gathers, and the like.

[0058] The file header information includes 40 lines of text information, which gives an overall description of the seismic data in the file, including the collector, operation team number, user, time, sampling interval, number of coverage, etc.

[0059] The file binary header information is 400 bytes, which is a 2- or 4-byte binary complement integer. The file binary header information includes binary values ​​that affect the entire file, including the data set type, data channel number, sampling interval, sampling point number, and sampling format code (each point requires multiple bytes of storage space).

[0060] Among them, the track set includes multiple tracks, each of which includes a track header and a track body. The track header is 240 bytes, including the attributes of each track, which is a 2-byte or 4-byte binary complement integer. For different tracks, the track header information may be different. The information contained in the track header can be the horizontal and vertical coordinates of the track, the field file number, the shot number, the track number, the offset, the elevation, the CMP (Common Midpoint) track set number, the three-dimensional main survey line number (Inline) of the CMP track set, and the three-dimensional contact line number (Crossline) of the CMP track set. Taking the CMP track set as an example, the tracks with the same CMP track set number or Inline number need to be grouped into one track set.

[0061] Figure 3 A schematic diagram of the data format in a seismic volume gather file provided for one embodiment of the present application.

[0062] S202: Divide the seismic volume gather file into a plurality of file blocks according to a preset number of blocks.

[0063] It should be noted that when dividing the blocks, the "road" cannot be split in the middle, so it will be split according to the integer length of the road.

[0064] Specifically, a preset number of blocks is obtained; metadata information of a seismic volume gather file is obtained; block data is calculated according to the preset number of blocks and the metadata information of the seismic volume gather file; and the seismic volume gather file is divided into a plurality of file blocks according to the block data.

[0065] The metadata information of the seismic volume gather file includes: file length, number of sampling points of a single channel, point storage byte length, trace header length, file text header information length and file binary header information length, etc.

[0066] The calculation formula for the single-track length of the seismic volume gather file is: single-track length = point storage byte length * number of track sampling points + track header length.

[0067] The calculation formula of the file header length of the seismic volume gather file is: file header length = file text header information length + file binary header information length.

[0068] The calculation formula for the total number of traces in a seismic volume gather file is: total number of traces in a file = (file length - file header length) / single trace length.

[0069] Among them, if the preset number of blocks is n, then the file size of each block of the first n-1 blocks of files = total number of file tracks / preset number of blocks*single track length; the file size of the nth block of files = total number of file tracks%preset number of blocks*single track length.

[0070] Among them, the starting position of the first file block = the length of the file header; the ending position of the first file block = the length of the file header + the size of each file block of the first n-1 files; if 2≤m≤n, and m is an integer, then the starting position of the mth file block = the ending position of the m-1th file block + 1; if 2≤x≤n-1, and x is an integer, then the ending position of the xth file block = the starting position of the xth file block + the size of each file block of the first n-1 files; the ending position of the nth file block = file length-1.

[0071] For example, if the file header length = a, the size of each file block of the first n-1 blocks of files = b, the file length = c, and n = 3, then the starting position of the first block of files = a; the ending position of the first block of files = a+b; the starting position of the second block of files = a+b+1; the ending position of the second block of files = a+2b+1; and the ending position of the third block of files = c-1.

[0072] S203: For each file block, calculate the gather information of all gathers in the file block, and after the calculation is completed, generate a calculation completion record corresponding to the file block, wherein the gather information includes the gather number, the gather start position and the gather end position.

[0073] Each of the plurality of track gathers includes a plurality of tracks.

[0074] It should be noted that the starting position of the gather is the starting position of the gather in the seismic volume gather file; the ending position of the gather is the ending position of the gather in the seismic volume gather file.

[0075] Specifically, S203 specifically includes S2031~S2035:

[0076] S2031: For each file block, obtain the first track set number of the first track in the file block.

[0077] Specifically, the data of the file block is parsed to obtain the attribute information of the first track of the file block; and the track set number in the attribute information is extracted.

[0078] S2032: Determine the starting position of the first track of the file block as the original track gather position and the current position.

[0079] S2033: Obtain the preset number of gather attempts.

[0080] S2034: Obtain the single track length of any track in the file block.

[0081] It should be noted that the length of each single trace in the seismic volume gather file is the same.

[0082] S2035: Calculate the gather information of all gathers in the file block according to the number of gather attempts, the length of a single track, the original gather position and the current position.

[0083] Specifically, S2035 includes Sa~Se:

[0084] Sa: Calculate the target position based on the single-track length, current position, and number of track attempts.

[0085] Among them, the target position = current position + single track length * number of track set attempts.

[0086] Sb: If it is determined that the target position belongs to a file block, the second track set number of the track to which the target position belongs is obtained.

[0087] Sc: Determine whether the first track set number is the same as the second track set number.

[0088] Sd: If it is determined that the first track set number and the second track set number are the same, then determine whether the target position is at the end of the file block; if it is determined that the target position is at the end of the file block, obtain and save the maximum track set and the minimum track set of the file block, and end the calculation process of the file block.

[0089] The position of the end of the file block is expressed as the file block length-single track length-1.

[0090] Specifically, if it is determined that the target position is at the end of the file block, the maximum track gather and the minimum track gather in the preset data table are obtained, and the maximum track gather and the minimum track gather are persistently stored.

[0091] Among them, the persistent storage method can be ES (Elasticsearch, a distributed full-text search engine) storage.

[0092] Se: If it is determined that the first track gather number and the second track gather number are not the same, calculate the difference between the target position and the current position; if it is determined that the difference is equal to the single track length, save the original track gather position and the target position as the track gather start position and the track gather end position of the new track gather; calculate and update the maximum track gather and the minimum track gather of the file block; update the number of track gather attempts to the number of tracks between the target position and the original track gather position; update the original track gather position to the target position; update the first track gather number to the second track gather number; update the current position to the target position; repeat the steps of "calculating the target position based on the single track length, the current position and the number of track gather attempts" until the target position is at the end of the file block.

[0093] S204: Obtain the gather numbers of all gathers in the multiple file blocks.

[0094] S205: If it is determined that there are repeated gather numbers, all gather start positions and gather end positions corresponding to the gather numbers are obtained.

[0095] Among them, the existence of repeated track set numbers means that one track set is divided into two file blocks.

[0096] Figure 4 An example diagram of a gather divided according to an embodiment of the present application.

[0097] S206: Arrange all the track gather start positions and track gather end positions in ascending order, determine the smallest track gather start position as the track gather start position of the track gather corresponding to the track gather number, and determine the largest track gather end position as the track gather end position of the track gather corresponding to the track gather number.

[0098] Exemplarily, suppose the starting positions of the track gathers corresponding to the track gather numbers are q and w respectively; the ending positions of the track gathers corresponding to the track gather numbers are w and e respectively; and they are sorted in order of size as q, w, w, e, then the starting position of the track gather corresponding to the track gather number is q, and the ending position of the track gather corresponding to the track gather number is e.

[0099] S207: Calculate the calculation status of the seismic volume gather file according to all calculation completion records.

[0100] The calculation formula for calculating the calculation status of the seismic volume gather file is: the calculation status of the seismic volume gather file = the number of all calculation completed records / the preset number of blocks * 100%.

[0101] S208: Generate a gather index according to the gather information of all gathers in the multiple file blocks, and save the calculation status of the seismic volume gather file.

[0102] The gather index includes the gather start position, gather end position and key attribute values ​​of each gather.

[0103] Specifically, the gather start position, the gather end position and the key attribute value in the gather information are extracted to generate a gather index; the gather index is persistently stored, and the calculation state of the seismic volume gather file is persistently stored.

[0104] Among them, the persistent storage method can be ES storage.

[0105] As can be seen from the above description, the present application divides the seismic gather file into multiple file blocks; for each file block, calculates the gather information of all gathers in the file block; obtains the gather numbers of all gathers in multiple file blocks; if it is determined that there are repeated gather numbers, obtains all the gather start positions and gather end positions corresponding to the gather numbers; determines the smallest gather start position as the gather start position of the gather corresponding to the gather number, and determines the largest gather end position as the gather end position of the gather corresponding to the gather number; generates gather indexes according to the gather information of all gathers in multiple file blocks. It can speed up the generation of seismic data gather indexes at various stages and consume data quickly.

[0106] In one embodiment of the present application, based on the above embodiment, after the step Se of "if it is determined that the first track gather number and the second track gather number are not the same, then the difference between the target position and the current position is calculated", a process of updating the number of track gather attempts is also included, which is described in detail as follows:

[0107] Se-1: If the difference is not determined to be a single-track length, the preset algorithm is used to update the number of track gather attempts.

[0108] Among them, the preset algorithm can be a binary search method.

[0109] Se-2: Repeat the step of "calculating the target position according to the single-track length, the current position and the number of track gather attempts" until the target position is at the end of the file block.

[0110] From the above description, it can be seen that in the present application, a preset algorithm is used to update the number of track gather attempts, so that the track gather start position and the track gather end position of the new track gather can be quickly found.

[0111] In one embodiment of the present application, based on the above embodiment, after the step Sd of "determining whether the target position is at the end of the file block", a process of quickly skipping the file block is also included, which is described in detail as follows:

[0112] Sd-1: If it is determined that the target position is not at the end of the file block, the current position is updated to the target position.

[0113] Sd-2: Repeat the steps of "calculating the target position based on the single-track length, current position and number of track gather attempts" until the target position is at the end of the file block.

[0114] From the above description, it can be seen that in this application, if the target position is determined not to be at the end of the file block, the current position is updated to the target position. Rapidly skipping the file block improves the generation speed of the seismic data gather index at each stage.

[0115] In one embodiment of the present application, based on the above embodiment, after step Sb, a processing process for excessive number of gather attempts is further included, which is described in detail as follows:

[0116] Sf: If it is determined that the target position does not belong to the file block, the target position is updated to the end of the file block.

[0117] The position of the end of the file block is expressed as the file block length-single track length-1.

[0118] Sg: Get the second track set number of the track to which the target position belongs.

[0119] Figure 5 A schematic diagram of a process for obtaining file block gather information provided by another embodiment of the present application. The execution subject of this embodiment may be Figure 1 The electronic device shown in FIG. is not particularly limited in this embodiment. Figure 5 As shown, the method includes:

[0120] S301: Obtain the first track set number of the first track in the file block.

[0121] S302: Determine the starting position of the first track of the file block as the original track gather position and the current position.

[0122] S303: Obtain a preset number of track gather attempts; obtain a single track length of any track in the file block.

[0123] S304: Calculate the target position according to the single-track length, the current position and the number of track gather attempts.

[0124] S305: Determine whether the target location belongs to a file block.

[0125] S306: If it is determined that the target position belongs to the file block, the second track set number of the track to which the target position belongs is obtained.

[0126] S307: If it is determined that the target position does not belong to the file block, the target position is updated to the end of the file block; and the second track set number of the track to which the target position belongs is obtained.

[0127] S308: Determine whether the first track set number and the second track set number are the same; if it is determined that the first track set number and the second track set number are the same, execute S309~S311; if it is determined that the first track set number and the second track set number are not the same, execute S312~S316.

[0128] S309: Determine whether the target position is at the end of the file block.

[0129] S310: If it is determined that the target position is at the end of the file block, the maximum gather and the minimum gather of the file block are obtained and saved, and the calculation process of the file block is ended.

[0130] S311: If it is determined that the target position is not at the end of the file block, the current position is updated to the target position; and step S304 is repeated.

[0131] S312: Calculate the difference between the target position and the current position.

[0132] S313: Determine whether the difference is equal to the single-track length; if the difference is determined to be equal to the single-track length, execute S314~S315; if the difference is determined not to be equal to the single-track length, execute S316.

[0133] S314: Save the original gather position and the target position as the gather start position and the gather end position of the new gather; calculate and update the maximum gather and the minimum gather of the file block.

[0134] S315: Update the number of track gather attempts to the number of tracks between the target position and the original track gather position; update the original track gather position to the target position; update the first track gather number to the second track gather number; and continue to execute S311.

[0135] S316: Use a preset algorithm to update the number of gather attempts; and repeat S304.

[0136] Figure 6 This is a schematic diagram of the structure of the seismic trace gather index generation device provided in the embodiment of the present application. Figure 6 As shown, the seismic trace gather index generating device 40 includes: an acquisition module 401, a division module 402, a calculation module 403, a merging module 404 and a generation module 405.

[0137] An acquisition module 401 is used to acquire a seismic volume gather file, wherein the seismic volume gather file stores a plurality of gathers;

[0138] A division module 402 is used to divide the seismic volume gather file into a plurality of file blocks according to a preset number of blocks;

[0139] The calculation module 403 is used to calculate the gather information of all gathers in each file block, and generate a calculation completion record corresponding to the file block after the calculation is completed, wherein the gather information includes the gather number, the gather start position and the gather end position;

[0140] The acquisition module 401 is further used to acquire the gather numbers of all gathers in the multiple file blocks;

[0141] The acquisition module 401 is further used to acquire all the gather start positions and gather end positions corresponding to the gather number if it is determined that there is a repeated gather number;

[0142] The merging module 404 is used to arrange all the gather start positions and gather end positions in ascending order, determine the smallest gather start position as the gather start position of the gather corresponding to the gather number, and determine the largest gather end position as the gather end position of the gather corresponding to the gather number;

[0143] The calculation module 403 is further used to calculate the calculation status of the seismic volume gather file according to all calculation completion records;

[0144] The generating module 405 is used to generate a gather index according to the gather information of all gathers in the plurality of file blocks, and save the calculation status of the seismic volume gather file.

[0145] In one possible design, each of the multiple track sets includes multiple tracks. Accordingly, the calculation module 403 is specifically used to: for each file block, obtain the first track set number of the first track in the file block; determine the starting position of the first track of the file block as the original track set position and the current position; obtain a preset number of track set attempts; obtain a single track length of any track in the file block; and calculate the track set information of all track sets in the file block based on the number of track set attempts, the single track length, the original track set position and the current position.

[0146] In a possible design, the calculation module 403, when "calculating the track gather information of all track gathers in the file block according to the number of track gather attempts, the single track length, the original track gather position and the current position", is specifically used to: calculate the target position according to the single track length, the current position and the number of track gather attempts; if it is determined that the target position belongs to the file block, obtain the second track gather number of the track to which the target position belongs; determine whether the first track gather number and the second track gather number are the same; if it is determined that the first track gather number and the second track gather number are the same, determine whether the target position is at the end of the file block; if it is determined that the target position is at the end of the file block, obtain and save the maximum track gather and the minimum track gather of the file block, and end the calculation process of the file block; if If it is determined that the first track gather number and the second track gather number are different, the difference between the target position and the current position is calculated; if it is determined that the difference is equal to the single track length, the original track gather position and the target position are saved as the track gather start position and the track gather end position of the new track gather; the maximum track gather and the minimum track gather of the file block are calculated and updated; the number of track gather attempts is updated to the number of tracks between the target position and the original track gather position; the original track gather position is updated to the target position; the first track gather number is updated to the second track gather number; the current position is updated to the target position; and the step of "calculating the target position according to the single track length, the current position and the number of track gather attempts" is repeated until the target position is at the end of the file block.

[0147] In one possible design, the calculation module 403 is also used to: if it is determined that the difference is not the single-track length, then use a preset algorithm to update the number of track set attempts; repeat the step of "calculating the target position based on the single-track length, the current position and the number of track set attempts" until the target position is at the end of the file block.

[0148] In one possible design, the calculation module 403 is also used to: if it is determined that the target position is not at the end of the file block, update the current position to the target position; repeat the step of "calculating the target position based on the single track length, the current position and the number of track set attempts" until the target position is at the end of the file block.

[0149] In a possible design, the calculation module 403 is further used to: if it is determined that the target position does not belong to the file block, update the target position to the end of the file block; and obtain the second track set number of the track to which the target position belongs.

[0150] The device provided in this embodiment can be used to execute the technical solution of the above method embodiment. Its implementation principle and technical effect are similar, and this embodiment will not be repeated here.

[0151] Figure 7 The hardware structure diagram of the electronic device provided in the embodiment of the present application is shown in FIG. Figure 7 As shown, the electronic device 50 of this embodiment includes: at least one processor 501 and a memory 502; the memory stores computer-executable instructions; at least one processor executes the computer-executable instructions stored in the memory, so that at least one processor executes the above seismic gather index generation method;

[0152] Optionally, the memory 502 may be independent or integrated with the processor 501 .

[0153] When the memory 502 is independently provided, the electronic device further includes a bus 503 for connecting the memory 502 and the processor 501 .

[0154] An embodiment of the present application also provides a computer-readable storage medium, in which computer-executable instructions are stored. When a processor executes the computer-executable instructions, the seismic trace gather index generation method as described above is implemented.

[0155] An embodiment of the present application also provides a computer program product, including a computer program, and when the computer program is executed by a processor, the seismic trace gather index generation method as described above is implemented.

[0156] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the present application.

[0157] It should be further noted that, although the various steps in the flowchart are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless there is a clear description in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the flowchart may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these sub-steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.

[0158] It should be understood that the above-mentioned device embodiments are only illustrative, and the device of the present application can also be implemented in other ways. For example, the division of units / modules in the above-mentioned embodiments is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units, modules or components can be combined, or can be integrated into another system, or some features can be ignored or not executed.

[0159] In addition, unless otherwise specified, each functional unit / module in each embodiment of the present application may be integrated into one unit / module, each unit / module may exist physically separately, or two or more units / modules may be integrated together. The above-mentioned integrated unit / module may be implemented in the form of hardware or in the form of a software program module.

[0160] If the integrated unit / module is implemented in the form of hardware, the hardware may be a digital circuit, an analog circuit, etc. The physical implementation of the hardware structure includes but is not limited to transistors, memristors, etc. If not specifically stated, the processor may be any appropriate hardware processor, such as a CPU (Central Processing Unit), a GPU (Graphics Processing Unit), an FPGA (Field-Programmable Gate Array), a DSP (Digital Signal Processor), and an ASIC (Application-Specific Integrated Circuit). If not specifically stated, the storage unit may be any appropriate magnetic storage medium or magneto-optical storage medium, such as RRAM (Resistive Random Access Memory), DRAM (Dynamic Random Access Memory), SRAM (Static Random-Access Memory), EDRAM (Enhanced Dynamic Random Access Memory), HBM (High-Bandwidth Memory), HMC (Hybrid Memory Cube), etc.

[0161] If the integrated unit / module is implemented in the form of a software program module and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a memory, including a number of instructions to enable a computer device (which can be a personal computer, server or network device, etc.) to execute all or part of the steps of the various embodiments of the present application. The aforementioned memory includes: U disk, ROM (Read-Only Memory), RAM (Random Access Memory), mobile hard disk, disk or optical disk and other media that can store program codes.

[0162] In the above embodiments, the description of each embodiment has its own emphasis. For the part not described in detail in a certain embodiment, please refer to the relevant description of other embodiments. The technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0163] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.

[0164] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.

Claims

1. A method for generating a seismic gather index, characterized in that: Used in electronic equipment, including: Acquire a seismic volume gather file, wherein the seismic volume gather file stores a plurality of gathers, wherein each of the plurality of gathers includes a plurality of traces; Dividing the seismic volume gather file into a plurality of file blocks according to a preset number of blocks; For each file block, the gather information of all gathers in the file block is calculated, and after the calculation is completed, a calculation completion record corresponding to the file block is generated, wherein the gather information includes a gather number, a gather start position, and a gather end position; The step of calculating the gather information of all the gathers in each file block includes: obtaining the first gather number of the first track in the file block for each file block; determining the starting position of the first track in the file block as the original gather position and the current position; obtaining a preset gather attempt number; obtaining a single track length of any track in the file block; and calculating the gather information of all the gathers in the file block according to the gather attempt number, the single track length, the original gather position and the current position. Obtaining gather numbers of all gathers in the plurality of file blocks; If it is determined that there is a repeated gather number, all gather start positions and gather end positions corresponding to the gather number are obtained; Arrange all the gather start positions and gather end positions in ascending order, determine the smallest gather start position as the gather start position of the gather corresponding to the gather number, and determine the largest gather end position as the gather end position of the gather corresponding to the gather number; Calculate the calculation status of the seismic volume gather file according to all calculation completion records, wherein the calculation status of the seismic volume gather file is the progress of the calculation completion of the file blocks in the seismic volume gather file; A gather index is generated according to the gather information of all the gathers in the plurality of file blocks, and the calculation status of the seismic volume gather file is saved.

2. The method according to claim 1, characterized in that The step of calculating the gather information of all gathers in the file block according to the gather attempt quantity, the single-track length, the original gather position and the current position includes: Calculate the target position according to the single-track length, the current position and the number of track gather attempts; If it is determined that the target position belongs to the file block, obtaining the second track set number of the track to which the target position belongs; Determining whether the first track gather number and the second track gather number are the same; If it is determined that the first track gather number and the second track gather number are the same, then determining whether the target position is at the end of the file block; if it is determined that the target position is at the end of the file block, obtaining and saving the maximum track gather and the minimum track gather of the file block, and ending the calculation process of the file block; If it is determined that the first track gather number and the second track gather number are not the same, the difference between the target position and the current position is calculated; if it is determined that the difference is equal to the single track length, the original track gather position and the target position are saved as the track gather start position and the track gather end position of the new track gather; the maximum track gather and the minimum track gather of the file block are calculated and updated; the number of track gather attempts is updated to the number of tracks between the target position and the original track gather position; the original track gather position is updated to the target position; the first track gather number is updated to the second track gather number; the current position is updated to the target position; and the step of "calculating the target position based on the single track length, the current position and the number of track gather attempts" is repeated until the target position is located at the end of the file block.

3. The method according to claim 2, characterized in that If it is determined that the first track gather number and the second track gather number are different, after calculating the difference between the target position and the current position, the method further includes: If it is determined that the difference is not the single-track length, a preset algorithm is used to update the number of track gather attempts; Repeat the step of "calculating the target position according to the single track length, the current position and the number of track gather attempts" until the target position is at the end of the file block.

4. The method according to claim 2, characterized in that: The determining whether the target position is after the end of the file block further includes: If it is determined that the target position is not at the end of the file block, updating the current position to the target position; Repeat the step of "calculating the target position according to the single track length, the current position and the number of track gather attempts" until the target position is at the end of the file block.

5. The method according to claim 2, characterized in that: If it is determined that the target position belongs to the file block, after obtaining the second track set number of the track to which the target position belongs, the method further includes: If it is determined that the target position does not belong to the file block, updating the target position to the end of the file block; Get the second track set number of the track to which the target position belongs.

6. A seismic gather index generating device, characterized in that: Used in electronic equipment, including: An acquisition module, used for acquiring a seismic volume gather file, wherein the seismic volume gather file stores a plurality of gathers, wherein each gather in the plurality of gathers includes a plurality of traces; A division module, used for dividing the seismic volume gather file into a plurality of file blocks according to a preset number of blocks; A calculation module, for calculating the gather information of all gathers in each file block, and generating a calculation completion record corresponding to the file block after the calculation is completed, wherein the gather information includes a gather number, a gather start position and a gather end position; The calculation module is specifically used to: for each file block, obtain the first track gather number of the first track in the file block; determine the starting position of the first track of the file block as the original track gather position and the current position; obtain a preset track gather attempt number; obtain a single track length of any track in the file block; calculate the track gather information of all the track gathers in the file block according to the track gather attempt number, the single track length, the original track gather position and the current position; The acquisition module is further used to acquire the gather numbers of all gathers in the multiple file blocks; The acquisition module is further used for acquiring all the gather start positions and gather end positions corresponding to the gather number if it is determined that there is a repeated gather number; A merging module, used for arranging all the gather start positions and gather end positions in ascending order, determining the smallest gather start position as the gather start position of the gather corresponding to the gather number, and determining the largest gather end position as the gather end position of the gather corresponding to the gather number; The calculation module is further used to calculate the calculation status of the seismic volume gather file according to all calculation completion records, wherein the calculation status of the seismic volume gather file is the progress of the calculation completion of the file block in the seismic volume gather file; A generating module is used to generate a gather index according to the gather information of all gathers in the plurality of file blocks, and save the calculation status of the seismic volume gather file.

7. An electronic device, characterized in that: include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method for generating seismic trace gather indexes as described in any one of claims 1 to 5.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method for generating a seismic trace gather index as described in any one of claims 1 to 5.

9. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.

Citation Information

Patent Citations

  • Method and system for quickly cataloging pre-stack data

    CN110019002A

  • Fast sorting method of common offset vector (COV) gather of wide-azimuth seismic data at sea

    CN110187383A

  • Index-based fixed channel length seismic data retrieval method and system

    CN112948372A

  • Method and equipment for representing and constructing group-oriented genome index

    CN115662523A

  • Functional quantization based data compression in seismic acquisition

    US20200309976A1

Cited By

  • Seismic gather index generation method and apparatus, and electronic device and storage medium

    WO2026086016A1