Methods to reduce power consumption, terminal devices, network devices and storage media
By working collaboratively between terminal devices and network devices, abnormal wake-up messages are identified and filtered, solving the problem of excessive power consumption caused by frequent wake-ups of terminal devices after the screen is off, thereby reducing power consumption and extending standby time.
Patent Information
- Application Number
- CN202311385999.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-23
- Publication Date
- 2025-12-02
- Estimated Expiration
- 2043-10-23
AI Technical Summary
Excessive power consumption when terminal devices are frequently woken up after the screen is off affects standby time and user experience.
Terminal devices identify when there are no user-perceptible services by judging the communication method, mobility status, and service data, and send control commands to network devices. Network devices filter abnormal wake-up messages based on wake-up source information to prevent terminal devices from being woken up.
It reduces the power consumption of terminal devices, extends standby time, and improves the user experience.
Smart Images

Figure CN119922657B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communications, and more specifically, to a method for reducing power consumption, a terminal device, a network device, and a storage medium. Background Technology
[0002] When a terminal device is in a system sleep state after the screen is turned off (e.g., screen off at night, screen off during user work), it will exit the system sleep state upon receiving a message, thus waking up the terminal device. Waking up consumes power. If the terminal device receives multiple messages in a short period, it will be woken up multiple times, resulting in excessive power consumption, reduced standby time, and negatively impacting the user experience. Summary of the Invention
[0003] In view of the above, it is necessary to provide a method, terminal device, network device, and storage medium for reducing power consumption to reduce the problem of excessive power consumption when the terminal device is frequently woken up.
[0004] In a first aspect, embodiments of this application provide a method for reducing power consumption, applied in a communication system. The communication system includes a terminal device and a network device. The method includes: when the terminal device confirms that the network device has a message filtering function, it acquires the communication mode, mobility status, and service data of the terminal device; based on the communication mode, mobility status, and service data, the terminal device determines whether there is a user-perceptible service; if an abnormal wake-up message is received from the network device and the terminal device has no user-perceptible service, the terminal device sends a first control command to the network device, the first control command carrying wake-up source information of the abnormal wake-up message; the network device parses the first control command and obtains the wake-up source information, and filters the messages sent from the network server to the terminal device based on the wake-up source information. In the above technical solution, when the terminal device determines that the network device has the function of supporting packet filtering, the terminal device receives an abnormal wake-up message, and the terminal device has no user-perceptible service, it 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 woken up 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 this application, based on the communication method, mobility status, and service data, the terminal device determines whether it has a user-perceptible service. This includes: if the terminal device's communication method is determined to be Wi-Fi, and if the terminal device meets one or more of the following conditions: the terminal device is stationary, no audio data is output, the change in ambient light intensity detected by the terminal device does not exceed a preset light intensity value, there is data downloading in the background of the terminal device's system, and the alarm clock is ringing, then the terminal device is determined to have no user-perceptible service. In the above technical solution, if the terminal device meets one or more of the following conditions: the terminal device is stationary, no audio data is output, the change in ambient light intensity detected by the terminal device does not exceed a preset light intensity value, there is data downloading in the background of the terminal device's system, and the alarm clock is ringing, then it is determined that the terminal device currently has no service requiring interaction with the user, so that the network device can subsequently manage the messages sent to the terminal device.
[0006] In one embodiment of this application, determining the communication mode of the terminal device includes: if the terminal device receives a connection confirmation signal from the network device, determining that the communication mode of the terminal device is Wi-Fi communication; if the terminal device receives a connection confirmation signal from the base station, determining that the communication mode of the terminal device is data service communication. In the above technical solution, the terminal device determines its communication mode through the connection confirmation signal from the network device.
[0007] In one embodiment of this application, determining the motion state of the terminal device includes: the terminal device detecting its own acceleration using an accelerometer; if the acceleration is greater than or equal to a preset acceleration value, determining that the terminal device is in motion; and if the acceleration is less than the preset acceleration value, determining that the terminal device is stationary. In the above technical solution, the terminal device can determine its motion state based on the data detected by the accelerometer.
[0008] In one embodiment of this application, based on the communication method, mobility status, and service data, the terminal device determines whether it has a user-perceptible service, including: determining that the terminal device has a user-perceptible service when one or more of the following conditions are met: the terminal device's communication method is a data service communication method; the terminal device's mobility status is mobile; the terminal device outputs audio data; the change in ambient light intensity detected by the terminal device exceeds a preset light intensity value; the terminal device experiences a screen-on event; the terminal device's system background has downloaded data; the terminal device's alarm clock rings. In the above technical solution, by determining that the terminal device meets one or more of the following conditions: the terminal device's communication method is a data service communication method; the terminal device's mobility status is mobile; the terminal device outputs audio data; the change in ambient light intensity detected by the terminal device exceeds a preset light intensity value; the terminal device experiences a screen-on event; the terminal device's system background has downloaded data; and the terminal device's alarm clock rings, it is determined that the terminal device currently needs to interact with the user regarding a service.
[0009] In one embodiment of this application, receiving an abnormal wake-up message from a network device includes: the terminal device acquiring the wake-up source information and the message reception time information of the message; if, based on the wake-up source information and the message reception time information, it is determined that the number of times the message is received within a preset time period is greater than or equal to a preset number, the message is determined to be an abnormal wake-up message; if, based on the wake-up source information and the message reception time information, it is determined that the number of times the message is received within the preset time period is less than a preset number, 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, abnormal wake-up messages can be identified, so that the network device can subsequently manage the messages sent to the terminal device.
[0010] In one embodiment of this application, the wake-up source information includes the Internet Protocol (IP) address, port number, and protocol information of the message sender, as well as the IP address and port number of the message receiver.
[0011] In one embodiment of this application, filtering messages sent from a network server to a terminal device based on wake-up source information includes: the network protocol stack of the network device parsing the wake-up source information of the abnormal wake-up message from a first control instruction, and sending the first control instruction and the wake-up source information to the Wi-Fi driver of the network device; the Wi-Fi driver responding to the first control instruction, filtering messages received by the Wi-Fi chip of the network device from the network server according to the wake-up source information. In the above technical solution, the network device can filter messages received by its Wi-Fi chip from the network server according to the first control instruction sent by the terminal device, thereby preventing the terminal device from being woken up by abnormal wake-up messages.
[0012] In one embodiment of this application, filtering packets received by the Wi-Fi chip of the network device from the network server according to wake-up source information includes: if the packet from the network server includes wake-up source information of an abnormal wake-up packet, the network device filters out the packet 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 avoids the terminal device from being woken up by abnormal wake-up packets by filtering out the packet containing wake-up source information sent by the network server.
[0013] In one embodiment of this application, the method further includes: if it is determined that the terminal device has user-aware services, the terminal device sends a second control instruction to the network device; the network device, according to the second control instruction, does not filter the packets sent from the network server to the terminal device. In the above technical solution, the network device can cancel the filtering of packets 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 this application, the terminal device confirms that the network device has packet filtering functionality by: the terminal device sending a lookup request to the network device, the lookup request being used to determine whether the network device has packet filtering functionality; and, based on the confirmation reply received from the network device, the terminal device confirming that the network device has packet filtering functionality. In the above technical solution, the terminal device can accurately obtain information about whether the network device has packet filtering capabilities through the query request.
[0015] Secondly, embodiments of this application provide a method for reducing power consumption applied to a terminal device. The terminal device is communicatively connected to a network device. The method includes: if the network device has a packet filtering function, obtaining the terminal device's communication mode, mobility status, and service data; determining whether the terminal device has user-perceptible services based on the communication mode, mobility status, and service data; if an abnormal wake-up message is received from the network device and the terminal device has no user-perceptible services, sending a first control instruction to the network device. The first control instruction is used to instruct the network device to filter packets sent from the network server to the terminal device, and the first control instruction carries wake-up source information of the abnormal wake-up message. In the above technical solution, when the terminal device determines that the network device has a packet filtering function, receives an abnormal wake-up message, and has no user-perceptible services, it 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 being woken up by the abnormal wake-up message, reducing the terminal device's power consumption, extending the terminal device's standby time, and improving the user experience.
[0016] In one embodiment of this application, determining whether a terminal device has user-perceptible services based on communication method, mobility status, and service data includes: if the terminal device's communication method is determined to be a communication mode, and if the terminal device meets one or more of the following conditions: the terminal device is stationary, no audio data is output, the change in ambient light intensity detected by the terminal device does not exceed a preset light intensity value, there is data downloading in the background of the terminal device's system, or the alarm clock is ringing, then the terminal device is determined to have no user-perceptible services. In the above technical solution, if the terminal device meets one or more of the following conditions: the terminal device is stationary, no audio data is output, the change in ambient light intensity detected by the terminal device does not exceed a preset light intensity value, there is data downloading in the background of the terminal device's system, or the alarm clock is ringing, then it is determined that the terminal device currently has no services requiring interaction with the user, so that the network device can be subsequently instructed to manage the messages sent to the terminal device.
[0017] In one embodiment of this application, determining whether a terminal device has a user-perceptible service based on communication method, mobility status, and service data includes: determining that the terminal device has a user-perceptible service when one or more of the following conditions are met: the terminal device's communication method is a data service communication method; the terminal device's mobility status is mobile; the terminal device outputs audio data; the change in ambient light intensity detected by the terminal device exceeds a preset light intensity value; the terminal device experiences a screen-on event; the terminal device's system background has downloaded data; the terminal device's alarm clock rings. In the above technical solution, determining that the terminal device currently needs to interact with the user is based on one or more of the following conditions: the terminal device's communication method is a data service communication method; the terminal device's mobility status is mobile; the terminal device outputs audio data; the change in ambient light intensity detected by the terminal device exceeds a preset light intensity value; the terminal device experiences a screen-on event; the terminal device's system background has downloaded data; and the terminal device's alarm clock rings.
[0018] In one embodiment of this application, receiving an abnormal wake-up message from a network device includes: obtaining the wake-up source information and the message reception time information; if, based on the wake-up source information and the message reception time information, the number of times the message is received within a preset time period is greater than or equal to a preset number, the message is determined to be an abnormal wake-up message; if, based on the wake-up source information and the message reception time information, the number of times the message is received within the preset time period is less than a preset number, the message is determined not to be an abnormal wake-up message. In the above technical solution, an 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 this application, the method further includes: if it is determined that the terminal device has user-aware services, sending a second control instruction to the network device to instruct the network device not to filter packets 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 a second control instruction to the network device to instruct the network device to cancel the filtering of packets sent from the network server to the terminal device.
[0020] In one embodiment of this application, determining that a network device has packet filtering functionality includes: sending a lookup request to the network device, the lookup request being used to determine whether the network device has packet filtering functionality; and determining that the network device has packet filtering functionality based on the received confirmation reply from the network device. In the above technical solution, the terminal device can accurately obtain information about whether the network device has packet filtering capabilities through the query request.
[0021] Thirdly, embodiments of this application provide a method for reducing power consumption, applied to a network device that is communicatively connected to a terminal device. The method includes: responding to a request from the terminal device to search for a packet filtering function; sending an acknowledgment reply to the terminal device to indicate that the network device has a packet filtering function; receiving a first control instruction from the terminal device and parsing the wake-up source information of an abnormal wake-up message from the first control instruction; and filtering the messages sent from the network server to the terminal device based on the wake-up source information. In the above technical solution, the network device filters the abnormal wake-up messages sent to the terminal device according to the first control instruction and does not send the abnormal wake-up messages to the terminal device, thereby preventing the terminal device from being woken up by the abnormal wake-up messages, 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 this application, filtering messages sent from the network server to the terminal device based on wake-up source information includes: the network protocol stack of the network device parsing the wake-up source information of the abnormal wake-up message from the first control instruction, and sending 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 messages received by the Wi-Fi chip of the network device from the network server 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 messages received by the Wi-Fi chip of the network device from the network server, thereby preventing the terminal device from being woken up by abnormal wake-up messages.
[0023] In one embodiment of this application, filtering packets received by the Wi-Fi chip of the network device from the network server according to wake-up source information includes: if a packet from the network server contains wake-up source information of an abnormal wake-up packet, filtering out the packet 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 avoids the terminal device from being woken up by abnormal wake-up packets by filtering out packets containing wake-up source information sent by the network server.
[0024] In one embodiment of this application, the method further includes: receiving a second control instruction sent by a terminal device; and not filtering packets 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 filtering of packets sent from the network server to the terminal device according to the second control instruction sent by the terminal device.
[0025] Fourthly, embodiments of this application provide 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 aforementioned method for reducing power consumption.
[0026] Fifthly, embodiments of this application provide 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 aforementioned method for reducing power consumption.
[0027] Sixthly, embodiments of this application provide a computer-readable storage medium storing program instructions that, when executed on a terminal device, cause the terminal device to perform the aforementioned power reduction method.
[0028] Furthermore, the technical effects brought about by aspects four through six can be found in the descriptions of the methods in the above-mentioned method section, and will not be repeated here. Attached Figure Description
[0029] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings in the embodiments will be briefly described below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0030] Figure 1 This is an application scenario diagram of a power reduction method provided in an embodiment of this application.
[0031] Figure 2This is a schematic diagram of wake-up source information for a message provided in an embodiment of this application.
[0032] Figure 3 This is a schematic diagram of a message provided in an embodiment of this application.
[0033] Figure 4 A flowchart of a method for reducing power consumption provided in an embodiment of this application.
[0034] Figure 5 This is a schematic diagram of the network settings interface in one embodiment of this application.
[0035] Figure 6 This is a schematic diagram illustrating the communication connection between a mobile phone and a router according to an embodiment of this application.
[0036] Figure 7 This is a schematic diagram of a terminal device in one embodiment of this application. Detailed Implementation
[0037] Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of embodiments of this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design solutions. Specifically, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.
[0038] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains. The terminology used in this application's specification is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. It should be understood that, unless otherwise stated, " / " in this application means "or". For example, A / B can mean A or B. "And / or" in this application is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, and B alone. "At least one" refers to one or more. "More than one" refers to two or more. For example, at least one of a, b, or c can represent: a, b, c, a and b, a and c, b and c, and a, b, and c (seven cases).
[0039] When a terminal device's screen is off (e.g., at night or during user work), it enters a system sleep state. However, upon receiving a message from the router, the terminal device exits sleep mode and connects to the router via Wi-Fi, thus waking up. This wake-up process consumes power. If the terminal device receives multiple messages within a short period, it will be woken up multiple times, reducing its standby time and resulting in excessive power consumption, negatively impacting the user experience.
[0040] To address the issue of excessive power consumption caused by frequent wake-ups of terminal devices in screen-off scenarios (e.g., screen-off at night or when the user is working), embodiments of this application provide a method for reducing power consumption. (See reference...) Figure 1 The diagram shown illustrates an application scenario of a power reduction method provided in an embodiment of this application. The method is applied to terminal devices (such as…). Figure 1 The terminal device 100 shown) and network equipment (such as Figure 1 In the network device 200 shown, the terminal device 100 establishes a communication connection with the network device 200 (e.g., communicating via a Wi-Fi channel) and can communicate with the network connected to the network device 200. When the network device 200 receives a message from the network server sent to the terminal device 100, it forwards the message to the terminal device 100 to wake it up. When the terminal device 100 receives a message sent by the network device 200, if it determines that the message is an abnormal wake-up message and the terminal device 100 meets preset conditions, it sends a first control command to the network device 200. Based on the wake-up source information of the message carried by the first control command, the network device 200 filters the messages sent by the network server to the terminal device 100. In this way, the network device 200 can filter abnormal wake-up messages sent by the network server and not send the messages to the terminal device, thereby avoiding the terminal device 100 being repeatedly woken up by abnormal wake-up sources, thus 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 this application, the terminal device 100 may be a mobile phone, tablet computer, desktop computer, laptop computer, handheld computer, notebook computer, ultra-mobile personal computer (UMPC), netbook, as well as cellular phone, personal digital assistant (PDA), augmented reality (AR) device, virtual reality (VR) device, artificial intelligence (AI) device, wearable device, in-vehicle device, smart home device, and / or smart city device, etc. In one embodiment of this application, the network device 200 may be a switch, router, or hub.
[0042] In one embodiment of this application, the terminal device 100 includes a network environment perception module 101, a mobility state perception module 102, a service scenario perception module 103, a service monitoring module 104, a first decision module 105, an anomaly 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 sensing module 101 is used to determine the communication mode of the terminal device 100. The communication modes include Wi-Fi communication and data service communication, with data service communication including cellular data communication services. Wi-Fi communication refers to the communication mode where the terminal device 100 connects to the network device 200 via a Wi-Fi channel, and data service communication refers to the communication mode where the terminal device 100 connects to a base station (such as a cellular base station). In one embodiment of this application, if the network environment sensing module 101 receives a confirmation connection signal from 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 sensing module 101 receives a confirmation connection signal from a base station (such as a 4G or 5G base station), it determines that the communication mode of the terminal device 100 is data service. After determining the communication mode of the terminal device 100, the network environment sensing module 101 sends the communication mode information to the service monitoring module 104.
[0044] The motion 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 this application, the motion state sensing module 102 can detect the motion state of the terminal device 100 through sensors of the terminal device 100, such as an accelerometer or a gravity sensor, and send the motion state to the service monitoring module 104. In one embodiment of this application, the motion state includes a moving state and a stationary state.
[0045] The business scenario perception module is used to acquire business data from the terminal device 100 and send the acquired business data to the business monitoring module 104. In one embodiment of this application, the business data may include, but is not limited to: audio data, ambient light intensity value change data, system background download data, screen-on events, and alarm clock ringing.
[0046] The service monitoring module 104 is used to determine whether the terminal device 100 has any user-perceptible service based on the communication method, movement result, and service data of the terminal device 100, and to send the result of whether there is a user-perceptible service or not to the first decision module 105. In one embodiment of this application, determining whether the terminal device 100 has no user-perceptible service based on the communication method, movement result, and service data of the terminal device 100 includes: if it is determined that the communication method of the terminal device 100 is Wi-Fi communication, if it is determined that the terminal device 100 meets one or more of the following conditions: the terminal device 100 is in 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 data being downloaded in the system background, and the alarm rings when the timer reaches the set time, then it is determined that the terminal device 100 has no user-perceptible service. In one embodiment of this application, a terminal device 100 is determined to have user-perceptible services when one or more of the following conditions are met: the communication mode of the terminal device 100 is data service communication; the motion state of the terminal device 100 is a moving state; the terminal device 100 outputs audio data; the terminal device 100 detects a change in ambient light intensity value that exceeds a preset light intensity value; the terminal device 100 downloads data in its background system; the terminal device 100 experiences a screen-on event; or the alarm clock of the terminal device 100 rings.
[0047] The first Wi-Fi chip 109 receives a 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 anomaly monitoring module 106 through the first hardware abstraction layer 107. The anomaly monitoring module 106 obtains the wake-up source information and the message reception time information from the message, and determines whether the message is an abnormal wake-up message based on the wake-up source information and the message reception time information. In one embodiment of this application, the wake-up source information includes the Internet Protocol Address (IP) address, port number, and protocol information of the message sender, and the IP address and port number of the message receiver. For example, refer to... Figure 2 The wake-up source information shows that the sender's IP address is 124.70.116.53, the sender's port number is 433, and the sender's protocol is Transmission Control Protocol (TCP). The receiver's IP address is 10.35.95.36, and the receiver's port number is 38086. In one embodiment of this application, determining whether a message is an abnormal wake-up message based on the wake-up source information and the message's reception time information includes: determining whether the number of times the message is received within a preset time period is greater than or equal to a preset number; 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; 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 one embodiment of this application, the preset time period and the preset number can be set as needed; for example, the preset time period can be set to 5 minutes, and the preset number can be set to 5 times.
[0048] refer to Figure 3 The image shown is a schematic diagram of a message provided in an embodiment of this application. Figure 3 Based on the message reception time, the anomaly monitoring module 106 can determine that within 5 minutes after 11:45:38 on July 20, 2023, a total of 11 messages were acquired, and all messages had the same wake-up source information. Since the number of times the same message was received within a preset time period (e.g., 5 minutes) is greater than a 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 anomaly 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 supports packet filtering, the terminal device 100 has an abnormal wake-up message, and the terminal device 100 has no user-perceptible services, it sends a first control command to the network device 200 to filter the packets sent from the network server to the terminal device 100. The first control command carries wake-up source information of the abnormal wake-up message. In one embodiment of this application, the decision module 105 sends an inquiry request to the network device 200 regarding whether it supports packet filtering, and upon receiving a response from the network device 200 indicating support for packet filtering, it can determine that the network device 200 supports packet filtering.
[0050] In one embodiment of this 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 command sent by the terminal device 100 and send the first control command to the network protocol stack 202. The network protocol stack 202 parses the first control command to obtain the wake-up source information of the abnormal wake-up message and sends the first control command 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 command and filters the messages 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 this application, filtering packets sent by the second Wi-Fi chip 204 from the network server according to wake-up source information includes: if the packet contains wake-up source information of an abnormal wake-up packet, the network device filters out the packet containing wake-up source information sent by the network server and does not send it to the terminal device. Thus, the network device 200 can filter abnormal wake-up packets sent by the network server according to the first control command sent by the terminal device, and not send the packets to the terminal device, thereby preventing the terminal device 100 from being woken up by an abnormal wake-up source, thereby reducing the power consumption of the terminal device 100 and improving the user experience.
[0052] refer to Figure 4 The diagram shown is a flowchart of a power reduction method according to an embodiment of this application. The method disclosed in this 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, and some steps can be omitted. Some embodiments will be described below with reference to the accompanying drawings. The power reduction method includes the following steps.
[0053] Step S401: The terminal device establishes a Wi-Fi connection with the network device.
[0054] To clearly illustrate the example, the following description uses a mobile phone as the terminal device and a router as the network device 200 to illustrate the specific implementation of the power consumption reduction method. In one embodiment of this application, the mobile phone responds to the user's selection of the Wi-Fi network option in the phone's network settings interface and establishes a Wi-Fi connection with the router. (See reference...) Figure 5 The diagram shown is a schematic representation of a network settings interface according to one embodiment of this application. The network settings 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. When the mobile phone detects that the user has enabled the Wi-Fi network switch option and selected a Wi-Fi network connection option on the network settings interface, it establishes a Wi-Fi connection between the mobile phone and the router corresponding to the selected Wi-Fi network connection option.
[0055] refer to Figure 6The diagram illustrates a communication connection between a mobile phone and a router according to an embodiment of this application. In one embodiment, the mobile phone and the router establish a Wi-Fi connection via Wi-Fi network protocols (such as 802.11a, 802.11b, and 802.11e). In another embodiment, the mobile phone can interact with the router sequentially through a sequence of Probe frames, Authentication frames, Association frames, and Dynamic Host Configuration Protocol (DHCP) frames to establish the Wi-Fi connection. Specifically, in the Probe frame interaction, the mobile phone sends a Probe Request to discover if there is a connectable router in the surrounding environment. If the mobile phone receives a Probe Response frame from the router, it confirms the presence of a connectable router. In the Authentication frame interaction, the mobile phone sends an Authentication Request frame to determine if the capabilities of the mobile phone and the router are compatible. If the mobile phone receives a Successful Authentication Response frame from the router, it confirms that the capabilities of the mobile phone and the router are compatible. In the Association frame interaction process, the mobile phone sends an Association Request frame to request an association with the router. If the mobile phone receives an Association Response frame from the router carrying a successful association reply, then the mobile phone is confirmed to be associated with the router. In the DHCP frame interaction process, the mobile phone can establish a communication connection with the router based on the IP address configured on the router. The methods by which a mobile phone establishes a Wi-Fi connection with a router via the Wi-Fi network protocol can refer to existing related technologies; the detailed interaction process of establishing a Wi-Fi connection between a mobile phone and a router will not be described here.
[0056] In one embodiment of this application, establishing a Wi-Fi connection between a mobile phone and a router via the Wi-Fi network protocol includes: the first Wi-Fi chip of the mobile phone can establish a connection with the second Wi-Fi chip of the router via the Wi-Fi network protocol.
[0057] In step S402, the terminal device sends a lookup request to the network device, wherein the lookup request is used to determine whether the network device has packet filtering functionality.
[0058] In one embodiment of this application, reference is made to Figure 6After establishing a connection with the router, the mobile phone sends a discover request frame to the router to determine whether the network device has packet filtering capabilities. Packet filtering refers to the router's ability to filter packets sent from the network server to the terminal device. If the router has the ability to filter packets sent from the network server to the terminal device, then the router is confirmed to have packet filtering functionality.
[0059] In step S403, after receiving the confirmation reply sent by the network device in response to the lookup request, the terminal device determines that the network device has the function of packet filtering.
[0060] In one embodiment of this application, after the terminal device receives the support (Ack) reply frame sent by the network device in response to the lookup request frame, it determines that the network device has the function of packet filtering, thus realizing the mobile phone's confirmation of the router's end-to-end management capability.
[0061] Step S404: The terminal device obtains the terminal device's communication mode, mobility status, and service data, and determines whether the terminal device has no user-aware service based on the terminal device's communication mode, mobility status, and service data. If it is determined that the mobile phone has no user-aware service, proceed to step S405; if it is determined that the mobile phone has a user-aware service, proceed to step S408.
[0062] In one embodiment of this application, the mobile phone's network environment sensing module determines that the mobile phone's communication mode is Wi-Fi communication based on the connection confirmation signal returned by the router, or determines that the mobile phone's communication mode is data service communication based on the connection confirmation signal returned by the base station. The mobile phone sends the determined communication mode information to the mobile phone's service monitoring module. The mobile phone's motion state sensing module detects the mobile phone's motion state through the mobile phone's accelerometer. For example, the motion state sensing module detects the mobile phone's acceleration or speed through the accelerometer. If the mobile phone's acceleration is greater than or equal to a preset acceleration value, or the mobile phone's speed is greater than or equal to a preset speed value, it determines that the mobile phone is in a moving state. If the mobile phone's acceleration is less than the preset acceleration value, or the mobile phone's speed is less than the preset speed value, it determines that the mobile phone is in a stationary state. The mobile phone's motion state sensing module sends the mobile phone's moving state or stationary state to the mobile phone's service monitoring module.
[0063] The mobile phone's business scenario perception module is used to acquire the mobile phone's business data and send it to the business monitoring module. In one embodiment of this application, in a 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 this application, when the mobile phone moves from a dark environment to a brightly lit environment, the business scenario perception module acquires the change data of the ambient light intensity value as business data. In one embodiment of this application, in a scenario where the mobile phone's background system is downloading data, the business scenario perception module acquires the downloaded data from the background system as business data. In one embodiment of this application, in a scenario where the mobile phone's screen is on, the business scenario perception module acquires the screen-on event of the mobile phone as business data. In one embodiment of this application, in a scenario where the mobile phone's alarm clock application is activated, the business scenario perception module acquires the ringing data of the alarm clock (i.e., the alarm clock application) as business data.
[0064] In one embodiment of this application, when the service monitoring module determines that the mobile phone meets a first preset condition, it determines that the mobile phone has no user-perceptible service. The first preset condition includes, but is not limited to: the mobile phone's communication mode is Wi-Fi communication, the mobile phone's motion state is stationary, the mobile phone is not outputting audio data, the change data of the ambient light intensity value detected by the mobile phone does not exceed a preset light intensity value, the mobile phone has not experienced a screen-on event, the mobile phone's system background has no download data, and the mobile phone's alarm clock has not rung, thus determining that the mobile phone has no user-perceptible 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-perceptible service. In this embodiment, the second preset condition can be any one or a combination of the following conditions: the mobile phone's communication mode is data service communication; the mobile phone's movement state is mobile; the mobile phone outputs audio data; the change in ambient light intensity detected by the mobile phone exceeds a preset light intensity value; the mobile phone experiences a screen-on event; the mobile phone's system background has download data; the mobile phone's alarm clock rings. In the above embodiment, by determining whether the mobile phone meets the first and second preset conditions, it can be determined whether the mobile phone has a user-perceptible service scenario.
[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 this application, the first Wi-Fi chip of the mobile phone receives a 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 and the reception time information of the message from the message, and determines whether the number of times the message is received within a preset time period is greater than or equal to a preset number based on the wake-up source information 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, the message is determined to be an abnormal wake-up message; 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. Thus, this embodiment determines whether an abnormal wake-up message has been received based on the wake-up source information and the reception time information of the message, thereby realizing the monitoring of the wake-up source. In one embodiment of this 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 this 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] In 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 this application, when the first decision module of the mobile phone determines that the router has the function of supporting packet filtering, if it receives an abnormal wake-up message and there is no user-perceptible service, it sends a first control command to the router to filter the packets sent to the mobile phone by the network server. In another embodiment of this application, after the terminal device sends the first control command to the network device, if it receives an Ack reply frame from the network device in response to the first control command, it determines that the network device has received the first control command.
[0070] In step S407, the network device parses the wake-up source information of the abnormal wake-up message from the first control command, and filters the messages sent by the network server to the terminal device according to the wake-up source information of the abnormal wake-up message.
[0071] In one embodiment of this application, the router's second decision module obtains a first control command sent by the mobile phone and sends the first control command to the router's network protocol stack. The network protocol stack analyzes the wake-up source information of the abnormal wake-up message from the first control command and sends the first control command and the wake-up source information of the abnormal wake-up message to the router's second Wi-Fi driver. (See reference...) Figure 6The second Wi-Fi driver responds to the first control command and filters the packets from the network server received by the router's second Wi-Fi chip according to the wake-up source information of the abnormal wake-up message.
[0072] In one embodiment of this application, filtering messages sent from the network server to the terminal device based on 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 this application, after receiving the first control command, the router's second Wi-Fi driver replies with a first confirmation message to the mobile phone to notify the mobile phone that it has received the first control command.
[0074] In step S408, when it is determined that the terminal device has user-aware services, the terminal device sends a second control command to the network device.
[0075] refer to Figure 6 In one embodiment of this application, the mobile phone again obtains the communication mode, mobility status and service data of the terminal device, and when it determines that the terminal device has user-perceptible services based on the obtained communication mode, mobility status and service data of the terminal device, it sends a second control command to the router to instruct the router not to filter the packets sent to the mobile phone by the network server.
[0076] In step S409, the network device does not filter the packets sent from the network server to the terminal device according to the second control instruction.
[0077] In one embodiment of this application, the router's second decision module obtains a second control command sent by the mobile phone and sends the second control command to the router's network protocol stack. The network protocol stack parses the second control command and sends the parsed second control command to the router's second Wi-Fi driver. The second Wi-Fi driver responds to the second control command without filtering the packets sent from the network server to the terminal device.
[0078] In one embodiment of this application, after receiving the second control command, the router's second Wi-Fi driver replies with a second confirmation message to the mobile phone to notify the mobile phone that it has received the second control command.
[0079] In one embodiment of this application, when the mobile phone's service determination module determines that the mobile phone's communication mode has changed from Wi-Fi communication to data service communication, such as cellular data service communication, it determines that the mobile phone has user-aware services and sends the user-aware services to the mobile phone's first decision module. The mobile phone's first decision module sends a second control instruction to the router to instruct the router not to filter the packets sent to the mobile phone by the network server. In this way, when the mobile phone is detected to be communicating with the base station, the router's function of filtering packets is canceled, and the mobile phone can receive packets from the network server.
[0080] In one embodiment of this application, when the mobile phone's motion state changes from a stationary state to a moving state, the mobile phone's service determination module determines that the mobile phone has user-perceptible services and sends the user-perceptible services to the mobile phone's first decision module. The mobile phone's first decision module sends a second control instruction to the router to instruct the router to cancel the filtering of packets sent from the network server to the mobile phone. Thus, in the scenario where mobile phone movement is detected, the router's function of filtering packets is canceled, enabling the mobile phone to receive packets from the network server.
[0081] In one embodiment of this application, when the mobile phone's service determination module determines that the mobile phone has a user-aware service when it determines that the mobile phone is outputting audio data, it sends the user-aware service to the mobile phone's first decision module. The mobile phone's first decision module sends a second control instruction to the router to instruct the router not to filter the packets sent to the mobile phone by the network server. In this way, when the mobile phone is detected to be outputting audio data, the router's function of filtering packets is canceled, and the mobile phone can receive packets from the network server.
[0082] In one embodiment of this application, when the mobile phone's service determination module determines that the change in the ambient light intensity value of the mobile phone exceeds a preset light intensity value, it determines that the mobile phone has a user-perceptible service and sends the user-perceptible service to the mobile phone's first decision module. The mobile phone's first decision module sends a second control instruction to the router to instruct the router not to filter the packets sent to the mobile phone by the network server. Thus, when a scenario is detected in which the change in the ambient light intensity value of the mobile phone exceeds the preset light intensity value (such as when the mobile phone moves from a dark lighting environment to a lit lighting environment), the router's function of filtering packets is canceled, enabling the mobile phone to receive packets from the network server.
[0083] In one embodiment of this application, when the mobile phone's service determination module determines that the mobile phone has a user-aware service when it determines that the mobile phone has a screen-on event, it sends the user-aware service to the mobile phone's first decision module. The mobile phone's first decision module sends a second control instruction to the router to instruct the router not to filter the packets sent to the mobile phone by the network server. Thus, in the scenario where the mobile phone's screen is detected to be on, the router's function of filtering packets is canceled, and the mobile phone can receive packets from the network server.
[0084] In one embodiment of this application, when the mobile phone's service determination module determines that there is download data in the background of the mobile phone's system, it determines that the mobile phone has user-aware services and sends the user-aware services to the mobile phone's first decision module. The mobile phone's first decision module sends a second control instruction to the router to instruct the router not to filter the packets sent to the mobile phone by the network server. In this way, when the background system is detected to be downloading data, the router's function of filtering packets is canceled, and the mobile phone can receive packets from the network server.
[0085] In one embodiment of this application, when the alarm clock rings, the mobile phone's service determination module determines that the mobile phone has a user-aware service and sends the user-aware service to the mobile phone's first decision module. The mobile phone's first decision module sends a second control instruction to the router to instruct the router not to filter the packets sent to the mobile phone by the network server. Thus, when the mobile phone is detected to be ringing an alarm clock, the router's packet filtering function is canceled, enabling the mobile phone to receive packets from the network server.
[0086] In the above embodiments, when the terminal device determines that the network device has the function of supporting packet filtering, the terminal device receives an abnormal wake-up message, and the terminal device has no user-perceptible service, it 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 being woken up, thereby reducing the power consumption of the terminal device and improving the user experience.
[0087] The terminal devices involved in the embodiments of this application will be described below. (Reference) Figure 7 The diagram shown is a schematic representation of the hardware structure of a terminal device in one embodiment of this application. The terminal device may be... Figure 1 Terminal device 100.
[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, a headphone jack 170D, a sensor module 180, buttons 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, a barometric pressure sensor 180C, a magnetic sensor 180D, an accelerometer sensor 180E, a distance sensor 180F, a proximity 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 structures illustrated in the embodiments of this application do not constitute a specific limitation on the terminal device 100. In other embodiments of this application, the terminal device 100 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0090] Processor 110 may include one or more processing units, such as application processors (APs), modem processors, graphics processing units (GPUs), image signal processors (ISPs), controllers, video codecs, digital signal processors (DSPs), baseband processors, and / or neural network processing units (NPUs). These different processing units may be independent devices or integrated into one or more processors.
[0091] The controller can generate operation control signals based on the instruction opcode and timing signals to complete the control of instruction fetching and execution.
[0092] The processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory can store instructions or data that the processor 110 has just used or that are used repeatedly. If the processor 110 needs to use the instruction or data again, it can retrieve it directly from the memory. This avoids repeated accesses, 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. Interfaces 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 I2C buses. The processor 110 can couple to the touch sensor 180K, charger, flash, camera 193, etc., through different I2C bus interfaces. For example, the processor 110 can couple to the touch sensor 180K through the I2C interface, enabling the processor 110 and the touch sensor 180K to communicate 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 may include multiple I2S buses. The processor 110 can be coupled to the audio module 170 via the I2S bus to enable communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 can transmit audio signals to the wireless communication module 160 via the I2S interface to enable the function of answering phone calls 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 the 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, enabling the function of answering phone calls through 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 used for asynchronous communication. This bus can be a bidirectional communication bus. It converts the data to be transmitted between serial and parallel communication. In some embodiments, the UART interface is typically 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 via the UART interface to implement Bluetooth functionality. In some embodiments, the audio module 170 can transmit audio signals to the wireless communication module 160 via the UART interface to enable music playback through Bluetooth headphones.
[0098] The MIPI interface can be used to connect the processor 110 to peripheral devices such as the display screen 194 and the camera 193. The MIPI interface includes a camera serial interface (CSI) and a display serial interface (DSI). In some embodiments, the processor 110 and the camera 193 communicate via the CSI interface to enable the shooting function of the terminal device 100. The processor 110 and the display screen 194 communicate via the DSI interface to enable the display function of the terminal device 100.
[0099] The GPIO interface can be configured via software. It can be configured as a control signal or a data signal. In some embodiments, the GPIO interface can be used to connect the processor 110 to a camera 193, a display screen 194, a wireless communication module 160, an audio module 170, a 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] USB port 130 is a USB standard compliant interface, specifically a Mini USB port, Micro USB port, USB Type-C port, etc. USB port 130 can be used to connect a charger to charge terminal device 100, and can also be used for data transfer between terminal device 100 and peripheral devices. It can also be used to connect headphones for audio playback. This interface can also be used to connect other terminal devices 100, such as AR devices.
[0101] It is understood that the interface connection relationships between the modules illustrated in the embodiments of this application are merely illustrative and do not constitute a structural limitation on the terminal device 100. In other embodiments of this application, the terminal device 100 may also adopt different interface connection methods or a combination of multiple interface connection methods as described in the above embodiments.
[0102] The charging management module 140 receives charging input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 receives charging input from the wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 receives wireless charging input via the wireless charging coil of the terminal device 100. While charging the battery 142, the charging management module 140 can also supply power to the terminal device 100 via the power management module 141.
[0103] The power management module 141 connects 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, providing power to the processor 110, internal memory 121, display screen 194, camera 193, and wireless communication module 160, etc. The power management module 141 can also monitor parameters such as battery capacity, battery cycle count, and battery health status (leakage current, impedance). In some other embodiments, the power management module 141 may also be located within the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may be located in the same device.
[0104] The wireless communication function of the terminal device 100 can be implemented through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor and baseband processor, etc.
[0105] Antennas 1 and 2 are used to transmit and receive electromagnetic wave signals. Each antenna in terminal device 100 can be used to cover one or more communication frequency bands. Different antennas can also be multiplexed to improve antenna utilization. For example, antenna 1 can be multiplexed as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in conjunction with a tuning switch.
[0106] The mobile communication module 150 can provide solutions for wireless communication, including 2G / 3G / 4G / 5G, applied to the terminal device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves via antenna 1, and perform filtering, amplification, and other processing on the received electromagnetic waves before transmitting them to a modem processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation via antenna 1. In some embodiments, at least some functional modules of the mobile communication module 150 may be housed in the processor 110. In some embodiments, at least some functional modules of the mobile communication module 150 and at least some modules of the processor 110 may be housed in the same device.
[0107] The modem processor may include a modulator and a demodulator. The modulator modulates the low-frequency baseband signal to be transmitted into a mid-to-high frequency signal. The demodulator demodulates 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 processing by the baseband processor, the low-frequency baseband signal is transmitted to the application processor. The application processor outputs sound signals through an audio device (not limited to speaker 170A, receiver 170B, etc.) or displays images or videos through the display screen 194. In some embodiments, the modem processor may be a separate device. In other embodiments, the modem processor may be independent of the processor 110 and may be housed in the same device as the mobile communication module 150 or other functional modules.
[0108] The wireless communication module 160 can provide solutions for wireless communication applications on the terminal device 100, 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), and infrared (IR) technologies. 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 antenna 2, performs frequency modulation and filtering of the electromagnetic wave signals, and sends the processed signal to processor 110. The wireless communication module 160 can also receive signals to be transmitted from processor 110, perform frequency modulation and amplification, and convert them into electromagnetic waves for radiation via antenna 2.
[0109] In some embodiments, antenna 1 of terminal device 100 is coupled to mobile communication module 150, and antenna 2 is coupled to wireless communication module 160, enabling terminal device 100 to communicate with networks and other devices via 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 technologies, etc. The GNSS may include the Global Positioning System (GPS), the Global Navigation Satellite System (GLONASS), the BeiDou Navigation Satellite System (BDS), the Quasi-Zenith Satellite System (QZSS), and / or satellite-based augmentation systems (SBAS).
[0110] Terminal device 100 implements display functions through a GPU, display screen 194, and application processor. The GPU is a microprocessor for image processing, connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations and for graphics rendering. Processor 110 may include one or more GPUs, which execute program instructions to generate or modify 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 (AMOLED), a flexible light-emitting diode (FLED), a Miniled LED, a MicroLED, a Micro-OLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the terminal device 100 may include one or N display screens 194, where N is a positive integer greater than 1.
[0112] Terminal device 100 can perform shooting functions through ISP, camera 193, video codec, GPU, display 194 and application processor.
[0113] The ISP (Image Signal Processor) is used to process data fed back from the camera 193. For example, when taking a picture, the shutter is opened, and light is transmitted through the lens to the camera's photosensitive element. The light signal is converted into an electrical signal, and the camera's photosensitive element transmits the electrical signal to the ISP for processing, transforming it into an image visible to the naked eye. The ISP can also perform algorithmic optimization of image noise, brightness, and skin tone. The ISP can also optimize parameters such as exposure and color temperature of the shooting scene. In some embodiments, the ISP can be set in the camera 193.
[0114] Camera 193 is used to capture still images or videos. An object is projected onto a photosensitive element by generating an optical image through the lens. The photosensitive element can be a charge-coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, which is then passed to an ISP for conversion into a digital image signal. The ISP outputs the digital image signal to a DSP for processing. The DSP converts the digital image signal into image signals in standard RGB, YUV, or other formats. In some embodiments, the terminal device 100 may include one or N cameras 193, where N is a positive integer greater than 1.
[0115] A digital signal processor (DSP) is used to process digital signals. Besides digital image signals, it can also process other digital signals. For example, when terminal device 100 selects a frequency, the DSP can perform Fourier transforms on the frequency energy.
[0116] Video codecs are used to compress or decompress digital video. Terminal device 100 may support one or more video codecs. Thus, terminal device 100 can play or record videos in various encoding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG 2, MPEG 3, MPEG 4, etc.
[0117] NPU stands for Neural Network (NN) Computing Processor. By borrowing the structure of biological neural networks, such as the transmission patterns between neurons in the human brain, it can rapidly process input information and continuously learn on its own. NPUs enable intelligent cognitive applications in terminal devices, such as image recognition, facial recognition, speech recognition, and text understanding.
[0118] Internal memory 121 may include one or more random access memory (RAM) and one or more non-volatile memory (NVM).
[0119] Random access memory can include static random-access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), and double data rate synchronous dynamic random access memory (DDR SDRAM, such as fifth-generation DDR SDRAM, which is generally called DDR5 SDRAM). Non-volatile memory can include disk storage devices and flash memory.
[0120] Flash memory can be classified according to its operating principle, including NOR FLASH, NAND FLASH, 3D NAND FLASH, etc.; according to the level of the storage cell, including single-level cell (SLC), multi-level cell (MLC), triple-level cell (TLC), quad-level cell (QLC), etc.; and according to the storage specification, including universal flash storage (UFS) and embedded multimedia card (eMMC), etc.
[0121] The random access memory can be directly read and written by the processor 110. It can be used to store executable programs (such as machine instructions) of the operating system or other running programs, as well as user and application data.
[0122] Non-volatile memory can also store executable programs and user and application data, and can be pre-loaded into random access memory for direct reading and writing by the processor 110.
[0123] The external memory interface 120 can be used to connect to external non-volatile memory, thereby expanding 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 perform data storage functions. For example, music, video, and other files can be stored in the external non-volatile memory.
[0124] Internal memory 121 or 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, which, when executed by the processor 110, can implement the power reduction method on the terminal device 100 described above, thereby achieving the power reduction function of the terminal device 100.
[0125] Terminal device 100 can implement audio functions, such as music playback and recording, through audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, and application processor.
[0126] The audio module 170 is used to convert digital audio information into analog audio signals for output, and also to convert analog audio input into digital audio signals. The audio module 170 can also be used for encoding and decoding audio signals. In some embodiments, the audio module 170 may be located in the processor 110, or some functional modules of the audio module 170 may be located in the processor 110.
[0127] The speaker 170A, also known as a "loudspeaker," is used to convert audio electrical signals into sound signals. The terminal device 100 can listen to music or make hands-free calls through the speaker 170A.
[0128] The receiver 170B, also known as the "earpiece," is used to convert audio electrical signals into sound signals. When the terminal device 100 answers a phone call or voice message, the receiver 170B can be brought close to the listener's ear to hear the voice.
[0129] Microphone 170C, also known as a "microphone" or "voice transducer," is used to convert sound signals into electrical signals. When making a phone call or sending a voice message, the user can speak by bringing their mouth close to microphone 170C, inputting the sound signal into microphone 170C. Terminal device 100 may be equipped with at least one microphone 170C. In some embodiments, terminal device 100 may be equipped with two microphones 170C, which, in addition to collecting sound signals, can also perform noise reduction. In other embodiments, terminal device 100 may be equipped with three, four, or more microphones 170C, which can collect sound signals, reduce noise, identify the sound source, and perform directional recording, etc.
[0130] The 170D headphone jack is used to connect wired headphones. The 170D headphone jack can be a USB 130 interface or a 3.5mm Open Mobile Terminal Platform (OMTP) standard interface, a CTIA (Cellular Telecommunications Industry Association of the USA) standard interface.
[0131] Pressure sensor 180A is used to sense pressure signals and convert them into electrical signals. In some embodiments, pressure sensor 180A can be disposed on display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, and capacitive pressure sensors. A capacitive pressure sensor may include at least two parallel plates with conductive material. When force is applied to pressure sensor 180A, the capacitance between the electrodes changes. Terminal device 100 determines the pressure intensity based on the change in capacitance. When a touch operation is applied to display screen 194, terminal device 100 detects the intensity of the touch operation based on pressure sensor 180A. Terminal device 100 can also calculate the touch position based on the detection signal from pressure sensor 180A. In some embodiments, touch operations applied to the same touch position but with different touch operation intensities can correspond to different operation commands. For example: when a touch operation with an intensity less than a first pressure threshold is applied to the SMS application icon, a command to view an SMS is executed. When a touch operation with an intensity greater than or equal to the first pressure threshold is applied to the SMS application icon, a command to create a new SMS is executed.
[0132] The gyroscope sensor 180B can be used to determine the motion attitude of the terminal device 100. In some embodiments, the gyroscope sensor 180B can determine the angular velocity of the terminal device 100 around three axes (i.e., the x, y, and z axes). The gyroscope sensor 180B can be used for image stabilization. For example, when the shutter is pressed, the gyroscope sensor 180B detects the angle of the terminal device 100's shake, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to counteract the shake of the terminal device 100 through reverse movement, thus achieving image stabilization. The gyroscope sensor 180B can also be used in navigation and motion-sensing game scenarios.
[0133] The barometric pressure sensor 180C is used to measure air pressure. In some embodiments, the terminal device 100 calculates altitude using the air pressure value measured by the barometric pressure sensor 180C to assist in 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 cover. 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 using the magnetic sensor 180D. Then, based on the detected opening and closing state of the cover or the flip cover, features such as automatic flip unlocking can be set.
[0135] The 180E accelerometer can detect the magnitude of acceleration of the terminal device 100 in various directions (generally three axes). When the terminal device 100 is stationary, it can detect the magnitude and direction of gravity. It can also be used to identify the posture of the terminal device 100, and can be applied to applications such as landscape / portrait switching and pedometers.
[0136] A distance sensor 180F is used to measure distance. The terminal device 100 can measure distance via infrared or laser. In some embodiments, during a shooting scene, the terminal device 100 can utilize the distance sensor 180F to measure distance for rapid focusing.
[0137] The proximity sensor 180G may include, for example, a light-emitting diode (LED) and a light detector, such as a photodiode. The LED may be an infrared LED. The terminal device 100 emits infrared light outward through the LED. The terminal device 100 uses the 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 may use the proximity sensor 180G to detect when a user holds the terminal device 100 close to their ear for a call, so as to automatically turn off the screen to save power. The proximity sensor 180G can also be used in holster mode and pocket mode for automatic unlocking and screen locking.
[0138] The ambient light sensor 180L is used to sense the ambient light intensity. The terminal device 100 can adaptively adjust the brightness of the display screen 194 based on the sensed ambient light intensity. 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 work with the proximity sensor 180G to detect whether the terminal device 100 is in a pocket to prevent accidental touches.
[0139] The fingerprint sensor 180H is used to collect fingerprints. The terminal device 100 can use the collected fingerprint characteristics to achieve fingerprint unlocking, accessing application locks, taking photos with fingerprints, answering calls with fingerprints, etc.
[0140] Temperature sensor 180J is used to detect temperature. In some embodiments, terminal device 100 uses the temperature detected by temperature sensor 180J to execute a temperature handling strategy. For example, when the temperature reported by temperature sensor 180J exceeds a threshold, terminal device 100 reduces the performance of the processor located near temperature sensor 180J to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is below another threshold, terminal device 100 heats battery 142 to prevent abnormal shutdown of terminal device 100 due to low temperature. In still other embodiments, when the temperature is below yet another threshold, terminal device 100 boosts the output voltage of battery 142 to prevent abnormal shutdown due to low temperature.
[0141] Touch sensor 180K, also known as a "touch device," can be located on display screen 194. The touch sensor 180K and display screen 194 together form a touchscreen, also known as a "touchscreen." Touch sensor 180K detects touch operations applied to or near it. The touch sensor can transmit 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 display screen 194. In other embodiments, touch sensor 180K may also be located on the surface of terminal device 100, in a different position than display screen 194.
[0142] The bone conduction sensor 180M can acquire vibration signals. In some embodiments, the bone conduction sensor 180M can acquire vibration signals from the vibrating bone segments of the human vocal cords. The bone conduction sensor 180M can also contact the human pulse to receive blood pressure signals. In some embodiments, the bone conduction sensor 180M can also be incorporated into headphones to form bone conduction headphones. The audio module 170 can parse the voice signals from the vibrating bone segments of the vocal cords acquired by the bone conduction sensor 180M to realize voice functionality. The application processor can parse heart rate information from the blood pressure signals acquired by the bone conduction sensor 180M to realize heart rate detection functionality.
[0143] Buttons 190 include a power button, volume buttons, etc. Buttons 190 can be mechanical buttons or touch-sensitive buttons. Terminal device 100 can receive button input and generate key signal inputs related to user settings and function control of terminal device 100.
[0144] Motor 191 can generate vibration alerts. Motor 191 can be used for incoming call vibration alerts or for touch vibration feedback. For example, different vibration feedback effects can correspond to touch operations performed on different applications (such as taking photos, playing audio, etc.). Motor 191 can also correspond to different vibration feedback effects for touch operations performed on different areas of the display screen 194. Different application scenarios (such as time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also be customized.
[0145] Indicator 192 can be an indicator light, used to indicate charging status, power changes, or to indicate messages, missed calls, notifications, etc.
[0146] The SIM card interface 195 is used to connect a SIM card. The SIM card can be inserted into or removed from the SIM card interface 195 to make contact with and separate from the terminal device 100. The terminal device 100 can support one 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, etc. Multiple cards can be inserted into the same SIM card interface 195 simultaneously. The multiple cards can be of the same or different types. The SIM card interface 195 is also compatible with different types of SIM cards. The SIM card interface 195 is also compatible with external memory cards. The terminal device 100 interacts with the network through the SIM card to realize functions such as calls and data communication. 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 storing computer instructions. When the computer instructions are executed on the terminal device 100, the terminal device 100 performs the aforementioned related method steps to achieve the power reduction method in the above embodiment.
[0148] This embodiment also provides a computer program product that, when run on a computer, causes the computer to perform the aforementioned steps to achieve the power reduction method described in the above embodiment.
[0149] In addition, embodiments of this application also provide an apparatus, which may specifically be a chip, component, or module. The apparatus may include a connected processor and a memory; wherein the memory is used to store computer execution instructions, and when the apparatus is running, the processor may execute the computer execution instructions stored in the memory to cause the chip to execute the power reduction methods in the above-described method embodiments.
[0150] In this embodiment, the terminal device 100, computer storage medium, computer program product or chip are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can be referred to the beneficial effects of the corresponding methods provided above, and will not be repeated here.
[0151] Through the above description of the embodiments, those skilled in the art can clearly understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above 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 this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed. Furthermore, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.
[0153] The unit described as a separate component may or may not be physically separate. The component shown as a unit can be one physical unit or multiple physical units, that is, it can be located in one place or distributed in multiple different places. Some or all of the units can be selected to achieve the purpose of the solution in this embodiment according to actual needs.
[0154] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0155] If the integrated unit is implemented as 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 solutions of the embodiments of this application, essentially or in other words, the parts that contribute to the prior art, or all or part of the technical solutions, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions to cause a device (which may be a microcontroller, chip, etc.) or processor to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0156] The above embodiments are only used to illustrate the technical solutions of this application and are not intended to limit it. Although this application has been described in detail with reference to the above preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions to the technical solutions of this application should not depart from the spirit and scope of the technical solutions of this application.
Claims
1. A method for reducing power consumption, applied in a communication system, characterized in that, The communication system includes terminal equipment and network equipment, and the method includes: When the terminal device confirms that the network device has a message filtering function, it obtains the terminal device's communication mode, mobility status, and service data. Based on the communication method, the mobility status, and the service data, the terminal device determines whether there is a user-perceptible service. If an abnormal wake-up message is received from the network device and the terminal device has no user-perceptible service, the terminal device sends a first control instruction to the network device, the first control instruction carrying the wake-up source information of the abnormal wake-up message; The network device parses the first control command and obtains the wake-up source information, and filters the messages sent by the network server to the terminal device based on the wake-up source information.
2. The method for reducing power consumption as described in claim 1, characterized in that, The step of determining whether a user-perceptible service exists based on the communication method, the mobility status, and the service data includes: If the terminal device is determined to be using Wi-Fi communication, and if the terminal device meets one or more of the following conditions: the terminal device is in a stationary state, no audio data is output from the terminal device, the change in ambient light intensity detected by the terminal device does not exceed a preset light intensity value, no data is being downloaded in the system background of the terminal device, or the alarm clock of the terminal device rings when the timer reaches the set time, then the terminal device is determined to have no user-perceptible service.
3. The method for reducing power consumption as described in claim 2, characterized in that, Determining the communication method of the terminal device includes: If the terminal device receives a connection confirmation signal from the network device, it is determined that the communication mode of the terminal device is Wi-Fi communication mode; If the terminal device receives a connection confirmation signal from the base station, it is determined that the communication mode of the terminal device is data service communication mode.
4. The method for reducing power consumption as described in claim 2, characterized in that, Determining the motion state of the terminal device includes: The terminal device detects the moving acceleration of the terminal device through an acceleration sensor; If the moving 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 moving acceleration is less than the preset acceleration value, the terminal device is determined to be in the stationary state.
5. The method for reducing power consumption as described in claim 1, characterized in that, The step of determining whether a user-perceptible service exists based on the communication method, the mobility status, and the service data includes: The terminal device is determined to have user-aware services when one or more of the following conditions are met: The terminal device uses a data service communication method for communication. The motion state of the terminal device is a moving state; The terminal device outputs audio data; The change in ambient light intensity detected by the terminal device exceeds the preset light intensity value; The terminal device experienced a screen-on event; The terminal device has download data in its system background; The alarm clock on the terminal device rang.
6. The method for reducing power consumption as described in claim 1, characterized in that, The abnormal wake-up message received from the network device includes: The terminal device obtains the wake-up source information of the message and the reception time information of the message; If, based on the wake-up source information and the reception time information of the message, it is determined that the number of times the message is received within a preset time period is greater than or equal to a preset number, the message is determined to be the abnormal wake-up message. If, based on the wake-up source information and the reception time information of the message, it is determined that the number of times the message is received within the preset time period is less than the preset number, then the message is determined not to be the abnormal wake-up message.
7. The method for reducing power consumption as described in 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, as well as the IP address and port number of the message receiver.
8. The method for reducing power consumption as described in claim 1, characterized in that, The step of filtering messages sent from the network server to the terminal device based on the wake-up source information includes: The network protocol stack of the network device parses 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 to the Wi-Fi driver of the network device; The Wi-Fi driver responds to the first control command and filters the packets received by the Wi-Fi chip of the network device from the network server according to the wake-up source information.
9. The method for reducing power consumption as described in claim 8, characterized in that, The step of filtering the packets received by the Wi-Fi chip of the network device from the network server according to the wake-up source information includes: If a message from the network server includes wake-up source information of the abnormal wake-up message, the network device filters out 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 as described in claim 1, characterized in that, The method further includes: If it is determined that the terminal device has the user-aware service, the terminal device sends a second control command to the network device; The network device does not filter the packets sent from the network server to the terminal device according to the second control instruction.
11. The method for reducing power consumption as described in claim 1, characterized in that, Confirming that the network device has packet filtering capabilities includes: The terminal device sends a lookup request to the network device, the lookup request being used to determine whether the network device has a packet filtering function; Based on the confirmation response received from the network device, the terminal device determines that the network device has a packet filtering function.
12. A method for reducing power consumption, applied to a terminal device, characterized in that, The terminal device is communicatively connected to the network device, and the method includes: If the network device has a packet filtering function, it can obtain the communication mode, mobility status and service data of the terminal device. Based on the communication method, the mobility status, and the service data, it is determined whether the terminal device has user-perceptible services; If an abnormal wake-up message is received from the network device and the terminal device has no user-perceptible service, a first control instruction is sent to the network device. The first control instruction is used to instruct the network device to filter the messages 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 as described in claim 12, characterized in that, The step of determining whether the terminal device has user-perceptible services based on the communication method, the mobility status, and the service data includes: If the terminal device is determined to be using Wi-Fi communication, and if the terminal device meets one or more of the following conditions: the terminal device is in a stationary state, no audio data is output from the terminal device, the change in ambient light intensity detected by the terminal device does not exceed a preset light intensity value, no data is being downloaded in the system background of the terminal device, or the alarm clock of the terminal device rings when the timer reaches the set time, then the terminal device is determined to have no user-perceptible service.
14. The method for reducing power consumption as described in claim 12, characterized in that, The step of determining whether the terminal device has user-perceptible services based on the communication method, the mobility status, and the service data includes: The terminal device is determined to have user-aware services when one or more of the following conditions are met: The terminal device uses a data service communication method for communication. The motion state of the terminal device is a moving state; The terminal device outputs audio data; The change in ambient light intensity detected by the terminal device exceeds the preset light intensity value; The terminal device experienced a screen-on event; The terminal device has download data in its system background; The alarm clock on the terminal device rang.
15. The method for reducing power consumption as described in claim 12, characterized in that, The abnormal wake-up message received from the network device includes: Obtain the wake-up source information and the reception time information of the message; If, based on the wake-up source information and the reception time information of the message, it is determined that the number of times the message is received within a preset time period is greater than or equal to a preset number, the message is determined to be the abnormal wake-up message. If, based on the wake-up source information and the reception time information of the message, it is determined that the number of times the message is received within the preset time period is less than the preset number, then the message is determined not to be the abnormal wake-up message.
16. The method for reducing power consumption as described in claim 12, characterized in that, The method further includes: If it is determined that the terminal device has the user-aware service, a second control instruction is sent to the network device to instruct the network device not to filter the packets sent from the network server to the terminal device according to the second control instruction.
17. The method for reducing power consumption as described in claim 12, characterized in that, Determining that the network device has packet filtering capabilities includes: Send a lookup request to the network device, the lookup request being used to determine whether the network device has packet filtering functionality; Based on the confirmation response received from the network device, it is determined that the network device has a packet filtering function.
18. A method for reducing power consumption, applied to network devices, characterized in that, The network device and the terminal device are communicatively connected, and the method includes: In response to the terminal device's request to find the packet filtering function, the network device sends an acknowledgment reply to the terminal device to indicate that the network device has the packet filtering function. The system receives a first control instruction sent by the terminal device when it receives an abnormal wake-up message from the network device and the terminal device has no user-perceptible service, and parses the wake-up source information of the abnormal wake-up message from the first control instruction. The messages sent from the network server to the terminal device are filtered based on the wake-up source information.
19. The method for reducing power consumption as described in claim 18, characterized in that, The step of filtering messages sent from the network server to the terminal device based on the wake-up source information includes: The network protocol stack of the network device parses 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 to the Wi-Fi driver of the network device; The Wi-Fi driver responds to the first control command and filters the packets received by the Wi-Fi chip of the network device from the network server according to the wake-up source information.
20. The method for reducing power consumption as described in claim 19, characterized in that, The step of filtering the packets received by the Wi-Fi chip of the network device from the network server according to the wake-up source information includes: If a message from the network server includes wake-up source information of the abnormal wake-up message, the message containing 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 described in claim 18, characterized in that, The method further includes: Receive the second control command sent by the terminal device; According to the second control instruction, the packets sent from the network server to the terminal device are not filtered.
22. A terminal device, characterized in that, 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 power reduction method as described in any one of claims 12 to 17.
23. A network device, characterized in that, 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 power reduction method 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 that, when executed on an electronic device, cause the electronic device to perform the power reduction method as described in any one of claims 1 to 21.
Citation Information
Patent Citations
Data communication method and device
CN115696520A
Mobile communication network real-time maintenance method
CN116828513A