CONTROL METHOD FOR NETWORK DISCONNECTION DURING SCREEN OFF AND MOBILE DEVICE
20230232333 ยท 2023-07-20
Inventors
Cpc classification
H04W52/0254
ELECTRICITY
International classification
Abstract
The disclosure provides a control method for network disconnection during screen off and a mobile device. The control method is applicable to a mobile device, and includes: setting a network restriction list based on a plurality of applications of the mobile device, where an application run in a background in the applications is excluded from the network restriction list; determining, based on a system status of the mobile device, whether the system status meets a trigger condition, where the trigger condition is that a screen of the mobile device is off for more than a preset time, and there is no external power supply; and starting a network disconnection mechanism when the trigger condition is met, to restrict network connections of the applications in the network restriction list, and maintaining the network connections when the trigger condition is not met.
Claims
1. A control method for network disconnection during screen off, applicable to a mobile device, the control method comprising: setting a network restriction list based on a plurality of applications of the mobile device, wherein an application run in a background in the applications is excluded from the network restriction list; determining, based on a system status of the mobile device, whether the system status meets a trigger condition, wherein the trigger condition is that a screen of the mobile device is off for more than a preset time, and there is no external power supply; starting a network disconnection mechanism when the trigger condition is met, to restrict network connections of the applications in the network restriction list; and maintaining the network connections when the trigger condition is not met.
2. The control method for network disconnection during screen off according to claim 1, wherein after the step of starting a network disconnection mechanism when the trigger condition is met, the method further comprises: monitoring the system status and restoring the network connections once the system status does not meet the trigger condition.
3. The control method for network disconnection during screen off according to claim 2, wherein a case that the system status does not meet the trigger condition is that the screen is turned on or there is an external power supply.
4. The control method for network disconnection during screen off according to claim 1, wherein after at least one of the applications is away from a foreground for an idle time, the application is added to the network restriction list.
5. The control method for network disconnection during screen off according to claim 4, wherein the idle time ranges from 10 seconds to 30 minutes.
6. The control method for network disconnection during screen off according to claim 1, wherein the application run in the background is a navigation application, a player application, a file management application, or any combination thereof.
7. The control method for network disconnection during screen off according to claim 1, wherein when running of the application run in the background is stopped, the application is added to the network restriction list.
8. The control method for network disconnection during screen off according to claim 1, wherein the preset time is 1 minute.
9. A mobile device, comprising: a screen; a power supply unit; a processor, electrically connected to the screen and the power supply unit, wherein the processor sets a network restriction list based on a plurality of applications of the mobile device, wherein an application run in a background in the applications is excluded from the network restriction list, the processor determines, based on a system status of the mobile device, whether the system status meets a trigger condition, wherein the trigger condition is that a screen of the mobile device is off for more than a preset time, and the power supply unit does not have an external power supply; and the processor starts a network disconnection mechanism when the trigger condition is met, and maintains the network connections when the trigger condition is not met; a storage unit, electrically connected to the processor, and configured to store the network restriction list and the trigger condition; and a firewall, electronically connected to the processor, wherein the firewall restricts network connections of the applications in the network restriction list according to the network disconnection mechanism.
10. The mobile device according to claim 9, wherein the processor monitors the system status after starting the network disconnection mechanism, and restores the network connections once the system status does not meet the trigger condition.
11. The mobile device according to claim 10, wherein a case that the system status does not meet the trigger condition is that the screen is turned on or there is an external power supply.
12. The mobile device according to claim 9, wherein after at least one of the applications is away from a foreground for an idle time, the application is added to the network restriction list.
13. The mobile device according to claim 12, wherein the idle time ranges from 10 seconds to 30 minutes.
14. The mobile device according to claim 9, wherein the application run in the background is a navigation application, a player application, a file management application, or any combination thereof.
15. The mobile device according to claim 9, wherein when running of the application run in the background is stopped, the application is added into the network restriction list.
16. The mobile device according to claim 9, wherein the preset time is 1 minute.
17. The mobile device according to claim 9, further comprising a memory unit, electrically connected to the processor, and configured to store the applications.
18. The mobile device according to claim 17, wherein the processor further comprises: an application management module, electrically connected to the storage unit, the firewall, and the memory unit, and configured to monitor the applications and set the network restriction list; and a system status monitoring module, electrically connected to the screen, the power supply unit, the storage unit, and the firewall, wherein the system status monitoring module monitors the system status, and starts the network disconnection mechanism when the trigger condition is met.
19. The mobile device according to claim 18, wherein the application management module is further electrically connected to a sound unit, a sensing unit and a positioning unit, wherein the application management module monitors the sound unit, the sensing unit and the positioning unit.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0007]
[0008]
[0009]
DETAILED DESCRIPTION OF THE EMBODIMENTS
[0010] Referring to
[0011] In an embodiment, the processor 16 is further electrically connected to a sound unit 30, a sensing unit 32, and a positioning unit 34, and configured to monitor the sound unit 30, the sensing unit 32, and the positioning unit 34, and accordingly learn of running statuses of the applications 24. The positioning unit 34 is global positioning system (GPS) unit.
[0012] In an embodiment, the processor 16 keeps monitoring the system status after starting the network disconnection mechanism. Once the system status does not meet the trigger condition 28, including at least one of the cases such as that the screen 12 is turned on or that the power supply unit 14 has an external power supply, the processor 16 stops the network disconnection mechanism, that is, instructs the firewall 18 to restore the network connections of the applications 24 in the network restriction list 26.
[0013] In an embodiment, in the trigger condition 28, that the power supply unit 14 does not have an external power supply means that the power supply unit 14 is not electrically connected to the mains through a power adapter for charging, or the power supply unit 14 is not electrically connected to a portable power supply for charging.
[0014] In an embodiment, the processor 16 updates the network restriction list 26 in the storage unit 20 at any time. In an embodiment, when one of the applications 24 originally run is away from a foreground for an idle time, it means that the application 24 is not run for the idle time. In this case, the application 24 is added to the network restriction list 26. The idle time ranges from 10 seconds to 30 minutes.
[0015] In an embodiment, the processor 16 is, but not limited to, a central processing unit (CPU), a microprocessor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a system on a chip (SOC), other similar elements or combinations, or the like.
[0016] Based on the mobile device 10, the disclosure further describes the basic software architecture of the disclosure from the system architecture of the processor 16 of the mobile device 10. Referring to both
[0017] In an embodiment, as shown in
[0018] In an embodiment, as shown in
[0019] Referring to both
[0020] Definitely, the application management module 161 updates the network restriction list 26 in the storage unit 20 according to the using status of the applications 24 at any time. For this part, reference is made to the foregoing descriptions, and details are not described herein again.
[0021] Based on the mobile device 10, the application management module 161 and the system status monitoring module 162 in the processor 16 are implemented on software elements, to implement related functions by using built-in software elements of the processor 16.
[0022] In conclusion, the disclosure provides a control method for network disconnection during screen off and a mobile device. Applications that are not used are restricted through cooperation between a network restriction list and a network disconnection mechanism without being perceived by a user, thereby effectively controlling power consumption with the least impact and prolonging a use time of the mobile device. Therefore, the disclosure effectively alleviates the problem of power consumption of the mobile device increased by applications and prolongs a standby time, thereby providing good user experience.
[0023] The foregoing embodiments are merely for describing the technical ideas and the characteristics of the disclosure, and are intended to enable a person skilled in the art to understand and hereby implement the content of the disclosure. However, the scope of claims of the disclosure is not limited thereto. In other words, equivalent changes or modifications made according to the spirit disclosed in the disclosure shall still fall into scope of the claims of the disclosure.