Research on Stability,Reliability and Efficiency of Communication Programming Based on Socket in Biogas Remote Monitoring System

Song Bing-yue · China Biogas · 2010

The building of remote monitoring system is the basic requirement of the modern biogas project.The key step of this system is the network communication.Due to the restrictions in rural areas,the unstability of the network and the cost of communication network are becoming a problem.It is a better to design an appropriate network communications program according to the data characteristics of the biogas remote monitoring system,for they directly related to the stability,reliability and efficiency of the whole system.This paper showed a way to keep the stability of communication by the short frame format data communicating,biogas site ID verification,and re-connection mechanism for network interruption etc.It ensures the reliability of data through setting the bytes of the command word,data frame length,and the checksum etc.It improves the efficiency by setting timer in software,preventing multiple connections,as well as,the heartbeat mechanism.By designing the communication protocol,the data frame processing technology,and the architecture of client and server software,all of these measures are accomplished.It was proved feasibly by debugging.

Read the paper · More papers on PaperTik