[1]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.
Copy
Journal of Seismological Research[ISSN 1000-0666/CN 53-1062/P] Volume:
33
Number of periods:
2010 04
Page number:
365-370
Column:
Public date:
2010-04-23
- Title:
-
Research on Key Technologies of Simulative Communication System of Earthquake Precursory Observation Devices
- Author(s):
-
SHAN Wei-feng; LI Jun
-
(Institute of Disaster Prevention,Sanhe 065201,Hebei,China)
-
- Keywords:
-
precursory observation devices; simulative communication software; socket; multithreading; observer design patten
- CLC:
-
TP311.52
- DOI:
-
-
- 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.