Method and equipment for reducing power consumption

文档序号:1549421 发布日期:2020-01-17 浏览:21次 中文

阅读说明:本技术 一种降低耗电的方法和设备 (Method and equipment for reducing power consumption ) 是由 林大伟 陈磊 于 2018-03-29 设计创作,主要内容包括:本申请实施例公开了一种降低耗电的方法和设备,涉及移动终端领域,解决了在终端设备进入睡眠模式,进一步地降低终端设备的耗电的问题。具体方案为:在终端设备检测到终端设备的黑屏时长大于第一时长后,向待管控应用的应用服务器发送传输控制协议重置报文,使应用服务器断开与终端设备的TCP连接,从而,实现在终端设备进入睡眠模式后,进一步地降低终端设备的耗电。本申请实施例用于终端设备省电的过程中。(The embodiment of the application discloses a method and equipment for reducing power consumption, relates to the field of mobile terminals, and solves the problem that the power consumption of terminal equipment is further reduced when the terminal equipment enters a sleep mode. The specific scheme is as follows: when the terminal device detects that the black screen duration of the terminal device is longer than the first duration, a transmission control protocol reset message is sent to an application server to be managed and controlled, so that the application server is disconnected from TCP (transmission control protocol) of the terminal device, and therefore, after the terminal device enters a sleep mode, the power consumption of the terminal device is further reduced. The embodiment of the application is used in the power saving process of the terminal equipment.)

A method for reducing power consumption, which is applied to a terminal device or a chip built in the terminal device, wherein the terminal device is not connected with a power supply, the method comprising:

detecting that the black screen duration of the terminal equipment is longer than a first duration, wherein the first duration is shorter than the duration of the terminal equipment entering the idle state of the sleep mode;

and sending a Transmission Control Protocol (TCP) reset message to an application server of the application to be controlled, wherein the TCP reset message is used for indicating the application server to disconnect the TCP connection with the terminal equipment.

The method according to claim 1, wherein after the detecting that the screen-blacking duration of the terminal device is greater than the first duration, the method further comprises:

determining the application to be managed and controlled according to an application list to be managed and controlled, wherein the application list to be managed and controlled comprises at least one application to be managed and controlled.

The method according to claim 1 or 2, characterized in that the method further comprises:

and determining the application type of the application to be managed and controlled.

The method according to claim 3, wherein the sending the TCP reset message to the application server of the application to be managed comprises:

and sending the transmission control protocol reset message to the application server of the application to be controlled according to the application type of the application to be controlled.

The method according to claim 4, wherein before the sending a transmission control protocol reset message to the application server of the application to be managed according to the application type of the application to be managed, the method further comprises:

detecting that the screen blacking duration of the terminal equipment is greater than or equal to a second duration, the terminal equipment does not move, the second duration is greater than the first duration, and the second duration is equal to the duration of the terminal equipment entering the idle state of the sleep mode.

The method according to any one of claims 1 to 5, wherein after sending the TCP reset message to the application server of the application to be managed, the method further comprises:

receiving a transmission control protocol retransmission message sent by the application server of the application to be controlled, wherein the transmission control protocol retransmission message is used for instructing the terminal device to retransmit a transmission control protocol response message to the application server of the application to be controlled;

and sending the transmission control protocol reset message to the application server of the application to be controlled.

A terminal device, wherein the terminal device is not connected to a power source, the terminal device comprising:

the processing unit is used for detecting that the black screen duration of the terminal equipment is longer than a first duration, and the first duration is shorter than the duration of the terminal equipment entering the idle state of the sleep mode;

and the sending unit is used for sending a Transmission Control Protocol (TCP) reset message to the application server to be controlled and applied, wherein the TCP reset message is used for indicating the application server to disconnect the TCP connection with the terminal equipment.

The terminal device of claim 7,

the processing unit is further configured to determine the application to be managed according to a list of applications to be managed, where the list of applications to be managed includes at least one application to be managed.

The terminal device according to claim 7 or 8,

the processing unit is further configured to determine an application type of the application to be managed and controlled.

The terminal device of claim 9, wherein the sending unit is specifically configured to:

and sending the transmission control protocol reset message to the application server of the application to be controlled according to the application type of the application to be controlled.

The terminal device of claim 10,

the processing unit is further configured to detect that a screen blacking duration of the terminal device is greater than or equal to a second duration, the terminal device is not moved, the second duration is greater than the first duration, and the second duration is equal to a duration when the terminal device enters the idle state of the sleep mode.

The terminal device according to any of claims 7-11, wherein the terminal device further comprises:

a receiving unit, configured to receive a transmission control protocol retransmission packet sent by the application server of the application to be controlled, where the transmission control protocol retransmission packet is used to instruct the terminal device to retransmit a transmission control protocol response packet to the application server of the application to be controlled;

the sending unit is further configured to send the transmission control protocol reset packet to the application server of the application to be managed and controlled.

A terminal device comprising a processor and a memory, the memory being configured to store instructions, the processor being configured to execute the instructions to cause the terminal device to perform the method of any of claims 1-6.

A computer-readable storage medium, comprising: computer software instructions;

the computer software instructions, when run in a terminal device or a chip built in a terminal device, cause the terminal device to perform the method according to any one of claims 1-6.

A computer program product comprising instructions for causing a terminal device to perform the method according to any one of claims 1-6 when the computer program product is run in the terminal device or a chip built into the terminal device.

1页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:触觉装置操作

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!