The content of the invention
The exemplary embodiment of the present invention is to provide a kind of device and method and one for being used to store seismic data cube
The device and method for the geological data for being used to read seismic channel are planted, it can solve the problem that reads required earthquake number from seismic data cube
According to the problem of time-consuming.
There is provided a kind of equipment for being used to read the geological data of seismic channel, the equipment bag according to an aspect of the present invention
Include:Memory cell, tree-shaped index group of the seismic data cube together with foundation for storing collection, wherein, the tree-shaped index group
On the storage address of the geological data of multiple seismic channels included by seismic data cube, and including the row according to N number of keyword
Sequence and the N level index nodes set up, wherein, N number of keyword with included by the trace header of the geological data of each seismic channel
The attribute of N number of attribute field in multiple attribute fields is corresponding, wherein, N is the integer more than 1;Property value acquiring unit, is used for
Obtain the property value of N number of attribute field of the geological data of seismic channel to be read;Storage address retrieval unit, for based on obtaining
The property value of the N number of attribute field taken retrieves the storage of the geological data of seismic channel to be read step by step in tree-shaped index group
Address;Geological data reading unit, for reading geological data from memory cell based on the storage address retrieved.
Alternatively, memory cell stores at least one tree-shaped index group, wherein, at least one described tree-shaped index group is based on
Different N number of keywords or the difference of N number of keyword sort and set up.
Alternatively, the equipment also includes:Index group searching unit, for being searched from memory cell based on the N with acquisition
The tree-shaped index group that the corresponding N number of keyword of the property value of individual attribute field is set up, wherein, storage address retrieval unit is based on obtaining
The property value of the N number of attribute field taken retrieves the earthquake number of seismic channel to be read step by step in the tree-shaped index group found
According to storage address.
According to another aspect of the present invention there is provided a kind of equipment for storing seismic data cube, the equipment includes:Adopt
Collect unit, for gathering seismic data cube, wherein, seismic data cube includes the geological data of multiple seismic channels, also, each
Shaking the trace header of the geological data in road includes multiple attribute fields;Keyword setting unit, for will be with the multiple attribute field
In the corresponding attribute of N number of attribute field be set to N number of keyword, and specify the sequence of N number of keyword, wherein, N is big
In 1 integer;Index sets up vertical unit, for being set up according to the sequence of N number of keyword on the multiple seismic channel
Geological data storage address tree-shaped index group, wherein, the tree-shaped index group includes N grades of index nodes;Memory cell,
Tree-shaped index group of the seismic data cube together with foundation for storing collection.
Alternatively, index sets up vertical unit by the geological data of the multiple seismic channel according to corresponding with the 1st keyword
Property value is divided at least one subset, wherein, each subset constitutes the index range of a 1st grade of index node, also, rope
Draw the vertical unit of establishment to divide the index range of each the i-th -1 grade index node according to property value corresponding with the i-th keyword
For at least one subset, wherein, each subset constitutes the i-stage index as the child node of the i-th -1 grade index node
The index range of node, wherein, i indicate N number of keyword be ranked up after sequence number, 2≤i≤N.
Alternatively, index is set up vertical unit and included:Index group retrieval unit, for determining whether be stored with memory cell
The tree-shaped index group that sequence according to N number of keyword is set up;Index group creating unit, for it is determined that in memory cell simultaneously
In the case of the tree-shaped index group set up according to the sequence of N number of keyword that is not stored with, according to the row of N number of keyword
Sequence sets up the tree-shaped index group of the storage address of the geological data on the multiple seismic channel, wherein, the tree-shaped index
Group includes N grades of index nodes.
Alternatively, index sets up vertical unit by the geological data of the multiple seismic channel according to corresponding with the 1st keyword
Property value is ranked up, and the geological data of the multiple seismic channel after sequence is divided into at least one subset, also, rope
Draw the vertical unit of establishment to carry out the index range of each the i-th -1 grade index node according to property value corresponding with the i-th keyword
Sequence, and the index range of the i-th -1 grade index node after sequence is divided at least one subset.
Alternatively, memory cell stores at least one tree-shaped index group, wherein, at least one described tree-shaped index group is based on
Different N number of keywords or the difference of N number of keyword sort and set up.
According to another aspect of the present invention there is provided a kind of method for being used to read the geological data of seismic channel, wherein, collection
Seismic data cube be stored in together with the tree-shaped index group of foundation in memory cell, wherein, the tree-shaped index group is on ground
The storage address of the geological data of multiple seismic channels included by shake data volume, and built including the sequence according to N number of keyword
Vertical N level index nodes, wherein, N number of keyword and multiple category included by the trace header of the geological data of each seismic channel
Property field in N number of attribute field attribute it is corresponding, wherein, N is the integer more than 1, and methods described includes:(A) obtain and continue
The property value of N number of attribute field of the geological data of the seismic channel taken;(B) property value of N number of attribute field based on acquisition exists
The storage address of the geological data of seismic channel to be read is retrieved in tree-shaped index group step by step;(C) based on the storage retrieved
Geological data is read from memory cell in address.
Alternatively, memory cell stores at least one tree-shaped index group, wherein, at least one described tree-shaped index group is based on
Different N number of keywords or the difference of N number of keyword sort and set up.
Alternatively, methods described also includes:(D) searched from memory cell based on the attribute with N number of attribute field of acquisition
The tree-shaped index group that the corresponding N number of keyword of value is set up, wherein, step (B) includes:The category of N number of attribute field based on acquisition
Property value retrieves the storage address of the geological data of seismic channel to be read step by step in the tree-shaped index group found.
According to another aspect of the present invention there is provided a kind of method for storing seismic data cube, methods described includes:
(A) seismic data cube is gathered, wherein, seismic data cube includes the geological data of multiple seismic channels, also, the ground of each seismic channel
Shaking the trace header of data includes multiple attribute fields;(B) by attribute corresponding with N number of attribute field in the multiple attribute field
N number of keyword is set to, and specifies the sequence of N number of keyword, wherein, N is the integer more than 1;(C) according to described N number of
The tree-shaped index group of the storage address for sorting to set up the geological data on the multiple seismic channel of keyword, wherein, institute
Stating tree-shaped index group includes N grades of index nodes;(D) tree-shaped index group of the seismic data cube of storage collection together with foundation.
Alternatively, step (C) includes:The geological data of the multiple seismic channel is belonged to according to corresponding with the 1st keyword
Property value be divided at least one subset, wherein, each subset constitutes the index range of a 1st grade of index node, also, will be every
The index range of one the i-th -1 grade index node is divided at least one subset according to property value corresponding with the i-th keyword, its
In, each subset constitutes the index range of an i-stage index node of the child node as the i-th -1 grade index node, its
In, i indicate N number of keyword be ranked up after sequence number, 2≤i≤N.
Alternatively, step (C) includes:(c1) tree set up according to the sequence of N number of keyword that is stored with is determined whether
Shape index group;(c2) it is determined that be not stored with according to N number of keyword sequence set up tree-shaped index group in the case of,
The tree-shaped index for the storage address for setting up the geological data on the multiple seismic channel according to the sequence of N number of keyword
Group, wherein, the tree-shaped index group includes N grades of index nodes.
Alternatively, step (C) includes:The geological data of the multiple seismic channel is belonged to according to corresponding with the 1st keyword
Property value is ranked up, and the geological data of the multiple seismic channel after sequence is divided into at least one subset, also, will be every
The index range of one the i-th -1 grade index node is ranked up according to property value corresponding with the i-th keyword, and by after sequence
The index range of the i-th -1 grade index node is divided at least one subset.
Alternatively, step (D) includes:At least one tree-shaped index group is stored, wherein, at least one described tree-shaped index group
Difference based on different N number of keyword or N number of keyword sorts and set up.
It is according to an exemplary embodiment of the present invention storage seismic data cube and read seismic channel geological data equipment and
Method, can quickly position from seismic data cube and read required geological data, so as to improve in reading seismic data cube
Geological data efficiency, make seismic data processing explain everything goes well with your work carry out.
By in terms of partly illustrating that present general inventive concept is other in following description and/or advantage, also one
Divide and will be apparent by description, or can be learnt by the implementation of present general inventive concept.
Embodiment
Embodiments of the invention are reference will now be made in detail, the example of the embodiment is shown in the drawings, wherein, identical mark
Number identical part is referred to all the time.The embodiment will be illustrated by referring to accompanying drawing below, to explain the present invention.
Fig. 1 shows the block diagram according to an exemplary embodiment of the present invention for being used to store the equipment of seismic data cube.Reference picture
1, the equipment according to an exemplary embodiment of the present invention for being used to store seismic data cube includes:Collecting unit 10, keyword are set
Unit 20, index set up vertical unit 30 and memory cell 40.These units (such as seismic exploration equipment, can be deposited by special purpose device
Memory device), common hardware processor (such as digital signal processor, field programmable gate array), dedicated hardware processors it is (all
Such as special chip) realize, in addition, these units can also be realized by computer program with software mode.
Collecting unit 10 is used to gather seismic data cube, wherein, seismic data cube includes the geological data of multiple seismic channels,
Also, the trace header of the geological data of each seismic channel includes multiple attribute fields.
Here, collecting unit 10 can be conventional seismic exploration equipment, for example, collecting unit 10 can be by wave detector and note
Instrument is recorded to constitute, by gather seismic wave record set to constitute seismic data cube.Seismic data cube can have various forms,
For example, the seismic data cube of the seismic data cube of GRISYS forms, the seismic data cube of SGE-A forms and SGE-Y forms.
Attribute field is included in the trace header of per pass geological data, for describe the seismic channel attribute (for example, with this
The corresponding wire size of seismic channel, Taoist monastic name, sampling number, geodetic coordinates, the ground elevation of shot point, shot hole depth, shot point abscissa and
Receiving point abscissa etc.), also, each attribute field of per pass geological data can have corresponding property value.
Keyword setting unit 20 is used to attribute corresponding with N number of attribute field in multiple attribute fields being set to N
Individual keyword, and the sequence of N number of keyword is specified, wherein, N is the integer more than 1.It should be understood that N value can be between 1 He
Between the total quantity of attribute field in trace header.
As an example, keyword setting unit 20 can belong to corresponding with least a portion attribute field that trace header includes
Property is set to keyword.For example, when seismic data cube be SEG-Y forms seismic data cube when, the seismic data cube it is each
The trace header of the geological data of seismic channel may include 60 attribute fields, keyword setting unit 20 can by with least one therein
The corresponding attribute of attribute field is divided to be set to keyword (for example, the ground elevation of shot point and race well depth etc. can be set to off
Key word).
In addition, keyword setting unit 20 also may specify the sequence of N number of keyword, i.e. respectively can set N number of keyword
For the 1st keyword, the 2nd keyword, the 3rd keyword ..., N keywords, then to be set up according to specified order
Every one-level index node of tree-shaped index group.For example, the ground elevation of shot point can be set to the 1st keyword, and well depth will be run
Degree is set to the 2nd keyword.
Keyword setting unit 20 can set keyword based on the input of user, can also be according to processing seismic data cube
For selecting the attribute field of geological data to set keyword when (for example, reading geological data), for example, can will read ground
The searching attribute frequently used during shake data is set to keyword.By effectively setting keyword, processing earthquake number can be improved
According to the efficiency of body.
Index, which sets up vertical unit 30, to be used to the sequence according to N number of keyword set up the geological data on multiple seismic channels
Storage address tree-shaped index group, wherein, the tree-shaped index group includes N grades of index nodes.
Particularly, index sets up vertical unit 30 can set up the 1st grade of index section for the 1st keyword in N number of keyword
Point, the 2nd grade of index node ... ... is set up for the 2nd keyword, and N grades of index nodes are set up for N keywords, and
, can be according to property value corresponding with the keyword of this grade by the index range pair of corresponding father node when setting up per one-level index node
The geological data answered is divided at least one subset, and each subset after division constitutes the rope of an index node of current level
Draw scope, for each N grades of index node, each single item in its index range points to the earthquake number in sympathetic earthquakes road
According to storage address.Tree-shaped index group is so collectively formed by the storage address of N grades of index nodes and the geological data of seismic channel.
As an example, the vertical unit 30 of index establishment can be by the geological data of multiple seismic channels according to corresponding to the 1st keyword
Property value be divided at least one subset, wherein, each subset constitutes the index range of a 1st grade of index node, also,
Index sets up vertical unit 30 by the index range of each the i-th -1 grade index node according to property value corresponding with the i-th keyword
At least one subset is divided into, wherein, each subset constitutes an i-stage of the child node as the i-th -1 grade index node
The index range of index node, wherein, i indicate N number of keyword be ranked up after sequence number, 2≤i≤N.
Here, as an example, the vertical unit 30 of index establishment can close the geological data of the multiple seismic channel according to the 1st
The corresponding property value of key word is ranked up, and the geological data of the multiple seismic channel after sequence is divided into at least one son
Collection, also, index sets up vertical unit 30 by the index range of each the i-th -1 grade index node according to corresponding to the i-th keyword
Property value be ranked up, and the index range of the i-th -1 grade index node after sequence is divided at least one subset.
The geological data of multiple seismic channels can be belonged to according to corresponding with the 1st keyword for example, index sets up vertical unit 30
Property value is ranked up, and by the geological data of multiple seismic channels after sequence according to pre- fixed step size, or, each default attribute
Value scope is correspondingly divided into each subset, also, index sets up vertical unit 30 by the index of each the i-th -1 grade index node
Scope is ranked up according to property value corresponding with the i-th keyword, and by the index model of the i-th -1 grade index node after sequence
Enclose also according to a fixed step size, or, certain attribute-value ranges are correspondingly divided into each subset.Through the above way can be right
Index points at different levels carry out more efficiently tissue, and the tree-shaped index group set up, which is more convenient for accessing and read, meets certain condition
Geological data.
Fig. 2 shows the example of tree-shaped index group according to an exemplary embodiment of the present invention.Here, keyword setting unit 20
There is provided three keywords, and it is ordered as A, B and C, i.e. A is that the 1st keyword, B are that the 2nd keyword, C are the 3rd crucial
Word.
As shown in Fig. 2 index sets up vertical unit 30 first by the geological data of multiple seismic channels according to corresponding to keyword A
Property value be ranked up, the geological data of seismic channel of the property value in the first preset range is divided into first order subset 1,
The geological data of seismic channel of the property value in the second preset range is divided into first order subset 2, and built for first order subset 1
Found the 1st grade of index node 1, set up the 1st grade of index node 2 for first order subset 2.Index node is being set up for keyword B
During, the geological data of the seismic channel included by first order subset 1 is arranged according to property value corresponding with keyword B
Sequence, is divided into second level subset 1, by property value the 4th by the geological data of seismic channel of the property value in the 3rd preset range
The geological data of seismic channel in preset range is divided into second level subset 2, and sets up the 2nd grade of index section for second level subset 1
Put 1, set up the 2nd grade of index node 2 for second level subset 2, correspondingly, set up the 2nd grade of index node 3 and the 2nd grade of index node
4.Similarly, during index node is set up for keyword C, by the earthquake of the seismic channel included by second level subset 1
Data are ranked up according to property value corresponding with keyword C, by the earthquake of seismic channel of the property value in the 5th preset range
Data are divided into third level subset 1, and the geological data of seismic channel of the property value in the 6th preset range is divided into the third level
Subset 2, and be that third level subset 1 sets up 3rd level index node 1, is that third level subset 2 sets up 3rd level index node 2, accordingly
Ground, sets up 3rd level index node 4 to 3rd level index node 8.Also, each 3rd level index node is pointed to corresponding to it
The storage address of the geological data of seismic channel included by three subsets, to pass through the tree-shaped rope of the three-level when handling geological data
Draw the storage address of the geological data needed for group is found, so as to find required geological data.For example, when needs are read and key
The corresponding property values of word A are in the first preset range, property value corresponding with keyword B is in the 3rd preset range and crucial
During the geological data of seismic channel of the corresponding property values of word C in the 5th preset range, by pointed by 3rd level index node 1
Storage address can quickly read, be determined for compliance with above-mentioned condition without scanning the geological data of all seismic channels
The geological data of seismic channel.Therefore, the tree-shaped index group based on the seismic data cube set up through the above way, can be effectively
Improve the efficiency for accessing and reading geological data.
Memory cell 40 is used for tree-shaped index group of the seismic data cube together with foundation for storing collection.
Preferably, memory cell 40 can store at least one tree-shaped index group, wherein, at least one described tree-shaped index group
Difference based on different N number of keyword or N number of keyword sorts and set up.Particularly, keyword setting unit can be passed through
20 set different keywords, or, different keyword ranks are set, and are directed to different passes by the vertical unit 30 of index establishment
Key word, or, different keyword ranks set up corresponding tree-shaped index group respectively, are built so as to realize for same seismic data cube
Multiple tree-shaped index groups are found, with the quick reading for the geological data for meeting the seismic channel to meeting different condition.
In addition, as an example, the vertical unit 30 of index establishment may include:Index group retrieval unit (not shown) and index group wound
Build unit (not shown).
Whether index group retrieval unit is used to determining to be stored with memory cell 40 sequence of N number of keyword desirably
The tree-shaped index group set up.Index group retrieval unit (or can further compare the row of N number of keyword by relatively N number of keyword
Sequence) the tree-shaped index group set up the sequence that determines whether to be stored with memory cell 40 according to N number of keyword.
Index group creating unit is used for it is determined that the sequence not being stored with memory cell 40 according to N number of keyword
In the case of the tree-shaped index group set up, the ground on the multiple seismic channel is set up according to the sequence of N number of keyword
The tree-shaped index group of the storage address of data is shaken, wherein, the tree-shaped index group includes N grades of index nodes.
It should be understood that each tree-shaped index group of foundation can be stored in and the earthquake by memory cell 40 in the form of group information
In the corresponding index file of data volume, index file can also include instruction index in addition to the group information comprising each tree-shaped index group
The header of the Back ground Information of file.Here, the group information of tree-shaped index group is the information for distinguishing different tree-shaped index groups,
The group information of each tree-shaped index group can include successively:The header of the Back ground Information of the tree-shaped index group is indicated, indicates that the 1st is crucial
The information of word ..., indicate the information of N keywords, indicate each 1st grade of index node information ..., indicate each N grades
The information of index node, and final index value corresponding with each N grades of index nodes (are used to indicate to save with each N grades indexes
The storage address of the geological data of the corresponding seismic channel of point).If a tree-shaped index group is last included by index file
During group, then it will indicate that the information of the size of the index file is saved in the header of the group information of the tree-shaped index group.Pass through
Index file can quickly travel through each tree-shaped index group, to determine the tree-shaped index group for needing to call.
Based on the above-mentioned equipment for storing seismic data cube, be easy in the processing explanation work of seismic data it is quick from
Positioned in seismic data cube and read required geological data.
Fig. 3 shows the flow chart according to an exemplary embodiment of the present invention for being used to store the method for seismic data cube.
As shown in figure 3, in step S10, seismic data cube is gathered, wherein, seismic data cube includes the ground of multiple seismic channels
Data are shaken, also, the trace header of the geological data of each seismic channel includes multiple attribute fields.
Here, seismic data cube can be constituted by the set of wave detector and the record of recorder collection seismic wave.Earthquake
Data volume can have various forms, for example, the seismic data cube and SGE-Y of the seismic data cube of GRISYS forms, SGE-A forms
The seismic data cube of form.
Attribute field is included in the trace header of per pass geological data, for describe the seismic channel attribute (for example, with this
The corresponding wire size of seismic channel, Taoist monastic name, sampling number, geodetic coordinates, the ground elevation of shot point, shot hole depth, shot point abscissa and
Receiving point abscissa etc.), also, each attribute field of per pass geological data can have corresponding property value.
In step S20, attribute corresponding with N number of attribute field in multiple attribute fields is set to N number of keyword, and
The sequence of N number of keyword is specified, wherein, N is the integer more than 1.It should be understood that N value can be between the attribute in 1 and trace header
Between the total quantity of field.
As an example, attribute corresponding with least a portion attribute field that trace header includes can be set into keyword.
For example, when seismic data cube is the seismic data cube of SEG-Y forms, the geological data of each seismic channel of the seismic data cube
Trace header may include 60 attribute fields, attribute corresponding with least a portion attribute field therein can be set to keyword
(for example, the ground elevation of shot point and race well depth etc. can be set to keyword).
In addition, also may specify the sequence of N number of keyword, i.e. N number of keyword can be set into the 1st keyword, the 2nd respectively
Keyword, the 3rd keyword ..., N keywords, then to set up the every of tree-shaped index group according to specified order
One-level index node.For example, the ground elevation of shot point can be set to the 1st keyword, and race well depth is set to the 2nd key
Word.
Keyword can be set based on the input of user, can also be according to processing seismic data cube (for example, reading earthquake number
According to) when for selecting the attribute field of geological data to set keyword, for example, can will read geological data when frequently use
Searching attribute be set to keyword.By effectively setting keyword, the efficiency of processing seismic data cube can be improved.
In step S30, the storage address of the geological data on multiple seismic channels is set up according to the sequence of N number of keyword
Tree-shaped index group, wherein, the tree-shaped index group includes N grades of index nodes.
Particularly, the 1st keyword that can be directed in N number of keyword sets up the 1st grade of index node, for the 2nd keyword
The 2nd grade of index node ... ... is set up, N grades of index nodes are set up for N keywords, and section is indexed per one-level setting up
During point, the corresponding geological data of the index range of corresponding father node can be divided according to property value corresponding with the keyword of this grade
For at least one subset, each subset after division constitutes the index range of an index node of current level, for each
For individual N grades of index nodes, each single item in its index range points to the storage address of the geological data in sympathetic earthquakes road.This
Sample collectively forms tree-shaped index group by the storage address of N grades of index nodes and the geological data of seismic channel.
As an example, can by the geological data of multiple seismic channels according to property value corresponding with the 1st keyword be divided into
Few a subset, wherein, each subset constitutes the index range of a 1st grade of index node, also, by each the i-th -1 grade
The index range of index node is divided at least one subset according to property value corresponding with the i-th keyword, wherein, each subset
Constitute as the i-th -1 grade index node child node an i-stage index node index range, wherein, i indicate described in
N number of keyword be ranked up after sequence number, 2≤i≤N.
Here, as an example, can be by the geological data of the multiple seismic channel according to property value corresponding with the 1st keyword
Be ranked up, and the geological data of the multiple seismic channel after sequence be divided at least one subset, also, by each
The index range of the i-th -1 grade index node is ranked up according to property value corresponding with the i-th keyword, and by after sequence this
The index range of i-1 grades of index nodes is divided at least one subset.
For example, the geological data of multiple seismic channels can be ranked up according to property value corresponding with the 1st keyword, and will
The geological data of multiple seismic channels after sequence according to pre- fixed step size, or, each default attribute-value ranges are correspondingly divided
For each subset, also, by the index range of each the i-th -1 grade index node according to property value corresponding with the i-th keyword
It is ranked up, and by the index range of the i-th -1 grade index node after sequence also according to a fixed step size, or, certain category
Property value scope is correspondingly divided into each subset.More efficiently tissue can be carried out to index points at different levels through the above way,
The tree-shaped index group set up is more convenient for accessing and reads the geological data that meets certain condition.
In step S40, tree-shaped index group of the seismic data cube together with foundation of collection is stored.
Preferably, at least one tree-shaped index group can be stored, wherein, at least one described tree-shaped index group is based on different
The difference of N number of keyword or N number of keyword sorts and set up.Particularly, different keywords can be set in step S20, or
Person, sets different keyword ranks, and is directed to different keywords in step S30, or, different keyword ranks are built respectively
Vertical corresponding tree-shaped index group, sets up multiple tree-shaped index groups, to meet to meeting so as to realize for same seismic data cube
The quick reading of the geological data of the seismic channel of different condition.
In addition, as an example, in step S30, the sequence for the N number of keyword that can first determine whether to be stored with desirably
The tree-shaped index group set up.It can determine whether to deposit by relatively more N number of keyword (or further comparing the sequence of N number of keyword)
Contain the tree-shaped index group set up according to the sequence of N number of keyword.
Then, it is determined that be not stored with according to N number of keyword sequence set up tree-shaped index group in the case of,
The tree-shaped index for the storage address for setting up the geological data on the multiple seismic channel according to the sequence of N number of keyword
Group, wherein, the tree-shaped index group includes N grades of index nodes.
It should be understood that each tree-shaped index group of foundation can be stored in and the earthquake in the form of group information in step S40
In the corresponding index file of data volume, index file can also include instruction index in addition to the group information comprising each tree-shaped index group
The header of the Back ground Information of file.Here, the group information of tree-shaped index group is the information for distinguishing different tree-shaped index groups,
The group information of each tree-shaped index group can include successively:The header of the Back ground Information of the tree-shaped index group is indicated, indicates that the 1st is crucial
The information of word ..., indicate the information of N keywords, indicate each 1st grade of index node information ..., indicate each N grades
The information of index node, and final index value corresponding with each N grades of index nodes (are used to indicate to save with each N grades indexes
The storage address of the geological data of the corresponding seismic channel of point).If a tree-shaped index group is last included by index file
During group, then it will indicate that the information of the size of the index file is saved in the header of the group information of the tree-shaped index group.Pass through
Index file can quickly travel through each tree-shaped index group, to determine the tree-shaped index group for needing to call.
Based on the above-mentioned method for storing seismic data cube, be easy in the processing explanation work of seismic data it is quick from
Positioned in seismic data cube and read required geological data.
Fig. 4 shows the block diagram according to an exemplary embodiment of the present invention for being used to read the equipment of the geological data of seismic channel.
Reference picture 4, the equipment of the geological data according to an exemplary embodiment of the present invention for reading seismic channel includes:Memory cell
50th, property value acquiring unit 60, storage address retrieval unit 70 and geological data reading unit 80.These units can be by special dress
Put (such as memory device), common hardware processor (such as digital signal processor, field programmable gate array), specialized hardware
Processor (special chip) etc. is realized, in addition, these units can also be realized by computer program with software mode.
Memory cell 50 is used for tree-shaped index group of the seismic data cube together with foundation for storing collection, wherein, it is described tree-shaped
Storage address of the index group on the geological data of multiple seismic channels included by seismic data cube, and including according to N number of key
The sequence of word and the N level index nodes set up, wherein, the trace header institute of N number of keyword and the geological data of each seismic channel
Including multiple attribute fields in N number of attribute field attribute it is corresponding, wherein, N is the integer more than 1.
As an example, memory cell 50 can store at least one tree-shaped index group, wherein, at least one described tree-shaped index
Difference of the group based on different N number of keyword or N number of keyword sorts and set up.
Here, tree-shaped index group can set up vertical unit 30 to build by the keyword setting unit 20 shown in Fig. 1 and index
It is vertical, it will not be repeated here.
Property value acquiring unit 60 is used for the attribute for obtaining N number of attribute field of the geological data of seismic channel to be read
Value.
It should be understood that being the attribute by N number of attribute field to the search condition of the geological data of seismic channel to be read
Value embodies.If for example, the geological data of seismic channel to be read needs to meet:Shot point ground elevation be 100 centimetres-
200 centimetres, and shot point abscissa is 1000 decimeters -2000 decimeters, then what property value acquiring unit 60 was obtained is with shot point
The property value 100-200 of the corresponding attribute field of face elevation, attribute field corresponding with shot point abscissa property value 1000-
2000。
Storage address retrieval unit 70 be used for N number of attribute field based on acquisition property value in tree-shaped index group step by step
Retrieve the storage address of the geological data of seismic channel to be read.
Particularly, storage address retrieval unit 70 can first determine that N corresponding with N number of attribute field in tree-shaped index group
Individual keyword, then determines corresponding 1st grade according to the 1st keyword and its corresponding property value from each 1st grade of index node
Index node, according still further to the 2nd grade corresponding to the 2nd keyword and its corresponding property value from fixed 1st grade of index node
Corresponding 2nd grade of index node is determined in index node, in this manner it is achieved that according to N keywords and its corresponding property value
Corresponding N grades of index nodes are determined from N grades of index nodes corresponding to fixed N-1 grades of index nodes, institute is really
The fixed corresponding storage address of N grades of index nodes is the storage address of the geological data of seismic channel to be read.
Geological data reading unit 80 is used to read geological data from memory cell based on the storage address retrieved.
As an example, the equipment of the geological data according to an exemplary embodiment of the present invention for reading seismic channel can also be wrapped
Include:Index group searching unit (not shown).Index group searching unit is used to search based on N number of category with acquisition from memory cell 50
Property field the tree-shaped index group set up of the corresponding N number of keyword of property value, wherein, storage address retrieval unit is based on acquisition
The property value of N number of attribute field retrieves the geological data of seismic channel to be read step by step in the tree-shaped index group found
Storage address.
That is, in the case where memory cell 50 is stored with multiple tree-shaped index groups, index group searching unit can be from multiple trees
Corresponding tree-shaped index group (that is, the tree-shaped index with the N number of keyword consistent with N number of attribute field is searched in shape index group
Group), then storage address retrieval unit 70 is retrieved based on the tree-shaped index group found.
The equipment according to an exemplary embodiment of the present invention for being used to read the geological data of seismic channel, can be by tree-shaped
The address of the geological data for retrieving to obtain seismic channel to be read of index group, is then based on the address of acquisition to read earthquake
Data, so as to improve the efficiency for reading geological data.
Fig. 5 shows the flow according to an exemplary embodiment of the present invention for being used to read the method for the geological data of seismic channel
Figure.Here, the seismic data cube of collection is stored in memory cell together with the tree-shaped index group of foundation, wherein, it is described tree-shaped
Storage address of the index group on the geological data of multiple seismic channels included by seismic data cube, and including according to N number of key
The sequence of word and the N level index nodes set up, wherein, the trace header institute of N number of keyword and the geological data of each seismic channel
Including multiple attribute fields in N number of attribute field attribute it is corresponding, wherein, N is the integer more than 1.Here, memory cell
It can be realized by the memory cell 50 in Fig. 4.
As shown in figure 5, in step S50, obtaining the attribute of N number of attribute field of the geological data of seismic channel to be read
Value.
It should be understood that being the attribute by N number of attribute field to the search condition of the geological data of seismic channel to be read
Value embodies.If for example, the geological data of seismic channel to be read needs to meet:Shot point ground elevation be 100 centimetres-
200 centimetres, and shot point abscissa is 1000 decimeters -2000 decimeters, then and what is obtained is attribute corresponding with shot point ground elevation
The property value 100-200 of field, attribute field corresponding with shot point abscissa property value 1000-2000.
In step S60, the property value of N number of attribute field based on acquisition retrieves to be read step by step in tree-shaped index group
Seismic channel geological data storage address.
Particularly, can first determine that N number of keyword corresponding with N number of attribute field in tree-shaped index group, then according to
1st keyword and its corresponding property value determine corresponding 1st grade of index node from each 1st grade of index node, according still further to the 2nd
Keyword and its corresponding property value determine correspondence from the 2nd grade of index node corresponding to fixed 1st grade of index node
The 2nd grade of index node, in this manner it is achieved that according to N keywords and its corresponding property value from fixed N-1 grades of ropes
Draw and corresponding N grades of index nodes are determined in N grades of index nodes corresponding to node, identified N grades of index nodes pair
The storage address answered is the storage address of the geological data of seismic channel to be read.
In step S70, geological data is read from memory cell based on the storage address retrieved.
As an example, the method for the geological data according to an exemplary embodiment of the present invention for reading seismic channel can also be wrapped
Include:The tree-shaped index set up based on N number of keyword corresponding with the property value of N number of attribute field of acquisition is searched from memory cell
Group, wherein, retrieved step by step in the tree-shaped index group found in the property value of N number of attribute fields of the step S60 based on acquisition
Go out the storage address of the geological data of seismic channel to be read.
That is, in the case where memory cell is stored with multiple tree-shaped index groups, phase can be searched from multiple tree-shaped index groups
The tree-shaped index group (that is, the tree-shaped index group with the N number of keyword consistent with N number of attribute field) answered, is then based on searching
To tree-shaped index group retrieved.
The equipment according to an exemplary embodiment of the present invention for being used to read the geological data of seismic channel, can be by tree-shaped
The address of the geological data for retrieving to obtain seismic channel to be read of index group, is then based on the address of acquisition to read earthquake
Data, so as to improve the efficiency for reading geological data.
It is according to an exemplary embodiment of the present invention storage seismic data cube and read seismic channel geological data equipment and
Method, can quickly position from seismic data cube and read required geological data, so as to improve in reading seismic data cube
Geological data efficiency, make seismic data processing explain everything goes well with your work carry out.
Although having show and described some exemplary embodiments of the present invention, it will be understood by those skilled in the art that
Do not depart from by claim and its equivalent limit its scope principle of the invention and spirit in the case of, can be to these
Embodiment is modified.