计算机网络自动检测控制系统软件开发设计
2017-02-16吕星宇
吕星宇



摘 要: 针对计算机网络自动检测控制系统的远程检测诊断需求,提出并设计了单服务器数据处理、多客户端数据采集的网络化自动检测系统。系统依据软件组件间的数据传输原理及基于DataSocket的技术方法,在LabVIEW环境中给出了基于多线程技术的服务器端和客户端的实现方法。最后通过波形文件的测量对系统进行实验,实验结果表明设计的检测系统是切实可行的。
关键词: 自动检试; DataSocket技术; C/S 模型; 计算机网络化; 多线程技术
中图分类号: TN911?34; TG202 文献标识码: A 文章编号: 1004?373X(2017)01?0099?05
Abstract: Aiming at the requirement of the computer network automatic detection and control system for remote detection and diagnosis, a network automatic detection system with single server data processing and multiple clients data acquisition is proposed and designed. According to the data transmission principle among the software components and the technologies based on DataSocket, the multithreading technology based implementation method on the server side and client side is presented in LabVIEW environment. The experiment of the system was carried out by the measurement of the waveform file. The experimental results show that the detection system is feasible.
Keywords: automatic test; DataSocket technology; C/S model; computer network; multithreading technology
0 引 言
随着虚拟仪器技术及计算机网络通信技术的快速发展,计算机网络自动检测系统已成为发展趋势。本文在对DataSocket技术进行研究的基础上,设计了便于服务器和网络进行实时数据交换的通信模块。同时运用软件工程的设计思想,以LabVIEW为平台开发了操作简便、界面友好的客户端程序。实现了对装备的远程测试诊断,从而提高了测试效率,降低了测试成本,对各领域通信保障能力的提高具有重要意义。
1 系统的总体方案设计
1.1 系统的总体结构
本文采用如图1所示的组网方式构建网络化自动检测系统,不同的用户在各自地域利用检测设备对被测对象进行数据采集,并通过网络连接请求服务器进行数据分析并返回分析结果。
每一个自动检测的实现都需要整个系统协同工作,各主要功能单元的分工如下:
设备用户端:主要负责用户接口;
服务器端:从用户端接收用户的请求信息并对信息进行处理,得出处理结果,并返回给客户端;……
