摘要
文章针对轴系试验台架监测数据备份处理软件算法存在的不足,特别是文本类型数据的备份处理机制方法,设计了一种新的监测数据备份方法。该方法基于Windows操作系统提供的文件系统消息监视组件,在开发的备份处理程序中获取设定目录下的文件消息,获取到相应的文件句柄,实现对试验台架文本类型数据文件的本地备份。再利用TCP/IP协议实现了数据的异地双机备份。同时实现了网络异常中断等特殊情况下的数据可靠备份处理方法。
In view of the deficiencies in the algorithm of the backup processing software for the monitoring data of the shafting test bench,especially the backup processing mechanism method of the text type data,a new monitoring data backup method is designed.The method is based on the file system message monitoring component provided by the windows operating system,obtains the file information in the set directory in the developed backup processing program,obtains the corresponding file handle,and realizes the local backup of the text type data file of the test bench.Then use the TCP/IP protocol to realize the data backup in different places.At the same time,reliable data backup processing methods under special circumstances such as abnormal network interruption are realized.
作者
罗恒
王金璐
孙锋
周建辉
刘杰
LUO Heng;WANGJinlu;SUN Feng;ZHOU Jianhui;LIU Jie
出处
《中国修船》
2021年第3期23-26,共4页
China Shiprepair