The Research and Application of a New TCP Client Model Based on Dynamic Communication Unit

A new communication model of TCP client has been constructed to describe the network communication which has complex protocols in this paper. Here the concept of communication unit is proposed so that the complex protocols can be described by the units. Analyzed communication units pattern of the complex protocol by means of interpretive structure modeling, it turns out that it will be a much more effective way to add communication units dynamically into the processing thread and at the same time the process could be simplified. Based on this model a general TCP client module has been designed with lower-layer-protocol encapsulated inside and convenient interfaces accessible. This module has been applied in the city elevator remote monitoring system, and it has a very good performance because of its simple interfaces, stabilization and high effectiveness.