CN103309817A - Data storing method of mine node seismometer - Google Patents

Data storing method of mine node seismometer Download PDF

Info

Publication number
CN103309817A
CN103309817A CN2013101709576A CN201310170957A CN103309817A CN 103309817 A CN103309817 A CN 103309817A CN 2013101709576 A CN2013101709576 A CN 2013101709576A CN 201310170957 A CN201310170957 A CN 201310170957A CN 103309817 A CN103309817 A CN 103309817A
Authority
CN
China
Prior art keywords
data
card
piece
begin
time
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.)
Granted
Application number
CN2013101709576A
Other languages
Chinese (zh)
Other versions
CN103309817B (en
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.)
Xian Research Institute Co Ltd of CCTEG
Original Assignee
Xian Research Institute Co Ltd of CCTEG
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 Xian Research Institute Co Ltd of CCTEG filed Critical Xian Research Institute Co Ltd of CCTEG
Priority to CN201310170957.6A priority Critical patent/CN103309817B/en
Publication of CN103309817A publication Critical patent/CN103309817A/en
Application granted granted Critical
Publication of CN103309817B publication Critical patent/CN103309817B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention belongs to the technical field of geophysical prospecting, relates to a data storing method of a mine node seismometer and realizes the automatic, continuous, fast and reliable storage of data of the mine node seismometer. An SD (secure digital) card is used for storing massive data, and adopts an RAW mode to store the data for ensuring the data safety, namely, a file system is not founded on the SD card, and only the SD card is taken as a continuous storage for writing and reading, thus realizing the fast and continuous storage of data; the data of the mine node seismometer comprises two parts, i.e. configuration information of an instrument and actual sampling information, accordingly, the data in the SD card is divided into two parts, i.e. configuration information and sampling information for storage, the SD card is managed by data blocks, and each block accounts for 512 bytes.

Description

The seismographic date storage method of a kind of mining node type
One, technical field:
The invention belongs to the geophysical exploration technology field, relate to the seismographic date storage method of a kind of mining node type.
Two, background technology:
Mining node type seismograph need to realize that long-time image data also realizes rapidly, continuously, reliable memory.Traditional seismograph all is that the data with collection in worksite return to main frame in real time basically, finishes the data storage function by the high-performance main frame.The time of its each sampling is short, and data volume is little, generally is to store according to SEGY or SEG2 form.Because this data memory format has fixing data length, can not be applicable to the continuously needs of long-time sampling of mining node type seismograph.
Do not have large line, do not have the characteristics of main frame for mining node type seismograph, we design a kind of reliable geological data real-time storage scheme.In order to ensure the safety of data, we do not adopt traditional file layout to preserve, but have adopted the RAW pattern to carry out the data storage, and have designed a trocar to earthquake data storage form.
Three, summary of the invention:
The present invention provides a kind of mining node type seismographic date storage method in order to solve the weak point in the above-mentioned background technology, and it has realized automatic, continuous, quick, the reliable memory of mining node type seismograph data.
For achieving the above object, the technical solution used in the present invention is: the seismographic date storage method of a kind of mining node type is characterized in that: may further comprise the steps:
(1) the SD card is managed by data block, each piece accounts for 512 bytes;
(2) configuration information be kept at the SD card piece 0 to piece 3,4 parts of coexistence storages;
(3) piece 4 of SD card has been preserved the temporal information that instrument begins to start sampling, and this numerical value is 32 integers, and this numerical value is repeated to preserve 128 times piece 4 is interior altogether;
(4) the sample states information of the piece 5 preservation instruments of SD card, sample states is used for the state of each sampling period institute's corresponding data of record, accounts for 1 byte, and 0xff represents not yet to begin; 0x00 represents to begin but not normal termination on time; 0x01 represent not begin on time or in have no progeny and restart and not normal termination; 0x02 represents to begin normal termination on time; 0x03 represent not begin on time or in have no progeny and restart but normal termination, each sample states repeats five times, remainder keeps in the 500 byte continuous arrangements before this piece, this piece;
(5) from the 6th BOB(beginning of block) store sample information of SD card, the corresponding one group of sample information of the data that each second samples, different according to sampling rate, every group of size multiply by 64 bytes for sampling rate, and the data total length is according to different variation of sampling time.
Compared with prior art, the advantage and the effect that have of the present invention is as follows:
Storage when 1, having realized the configuration information of instrument and Information Monitoring;
2, increased the CRC check code of data;
3, in order to ensure the reliability of the data, increased data backup;
4, designed special-purpose data memory format.
Four, embodiment:
The present invention is described in detail below in conjunction with embodiment.
The concrete steps that the present invention adopts are: (1) manages by data block the SD card, and each piece accounts for 512 bytes;
(2) configuration information be kept at the SD card piece 0 to piece 3,4 parts of coexistence storages are in order to still can correctly read configuration information when bad piece occurs;
(3) piece 4 of SD card has been preserved the temporal information that instrument begins to start sampling, and this numerical value is 32 integers, and this numerical value is repeated to preserve 128 times piece 4 is interior altogether, increases reliability;
(4) piece 5 of SD card has been preserved the sample states information of instrument.Sample states is used for the state of each sampling period institute's corresponding data of record, accounts for 1 byte.0xff represents not yet to begin; 0x00 represents to begin but not normal termination on time; 0x01 represent not begin on time or in have no progeny and restart and not normal termination; 0x02 represents to begin normal termination on time; 0x03 represent not begin on time or in have no progeny and restart but normal termination.Each sample states repeats five times, and remainder keeps in the 500 byte continuous arrangements before this piece, this piece.
(5) from the 6th BOB(beginning of block) store sample information of SD card.The corresponding one group of sample information of the data that each second samples.Different according to sampling rate, every group of size multiply by 64 bytes for sampling rate.The data total length is according to different variation of sampling time.
This is mining, and the node type seismograph adopts the SD card to carry out the storage of Large Volume Data.In order to ensure the safety of data, the SD card adopts RAW pattern storage data, does not namely set up file system on the SD card, just the SD card is read and write as a continuous storer, can realize so the rapidly, continuously storage of data.The seismographic data of mining node type comprise the configuration information of instrument and actual sample information two parts, and we are divided into configuration information with the data in the SD card and sample information two parts are stored for this reason.We manage by data block the SD card, and each piece accounts for 512 bytes.
When being sampling parameter, the instrument work of the instrument that arranges, configuration information samples according to these settings.Every group of configuration information is 512 bytes, and concrete form is as shown in table 1.
Table 1 configuration information data layout
Start address Size Describe
0x0000 24bytes The parameter of passage 1
0x0018 4 bytes Keep, write 0
0x001C 4 bytes The CRC check code of 0x00 to 0x1b
0x0020 32 bytes The parameter of passage 2, form is with 0x00 to 0x1f
0x0040 32 bytes The parameter of passage 3, form is with 0x00 to 0x1f
0x0060 4 bytes Sampling rate, unit is SPS
0x0064 4 bytes Self-recording formula seismograph start-up mode is selected
0x0068 4 bytes Startup time
0x006C 400 bytes The sampling period, one group of every 4byte
0x01FC 4 bytes The CRC check code of 0x60 to 0x1fb
Sample information is the sampled data that obtain of instrument when record, the corresponding one group of sample information of the data of each second sampling.Therefore according to different sampling rates, every group varies in size, and concrete form is as shown in table 2.
Table 2 sample information data layout
Start address Size Describe
0x0000 4 bytes Sampling instant, the sampling instant of first sampled point of this group data
0x0004 12 bytes Same 0x0000 backs up three times same data
0x0010 16 bytes Sampled point 0 data
0x0020 16 bytes Sampled point 1 data
0x0030 16 bytes Sampled point 2 data
Consider that simultaneously SD is stuck in the situation that may occur the individual bits necrosis after the long-term use, we have all done redundant processing to configuration information and sample information, if the CRC check mistake appears in a copy of it data, can use Backup Data.
Configuration information is kept at the piece 0 of SD card to piece 3, totally four parts so that when bad piece occurs correct reading out data.
Sample information is preserved three parts continuously from the piece 6 of SD card.First part reference position is piece 6, and total length changed according to sampling time and sampling rate, rear two parts of and then first part of preservations.The piece 4 of SD card is preserved the information such as some daily records to piece 5.
According to our data design Storage, when sampling rate was 4000SPS, the SD card of every GB can be stored approximately 86 minutes continuous sampling data.

Claims (1)

1. seismographic date storage method of mining node type is characterized in that: may further comprise the steps:
(1) the SD card is managed by data block, each piece accounts for 512 bytes;
(2) configuration information be kept at the SD card piece 0 to piece 3,4 parts of coexistence storages;
(3) piece 4 of SD card has been preserved the temporal information that instrument begins to start sampling, and this numerical value is 32 integers, and this numerical value is repeated to preserve 128 times piece 4 is interior altogether;
(4) the sample states information of the piece 5 preservation instruments of SD card, sample states is used for the state of each sampling period institute's corresponding data of record, accounts for 1 byte, and 0xff represents not yet to begin; 0x00 represents to begin but not normal termination on time; 0x01 represent not begin on time or in have no progeny and restart and not normal termination; 0x02 represents to begin normal termination on time; 0x03 represent not begin on time or in have no progeny and restart but normal termination, each sample states repeats five times, remainder keeps in the 500 byte continuous arrangements before this piece, this piece;
(5) from the 6th BOB(beginning of block) store sample information of SD card, the corresponding one group of sample information of the data that each second samples, different according to sampling rate, every group of size multiply by 64 bytes for sampling rate, and the data total length is according to different variation of sampling time.
CN201310170957.6A 2013-05-10 2013-05-10 The seismographic date storage method of a kind of mining node type Active CN103309817B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310170957.6A CN103309817B (en) 2013-05-10 2013-05-10 The seismographic date storage method of a kind of mining node type

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310170957.6A CN103309817B (en) 2013-05-10 2013-05-10 The seismographic date storage method of a kind of mining node type

Publications (2)

Publication Number Publication Date
CN103309817A true CN103309817A (en) 2013-09-18
CN103309817B CN103309817B (en) 2015-09-30

Family

ID=49135064

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310170957.6A Active CN103309817B (en) 2013-05-10 2013-05-10 The seismographic date storage method of a kind of mining node type

Country Status (1)

Country Link
CN (1) CN103309817B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109032961A (en) * 2018-07-11 2018-12-18 中国科学院地质与地球物理研究所 A kind of underground vibrating impact data record method
CN114463962A (en) * 2020-10-21 2022-05-10 中国石油化工股份有限公司 Intelligent node data acquisition method, electronic device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101639539A (en) * 2009-09-09 2010-02-03 中国科学院地质与地球物理研究所 Storage type earthquake signal continuous collecting system
CN101661111A (en) * 2009-09-09 2010-03-03 中国科学院地质与地球物理研究所 Method for performing seismograph control and data transmission by using short message and short message control and transmission type cableless seismograph
CN101750629A (en) * 2008-12-17 2010-06-23 中国石化集团胜利石油管理局钻井工艺研究院 Differential positioning seismometer while drilling
US20110136262A1 (en) * 2009-05-29 2011-06-09 Aviana Molecular Technologies, Llc Integrated microchip sensor system for detection of infectious agents
CN102353983A (en) * 2011-06-30 2012-02-15 石家庄经济学院 Portable mountain wireless earthquake surveying system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101750629A (en) * 2008-12-17 2010-06-23 中国石化集团胜利石油管理局钻井工艺研究院 Differential positioning seismometer while drilling
US20110136262A1 (en) * 2009-05-29 2011-06-09 Aviana Molecular Technologies, Llc Integrated microchip sensor system for detection of infectious agents
CN101639539A (en) * 2009-09-09 2010-02-03 中国科学院地质与地球物理研究所 Storage type earthquake signal continuous collecting system
CN101661111A (en) * 2009-09-09 2010-03-03 中国科学院地质与地球物理研究所 Method for performing seismograph control and data transmission by using short message and short message control and transmission type cableless seismograph
CN102353983A (en) * 2011-06-30 2012-02-15 石家庄经济学院 Portable mountain wireless earthquake surveying system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109032961A (en) * 2018-07-11 2018-12-18 中国科学院地质与地球物理研究所 A kind of underground vibrating impact data record method
CN109032961B (en) * 2018-07-11 2019-10-01 中国科学院地质与地球物理研究所 A kind of underground vibrating impact data record method
CN114463962A (en) * 2020-10-21 2022-05-10 中国石油化工股份有限公司 Intelligent node data acquisition method, electronic device and storage medium

Also Published As

Publication number Publication date
CN103309817B (en) 2015-09-30

Similar Documents

Publication Publication Date Title
CN106484761B (en) For improving the method and system of storage log
CN104504105B (en) A kind of storage method of real-time data base
US20180260319A1 (en) Writing ssd system data
CN103914359A (en) Data recovery method and device
RU2014145359A (en) METHOD FOR SENDING DATA, METHOD FOR RECEIVING DATA AND DATA STORAGE DEVICE
CN102609337A (en) Rapid data recovery method for memory database
CN103226965B (en) Based on the audio/video data access method of time bitmap
CN107328968B (en) Freezing and event record data storage method for electric energy meter
CN108399050B (en) Data processing method and device
DE102021115858A1 (en) TLC DATA PROGRAMMING WITH HYBRID PARITY
US9798761B2 (en) Apparatus and method for fsync system call processing using ordered mode journaling with file unit
CN106940625A (en) The date storage method of intelligent electric meter
CN105183811A (en) Informatization data collection system for exploration drilling catalog
CN104484427A (en) Video file storage device and video file storage method
CN104505125A (en) Multichannel SRAM single-event test method and device
CN103309817A (en) Data storing method of mine node seismometer
CN103198166B (en) A kind of down-hole Large Copacity acoustic logging while drilling data real-time storage device
CN102880718A (en) Flexible log storage and acquisition method
CN103176867A (en) Fast file differential backup method
CN101819811A (en) Three-value FeRAM circuit
CN104391804B (en) A kind of NAND flash data storage methods
CN104572339A (en) Data backup restoring system and method based on distributed file system
CN106815126B (en) General file system log recording method and device
CN103439554A (en) Data backward-reading and storing device and system thereof
CN103399714A (en) Maintenance system for storage device configuration information and application method of maintenance system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent of invention or patent application
CB02 Change of applicant information

Address after: 710075 Xi'an high tech Industrial Development Zone, Shaanxi, Jin Jin Road, No. 82

Applicant after: Xi'an Research Institute, CCTEG

Address before: 710075 Xi'an high tech Industrial Development Zone, Shaanxi, Jin Jin Road, No. 82

Applicant before: China Coal Technology & Engineering Group Xi'an Research Institute

COR Change of bibliographic data

Free format text: CORRECT: APPLICANT; FROM: CHINA COAL TECHNOLOGY + ENGINEERING GROUP XI AN RESEARCH INSTITUTE TO: XI AN RESEARCH INSTITUTE OF CHINA COAL TECHNOLOGY + ENGINEERING GROUP CO., LTD.

C14 Grant of patent or utility model
GR01 Patent grant