A small data backup algorithm based on memory chip is designed and implemented in many single chip microcomputer systems.The small data backup algorithm introduced in this paper uses the mapping relationship between time point and storage location, which makes data storage and query simple and fast,and does not need to use multiple cycles to find storage location and query point in the whole chip range,effectively overcoming the bottleneck of limited resources and slow processing speed of single chip microcomputer. This algorithm has been successfully used in a comprehensive meteorological data collector.From the situation of 200 collectors running continuously for two years,the data storage effect is good,and the data reading and storage are convenient,fast and effective.
Key words
data backup /
memory chip /
single chip microcomputer system /
storage algorithm /
storage process
{{custom_sec.title}}
{{custom_sec.title}}
{{custom_sec.content}}
References
[1] 张刚毅.单片机原理及应用[M].北京:高等教育出版社,2003.
[2] 谭浩强.C语言设计[M].北京:清华大学出版社,2005.
[3] Silicon Laboratories inc.C8052F020单片机DATA Sheet,2017.
[4] ST Microelectronics.M25P128 FLSAH数据存芯片 DATA Sheet,2012.
[5] 李黄.自动气象站实用手册[M].北京:气象出版社,2007.