A terminal device power consumption optimization method, device and computer readable storage medium
By detecting the network environment and usage status around the terminal device, and dynamically switching between SA and NSA network modes, the problem of high power consumption of 5G terminal devices is solved, achieving power optimization with high data transmission rate, low latency and long battery life.
Patent Information
- Application Number
- CN202110843103.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-07-26
- Publication Date
- 2025-11-21
- Estimated Expiration
- 2041-07-26
AI Technical Summary
Existing 5G terminal devices consume a lot of power, which affects battery life, especially under SA networking.
By detecting the network environment and current usage status around the terminal device, the system dynamically switches between SA and NSA network modes and decides whether to turn off the SA network based on the usage status in order to optimize power consumption.
Without affecting user scenarios, it balances high data transmission rates and low latency, effectively reducing the power consumption of 5G terminal devices and improving battery life.
Smart Images

Figure CN113453326B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of communication technology, and in particular to a method, apparatus and computer-readable storage medium for optimizing power consumption of terminal devices. Background Technology
[0002] With the improvement of modern people's living standards, smart terminal devices are becoming increasingly popular. 5G is the latest generation of cellular mobile communication technology, and its performance goals are high data transmission rates, reduced latency, energy saving, lower costs, increased system capacity, and large-scale device connectivity. With the widespread construction of 5G networks and the advantages of 5G communication technology, 5G terminal devices are becoming increasingly popular.
[0003] NSA and SA are the two main communication methods currently used in 5G network deployment. Simply put, NSA integrates existing 4G base stations and network architecture into a 5G network deployment. Therefore, its deployment speed is very fast; 5G network coverage can be achieved simply by adding 5G base stations to existing 4G base stations. However, because its architecture still uses the 4G network architecture and lacks a core network, the massive IoT access and low latency characteristics of 5G networks cannot be fully utilized. SA networking, also known as standalone networking, involves rebuilding 5G base stations and a backend 5G core network to fully realize all the characteristics and functions of 5G networks. However, SA networking presents 5G smart terminals with significant power consumption issues, as 5G terminals consume twice as much power as 4G terminals. Therefore, optimizing the power consumption and battery life of 5G smart terminals without affecting user scenarios and while meeting high data transmission rates and low latency requirements has become a crucial problem that 5G terminals must solve. Summary of the Invention
[0004] In view of this, the purpose of the present invention is to provide a method, apparatus and computer-readable storage medium for optimizing the power consumption of terminal devices, which aims to solve the problem of high power consumption of existing 5G terminal devices, affecting battery life.
[0005] The technical solution adopted by the present invention to solve the above-mentioned technical problems is as follows:
[0006] The first aspect of the present invention provides a method for optimizing the power consumption of a terminal device, comprising the following steps:
[0007] Detect the network environment surrounding the terminal device and the current usage status of the terminal device;
[0008] Execute power consumption optimization strategies based on the network environment and the current usage status of terminal devices;
[0009] The power consumption optimization strategy includes:
[0010] The system detects whether an SA network exists in the surrounding network environment of the terminal device. If an SA network is detected, the system controls the opening and access of the SA network. The system decides whether to close the SA network based on the current usage status of the terminal device.
[0011] If no SA network is detected, the terminal device will automatically enter the NSA network and simultaneously shut down the SA network.
[0012] In some embodiments, the current usage state of the terminal device includes: voice service state, data transmission state, and standby state.
[0013] In some embodiments, detecting whether an SA network exists in the surrounding network environment of the terminal device, and if an SA network is detected, controlling the opening and access of the SA network, and determining whether to close the SA network based on the current usage status of the terminal device includes the following steps:
[0014] When the terminal device is detected to be in voice service state and / or data transmission state, maintain the terminal device's access to the SA network state.
[0015] When the terminal device is detected to be in standby mode, the standby duration of the terminal device is detected. If the standby duration of the terminal device is greater than a preset first standby duration threshold, the SA network is shut down and the terminal device enters standby mode using another network.
[0016] In some embodiments, the step of automatically entering the NSA network and simultaneously controlling the shutdown of the SA network if no SA network is detected further includes the step of:
[0017] Further detect the network environment around the terminal device. When an SA network is detected around the terminal device, determine whether the SA network has been continuously present for a preset time. If the SA network has been continuously present for a preset time, control the activation of the SA network and connect to the SA network. Decide whether to close the SA network based on the current usage status of the terminal device.
[0018] In some embodiments, when the terminal device is detected to be in standby mode, the standby duration of the terminal device is detected. If the standby duration of the terminal device exceeds a preset first standby duration threshold, the SA network is shut down, and the terminal device uses another network to enter standby mode, which further includes the step of:
[0019] The system detects the standby time of the terminal device when it enters standby mode using other networks. If the standby time exceeds a preset second standby time, the system controls the terminal device to enter a power-off state.
[0020] In some embodiments, the first standby duration and the second standby duration can be set by the user as needed.
[0021] A second aspect of the present invention also provides a power consumption optimization device for a terminal device, the device comprising a detection module, an optimization condition judgment module, and an optimization strategy module that are interconnected.
[0022] The detection module is used to detect the network environment around the terminal device and the current usage status of the terminal device;
[0023] The optimization condition judgment module is used to determine the power consumption optimization strategy to be executed based on the network environment and the current usage status of the terminal device.
[0024] The optimization strategy module is used to determine whether to shut down the SA network based on the network environment and the current usage status of the terminal devices.
[0025] In some embodiments, the optimization strategy module includes a network environment detection unit and a control unit.
[0026] The network environment detection unit is used to detect whether an SA network exists in the surrounding network environment of the terminal device;
[0027] The control unit controls the execution of the SA network status detected by the network environment detection unit. If an SA network is detected, it controls the opening and access of the SA network; and decides whether to close the SA network based on the current usage status of the terminal device.
[0028] If no SA network is detected, the terminal device will automatically enter the NSA network and simultaneously shut down the SA network.
[0029] In some embodiments, the current usage state of the terminal device includes: voice service state, data transmission state, and standby state.
[0030] This application also provides a computer-readable storage medium, including a processor, a computer-readable storage medium, and a computer program stored on the computer-readable storage medium, wherein the computer program, when executed by the processor, implements the steps of the method described above.
[0031] The terminal device power consumption optimization method, apparatus, and computer storage medium provided in this invention detect the surrounding network environment and the current usage status of the terminal device; and execute a power consumption optimization strategy based on the network environment and the current usage status of the terminal device. If an SA network is detected, the device is controlled to open and access the SA network, and the device decides whether to close the SA network based on its current usage status. If no SA network is detected, the terminal device automatically enters the NSA network, and the SA network is simultaneously closed. Therefore, the terminal device power consumption optimization method described in this application can simultaneously ensure high data transmission rates and low latency for 5G terminal devices during communication without affecting user usage scenarios, and can effectively reduce the power consumption of 5G terminal devices, greatly improving the battery life of the terminal devices. Attached Figure Description
[0032] Figure 1 This is a schematic diagram of the hardware structure of a mobile terminal according to the present invention;
[0033] Figure 2 A communication network system architecture diagram provided for an embodiment of the present invention;
[0034] Figure 3 This is a schematic diagram of an embodiment of a terminal device power consumption optimization method according to the present invention;
[0035] Figure 4 This is a structural block diagram of another embodiment of a terminal device power consumption optimization method according to an embodiment of the present invention;
[0036] Figure 5 This is a structural block diagram of an embodiment of a terminal device power consumption optimization device according to the present invention;
[0037] Figure 6 This is a structural block diagram of another embodiment of a terminal device power consumption optimization device according to an embodiment of the present invention. Detailed Implementation
[0038] To make the technical problems, solutions, and beneficial effects of this invention clearer and more understandable, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention.
[0039] In the following description, the use of suffixes such as "module," "part," or "unit" to denote elements is solely for the purpose of illustrative purposes and has no specific meaning in itself. Therefore, "module," "part," or "unit" may be used interchangeably.
[0040] Terminals can be implemented in various forms. For example, the terminals described in this invention may include mobile terminals such as mobile phones, tablets, laptops, handheld computers, personal digital assistants (PDAs), portable media players (PMPs), navigation devices, wearable devices, smart bracelets, pedometers, etc., as well as fixed terminals such as digital TVs and desktop computers.
[0041] The following description will use a mobile terminal as an example. Those skilled in the art will understand that, apart from components specifically designed for mobile purposes, the construction according to embodiments of the present invention can also be applied to fixed-type terminals.
[0042] Please see Figure 1 This is a schematic diagram of the hardware structure of a mobile terminal implementing various embodiments of the present invention. The mobile terminal 100 may include: an RF (Radio Frequency) unit 101, a WiFi module 102, an audio output unit 103, an A / V (Audio / Video) input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, a processor 110, and a power supply 111, etc. Those skilled in the art will understand that... Figure 1 The mobile terminal structure shown does not constitute a limitation on the mobile terminal. The mobile terminal may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0043] The following is combined Figure 1 A detailed introduction to each component of the mobile terminal:
[0044] The radio frequency unit 101 can be used for receiving and transmitting signals during information transmission or calls. Specifically, it receives downlink information from the base station and processes it with the processor 110; additionally, it transmits uplink data to the base station. Typically, the radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low-noise amplifier, and a duplexer. Furthermore, the radio frequency unit 101 can also communicate wirelessly with networks and other devices. The aforementioned wireless communications may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA2000 (Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division Duplexing-Long Term Evolution), and TDD-LTE (Time Division Duplexing-Long Term Evolution).
[0045] WiFi is a short-range wireless transmission technology. Mobile terminals, through the WiFi module 102, can help users send and receive emails, browse web pages, and access streaming media, providing users with wireless broadband internet access. Although Figure 1 WiFi module 102 is shown, but it is understood that it is not a necessary component of a mobile terminal and can be omitted as needed without changing the nature of the invention.
[0046] The audio output unit 103 can convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into audio signals and output them as sound when the mobile terminal 100 is in call signal receiving mode, call mode, recording mode, voice recognition mode, broadcast receiving mode, etc. Furthermore, the audio output unit 103 can also provide audio output related to specific functions performed by the mobile terminal 100 (e.g., call signal receiving sound, message receiving sound, etc.). The audio output unit 103 may include a speaker, a buzzer, etc.
[0047] The A / V input unit 104 is used to receive audio or video signals. The A / V input unit 104 may include a graphics processing unit (GPU) 1041 and a microphone 1042. The GPU 1041 processes image data of still images or videos acquired by an image capture device (such as a camera) in video capture mode or image capture mode. The processed image frames can be displayed on the display unit 106. The image frames processed by the GPU 1041 can be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 can receive sound (audio data) in operating modes such as telephone call mode, recording mode, and voice recognition mode, and can process such sound into audio data. The processed audio (voice) data can be converted into a format that can be transmitted to a mobile communication base station via the radio frequency unit 101 in telephone call mode. The microphone 1042 can implement various types of noise cancellation (or suppression) algorithms to eliminate (or suppress) noise or interference generated during the reception and transmission of audio signals.
[0048] The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor. The ambient light sensor can adjust the brightness of the display panel 1061 according to the ambient light level, and the proximity sensor can turn off the display panel 1061 and / or backlight when the mobile terminal 100 is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes). When stationary, it can detect the magnitude and direction of gravity and can be used for applications that recognize the phone's posture (such as landscape / portrait switching, related games, magnetometer posture calibration), vibration recognition-related functions (such as pedometer, tapping), etc. Other sensors that may be configured in the phone, such as fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, and infrared sensors, will not be described in detail here.
[0049] The display unit 106 is used to display information input by the user or information provided to the user. The display unit 106 may include a display panel 1061, which may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
[0050] User input unit 107 can be used to receive input numerical or character information, and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, user input unit 107 may include touch panel 1071 and other input devices 1072. Touch panel 1071, also known as touch screen, can collect touch operations on or near the user (such as operations performed by the user using a finger, stylus, or any suitable object or accessory on or near touch panel 1071), and drive corresponding connection devices according to a pre-set program. Touch panel 1071 may include two parts: a touch detection device and a touch controller. The touch detection device detects the user's touch position and the signal generated by the touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into touch point coordinates, sends it to processor 110, and can receive and execute commands from processor 110. In addition, touch panel 1071 can be implemented using various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may also include other input devices 1072. Specifically, other input devices 1072 may include, but are not limited to, one or more of the following: physical keyboard, function keys (such as volume control buttons, power buttons, etc.), trackball, mouse, joystick, etc., without being limited here.
[0051] Furthermore, the touch panel 1071 may cover the display panel 1061. When the touch panel 1071 detects a touch operation on or near it, it transmits the information to the processor 110 to determine the type of touch event. Subsequently, the processor 110 provides corresponding visual output on the display panel 1061 based on the type of touch event. Although in Figure 1 In this embodiment, the touch panel 1071 and the display panel 1061 are two independent components to realize the input and output functions of the mobile terminal. However, in some embodiments, the touch panel 1071 and the display panel 1061 can be integrated to realize the input and output functions of the mobile terminal. The specific implementation is not limited here.
[0052] Interface unit 108 serves as an interface through which at least one external device can connect to mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, an audio input / output (I / O) port, a video I / O port, a headphone port, and so on. Interface unit 108 may be used to receive input (e.g., data, power, etc.) from the external device and transmit the received input to one or more elements within mobile terminal 100, or it may be used to transmit data between mobile terminal 100 and the external device.
[0053] The memory 109 can be used to store software programs and various data. The memory 109 may primarily include a program storage area and a data storage area. The program storage area may store the operating system, applications required for at least one function (such as sound playback, image playback, etc.), etc.; the data storage area may store data created based on the use of the mobile phone (such as audio data, phonebook, etc.). Furthermore, the memory 109 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device.
[0054] The processor 110 is the control center of the mobile terminal. It connects various parts of the mobile terminal via various interfaces and lines. By running or executing software programs and / or modules stored in the memory 109, and by calling data stored in the memory 109, it performs various functions and processes data of the mobile terminal, thereby providing overall monitoring of the mobile terminal. The processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor and a modem processor. The application processor mainly handles the operating system, user interface, and applications, while the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into the processor 110.
[0055] The mobile terminal 100 may also include a power supply 111 (such as a battery) that supplies power to various components. Preferably, the power supply 111 can be logically connected to the processor 110 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system.
[0056] although Figure 1 As not shown, the mobile terminal 100 may also include a Bluetooth module, etc., which will not be described in detail here.
[0057] To facilitate understanding of the embodiments of the present invention, the communication network system on which the mobile terminal of the present invention is based is described below.
[0058] Please see Figure 2 , Figure 2 This invention provides a communication network system architecture diagram. The communication network system is an LTE system based on the universal mobile communication technology. The LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203, and the operator's IP services 204, which are connected in sequence.
[0059] Specifically, UE201 can be the aforementioned terminal 100, which will not be elaborated here.
[0060] E-UTRAN202 includes eNodeB2021 and other eNodeB2022s. Among them, eNodeB2021 can connect to other eNodeB2022s via backhaul (e.g., X2 interface), and eNodeB2021 connects to EPC203. eNodeB2021 can provide UE201 with access to EPC203.
[0061] EPC203 may include MME (Mobility Management Entity) 2031, HSS (Home Subscriber Server) 2032, other MMEs 2033, SGW (Serving Gateway) 2034, PGW (Packet Data Network Gateway) 2035, and PCRF (Policy and Charging Rules Function) 2036, etc. Among them, MME2031 is the control node that handles signaling between UE201 and EPC203, providing bearer and connection management. HSS2032 provides registers to manage functions such as the Home Location Register (not shown in the diagram) and stores user-specific information such as service characteristics and data rates. All user data can be sent through SGW2034. PGW2035 can provide UE 201 IP address allocation and other functions. PCRF2036 is the policy and charging control decision point for service data flow and IP bearer resources. It selects and provides available policy and charging control decisions for the policy and charging enforcement function unit (not shown in the figure).
[0062] IP services 204 may include the Internet, intranet, IMS (IP Multimedia Subsystem), or other IP services.
[0063] Although the above description uses the LTE system as an example, those skilled in the art should understand that the present invention is not only applicable to the LTE system, but also to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems, etc., which are not limited here.
[0064] Based on the aforementioned mobile terminal hardware structure and communication network system, various embodiments of the method of the present invention are proposed.
[0065] Example 1:
[0066] This application provides a method for optimizing the power consumption of a terminal device. Please refer to [link / reference]. Figure 3 and Figure 4 The method includes the following steps:
[0067] S301. Detect the network environment around the terminal device and the current usage status of the terminal device;
[0068] Specifically, this includes detecting whether an SA network exists in the network environment surrounding the terminal device; and detecting the current usage status of the terminal device, which mainly includes: voice service status, data transmission status, and standby status.
[0069] S302. Execute power consumption optimization strategies based on the network environment and the current usage status of terminal devices;
[0070] The power consumption optimization strategy includes:
[0071] The system detects whether an SA network exists in the surrounding network environment of the terminal device. If an SA network is detected, the system controls the opening and access of the SA network. The system decides whether to close the SA network based on the current usage status of the terminal device.
[0072] If no SA network is detected, the terminal device will automatically enter the NSA network and simultaneously shut down the SA network.
[0073] In one embodiment, the detection terminal device is configured to detect whether an SA network exists in its surrounding network environment. If an SA network is detected, the device is controlled to open and access the SA network. The method further includes the step of deciding whether to close the SA network based on the current usage status of the terminal device.
[0074] S303. Detect whether there is an SA network in the surrounding network environment of the terminal device. If an SA network is detected, control the opening of the SA network and access. When the terminal device is currently in voice service state and / or data transmission state, maintain the terminal device's access to the SA network state.
[0075] S304. When the terminal device is currently in standby mode, the standby duration of the terminal device is detected. When the standby duration of the terminal device exceeds a preset first standby duration threshold, the SA network is shut down and the terminal device enters standby mode using another network.
[0076] S305. When the terminal device enters standby mode using other networks, further detect the network environment around the terminal device. When an SA network is detected around the terminal device, determine whether the SA network has been present for a preset duration.
[0077] S306. When the SA network continues to exist for a preset time, the SA network is activated and access is made. The decision to deactivate the SA network is made based on the current usage status of the terminal device.
[0078] S307. When the terminal device is currently in voice service state and / or data transmission state, maintain the terminal device's access to the SA network state.
[0079] S308. When the terminal device is currently in standby mode, the standby duration of the terminal device is detected. When the standby duration of the terminal device exceeds a preset first standby duration threshold, the SA network is shut down and the terminal device enters standby mode using another network.
[0080] S309. Detect the standby time of the terminal device when it enters standby mode using other networks. When the standby time is longer than a preset second standby time, control the terminal device to enter the power-off state.
[0081] In this embodiment, the first standby duration and the second standby duration can be set by the user as needed. In this embodiment, the first standby duration and the second standby duration can be set to, for example, 20 seconds, and the specific standby duration can be adjusted according to the user's needs.
[0082] The terminal device power consumption optimization method described in this application detects the surrounding network environment and the current usage status of the terminal device; and executes a power consumption optimization strategy based on the network environment and the current usage status of the terminal device; if an SA network is detected, the SA network is opened and access is initiated, and the decision to close the SA network is made based on the current usage status of the terminal device; if no SA network is detected, the terminal device automatically enters the NSA network, and the SA network is closed simultaneously. Therefore, the terminal device power consumption optimization method described in this application can simultaneously ensure high data transmission rates and low latency for 5G terminal devices during communication without affecting user usage scenarios, and can effectively reduce the power consumption of 5G terminal devices, greatly improving the battery life of the terminal devices.
[0083] Example 2:
[0084] This application provides a terminal device power consumption optimization apparatus. The terminal device power consumption optimization apparatus applies and executes the terminal device power consumption optimization method described in Embodiment 1. Please refer to... Figure 5 as well as Figure 6 The terminal device power consumption optimization device includes a detection module 60, an optimization condition judgment module 61, and an optimization strategy module 62 that are interconnected.
[0085] The detection module 60 is used to detect the network environment around the terminal device and the current usage status of the terminal device.
[0086] Specifically, this includes detecting whether an SA network exists in the network environment surrounding the terminal device; and detecting the current usage status of the terminal device, which mainly includes: voice service status, data transmission status, and standby status.
[0087] The optimization condition judgment module 61 is used to determine the power consumption optimization strategy to be executed based on the network environment and the current usage status of the terminal device.
[0088] The power consumption optimization strategy includes:
[0089] The system detects whether an SA network exists in the surrounding network environment of the terminal device. If an SA network is detected, the system controls the opening and access of the SA network. The system decides whether to close the SA network based on the current usage status of the terminal device.
[0090] If no SA network is detected, the terminal device will automatically enter the NSA network and simultaneously shut down the SA network.
[0091] The optimization strategy module 62 is used to determine whether to shut down the SA network based on the network environment and the current usage status of the terminal device.
[0092] Furthermore, the optimization strategy module 62 includes a network environment detection unit 621 and a control unit 622.
[0093] The network environment detection unit 621 is used to detect whether there is an SA network in the surrounding network environment of the terminal device.
[0094] The control unit 622 controls the execution of the SA network status detected by the network environment detection unit.
[0095] If an SA network is detected, control the opening and access of the SA network; decide whether to close the SA network based on the current usage status of the terminal device.
[0096] Specifically, when the terminal device is currently in voice service state and / or data transmission state, the terminal device is kept connected to the SA network.
[0097] When the terminal device is detected to be in standby mode, the standby duration of the terminal device is detected. If the standby duration of the terminal device is greater than a preset first standby duration threshold, the SA network is shut down and the terminal device enters standby mode using another network.
[0098] If no SA network is detected, the terminal device will automatically enter the NSA network and simultaneously shut down the SA network.
[0099] In one embodiment, the optimization strategy module 62 further includes a first duration judgment unit 623 and a second duration judgment unit 624, used to detect and judge the standby duration of the terminal device in the current standby state. When the standby duration of the terminal device exceeds a preset first standby duration threshold, the SA network is shut down and the terminal device enters standby state using another network.
[0100] When the standby time exceeds the preset second standby time, the terminal device is controlled to enter the power-off state.
[0101] In this embodiment, the first standby duration and the second standby duration can be set by the user as needed. In this embodiment, the first standby duration and the second standby duration can be set to, for example, 20 seconds, and the specific standby duration can be adjusted according to the user's needs.
[0102] The terminal device power consumption optimization device described in this application embodiment detects the surrounding network environment and the current usage status of the terminal device through the detection module 60; and executes a power consumption optimization strategy based on the network environment and the current usage status of the terminal device; if an SA network is detected, the device controls the opening and access of the SA network, and decides whether to close the SA network based on the current usage status of the terminal device; if no SA network is detected, the terminal device automatically enters the NSA network, and the SA network is simultaneously closed. Therefore, the terminal device power consumption optimization device described in this application embodiment can simultaneously ensure high data transmission rates and low latency for 5G terminal devices during communication without affecting user usage scenarios, and can effectively reduce the power consumption of 5G terminal devices, greatly improving the battery life of the terminal devices.
[0103] Example 3:
[0104] According to an embodiment of the present invention, a computer-readable storage medium is provided thereon storing a computer program. When the computer program is executed by a processor, it implements the steps in the above-described terminal device power consumption optimization method. The specific steps are as described in Embodiment 1 and will not be repeated here.
[0105] The memory in this embodiment can be used to store software programs and various data. The memory may primarily include a program storage area and a data storage area. The program storage area may store the operating system, applications required for at least one function, etc.; the data storage area may store data created based on the use of the mobile phone, etc. Furthermore, the memory may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device.
[0106] According to one example of this embodiment, all or part of the processes in the methods described above can be implemented by a computer program instructing related hardware. The program can be stored in a computer-readable storage medium. For example, in this embodiment, the program can be stored in the storage medium of a computer system and executed by at least one processor in the computer system to implement the processes of the embodiments described above. The storage medium includes, but is not limited to, magnetic disks, USB flash drives, optical disks, and read-only memory (ROM).
[0107] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0108] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0109] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of the present invention.
[0110] The embodiments of the present invention have been described above with reference to the accompanying drawings. However, the present invention is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of the present invention without departing from the spirit and scope of the claims. All of these forms are within the protection scope of the present invention.
Claims
1. A method for optimizing power consumption in a terminal device, characterized in that, Includes the following steps: Detect the network environment surrounding the terminal device and the current usage status of the terminal device; Execute power consumption optimization strategies based on the network environment and the current usage status of terminal devices; The power consumption optimization strategy includes: The system detects whether an SA network exists in the surrounding network environment of the terminal device. If an SA network is detected, the system controls the opening and access of the SA network. The system decides whether to close the SA network based on the current usage status of the terminal device. If no SA network is detected, the terminal device will automatically enter the NSA network and simultaneously shut down the SA network. The current usage status of the terminal device includes: voice service status, data transmission status, and standby status; The process of detecting whether an SA network exists in the surrounding network environment of the terminal device, and if an SA network is detected, controlling the opening and access of the SA network, and deciding whether to close the SA network based on the current usage status of the terminal device includes the following steps: When the terminal device is detected to be in voice service state and / or data transmission state, maintain the terminal device's access to the SA network state. When the terminal device is detected to be in standby mode, the standby duration of the terminal device is detected. If the standby duration of the terminal device is greater than a preset first standby duration threshold, the SA network is shut down and the terminal device enters standby mode using another network. The step of automatically entering the NSA network and simultaneously shutting down the SA network if no SA network is detected also includes the following steps: Further detect the network environment around the terminal device. When an SA network is detected around the terminal device, determine whether the SA network has been continuously present for a preset time. If the SA network has been continuously present for a preset time, control the SA network to be turned on and access the SA network. Decide whether to turn off the SA network based on the current usage status of the terminal device. When the terminal device is currently in standby mode, the standby duration of the terminal device is detected. If the standby duration of the terminal device exceeds a preset first standby duration threshold, the SA network is shut down. The process of the terminal device using another network to enter standby mode further includes the following steps: The system detects the standby time of the terminal device when it enters standby mode using other networks. If the standby time exceeds a preset second standby time, the system controls the terminal device to enter a power-off state. The first standby time and the second standby time can be set by the user as needed.
2. A power consumption optimization device for terminal equipment, characterized in that, The device includes a detection module, an optimization condition judgment module, and an optimization strategy module that are interconnected. The detection module is used to detect the network environment around the terminal device and the current usage status of the terminal device; The optimization condition judgment module is used to determine the power consumption optimization strategy to be executed based on the network environment and the current usage status of the terminal device. The optimization strategy module is used to determine whether to shut down the SA network based on the network environment and the current usage status of the terminal device. The optimization strategy module includes a network environment detection unit and a control unit; The network environment detection unit is used to detect whether an SA network exists in the surrounding network environment of the terminal device; The control unit controls the execution of the SA network status detected by the network environment detection unit. If an SA network is detected, it controls the opening and access of the SA network; and decides whether to close the SA network based on the current usage status of the terminal device. If no SA network is detected, the terminal device will automatically enter the NSA network and simultaneously shut down the SA network. The optimization strategy module further includes a first duration judgment unit and a second duration judgment unit, used to detect and judge the standby duration of the terminal device in the current standby state; when the standby duration of the terminal device is greater than the preset first standby duration threshold, the SA network is turned off and the terminal device enters the standby state using other networks. When the standby time exceeds the preset second standby time, the terminal device is controlled to enter the power-off state. The current usage status of the terminal device includes: voice service status, data transmission status, and standby status; The first standby time and the second standby time can be set by the user as needed.
3. A computer-readable storage medium, characterized in that, The method includes a processor, a computer-readable storage medium, and a computer program stored on the computer-readable storage medium, which, when executed by the processor, implements the steps of the method as claimed in claim 1.
Citation Information
Patent Citations
Network switching method
CN112672389A