CN114463962A - Intelligent node data acquisition method, electronic device and storage medium - Google Patents

Intelligent node data acquisition method, electronic device and storage medium Download PDF

Info

Publication number
CN114463962A
CN114463962A CN202011134837.7A CN202011134837A CN114463962A CN 114463962 A CN114463962 A CN 114463962A CN 202011134837 A CN202011134837 A CN 202011134837A CN 114463962 A CN114463962 A CN 114463962A
Authority
CN
China
Prior art keywords
recording block
storing
bytes
data
recording
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011134837.7A
Other languages
Chinese (zh)
Inventor
罗翔宇
宋志翔
洪承煜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Petroleum and Chemical Corp
Sinopec Geophysical Research Institute
Original Assignee
China Petroleum and Chemical Corp
Sinopec Geophysical Research Institute
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Petroleum and Chemical Corp, Sinopec Geophysical Research Institute filed Critical China Petroleum and Chemical Corp
Priority to CN202011134837.7A priority Critical patent/CN114463962A/en
Publication of CN114463962A publication Critical patent/CN114463962A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C19/00Electric signal transmission systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/172Caching, prefetching or hoarding of files
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Abstract

The embodiment of the invention discloses an intelligent node data acquisition method, electronic equipment and a storage medium. The intelligent node data acquisition method comprises the following steps: pre-configuring a data file structure; and storing the acquired data into a data file structure, wherein the data file structure comprises a file header and a plurality of recording blocks, and the recording blocks comprise a recording block header and a plurality of data blocks. The data file structure for storing and transmitting the acquired data realizes the real-time acquisition of the acquired data, ensures the data transmission rate and achieves the purpose of transmitting the data in real time.

Description

Intelligent node data acquisition method, electronic device and storage medium
Technical Field
The invention belongs to the technical field of data acquisition, and particularly relates to an intelligent node data acquisition method, electronic equipment and a storage medium.
Background
The seismic data acquisition is the first process and the most important process in oil and gas seismic exploration engineering, and equipment, namely a seismic signal receiving and recording system, is required to be used in the process. Conventionally, a device for sensing seismic signals is called a geophone, and a device for acquiring and recording seismic signals is called a seismic exploration instrument (or seismic (recording) instrument), which is a key equipment. The geophone and the seismic exploration instrument always need to work together to realize the complete seismic data acquisition function, namely, the geophone and the seismic exploration instrument are inseparable and integral in function. From the perspective of the system, and in order to meet the needs of development, seismic signal sensing and acquisition devices, which mainly comprise geophones and seismic prospecting instruments, are collectively called a seismic data acquisition system (acquisition system for short).
The seismic data acquisition parameters mainly relate to three aspects, namely excitation parameters, arrangement parameters and receiving parameters. Excitation parameter analysis includes determination of excitation well depth; the array parameters comprise minimum receiving array, maximum offset, bin size, receiving track pitch, offset aperture and the like; receiving parameters includes receiving a combining distance calculation and a combining characteristic analysis. These parameters are the key to seismic data acquisition, and the good and bad of selection will directly determine whether good original single-shot seismic data can be obtained. Therefore, the analysis of the acquisition parameters is a very important task, and the demonstration analysis must be scientifically and systematically performed to obtain the optimal acquisition parameters.
In the process of implementing the invention, the inventor finds that at least the following problems exist in the prior art:
the existing seismic data acquisition equipment cannot realize real-time data transmission.
Disclosure of Invention
In view of this, embodiments of the present invention provide an intelligent node data acquisition method, an electronic device, and a storage medium, which at least solve the problem in the prior art that real-time data transmission cannot be implemented.
In a first aspect, an embodiment of the present invention provides an intelligent node data acquisition method, including:
pre-configuring a data file structure;
and storing the acquired data into a data file structure, wherein the data file structure comprises a file header and a plurality of recording blocks, and the recording blocks comprise a recording block header and a plurality of data blocks.
Optionally, the number of bits of the file header is 1024 bytes, and the recording block header is 48 bytes.
Optionally, the 1 st and 2 nd bytes of the recording block header are used for storing the size of the recording block;
the 3 rd byte and the 4 th byte of the recording block head are used for storing the number of recording block samples;
the 5 th and 6 th bytes of the recording block head are used for storing the sampling rate of the recording block;
the 7 th and 8 th bytes of the recording block header are used for storing a channel number;
the 9 th byte and the 10 th byte of the recording block head are used for storing data sampling format codes;
the 11 th and 12 th bytes of the recording block head are used for storing the azimuth;
the recording block head 13 th to 16 th bytes are used for storing node IDs;
the recording block header 17 th to 20 th bytes are used to store a recording block ID;
the 21 st to 32 nd bytes of the recording block head are used for storing node coordinates;
the 33 rd to 36 th bytes of the recording block head are used for storing a file time stamp;
the 37 th to 40 th bytes of the recording block head are used for storing the serial number of the sampling point of the recording block;
the 41 st to 44 th bytes of the recording block head are used for storing data acquisition device information;
the 45 th to 47 th bytes of the recording block header are spare fields;
the 48 th byte of the recording block head is used for storing a check code.
Optionally, the number of the sample points of the recording block is 500;
the sampling rate is 1000 points/ms.
Optionally, the sampling format code includes an original number, a floating point number or a fixed point number.
Optionally, the orientation comprises east longitude, west longitude, south latitude and/or north latitude;
the node coordinates include longitude, latitude, and/or altitude elevation.
Optionally, the 41 th byte to the 44 th byte of the recording block header are used for storing data acquisition device information, and the data acquisition device information includes:
the recording block headers 41 to 42 are used to store AD converter information;
the recording block headers 43 through 44 are used to store battery voltage sample values.
In a second aspect, an embodiment of the present invention further provides an electronic device, where the electronic device includes:
a memory storing executable instructions;
a processor executing the executable instructions in the memory to implement the intelligent node data collection method of any of the first aspect.
In a third aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the method for acquiring intelligent node data according to any one of the first aspect is implemented.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, configured to store a data file that includes the data file structure according to any one of the first aspect.
The invention realizes the real-time acquisition of the acquired data and ensures the data transmission rate through the data file structure for storing and transmitting the acquired data, thereby achieving the purpose of transmitting the data in real time.
Additional features and advantages of the invention will be set forth in the detailed description which follows.
Drawings
The above and other objects, features and advantages of the present invention will become more apparent by describing in more detail exemplary embodiments thereof with reference to the attached drawings, in which like reference numerals generally represent like parts throughout.
Fig. 1 is a schematic diagram illustrating a data file structure collected by an intelligent node according to an embodiment of the present invention.
Detailed Description
Preferred embodiments of the present invention will be described in more detail below. While the following describes preferred embodiments of the present invention, it should be understood that the present invention may be embodied in various forms and should not be limited by the embodiments set forth herein.
The first embodiment is as follows:
an intelligent node data acquisition method comprises the following steps:
pre-configuring a data file structure;
and storing the acquired data into a data file structure, wherein the data file structure comprises a file header and a plurality of recording blocks, and the recording blocks comprise a recording block header and a plurality of data blocks. The data file structure is shown in fig. 1.
Optionally, the number of bits of the file header is 1024 bytes, and the recording block header is 48 bytes.
Optionally, the 1 st and 2 nd bytes of the recording block header are used for storing the size of the recording block;
the 3 rd byte and the 4 th byte of the recording block head are used for storing the number of recording block samples;
the 5 th and 6 th bytes of the recording block head are used for storing the sampling rate of the recording block;
the 7 th and 8 th bytes of the recording block header are used for storing a channel number;
the 9 th byte and the 10 th byte of the recording block head are used for storing data sampling format codes;
the 11 th and 12 th bytes of the recording block head are used for storing the azimuth;
the recording block head 13 th to 16 th bytes are used for storing node IDs;
the recording block header 17 th to 20 th bytes are used to store a recording block ID;
the 21 st to 32 nd bytes of the recording block head are used for storing node coordinates;
the 33 rd to 36 th bytes of the recording block head are used for storing a file time stamp;
the 37 th to 40 th bytes of the recording block head are used for storing the serial number of the sampling point of the recording block;
the 41 th to 44 th bytes of the recording block head are used for storing data acquisition device information;
the 45 th to 47 th bytes of the recording block header are spare fields;
the 48 th byte of the recording block head is used for storing a check code.
Optionally, the number of the sample points of the recording block is 500;
the sampling rate is 1000 points/ms.
Optionally, the sampling format code includes an original number, a floating point number or a fixed point number.
Optionally, the orientation comprises east longitude, west longitude, south latitude and/or north latitude;
the node coordinates include longitude, latitude, and/or altitude elevation.
Optionally, the 41 th byte to the 44 th byte of the recording block header are used for storing data acquisition device information, and the data acquisition device information includes:
the recording block headers 41 to 42 are used to store AD converter information;
the recording block headers 43 through 44 are used to store battery voltage sample values.
The recording block head is specifically shown in table 1:
table 1: description of header part of recording block
Figure BDA0002736326670000051
Figure BDA0002736326670000061
The data recording block, and the data block in table 1 all have the same meaning as the recording block. The data structure of the recording block header part is defined as follows:
Figure BDA0002736326670000071
the data block header (recording block header) portion designed in this embodiment contains 48 bytes in total. On one hand, the arrangement distribution of each data byte is based on the fact that each 8 bytes are guaranteed to have complete data meaning, and the situation that data corresponding to certain physical meaning are read across rows does not exist; on the other hand, the data acquisition device information is recorded in the 41 st to 44 th bytes of the file except the basic information of the data block at the head part of the data recording block, so that redundant transmission time delay caused by the independent transmission of the information is avoided, and an instrument can be better helped to know the transmission information and the sampling condition of the sampled data at any time so as to improve the data transmission rate of the intelligent node. The method aims to meet the related requirements of real-time transmission and storage of collected data in the novel intelligent node collection process. Based on the two aspects of storage and transmission rate of the collected data, the design of a block head structure part of a data recording block of the collected data file is completed, the collected data better conforms to the requirements of intelligent nodes, and each row of byte arrangement has complete data meaning.
Example two:
an embodiment of the invention provides an electronic device comprising a memory and a processor,
a memory storing executable instructions;
and the processor runs the executable instructions in the memory to realize the intelligent node data acquisition method of the first embodiment.
The memory is to store non-transitory computer readable instructions. In particular, the memory may include one or more computer program products that may include various forms of computer-readable storage media, such as volatile memory and/or non-volatile memory. The volatile memory may include, for example, Random Access Memory (RAM), cache memory (cache), and/or the like. The non-volatile memory may include, for example, Read Only Memory (ROM), hard disk, flash memory, etc.
The processor may be a Central Processing Unit (CPU) or other form of processing unit 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 invention, the processor is configured to execute the computer readable instructions stored in the memory.
Those skilled in the art should 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, an interface, and the like, and these well-known structures should also be included in the protection scope of the present invention.
For the detailed description of the present embodiment, reference may be made to the corresponding descriptions in the foregoing embodiments, which are not repeated herein.
Example three:
the embodiment of the invention provides a computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the intelligent node data acquisition method in the first embodiment is implemented.
An embodiment of the present invention provides a computer-readable storage medium, which is used to store a data file containing the data file structure of the first embodiment.
A computer-readable storage medium according to an embodiment of the present invention has non-transitory computer-readable instructions stored thereon. The non-transitory computer readable instructions, when executed by a processor, perform all or a portion of the steps of the methods of embodiments of the invention previously described.
The computer-readable storage media include, but are not limited to: optical storage media (e.g., CD-ROMs and DVDs), magneto-optical storage media (e.g., MOs), magnetic storage media (e.g., magnetic tapes or removable disks), media with built-in rewritable non-volatile memory (e.g., memory cards), and media with built-in ROMs (e.g., ROM cartridges).
Having described embodiments of the present invention, the foregoing description is intended to be exemplary, not exhaustive, and not limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments.

Claims (10)

1. An intelligent node data acquisition method is characterized by comprising the following steps:
pre-configuring a data file structure;
and storing the acquired data into a data file structure, wherein the data file structure comprises a file header and a plurality of recording blocks, and the recording blocks comprise a recording block header and a plurality of data blocks.
2. The intelligent node data acquisition method according to claim 1, wherein the file header has a bit number of 1024 bytes, and the recording block header has a bit number of 48 bytes.
3. The intelligent node data acquisition method of claim 1, wherein the 1 st and 2 nd bytes of the record block header are used to store the size of the record block;
the 3 rd byte and the 4 th byte of the recording block head are used for storing the number of recording block samples;
the 5 th and 6 th bytes of the recording block head are used for storing the sampling rate of the recording block;
the 7 th and 8 th bytes of the recording block header are used for storing a channel number;
the 9 th byte and the 10 th byte of the recording block head are used for storing data sampling format codes;
the 11 th and 12 th bytes of the recording block head are used for storing the azimuth;
the recording block head 13 th to 16 th bytes are used for storing node IDs;
the recording block header 17 th to 20 th bytes are used to store a recording block ID;
the 21 st to 32 nd bytes of the recording block head are used for storing node coordinates;
the 33 rd to 36 th bytes of the recording block head are used for storing a file time stamp;
the 37 th to 40 th bytes of the recording block head are used for storing the serial number of the sampling point of the recording block;
the 41 th to 44 th bytes of the recording block head are used for storing data acquisition device information;
the 45 th to 47 th bytes of the recording block header are spare fields;
the 48 th byte of the recording block head is used for storing a check code.
4. The intelligent node data acquisition method of claim 3, wherein the number of the record block samples is 500;
the sampling rate is 1000 points/ms.
5. The intelligent node data collection method of claim 3, wherein the sample format code comprises a raw number, a floating point number, or a fixed point number.
6. The intelligent node data collection method of claim 3, wherein the orientation includes east longitude, west longitude, south latitude, and/or north latitude;
the node coordinates include longitude, latitude, and/or altitude elevation.
7. The intelligent node data acquisition method according to claim 3, wherein the recording block header bytes 41-44 are used for storing acquisition data device information, and the method comprises the following steps:
the recording block headers 41 to 42 are used to store AD converter information;
the recording block headers 43 through 44 are used to store battery voltage sample values.
8. An electronic device, characterized in that the electronic device comprises:
a memory storing executable instructions;
a processor executing the executable instructions in the memory to implement the intelligent node data collection method of any one of claims 1-7.
9. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which, when executed by a processor, implements the intelligent node data collection method of any one of claims 1-7.
10. A computer-readable storage medium for storing a data file comprising the data file structure of any one of claims 1-7.
CN202011134837.7A 2020-10-21 2020-10-21 Intelligent node data acquisition method, electronic device and storage medium Pending CN114463962A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011134837.7A CN114463962A (en) 2020-10-21 2020-10-21 Intelligent node data acquisition method, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011134837.7A CN114463962A (en) 2020-10-21 2020-10-21 Intelligent node data acquisition method, electronic device and storage medium

Publications (1)

Publication Number Publication Date
CN114463962A true CN114463962A (en) 2022-05-10

Family

ID=81403996

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011134837.7A Pending CN114463962A (en) 2020-10-21 2020-10-21 Intelligent node data acquisition method, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN114463962A (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4829524A (en) * 1985-02-28 1989-05-09 Canon Kabushiki Kaisha Data communication apparatus
JP2005229201A (en) * 2004-02-10 2005-08-25 Nanotex Corp Communication system, communication method for communication system, communication apparatus, program and storage medium
CN101042793A (en) * 2006-03-21 2007-09-26 维斯特恩格科地震控股有限公司 Communication between sensor units and a recorder
CN103309817A (en) * 2013-05-10 2013-09-18 中煤科工集团西安研究院 Data storing method of mine node seismometer
CN104468122A (en) * 2014-12-05 2015-03-25 中国航空工业集团公司第六三一研究所 Universal flight data encryption method
CN106250380A (en) * 2015-06-12 2016-12-21 中国石油化工股份有限公司 The self-defined method of partition of Hadoop file system data
WO2018032368A1 (en) * 2016-08-13 2018-02-22 深圳市樊溪电子有限公司 Block chain system data processing method based on compressed sensing and sparse reconstruction algorithm
US10169359B1 (en) * 2015-09-28 2019-01-01 EMC IP Holding Company LLC Distribution content-aware compression and decompression of data
CN110427282A (en) * 2019-07-17 2019-11-08 厦门市美亚柏科信息股份有限公司 The method, apparatus and computer-readable medium restored for log fragment
CN111123353A (en) * 2019-12-24 2020-05-08 中国科学院地质与地球物理研究所 Real-time seismic data acquisition device, system and method

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4829524A (en) * 1985-02-28 1989-05-09 Canon Kabushiki Kaisha Data communication apparatus
JP2005229201A (en) * 2004-02-10 2005-08-25 Nanotex Corp Communication system, communication method for communication system, communication apparatus, program and storage medium
CN101042793A (en) * 2006-03-21 2007-09-26 维斯特恩格科地震控股有限公司 Communication between sensor units and a recorder
CN103309817A (en) * 2013-05-10 2013-09-18 中煤科工集团西安研究院 Data storing method of mine node seismometer
CN104468122A (en) * 2014-12-05 2015-03-25 中国航空工业集团公司第六三一研究所 Universal flight data encryption method
CN106250380A (en) * 2015-06-12 2016-12-21 中国石油化工股份有限公司 The self-defined method of partition of Hadoop file system data
US10169359B1 (en) * 2015-09-28 2019-01-01 EMC IP Holding Company LLC Distribution content-aware compression and decompression of data
WO2018032368A1 (en) * 2016-08-13 2018-02-22 深圳市樊溪电子有限公司 Block chain system data processing method based on compressed sensing and sparse reconstruction algorithm
CN110427282A (en) * 2019-07-17 2019-11-08 厦门市美亚柏科信息股份有限公司 The method, apparatus and computer-readable medium restored for log fragment
CN111123353A (en) * 2019-12-24 2020-05-08 中国科学院地质与地球物理研究所 Real-time seismic data acquisition device, system and method

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
刘旭跃: "SEG-Y格式自动转化软件的研究与实现", 物探化探计算技术 *
朱丽萍: "Spark框架下地震属性处理方法研究", 《计算机与数字工程》 *
胡斌: "通过计算机编程快速读取地震数据的方法", 《电子技术与软件工程》 *

Similar Documents

Publication Publication Date Title
CN106649331B (en) Business circle identification method and equipment
CN101044513B (en) Timeline random access for multi-format time-based file recording and playback
Aronoff The map accuracy report: A user’s view
CA2093341A1 (en) System and method for information retrieval
CN105068936B (en) Method and device for testing stability of software
CN109581502B (en) Seismic exploration data compression method and device and compression storage structure
CN110674199B (en) Method and device for converting csv format data into SEG-2 format data
CN109063091B (en) Data migration method and device for hybrid coding and storage medium
CN106201857B (en) The choosing method and device of test case
CN107480466A (en) Genomic data storage method and electronic equipment
CN106326448A (en) GIS (geographic information system) information collecting method and system
CN104317536A (en) Device and method for storing seismic data cube and reading seismic channels
CN114463962A (en) Intelligent node data acquisition method, electronic device and storage medium
CN112463020A (en) Data access method, device and equipment based on Flash
CN111127700A (en) System index monitoring system for automatically driving automobile
US20230133180A1 (en) Modeling method and apparatus for model of tracing the origin of durians, and method for tracing the origin of durians
CN111488910B (en) Farmland soil organic carbon space-time data acquisition method
CN106921536A (en) Data processing method and device based on client release information
JP6366522B2 (en) Radio wave environment analysis device, communication device, and radio wave environment analysis method
CN109104447B (en) Vehicle-mounted data reading and writing method and device
Ramakrishnan Forensic analysis of navigation system (GPS)–A case study
CN112882654B (en) Method, device, storage medium and computer equipment for prolonging EEPROM writing life
CN111046012B (en) Method and device for extracting inspection log, storage medium and electronic equipment
CN110019002B (en) Method and system for quickly cataloging pre-stack data
CN113836052B (en) High-speed control data caching method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20220510