Terminal Device TCP Reset for Doze Mode Power Reduction
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
When a terminal device enters doze mode, it cannot send TCP acknowledgment packets, leading to frequent modem and application processor wake-ups due to retransmission packets from the application server, increasing power consumption.
Innovation Solution
The terminal device actively sends a TCP reset packet to the application server after determining the screen has been off for a certain duration, causing the server to disconnect the TCP connection, thereby reducing the number of wake-ups.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Use of energy by moving object
If the terminal device enters doze mode to reduce power consumption, then battery life is extended, but the terminal device cannot send TCP acknowledgment packets, causing frequent wake-ups due to retransmission packets
Solution Approach 1:
The terminal device sends a TCP reset packet before entering doze mode to proactively close the TCP connection. This preliminary action prevents the server from sending retransmission packets during doze mode, ensuring that the TCP connection state is properly managed before the device enters low-power state.
Solution Approach 2:
The terminal device sends a TCP reset packet to preemptively terminate the TCP connection before entering doze mode. This anti-action counteracts the potential problem of the server sending retransmission packets by closing the connection first, preventing the harmful effect of frequent wake-ups.
2Use of energy by moving object
If the terminal device sends TCP reset packet before entering doze mode, then wake-up frequency is reduced, but additional network communication is required
Solution Approach 1:
The terminal device autonomously manages its own TCP connection state by sending reset packets before entering doze mode. This self-service approach allows the device to control its wake-up frequency without requiring external coordination or complex protocol modifications on the server side.
3Reliability
If the terminal device frequently wakes up to handle retransmission packets, then TCP connection reliability is maintained, but battery life is reduced
Solution Approach 1:
The terminal device sends a TCP reset packet before entering doze mode to proactively close the TCP connection. This preliminary action prevents the server from sending retransmission packets during doze mode, ensuring that the TCP connection state is properly managed before the device enters low-power state.
Solution Approach 2:
The patent converts the potential harm of TCP connection interruptions into a benefit by using the reset packet mechanism. Instead of passively suffering from frequent wake-ups due to retransmission packets, the device actively sends a reset packet to control the connection state, transforming the problem into a solution that reduces power consumption while maintaining connection management.
Data Source
Figure 1
Figure 2~3
Figure 4
AI summary
Embodiments of this application disclose a method for reducing power consumption and a device, and relate to the field of mobile terminals, to further reduce power consumption of a terminal device when the terminal device enters a doze mode. A specific solution is as follows: After detecting that screen-off duration of the terminal device is greater than first duration, the terminal device sends a transmission control protocol reset packet to an application server of a to-be-controlled application, so that the application server disconnects a TCP connection to the terminal device. Therefore, after the terminal device enters the doze mode, the power consumption of the terminal device is further reduced. The embodiments of this application are used to reduce power consumption of the terminal device.