Injection of high-Z impurities into plasma has been proved to be able to reduce the localized thermal load and mechanical forces on the in-vessel components and the vacuum vessel, caused by disruptions in Tokamaks. An advanced prediction and mitigation system of disruption is implemented in HL-2A to safely shut down plasmas by using the laser ablation of high-Z impurities with a perturbation real-time measuring and processing system. The injection is usually triggered by the amplitude and frequency of the MHD perturbation field which is detected with a Mirnov coil and leads to the onset of a mitigated disruption within a few milliseconds. It could be a simple and potential approach to significantly reducing the plasma thermal energy and magnetic energy before a disruption, thereby achieving safe plasma termination. The plasma response to impurity injection, a mechanism for improving plasma thermal and current quench in major disruptions, the design of the disruption prediction warner, and an evaluation of the mitigation success rate are discussed in the present paper.