科技导报
科技導報
과기도보
SCIENCE & TECHNOLOGY REVIEW
2012年
36期
38-41
,共4页
成像测井仪%调试台架%C/S模式%Winsock控件
成像測井儀%調試檯架%C/S模式%Winsock控件
성상측정의%조시태가%C/S모식%Winsock공건
根据微电阻率扫描测井仪调试台架功能需求,给出一种基于C/S模式的调试台架通信接口程序设计方案.通过对B/S、C/S通信模式、流式和数据报式套接字的特点对比,确定基于流式套接字C/S模式的接口通信方式.为解决简单流式套接字的阻塞问题,前端机引入多线程技术实现通信过程独立.为提高接口的扩展性和可移植性,上位机程序采用Winsock控件实现通信功能.接口的测试证明其具有很好的稳定性和时效性,并且该接口设计结构简单、性能优秀、可移植性好,可以直接应用于同类调试台架和类似结构的测试系统.
根據微電阻率掃描測井儀調試檯架功能需求,給齣一種基于C/S模式的調試檯架通信接口程序設計方案.通過對B/S、C/S通信模式、流式和數據報式套接字的特點對比,確定基于流式套接字C/S模式的接口通信方式.為解決簡單流式套接字的阻塞問題,前耑機引入多線程技術實現通信過程獨立.為提高接口的擴展性和可移植性,上位機程序採用Winsock控件實現通信功能.接口的測試證明其具有很好的穩定性和時效性,併且該接口設計結構簡單、性能優秀、可移植性好,可以直接應用于同類調試檯架和類似結構的測試繫統.
근거미전조솔소묘측정의조시태가공능수구,급출일충기우C/S모식적조시태가통신접구정서설계방안.통과대B/S、C/S통신모식、류식화수거보식투접자적특점대비,학정기우류식투접자C/S모식적접구통신방식.위해결간단류식투접자적조새문제,전단궤인입다선정기술실현통신과정독립.위제고접구적확전성화가이식성,상위궤정서채용Winsock공건실현통신공능.접구적측시증명기구유흔호적은정성화시효성,병차해접구설계결구간단、성능우수、가이식성호,가이직접응용우동류조시태가화유사결구적측시계통.