使用MATLAB获取地震前兆数据库中观测数据
详细信息 本馆镜像全文    |  推荐本文 | | 获取馆网全文
摘要
地震前兆数据库中的观测数据具有极高的科研及应用价值。MATLAB作为具有强大功能的科学计算及分析平台是地震前兆数据分析的得力工具。虽然如此,但MATLAB提供的数据库工具箱并不能完全操控基于ORACLE的前兆数据库。因此,直接通过MATLAB获取前兆观测数据进行后续的前兆统计及分析工作受到了影响。本文首先介绍了主流的数据库访问机制以及在MATLAB中如何实现以这些机制对前兆数据库进行访问并指出了其中的缺陷;然后,给出了通过组件对象模型(COM)的访问方式获取前兆观测数据的方法;最后,给出了使用该方法进行函数封装后,在实际应用中的实例的全部源代码。通过本文提供的方法,台站工作人员或科研人员可以快速、方便的通过MATLAB获取前兆数据库中的相关信息进行科研及日常管理工作。
Earthquake precursor monitoring data in the database has a very high value in research and application.MATLAB,as a powerful tool,provides us scientific calculation and analysis of seismic precursory data analysis platform.However,MATLAB Toolbox can not be completely communicated with ORACLE databases on precursor data.It is incapable to take precursor monitoring data directly through the MATLAB precursor to subsequent statistics and analytical work.In this article we firstly describe the mainstream database access mechanism and realization in MATLAB how to access to the mechanisms of precursor database.Then we propose the component object model(COM) method of accessing precursor monitoring data,which is the last function encapsulating the methods used in the actual instances of all of the application source code.By using our method,the station staff or researchers can quickly and conveniently to obtain precursor database information.
引文
1Microsoft http://msdn.microsoft.com/en-us/library/ms710252%28VS.85%29.aspx
    2ORACLE,http://www.oracle.com/technetwork/java/javase/jdbc/index.html#corespec40
    3Microsoft,http://msdn.microsoft.com/en-us/library/ms722784%28VS.85%29.aspx
    周克昌,蒋春花,杨东梅等,2007.地震前兆数据库结构规范.北京:地震出版社.
    周克昌,蒋春花,纪寿文等,2010.地震前兆数据库系统设计.地震,(2):143—151.
    Mathworks,2011.http://www.mathworks.cn/products/new_products/latest_features.html?s_cid=HP_FP_LR_2011a.

版权所有:© 2023 中国地质图书馆 中国地质调查局地学文献中心