Seismic trace header attribute graph drawing and displaying method and device, electronic equipment and medium

By adopting multi-threading and pixel scanning drawing technology in large data scenarios, the problem of low reading and drawing efficiency of seismic head attribute data is solved, and the rapid display of seismic head attribute data is achieved and the user experience is improved.

CN119672164APending Publication Date: 2025-03-21CHINA PETROLEUM & CHEMICAL CORP +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311219690.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-20
Publication Date
2025-03-21

AI Technical Summary

Technical Problem

In the large data scenario, the reading and drawing efficiency of earthquake track head attribute data is low, resulting in poor user experience and difficult to meet the needs of efficient display.

Method used

The seismic track head attribute data reading and pixel scanning drawing technology based on multi-threading is adopted to improve data reading efficiency through multi-threading, and the drawing process is optimized through pixel scanning drawing method.

Benefits of technology

It realizes the rapid reading and drawing of earthquake track head attribute data in large data scenarios, significantly improving the user experience and software interaction convenience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119672164A_ABST
    Figure CN119672164A_ABST
Patent Text Reader

Abstract

The invention discloses a seismic trace header attribute graph drawing and displaying method and device, electronic equipment and a medium. The method comprises the following steps: acquiring the total trace number of seismic data and a trace header attribute list, and determining a seismic trace header attribute needing to be displayed; according to the total channel number of the seismic data and the cpu thread number of the calculation nodes, creating a corresponding calculation relation between the calculation nodes and seismic channels to perform seismic channel calculation; and drawing a header attribute graph according to the data in the map container. In order to realize rapid drawing and display of seismic trace header attribute data in a large data volume scene, a multi-thread-based seismic trace header attribute data reading and pixel scanning drawing technology is designed, the seismic trace header attribute data reading efficiency is improved through multiple threads, the drawing efficiency of a trace header attribute plane graph is improved through a pixel scanning drawing method, and the drawing efficiency of the seismic trace header attribute plane graph is improved. The method has a practical value for quickly drawing and displaying the seismic trace header attribute plane graph in a large-data-volume scene.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of seismic exploration data visualization, and more specifically, to a method, device, electronic equipment and medium for drawing and displaying a seismic trace head attribute map. Background Art

[0002] The two-dimensional plane display of seismic trace header attributes is an important part of seismic data processing. It can help users understand the acquisition and processing effects of seismic data more intuitively. In the two-dimensional plane diagram, the trace header attributes of each seismic trace data are presented in the form of bar blocks of different colors. Users can understand the changes of different seismic trace header attributes in two-dimensional space, or the relationship between attributes and other attributes by comparing blocks of different colors. As seismic exploration has entered the era of big data, the amount of seismic data has increased rapidly, which has brought challenges to the two-dimensional plane display of seismic trace header attributes. In the scenario of small data volume, the trace header data can be serially read and then all the read data can be plotted to generate a two-dimensional plane attribute map. In the scenario of large data volume, the efficiency of reading and plotting seismic trace header attribute data is extremely high. Inefficient reading and plotting will bring a very bad user experience, and too long waiting time will make users lose confidence in using the software.

[0003] At present, a method for drawing and displaying seismic trace head attribute maps needs to be developed.

[0004] The information disclosed in the background technology section of the present invention is only intended to deepen the understanding of the general background technology of the present invention, and should not be regarded as acknowledging or suggesting in any form that the information constitutes the prior art already known to those skilled in the art. Summary of the invention

[0005] The present invention proposes a method, device, electronic device and medium for drawing and displaying seismic trace header attribute maps. In order to realize the rapid drawing and display of seismic trace header attribute data in large data volume scenarios, a multi-threaded seismic trace header attribute data reading and pixel scanning drawing technology is designed. The efficiency of seismic trace header attribute data reading is improved through multi-threading, and the efficiency of drawing trace header attribute plane maps is improved through pixel scanning drawing method. This has practical value for realizing the rapid drawing and display of seismic trace header attribute plane maps in large data volume scenarios.

[0006] In a first aspect, an embodiment of the present disclosure provides a method for drawing and displaying a seismic trace header attribute map, comprising:

[0007] Obtain the total number of seismic data traces and trace header attribute list, and determine the seismic trace header attributes that need to be displayed;

[0008] According to the total number of seismic data channels and the number of CPU threads of the computing nodes, a corresponding computing relationship between computing nodes and seismic channels is created to perform seismic channel calculation;

[0009] Draw the header attribute map according to the data in the map container.

[0010] As a specific implementation of the embodiment of the present disclosure, a corresponding calculation relationship between a calculation node and a seismic trace is created:

[0011] According to the number of CPU threads of the computing node, the total number of seismic data channels is evenly divided into a corresponding number of data blocks and allocated to the corresponding threads.

[0012] As a specific implementation of the embodiment of the present disclosure, performing seismic trace calculation includes:

[0013] The reading range of the seismic trace is set for the thread corresponding to the computing node, and each thread reads the corresponding seismic trace header attribute data in parallel for calculation.

[0014] As a specific implementation of the embodiment of the present disclosure, drawing a header attribute map according to data in a map container includes:

[0015] The seismic trace header attribute data is projected onto the drawing area, and the data projected onto the drawing area is filtered through the map container to ensure that there is only one drawing data at each pixel point.

[0016] In a second aspect, the present disclosure also provides a device for drawing and displaying a seismic trace header attribute map, including:

[0017] The seismic data acquisition module obtains the total number of seismic data traces and the trace header attribute list, and determines the seismic trace header attributes that need to be displayed;

[0018] A seismic channel calculation module, which creates a corresponding calculation relationship between the calculation node and the seismic channel according to the total number of seismic data channels and the number of CPU threads of the calculation node to perform seismic channel calculation;

[0019] The drawing module draws the header attribute map according to the data in the map container.

[0020] As a specific implementation of the embodiment of the present disclosure, a corresponding calculation relationship between a calculation node and a seismic trace is created:

[0021] According to the number of CPU threads of the computing node, the total number of seismic data channels is evenly divided into a corresponding number of data blocks and allocated to the corresponding threads.

[0022] As a specific implementation of the embodiment of the present disclosure, performing seismic trace calculation includes:

[0023] The reading range of the seismic trace is set for the thread corresponding to the computing node, and each thread reads the corresponding seismic trace header attribute data in parallel for calculation.

[0024] As a specific implementation of the embodiment of the present disclosure, drawing a header attribute map according to data in a map container includes:

[0025] The seismic trace header attribute data is projected onto the drawing area, and the data projected onto the drawing area is filtered through the map container to ensure that there is only one drawing data at each pixel point.

[0026] In a third aspect, an embodiment of the present disclosure further provides an electronic device, the electronic device comprising:

[0027] A memory storing executable instructions;

[0028] A processor runs the executable instructions in the memory to implement the method for drawing and displaying a seismic trace header attribute map.

[0029] In a fourth aspect, an embodiment of the present disclosure further provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the method for drawing and displaying a seismic trace header attribute map is implemented.

[0030] The methods and apparatus of the present invention have other features and advantages that will be apparent from, or will be described in detail in, the accompanying drawings and subsequent detailed descriptions incorporated herein, which together serve to explain the specific principles of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] The above and other objects, features and advantages of the present invention will become more apparent through a more detailed description of exemplary embodiments of the present invention in conjunction with the accompanying drawings, wherein like reference numerals generally represent like components throughout the exemplary embodiments of the present invention.

[0032] Figure 1 A flow chart showing the steps of a method for drawing and displaying a seismic trace header attribute map according to an embodiment of the present invention.

[0033] Figure 2 A schematic diagram showing multi-threaded reading of trace header attribute data according to an embodiment of the present invention is shown.

[0034] Figure 3 A block diagram of a device for drawing and displaying a seismic trace header attribute map according to an embodiment of the present invention is shown.

[0035] Description of reference numerals:

[0036] 201, seismic data acquisition module; 202, seismic trace calculation module; 203, drawing module. DETAILED DESCRIPTION

[0037] The preferred embodiments of the present invention will be described in more detail below. Although the preferred embodiments of the present invention are described below, it should be understood that the present invention can be implemented in various forms and should not be limited to the embodiments set forth herein.

[0038] To facilitate understanding of the solutions and effects of the embodiments of the present invention, six specific application examples are given below. Those skilled in the art should understand that the examples are only for facilitating understanding of the present invention, and any specific details thereof are not intended to limit the present invention in any way.

[0039] Example 1

[0040] Figure 1 A flow chart showing the steps of a method for drawing and displaying a seismic trace header attribute map according to an embodiment of the present invention.

[0041] like Figure 1 As shown, the method for drawing and displaying the seismic trace head attribute map includes:

[0042] Step 101, obtaining the total number of seismic data traces and a trace header attribute list, and determining the seismic trace header attributes to be displayed;

[0043] Step 102, according to the total number of seismic data channels and the number of CPU threads of the computing node, a corresponding calculation relationship between the computing node and the seismic channel is created to perform seismic channel calculation;

[0044] Step 103, drawing a header attribute map according to the data in the map container.

[0045] In an example, the corresponding calculation relationship between the calculation node and the seismic channel is created:

[0046] According to the number of CPU threads of the computing node, the total number of seismic data channels is evenly divided into a corresponding number of data blocks and allocated to the corresponding threads.

[0047] In one example, performing seismic trace calculations includes:

[0048] The reading range of the seismic trace is set for the corresponding thread of the computing node, and each thread reads the corresponding seismic trace header attribute data in parallel for calculation.

[0049] In one example, drawing a header attribute map according to data in a map container includes:

[0050] The seismic trace header attribute data is projected onto the drawing area, and the data projected onto the drawing area is filtered through the map container to ensure that there is only one drawing data at each pixel.

[0051] Figure 2A schematic diagram showing multi-threaded reading of trace header attribute data according to an embodiment of the present invention is shown.

[0052] Specifically, to display the seismic trace header attributes, it is first necessary to read specific attribute data from the seismic trace header. The time consumption of the trace header attribute reading process will greatly increase with the increase of data volume. In order to shorten this time consumption, the present invention designs a method for reading trace header attribute data based on multi-threading, such as Figure 2 As shown in the figure. According to the number of CPU threads of the computing node, the total number of seismic data is evenly divided into a corresponding number of data blocks. Using multi-threaded parallel reading, the time consumption can theoretically be shortened to one nth of the original time consumption, where n represents the number of threads. However, the performance of multi-threading is related to the specific use environment. It has been verified in actual operation that it can indeed significantly reduce the time consumption.

[0053] After the seismic header attribute data is prepared, drawing can begin. If all the read data are drawn, it will take a long time. In order to shorten the drawing time, the present invention designs a pixel scanning drawing method. Since the distribution of the seismic header attribute data is relatively scattered in the actual spatial position, when drawing, the actual position needs to be projected into a drawing area of ​​a certain size. When the amount of data is large, multiple data points will be repeatedly drawn on each pixel point in the drawing area, resulting in a waste of drawing resources. The pixel scanning drawing method scans all data points before drawing to ensure that each pixel point has only one drawing data, and then draws. This can greatly shorten the drawing time, and can also reduce the jamming caused by drawing when scaling the drawn image or moving the display area.

[0054] Example 2

[0055] The present invention also provides a seismic trace head attribute map drawing and display device, comprising:

[0056] The seismic data acquisition module obtains the total number of seismic data traces and the trace header attribute list, and determines the seismic trace header attributes that need to be displayed;

[0057] The seismic channel calculation module creates a corresponding calculation relationship between the computing node and the seismic channel to perform seismic channel calculation according to the total number of seismic data channels and the number of CPU threads of the computing node;

[0058] The drawing module draws the header attribute map according to the data in the map container.

[0059] In an example, the corresponding calculation relationship between the calculation node and the seismic channel is created:

[0060] According to the number of CPU threads of the computing node, the total number of seismic data channels is evenly divided into a corresponding number of data blocks and allocated to the corresponding threads.

[0061] In one example, performing seismic trace calculations includes:

[0062] The reading range of the seismic trace is set for the corresponding thread of the computing node, and each thread reads the corresponding seismic trace header attribute data in parallel for calculation.

[0063] In one example, drawing a header attribute map according to data in a map container includes:

[0064] The seismic trace header attribute data is projected onto the drawing area, and the data projected onto the drawing area is filtered through the map container to ensure that there is only one drawing data at each pixel.

[0065] Specifically, to display the attributes of the seismic trace header, it is necessary to first read specific attribute data from the seismic trace header. The time consumption of the trace header attribute reading process will increase greatly with the increase of data volume. In order to shorten this part of the time consumption, Figure 2 As shown in the figure, according to the number of CPU threads of the computing node, the total number of seismic data channels is evenly divided into a corresponding number of data blocks. Multi-threaded parallel reading is used. In theory, the time consumption can be shortened to one nth of the original time consumption, where n represents the number of threads. However, the performance of multi-threading is related to the specific usage environment. It has been verified in actual operation that it can indeed significantly reduce the time consumption.

[0066] After the seismic trace header attribute data is prepared, drawing can begin. If all the read data are drawn, it will take a long time. In order to shorten the drawing time, pixel scanning drawing is performed. Since the distribution of seismic trace header attribute data is relatively scattered in the actual spatial position, when drawing, the actual position needs to be projected into a drawing area of ​​a certain size. When the amount of data is large, multiple data points will be repeatedly drawn on each pixel point in the drawing area, resulting in a waste of drawing resources. The pixel scanning drawing method is to scan all data points before drawing to ensure that each pixel point has only one drawing data, and then draw. This can greatly shorten the drawing time, and can also reduce the jamming caused by drawing when scaling the drawn image or moving the display area.

[0067] Example 3

[0068] Scan the seismic data, obtain the total number of seismic data channels and the list of channel header attributes, and determine the seismic channel header attributes that need to be displayed; obtain the number of CPU threads in the computing node, create a corresponding number of threads, set the seismic channel reading range for the corresponding threads according to the total number of seismic data channels, and each thread reads the corresponding seismic channel header attribute data in parallel; project the seismic channel header attribute data onto the drawing area, and use the map container to filter the data projected onto the drawing area to ensure that there is only one drawing data at each pixel; draw the channel header attribute map according to the data in the map container.

[0069] The present invention realizes a display scheme for large amounts of seismic trace header attribute data, accelerates the reading of seismic trace header attribute data through multi-threading, accelerates the drawing process through a pixel scanning drawing method, optimizes the interactive operation experience of the trace header attribute plane map, and improves the interactive convenience of the software.

[0070] Example 4

[0071] Figure 3 A block diagram of a device for drawing and displaying a seismic trace header attribute map according to an embodiment of the present invention is shown.

[0072] like Figure 3 As shown, the seismic trace head attribute map drawing and display device comprises:

[0073] Seismic data acquisition module 201, obtains the total number of seismic data traces and trace header attribute list, and determines the seismic trace header attributes to be displayed;

[0074] The seismic trace calculation module 202 creates a corresponding calculation relationship between the calculation node and the seismic trace to perform seismic trace calculation according to the total number of seismic data traces and the number of CPU threads of the calculation node;

[0075] The drawing module 203 draws the header attribute map according to the data in the map container.

[0076] As a specific implementation of the embodiment of the present disclosure, a corresponding calculation relationship between a calculation node and a seismic trace is created:

[0077] According to the number of CPU threads of the computing node, the total number of seismic data channels is evenly divided into a corresponding number of data blocks and allocated to the corresponding threads.

[0078] As a specific implementation of the embodiment of the present disclosure, performing seismic trace calculation includes:

[0079] The reading range of the seismic trace is set for the corresponding thread of the computing node, and each thread reads the corresponding seismic trace header attribute data in parallel for calculation.

[0080] As a specific implementation of the embodiment of the present disclosure, drawing a header attribute map according to data in a map container includes:

[0081] The seismic trace header attribute data is projected onto the drawing area, and the data projected onto the drawing area is filtered through the map container to ensure that there is only one drawing data at each pixel.

[0082] Example 5

[0083] The present disclosure provides an electronic device, which includes: a memory storing executable instructions; a processor, which runs the executable instructions in the memory to implement the above-mentioned seismic trace head attribute map drawing and display method.

[0084] An electronic device according to an embodiment of the present disclosure includes a memory and a processor.

[0085] The memory is used to store non-temporary computer-readable instructions. Specifically, the memory may include one or more computer program products, which may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory may, for example, include random access memory (RAM) and / or cache memory (cache), etc. The non-volatile memory may, for example, include read-only memory (ROM), hard disk, flash memory, etc.

[0086] The processor may be a central processing unit (CPU) or other forms of processing units having data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device to perform desired functions. In one embodiment of the present disclosure, the processor is used to run the computer-readable instructions stored in the memory.

[0087] Those skilled in the art should be able to understand that in order to solve the technical problem of how to obtain a good user experience, the present embodiment may also include well-known structures such as a communication bus and an interface, and these well-known structures should also be included in the protection scope of the present disclosure.

[0088] For detailed description of this embodiment, reference may be made to the corresponding descriptions in the aforementioned embodiments, which will not be repeated here.

[0089] Example 6

[0090] The embodiment of the present disclosure provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the method for drawing and displaying a seismic trace header attribute map is implemented.

[0091] According to the computer-readable storage medium of the embodiment of the present disclosure, non-transitory computer-readable instructions are stored thereon. When the non-transitory computer-readable instructions are executed by a processor, all or part of the steps of the above-mentioned methods of each embodiment of the present disclosure are executed.

[0092] The above-mentioned computer-readable storage media include, but are not limited to: optical storage media (e.g., CD-ROM and DVD), magneto-optical storage media (e.g., MO), magnetic storage media (e.g., magnetic tape or mobile hard disk), media with built-in rewritable non-volatile memory (e.g., memory card) and media with built-in ROM (e.g., ROM box).

[0093] Those skilled in the art should understand that the purpose of the above description of the embodiments of the present invention is only to exemplarily illustrate the beneficial effects of the embodiments of the present invention, and is not intended to limit the embodiments of the present invention to any given examples.

[0094] The embodiments of the present invention have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments.

Claims

1. A method for drawing and displaying a seismic trace header attribute map, characterized in that: include: Obtain the total number of seismic data traces and trace header attribute list, and determine the seismic trace header attributes that need to be displayed; According to the total number of seismic data channels and the number of CPU threads of the computing nodes, a corresponding computing relationship between computing nodes and seismic channels is created to perform seismic channel calculation; Draw the header attribute map according to the data in the map container.

2. The method for drawing and displaying a seismic trace header attribute map according to claim 1, wherein: Create the corresponding calculation relationship between the calculation nodes and the seismic channels: According to the number of CPU threads of the computing node, the total number of seismic data channels is evenly divided into a corresponding number of data blocks and allocated to the corresponding threads.

3. The method for drawing and displaying a seismic trace header attribute map according to claim 1, wherein: Seismic trace calculations include: The reading range of the seismic trace is set for the thread corresponding to the computing node, and each thread reads the corresponding seismic trace header attribute data in parallel for calculation.

4. The method for drawing and displaying a seismic trace header attribute map according to claim 1, wherein: Drawing the header attribute map based on the data in the map container includes: The seismic trace header attribute data is projected onto the drawing area, and the data projected onto the drawing area is filtered through the map container to ensure that there is only one drawing data at each pixel point.

5. A device for drawing and displaying a seismic trace head attribute map, characterized in that: include: The seismic data acquisition module obtains the total number of seismic data traces and the trace header attribute list, and determines the seismic trace header attributes that need to be displayed; A seismic channel calculation module, which creates a corresponding calculation relationship between the calculation node and the seismic channel according to the total number of seismic data channels and the number of CPU threads of the calculation node to perform seismic channel calculation; The drawing module draws the header attribute map according to the data in the map container.

6. The seismic trace head attribute map drawing and display device according to claim 5, wherein: Create the corresponding calculation relationship between the calculation nodes and the seismic channels: According to the number of CPU threads of the computing node, the total number of seismic data channels is evenly divided into a corresponding number of data blocks and allocated to the corresponding threads.

7. The seismic trace head attribute map drawing and displaying device according to claim 5, wherein: Seismic trace calculations include: The reading range of the seismic trace is set for the thread corresponding to the computing node, and each thread reads the corresponding seismic trace header attribute data in parallel for calculation.

8. The device for drawing and displaying a seismic trace head attribute map according to claim 5, wherein: Drawing the header attribute map based on the data in the map container includes: The seismic trace header attribute data is projected onto the drawing area, and the data projected onto the drawing area is filtered through the map container to ensure that there is only one drawing data at each pixel point.

9. An electronic device, characterized in that: The electronic device comprises: A memory storing executable instructions; A processor, wherein the processor runs the executable instructions in the memory to implement the method for drawing and displaying a seismic trace head attribute map according to any one of claims 1 to 4.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method for drawing and displaying a seismic trace head attribute map according to any one of claims 1 to 4 is implemented.