The invention discloses a control method for reducing the overflow protection time of a hydraulic system. In a working stroke of a hydraulic cylinder, when the system pressure value is greater than the set value P2, the PLC electric control unit calculates the instantaneous time of the system pressure value Pt Change rate Kt, when the instantaneous change rate Kt is less than the set value A0, that is, the system pressure rises slowly, it is determined that the hydraulic cylinder moves to the maximum stroke position, and the PLC electronic control unit issues an instruction to de-energize the corresponding electromagnet and stop the power supply. Oil, using this control method, no matter how the load changes, it can always make the piston rod move in place, and at the same time reduce the high pressure overflow time, reduce useless power and heat, improve the efficiency of the hydraulic system, reduce the oil temperature, reduce the operating cycle time, and improve the operating efficiency. Beats, improve work efficiency.