Articles

Design of the Communication Software for Logging Tool Test-bench Based on C/S Model

  • YANG Xifeng;JU Xiaodong;WU Wenhe
Expand
  • 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

Received date: 2012-10-08

  Revised date: 2012-10-25

  Online published: 2012-12-18

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.

Cite this article

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 . DOI: 10.3981/j.issn.1000-7857.2012.36.005

Outlines

/