The invention discloses a universal communication protocol processing method, comprising the following steps that S1, a universal communication protocol processing system is established; S2, an establishment module establishes a universal XML protocol file comprising all communication protocols; S3, an associative array obtaining module loads the universal XML protocol file into a two-dimensionalassociative array of a C++ standard template base, thereby obtaining an associative array comprising the universal XML protocol file; and S4, after an application program receives communication data,a universal communication protocol read module selects corresponding protocols in the associative array according to message headers of the communication data, hexadecimal values of words are obtainedaccording to start/end bytes and start/end bits of the words in the corresponding protocols, and practical values of the words are obtained according to types of the communication data, thereby finishing universal communication protocol processing. According to the method, an intermediate link of paper protocols is cancelled, a protocol analysis error rate can be effectively reduced, the manpowerand time cost is reduced, and moreover, application program architecture is prevented from being bloated.