一种测震仪器数据实时接入中间件设计与实现  被引量:2

Design and Implementation of the Middleware to Access Realtime Stream of Digitizers

在线阅读下载全文

作  者:董一兵[1] 刘丽[1] 杨锐[1] 王亚茹[1] 张环曦[1] DONG Yibing;LIU Li;YANG Rui;WANG Yaru;ZHANG Huanxi(Seismological Bureau of Hebei Province, Shijiazhuang 050021 ,Hebei, China)

机构地区:[1]河北省地震局,河北石家庄050021

出  处:《地震工程学报》2017年第5期969-975,共7页China Earthquake Engineering Journal

基  金:地震科技星火计划项目(XH14006Y);测震台网青年骨干培养专项(20150404);河北省科技支撑计划项目(15275402D)

摘  要:分析了几种地震数据采集器的网络协议和数据格式,开发了一套独立的仪器数据访问中间件,为实现上位机应用程序与多种仪器的网络通信、各种数据流的统一接收、处理、发布和共享提供了方法和工具。将中间件应用于测震台站数据监控系统中,为运维人员对台站运行质量的跟踪和数据应用提供了方法和工具,为面向仪器的软件工程实施提供了典型示范。A digitizer is a key equipment in conducting studies on seismic networks;it acquires analogue signals from the seismometer and converts them into digital signals with the AD module.These signals are outputted via the Ethernet interface in the form of TCP/IP flow.Compared with the relational data set,TCP/IP flow has the following characteristics:continuous production,realtime arrival,and unlimited potential amounts.Based on these characteristics,researchers have proposed a method to access the layer between the data source and application,which can continuously and asynchronously collect data from the underlying part and send them to the upper layer.This hierarchical structure decouples the data producer process and consumer process,which improves the robustness and throughput of the whole system.However,the maximum number of concurrent connections that can be supported by the digitizer is usually limited;hence there is a need to develop an integrated data access service,which can provide a unified interface to access all kinds of data.Therefore,in this paper,the architecture design of a dataaccessingmiddleware is first introduced,and the implementation of each component is then proposed.In the end,the middleware is applied in the seismic station data monitoring system.The producer/consumer pattern is used to support concurrent and asynchronous communication.The whole system is divided into five components:digitizer adapter,stream buffer,stream adapter,data buffer,and data publisher.The instrument adapter establishes socket connections with the digitizer and obtains streams;it then writes the streams into the stream buffer without decoding.The stream buffer is a synchronized FIFO(First In First Out)queue.The stream adapter reads streams from the queue,extracts data,and writes them into the data buffer.The data buffer is also a synchronized FIFO queue,in which the data publisher reads data from the queue and publishes them in two ways:by storing them into the database or by sending them to a Java Message S

关 键 词:测震仪器 数据访问 中间件 应用软件 

分 类 号:TP311.52[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象