CN111163504A - Power-saving processing method, mobile terminal and computer storage medium - Google Patents

Power-saving processing method, mobile terminal and computer storage medium Download PDF

Info

Publication number
CN111163504A
CN111163504A CN201911317606.7A CN201911317606A CN111163504A CN 111163504 A CN111163504 A CN 111163504A CN 201911317606 A CN201911317606 A CN 201911317606A CN 111163504 A CN111163504 A CN 111163504A
Authority
CN
China
Prior art keywords
mobile terminal
state
power saving
closing
processing method
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911317606.7A
Other languages
Chinese (zh)
Inventor
王�华
陈丹梅
王泽楷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Chuanying Information Technology Co Ltd
Original Assignee
Shanghai Chuanying Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Chuanying Information Technology Co Ltd filed Critical Shanghai Chuanying Information Technology Co Ltd
Priority to CN201911317606.7A priority Critical patent/CN111163504A/en
Publication of CN111163504A publication Critical patent/CN111163504A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0251Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • H04W52/0264Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by selectively disabling software applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • H04W52/0267Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by controlling user interface components
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The invention discloses a power-saving processing method, a mobile terminal and a computer storage medium, wherein the power-saving processing method is applied to the mobile terminal and comprises the following steps: detecting the state of the mobile terminal; and when the mobile terminal is determined to be in the preset state, controlling the mobile terminal to enter a corresponding power saving mode. According to the power-saving processing method, the mobile terminal and the computer storage medium, when the mobile terminal is detected to be in the preset state, the mobile terminal is controlled to enter the corresponding power-saving mode, so that the power consumption of the mobile terminal is effectively saved, the cruising ability of the mobile terminal is improved, and the user experience is improved.

Description

Power-saving processing method, mobile terminal and computer storage medium
Technical Field
The present invention relates to the field of terminals, and in particular, to a power saving processing method, a mobile terminal, and a computer storage medium.
Background
With the rapid development of the mobile communication industry and the rapid improvement of the living standard of people, mobile terminals such as mobile phones are rapidly popularized, and become indispensable electronic products in daily life, work and study of people. Meanwhile, when using the mobile terminal, people usually start many power consuming functions, such as turning on a notification screen, connecting a wireless local area network, connecting bluetooth, and the like. However, when people do not continue to use the mobile terminal or do not need to use the power consuming functions at a certain time, the power consuming functions are not turned off actively, which results in the reduction of the cruising ability of the mobile terminal. For example, when a user holds a mobile phone with one hand to run, the user may just need to use the mobile phone to count time and calculate distance, and at this time, the functions of the mobile phone, such as wireless lan connection, bluetooth connection, etc., that are kept on will consume the power of the mobile phone.
Disclosure of Invention
The invention aims to provide a power-saving processing method, a mobile terminal and a computer storage medium, which can effectively save the electric quantity consumption of the mobile terminal, improve the cruising ability of the mobile terminal and improve the user experience.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a power saving processing method applied to a mobile terminal, including:
detecting the state of the mobile terminal;
and when the mobile terminal is determined to be in the preset state, controlling the mobile terminal to enter a corresponding power saving mode.
As one embodiment, before detecting the state of the mobile terminal, the method further includes:
and when detecting that the duration time of no operation on the mobile terminal meets a preset condition, executing a step of detecting the state of the mobile terminal.
As an embodiment, the power saving mode includes: closing at least one of a notification screen-lighting function, closing a wireless local area network connection, closing a hotspot connection, closing a Bluetooth connection, closing an operating information application, closing an operating instant messaging application, closing an operating multimedia application and turning off a screen.
As an embodiment, the preset state includes: at least one of a motion state, a shielding state, a multimedia-free playing state and a bright screen state.
As one embodiment, the preset state includes a motion state and an unobstructed state; the power saving mode comprises at least one of the following: the method comprises the steps of automatically sleeping, turning off a notification screen-lighting function, turning off wireless local area network connection, turning off hot spot connection and turning off Bluetooth connection.
As one embodiment, the preset state includes a motion state and a shielding state; the power saving mode comprises at least one of the following: the method comprises the steps of automatically sleeping, closing a notification screen-lighting function, closing a wireless local area network connection, closing a hot spot connection, closing a Bluetooth connection, closing an operating information application, closing an operating instant messaging application, closing an operating multimedia application and closing sound.
As one embodiment, before detecting the state of the mobile terminal, the method further includes:
receiving a setting instruction aiming at the corresponding relation between the preset state and the power saving mode of the mobile terminal;
and setting the corresponding relation between the preset state and the power saving mode of the mobile terminal according to the setting instruction.
As an embodiment, the detecting the state of the mobile terminal includes:
detecting the utilization rate of a graphic processor of the mobile terminal;
if the utilization rate of the graphics processor is smaller than or equal to a preset first threshold value, determining that the mobile terminal is in a multimedia-free playing state;
and if the utilization rate of the graphics processor is greater than a preset second threshold value, determining that the mobile terminal is in a multimedia playing state.
As an embodiment, after the controlling the mobile terminal to enter the corresponding power saving mode, the method further includes:
and after receiving the awakening instruction, controlling the mobile terminal to exit the power saving mode.
In a second aspect, an embodiment of the present invention provides a mobile terminal, where the mobile terminal includes a processor and a storage device for storing a program; when executed by the processor, the program causes the processor to implement the power saving processing method according to the first aspect.
In a third aspect, an embodiment of the present invention provides a computer storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the power saving processing method according to the first aspect.
The embodiment of the invention provides a power saving processing method, a mobile terminal and a computer storage medium, wherein the power saving processing method is applied to the mobile terminal and comprises the following steps: detecting the state of the mobile terminal; and when the mobile terminal is determined to be in the preset state, controlling the mobile terminal to enter a corresponding power saving mode. So, when detecting that mobile terminal is in preset state, control mobile terminal and get into corresponding power saving mode to effectively save mobile terminal's electric quantity consumption, improved mobile terminal's duration, promoted user experience.
Drawings
Fig. 1 is a flowchart illustrating a power saving processing method according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a power saving processing method according to an embodiment of the present invention;
FIG. 3 is a schematic view of a scene in which a mobile phone is in a bright screen, no-operation and non-shielded state and a user is in a walking state according to an embodiment of the present invention;
FIG. 4 is a schematic view of a scene in which a mobile phone is in a bright-screen, no-operation and non-occluded state and a user is in a running state according to an embodiment of the present invention;
FIG. 5 is a schematic view of a scene in which a mobile phone is in a bright screen, no operation and shielded state and a user is in a walking or running state according to an embodiment of the present invention;
FIG. 6 is a diagram illustrating a comparison between an embodiment of the present invention before and after a mobile phone automatically sleeps and turns off a related power consuming function;
FIG. 7 is a schematic diagram illustrating a comparison between a mobile phone and a related power consuming function when the mobile phone is awakened to automatically turn on the related power consuming function according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
Detailed Description
The technical scheme of the invention is further elaborated by combining the drawings and the specific embodiments in the specification. Unless defined otherwise, 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 invention belongs. The terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
Referring to fig. 1, a power saving processing method provided in an embodiment of the present invention may be executed by a power saving processing apparatus provided in an embodiment of the present invention, where the power saving processing apparatus may be implemented in a software and/or hardware manner, and in a specific application, the power saving processing apparatus may be specifically a mobile terminal, and the mobile terminal may be a smart phone, a personal digital assistant, a tablet computer, and the like, and the power saving processing method includes the following steps:
step S101: detecting the state of the mobile terminal;
it should be noted that the detecting the state of the mobile terminal may be that the mobile terminal detects the state of the mobile terminal through a sensor or a detecting device arranged in the mobile terminal, and the state of the mobile terminal may include a static state, a moving state, a bright screen state, a black screen state, a shielding state, a non-shielding state, a multimedia playing state, a non-multimedia playing state, and the like. Here, whether the mobile terminal is in the bright screen state or the black screen state may be obtained according to the existing related art, which is not described herein again. Here, whether the mobile terminal is in a blocking state, which means that the mobile terminal is placed in a closed or semi-closed environment such as a pocket or a handbag, may be detected by a distance sensor and/or a light sensor. For example, taking the mobile terminal as an example, the detecting the state of the mobile terminal includes: detecting the distance between the mobile terminal and a shelter through the distance sensor; if the distance is smaller than or equal to a preset distance threshold value, determining that the mobile terminal is in a shielding state; and if the distance is greater than a preset distance threshold value, determining that the mobile terminal is in a non-shielding state. The distance threshold may be set according to actual requirements, for example, may be set to 0.5 cm, 1 cm, and the like. Taking the mobile terminal provided with the light sensor as an example, the detecting the state of the mobile terminal includes: detecting the light intensity of the environment where the mobile terminal is located through the light sensor; if the light intensity is smaller than or equal to a preset light intensity threshold value, determining that the mobile terminal is in a shielding state; and if the light intensity is greater than a preset light intensity threshold value, determining that the mobile terminal is in a non-shielding state. The light intensity threshold value can be set according to the actual situation. Meanwhile, whether the mobile terminal is in a motion state or not can be detected through the acceleration sensor, and whether the mobile terminal is in a walking state or a running state or not can be detected by combining the gyroscope. In addition, whether the mobile terminal is in a multimedia playing state can be detected through the utilization rate monitoring equipment of the graphic processor. In one embodiment, the detecting the state of the mobile terminal includes: detecting the utilization rate of a graphic processor of the mobile terminal; if the utilization rate of the graphics processor is smaller than or equal to a preset first threshold value, determining that the mobile terminal is in a multimedia-free playing state; and if the utilization rate of the graphics processor is greater than a preset second threshold value, determining that the mobile terminal is in a multimedia playing state. It can be understood that, when the mobile terminal is in the multimedia playing state, the usage rate of the graphics processor by the played multimedia is generally high, and therefore, whether the mobile terminal is in the multimedia playing state can be determined by detecting the usage rate of the graphics processor. The second threshold is equal to or greater than the first threshold, and the second threshold and the first threshold may be set according to actual needs, for example, the first threshold may be set to 50%, the second threshold may be set to 70%, and the like. Therefore, the state of the mobile terminal is detected quickly, and the processing efficiency is improved. It is understood that, since the user is a direct operator of the mobile terminal, such as the user holding the mobile phone with one hand, tying the mobile phone to an arm, or putting the mobile phone in a pocket, etc., the state of the user can be reflected or characterized to some extent by the state of the mobile terminal. For example, when a user runs with a mobile phone, the mobile terminal will be in a motion state and the motion state is a running state.
In one embodiment, before the detecting the state of the mobile terminal, the method further includes:
and when detecting that the duration time of no operation on the mobile terminal meets a preset condition, executing a step of detecting the state of the mobile terminal.
It can be understood that, according to the operation habit of the user, the operation of the mobile terminal by the user is a continuous process, in which the user may have a transient non-operation behavior on the mobile terminal due to temporary affairs, and the like, and at this time, the mobile terminal may detect the duration of the non-operation on the mobile terminal. If the duration time of no operation on the mobile terminal is detected to meet the preset condition, the situation indicates that the user may not continue to operate the mobile terminal temporarily, and at the moment, the state of the mobile terminal can be detected, so that the mobile terminal is controlled to enter a corresponding power saving mode when the mobile terminal is in the preset state. Here, the preset condition may be that the duration of the no operation on the mobile terminal is equal to or greater than a preset time threshold, and the preset time threshold may be set according to actual needs, for example, may be set to 1 minute, 2 minutes, or 5 minutes. Therefore, when the duration time of no operation on the mobile terminal meets the preset condition, the state of the mobile terminal is detected so as to avoid repeatedly controlling the mobile terminal to enter a power saving mode, the control accuracy is improved, and the user experience is further improved.
Step S102: and when the mobile terminal is determined to be in the preset state, controlling the mobile terminal to enter a corresponding power saving mode.
Here, the preset state may be set according to actual needs, and in this embodiment, the preset state at least includes one of a motion state, a shielding state, a multimedia-free playing state, and a bright screen state, where the motion state may be a walking state or a running state. The power saving mode may also be set according to actual needs, and in this embodiment, the power saving mode includes: closing at least one of the notification screen-lighting function, closing the wireless local area network connection, closing the hotspot connection, closing the bluetooth connection, closing the running information application, closing the running instant messaging application, closing the running multimedia application, and turning off the screen. Therefore, when the mobile terminal is detected to be in the preset state, the mobile terminal is controlled to enter the corresponding power saving mode, namely the mobile terminal is controlled to close the related power consumption function, and therefore the power consumption of the mobile terminal is saved.
The power saving processing method will be described in detail below with reference to several embodiments. In one embodiment, the predetermined state comprises a motion state; the controlling the mobile terminal to enter a corresponding power saving mode includes: and closing one or more of a notification screen-lighting function, a wireless local area network connection, a hotspot connection and a Bluetooth connection of the mobile terminal. Specifically, when the mobile terminal determines that the mobile terminal is in a motion state, one or more of a notification screen-lighting function, a wireless local area network connection, a hotspot connection and a bluetooth connection of the mobile terminal are turned off. It can be understood that, when the mobile terminal is in a motion state, that is, the user is in a motion state, at this time, the mobile terminal may not be able to connect to the previously connected wireless local area network, hotspot and bluetooth, that is, at this time, the mobile terminal may have disconnected the previously connected wireless local area network, hotspot and bluetooth, and in addition, the user may not be able to or no longer pay attention to whether the mobile terminal has a new notification message, so the mobile terminal may turn off one or more of a notification screen-lighting function, a wireless local area network connection, a hotspot connection and a bluetooth connection of the mobile terminal, so as to achieve the purpose of saving power. It should be noted that the preset state may further include an unobstructed state, and the unobstructed state may be a state in which the user holds the mobile terminal by hand or binds the mobile terminal to an arm. Here, while the mobile terminal is in the motion state, the mobile terminal may be in a bright screen state or may be in a black screen state, that is, a screen-off state.
In one embodiment, the preset state further includes a shielding state; the controlling the mobile terminal to enter a corresponding power saving mode further comprises:
and closing the information application and/or the instant messaging application operated in the mobile terminal.
Specifically, when the mobile terminal determines that the mobile terminal is in the motion state and the shielding state, the mobile terminal may close the information application and/or the instant messaging application running in the mobile terminal, in addition to closing one or more of a notification screen-lighting function, a wireless local area network connection, a hotspot connection, and a bluetooth connection of the mobile terminal.
It can be understood that, in the process that the user carries the mobile terminal in the motion state, if the user places the mobile phone in a closed or semi-closed environment such as a pocket or a backpack, that is, the mobile terminal is in a shielded state, it indicates that the duration of the motion of the user may be longer, that is, the duration of the motion state of the mobile terminal may be longer, and the user may not use the information application and/or the instant messaging application for a while, at this time, the information application and/or the instant messaging application running in the mobile terminal may be closed, so as to further save power consumption. Here, the information applications include, but are not limited to, today's headline, Tencent news, and Fox news, and the instant messaging applications include, but are not limited to, WeChat, QQ, and other applications. Therefore, when the mobile terminal is determined to be in the motion state and the shielding state, the information application and/or the instant messaging application running in the mobile terminal are/is closed, so that the electricity consumption is further saved, the cruising ability of the mobile terminal is improved, and the user experience is further improved.
In one embodiment, the preset state further includes a multimedia play-free state; the controlling the mobile terminal to enter a corresponding power saving mode further comprises:
and closing the multimedia application running in the mobile terminal.
Specifically, when the mobile terminal determines that the mobile terminal is in a motion state and a multimedia-free playing state, the mobile terminal may close a multimedia application running in the mobile terminal, in addition to one or more of a notification screen-lighting function, a wireless local area network connection, a hotspot connection, and a bluetooth connection of the mobile terminal. Or when the mobile terminal determines that the mobile terminal is in a motion state, a shielding state and a non-multimedia playing state, the mobile terminal can close one or more of a notification screen-lighting function, a wireless local area network connection, a hotspot connection and a bluetooth connection of the mobile terminal, close an information application and/or an instant messaging application running in the mobile terminal, and also close a multimedia application running in the mobile terminal.
It can be understood that, in the process that a user carries a mobile terminal in a motion state, if a multimedia application is running in the mobile terminal and the multimedia application does not play multimedia data through the mobile terminal, that is, the mobile terminal is in a multimedia play-free state, which indicates that the user does not use the multimedia application currently, the multimedia application running in the mobile terminal can be closed at this time, so as to further save power consumption. In addition, when the user carries the mobile terminal in a moving state, if the user places the mobile phone in a closed or semi-closed environment such as a pocket or a backpack, that is, the mobile terminal is in a shielding state, it indicates that the duration of the user's movement may be longer, that is, the duration of the mobile terminal in the moving state may be longer, and the user may not use the multimedia application for a while, and at this time, the multimedia application running in the mobile terminal may be closed, so as to further save power consumption. Here, the multimedia applications include video-class applications, but are not limited to Tencent video, players, etc. applications, and/or audio-class applications, including, but not limited to Cool dog music, QQ music, etc. applications. Therefore, when the mobile terminal is determined to be in the motion state and the multimedia-free playing state or the mobile terminal is in the motion state, the shielding state and the multimedia-free playing state, the multimedia application running in the mobile terminal is closed, so that the electric quantity consumption is further saved, the cruising ability of the mobile terminal is improved, and the user experience is further improved.
In one embodiment, the preset state further includes a screen-on state; the controlling the mobile terminal to enter a corresponding power saving mode further comprises: and extinguishing the screen of the mobile terminal. Specifically, when the mobile terminal detects that the mobile terminal is in a bright screen state, the screen of the mobile terminal is extinguished, so that the electric quantity consumption of the mobile terminal is further saved, the cruising ability of the mobile terminal is improved, and the user experience is further improved.
In one embodiment, the preset state includes a motion state and a non-occlusion state; the power saving mode comprises at least one of the following: the method comprises the steps of automatically sleeping, turning off a notification screen-lighting function, turning off wireless local area network connection, turning off hot spot connection and turning off Bluetooth connection.
It can be understood that, when the mobile terminal is in the motion state and the non-blocking state, it indicates that the duration of the motion of the user may not be too long, that is, the duration of the motion state and the non-blocking state of the mobile terminal may not be too long, and the user may be playing a song or the like using the mobile terminal, so that the mobile terminal may be controlled to enter a corresponding power saving mode, where the power saving mode may include auto-sleep, turning off a notification screen-lighting function, turning off a wlan connection, turning off a hotspot connection, turning off a bluetooth connection, and the like, so as to save power consumption.
In one embodiment, the preset state includes a motion state and a blocking state; the power saving mode comprises at least one of the following: the method comprises the steps of automatically sleeping, closing a notification screen-lighting function, closing a wireless local area network connection, closing a hot spot connection, closing a Bluetooth connection, closing an operating information application, closing an operating instant messaging application, closing an operating multimedia application and closing sound.
It can be understood that, when the mobile terminal is in the moving state and the shielding state, it indicates that the duration of the user's motion may be longer, that is, the duration of the mobile terminal in the moving state and the shielding state may be longer, and the user may not use the mobile terminal to browse news, chat, and the like for a while, so that the mobile terminal may be controlled to enter a corresponding power saving mode, where the power saving mode may include an auto-sleep mode, a notification and screen-up function off, a wlan connection off, a hotspot connection off, a bluetooth connection off, an information application off, an instant messaging application off, a multimedia application off, and a sound off, so as to save power consumption. The closing sound may be an application closing sound, or a system closing sound, that is, a sound for closing a specific application, or a sound for closing a mobile terminal.
In summary, in the power saving processing method provided in the above embodiment, when the mobile terminal is detected to be in the preset state, the mobile terminal is controlled to enter the corresponding power saving mode, so that the power consumption of the mobile terminal is effectively saved, the cruising ability of the mobile terminal is improved, and the user experience is improved.
In one embodiment, before the detecting the state of the mobile terminal, the method further includes:
receiving a setting instruction aiming at the corresponding relation between the preset state and the power saving mode of the mobile terminal;
and setting the corresponding relation between the preset state and the power saving mode of the mobile terminal according to the setting instruction.
It should be noted that the mobile terminal may be provided with a user interface for setting a corresponding relationship between the state of the mobile terminal and the power saving mode, and the user interface may be set to have a preset state setting option and a power saving mode setting option. Specifically, after the user selects or inputs a preset state and a power saving mode in the user interface and clicks the setting key, the mobile terminal receives a setting instruction for the corresponding relationship between the preset state and the power saving mode, and at this time, the mobile terminal establishes the corresponding relationship between the preset state and the power saving mode carried in the setting instruction. It should be noted that, the user can flexibly set and adjust the corresponding relationship between the preset state and the power saving mode of the mobile terminal as required, for example, if the user presets the state of the mobile terminal as a motion state, the corresponding power saving mode includes turning off the notification screen-lighting function, turning off the wireless lan connection, turning off the hotspot connection, turning off the bluetooth connection, turning off the running information application, turning off the running instant messaging application, turning off the running multimedia application, turning off the screen, and turning off the music playing, and if the user currently needs to listen to music during running, the user can delete the function of turning off the music playing included in the power saving mode corresponding to the motion state set before. Therefore, the corresponding relation between the preset state of the mobile terminal and the power saving mode can be flexibly set according to the user requirements, and the user experience is improved.
In an embodiment, after the controlling the mobile terminal to enter the corresponding power saving mode, the method further includes:
and after receiving the awakening instruction, controlling the mobile terminal to exit the power saving mode.
Here, the receiving of the wake-up command by the mobile terminal may be a command of receiving a user to wake up the screen, or a command of receiving a screen unlocking command. And after receiving the awakening instruction, controlling the mobile terminal to exit the power saving mode so as to restart the power consumption function which is closed when the mobile terminal is controlled to enter the corresponding power saving mode, such as starting one or more of a notification screen-lighting function, a wireless local area network connection, a hot spot connection and a Bluetooth connection of the mobile terminal. Therefore, the control operation is convenient and fast, and the user experience is further improved.
Based on the same inventive concept of the foregoing embodiments, the present embodiment describes technical solutions of the foregoing embodiments in detail through specific examples. In this embodiment, taking a mobile terminal as an example, fig. 2 is a specific flowchart of a power saving processing method according to an embodiment of the present invention, which includes the following steps:
step S201: detecting that the mobile phone is in a no-operation and bright screen state;
here, whether the mobile phone is in the no-operation and bright-screen state can be judged through the mobile phone screen, and if it is detected that the user does not perform operations such as clicking and sliding on the mobile phone screen or perform operations on the mobile phone keys when the mobile phone is in the bright-screen state, it can be judged that the mobile phone is in the no-operation state, that is, the mobile phone is in the no-operation and bright-screen state.
Step S202: acquiring the state of the mobile phone by using frequency monitoring equipment through a distance sensor, a gyroscope, an acceleration sensor, a gravity sensor and an image processor;
here, whether the mobile phone is in a walking or running state can be judged through the gyroscope, the acceleration sensor and the gravity sensor, namely whether the user is in the walking or running state can be judged, and whether the mobile phone is put into a pocket or a backpack or other environments can be judged through the distance sensor, namely whether the mobile phone is in a shielding state. In addition, the image processor can be used for judging whether the mobile phone is in a multimedia playing state by using the frequency monitoring equipment, so that whether the user watches videos and the like can be detected.
Step S203: judging whether the user is in a walking or running state and the mobile phone is started to have a power consumption function, if so, executing a step S204, otherwise, executing a step S206;
here, whether the user is in a walking or running state may be understood as whether the mobile phone is in a walking or running state.
Step S204: automatically turning off related power consumption functions;
here, when it is judged that the user is in a walking or running state in which the user holds the mobile phone by hand or binds the mobile phone to an arm, the mobile phone automatically sleeps, and simultaneously turns off power consumption functions such as notification of a bright screen, no connection to a wireless local area network, no connection to a hot spot, no connection to bluetooth, and the like; when the mobile phone is judged to be in a walking or running state of putting the mobile phone into a pocket or a case, the mobile phone automatically sleeps, and meanwhile, power consumption functions of informing of a bright screen, a connectionless wireless local area network, a connectionless hotspot, connectionless Bluetooth, video applications, information applications, application sound and the like are closed.
Step S205: when the mobile phone is awakened in a state that the user stops walking or running, the closed related power consumption function is automatically restarted;
here, the wake-up handset may be a wake-up handset screen or the like.
Step S206: and (6) ending.
Fig. 3 is a schematic view of a scene in which the mobile phone is in a bright-screen, no-operation and non-blocked state and the user is in a walking state, fig. 4 is a schematic view of a scene in which the mobile phone is in a bright-screen, no-operation and non-blocked state and the user is in a running state, and fig. 5 is a schematic view of a scene in which the mobile phone is in a bright-screen, no-operation and blocked state and the user is in a walking or running state. Here, the mobile phone determines that the mobile phone is in a bright screen state through the screen, detects a user state through the acceleration sensor, the touch sensor and the gyroscope, and when it is determined that the user holds the mobile phone in the hand as shown in fig. 3, or wears the mobile phone on the arm as shown in fig. 4, or puts the mobile phone in a pocket or a bag as shown in fig. 5 to walk or run, the user may not operate the mobile phone for a certain period of time. In order to reduce unnecessary power consumption when the mobile phone is in the non-operating state in the above scenarios, when it is determined that the user is in one of the above scenarios, the mobile phone will automatically sleep and turn off the related power consumption function to achieve the purpose of saving power, as shown in fig. 6, which is a schematic diagram comparing before and after the mobile phone automatically sleeps and turns off the related power consumption function. The scenes can be summarized into two types, one is that when the mobile phone is in a bright screen state, a no-operation state and a no-shielding state, if a user is in a walking state or a running state, the duration of the motion process is possibly short, the mobile phone can automatically sleep and automatically close power consumption functions of informing the bright screen state, the no-connection WLAN state, the no-connection hotspot state, the no-connection Bluetooth state and the like; another scenario is that when the mobile phone is in a bright screen, no operation and shielding state, if the user is in a walking state or running state, the duration of the motion process may be relatively long, and the mobile phone can automatically sleep and automatically turn off power consumption functions such as notification of bright screen, no connection WLAN, no connection hotspot, no connection bluetooth, video applications and information applications. Here, when the mobile phone determines that the user stops moving and wakes up the mobile phone, the mobile phone will automatically turn on the related power consuming function, as shown in fig. 7, which is a comparison diagram before and after the mobile phone is woken up to automatically turn on the related power consuming function.
In summary, the above embodiments provide a power saving processing method for a smart phone based on a determination that a user is in a walking or running state, where the mobile phone is detected to be in a non-video-playing or non-operation-screen-lighting state by using a mobile phone screen, a distance sensor, a gyroscope, an acceleration sensor, and a GPU using frequency monitoring device, and the user is determined to be in a walking or running state at the same time, and the mobile phone automatically sleeps and automatically turns off related power consumption functions to achieve the purpose of saving power. The mobile phone can not only be operated when a user walks or runs, but also be put in a pocket or a backpack when the user forgets to sleep the mobile phone, and the motion state of the user can not be detected and identified automatically when the user is informed of the fact that the user cannot check the message instantly when the screen is on, and the mobile phone can be dormant, the related power consumption functions such as informing of the screen is turned off, and the power saving mode is intelligent, automatic and free of additional setting of the user.
Based on the same inventive concept of the foregoing embodiments, an embodiment of the present invention provides a mobile terminal, as shown in fig. 8, including: a processor 110 and a memory 111 for storing computer programs capable of running on the processor 110; the processor 110 illustrated in fig. 8 is not used to refer to the number of the processors 110 as one, but is only used to refer to the position relationship of the processor 110 relative to other devices, and in practical applications, the number of the processors 110 may be one or more; similarly, the memory 111 illustrated in fig. 8 is also used in the same sense, that is, only used to refer to the position relationship of the memory 111 relative to other devices, and in practical applications, the number of the memory 111 may be one or more. The processor 110 is configured to implement the power saving processing method when the computer program is executed.
The mobile terminal may further include: at least one network interface 112. The various components in the mobile terminal are coupled together by a bus system 113. It will be appreciated that the bus system 113 is used to enable communications among the components. The bus system 113 includes a power bus, a control bus, and a status signal bus in addition to the data bus. For clarity of illustration, however, the various buses are labeled as bus system 113 in FIG. 8.
The memory 111 may be a volatile memory or a nonvolatile memory, or may include both volatile and nonvolatile memories. Among them, the nonvolatile Memory may be a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a magnetic random access Memory (FRAM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical disk, or a Compact Disc Read-Only Memory (CD-ROM); the magnetic surface storage may be disk storage or tape storage. Volatile memory can be Random Access Memory (RAM), which acts as external cache memory. By way of illustration and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), Enhanced Synchronous Dynamic Random Access Memory (Enhanced DRAM), Synchronous Dynamic Random Access Memory (SLDRAM), Direct Memory (DRmb Access), and Random Access Memory (DRAM). The memory 111 described in connection with the embodiments of the invention is intended to comprise, without being limited to, these and any other suitable types of memory.
The memory 111 in the embodiments of the present invention is used to store various types of data to support the operation of the mobile terminal. Examples of such data include: any computer program for operating on the image processing apparatus, such as an operating system and an application program; contact data; telephone book data; a message; a picture; video, etc. The operating system includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, and is used for implementing various basic services and processing hardware-based tasks. The application programs may include various application programs such as a Media Player (Media Player), a Browser (Browser), etc. for implementing various application services. Here, the program that implements the method of the embodiment of the present invention may be included in an application program.
Based on the same inventive concept of the foregoing embodiments, this embodiment further provides a computer storage medium, where a computer program is stored in the computer storage medium, where the computer storage medium may be a Memory such as a magnetic random access Memory (FRAM), a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read Only Memory (EPROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a flash Memory (flash Memory), a magnetic surface Memory, an optical Disc, or a Compact Disc Read Only Memory (CD-ROM), and the like; or may be a variety of devices including one or any combination of the above memories, such as a mobile phone, computer, tablet device, personal digital assistant, etc. When the computer program stored in the computer storage medium is run by a processor, the power saving processing method is realized. Please refer to the description of the embodiment shown in fig. 1 for a specific step flow realized when the computer program is executed by the processor, which is not described herein again.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
As used herein, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, including not only those elements listed, but also other elements not expressly listed.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (11)

1. A power saving processing method is applied to a mobile terminal, and is characterized by comprising the following steps:
detecting the state of the mobile terminal;
and when the mobile terminal is determined to be in the preset state, controlling the mobile terminal to enter a corresponding power saving mode.
2. The power saving processing method according to claim 1, wherein before detecting the state of the mobile terminal, the method further comprises:
and when detecting that the duration time of no operation on the mobile terminal meets a preset condition, executing a step of detecting the state of the mobile terminal.
3. The power saving processing method according to claim 1, wherein the power saving mode comprises: closing at least one of a notification screen-lighting function, closing a wireless local area network connection, closing a hotspot connection, closing a Bluetooth connection, closing an operating information application, closing an operating instant messaging application, closing an operating multimedia application and turning off a screen.
4. The power saving processing method according to any one of claims 1 to 3, wherein the preset state comprises: at least one of a motion state, a shielding state, a multimedia-free playing state and a bright screen state.
5. The power saving processing method according to any one of claims 1 to 3, wherein the preset states include a motion state and an unobstructed state; the power saving mode comprises at least one of the following: the method comprises the steps of automatically sleeping, turning off a notification screen-lighting function, turning off wireless local area network connection, turning off hot spot connection and turning off Bluetooth connection.
6. The power saving processing method according to any one of claims 1 to 3, wherein the preset state includes a motion state and an occlusion state; the power saving mode comprises at least one of the following: the method comprises the steps of automatically sleeping, closing a notification screen-lighting function, closing a wireless local area network connection, closing a hot spot connection, closing a Bluetooth connection, closing an operating information application, closing an operating instant messaging application, closing an operating multimedia application and closing sound.
7. The power saving processing method according to any one of claims 1 to 3, wherein before detecting the state of the mobile terminal, the method further comprises:
receiving a setting instruction aiming at the corresponding relation between the preset state and the power saving mode of the mobile terminal;
and setting the corresponding relation between the preset state and the power saving mode of the mobile terminal according to the setting instruction.
8. The power saving processing method according to claim 4, wherein the detecting the state of the mobile terminal comprises:
detecting the utilization rate of a graphic processor of the mobile terminal;
if the utilization rate of the graphics processor is smaller than or equal to a preset first threshold value, determining that the mobile terminal is in a multimedia-free playing state;
if the utilization rate of the graphics processor is greater than a preset second threshold value, determining that the mobile terminal is in a multimedia playing state; wherein the second threshold is equal to or greater than the first threshold.
9. The power saving processing method according to claim 1 or 2, wherein after the controlling the mobile terminal to enter the corresponding power saving mode, the method further comprises:
and after receiving the awakening instruction, controlling the mobile terminal to exit the power saving mode.
10. A mobile terminal, comprising: a processor and a memory for storing a computer program capable of running on the processor,
wherein the processor, when running the computer program, implements the power saving processing method of any one of claims 1 to 9.
11. A computer storage medium storing a computer program which, when executed by a processor, implements the power saving processing method according to any one of claims 1 to 9.
CN201911317606.7A 2019-12-19 2019-12-19 Power-saving processing method, mobile terminal and computer storage medium Pending CN111163504A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911317606.7A CN111163504A (en) 2019-12-19 2019-12-19 Power-saving processing method, mobile terminal and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911317606.7A CN111163504A (en) 2019-12-19 2019-12-19 Power-saving processing method, mobile terminal and computer storage medium

Publications (1)

Publication Number Publication Date
CN111163504A true CN111163504A (en) 2020-05-15

Family

ID=70557306

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911317606.7A Pending CN111163504A (en) 2019-12-19 2019-12-19 Power-saving processing method, mobile terminal and computer storage medium

Country Status (1)

Country Link
CN (1) CN111163504A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111627450A (en) * 2020-07-28 2020-09-04 南京新研协同定位导航研究院有限公司 Extended endurance system of MR glasses and endurance method thereof
CN112261710A (en) * 2020-09-24 2021-01-22 深圳市广和通无线股份有限公司 Hotspot control method and device, terminal equipment and storage medium
CN112351482A (en) * 2020-10-29 2021-02-09 深圳Tcl新技术有限公司 Method and device for automatically controlling terminal dormancy and computer readable storage medium
CN114584930A (en) * 2020-11-30 2022-06-03 华为技术有限公司 Multi-device communication method, electronic device, and computer-readable storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111627450A (en) * 2020-07-28 2020-09-04 南京新研协同定位导航研究院有限公司 Extended endurance system of MR glasses and endurance method thereof
CN112261710A (en) * 2020-09-24 2021-01-22 深圳市广和通无线股份有限公司 Hotspot control method and device, terminal equipment and storage medium
CN112261710B (en) * 2020-09-24 2024-03-15 深圳市广和通无线股份有限公司 Hot spot control method, device, terminal equipment and storage medium
CN112351482A (en) * 2020-10-29 2021-02-09 深圳Tcl新技术有限公司 Method and device for automatically controlling terminal dormancy and computer readable storage medium
CN114584930A (en) * 2020-11-30 2022-06-03 华为技术有限公司 Multi-device communication method, electronic device, and computer-readable storage medium

Similar Documents

Publication Publication Date Title
CN111163504A (en) Power-saving processing method, mobile terminal and computer storage medium
KR101641174B1 (en) Method for enabling shutdown alarm clock and mobile terminal, and program, and recording medium for enabling shutdown alarm clock
CN107748685B (en) Application program starting control method and device, terminal equipment and storage medium
US20080133956A1 (en) Power consumption management for functional preservation in a battery-powered electronic device
EP2649859B1 (en) Automatically enabling wireless communication
CN101888435B (en) Portable terminal and state control method thereof
US8838188B1 (en) Method and apparatus for reducing power consumption in a portable electronic device
CN106604375A (en) Dormancy device and method
CN107943269B (en) Scheduling job control method, device, terminal equipment and storage medium
CN110032321A (en) Applied program processing method and device, electronic equipment, computer readable storage medium
CN110069333A (en) Backstage management-control method, mobile terminal and the computer readable storage medium of application
CN109634762B (en) Data recovery method and device, electronic equipment and storage medium
CN110032397B (en) Application processing method and device, electronic equipment and computer readable storage medium
CN110543333A (en) Dormancy processing method and device for processor, mobile terminal and storage medium
CN106454953B (en) Flow control method, device and terminal
CN113163051A (en) Mobile terminal and control method thereof
CN109511139B (en) WIFI control method and device, mobile device and computer-readable storage medium
CN111290565A (en) Doze mode control method, device, terminal and storage medium
CN109992309A (en) Applied program processing method and device, electronic equipment, computer readable storage medium
CN107943268B (en) Scheduling job control method, device, terminal equipment and storage medium
WO2019201193A1 (en) Application program management method, mobile terminal, and computer readable storage medium
CN109992360B (en) Process processing method and device, electronic equipment and computer readable storage medium
CN112764812B (en) Electronic device and control method thereof
WO2022156572A1 (en) Control method, control apparatus, and electronic device
CN110989819B (en) Doze mode control method, device, mobile terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination