Method for reducing power consumption, terminal device, network device and storage medium
The terminal device determines the communication method, mobile status and service data, determines whether there is a user-aware service, and sends control instructions to the network device, solving the problem of frequent wake-up of terminal devices due to abnormal wake-up messages, and achieving reduced power consumption and improved user experience.
Patent Information
- Application Number
- CN202311385999.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-23
- Publication Date
- 2025-05-02
- Estimated Expiration
- 2043-10-23
AI Technical Summary
Terminal devices are frequently waken up after the screen is turned off, resulting in an increase in power consumption and affecting the user experience.
The terminal device determines whether there is a user-aware service by judging the communication method, mobile status and service data. If no user can perceive the service and receives an abnormal wake-up message, the terminal device sends a first control command to the network device, carries the wake-up source information, and instructs the network device to filter the abnormal wake-up message.
It effectively avoids frequent wake-up of terminal devices due to abnormal wake-up messages, reduces power consumption, extends standby time, and improves user experience.
Smart Images

Figure CN119922657A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communications, and in particular to a method for reducing power consumption, a terminal device, a network device, and a storage medium. Background Art
[0002] After the terminal device turns off the screen, it is in a system dormant state (for example, turning off the screen at night or when the user is working). After receiving a message, it will exit the system dormant state, causing the terminal device to be awakened. The terminal device consumes a certain amount of power when awakened. If the terminal device receives multiple messages in a short period of time, it will be awakened multiple times, causing the terminal device to consume too much power, reducing the standby time of the terminal device and affecting the user experience. Summary of the invention
[0003] In view of the above, it is necessary to provide a method for reducing power consumption, a terminal device, a network device and a storage medium to reduce the problem of excessive power consumption when the terminal device is frequently awakened.
[0004] In a first aspect, an embodiment of the present application provides a method for reducing power consumption, which is applied to a communication system, wherein the communication system includes a terminal device and a network device, and the method includes: when the terminal device confirms that the network device has a message filtering function, the terminal device obtains the communication mode, mobile status and service data of the terminal device; based on the communication mode, mobile status and service data, the terminal device determines whether there is a user-perceivable service; if an abnormal wake-up message is received from the network device and the terminal device has no user-perceivable service, the terminal device sends a first control instruction to the network device, and the first control instruction carries the wake-up source information of the abnormal wake-up message; the network device parses the first control instruction and obtains the wake-up source information, and filters the message sent from the network server to the terminal device according to the wake-up source information. In the above technical solution, when the terminal device determines that the network device has the function of supporting message filtering, the terminal device receives an abnormal wake-up message, and the terminal device has no user-perceivable service, the terminal device sends a first control instruction to the network device. The network device filters the abnormal wake-up message sent to the terminal device according to the first control instruction, and does not send the abnormal wake-up message to the terminal device, thereby avoiding the terminal device being awakened by the abnormal wake-up message, reducing the power consumption of the terminal device, extending the standby time of the terminal device, and improving the user experience.
[0005] In one embodiment of the present application, based on the communication mode, mobile state and service data, the terminal device determines whether there is a user-perceivable service, including: when it is determined that the communication mode of the terminal device is the Wi-Fi communication mode, if it is determined that the terminal device satisfies one or more of the following conditions: the motion state of the terminal device is a stationary state, no audio data is output in the terminal device, the change data of the ambient light intensity value detected by the terminal device does not exceed the preset light intensity value, there is download data in the system background of the terminal device, and the alarm of the terminal device rings, it is determined that the terminal device has no user-perceivable service. In the above technical solution, if the terminal device satisfies one or more of the following conditions: the motion state of the terminal device is a stationary state, no audio data is output in the terminal device, the change data of the ambient light intensity value detected by the terminal device does not exceed the preset light intensity value, there is download data in the system background of the terminal device, and the alarm of the terminal device rings, it is determined that the terminal device currently has no service that needs to interact with the user, so that the subsequent network device can control the messages sent to the terminal device.
[0006] In one embodiment of the present application, determining the communication mode of the terminal device includes: if the terminal device receives a confirmation connection signal replied by the network device, determining that the communication mode of the terminal device is a Wi-Fi communication mode; if the terminal device receives a confirmation connection signal replied by the base station, determining that the communication mode of the terminal device is a data service communication mode. In the above technical solution, the terminal device determines the communication mode of the terminal device through the confirmation connection signal replied by the network device.
[0007] In one embodiment of the present application, determining the motion state of the terminal device includes: the terminal device detects the movement acceleration of the terminal device through an acceleration sensor; if the movement acceleration is greater than or equal to a preset acceleration value, determining that the terminal device is in a moving state; if the movement acceleration is less than the preset acceleration value, determining that the terminal device is in a stationary state. In the above technical solution, the terminal device can determine the motion state of the terminal device based on the data detected by the acceleration sensor.
[0008] In one embodiment of the present application, based on the communication mode, mobile state and service data, the terminal device determines whether there is a user-perceivable service, including: when one or more of the following conditions are met, it is determined that the terminal device has a user-perceivable service: the communication mode of the terminal device is a data service communication mode; the motion state of the terminal device is a mobile state; the terminal device outputs audio data; the change data of the ambient light intensity value detected by the terminal device exceeds the preset light intensity value; the terminal device has a screen-on event; there is download data in the system background of the terminal device; the alarm of the terminal device rings. In the above technical scheme, when it is determined that the terminal device satisfies one or more conditions that the communication mode of the terminal device is a data service communication mode, the motion state of the terminal device is a mobile state, the terminal device outputs audio data, the change data of the ambient light intensity value detected by the terminal device exceeds the preset light intensity value, the terminal device has a screen-on event, there is download data in the system background of the terminal device, and the alarm of the terminal device rings, it is determined that the terminal device currently has a service that needs to interact with the user.
[0009] In one embodiment of the present application, receiving an abnormal wake-up message from a network device includes: the terminal device obtains the wake-up source information of the message and the reception time information of the message; if it is determined that the number of times the message is received within a preset time period is greater than or equal to the preset number according to the wake-up source information of the message and the reception time information of the message, the message is determined to be an abnormal wake-up message; if it is determined that the number of times the message is received within the preset time period is less than the preset number according to the wake-up source information of the message and the reception time information of the message, the message is determined not to be an abnormal wake-up message. In the above technical solution, by comparing the number of times the message is received within the preset time period with the preset number, the abnormal wake-up message can be identified so that the subsequent network device can control the message sent to the terminal device.
[0010] In one embodiment of the present application, the wake-up source information includes the Internet Protocol IP address, port number, and protocol information of the message sender, and the IP address and port number of the message receiver.
[0011] In one embodiment of the present application, filtering the message sent from the network server to the terminal device according to the wake-up source information includes: the network protocol stack of the network device parses the first control instruction to obtain the wake-up source information of the abnormal wake-up message, and sends the first control instruction and the wake-up source information to the Wi-Fi driver of the network device; the Wi-Fi driver responds to the first control instruction and filters the message from the network server received by the Wi-Fi chip of the network device according to the wake-up source information. In the above technical solution, the network device can filter the message from the network server received by the Wi-Fi chip of the network device according to the first control instruction sent by the terminal device, thereby preventing the terminal device from being awakened by the abnormal wake-up message.
[0012] In one embodiment of the present application, filtering the message received by the Wi-Fi chip of the network device from the network server according to the wake-up source information includes: if the message from the network server includes the wake-up source information of the abnormal wake-up message, the network device filters the message containing the wake-up source information sent by the network server and does not send it to the terminal device. In the above technical solution, the network device prevents the terminal device from being awakened by the abnormal wake-up message by filtering the message containing the wake-up source information sent by the network server.
[0013] In one embodiment of the present application, the method further includes: if it is determined that the terminal device has a user-perceivable service, the terminal device sends a second control instruction to the network device; the network device does not filter the message sent from the network server to the terminal device according to the second control instruction. In the above technical solution, the network device can cancel the filtering of the message sent from the network server to the terminal device according to the second control instruction sent by the terminal device.
[0014] In one embodiment of the present application, the terminal device confirms that the network device has the function of packet filtering, including: the terminal device sends a search request to the network device, the search request is used to determine whether the network device has the function of packet filtering; according to the confirmation reply received from the network device, the terminal device determines that the network device has the function of packet filtering. In the above technical solution, the terminal device can accurately obtain information on whether the network device has the ability to filter packets through the query request.
[0015] In the second aspect, the embodiment of the present application provides a method for reducing power consumption applied to a terminal device, the terminal device is connected to a network device for communication, and the method includes: if the network device has a message filtering function, obtaining the communication mode, mobile state and service data of the terminal device; judging whether the terminal device has a user-perceivable service according to the communication mode, mobile state and service data; if an abnormal wake-up message is received from the network device and the terminal device has no user-perceivable service, sending a first control instruction to the network device, the first control instruction is used to instruct the network device to filter the message sent from the network server to the terminal device, and the first control instruction carries the wake-up source information of the abnormal wake-up message. In the above technical scheme, when the terminal device determines that the network device has the function of supporting message filtering, the terminal device receives the abnormal wake-up message, and the terminal device has no user-perceivable service, the terminal device sends the first control instruction to the network device to instruct the network device to filter the abnormal wake-up message sent to the terminal device, and does not send the abnormal wake-up message to the terminal device, thereby avoiding the terminal device being awakened by the abnormal wake-up message, reducing the power consumption of the terminal device, extending the standby time of the terminal device, and improving the user experience.
[0016] In one embodiment of the present application, judging whether a terminal device has a user-perceivable service based on the communication mode, mobile state and service data includes: when determining that the communication mode of the terminal device is the communication mode, if it is determined that the terminal device satisfies one or more of the following conditions: the motion state of the terminal device is a stationary state, no audio data is output in the terminal device, the change data of the ambient light intensity value detected by the terminal device does not exceed the preset light intensity value, there is download data in the system background of the terminal device, and the alarm of the terminal device rings, it is determined that the terminal device has no user-perceivable service. In the above technical scheme, if the terminal device satisfies one or more of the following conditions: the motion state of the terminal device is a stationary state, no audio data is output in the terminal device, the change data of the ambient light intensity value detected by the terminal device does not exceed the preset light intensity value, there is download data in the system background of the terminal device, and the alarm of the terminal device rings, it is determined that the terminal device currently has no service that needs to interact with the user, so as to subsequently instruct the network device to control the messages sent to the terminal device.
[0017] In one embodiment of the present application, judging whether a terminal device has a user-perceivable service based on the communication mode, mobile state and service data includes: determining that the terminal device has a user-perceivable service when one or more of the following conditions are met: the communication mode of the terminal device is a data service communication mode; the motion state of the terminal device is a mobile state; the terminal device outputs audio data; the change data of the ambient light intensity value detected by the terminal device exceeds the preset light intensity value; the terminal device has a screen-on event; there is download data in the system background of the terminal device; the alarm of the terminal device rings. In the above technical scheme, when it is determined that the terminal device satisfies one or more of the following conditions: the communication mode of the terminal device is a data service communication mode, the motion state of the terminal device is a mobile state, the terminal device outputs audio data, the change data of the ambient light intensity value detected by the terminal device exceeds the preset light intensity value, the terminal device has a screen-on event, there is download data in the system background of the terminal device, and the alarm of the terminal device rings, it is determined that the terminal device currently has a service that needs to interact with the user.
[0018] In one embodiment of the present application, receiving an abnormal wake-up message from a network device includes: obtaining the wake-up source information of the message and the reception time information of the message; if it is determined that the number of times the message is received within a preset time period is greater than or equal to the preset number according to the wake-up source information of the message and the reception time information of the message, the message is determined to be an abnormal wake-up message; if it is determined that the number of times the message is received within the preset time period is less than the preset number according to the wake-up source information of the message and the reception time information of the message, the message is determined not to be an abnormal wake-up message. In the above technical solution, the abnormal wake-up message can be identified by comparing the number of times the message is received within the preset time period with the preset number.
[0019] In one embodiment of the present application, the method further includes: if it is determined that the terminal device has a user-perceivable service, sending a second control instruction to the network device to instruct the network device not to filter the message sent from the network server to the terminal device according to the second control instruction. In the above technical solution, the terminal device can send the second control instruction to the network device to instruct the network device to cancel the filtering of the message sent from the network server to the terminal device.
[0020] In one embodiment of the present application, determining whether a network device has a message filtering function includes: sending a search request to the network device, the search request is used to determine whether the network device has a message filtering function; and determining whether the network device has a message filtering function according to a confirmation reply received from the network device. In the above technical solution, the terminal device can accurately obtain information on whether the network device has the message filtering capability through the query request.
[0021] On the third aspect, an embodiment of the present application provides a method for reducing power consumption, which is applied to a network device, and the network device is communicatively connected with a terminal device, and the method includes: responding to a search request for a message filtering function sent by the terminal device, sending a confirmation reply to the terminal device to indicate that the network device has a message filtering function; receiving a first control instruction sent by the terminal device, and parsing the first control instruction to obtain the wake-up source information of the abnormal wake-up message; filtering the message sent by the network server to the terminal device according to the wake-up source information. In the above technical scheme, the network device filters the abnormal wake-up message sent to the terminal device according to the first control instruction, and does not send the abnormal wake-up message to the terminal device, thereby avoiding the terminal device being awakened by the abnormal wake-up message, reducing the power consumption of the terminal device, extending the standby time of the terminal device, and improving the user experience.
[0022] In one embodiment of the present application, filtering the message sent from the network server to the terminal device according to the wake-up source information includes: the network protocol stack of the network device parses the first control instruction to obtain the wake-up source information of the abnormal wake-up message, and sends the first control instruction and the wake-up source information to the Wi-Fi driver of the network device; the Wi-Fi driver responds to the first control instruction and filters the message from the network server received by the Wi-Fi chip of the network device according to the wake-up source information. In the above technical solution, the network device responds to the first control instruction sent by the terminal device and filters the message from the network server received by the Wi-Fi chip of the network device, thereby preventing the terminal device from being awakened by the abnormal wake-up message.
[0023] In one embodiment of the present application, filtering the message received by the Wi-Fi chip of the network device from the network server according to the wake-up source information includes: if the message from the network server includes the wake-up source information of the abnormal wake-up message, filtering the message containing the wake-up source information sent by the network server and not sending it to the terminal device. In the above technical solution, the network device prevents the terminal device from being awakened by the abnormal wake-up message by filtering the message containing the wake-up source information sent by the network server.
[0024] In one embodiment of the present application, the method further includes: receiving a second control instruction sent by the terminal device; and not filtering the message sent from the network server to the terminal device according to the second control instruction. In the above technical solution, the network device can cancel the filtering of the message sent from the network server to the terminal device according to the second control instruction sent by the terminal device.
[0025] In a fourth aspect, an embodiment of the present application provides a terminal device, including a processor and a memory; wherein the processor is connected to the memory; the memory is used to store program instructions; and the processor is used to read the program instructions stored in the memory to implement the above-mentioned method of reducing power consumption.
[0026] In a fifth aspect, an embodiment of the present application provides a network device, including a processor and a memory; wherein the processor is connected to the memory; the memory is used to store program instructions; and the processor is used to read the program instructions stored in the memory to implement the above-mentioned method of reducing power consumption.
[0027] In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores program instructions. When the program instructions are executed on a terminal device, the terminal device executes the above-mentioned method for reducing power consumption.
[0028] In addition, the technical effects brought about by the fourth to sixth aspects can be found in the descriptions related to the methods of each design in the above method part, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.
[0030] Figure 1 This is a diagram of an application scenario of a method for reducing power consumption provided in one embodiment of the present application.
[0031] Figure 2A schematic diagram of wake-up source information of a message provided in an embodiment of the present application.
[0032] Figure 3 A schematic diagram of a message provided in accordance with an embodiment of the present application.
[0033] Figure 4 A flowchart of a method for reducing power consumption provided in one embodiment of the present application.
[0034] Figure 5 This is a schematic diagram of a network setting interface in an embodiment of the present application.
[0035] Figure 6 A schematic diagram of the communication connection between a mobile phone and a router provided in one embodiment of the present application.
[0036] Figure 7 It is a schematic diagram of a terminal device in an embodiment of the present application. DETAILED DESCRIPTION
[0037] In the following, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a concrete way.
[0038] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those generally understood by technicians in the technical field in this application. The terms used in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application. It should be understood that, unless otherwise specified in this application, " / " means or. For example, A / B can represent A or B. "And / or" in this application is only a description of the association relationship of associated objects, indicating that three relationships can exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. "At least one" means one or more. "Multiple" means two or more than two. For example, at least one of a, b or c can represent: a, b, c, a and b, a and c, b and c, a, b and c seven situations.
[0039] After the terminal device turns off the screen (for example, at night, when the user is working, etc.), it is in a system sleep state. However, after receiving a message sent by the router, the terminal device will exit the system sleep state and connect to the router through the Wi-Fi channel, so that the terminal device is awakened. The terminal device consumes a certain amount of power when awakened. If the terminal device receives multiple messages in a short period of time, the terminal device will be awakened multiple times, reducing the standby time of the terminal device, causing the terminal device to consume too much power, affecting the user experience.
[0040] In order to solve the problem of excessive power consumption caused by frequent wake-up of terminal devices in screen-off scenarios (for example, screen-off at night, screen-off when the user is in a working state), the embodiment of the present application provides a method for reducing power consumption. Figure 1 As shown, it is an application scenario diagram of the method for reducing power consumption provided by an embodiment of the present application. The method is applied to a terminal device (such as Figure 1 The terminal device 100 shown in FIG. Figure 1 The terminal device 100 establishes a communication connection with the network device 200 (for example, communicating through a Wi-Fi channel), and can communicate with the network connected to the network device 200 through the network device 200. When the network device 200 receives a message sent from the network server to the terminal device 100, the message is forwarded to the terminal device 100 to wake up the terminal device 100. When the terminal device 100 receives the message sent by the network device 200, if it is determined that the message is an abnormal wake-up message and the terminal device 100 meets the preset conditions, the first control instruction is sent to the network device 200. The network device 200 filters the message sent from the network server to the terminal device 100 according to the wake-up source information of the message carried by the first control instruction. In this way, the network device 200 can filter the abnormal wake-up message sent by the network server and does not send the message to the terminal device, thereby avoiding the terminal device 100 being repeatedly awakened by the abnormal wake-up source, thereby reducing the power consumption of the terminal device 100, extending the standby time of the terminal device 100, and improving the user experience.
[0041] In one embodiment of the present application, the terminal device 100 may be a mobile phone, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a cellular phone, a personal digital assistant (PDA), an augmented reality (AR) device, a virtual reality (VR) device, an artificial intelligence (AI) device, a wearable device, an in-vehicle device, a smart home device, and / or a smart city device. In one embodiment of the present application, the network device 200 may be a switch, a router, or a hub.
[0042] In one embodiment of the present application, the terminal device 100 includes a network environment perception module 101, a mobile state perception module 102, a business scenario perception module 103, a business monitoring module 104, a first decision module 105, an abnormality monitoring module 106, a first hardware abstract layer (HAL) 107, a first Wi-Fi driver 108, and a first Wi-Fi chip 109.
[0043] The network environment perception module 101 is used to determine the communication mode of the terminal device 100, and the communication mode includes Wi-Fi communication and data service communication, and the data service communication includes cellular data communication service. Wi-Fi communication refers to the communication mode in which the terminal device 100 is connected to the network device 200 through a Wi-Fi channel, and data service communication refers to the communication mode in which the terminal device 100 is connected to a base station (such as a cellular base station). In one embodiment of the present application, if the network environment perception module 101 receives a confirmation connection signal replied by a router (such as a Wi-Fi router), it determines that the communication mode of the terminal device 100 is Wi-Fi communication; if the network environment perception module 101 receives a confirmation connection signal replied by a base station (such as a 4G or 5G base station, etc.), it determines that the communication mode of the terminal device 100 is a data service. After determining the communication mode of the terminal device 100, the network environment perception module 101 sends the information of the communication mode to the service monitoring module 104.
[0044] The mobile state sensing module 102 is used to determine the motion state of the terminal device 100 and send the motion state to the service monitoring module 104. In one embodiment of the present application, the mobile state sensing module 102 can detect the motion state of the terminal device 100 through a sensor of the terminal device 100, such as an acceleration sensor or a gravity sensor, and send the motion state to the service monitoring module 104. In one embodiment of the present application, the motion state includes a moving state and a stationary state.
[0045] The business scene perception module is used to obtain business data of the terminal device 100 and send the obtained business data to the business monitoring module 104. In one embodiment of the present application, the business data may include but is not limited to: audio data, ambient light intensity value change data, system background download data, screen light events, and alarm ringing.
[0046] The service monitoring module 104 is used to determine whether the terminal device 100 has no user-perceivable service according to the communication mode, movement result and service data of the terminal device 100, and send the result of whether there is a user-perceivable service or no user-perceivable service to the first decision module 105. In one embodiment of the present application, determining whether the terminal device 100 has no user-perceivable service according to the communication mode, movement result and service data of the terminal device 100 includes: if it is determined that the communication mode of the terminal device 100 is Wi-Fi communication, if it is determined that the terminal device satisfies the condition that the motion state of the terminal device 100 is a stationary state, the terminal device 100 does not output audio data, the change data of the ambient light intensity value detected by the terminal device 100 does not exceed the preset light intensity value, there is no download data in the system background, and the alarm clock rings when the timing time is reached, it is determined that the terminal device 100 has no user-perceivable service. In one embodiment of the present application, when one or more of the following conditions are met, it is determined that the terminal device 100 has a user-perceivable service: the communication mode of the terminal device 100 is data service communication; the motion state of the terminal device 100 is a mobile state; the terminal device 100 outputs audio data; the terminal device 100 has detected ambient light intensity value change data exceeding a preset light intensity value; the background system of the terminal device 100 downloads data; the terminal device 100 has a screen-on event; the alarm of the terminal device 100 rings.
[0047] The first Wi-Fi chip 109 receives the message sent by the network device 200, and sends the message to the first Wi-Fi driver 108. The first Wi-Fi driver 108 sends the message to the abnormal monitoring module 106 through the first hardware abstraction layer 107. The abnormal monitoring module 106 obtains the wake-up source information of the message and the receiving time information of the message from the message, and determines whether the message is an abnormal wake-up message based on the wake-up source information of the message and the receiving time information of the message. In one embodiment of the present application, the wake-up source information includes the Internet Protocol Address (IP) address, port number, protocol information of the message sender, and the IP address and port number of the message receiver. For example, refer to Figure 2 , the IP address of the message sender in the wake-up source information is 124.70.116.53, the port number of the message sender is 433, the protocol information of the message sender is the Transmission Control Protocol (TCP), the IP address of the message receiver is 10.35.95.36, and the port number of the message receiver is 38086. In one embodiment of the present application, judging whether the message is an abnormal wake-up message according to the wake-up source information of the message and the reception time information of the message includes: judging whether the number of times the message is received within a preset time period is greater than or equal to the preset number of times according to the wake-up source information of the message and the reception time information of the message; if the number of times the message is received within the preset time period is greater than or equal to the preset number of times, determining that the message is an abnormal wake-up message, and if the number of times the message is received within the preset time period is less than the preset number of times, determining that the message is a normal wake-up message. In one embodiment of the present application, the preset time period and the preset number of times can be set as needed, for example, the preset time period can be set to 5 minutes, and the preset number of times can be set to 5 times.
[0048] refer to Figure 3 As shown, it is a schematic diagram of a message provided by an embodiment of the present application. Figure 3 According to the reception time of the message, the abnormal monitoring module 106 can determine that within 5 minutes after 11:45:38 on July 20, 2023, a total of 11 messages are obtained and all messages have the same wake-up source information. Since the number of times the same message is received within a preset time period (e.g., 5 minutes) is greater than the preset number (e.g., 5 times), the message is determined to be an abnormal wake-up message. After determining the abnormal wake-up message, the abnormal monitoring module 106 sends the abnormal wake-up message to the first decision module 105.
[0049] When the first decision module 105 determines that the network device 200 has the function of supporting message filtering, the terminal device 100 has an abnormal wake-up message, and the terminal device 100 has no user-perceivable service, the first decision module 105 sends a first control instruction to the network device 200 to filter the message sent by the network server to the terminal device 100, wherein the first control instruction carries the wake-up source information of the abnormal wake-up message. In one embodiment of the present application, the decision module 105 sends a query request to the network device 200 to inquire whether the function of supporting message filtering is supported, and when receiving a reply from the network device 200 that the function of supporting message filtering is supported, it can be determined that the network device 200 has the function of supporting message filtering.
[0050] In one embodiment of the present application, the network device 200 includes a second decision module 201, a network protocol stack 202, a second Wi-Fi driver 203, and a second Wi-Fi chip 204. The second decision module 201 is used to obtain a first control instruction sent by the terminal device 100, and send the first control instruction to the network protocol stack 202. The network protocol stack 202 parses the first control instruction to obtain the wake-up source information of the abnormal wake-up message, and sends the first control instruction and the wake-up source information of the abnormal wake-up message to the second Wi-Fi driver 203. The second Wi-Fi driver 203 responds to the first control instruction and filters the message received by the second Wi-Fi chip 204 from the network server according to the wake-up source information of the abnormal wake-up message.
[0051] In one embodiment of the present application, filtering the message from the network server sent by the second Wi-Fi chip 204 according to the wake-up source information includes: if the message includes the wake-up source information of the abnormal wake-up message, the network device filters the message containing the wake-up source information sent by the network server and does not send it to the terminal device. In this way, the network device 200 can filter the abnormal wake-up message sent by the network server according to the first control instruction sent by the terminal device, and does not send the message to the terminal device, thereby avoiding the terminal device 100 from being awakened by the abnormal wake-up source, thereby reducing the power consumption of the terminal device 100 and improving the user experience.
[0052] refer to Figure 4 As shown, it is a flowchart of a method for reducing power consumption provided by an embodiment of the present application. The method disclosed in the embodiment of the present application or the method shown in the flowchart includes one or more steps for implementing the method. Without departing from the scope of the claims, the execution order of multiple steps can be interchanged with each other, and some steps can also be omitted. Some embodiments will be described below in conjunction with the accompanying drawings. The method for reducing power consumption includes the following steps.
[0053] Step S401: The terminal device establishes a Wi-Fi connection with the network device.
[0054] For the sake of clarity, the following describes the specific implementation of the method for reducing power consumption by taking the terminal device as a mobile phone and the network device 200 as a router as an example. In one embodiment of the present application, the mobile phone responds to the user selecting the Wi-Fi network option in the network setting interface of the mobile phone and establishes a Wi-Fi connection with the router. Figure 5 , which is a schematic diagram of a network setting interface in an embodiment of the present application. The network setting interface includes a Wi-Fi network switch option and at least one Wi-Fi network connection option. Each Wi-Fi network connection option corresponds to a router. After the mobile phone detects that the user turns on the Wi-Fi network switch option on the network setting interface and selects a Wi-Fi network connection option, a Wi-Fi connection is established between the mobile phone and the router corresponding to the selected Wi-Fi network connection option.
[0055] refer to Figure 6As shown, it is a schematic diagram of the communication connection between a mobile phone and a router provided in an embodiment of the present application. In an embodiment of the present application, the mobile phone and the router establish a Wi-Fi connection through a Wi-Fi network protocol (such as 802.11a, 802.11b, and 802.11e protocols). In an embodiment of the present application, the mobile phone can interact with the router in accordance with the interactive process of the probe frame, the authentication frame, the association frame, and the dynamic host configuration protocol (Dynamic Host Configuration Protocol, DHCP) frame to realize the Wi-Fi connection between the mobile phone and the router. Among them, in the interactive process of the Probe frame, the mobile phone sends a probe request (Probe Request) to find out whether there is a connectable router in the surrounding environment. If the mobile phone receives a probe response (ProbeResponse) frame sent by the router, it is determined that there is a connectable router in the surrounding environment. In the interactive process of the Authentication frame, the mobile phone sends an authentication request (Authentication Request) frame to determine whether the capabilities of the mobile phone and the router match. If the mobile phone receives an authentication response (AuthenticationResponse) frame carrying success (Successful) sent by the router, it is determined that the capabilities of the mobile phone and the router match. In the interaction process of the Association frame, the mobile phone sends an Association Request frame to request to establish an association with the router. If the mobile phone receives an Association Response frame sent by the router with a successful association, it is determined that the mobile phone is associated with the router. In the interaction process of the DHCP frame, the mobile phone can establish a communication connection with the router according to the IP address configured by the router. The means for the mobile phone to establish a Wi-Fi connection with the router through the Wi-Fi network protocol can refer to the existing related technologies. The detailed interaction process for establishing a Wi-Fi connection between the mobile phone and the router will not be described here.
[0056] In one embodiment of the present application, the mobile phone and the router establish a Wi-Fi connection through the Wi-Fi network protocol, including: a first Wi-Fi chip of the mobile phone can establish a connection with a second Wi-Fi chip of the router through the Wi-Fi network protocol.
[0057] Step S402: The terminal device sends a search request to the network device, wherein the search request is used to determine whether the network device has a message filtering function.
[0058] In one embodiment of the present application, reference Figure 6After the mobile phone establishes a connection with the router, it sends a discovery request frame to the router to determine whether the network device has the function of packet filtering. The packet filtering function refers to the ability of the router to filter the packets sent by the network server to the terminal device. If the router has the ability to filter the packets sent by the network server to the terminal device, it is determined that the router has the function of packet filtering.
[0059] Step S403: After receiving the confirmation reply sent by the network device in response to the search request, the terminal device determines that the network device has the function of packet filtering.
[0060] In one embodiment of the present application, after the terminal device receives the support (Ack) reply frame sent by the network device in response to the search request frame, it determines that the network device has the function of packet filtering, thereby realizing the mobile phone's confirmation of the end management capability of the router.
[0061] Step S404, the terminal device obtains the communication mode, mobile state and service data of the terminal device, and determines whether the terminal device has no user-perceivable service based on the communication mode, mobile state and service data of the terminal device. If it is determined that the mobile phone has no user-perceivable service, step S405 is executed; if it is determined that the mobile phone has a user-perceivable service, step S408 is executed.
[0062] In one embodiment of the present application, the network environment perception module of the mobile phone determines that the communication mode of the mobile phone is the Wi-Fi communication mode according to the confirmation connection signal replied by the router, or determines that the communication mode of the mobile phone is the data service communication according to the confirmation connection signal replied by the base station. The mobile phone sends the information of the determined communication mode to the service monitoring module of the mobile phone. The mobile state perception module of the mobile phone detects the motion state of the mobile phone through the acceleration sensor of the mobile phone. For example, the mobile state perception module detects the movement acceleration or movement speed of the mobile phone through the acceleration sensor. If the movement acceleration of the mobile phone is greater than or equal to the preset acceleration value, or the movement speed of the mobile phone is greater than or equal to the preset speed value, it is determined that the mobile phone is in a moving state. If the movement acceleration of the mobile phone is less than the preset acceleration value, or the movement speed of the mobile phone is less than the preset speed value, it is determined that the mobile phone is in a stationary state. The mobile state perception module of the mobile phone sends the movement state or stationary state of the mobile phone to the service monitoring module of the mobile phone.
[0063] The business scenario perception module of the mobile phone is used to obtain the business data of the mobile phone and send the business data to the business monitoring module. In one embodiment of the present application, in the scenario where the mobile phone outputs audio, the business scenario perception module uses the audio data output by the mobile phone as business data. In one embodiment of the present application, when the mobile phone enters a lighted lighting environment from a dark lighting environment, the business scenario perception module obtains the change data of the ambient light intensity value as business data. In one embodiment of the present application, in the scenario where the background system of the mobile phone downloads data, the business scenario perception module obtains the download data of the background system as business data. In one embodiment of the present application, in the scenario where the screen is on in the mobile phone, the business scenario perception module obtains the screen-on event of the mobile phone as business data. In one embodiment of the present application, in the scenario where the alarm program of the mobile phone is turned on, the business scenario perception module obtains the ringing data of the alarm (i.e., the alarm program) as business data.
[0064] In one embodiment of the present application, when the service monitoring module determines that the mobile phone meets the first preset condition, it determines that the mobile phone has no user-perceivable service. The first preset condition includes but is not limited to: the communication mode of the mobile phone is Wi-Fi communication mode, the movement state of the mobile phone is static, the mobile phone does not output audio data, the change data of the ambient light intensity value detected by the mobile phone does not exceed the preset light intensity value, the mobile phone does not have a screen-on event, the system background of the mobile phone has no downloaded data, and the alarm of the mobile phone does not ring, and it is determined that the mobile phone has no user-perceivable service.
[0065] When the service monitoring module determines that the mobile phone meets the second preset condition, it determines that the mobile phone has a user-perceivable service. In this embodiment, the second preset condition can be any one of the following conditions or a combination of multiple conditions: the communication mode of the mobile phone is data service communication; the movement state of the mobile phone is mobile; the mobile phone outputs audio data; the change data of the ambient light intensity value detected by the mobile phone exceeds the preset light intensity value; the mobile phone has a screen light event; there is download data in the system background of the mobile phone; the alarm of the mobile phone rings. In the above embodiment, by judging whether the mobile phone meets the first preset condition and the second condition, it can be determined whether the mobile phone has a scenario of user-perceivable service.
[0066] Step S405: The terminal device receives the message sent by the network device and determines whether the message is an abnormal wake-up message.
[0067] In one embodiment of the present application, the first Wi-Fi chip of the mobile phone receives the message forwarded by the router and sends the message to the first Wi-Fi driver of the mobile phone. The first Wi-Fi driver sends the message to the abnormal monitoring module of the mobile phone through the first hardware abstraction layer of the mobile phone. The abnormal monitoring module 106 obtains the wake-up source information of the message and the receiving time information of the message from the message, and judges whether the number of times the message is received within the preset time period is greater than or equal to the preset number according to the wake-up source information of the message and the receiving time information of the message; if the number of times the message is received within the preset time period is greater than or equal to the preset number, the message is determined to be an abnormal wake-up message, and if the number of times the message is received within the preset time period is less than the preset number, the message is determined to be a normal wake-up message. In this way, this embodiment determines whether an abnormal wake-up message is received based on the wake-up source information of the message and the receiving time information of the message, and realizes the monitoring of the wake-up source. In one embodiment of the present application, the wake-up source information includes the IP address, port number, and protocol information of the message sender (such as a network server), and the IP address and port number of the message receiver (such as a mobile phone). In one embodiment of the present application, if the message is an abnormal wake-up message, step S406 is executed; if the message is a normal wake-up message, the process returns to step S404.
[0068] Step S406: The terminal device sends a first control instruction to the network device, wherein the first control instruction carries the wake-up source information of the abnormal wake-up message.
[0069] In one embodiment of the present application, when the first decision module of the mobile phone determines that the router has the function of supporting message filtering, if an abnormal wake-up message is received and there is no user-perceivable service, the first control instruction is sent to the router to filter the message sent from the network server to the mobile phone. In one embodiment of the present application, after the terminal device sends the first control instruction to the network device, if the network device responds to the first control instruction and receives an Ack reply frame, it is determined that the network device has received the first control instruction.
[0070] Step S407: The network device parses the first control instruction to obtain the wakeup source information of the abnormal wakeup message, and filters the message sent from the network server to the terminal device according to the wakeup source information of the abnormal wakeup message.
[0071] In one embodiment of the present application, the second decision module of the router obtains the first control instruction sent by the mobile phone, and sends the first control instruction to the network protocol stack of the router. The network protocol stack analyzes the wake-up source information of the abnormal wake-up message from the first control instruction, and sends the first control instruction and the wake-up source information of the abnormal wake-up message to the second Wi-Fi driver of the router. Figure 6The second Wi-Fi driver responds to the first control instruction and filters the message from the network server received by the second Wi-Fi chip of the router according to the wake-up source information of the abnormal wake-up message.
[0072] In one embodiment of the present application, filtering the message sent from the network server to the terminal device according to the wake-up source information of the abnormal wake-up message includes: if the message from the network server includes the wake-up source information of the abnormal wake-up message, filtering the message from the network server, and not sending the message from the network server to the mobile phone.
[0073] In one embodiment of the present application, after receiving the first control instruction, the second Wi-Fi driver of the router replies with a first confirmation message to the mobile phone to notify the mobile phone that the first control instruction has been received.
[0074] Step S408: When it is determined that the terminal device has a user-perceivable service, the terminal device sends a second control instruction to the network device.
[0075] refer to Figure 6 In one embodiment of the present application, the mobile phone again obtains the communication mode, mobile status and service data of the terminal device, and when it is determined that the terminal device has a user-perceivable service based on the obtained communication mode, mobile status and service data of the terminal device, a second control instruction is sent to the router to instruct the router not to filter the message sent from the network server to the mobile phone.
[0076] Step S409: The network device does not filter the message sent from the network server to the terminal device according to the second control instruction.
[0077] In one embodiment of the present application, the second decision module of the router obtains the second control instruction sent by the mobile phone, and sends the second control instruction to the network protocol stack of the router. The network protocol stack parses the second control instruction and sends the parsed second control instruction to the second Wi-Fi driver of the router. The second Wi-Fi driver responds to the second control instruction and does not filter the message sent by the network server to the terminal device.
[0078] In one embodiment of the present application, after receiving the second control instruction, the second Wi-Fi driver of the router replies with a second confirmation message to the mobile phone to notify the mobile phone that the second control instruction has been received.
[0079] In one embodiment of the present application, when the service determination module of the mobile phone determines that the communication mode of the mobile phone has changed from Wi-Fi communication to data service communication, such as cellular data service communication, it determines that the mobile phone has a user-perceivable service, and sends the user-perceivable service to the first decision module of the mobile phone. The first decision module of the mobile phone sends a second control instruction to the router to instruct the router not to filter the message sent from the network server to the mobile phone, so as to cancel the function of filtering the message of the router when it is detected that the mobile phone is communicating with the base station, so as to enable the mobile phone to receive the message from the network server.
[0080] In one embodiment of the present application, when the service determination module of the mobile phone determines that the motion state of the mobile phone has changed from a stationary state to a mobile state, it determines that the mobile phone has a user-perceivable service, and sends the user-perceivable service to the first decision module of the mobile phone. The first decision module of the mobile phone sends a second control instruction to the router to instruct the router to cancel filtering of messages sent from the network server to the mobile phone, thereby canceling the function of the router to filter messages when the movement of the mobile phone is detected, and the mobile phone can receive messages from the network server.
[0081] In one embodiment of the present application, when the service determination module of the mobile phone determines that the mobile phone outputs audio data, it determines that the mobile phone has a user-perceivable service, and sends the user-perceivable service to the first decision module of the mobile phone. The first decision module of the mobile phone sends a second control instruction to the router to instruct the router not to filter the message sent from the network server to the mobile phone, so as to cancel the function of filtering the message of the router when it is detected that the mobile phone outputs audio data, so as to realize the reception of the message from the network server by the mobile phone.
[0082] In one embodiment of the present application, when the service determination module of the mobile phone determines that the change data of the ambient light intensity value of the mobile phone exceeds the preset light intensity value, it determines that the mobile phone has a user-perceivable service, and sends the user-perceivable service to the first decision module of the mobile phone. The first decision module of the mobile phone sends a second control instruction to the router to instruct the router not to filter the message sent to the mobile phone by the network server, so as to cancel the function of filtering the message by the router when it is detected that the change data of the ambient light intensity value of the mobile phone exceeds the preset light intensity value (such as the scene where the mobile phone enters a light environment from a dark lighting environment to a light environment with the lights on), so as to realize the reception of the message from the network server by the mobile phone.
[0083] In one embodiment of the present application, when the service determination module of the mobile phone determines that there is a screen-on event on the mobile phone, it determines that the mobile phone has a user-perceivable service, and sends the user-perceivable service to the first decision module of the mobile phone. The first decision module of the mobile phone sends a second control instruction to the router to instruct the router not to filter the message sent from the network server to the mobile phone, so as to cancel the function of filtering the message on the router when it is detected that the display screen of the mobile phone is on, so as to enable the mobile phone to receive the message from the network server.
[0084] In one embodiment of the present application, when the service determination module of the mobile phone determines that there is download data in the system background of the mobile phone, it determines that the mobile phone has a user-perceivable service, and sends the user-perceivable service to the first decision module of the mobile phone. The first decision module of the mobile phone sends a second control instruction to the router to instruct the router not to filter the message sent from the network server to the mobile phone, so as to cancel the function of filtering the router on the message when it is detected that the background system is downloading data, so as to realize the reception of the message from the network server by the mobile phone.
[0085] In one embodiment of the present application, when the service determination module of the mobile phone determines that the alarm is ringing, it determines that the mobile phone has a user-perceivable service, and sends the user-perceivable service to the first decision module of the mobile phone. The first decision module of the mobile phone sends a second control instruction to the router to instruct the router not to filter the message sent from the network server to the mobile phone, so as to cancel the function of filtering the message of the router when it is detected that the alarm of the mobile phone is ringing, so as to enable the mobile phone to receive the message from the network server.
[0086] In the above embodiment, when the terminal device determines that the network device has the function of supporting message filtering, the terminal device receives an abnormal wake-up message, and the terminal device has no user-perceivable service, the terminal device sends a first control instruction to the network device to instruct the network device to filter the abnormal wake-up message sent to the terminal device and not send the abnormal wake-up message to the terminal device, thereby avoiding the terminal device from being awakened, thereby reducing the power consumption of the terminal device and improving the user experience.
[0087] The following is an introduction to the terminal device involved in the embodiment of the present application. Figure 7 FIG. 1 is a schematic diagram of the hardware structure of a terminal device in an embodiment of the present application. The terminal device may be Figure 1 The terminal device 100 in.
[0088] In this embodiment, the terminal device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0089] It is understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the terminal device 100. In other embodiments of the present application, the terminal device 100 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0090] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.
[0091] The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of instruction fetching and execution.
[0092] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0093] In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0094] The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 may include multiple groups of I2C buses. The processor 110 may be coupled to the touch sensor 180K, the charger, the flash, the camera 193, etc. through different I2C bus interfaces. For example: the processor 110 may be coupled to the touch sensor 180K through the I2C interface, so that the processor 110 communicates with the touch sensor 180K through the I2C bus interface, thereby realizing the touch function of the terminal device 100.
[0095] The I2S interface can be used for audio communication. In some embodiments, the processor 110 can include multiple I2S buses. The processor 110 can be coupled to the audio module 170 via the I2S bus to achieve communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 can transmit an audio signal to the wireless communication module 160 via the I2S interface to achieve the function of answering a call through a Bluetooth headset.
[0096] The PCM interface can also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 can be coupled via a PCM bus interface. In some embodiments, the audio module 170 can also transmit audio signals to the wireless communication module 160 via the PCM interface to realize the function of answering calls via a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
[0097] The UART interface is a universal serial data bus for asynchronous communication. The bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, the UART interface is generally used to connect the processor 110 and the wireless communication module 160. For example, the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to implement the Bluetooth function. In some embodiments, the audio module 170 can transmit an audio signal to the wireless communication module 160 through the UART interface to implement the function of playing music through a Bluetooth headset.
[0098] The MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 194 and the camera 193. The MIPI interface includes a camera serial interface (CSI), a display serial interface (DSI), etc. In some embodiments, the processor 110 and the camera 193 communicate via the CSI interface to implement the shooting function of the terminal device 100. The processor 110 and the display screen 194 communicate via the DSI interface to implement the display function of the terminal device 100.
[0099] The GPIO interface can be configured by software. The GPIO interface can be configured as a control signal or as a data signal. In some embodiments, the GPIO interface can be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, etc. The GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.
[0100] The USB interface 130 is an interface that complies with the USB standard specification, and specifically can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 can be used to connect a charger to charge the terminal device 100, and can also be used to transmit data between the terminal device 100 and peripheral devices. It can also be used to connect headphones to play audio through the headphones. The interface can also be used to connect other terminal devices 100, such as AR devices, etc.
[0101] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present application is only a schematic illustration and does not constitute a structural limitation on the terminal device 100. In other embodiments of the present application, the terminal device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
[0102] The charging management module 140 is used to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger through the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive wireless charging input through a wireless charging coil of the terminal device 100. While the charging management module 140 is charging the battery 142, it may also power the terminal device 100 through the power management module 141.
[0103] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the display screen 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc. In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.
[0104] The wireless communication function of the terminal device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
[0105] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in terminal device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.
[0106] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied to the terminal device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.
[0107] The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 170A, a receiver 170B, etc.), or displays an image or video through a display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.
[0108] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the terminal device 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
[0109] In some embodiments, the antenna 1 of the terminal device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the terminal device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).
[0110] The terminal device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs, which execute program instructions to generate or change display information.
[0111] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light emitting diode or an active-matrix organic light emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the terminal device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.
[0112] The terminal device 100 can realize the shooting function through ISP, camera 193, video codec, GPU, display screen 194 and application processor.
[0113] ISP is used to process the data fed back by camera 193. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to ISP for processing and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on the noise, brightness, and skin color of the image. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, ISP can be set in camera 193.
[0114] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then passes the electrical signal to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the terminal device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.
[0115] The digital signal processor is used to process digital signals, and can process not only digital image signals but also other digital signals. For example, when the terminal device 100 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.
[0116] Video codecs are used to compress or decompress digital videos. The terminal device 100 may support one or more video codecs. Thus, the terminal device 100 may play or record videos in various coding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
[0117] NPU is a neural network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, it can quickly process input information and can also continuously self-learn. Through NPU, applications such as intelligent cognition of the terminal device 100 can be realized, such as image recognition, face recognition, voice recognition, text understanding, etc.
[0118] The internal memory 121 may include one or more random access memories (RAM) and one or more non-volatile memories (NVM).
[0119] Random access memory may include static random-access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM, for example, the fifth generation DDR SDRAM is generally referred to as DDR5 SDRAM), etc.; non-volatile memory may include disk storage devices and flash memory.
[0120] Flash memory can be divided into NOR FLASH, NAND FLASH, 3D NAND FLASH, etc. according to the operating principle; single-level cell (SLC), multi-level cell (MLC), triple-level cell (TLC), quad-level cell (QLC), etc. according to the storage unit potential level; universal flash storage (UFS), embedded multi media card (eMMC), etc. according to the storage specification.
[0121] The random access memory can be directly read and written by the processor 110, and can be used to store executable programs (such as machine instructions) of the operating system or other running programs, and can also be used to store user and application data.
[0122] The non-volatile memory may also store executable programs and user and application data, etc., and may be loaded into the random access memory in advance for direct reading and writing by the processor 110 .
[0123] The external memory interface 120 can be used to connect to an external non-volatile memory to expand the storage capacity of the terminal device 100. The external non-volatile memory communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music and videos are stored in the external non-volatile memory.
[0124] The internal memory 121 or the external memory interface 120 is used to store one or more computer programs. The one or more computer programs are configured to be executed by the processor 110. The one or more computer programs include multiple instructions. When the multiple instructions are executed by the processor 110, the method for reducing power consumption in the terminal device 100 in the above embodiment can be implemented to realize the function of reducing power consumption of the terminal device 100.
[0125] The terminal device 100 can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.
[0126] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be arranged in the processor 110, or some functional modules of the audio module 170 can be arranged in the processor 110.
[0127] The speaker 170A, also called a "speaker", is used to convert an audio electrical signal into a sound signal. The terminal device 100 can listen to music or listen to a hands-free call through the speaker 170A.
[0128] The receiver 170B, also called a "handset", is used to convert audio electrical signals into sound signals. When the terminal device 100 receives a call or voice message, the voice can be received by placing the receiver 170B close to the ear.
[0129] Microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak by putting their mouth close to the microphone 170C to input the sound signal into the microphone 170C. The terminal device 100 can be provided with at least one microphone 170C. In other embodiments, the terminal device 100 can be provided with two microphones 170C, which can not only collect sound signals but also realize noise reduction function. In other embodiments, the terminal device 100 can also be provided with three, four or more microphones 170C to realize the collection of sound signals, noise reduction, identification of sound sources, realization of directional recording function, etc.
[0130] The earphone interface 170D is used to connect a wired earphone and can be a USB interface 130, or a 3.5 mm open mobile terminal platform (OMTP) standard interface or a cellular telecommunications industry association of the USA (CTIA) standard interface.
[0131] The pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A can be set on the display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. The capacitive pressure sensor can be a parallel plate including at least two conductive materials. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The terminal device 100 determines the intensity of the pressure according to the change in capacitance. When a touch operation acts on the display screen 194, the terminal device 100 detects the touch operation intensity according to the pressure sensor 180A. The terminal device 100 can also calculate the touch position according to the detection signal of the pressure sensor 180A. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities can correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold acts on the short message application icon, an instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, an instruction to create a new short message is executed.
[0132] The gyroscope sensor 180B can be used to determine the motion posture of the terminal device 100. In some embodiments, the angular velocity of the terminal device 100 around three axes (i.e., x, y, and z axes) can be determined by the gyroscope sensor 180B. The gyroscope sensor 180B can be used for anti-shake shooting. For example, when the shutter is pressed, the gyroscope sensor 180B detects the angle of the terminal device 100 shaking, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to offset the shaking of the terminal device 100 through reverse movement to achieve anti-shake. The gyroscope sensor 180B can also be used for navigation and somatosensory game scenes.
[0133] The air pressure sensor 180C is used to measure air pressure. In some embodiments, the terminal device 100 calculates the altitude through the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.
[0134] The magnetic sensor 180D includes a Hall sensor. The terminal device 100 can use the magnetic sensor 180D to detect the opening and closing of the flip leather case. In some embodiments, when the terminal device 100 is a flip phone, the terminal device 100 can detect the opening and closing of the flip cover according to the magnetic sensor 180D. Then, according to the detected opening and closing state of the leather case or the opening and closing state of the flip cover, the flip cover automatic unlocking and other features are set.
[0135] The acceleration sensor 180E can detect the magnitude of the acceleration of the terminal device 100 in all directions (generally three axes). When the terminal device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of the terminal device 100 and applied to applications such as horizontal and vertical screen switching and pedometers.
[0136] The distance sensor 180F is used to measure the distance. The terminal device 100 can measure the distance by infrared or laser. In some embodiments, when shooting a scene, the terminal device 100 can use the distance sensor 180F to measure the distance to achieve fast focusing.
[0137] The proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The terminal device 100 emits infrared light outward through the light emitting diode. The terminal device 100 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the terminal device 100. When insufficient reflected light is detected, the terminal device 100 can determine that there is no object near the terminal device 100. The terminal device 100 can use the proximity light sensor 180G to detect that the user holds the terminal device 100 close to the ear to talk, so as to automatically turn off the screen to save power. The proximity light sensor 180G can also be used in leather case mode, and pocket mode automatically unlocks and locks the screen.
[0138] The ambient light sensor 180L is used to sense the ambient light brightness. The terminal device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness. The ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the terminal device 100 is in a pocket to prevent accidental touch.
[0139] The fingerprint sensor 180H is used to collect fingerprints. The terminal device 100 can use the collected fingerprint characteristics to achieve fingerprint unlocking, access application locks, fingerprint photography, fingerprint call answering, etc.
[0140] The temperature sensor 180J is used to detect temperature. In some embodiments, the terminal device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the terminal device 100 reduces the performance of the processor located near the temperature sensor 180J to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold, the terminal device 100 heats the battery 142 to avoid abnormal shutdown of the terminal device 100 due to low temperature. In other embodiments, when the temperature is lower than another threshold, the terminal device 100 performs a boost on the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
[0141] The touch sensor 180K is also called a "touch control device". The touch sensor 180K can be set on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also called a "touch control screen". The touch sensor 180K is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180K can also be set on the surface of the terminal device 100, which is different from the position of the display screen 194.
[0142] The bone conduction sensor 180M can obtain a vibration signal. In some embodiments, the bone conduction sensor 180M can obtain a vibration signal of a vibrating bone block of the vocal part of the human body. The bone conduction sensor 180M can also contact the human pulse to receive a blood pressure beat signal. In some embodiments, the bone conduction sensor 180M can also be set in an earphone and combined into a bone conduction earphone. The audio module 170 can parse out a voice signal based on the vibration signal of the vibrating bone block of the vocal part obtained by the bone conduction sensor 180M to realize a voice function. The application processor can parse the heart rate information based on the blood pressure beat signal obtained by the bone conduction sensor 180M to realize a heart rate detection function.
[0143] The key 190 includes a power key, a volume key, etc. The key 190 may be a mechanical key or a touch key. The terminal device 100 may receive key input and generate key signal input related to user settings and function control of the terminal device 100.
[0144] Motor 191 can generate vibration prompts. Motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, audio playback, etc.) can correspond to different vibration feedback effects. For touch operations acting on different areas of the display screen 194, motor 191 can also correspond to different vibration feedback effects. Different application scenarios (for example: time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.
[0145] Indicator 192 may be an indicator light, which may be used to indicate charging status, power changes, messages, missed calls, notifications, etc.
[0146] The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to and separated from the terminal device 100 by inserting the SIM card interface 195 or pulling it out from the SIM card interface 195. The terminal device 100 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, and the like. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the multiple cards can be the same or different. The SIM card interface 195 can also be compatible with different types of SIM cards. The SIM card interface 195 can also be compatible with external memory cards. The terminal device 100 interacts with the network through the SIM card to implement functions such as calls and data communications. In some embodiments, the terminal device 100 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the terminal device 100 and cannot be separated from the terminal device 100.
[0147] This embodiment also provides a computer storage medium, in which computer instructions are stored. When the computer instructions are executed on the terminal device 100, the terminal device 100 executes the above-mentioned related method steps to implement the method for reducing power consumption in the above-mentioned embodiment.
[0148] This embodiment further provides a computer program product. When the computer program product is run on a computer, the computer is caused to execute the above-mentioned related steps to implement the method for reducing power consumption in the above-mentioned embodiment.
[0149] In addition, an embodiment of the present application also provides a device, which can specifically be a chip, component or module, and the device may include a connected processor and memory; wherein the memory is used to store computer execution instructions, and when the device is running, the processor can execute the computer execution instructions stored in the memory so that the chip executes the method of reducing power consumption in the above-mentioned method embodiments.
[0150] Among them, the terminal device 100, computer storage medium, computer program product or chip provided in this embodiment are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above, and will not be repeated here.
[0151] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0152] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0153] The unit described as a separate component may or may not be physically separated, and the component shown as a unit may be one physical unit or multiple physical units, that is, it may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiment.
[0154] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0155] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to perform all or part of the steps of each embodiment method of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), disk or optical disk and other media that can store program code.
[0156] The above implementation modes are only used to illustrate the technical solutions of the present application and are not intended to limit the present application. Although the present application has been described in detail with reference to the above preferred implementation modes, a person skilled in the art should understand that the technical solutions of the present application may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present application.
Claims
1. A method for reducing power consumption, applied in a communication system, characterized in that: The communication system includes a terminal device and a network device, and the method includes: The terminal device obtains the communication mode, mobile status and service data of the terminal device when confirming that the network device has a message filtering function; According to the communication mode, the mobile state and the service data, the terminal device determines whether there is a user-perceivable service; If an abnormal wake-up message is received from the network device and the terminal device has no user-perceivable service, the terminal device sends a first control instruction to the network device, where the first control instruction carries the wake-up source information of the abnormal wake-up message; The network device parses the first control instruction and obtains the wake-up source information, and filters the message sent from the network server to the terminal device according to the wake-up source information.
2. The method for reducing power consumption according to claim 1, characterized in that: The terminal device judging whether there is a user-perceivable service according to the communication mode, the mobile state and the service data includes: When it is determined that the communication mode of the terminal device is the Wi-Fi communication mode, if it is determined that the terminal device satisfies one or more of the following conditions: the motion state of the terminal device is a stationary state, no audio data is output in the terminal device, the change data of the ambient light intensity value detected by the terminal device does not exceed the preset light intensity value, there is download data in the system background of the terminal device, and the alarm of the terminal device is ringing, it is determined that the terminal device does not have the user-perceivable service.
3. The method for reducing power consumption as claimed in claim 2, characterized in that: Determining the communication mode of the terminal device includes: If the terminal device receives a connection confirmation signal replied by the network device, it is determined that the communication mode of the terminal device is a Wi-Fi communication mode; If the terminal device receives a connection confirmation signal replied by the base station, it is determined that the communication mode of the terminal device is a data service communication mode.
4. The method for reducing power consumption as claimed in claim 2, characterized in that: Determining the motion state of the terminal device includes: The terminal device detects the movement acceleration of the terminal device through an acceleration sensor; If the movement acceleration is greater than or equal to a preset acceleration value, it is determined that the terminal device is in a moving state; If the movement acceleration is less than the preset acceleration value, it is determined that the terminal device is in the stationary state.
5. The method for reducing power consumption according to claim 1, wherein: The terminal device judging whether there is a user-perceivable service according to the communication mode, the mobile state and the service data includes: When one or more of the following conditions are met, it is determined that the terminal device has a user-perceivable service: The communication mode of the terminal device is a data service communication mode; The motion state of the terminal device is a moving state; The terminal device outputs audio data; The change data of the ambient light intensity value detected by the terminal device exceeds the preset light intensity value; A screen lighting event occurs on the terminal device; There is download data in the system background of the terminal device; The alarm of the terminal device rings.
6. The method for reducing power consumption according to claim 1, wherein: The receiving an abnormal wake-up message from the network device comprises: The terminal device obtains the wake-up source information of the message and the receiving time information of the message; If it is determined according to the wake-up source information of the message and the reception time information of the message that the number of times the message is received within the preset time period is greater than or equal to the preset number of times, the message is determined to be the abnormal wake-up message; If it is determined according to the wake-up source information of the message and the reception time information of the message that the number of times the message is received within the preset time period is less than the preset number, it is determined that the message is not the abnormal wake-up message.
7. The method for reducing power consumption according to claim 1, characterized in that: The wake-up source information includes the Internet Protocol IP address, port number, and protocol information of the message sender, and the IP address and port number of the message receiver.
8. The method for reducing power consumption as claimed in claim 1, characterized in that: The filtering of the message sent from the network server to the terminal device according to the wake-up source information includes: The network protocol stack of the network device parses the first control instruction to obtain the wakeup source information of the abnormal wakeup message, and sends the first control instruction and the wakeup source information to the Wi-Fi driver of the network device; The Wi-Fi driver responds to the first control instruction and filters the message from the network server received by the Wi-Fi chip of the network device according to the wake-up source information.
9. The method for reducing power consumption as claimed in claim 8, characterized in that: The filtering of the message received by the Wi-Fi chip of the network device from the network server according to the wake-up source information includes: If the message from the network server includes the wake-up source information of the abnormal wake-up message, the network device filters the message containing the wake-up source information sent by the network server and does not send it to the terminal device.
10. The method for reducing power consumption according to claim 1, characterized in that: The method further comprises: If it is determined that the terminal device has the user-perceivable service, the terminal device sends a second control instruction to the network device; The network device does not filter the message sent by the network server to the terminal device according to the second control instruction.
11. The method for reducing power consumption according to claim 1, wherein: Confirming that the network device has a message filtering function includes: The terminal device sends a search request to the network device, wherein the search request is used to determine whether the network device has a message filtering function; According to the received confirmation reply sent by the network device, the terminal device determines that the network device has the function of packet filtering.
12. A method for reducing power consumption, applied to a terminal device, characterized in that: The terminal device is communicatively connected with the network device, and the method comprises: If the network device has a message filtering function, obtaining the communication mode, mobile status and service data of the terminal device; Determining whether the terminal device has a user-perceivable service according to the communication mode, the mobile state and the service data; If an abnormal wake-up message is received from the network device and the terminal device has no user-perceivable service, a first control instruction is sent to the network device, and the first control instruction is used to instruct the network device to filter the message sent from the network server to the terminal device. The first control instruction carries the wake-up source information of the abnormal wake-up message.
13. The method for reducing power consumption according to claim 12, characterized in that: The determining, according to the communication mode, the mobile state and the service data, whether the terminal device has a user-perceivable service comprises: When it is determined that the communication mode of the terminal device is the communication mode, if it is determined that the terminal device satisfies one or more of the following conditions: the motion state of the terminal device is a stationary state, no audio data is output in the terminal device, the change data of the ambient light intensity value detected by the terminal device does not exceed the preset light intensity value, there is download data in the system background of the terminal device, and the alarm of the terminal device is ringing, it is determined that the terminal device does not have the user-perceivable service.
14. The method for reducing power consumption according to claim 12, characterized in that: The determining, according to the communication mode, the mobile state and the service data, whether the terminal device has a user-perceivable service comprises: When one or more of the following conditions are met, it is determined that the terminal device has a user-perceivable service: The communication mode of the terminal device is a data service communication mode; The motion state of the terminal device is a moving state; The terminal device outputs audio data; The change data of the ambient light intensity value detected by the terminal device exceeds the preset light intensity value; A screen lighting event occurs on the terminal device; There is download data in the system background of the terminal device; The alarm of the terminal device rings.
15. The method for reducing power consumption according to claim 12, characterized in that: The receiving an abnormal wake-up message from the network device comprises: Obtaining wake-up source information of the message and receiving time information of the message; If it is determined according to the wake-up source information of the message and the reception time information of the message that the number of times the message is received within the preset time period is greater than or equal to the preset number of times, the message is determined to be the abnormal wake-up message; If it is determined according to the wake-up source information of the message and the reception time information of the message that the number of times the message is received within the preset time period is less than the preset number, it is determined that the message is not the abnormal wake-up message.
16. The method for reducing power consumption according to claim 12, characterized in that: The method further comprises: If it is determined that the terminal device has the user-perceivable service, a second control instruction is sent to the network device to instruct the network device not to filter the message sent from the network server to the terminal device according to the second control instruction.
17. The method for reducing power consumption according to claim 12, characterized in that: Determining that the network device has a message filtering function includes: Sending a search request to the network device, wherein the search request is used to determine whether the network device has a message filtering function; According to the received confirmation reply sent by the network device, it is determined that the network device has a message filtering function.
18. A method for reducing power consumption, applied to a network device, characterized in that: The network device is communicatively connected with the terminal device, and the method comprises: In response to the search request for the message filtering function sent by the terminal device, a confirmation reply is sent to the terminal device to indicate that the network device has the message filtering function; Receiving a first control instruction sent by the terminal device, and parsing the first control instruction to obtain wake-up source information of the abnormal wake-up message; The message sent from the network server to the terminal device is filtered according to the wake-up source information.
19. The method for reducing power consumption as claimed in claim 18, characterized in that: The filtering of the message sent from the network server to the terminal device according to the wake-up source information includes: The network protocol stack of the network device parses the first control instruction to obtain the wakeup source information of the abnormal wakeup message, and sends the first control instruction and the wakeup source information to the Wi-Fi driver of the network device; The Wi-Fi driver responds to the first control instruction and filters the message from the network server received by the Wi-Fi chip of the network device according to the wake-up source information.
20. The method for reducing power consumption as claimed in claim 19, characterized in that: The filtering of the message received by the Wi-Fi chip of the network device from the network server according to the wake-up source information includes: If the message from the network server includes the wake-up source information of the abnormal wake-up message, the message including the wake-up source information sent by the network server is filtered out and not sent to the terminal device.
21. The method for reducing power consumption as claimed in claim 18, characterized in that: The method further comprises: Receiving a second control instruction sent by the terminal device; According to the second control instruction, the message sent from the network server to the terminal device is not filtered.
22. A terminal device, characterized in that: It includes a processor and a memory; wherein the processor is connected to the memory; The memory is used to store program instructions; The processor is configured to read the program instructions stored in the memory to implement the method for reducing power consumption as claimed in any one of claims 12 to 17.
23. A network device, characterized in that: It includes a processor and a memory; wherein the processor is connected to the memory; The memory is used to store program instructions; The processor is used to read the program instructions stored in the memory to implement the method for reducing power consumption as described in any one of claims 18 to 21.
24. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores program instructions, and when the program instructions are executed on an electronic device, the electronic device executes the method for reducing power consumption according to any one of claims 1 to 21.
Citation Information
Patent Citations
Terminal wake-up processing method and device and medium
CN113453321A
Data communication method and device
CN115696520A
Mobile communication network real-time maintenance method
CN116828513A
Method and apparatus for operating wake on WLAN
US20140078950A1
Method For Acting as Service Agent, Modem, and Terminal
US20150121100A1