|本期目录/Table of Contents|

[1]单维锋,李 军.地震前兆观测设备模拟通信软件关键技术研究*[J].地震研究,2010,33(04):365-370.
 SHAN Wei-feng,LI Jun.Research on Key Technologies of Simulative Communication System of Earthquake Precursory Observation Devices[J].Journal of Seismological Research,2010,33(04):365-370.
点击复制

地震前兆观测设备模拟通信软件关键技术研究*(PDF/HTML)

《地震研究》[ISSN:1000-0666/CN:53-1062/P]

卷:
33
期数:
2010年04期
页码:
365-370
栏目:
出版日期:
2010-04-23

文章信息/Info

Title:
Research on Key Technologies of Simulative Communication System of Earthquake Precursory Observation Devices
作者:
单维锋李 军
(防灾科技学院,河北 三河 065201)
Author(s):
SHAN Wei-fengLI Jun
(Institute of Disaster Prevention,Sanhe 065201,Hebei,China)
关键词:
前兆观测设备 模拟通信软件 套接字 多线程 观察者设计模式
Keywords:
precursory observation devicessimulative communication softwaresocketmultithreadingobserver design patten
分类号:
TP311.52
DOI:
-
摘要:
遵循“中国数字地震观测网络技术规程”相关标准,设计了一套基于Java语言的前兆观测设备模拟通信软件。介绍了通信指令原语、数据包格式定义以及模拟通信软件的总体设计,详述了模拟通信软件中的几个关键技术,包括如何同时模拟多个前兆设备,应用观察者设计模式实时更新设备状态信息,使用套接字技术和多线程技术启动或停止模拟设备,通过“心跳”线确认远端Socket是否关闭等。该软件可以模拟大多数“十五”前兆观测设备的通信原语,一方面为台站技术人员以及地震专业学生了解前兆设备的功能、通信指令、以及数据包的数据格式提供了一个模拟环境,有效地提高了教学效果和培训质量,另一方面也为开发前兆设备相关软件提供了模拟支撑环境。
Abstract:
According to“Stipulation on Net Communication for Devices in China Geophysical and Geochemical Observatory Network”,a simulative communication system of precursory observation devices based on java programming language is designed.Firstly,the paper introduces the communication primitives,data package format and high-level architecture.Secondly,several key technologies of simulative communication system are argued in detail,such as how to simultaneously simulate multiple precursor equipment,updating devices' status using observer pattern,using socket and multithreading technologies to start/stop simulative device,using“heart”message to judge whether the remote socket is closed or not.The simulative communication system realizes most communication primitives and provides a simulative environment for students to understand the functions,communication primitives and data package format of precursory observation devices,which enhances the teaching effects and training quality,on the other hand it provides a support environment for development of simulation software.

参考文献/References:

-

备注/Memo

备注/Memo:
收稿日期:2010-03-15
基金项目:中国地震局教师科研基金(20090101)和防灾科技学院防灾减灾青年科技基金(200905)联合资助.

更新日期/Last Update: 2010-04-23