[1]王 军,赵 刚,何案华,等.通过C++类封装Oracle调用接口实现地热前兆数据库的快速建库与访问*[J].地震研究,2008,(03):284-288.
WANG Jun,ZHAO Gang,HE An-hua,et al.Performing High-speed Access to Geothermal Precursor Database by Wrapping Oracle Call Interface in C++ Class[J].Journal of Seismological Research,2008,(03):284-288.
点击复制
通过C++类封装Oracle调用接口实现地热前兆数据库的快速建库与访问*(PDF/HTML)
《地震研究》[ISSN:1000-0666/CN:53-1062/P]
- 卷:
-
- 期数:
-
2008年03期
- 页码:
-
284-288
- 栏目:
-
- 出版日期:
-
2008-03-23
文章信息/Info
- Title:
-
Performing High-speed Access to Geothermal Precursor Database by Wrapping Oracle Call Interface in C++ Class
- 作者:
-
王 军1; 赵 刚1; 何案华1; 郭藐西1; 郭柏林1; 秦久刚2
-
(1.中国地震局地壳应力研究所,北京 100085; 2.中国地震局地壳运动监测工程研究中心,北京 100036)
- Author(s):
-
WANG Jun1; ZHAO Gang1; HE An-hua1; GUO Miao-xi1; GUO Bo-lin1; QING Jiu-gang2
-
(1. Institute of Crustal Dynamics, CEA, Beijing 100085, China)(2. National Earthquake Infrastructure Service, CEA, Beijing 100036, China)
-
- 关键词:
-
地热前兆; 数据库; OCI; Oracle; C++; 直接路径装载
- Keywords:
-
geothermal precursor; database; OCI; Oracle; C++; direct path load
- 分类号:
-
TP274
- DOI:
-
-
- 摘要:
-
为了进一步推动地热前兆方法的发展,需要全面系统地对地热前兆方法加以认真研究,并应尽可能全面地搜集地热前兆观测资料,建立起地热前兆数据库。使用C++语言,将Oracle调用接口封装成QEnvironment、QStatement、QDirectPathLoader和QOCIExeption四个类,可实现地热前兆应用数据库的快速建库和访问,同时增强代码的可读性和易维护性。
- Abstract:
-
Geothermal precursor method is a relatively new earthquake prediction method. It is very necessary to collect all available geothermal data and construct geothermal database for a systematic research on this method. We presented a way,it can load and access geothermal data at high speed by wrapping oracle call interface in four C++ classes, and also improve the readability and maintenance of source code.
备注/Memo
- 备注/Memo:
-
收稿日期:2007-11-08
基金项目:中国地震局2007年度地震行业科研专项基金(200708045)资助.
更新日期/Last Update:
2008-03-23