The invention discloses a thermal repair method, a device, a storage medium and a terminal of an application program. The method comprises the following steps: receiving a thermal repair message sentby a server end, wherein, the thermal repair message is an IM message of a preset type; according to the hot repair message, calling the hot repair detection interface and downloading the hot repair script in the background; executing hot repair script. To prevent user shutdown of the message push feature from affecting the timeliness of the repair, through the IM message sent by the server end, taking advantage of the long connection of IM messages, to notify running App that there are hot fix scripts to download, after receiving the IM message, the terminal invokes the hot repair detection interface, downloads the corresponding hot repair script in the background, and repairs the problem in time without disturbing the user, thereby avoiding the problem of extra crashes caused by the failure of hot repair in time, thereby affecting the user's use experience.