The invention discloses an universal controller of a spaceflight carrier rocket, comprising a control plate, a time sequence plate and an attitude control plate, wherein the time sequence plate comprises M paths of ignition units; the attitude control plate comprises N paths of attitude control drive modules, N paths of attitude control recovery modules, pressure collection modules and remote -measuring power distribution and interruption modules; the control plate comprises a processor DSP (Digital Signal Processor), a programmable logic controller CPLD (Complex Programmable Logic Device), an isolated power supply, an analogue switch, an isolation amplifier, M paths of time sequence recovery modules, M paths of ignition recovery modules, P paths of indication input modules, M paths of time sequence drive modules, a rudder control output module, a rocket-borne CAN isolation drive module, and a ground CAN isolation drive module. The controller is characterized in that controllers in four cabins are combined into one universal controller and has the advantages of modular design, good universality and strong compatibility.