摘要
针对目前自动气象站数据采集器使用普通文件存储数据的方式存在数据可靠性较低、应用程序设计较复杂、数据结构调整灵活性差等问题,设计了一种基于数据采集器的嵌入式数据库管理方法。该方法利用数据库表存储各类气象要素数据和要素名,并通过调用数据库提供的API设计数据库访问、数据结构更新和数据库修复程序。实验表明,这种存储管理方式可以有效地提高数据存取的可靠性,简化程序的设计流程并提高其执行效率,同时实现通过终端命令对数据结构进行调整。
The data collector of automatic weather station which uses ordinary files to store has a few issues, such as data reliability is low, application design is complicated and data structure adjustment flexibility is poor. This article designed one kind of embedded database management method based on the data collector, it uses a database table to store all kinds of meteorological data, it names and designs the data structure update, database access and repair program. The experiments show that this storage management method can effectively improve the reliability of data access, simplify the design process, improve the efficiency of its implementation and achieve that through the terminal command to adjust the data structure.
出处
《电子测量与仪器学报》
CSCD
北大核心
2018年第10期197-202,共6页
Journal of Electronic Measurement and Instrumentation
基金
国家自然科学基金(61671248,41605121)
江苏省重点研发计划(BE2018719)
江苏省“信息与通信工程”优势学科资助项目
关键词
嵌入式数据库
自动气象站
数据采集器
气象要素
embedded database
automatic weather station
data collector
meteorological elements