Research and Application of TCP/IP Socket Message Communication Middleware
The application of a message communication middleware based on TCP/IP Socket in ZNIS Special Rod Process Control System(PCS)is elaborated.The message communication middleware adopts TCP/IP protocol and a static socket synchronous communication mechanism.By creating a Socket,binding,listening,receiving information,and closing the socket,data interaction with MES and PLC systems is achieved,and communication message data is verified,cleaned,converted,and stored.This article introduces the communication protocol of messages from the perspectives of message def-inition,data format,communication process,etc.Under the premise of following this communication protocol,message communication can be carried out between applications developed in different operating systems and programming langua-ges.It provides a simple,easy-to-use,efficient and reliable distributed application development and communication plat-form,which can quickly and efficiently develop stable and reliable distributed applications.