首页 | 本学科首页   官方微博 | 高级检索  
     检索      

基于C/S模式的成像测井仪调试台架通信接口设计
引用本文:杨喜峰,鞠晓东,吴文河.基于C/S模式的成像测井仪调试台架通信接口设计[J].科技导报(北京),2012,30(36):38-41.
作者姓名:杨喜峰  鞠晓东  吴文河
作者单位:1. 中国石油大学(北京)油气资源与探测国家重点实验室,北京 102249;2. 中国石油大学(华东)理学院,山东青岛 266580
摘    要: 根据微电阻率扫描测井仪调试台架功能需求,给出一种基于C/S模式的调试台架通信接口程序设计方案.通过对B/S、C/S通信模式、流式和数据报式套接字的特点对比,确定基于流式套接字C/S模式的接口通信方式.为解决简单流式套接字的阻塞问题,前端机引入多线程技术实现通信过程独立.为提高接口的扩展性和可移植性,上位机程序采用Winsock控件实现通信功能.接口的测试证明其具有很好的稳定性和时效性,并且该接口设计结构简单、性能优秀、可移植性好,可以直接应用于同类调试台架和类似结构的测试系统.

关 键 词:成像测井仪  调试台架  C/S模式  Winsock控件  
收稿时间:2012-10-08

Design of the Communication Software for Logging Tool Test-bench Based on C/S Model
YANG Xifeng,JU Xiaodong,WU Wenhe.Design of the Communication Software for Logging Tool Test-bench Based on C/S Model[J].Science & Technology Review,2012,30(36):38-41.
Authors:YANG Xifeng  JU Xiaodong  WU Wenhe
Institution:1. State Key Laboratory of Petroleum Resources and Prospecting, China University of Petroleum, Beijing 102249, China;2. College of Science, China University of Petroleum, Qingdao 266580, Shandong Province, China
Abstract:According to the demand of the micro-resistivity scanning tool test-bench, this paper proposes a design scheme of the test-bench communication interface program based on the C/S mode. From a comparison of the characteristics between the B/S and C/S communication modes and the flow and data report type sockets, the paper chooses the flow socket C/S mode as the mode of the communication interface. In order to solve the blocking problem of simple flow sockets, in the front-end computer, the multithreading technology is introduced to realize the independent communication process. In order to improve the interface scalability and portability, in the PC program, the Winsock control is used to realize the communication function. It is shown by performance tests that the communication interface has a good stability and speed. The interface enjoys features of simple structure, excellent performance and good portability, and can be directly applied in the test-bench and the testing system of similar structures.
Keywords:micro-resistivity scanning logging instrument  test-bench  C/S model  Winsock control  
点击此处可从《科技导报(北京)》浏览原始摘要信息
点击此处可从《科技导报(北京)》下载免费的PDF全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号