Construction of protocol testing platform for supporting TD SCDMA terminal protocol

The method includes: in term of the functionality to be tested, determining the RRC layer and NAS layer signaling process required to be simulated by script taken as the object instance of functional entity of RRC layer and NAS layer, and dividing the signaling process into multi reusable signaling sub-processes; wherein, each signaling sub-process is separately implemented by one script; thereby, multi scripts are generate; the scripts generated according to the functionality to be tested are saved and managed in the script base; the protocol stack control module determines the state corresponding to each script in term of composition of the script; in term of protocol completion status machine, implementing the jump between states, and thereby implementing the protocol stack completes signaling process of a specific function by controlling the scheduling of all scripts; and the protocol stack executes relevant function in term of command of external control.