The invention discloses an IEC61850 design method based on electric power monitoring. It is based on the messages sent by various MMS message servers, correctly encodes and decodes the MMS protocol, and then encodes and decodes the MMS messages. The whole system The design process includes the following steps: a. Process of parsing messages; b. MMS software design; c. Message response process; d. The entire IEC61850 dynamic library data stream communication scheme, which is an asynchronous communication method, analyzes and processes messages and Sending the message and responding at the same time, after receiving the server message, respond to the message, analyze all kinds of messages when parsing the message, get the analysis result, and finally store the obtained structure. The present invention extracts data while checking, and its storage method adopts a storage method in which dynamic storage space, agreed data type, server data and redundant data backup are stored at the same time, an efficient and safe message error processing scheme, and further improves the safety and security of the system reliability.