The invention discloses a vertical switching method based on dynamic weight optimization in a heterogeneous wireless network. Aiming at the problems that the mobility of terminals and the time-varying characteristics of network states lead to dynamic performance, different service types have personalized requirements for networks, and poor vertical switching performance is caused, performance optimization is carried out from the following aspects: firstly, separately calculating subjective weights and objective weights of network parameters by using an analytic hierarchy process (AHP) and an entropy evaluation method, and initializing the combined weights based on a linear single objective optimization (SOP) theory; secondly, introducing weight adjustment factors, and dynamically adjusting the weight of each network parameter to adapt to the dynamic change performance of network conditions; and finally, selecting an optimum access network by adopting utility functions with adjustable switching thresholds based on the personalized requirements of a terminal. Experimental results show that by adopting the vertical switching method disclosed by the invention, the switching blocking rate and call drop rate of the terminal can be effectively reduced, unnecessary switching can be reduced, 'ping-pong effects' can be reduced, and the comprehensive performance of vertical switching can be improved.