The invention relates to the field of data storage and
backup, in particular to a TF memory card
data acquisition method and
system, and the method comprises the steps: collecting the environment temperature and the
electromagnetic interference intensity in real time after a TF card is powered on;
flash memory programming parameters are adjusted according to temperature, a
charge retention mechanism is started at high temperature, and
threshold voltage is optimized at low temperature; enhanced link coding is started in a strong
electromagnetic environment, and dual-copy
metadata storage is generated after
data partitioning; generating an enhanced LDPC check code and a CRC-64 check code for the block data, packaging the check code into a write-in unit, and synchronously writing the write-in unit into a
flash memory; if the writing is interrupted, retrying or switching the standby block, and carrying out atomized updating on the
metadata by adopting a mode of'standby first and master second '; periodically starting charge refreshing, and repairing leakage data; detecting block states in real time, marking bad blocks and migrating data to standby blocks;
voltage and
impact strength are monitored in real time, an emergency power supply is started when abnormity occurs, and semi-finished data and
metadata are preserved preferentially; and after restarting, recovering the data and updating the index.