计算机工程与设计
計算機工程與設計
계산궤공정여설계
COMPUTER ENGINEERING AND DESIGN
2015年
6期
1401-1406
,共6页
位置姿态测量系统%实时监控软件%多线程通信%套接字%串口编程控件
位置姿態測量繫統%實時鑑控軟件%多線程通信%套接字%串口編程控件
위치자태측량계통%실시감공연건%다선정통신%투접자%천구편정공건
POS%real-time monitoring software%multi-thread%Windows Socket%MSComm
为实现对机载POS (position and orientation system)的实时监控,提出POS实时监控软件的设计。针对 POS系统大容量的数据传输以及系统复杂性导致单一通信方式无法有效完成对机载POS的监控任务的问题,提出多线程通信方法。针对高速、大容量的数据传输问题,采用Windows Socket控件建立基于TCP/IP协议的以太网通信;针对实时系统状态监控问题,利用MSComm (Microsoft communications control)控件设计串口通信。与机载 POS的联调测试结果表明了该设计的可行性和有效性。
為實現對機載POS (position and orientation system)的實時鑑控,提齣POS實時鑑控軟件的設計。針對 POS繫統大容量的數據傳輸以及繫統複雜性導緻單一通信方式無法有效完成對機載POS的鑑控任務的問題,提齣多線程通信方法。針對高速、大容量的數據傳輸問題,採用Windows Socket控件建立基于TCP/IP協議的以太網通信;針對實時繫統狀態鑑控問題,利用MSComm (Microsoft communications control)控件設計串口通信。與機載 POS的聯調測試結果錶明瞭該設計的可行性和有效性。
위실현대궤재POS (position and orientation system)적실시감공,제출POS실시감공연건적설계。침대 POS계통대용량적수거전수이급계통복잡성도치단일통신방식무법유효완성대궤재POS적감공임무적문제,제출다선정통신방법。침대고속、대용량적수거전수문제,채용Windows Socket공건건립기우TCP/IP협의적이태망통신;침대실시계통상태감공문제,이용MSComm (Microsoft communications control)공건설계천구통신。여궤재 POS적련조측시결과표명료해설계적가행성화유효성。
To monitor the working state of the POS ,a design of monitoring software for the POS was proposed .Based on the theory of multi‐thread ,a method of multi‐thread parallel communication was put forward .Based on the design theory of Win‐dows Socket as well as MSComm ,Windows Socket was used to design TCP/IP protocol based data transmission and storage via network communication ,and MSComm control was used to design serial communication to realize real‐time monitoring system . Experimental results show that the proposed methods can provide a feasible way of solving the parallel communication for the monitor computer and the POS .