地震地磁观测与研究
地震地磁觀測與研究
지진지자관측여연구
Seismological and Geomagnetic Observation and Research
2015年
4期
150-153
,共4页
网络传输%实时监控%数据中断
網絡傳輸%實時鑑控%數據中斷
망락전수%실시감공%수거중단
network transmission%real monitoring%data interrupt
以C语言为基础,通过执行循环ping命令,通过连接IP地址统计网络连接环境下转发服务器的丢包数,获得规定时间内的丢包率,实现日志记录,判断是网络时延、丢包或网络中断,在网络中断时及时报警,达到网络状态实时监控,快速发现数据断记,及时修复网络,并恢复数据.
以C語言為基礎,通過執行循環ping命令,通過連接IP地阯統計網絡連接環境下轉髮服務器的丟包數,穫得規定時間內的丟包率,實現日誌記錄,判斷是網絡時延、丟包或網絡中斷,在網絡中斷時及時報警,達到網絡狀態實時鑑控,快速髮現數據斷記,及時脩複網絡,併恢複數據.
이C어언위기출,통과집행순배ping명령,통과련접IP지지통계망락련접배경하전발복무기적주포수,획득규정시간내적주포솔,실현일지기록,판단시망락시연、주포혹망락중단,재망락중단시급시보경,체도망락상태실시감공,쾌속발현수거단기,급시수복망락,병회복수거.
In basis for C language,a data flow monitoring program for virtual regional network is developed. Through the ping command execution cycle,connecting to forward server of IP address,for network of the number of packet loss executing statistics,the program can obtained the packet loss rate within a specified time, and complements the functions such as daily logging and the judgment of network time delay or packet losing, as well as fault interrupt. As the network fault interrupt is found, it can give an alarm in sound. The software realizes the real monitoring of network status, with the capability of rapidly finding data interrupt and seasonably repairing data.