The present invention discloses a data
serialization method, a deserialization method, and an inter-process instruction parameter passing method. For each instruction number and its corresponding instruction
parameter type, the mapping relationship is written in a configuration file, and the structure information of the instruction
parameter type is written. Then, the configuration file is compiled into a binary obj configuration file. In subsequent
serialization and deserialization, the instruction
parameter type corresponding to the instruction number is found through this obj configuration file, and for the instruction parameter, each field is serialized and deserialized according to the preset
serialization method and deserialization method inherent in its field type based on its field composition. It achieves automated
processing of
instruction data of all instruction parameter types, converts the existing manual hard-coding method into a method of leading and
processing data through a configuration file, improves
programming and execution efficiency, is easy to understand and maintain, has high accuracy, and good effects.