The invention is applicable to the technical field of data communication, and provides a multi-protocol message parsing method based on a file mode. The method comprises the steps of 1, initializing algorithm memory resources and file handles; 2, reading data flows from a communication port, and storing the data flows in a data caching area of a memory; 3, reading data in the data caching area, writing the data into a message file, and meanwhile clearing an old message file, thus obtaining an updated message file; 4, sharing the message file with all protocol stack parsers; 5, repeating the steps 2-4; 6, reading the data in the updated message file and judging whether the protocol message exists in the data through the distributed file handle by each protocol stack parser; and 7, if the protocol message exists, responding to the application of the message after processing according to the protocol. According to the method provided by the invention, the problem that in the existing single processing mode, the respective protocols are searched in turns and the overflowing of the receive buffer is easily caused so that data loss is caused is solved.