Patent attributes
Embodiments of this application relate to a data processing method and a terminal. The method includes: obtaining a first network wakeup parameter, where the first network wakeup parameter is used to wake up an application program; performing reconfiguration processing on the first network wakeup parameter based on a preset first configuration condition to obtain a second network wakeup parameter; and configuring a driver of the terminal based on the second network wakeup parameter. The second network wakeup parameter is written into Wi-Fi firmware, so that the Wi-Fi firmware directly performs processing without waking up the application program when the first network wakeup parameter is received next time. Therefore, power consumption of the terminal is reduced, and a standby time of the terminal is prolonged.