首页 | 官方网站   微博 | 高级检索  
     

波浪浮标服务器端软件设计
引用本文:吴子岳,黄耀耀.波浪浮标服务器端软件设计[J].微计算机信息,2012(1):15-17,41.
作者姓名:吴子岳  黄耀耀
作者单位:上海海洋大学工程学院
基金项目:中国水产科学院开放课题基金资助(FWT-200604)
摘    要:传统采用VHF通信的波浪浮标系统需要架设岸站接收机,采用GPRS无线通信解决方案的波浪浮标系统可以省去岸站接收机的费用,并且性能更加稳定可靠。本文主要介绍了服务器端通信模块的设计、数据处理处理模块的设计。软件的编辑使用VisualC++6.0软件,通信模块的设计采用MFC封装的CSocket类,CSocket类派生于完全封装了WindowsSocketsAPI函数的CAsyncSocket类,采用CSocket类可以更加方便地编写网络应用程序。数据处理模块采用了MATLAB与VisualC++混合编程,利用MATLAB留有的动态链接库DLL外部接口可以很方便地将MATLAB功能嵌入到VisualC++的MFC工程中,利用MATLAB与VisualC++混合编程可以方便地进行海浪频谱分析。

关 键 词:波浪浮标  频谱分析  VisualC++  MATLAB  混合编程

Wave Buoy Server-Side Software Design
WU Zi-yue HUANG Yao-yao.Wave Buoy Server-Side Software Design[J].Control & Automation,2012(1):15-17,41.
Authors:WU Zi-yue HUANG Yao-yao
Affiliation:WU Zi-yue HUANG Yao-yao(College of Engineering Science & Technology,Shanghai Ocean University,Shanghai 201306,China)
Abstract:Wave buoy system with traditional VHF communication needs to set up offshore station to receive data,the expense can be saved after using GPRS wireless communication solution,moreover the performance of wave buoy system is more stable and reliable.This paper describes the software design on the server-side of wave buoy including communication module,data processing module.All the source codes are programmed based on tool software Visual C++ 6.0.Communication module is designed with class CSocket which is encapsulated by MFC.Class CSocket derives from class CAsyncSocket which completely encapsulates the Windows Sockets API functions.Class CSocket enhances the Convenience of network programming.Data processing module is designed with MATLAB and Visual C++ mixed programming.With the use of dynamic link library(DLL) the external interface left by MATLAB,the MATLAB function can be easily embedded into Visual C++ MFC project.Wave spectrum analysis can be easily handled by using MATLAB and Visual C++ mixed programming.
Keywords:wave buoy  spectrum analysis  Visual C++  MATLAB  mixed programming
本文献已被 CNKI 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号