ABSTRACT

Data communication protocol also known as data communication control protocol, is a series of agreements to ensure eective and reliable communication between the two sides of communication networks. These agreements include format and sequence of data, data transmission confirmation or rejection, error detection, retransmission control and inquiry operation, and so on. Currently, most wireless sensor networks (WSNs) are developed for specific applications, so the data communication protocols are also specific. Most data protocols of WSNs can adapt to the change of terminal ID by configuration files or dialing. For this kind of communication protocols, when sensor types increase, the type of acquisition terminal will increase correspondingly, usually classify terminal types by dividing all terminal ID numbers; every time when the terminal type is changed, the terminal ID numbers have to be divided, which is troublesome. With the terminal types increasing more and more, this kind of data communication protocols may not be able to assure eective communication of every terminal. As for this question, somebody has designed a data communication protocol with the frame type code to distinguish dierent types of data frames, which can be used to classify the terminal types. But when how many parameters’ data the terminal collect is changed, this protocol cannot achieve eective communication. If by modifying programs to adjust the protocols, then data display and analysis such application programs must also be modified, which greatly reduces

the eciency of software development. Therefore, to design a relatively common data communication protocol is very important, when the demand of terminals changes, including changes of the terminal ID, the parameter type and the number of parameters, the protocol can achieve eective communication with no change of programs. Reasonable and eective data protocol can improve eciency of network application. This paper designed a data communication protocol for WSNs based on the analysis of existing data communication protocol, which can achieve eective communication without modifying the existing programs when the demand of terminal is changed.