首页 | 本学科首页   官方微博 | 高级检索  
     检索      

在VC++6.0中利用CSocket类和Access2000数据库开发网络监控系统
引用本文:谷庆华,李成贵.在VC++6.0中利用CSocket类和Access2000数据库开发网络监控系统[J].沈阳航空工业学院学报,2007,24(3):36-41.
作者姓名:谷庆华  李成贵
作者单位:北京航空航天大学,仪器科学与光电工程学院,北京,100083
摘    要:在VC 6.0环境下,有效利用CSocket类,开发了基于TCP协议客户机/服务器模式网络实时监控系统,客户端将采集的数据通过网络发送给远方的服务器端,以实现远程监控。服务器端以数字和动态曲线方式实时显示接收到的数据,并将数据存储在Access2000数据库中。系统数据库模块采用标准的SQL结构化查询语言,选用ODBC数据库访问技术,存储速度快,内存消耗少;监测曲线模块设计过程中采用先在内存中绘图,然后复制到显示设备环境中,并利用背景作为坐标网格,通过图形移动的方式,每次只需画出最后一个点,有效的提高了图形的显示速度。

关 键 词:客户机/服务器模式  数据库
文章编号:1007-1385(2007)03-0036-06
收稿时间:2007-01-12
修稿时间:2007-01-12

Network monitoring system development using CSocket class and Access2000 database in VC++6.0
GU Qing-hua,LI Cheng-gui.Network monitoring system development using CSocket class and Access2000 database in VC++6.0[J].Journal of Shenyang Institute of Aeronautical Engineering,2007,24(3):36-41.
Authors:GU Qing-hua  LI Cheng-gui
Institution:Instrument Science and Photoelectricity Engineering College, Beihang University ,Beijing 100083
Abstract:The basic principles and concepts of Socket are introduced,the common methods of network communication with WinSock are discussed.To solve problems existing in communication through internet,the network communication system of C/S mode based on TCP protocol was developed in VC 6.0 environment.Data of Client were sent to remote server through internet to realize remote control.The standard SQL structure inquire language and ODBC database access technology were adopted by the database module of the system which has higher memory speed and occupy much less memory space.The bitmap of the monitoring curve module of the system was drawn first in the memory,then it was copied to the device context.By picture moving and using context as coordinated grid,only the last point needed to be drawn each time.,so the speed of picture displaying was advanced.
Keywords:CSocket  VC    ODBC
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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