摘 要
随着
通信技术发展,应用Socket通信技术进行综合录井数据的远程传输,可以将现场录井数据信息实时传送到基地,为油田提供集录井现场信息采集、远程信息传输、基地信息接收处理为一体化的信息服务。
本课题是卫星实时数据传输
系统及应用研究建设项目中的数据采集模块,编成过程中使用了VC++及
Delphi两种IDE,采用了动态链接库及多线程技术来完成Socket通信,该系统具备采集实时数据并传输,随后在现场终端系统上实现接收模块,接收实时数据并进行处理。在后面几章陆续介绍了
软件的需求分析、详细
设计和相关测试,具体实现了数据传输模块、数据接收模块及基本数据处理。
关键词:实时传输;Socket;DLL;Thread
Abstract
The technology communicating by letter with the fact that the technology communicating by letter developing , applying Socket carries out long-range trans
mission recording the well data synthetically , can record well data information real time transference with the scene to the base , is that the oil field provides collection record well scene information collect , long-range data transmission , base information receive the information service handling for integration.
The problem is artificial satellite real time data transmission system and application study a important module in building a project , encrypt having used VC + + and Delphi to grow IDE liang in process, have adopted to come to accomplish Socket communicating by letter development catenate warehouse and the multi-thread technology, be system's turn to have the acquisition real time data and transfer, handle subsequently in realizing the received module , receiving the real time data and being in progress on scene terminal system. In back, almost, the chapter has introduced software need analysis , detailed design and relevance testing in succession , has realized the data transmission module , data taking-over module and fundamental data handling concretely.
Key
word:Real time data transmission;Socket;DLL;Thread
目 录
第一章 概 述 4
1.1. 关于综合录井仪实时数据传输系统 4
1.2. 系统开发的方法以及系统开发环境 4
第二章 系统开发工具 6
2.1. VISUAL C++6.0介绍 6
2.2. BORLANDDELPHI开发工具介绍 6
第三章 可行性研究及关键技术 8
3.1.
问题的定义 8
3.2. 问题的可行性 8
3.3. WINSOCKET
网络编程 9
3.4. UDP的应用 12
3.5. 动态链接库DLL 13
3.6. 线程的应用 15
第四章 需求分析 17
4.1 系统的总体需求 17
4.2 系统的数据流图 19
4.3 系统的功能模块图 19
第五章 详细设计与实现 21
5.1 综合录井仪系统软件的发送模块设计实现 21
5.2 井场数据终端机接收模块设计实现 26
第六章 系统测试 29
结论 ...........................................................................................30
参考文献 31
致谢 ...........................................................................................32
第一章 概 述
1.1. 关于综合录井仪实时数据传输系统
录井数据实时传输,在国外早已得到应用。为了提高钻井成功率,降低钻井成本,国外八十年代就逐步建立了录井场地与基地间的双向监控和实时数