(Through the research of various network systems and their protocol systems, a method for formulating custom protocols is proposed. The method defines a general protocol structure to ensure that the protocol system is well organized and manages easily. The protocol definition thinking of the method "Make the defined protocol extensible and reusable. Through an example", it details the various components of the custom protocol structure" and the meaning and usage of the primary fields in the protocol.)