The invention discloses a safety production comprehensive supervisory platform
data transmission method which is used for achieving
data transmission between a
client side and a central
server, namely a
server side. The method comprises the following steps that the
client side reads a configuration file, safety production comprehensive data are analyzed, after a
client side position
flag field value is obtained or updated according to a position
flag field value fed back by the
server side, the analyzed data generate
text message data and the
text message data are encrypted, and then the
text message data are sent to the
server side through Socket communication; after the
server side receives the data, the
data content is analyzed to be in a target
data format to be judged whether it meets writing in conditions, the position
flag field value which is not written in is returned to the
client side, or after the data are written in, the position flag field value which is successfully processed is returned to the
client side, and meanwhile the position flag field value is stored and the
server side position flag field value is updated. The method supports calling of various mainstream databases, various text protocols and data interfaces which are popular currently, and can cross platforms and carry out distributed deployment.