节点文献
VSAT卫星通信终端站管理软件的设计与实现
The Design and Implementation of Terminal Management Software of VSAT Satellite Communication
【作者】 郭亮;
【作者基本信息】 上海交通大学 , 软件工程(专业学位), 2017, 硕士
【摘要】 近年来卫星通信技术持续高速发展,现代社会对卫星通信的需求不断增加。特别是在遇到各种突发情况发生时,传统通信设施遭到破坏,并且短时间内无法恢复。这时,机动灵活的卫星移动通信设备可以在短时间内建立通信链接,进行高质量的远程通信。但是卫星频率资源租用成本较高,并且以现有的软硬件系统,终端站申请通信操作较为不便。为此,本单位提出卫星通信网络管理系统。它是一个KU频段星状VSAT系统,由一个网管主站和众多远程终端站组成。每个终端站相互之间建立通信链路时,都需要向网管主站发出申请,由网管主站分配信道。这样就可以有效利用卫星转发器频率资源,降低用户使用费用、方便用户操作与管理各个终端站设备。为了实现这一目标,终端站需要一个专门用于网络管理的调制解调器与主站保持连接。当终端站有通信需求时,可由此设备向主站发起通信申请,待主站确认之后去设置另外一个专门用于通信的调制解调器设备,以此方式建立终端站之间的链路。由于本单位已有相关的硬件设备,但缺乏上层通信协议以及可供用户操作的简单易用的界面。因此,需要设计主站与终端站之间相应的通信协议以及在此基础之上开发一套界面友好、操作简单、性能稳定的管理软件用于处理相关通信协议,管理终端站设备以及提供较为简单、友好的操作接口。其中通信协议是该软件的基础,无论是终端站与主站的远程通信还是本地的设备参数监控都需要通信协议。本文将会讨论如何设计本地监控协议与远程通信协议,会重点讨论远端通信需要哪些具体的通信流程。终端站管理软件通过串口与网管调制解调器和通信调制解调器相连,因此,串口通信是本软件的基础,任何通信协议的发送与接收均需要通过串口。但是现实中却没有满足需求比较容易使用的串口通信模块可供使用。为此,本文将以现代软件工程的方法对Windows串口通信API进行抽象与封装从而使串口通信变得简单易用、高效并且稳定。在串口通信模块和通信协议基础之上,本文将讨论如何进行界面设计使界面简单易用并且使界面显示部分与数据处理分开。对于通信软件而言,通信协议的实现是关键。对于本地监控而言,本文会讨论如何用何种方式定时发送本地查询命令,如何用多线程的方法实现超时机制的监控,如何对通信异常进行处理。对于远程通信而言,将会讨论如何设计与实现既定的远程通信协议。最后分别对模块进行详细测试,会根据模块的特点设计相应的测试方法。由于该软件主要处理通信数据,而通信数据的异常在真实环境中又不容易出现。因此,本文提出了利用串口调试助手模拟终端站或主站,这样可以很方便的测试通信过程中的异常,更容易发现潜在的风险。最终综合测试的结果表明本软件可以比较直观的方式的显示硬件设备的工作状态,可以很方便的与远端站通信。
【Abstract】 With high speed development of satellite communication system,the requirements for this are increasing in modern society.In emergency case,traditional communication equipment is damaged and can’t be recovered in short time.It is established communication link easily by flexible satellite communication device.But the satellite frequency resource rent expenses are high,and the terminal station for communication operation is inconvenient with the existing software and hardware system.So,my company proposes satellite communication network management system.The satellite communication network in this paper is a KU band VSAT system.It is comprised of a hub station and many terminal stations.Hub station is center station and manages all registered terminal stations.The communication link between any two terminal stations is established by hub station.This will make better use of satellite frequency band resource,reduce user cost and be convenient to use and manage terminal station.In order to realize this object,the terminal station needs a dedicated network management modem to keep connection with hub station.The terminal station can apply communication by this network management modem when it needs.After the hub station confirms,the dedicated communication modem can be set to communicate with another terminal station.Since my company has related hardware,but it lacks communication protocol and easy user interface.Therefore,it need design communication protocols between the hub station and terminal station and develop a friendly,simple,stable performance management software to process related communication protocol,manage terminal devices and support simple and friendly operation interface.Communication protocol is the basis of the software.whatever remote communication between hub station or terminal station or local device parameters,it will need communication protocol.It will discuss how to design remote communication protocol and local monitor protocol in this paper.It will put emphasis on discussing remote communication needs what kind of communication workflow.The terminal management software connects with the network management modem and communication modem by serial port.So,serial port communication is the basis of this software.Any data that will be sent or received relies on serial port.But there is no existing serial port module that meets my requirement for use.It will discuss how to encapsulate windows serial API with modern software technology to make it easy to use,efficient and stability.Based on the serial communication module and the communication protocol,it will discuss how to design user interface to make the interface easy to use and make the interface display part separate from the data process.For the communication software,the realization of the communication protocol is the key.For local monitor,it will discuss how to send the local query command,how to realize the timeout mechanism by multi threads and how to handle the exception communication.For remote communication,it will discuss how to design and implement a set of remote communication protocols.Finally,it will discuss software test.It will design testing methods according to the characteristics of the modules.Due to the software mainly handles the communication data,the exception communication data is not easy to appear in real environment.Therefore,it will use serial assistant software to simulate exception communication cases.This will find potential risk more easily.The final integrative test results show that the software can accurately reflect the working status of hardware devices and very convenient to communicate with the other remote station.