石油学报 ›› 2010, Vol. 31 ›› Issue (6): 980-984.DOI: 10.7623/syxb201006018

• 油田开发 • 上一篇    下一篇

基于JNI技术C++测井应用程序集成方法

刘英明 1  李  宁 1,2  张  玲 3  朱  博 1   

  1. 1  中国石油勘探开发研究院  北京  100083; 2长江大学  湖北荆州  434023; 3大庆钻探工程公司  黑龙江大庆  163412
  • 收稿日期:2010-02-08 修回日期:2010-04-15 出版日期:2010-11-25 发布日期:2011-01-20
  • 通讯作者: 刘英明
  • 作者简介:刘英明,男,1983年9月生,2008年获中国地质大学(北京)硕士学位,现为中国石油勘探开发研究院在读博士研究生,主要从事测井软件平台开发和测井方法研究。
  • 基金资助:

    国家油气重大专项(2008ZX05020-03)资助。

Integration of the C+ + well logging application based on JNI technology

LIU Yingming 1  LI Ning 1,2  ZHANG Ling 3  ZHU Bo 1   

  • Received:2010-02-08 Revised:2010-04-15 Online:2010-11-25 Published:2011-01-20

摘要:

一体化网络测井处理解释平台是一个采用Java语言开发的全新的跨平台的大型综合测井处理解释系统,向前兼容、最大限度将不同方式及不同编程语言的应用程序无缝集成、进而实现资源共享,不仅体现平台可扩充性和兼容性的设计特点,也是决定平台顺利推广的重要功能之一。在平台集成的应用程序中,利用C+ +编写的应用程序占主要部分。通过大量测试以及对本地化接口(JNI)技术的研究,建立了一套C+ +应用程序集成模式,将平台绘图、数据与C+ +应用程序有机结合,实现了平台对C+ +语言应用程序的无缝集成。利用此集成模式及方法避免了重复编码,缩短了模块开发时间,提高了平台应用模块开发速度,通过实际应用,满足现场应用要求。

关键词: 一体化测井平台, 本地化接口, C+ +窗体, 方法库动态加载, 水淹层

Abstract:

The integrated network well-log processing and interpretation platform is a novel cross-platform large-scale comprehensive well-log analysis system developed on the basis of Java Language, which is characterized by perfect compatibility with former programs based on Java or any other language, enabling a seamless integration of various programs and sharing resources in a wide scale. Such characteristics are significantly incarnated not only by the designed concept of expansibility and compatibility but also by a future trend of the application and popularization for this system. The C+ + language was employed for a major part of the integration programs of the platform. Through extensive laboratory tests and in-depth studies on the JNI technology, an integration mode based on C+ + was established, which enabled C+ + programs to combine closely with drawing and data from the platform, achieving a seamless integration of the platform with C+ + programs. Field tests indicated that this integration mode avoided rewriting codes, shortened the period of module development, dramatically reduced R&D expenses, and considerably met the practical need of field applications.

Key words: integrated well logging platform, Java native interface (JNI), C+ + user interface; dynamic load of method libraries, water flooded layer