CN113220109A - Processing method, mobile terminal and readable storage medium - Google Patents

Processing method, mobile terminal and readable storage medium Download PDF

Info

Publication number
CN113220109A
CN113220109A CN202110520136.5A CN202110520136A CN113220109A CN 113220109 A CN113220109 A CN 113220109A CN 202110520136 A CN202110520136 A CN 202110520136A CN 113220109 A CN113220109 A CN 113220109A
Authority
CN
China
Prior art keywords
mobile terminal
screen
target application
duration
application program
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
CN202110520136.5A
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.)
Shenzhen Microphone Holdings Co Ltd
Shenzhen Transsion Holdings Co Ltd
Original Assignee
Shenzhen Microphone Holdings 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 Shenzhen Microphone Holdings Co Ltd filed Critical Shenzhen Microphone Holdings Co Ltd
Priority to CN202110520136.5A priority Critical patent/CN113220109A/en
Publication of CN113220109A publication Critical patent/CN113220109A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/325Power saving in peripheral device
    • G06F1/3265Power saving in display device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/3296Power saving characterised by the action undertaken by lowering the supply or operating voltage

Abstract

The application discloses a processing method, a mobile terminal and a storage medium, wherein the processing method is applied to the mobile terminal, the mobile terminal is provided with a target application program, and the processing method comprises the following steps: when the target application program is detected to be started, acquiring historical use data of the target application program; and determining the standby screen-off duration of the mobile terminal when the target application program is started according to the historical use data. According to the method and the device, the standby screen-off duration of the mobile terminal is adjusted by acquiring the historical use data of the target application program, and the flexibility of setting the screen-off duration of the terminal is improved.

Description

Processing method, mobile terminal and readable storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a processing method, a mobile terminal, and a readable storage medium.
Background
The screen is one of the most power-consuming components on a terminal with a screen, such as a mobile phone, and the like, and in order to save power, the terminal generally supports setting of screen-off time, such as 30 seconds, 60 seconds, 1 minute and the like, and when the terminal does not receive an operation of maintaining the screen-on of the terminal within the screen-off set duration after the screen is turned on, the screen of the terminal automatically turns off. In the course of conceiving and implementing the present application, the inventors found that at least the following problems existed: no matter what the terminal displays after the screen-off duration is set, the screen-off time is followed, and the existing screen-off time is not flexibly set, so that the user experience is influenced.
The foregoing description is provided for general background information and is not admitted to be prior art.
Disclosure of Invention
In view of the above technical problems, the present application provides a processing method, a mobile terminal, and a storage medium, so that the setting of the screen-off time of the terminal is more flexible.
In order to solve the above technical problem, the present application provides a processing method, which is applied to a mobile terminal, where the mobile terminal is installed with a target application program, and the processing method includes:
when the target application program is detected to be opened, obtaining historical use data of the target application program, wherein optionally, the historical use data comprises at least one of the following data: historical use frequency, total historical use duration, average historical single use duration and historical click frequency;
and determining the standby screen-off duration of the mobile terminal when the target application program is started according to the historical use data.
Optionally, the historical usage data comprises at least one of: the mobile terminal comprises historical use data stored in the mobile terminal, historical use data stored in a server side, historical use data stored in a single terminal and historical use data stored in a plurality of terminals.
Optionally, the running state of the target application includes at least one of: background running, background waiting running, foreground running and foreground waiting running.
Optionally, after the step of determining the standby screen-off duration of the mobile terminal when the target application is started according to the historical usage data, the method includes:
within the standby screen-off duration after the target application program is started, if the screen-on operation based on the mobile terminal is not detected, turning off the mobile terminal, optionally, the screen-off includes reducing the screen brightness of the mobile terminal or closing the screen of the mobile terminal;
and if the running state of the target application program is background running or foreground running, determining or generating a screen-lightening instruction so that the mobile terminal detects screen-lightening operation.
Optionally, within the standby screen-off duration after the target application is started, if a screen-on operation based on the mobile terminal is not detected, the step of turning off the screen of the mobile terminal includes:
and if the screen lightening operation based on the mobile terminal is not detected and the running state of the target application program is to be run in a background or to be run in a foreground within the standby screen-off duration after the target application program is started, turning off the screen of the mobile terminal.
Optionally, if the running state of the target application program is to be run in a background or to be run in a foreground, obtaining first data, optionally, the first data includes at least one of the following: face data, infrared data, distance data, light intensity data and acceleration data;
and adjusting the running state of the target application program to be in background running or foreground running according to the first data.
Optionally, within the standby screen-off duration after the target application is started, if a screen-on operation based on the mobile terminal is not detected, the step of turning off the screen of the mobile terminal includes:
within a first duration after the target application program is started, if the bright screen operation based on the mobile terminal is not detected, reducing the screen brightness of the mobile terminal; and/or the presence of a gas in the gas,
within a second time period after the screen brightness of the mobile terminal is reduced, if the screen-on operation based on the mobile terminal is not detected, closing the screen of the mobile terminal, and optionally, the sum of the first time period and the second time period is equal to the standby screen-off time period.
Optionally, the step of determining, according to the historical usage data, a standby screen-off duration of the mobile terminal when the target application is started includes:
if the number of the target application programs in the starting state is larger than one, acquiring historical use data of all the target application programs in the starting state, and determining the standby screen-off duration of the mobile terminal when all the target application programs are started according to the historical use data of all the target application programs in the starting state.
Optionally, the step of obtaining historical usage data of the target application when it is detected that the target application is started includes:
when the target application program is detected to be started, acquiring the residual electric quantity of the mobile terminal;
if the residual electric quantity is smaller than a first preset threshold value, determining that the standby screen-off duration of the mobile terminal is the default screen-off duration when the target application program is started; and/or the presence of a gas in the gas,
and if the residual electric quantity is greater than or equal to a first preset threshold value, acquiring historical use data of the target application program.
Optionally, after the step of acquiring the historical usage data of the target application when it is detected that the target application is started, the method includes:
acquiring the residual electric quantity of the mobile terminal;
if the residual electric quantity is larger than or equal to a second preset threshold value, executing a step of determining standby screen-off duration of the mobile terminal when the target application program is started according to the historical use data; and/or the presence of a gas in the gas,
if the residual electric quantity is smaller than a second preset threshold value, determining that the standby screen-off duration of the mobile terminal when the target application program is started is the default screen-off duration; and/or the presence of a gas in the gas,
if the residual electric quantity is smaller than a second preset threshold value, acquiring a first screen off duration corresponding to the historical use data, and determining that the standby screen off duration of the mobile terminal when the target application program is started is the default screen off duration or the first screen off duration.
The present application further provides a mobile terminal, including: the device comprises a memory and a processor, wherein the memory stores a processing program, and the processing program realizes the steps of any one of the processing methods when being executed by the processor.
The present application also provides a computer storage medium having a computer program stored thereon, which, when executed by a processor, performs the steps of the processing method as set forth in any one of the above.
As described above, the processing method of the present application, applied to a mobile terminal, includes: when the target application program is detected to be started, acquiring historical use data of the target application program; and determining the standby screen-off duration of the mobile terminal when the target application program is started according to the historical use data. By acquiring historical use data of the target application program, the standby screen-off duration of the mobile terminal is adjusted, and the flexibility of setting the screen-off time of the terminal is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application. In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments will be briefly described below, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic hardware structure diagram of a mobile terminal implementing various embodiments of the present application;
fig. 2 is a communication network system architecture diagram according to an embodiment of the present application;
FIG. 3 is a schematic flow chart of a first embodiment of the treatment method of the present invention;
FIG. 4 is a schematic flow chart of a second embodiment of the processing method of the present invention.
The implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings. With the above figures, there are shown specific embodiments of the present application, which will be described in more detail below. These drawings and written description are not intended to limit the scope of the inventive concepts in any manner, but rather to illustrate the inventive concepts to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, the recitation of an element by the phrase "comprising an … …" does not exclude the presence of additional like elements in the process, method, article, or apparatus that comprises the element, and further, where similarly-named elements, features, or elements in different embodiments of the disclosure may have the same meaning, or may have different meanings, that particular meaning should be determined by their interpretation in the embodiment or further by context with the embodiment.
It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope herein. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context. Also, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context indicates otherwise. It will be further understood that the terms "comprises," "comprising," "includes" and/or "including," when used in this specification, specify the presence of stated features, steps, operations, elements, components, items, species, and/or groups, but do not preclude the presence, or addition of one or more other features, steps, operations, elements, components, species, and/or groups thereof. The terms "or," "and/or," "including at least one of the following," and the like, as used herein, are to be construed as inclusive or mean any one or any combination. For example, "includes at least one of: A. b, C "means" any of the following: a; b; c; a and B; a and C; b and C; a and B and C ", again for example," A, B or C "or" A, B and/or C "means" any of the following: a; b; c; a and B; a and C; b and C; a and B and C'. An exception to this definition will occur only when a combination of elements, functions, steps or operations are inherently mutually exclusive in some way.
It should be understood that, although the steps in the flowcharts in the embodiments of the present application are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and may be performed in other orders unless explicitly stated herein. Moreover, at least some of the steps in the figures may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, in different orders, and may be performed alternately or at least partially with respect to other steps or sub-steps of other steps.
The words "if", as used herein, may be interpreted as "at … …" or "at … …" or "in response to a determination" or "in response to a detection", depending on the context. Similarly, the phrases "if determined" or "if detected (a stated condition or event)" may be interpreted as "when determined" or "in response to a determination" or "when detected (a stated condition or event)" or "in response to a detection (a stated condition or event)", depending on the context.
It should be noted that step numbers such as S10 and S20 are used herein for the purpose of more clearly and briefly describing the corresponding content, and do not constitute a substantial limitation on the sequence, and those skilled in the art may perform S20 first and then S10 in specific implementation, which should be within the scope of the present application.
It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for the convenience of description of the present application, and have no specific meaning in themselves. Thus, "module", "component" or "unit" may be used mixedly.
The mobile terminal may be implemented in various forms. For example, the mobile terminal described in the present application may include mobile terminals such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and fixed terminals such as a Digital TV, a desktop computer, and the like.
The following description will be given taking a mobile terminal as an example, and it will be understood by those skilled in the art that the configuration according to the embodiment of the present application can be applied to a fixed type terminal in addition to elements particularly used for mobile purposes.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present application, the mobile terminal 100 may include: RF (Radio Frequency) unit 101, WiFi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals, which may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), 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 duplex Long Term Evolution), and TDD-LTE (Time Division duplex Long Term Evolution).
WiFi belongs to short-distance wireless transmission technology, and the mobile terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the mobile terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
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 Graphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may 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 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Optionally, the light sensor includes an ambient light sensor that may adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 1061 and/or the backlight when the mobile terminal 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Alternatively, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. Optionally, the touch detection device detects a touch orientation of a user, detects a signal caused by a touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. Optionally, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited thereto.
Alternatively, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although the touch panel 1071 and the display panel 1061 are shown in fig. 1 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 108 serves as an interface through which at least one external device is connected to the 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 having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and external devices.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a program storage area and a data storage area, and optionally, the program storage area may store an operating system, an application program (such as a sound playing function, an image playing function, and the like) required by at least one function, and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor and a modem processor, optionally, the application processor mainly handles operating systems, user interfaces, application programs, etc., and the modem processor mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The mobile terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described in detail herein.
In order to facilitate understanding of the embodiments of the present application, a communication network system on which the mobile terminal of the present application is based is described below.
Referring to fig. 2, fig. 2 is an architecture diagram of a communication Network system according to an embodiment of the present disclosure, where the communication Network system is an LTE system of a universal mobile telecommunications technology, and 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 an IP service 204 of an operator, which are in communication connection in sequence.
Optionally, the UE201 may be the terminal 100 described above, and is not described herein again.
The E-UTRAN202 includes eNodeB2021 and other eNodeBs 2022, among others. Alternatively, the eNodeB2021 may be connected with other enodebs 2022 through a backhaul (e.g., X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide the UE201 access to the EPC 203.
The EPC203 may include an MME (Mobility Management Entity) 2031, an HSS (Home Subscriber Server) 2032, other MMEs 2033, an SGW (Serving gateway) 2034, a PGW (PDN gateway) 2035, and a PCRF (Policy and Charging Rules Function) 2036, and the like. Optionally, the MME2031 is a control node that handles signaling between the UE201 and the EPC203, providing bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location register (not shown) and holds subscriber specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034, PGW2035 may provide IP address assignment for UE201 and other functions, and PCRF2036 is a policy and charging control policy decision point for traffic data flow and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
The IP services 204 may include the internet, intranets, IMS (IP Multimedia Subsystem), or other IP services, among others.
Although the LTE system is described as an example, it should be understood by those skilled in the art that the present application is not limited to the LTE system, but may also be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems.
Based on the above mobile terminal hardware structure and communication network system, various embodiments of the present application are provided.
Referring to fig. 3, in a first embodiment of the processing method of the present invention, the processing method includes:
step S10, when it is detected that the target application is started, obtaining historical usage data of the target application, optionally, the historical usage data includes at least one of the following data: historical usage frequency, historical total usage duration, historical single average usage duration, and historical click frequency.
The processing method in this embodiment is applied to a mobile terminal, and optionally, the mobile terminal at least has a display screen that can be extinguished or locked, and an application program can be installed. When the application installed in the mobile terminal (i.e. the target application in this embodiment) is detected to be started, the historical usage data in a period of time before the target application is started, i.e. the historical usage data in this embodiment, it is known that how long the target application is started is obtained depending on the storage condition of the historical usage data of the target application, if the space for storing the historical usage data is large, the historical usage data in a period of time before the target application is started, e.g. the historical usage data in the year before the target application is started, optionally, the historical usage data of the target application includes historical usage frequency (calculated by the number of historical usage times and unit time), historical usage total duration, and historical average usage duration (calculated by the number of historical usage times and the historical usage times), and at least one of the historical click frequency, it can be understood that the historical usage data includes not only the written data but also data that can be obtained, such as historical browsing duration, historical false start data, and historical usage time distribution, optionally, the computation of the historical usage data is not specifically limited, for example, historical usage data in a month before the target application is started is obtained, the computation process of the historical usage frequency of the target application may be that the historical usage frequency of the target application is divided by the duration corresponding to the historical usage data, and optionally, the usage frequency of the target application may be defined as: opening the target application to then closing (exiting completely or running in the background) the target application is a one-time use target application.
Step S20, determining the standby screen-off duration of the mobile terminal when the target application program is started according to the historical use data.
It should be noted that, this embodiment can implement determining, based on the historical usage data of the target application, the standby screen-off duration of the mobile terminal when the mobile terminal is turned on for the target application, and optionally, the purpose of determining, based on the historical usage data of the target application, the standby screen-off duration of the mobile terminal when the mobile terminal is turned on for the target application may be to increase the standby screen-off duration of the mobile terminal when the application frequently used by the user or concerned by the user is turned on, in which case, the usage degree or attention degree of the target application by the user may be determined through the historical usage data, and then, according to the usage degree or attention degree of the target application by the user, the standby screen-off duration of the mobile terminal when the mobile terminal is turned on for the target application, for example, the historical usage data of the target application is 2 times per day, the history is used for about 294 hours in total, the history is used for about 21 minutes on average in a single time, and the history click frequency is about 0.17 times per minute, and when the mobile terminal is turned on, the standby screen-off duration of the corresponding mobile terminal is 40 seconds, the embodiment does not limit how to calculate the standby screen-off duration according to the historical use data, only limits the corresponding relation between the historical use data and the standby screen-off duration, and the degree of use or attention of the user to the target application can be determined through the historical use data, and then according to the use degree or attention degree of the user to the target application program, when the mobile terminal is started, the standby screen-off duration of the mobile terminal is longer, and preferably, the higher the usage degree or attention degree of the target application program by the user is, the longer the standby screen-off duration of the mobile terminal is when the mobile terminal is started by the target application program.
Optionally, the processing method further includes:
optionally, the historical usage data comprises at least one of: the mobile terminal comprises historical use data stored in the mobile terminal, historical use data stored in a server side, historical use data stored in a single terminal and historical use data stored in a plurality of terminals.
It is understood that the historical usage data of the target application may be stored in a variety of ways, for example, a first storage way: historical use data of the target application program are directly stored in the mobile terminal, and the method is characterized by being convenient to obtain; the second storage mode is as follows: the historical use data of the target application program is stored in a server corresponding to the target application program, and the method is characterized in that the storable data volume is large, namely the historical use data of the target application program in a longer time can be stored; the third storage mode is as follows: the historical use data of the target application program is stored in a single terminal (for example, a computer in communication connection with the mobile terminal), and the characteristic is that the data is convenient to query; the fourth storage mode: the historical use data of the target application program is stored in a plurality of terminals, and the method has the characteristics that the data can be stored in a classified mode, the storable data volume is large, and the data query is more accurate. It is understood that, in this embodiment, any one of the four storage manners and a combination thereof may be adopted for storing the historical usage data of the target application, and the storage of the historical usage data of the target application is not limited to the four storage manners, for example, the historical usage data of the target application is stored in a cloud server or a cloud platform, that is, the storage manner of the historical usage data is not limited in this embodiment, and it is only explained that the historical usage data of the target application may be stored using these storage manners.
Optionally, the processing method further includes:
the running state of the target application program comprises at least one of the following: background running, background waiting running, foreground running and foreground waiting running.
Optionally, the running state of the target application in this embodiment includes any one of background running, background waiting to run, foreground running, foreground waiting to run, and any combination thereof, and the running state of the background running in this embodiment may be understood as that the target application is hidden in the background of the terminal, and an interface of the target application is not displayed on a terminal screen, but the target application is in a running state in the background, for example, a game application that can run automatically, a system application with a timing function, and an audio playing application; in this embodiment, the running state of the background to be run may be understood as that the target application is hidden in the terminal background, an interface of the target application is not displayed on a terminal screen, and the target application is in the running state on the background, and when the target application is to be run on the background, if a viewing instruction of a user is not received, the target application in the running state on the background is suspended, for example, an application such as a video playing application cannot be automatically run or is not allowed to be transferred to run by the system; in this embodiment, the running state of the foreground running may be understood as that an interface of the target application is displayed on the terminal screen, and the interface of the target application may run automatically when displayed on the terminal screen, for example, when a video playing interface of a video playing application is displayed on the terminal screen; in this embodiment, the running state of the foreground to be run may be understood as that the interface of the target application is displayed on the terminal screen, and the interface of the target application cannot be run automatically when displayed on the terminal screen, for example, when the reading interface of the reading application is displayed on the terminal screen, and when the operation of the user based on the reading interface is not detected, different running states may affect the determination of the standby screen-off duration to different degrees.
Optionally, in an application scenario, the idle screen-off duration may also be determined according to the category of the target application alone or in combination with the category of the target application and the historical usage data, for example, the idle screen-off duration may be set to be duration 1 for reading-type applications (such as WeChat reading, QQ reading, multiple-view reading, palm reading App, etc.) and/or reading-type applications with the highest usage duration, may be set to be duration 2 for video-type applications (such as Tencent video, Yokoku, Aichi art, etc.) and/or video-type applications with the highest usage frequency, may be set to be duration 3 for privacy-type applications (such as contact, SMS, email, WeChat, etc.) and/or privacy-type applications with the highest click frequency, and optionally, duration 1, duration 2 or duration 3 may be the same or different and may be set by the user, the time length of the application type with the highest use time and/or no power consumption or with low power consumption can be set to be shorter, the time length of the application type with the lowest use time and/or high power consumption can be set to be shorter, privacy safety can be protected (for example, the time length of the application type with the highest click frequency and/or privacy type can be set to be shortest, and therefore the risk of illegal peeping or acquisition by other people is reduced), and user experience and/or safety are further improved.
Optionally, in another application scenario, the standby screen-off duration may be determined according to the running state of the target application alone, or may be determined according to the category and the running state of the target application, for example, duration 1 may be set for an application belonging to category a running in the foreground, duration 2 may be set for an application belonging to category B running in the background, optionally, durations 1 and 2 may be the same or different and may be set by the user, or may be determined according to the usage habits or big data analysis of the user, in this way, not only is convenience brought to the user (for an application running in the foreground or the background, the corresponding durations thereof are allowed to be differentiated), but also power consumption (for example, the duration of an application running in the foreground, may be set to be shorter, and for an application running in the background, the duration may be set to be longer), the privacy security can be further protected (for example, the time length of the privacy application running in the foreground can be set to be shortest, so that the risk of illegal peeping or acquisition by others is reduced), and the user experience and/or the security are further improved.
Optionally, in an application scenario, the standby screen-off duration may also be determined according to the remaining power or the mode (such as the power saving mode) of the mobile terminal alone, or in combination with at least one of the category, the operating status, and the historical usage data of the target application, for example: when the remaining power is lower than a certain preset threshold (such as 20%) or in the power saving mode, the standby screen-off duration 1 may be set; when the remaining power is higher than a certain preset threshold (such as 20%) and the target application program category is the reading category, the standby screen-off duration 2 can be set; when the mobile terminal is in a power saving mode, and the running state of the target application program is foreground running and/or the use frequency of the target application program is the highest, the standby screen-off duration 3 can be set; optionally, the duration 1, the duration 2, or the duration 3 may be the same or different, and may be set by a user, or may be determined according to a user habit or big data analysis, which is convenient for a user, may save power consumption (for example, the duration when the mobile terminal is in a low power or power saving mode may be set to be shorter), may also protect privacy security (for example, the duration when the mobile terminal is in a high power or normal mode, and the click frequency is the highest and/or the duration of a privacy application may be set to be the shortest, thereby reducing a risk of being illegally peeped or obtained by another person), and further improves user experience and/or security.
Optionally, when determining the standby screen-off duration of the target application, the method may be based on at least one of the following:
the first method comprises the following steps: determining the standby screen-off duration of the target application program according to the use data or the running state or the category of the target application program, or the residual capacity or the mode (such as a power saving mode) of the mobile terminal;
and the second method comprises the following steps: determining the standby screen-off duration of the target application program according to at least two of the use data, the running state and the category of the target application program, wherein the combination can be the use data and the running state; or may be an operational state and category; may be usage data and categories, combinations may also be usage data, operating states and categories;
and the third is that: determining the standby screen-off duration of the target application according to at least one of the usage data, the operation state and the category of the target application, and at least one of the remaining power of the mobile terminal and the mode (such as the power saving mode), wherein optionally, the combination may be any one of the following tables:
serial number Usage data Operating state Categories Residual capacity In the mode
1 Is provided with —— —— Is provided with ——
2 Is provided with —— —— —— Is provided with
3 Is provided with —— —— Is provided with Is provided with
4 —— Is provided with —— Is provided with ——
5 —— Is provided with —— —— Is provided with
6 —— Is provided with —— Is provided with Is provided with
7 —— —— Is provided with Is provided with ——
8 —— —— Is provided with —— Is provided with
9 —— —— Is provided with Is provided with Is provided with
10 Is provided with Is provided with —— Is provided with ——
11 Is provided with Is provided with —— —— Is provided with
12 Is provided with Is provided with —— Is provided with Is provided with
13 —— Is provided with Is provided with Is provided with ——
14 —— Is provided with Is provided with —— Is provided with
15 —— Is provided with Is provided with Is provided with Is provided with
16 Is provided with —— Is provided with Is provided with ——
17 Is provided with —— Is provided with —— Is provided with
18 Is provided with —— Is provided with Is provided with Is provided with
19 Is provided with Is provided with Is provided with Is provided with ——
20 Is provided with Is provided with Is provided with —— Is provided with
21 Is provided with Is provided with Is provided with Is provided with Is provided with
Since various combinations are more than one, they are not listed, but all the equivalent structures or equivalent flow transformations made by the contents of the specification and the drawings of the present application, or directly or indirectly applied to other related technical fields, are included in the scope of protection of the present application.
Optionally, the steps after step S20 further include:
step a1, in the standby screen-off duration after the target application program is started, if no screen-on operation based on the mobile terminal is detected, turning off the mobile terminal, optionally, the screen-off includes reducing the screen brightness of the mobile terminal or turning off the screen of the mobile terminal.
Step a2, if the running state of the target application program is background running or foreground running, determining or generating a screen-up instruction so that the mobile terminal detects screen-up operation.
It can be known that, after determining the standby screen-off duration of the mobile terminal when the target application program is started, within the standby screen-off duration after the target application program is started, if the mobile terminal does not detect the screen-on operation, the mobile terminal is turned off, it can be known that the screen-on operation is performed by the user, or is automatically triggered by the target application program, for example, the screen-on operation performed by the user may be a screen click, the screen-on operation automatically triggered by the target application program may be a screen receiving display information (for example, a WeChat application program receives notification information), optionally, the screen-off operation of the mobile terminal also includes reducing the screen brightness of the mobile terminal or turning off the screen of the mobile terminal, optionally, reducing the screen brightness is not limited to what the screen brightness is specifically reduced, but is used for explaining that the screen brightness is lower than the screen brightness within the screen-off duration after the screen brightness is reduced, and turning off the screen of the mobile terminal means, closing the content displayed by the target application program on the mobile terminal, wherein in this case, the screen saver of the mobile terminal can be started, that is, after the user can set the content displayed by the target application program on the mobile terminal to be closed, other content (for example, time and date) or the screen of the mobile terminal is in a black screen state; or, the screen of the mobile terminal is directly locked, and the content displayed on the mobile terminal by the target application before the screen is locked can be displayed only through a specific unlocking operation.
It is understood that the bright screen operation may be automatically triggered by the target application program, and therefore, when the running state of the target application program is the background running state or the foreground running state, the target application program is in the continuous running state, and the bright screen instruction may be automatically determined or generated all the time, so that the mobile terminal can continuously detect the bright screen operation, for example, a user watches a video through video playing software installed on the mobile terminal, and the user does not operate the mobile terminal for a long time during the watching period, in this case, in order to prevent the mobile terminal from entering the screen-off state and affecting the user to watch the video, the video playing software may continuously and automatically determine or generate the bright screen instruction, so that the mobile terminal can continuously detect the bright screen operation automatically triggered by the video playing software, and further, the mobile terminal does not enter the screen-off state during the foreground running of the video playing software, the video watching of the user is not influenced.
Optionally, the step of step a1 refinement comprises:
step b1, in the standby screen-off duration after the target application program is started, if the screen-on operation based on the mobile terminal is not detected and the running state of the target application program is to be run in the background or to be run in the foreground, turning off the screen of the mobile terminal.
It can be understood that the screen-up operation may be automatically triggered by the target application program, and therefore, when the running state of the target application program is a background running standby state or a foreground running standby state, the target application program is in a running stop state, in this case, the target application program does not automatically determine or generate the screen-up instruction, and within the standby screen-down duration after the target application program is started, if the mobile terminal does not detect the screen-up operation of the user based on the mobile terminal, the mobile terminal is turned off.
Optionally, the processing method further includes:
step c1, if the running state of the target application program is background running waiting or foreground running waiting, acquiring first data, optionally, the first data includes at least one of the following: face data, infrared data, distance data, light intensity data and acceleration data.
And c2, adjusting the running state of the target application program to be background running or foreground running according to the first data.
Therefore, the processing method in this embodiment is to flexibly adjust the standby screen-off duration of the mobile terminal, so as to improve the user experience, and in terms of improving the user experience, this embodiment provides a scenario: the user sets the standby screen-off duration of the mobile phone to 30 seconds in advance, opens the reading software installed in the mobile phone, starts to watch a novel, when the user is watching a certain page, the user communicates with a person beside the mobile phone, the display page of the reading software is not slid during the communication (i.e. the reading software is in a foreground standby running state), but the user still places the display page of the mobile phone in front of the body and is in a ready-to-watch state during the communication with the person beside the mobile phone, in this case, within 30 seconds after the user slides the display page of the reading software last time, if the user does not detect that the mobile phone screen is slid or the reading software automatically triggers a screen-off instruction, the mobile phone screen is turned off, so that poor use experience can be brought to the user, and in order to solve the problem, when the running state of the target application program is in a background standby running state or to be run, the first data can be acquired, optionally, the first data comprises any one or any combination of face data, infrared data, distance data, light intensity data and acceleration data, and the purpose of acquiring the first data is to judge whether a user pays attention to a target application program when the target application program is in a background to-be-run state or a foreground to-be-run state according to the first data, and if so, the running state of the target application program is adjusted to be in a background running state or a foreground running state, so that the target application program is in a continuous running state, a screen-on instruction can be automatically determined or generated all the time, the mobile terminal can continuously detect screen-on operation, the mobile terminal does not enter a screen-off state during the foreground running of the target application program, and the use experience of the user is improved.
Optionally, the step of step a1 refinement comprises:
and d1, in the first time length after the target application program is started, if the bright screen operation based on the mobile terminal is not detected, reducing the screen brightness of the mobile terminal.
Step d2, in a second time period after the screen brightness of the mobile terminal is reduced, if the bright screen operation based on the mobile terminal is not detected, closing the screen of the mobile terminal, and optionally, the sum of the first time period and the second time period is equal to the standby screen-off time period.
It can be known that, if the running state of the target application program at a certain time point after being started changes to a background running state or a foreground running state, and the screen-on operation of the mobile terminal by the user is not detected within the standby screen-off duration after the time point, the mobile terminal is turned off, in this embodiment, starting from the time point when the running state of the target application program after being started changes to the background running state or the foreground running state, and in the process of turning off the screen of the mobile terminal, the screen brightness of the mobile terminal can be reduced first, then the screen of the mobile terminal is turned off, optionally, within a first duration after the time point when the running state of the target application program after being started changes to the background running state or the foreground running state starts, if the screen-on operation of the mobile terminal by the user is not detected, the screen brightness of the mobile terminal is reduced, then within a second duration after the screen brightness is reduced, if the screen-on operation of the user on the mobile terminal is not detected, closing the screen of the mobile terminal, and optionally, the sum of the first duration and the second duration is equal to the standby screen-off duration, for example, if the standby screen-off duration of the mobile terminal when the target application program is started is determined to be 40 seconds according to the historical use data of the target application program, and the screen-off duration is determined to be the screen-off of the mobile terminal, the screen brightness of the mobile terminal is reduced within 35 seconds after the time point when the running state of the target application program after the target application program is started is changed into the background running state or the foreground running state, if the screen-on operation of the user on the mobile terminal is not detected, and the screen of the mobile terminal is closed within 5 seconds after the screen brightness is reduced if the screen-on operation of the user on the mobile terminal is not detected.
Optionally, the step of step S20 refinement includes:
step e1, if the number of the target applications in the open state is greater than one, obtaining historical usage data of all the target applications in the open state, and determining the standby screen-off duration of the mobile terminal when all the target applications are open according to the historical usage data of all the target applications in the open state.
It can be known that a user may start a plurality of target applications, and a plurality of target applications simultaneously in an on state may exist in the mobile terminal (i.e., the number of the target applications simultaneously in the on state is greater than one), in this case, the processing program may obtain historical usage data of all the target applications in the on state, then determine a plurality of standby screen-off durations one-to-one corresponding to the target applications according to the historical usage data of all the target applications in the on state, then select a standby screen-off duration with the longest duration from the standby screen-off durations one-to-one corresponding to the target applications, or calculate an average standby screen-off duration of the standby screen-off durations one-to-one corresponding to the target applications, and put the longest standby screen-off duration from the obtained plurality of standby screen-off durations one-to one corresponding to the target applications, or, the average standby screen-off duration of the standby screen-off durations which are obtained by calculation and correspond to the target application programs one by one is used as the standby screen-off duration of the mobile terminal when all the target application programs (all in the to-be-operated state) are started.
In the embodiment, the method and the device for setting the screen-off time of the mobile terminal improve the flexibility of setting the screen-off time of the terminal by acquiring the historical use data of the target application program and then determining the standby screen-off time of the mobile terminal when the target application program is started according to the historical use data.
Further, referring to fig. 4, a second embodiment of the processing method of the present invention is proposed on the basis of the above-described embodiment of the present invention.
This embodiment is a step of the first embodiment, which is a refinement of step S10, and the difference between this embodiment and the above-described embodiment of the present invention is:
and step S11, when the target application program is detected to be started, acquiring the residual power of the mobile terminal.
Step S12, if the remaining power is less than a first preset threshold, determining that the standby screen-off duration of the mobile terminal when the target application is started is the default screen-off duration.
Step S13, if the remaining power is greater than or equal to a first preset threshold, obtaining historical usage data of the target application.
The processing method in this embodiment can implement flexible adjustment of the standby screen-off duration of the mobile terminal, because the screen display is one of the items of large power consumption of the mobile terminal (with screen), therefore, while implementing flexible adjustment of the standby screen-off duration, this embodiment will also determine the standby screen-off duration in combination with the remaining power of the mobile terminal, optionally, when the remaining power of the mobile terminal is low, in order to maintain the on state of the mobile terminal, under the condition that the user does not forcibly set the standby screen-off duration, the mobile terminal will enter the standby screen-off state according to a default screen-off duration, which is generally short, in order to maintain the low power of the mobile terminal, that is, when the processing program detects that the target application program is on, the remaining power of the mobile terminal is obtained first, and the remaining power is determined, if the remaining power is less than a first preset threshold (for example, 20%), that is, the remaining power of the mobile terminal is low, the processing program does not acquire historical usage data of the target application program any more, and directly determines that the standby screen-off duration of the mobile terminal when the target application program is started is the default screen-off duration, and if the remaining power is greater than or equal to the first preset threshold, acquires the historical usage data of the target application program, and then determines the standby screen-off duration of the mobile terminal when the target application program is started according to the historical usage data of the target application program.
Optionally, the steps after step S10 include:
and f1, acquiring the residual power of the mobile terminal.
Step f2, if the remaining capacity is greater than or equal to a second preset threshold, executing a step of determining a standby screen-off duration of the mobile terminal when the target application program is started according to the historical use data.
Step f3, if the remaining power is less than a second preset threshold, determining that the standby screen-off duration of the mobile terminal when the target application program is started is the default screen-off duration. Alternatively, the first and second electrodes may be,
step f4, if the remaining power is less than a second preset threshold, acquiring a first screen off duration corresponding to the historical use data, and determining that the standby screen off duration of the mobile terminal when the target application program is started is the default screen off duration or the first screen off duration.
It should be noted that, another way of maintaining a lower power of the mobile terminal is provided in this embodiment, that is, when the processing program detects that the target application is started, first obtain the remaining power of the mobile terminal and the historical usage data of the target application, then judge the remaining power, when the remaining power is less than a second preset threshold (for example, 15%), that is, when the remaining power of the mobile terminal is lower, directly determine the standby screen-off duration of the mobile terminal when the target application is started as the default screen-off duration, optionally, the second preset threshold in this embodiment may be the same as the first preset threshold, and when the remaining power is greater than or equal to the second preset threshold, determine the standby screen-off duration of the mobile terminal when the target application is started (that is, the first screen-off duration corresponding to the historical usage data in this embodiment) according to the historical usage data of the target application, after the first screen-off duration is determined, the processing program can also compare the default screen-off duration with the first screen-off duration, and then when the default screen-off duration is different from the first screen-off duration, one of the default screen-off duration and the first screen-off duration is selected as the standby screen-off duration of the mobile terminal when the target application program is started, and specifically which screen-off duration is selected, so that the setting can be flexible.
In the embodiment, the standby screen-off duration is adjusted and determined in combination with the residual electric quantity of the mobile terminal, so that the more flexible setting of the screen-off duration of the terminal is realized.
The embodiment of the present application further provides a processing method to achieve the purpose of the present application, where the processing method is applied to a mobile terminal, and includes the steps of:
t1: when a target program or a target service meets a first preset condition, acquiring related data of the target program or the target service;
t2: and determining preset control parameters of the mobile terminal when the target program or the target service runs according to the related data.
Optionally, when the target program or the target service is in a starting or running or sleeping state, the first preset condition is met.
Optionally, the relevant data comprises at least one of: historical usage data, operating status data, category data.
Optionally, the historical usage data may include at least one of: historical usage frequency, historical total usage duration, historical single average usage duration, and historical click frequency, the historical statistical time period may be one day, or one week, or other time value set or selected by the user (e.g., one hour), or may be a certain time value automatically determined according to the user's usage habits or big data analysis (e.g., one month), and the like, and optionally, the historical usage data includes at least one of the following: the mobile terminal comprises historical use data stored in the mobile terminal, historical use data stored in a server side, historical use data stored in a single terminal and historical use data stored in a plurality of terminals.
Optionally, the operating state data includes at least one of: background running, background waiting running, foreground waiting running and the like.
Optionally, the category data includes at least one of: reading, video, audio, entertainment, communication, privacy, finance, etc.
Optionally, the target program may be a system program preset by the mobile terminal, or may be an application program installed in the mobile terminal by the user.
Optionally, the target service may be a system service preset by the mobile terminal, or may be an application service installed by the user on the mobile terminal.
Optionally, the preset control parameters include at least one of: the standby screen off time and the non-standby screen off time.
Optionally, the turning off the screen includes reducing the screen brightness of the mobile terminal or turning off the screen of the mobile terminal.
Optionally, after the step T2, the method further includes:
and responding to the first operation, and the mobile terminal is lightened.
Optionally, the first operation may be a touch operation or an operation with a gesture spaced from the air (e.g., double-click, long-press, etc.), or may be a reception of a preset voice control instruction (e.g., continue operation, etc.), or may be a preset key operation (e.g., a physical key or a virtual function key, etc.).
Optionally, the lighting the screen includes increasing the screen brightness of the mobile terminal or lighting the screen of the mobile terminal.
Optionally, after the step T2, the method further includes: if the first operation is not detected within a first preset time (such as three seconds), adjusting the screen brightness of the mobile terminal to be a first brightness value; and/or if the first operation is not detected within the first preset time but not within the screen-off time (such as ten seconds) determined by the preset control parameter, adjusting the screen brightness of the mobile terminal to be a second brightness value, and/or if the first operation is not detected within the screen-off time determined by the preset control parameter, turning off the screen of the mobile terminal.
Optionally, if the running state of the target program or the target service is to be run in a background or to be run in a foreground, obtaining first data, optionally, the first data includes at least one of the following: physiological data (such as human face, fingerprint, heart rate, etc.), infrared data, distance data, light intensity data, and acceleration data;
and adjusting the running state of the target program or the target service to be background running or foreground running according to the first data.
Optionally, the processing method further includes:
within a first time period after the target program or the target service is started, if the bright screen operation is not detected, reducing the screen brightness of the mobile terminal; and/or the presence of a gas in the gas,
and within a second time period after the screen brightness of the mobile terminal is reduced, if the screen-on operation based on the mobile terminal is not detected, closing the screen of the mobile terminal, and optionally, the sum of the first time period and the second time period is equal to the standby screen-off time period or the non-standby screen-off time period.
Optionally, the screen-up operation may be a touch operation or an operation with a gesture spaced apart from the air (e.g., double-click, long-press, etc.), may also be a reception of a preset voice control instruction (e.g., continue to run, etc.), and may also be a preset key operation (e.g., a physical key or a virtual function key, etc.).
Optionally, the step of determining, according to the historical usage data, a standby screen-off duration or a non-standby screen-off duration of the mobile terminal when the target program or the target service is started includes:
if the number of the target programs or the target services in the starting state is larger than one, acquiring historical use data of all the target programs or the target services in the starting state, and determining the standby screen-off duration or the non-standby screen-off duration of the mobile terminal when all the target programs or the target services are started according to the historical use data of all the target programs or the target services in the starting state.
Optionally, the step of acquiring historical usage data of the target program or the target service when it is detected that the target program or the target service is started includes:
when the target program or the target service is detected to be started, acquiring the residual electric quantity of the mobile terminal;
if the residual electric quantity is smaller than a first preset threshold value, determining that the standby screen-off duration of the mobile terminal is the default screen-off duration when the target program or the target service is started; and/or the presence of a gas in the gas,
and if the residual electric quantity is greater than or equal to a first preset threshold value, acquiring historical use data of the target program or the target service.
Optionally, after the step of acquiring the historical usage data of the target program or the target service when it is detected that the target program or the target service is started, the method includes:
acquiring the residual electric quantity of the mobile terminal;
if the residual electric quantity is larger than or equal to a second preset threshold value, executing a step of determining standby screen-off duration of the mobile terminal when the target program or the target service is started according to the historical use data; and/or the presence of a gas in the gas,
if the residual electric quantity is smaller than a second preset threshold value, determining that the standby screen-off duration of the mobile terminal when the target program or the target service is started is the default screen-off duration; and/or the presence of a gas in the gas,
if the residual electric quantity is smaller than a second preset threshold value, acquiring a first screen off duration corresponding to the historical use data, and determining that the standby screen off duration of the mobile terminal when the target program or the target service is started is the default screen off duration or the first screen off duration.
Optionally, when determining the standby screen-off duration or the non-standby screen-off duration of the target program or the target service, the processing method of this embodiment may be based on at least one of the following manners:
the first method comprises the following steps: determining the standby screen-off duration or the non-standby screen-off duration of the target program or the target service according to the use data or the running state or the category of the target program or the target service, or the residual capacity or the mode (such as a power saving mode) of the mobile terminal;
and the second method comprises the following steps: determining the standby screen-off duration or the non-standby screen-off duration of the target program or the target service according to at least two of the use data, the running state and the category of the target application program, wherein the combination can be the use data and the running state optionally; or may be an operational state and category; may be usage data and categories, combinations may also be usage data, operating states and categories;
and the third is that: determining the standby screen-off duration or the non-standby screen-off duration of the target application or the target service according to at least one of the usage data, the operating state and the category of the target application, and at least one of the remaining power of the mobile terminal and the mode (such as the power saving mode), wherein optionally, the combination can be any one of the following tables:
Figure BDA0003062809450000201
Figure BDA0003062809450000211
in order to facilitate understanding of the technical solution of the present embodiment, some typical combinations are listed below for description:
optionally, in an application scenario, the idle screen-off duration may also be determined according to the category of the target program or the target service alone or in combination with the category of the target program or the target service and the historical usage data, for example, the idle screen-off duration may be set to be duration 1 for reading-type applications (such as WeChat reading, QQ reading, multi-view reading, palm reading App, and the like) and/or reading-type applications with the highest usage duration, may be set to be duration 2 for video-type applications (such as Tencent video, Yokoku, Aichi skill, and the like) and/or video-type applications with the highest usage frequency, may be set to be duration 3 for privacy-type applications (such as contacts, short messages, mails, WeChat, and the like) and/or privacy-type applications with the highest click frequency, and optionally, duration 1, duration 2 or duration 3 may be the same or different and may be set by the user, the time length of the application type with the highest use time and/or no power consumption or with low power consumption can be set to be shorter, the time length of the application type with the lowest use time and/or high power consumption can be set to be shorter, privacy safety can be protected (for example, the time length of the application type with the highest click frequency and/or privacy type can be set to be shortest, and therefore the risk of illegal peeping or acquisition by other people is reduced), and user experience and/or safety are further improved.
Alternatively, in another application scenario, the standby screen-off duration may be determined according to the running status of the target program or the target service alone, or may be determined according to the category and the running status of the target program or the target service, for example, duration 1 may be set for an application in the foreground running belonging to category a, duration 2 may be set for an application in the background running belonging to category B, and optionally, durations 1 and 2 may be the same or different and may be set by a user, or may be determined according to the usage habits or big data analysis of the user, in this way, the user is facilitated (for applications running in the foreground or background, their corresponding durations allow differentiation) and power consumption is saved (for example, the duration of an application running in the foreground, a short duration may be set, and for an application running in the background, can set for a short time), still can protect privacy security (for example can set for the privacy class that is in the proscenium operation to use for a short time, and then reduce the risk of being peeped or acquireed by other people illegally), further promoted user experience and/or security.
Optionally, in an application scenario, the standby screen-off duration may also be determined according to a remaining power or a mode (such as a power saving mode) of the mobile terminal alone, or in combination with at least one of a target program or a target service class, an operating state, and historical usage data, for example: when the remaining power is lower than a certain preset threshold (such as 20%) or in the power saving mode, the standby screen-off duration 1 may be set; when the remaining power is higher than a certain preset threshold (such as 20%) and the target program or the target service category is of a reading class, setting the standby screen-off duration 2; when the mobile terminal is in a power saving mode, and the running state of the target program or the target service is foreground running and/or the use frequency of the target program or the target service is highest, the standby screen-off duration 3 can be set; optionally, the duration 1, the duration 2, or the duration 3 may be the same or different, and may be set by a user, or may be determined according to a user habit or big data analysis, which is convenient for a user, may save power consumption (for example, the duration when the mobile terminal is in a low power or power saving mode may be set to be shorter), may also protect privacy security (for example, the duration when the mobile terminal is in a high power or normal mode, and the click frequency is the highest and/or the duration of a privacy application may be set to be the shortest, thereby reducing a risk of being illegally peeped or obtained by another person), and further improves user experience and/or security.
Since various combinations are more than one, they are not listed, but all the equivalent structures or equivalent flow transformations made by the contents of the specification and the drawings of the present application, or directly or indirectly applied to other related technical fields, are included in the scope of protection of the present application.
The application also provides a mobile terminal device, the terminal device includes a memory and a processor, the memory stores a processing program, and the processing program implements the steps of the processing method in any of the above embodiments when executed by the processor.
The present application further provides a readable storage medium, on which a processing program is stored, and when the processing program is executed by a processor, the processing program implements the steps of the processing method in any of the above embodiments.
In the embodiments of the mobile terminal and the readable storage medium provided in the present application, all technical features of the embodiments of the processing method are included, and the expanding and explaining contents of the specification are basically the same as those of the embodiments of the method, and are not described herein again.
Embodiments of the present application further provide a computer program product, which includes computer program code, when the computer program code runs on a computer, the computer is caused to execute the processing method in the above various possible embodiments.
The embodiments of the present application further provide a chip, which includes a memory and a processor, where the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that a device in which the chip is installed executes the processing method in the above various possible embodiments.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
The steps in the method of the embodiment of the application can be sequentially adjusted, combined and deleted according to actual needs.
The units in the device in the embodiment of the application can be merged, divided and deleted according to actual needs.
In the present application, the same or similar term concepts, technical solutions and/or application scenario descriptions will be generally described only in detail at the first occurrence, and when the description is repeated later, the detailed description will not be repeated in general for brevity, and when understanding the technical solutions and the like of the present application, reference may be made to the related detailed description before the description for the same or similar term concepts, technical solutions and/or application scenario descriptions and the like which are not described in detail later.
In the present application, each embodiment is described with emphasis, and reference may be made to the description of other embodiments for parts that are not described or illustrated in any embodiment.
The technical features of the technical solution of the present application may be arbitrarily combined, and for brevity of description, all possible combinations of the technical features in the embodiments are not described, however, as long as there is no contradiction between the combinations of the technical features, the scope of the present application should be considered as being described in the present application.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, a controlled terminal, or a network device) to execute the method of each embodiment of the present application.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. The procedures or functions according to the embodiments of the present application are all or partially generated when the computer program instructions are loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (e.g., coaxial cable, fiber optic, digital subscriber line) or wirelessly (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, memory Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
The above description is only a preferred embodiment of the present application, and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application, or which are directly or indirectly applied to other related technical fields, are included in the scope of the present application.

Claims (10)

1. A processing method applied to a mobile terminal having a target application installed thereon, the processing method comprising:
when the target application program is detected to be started, acquiring historical use data of the target application program;
and determining the standby screen-off duration of the mobile terminal when the target application program is started according to the historical use data.
2. The processing method according to claim 1, wherein the step of determining a standby screen-off duration of the mobile terminal when the target application is started according to the historical usage data comprises:
within the standby screen-off duration after the target application program is started, if the screen-on operation based on the mobile terminal is not detected, turning off the screen of the mobile terminal; and/or the presence of a gas in the gas,
and if the running state of the target application program is background running or foreground running, determining or generating a screen-lightening instruction so that the mobile terminal detects screen-lightening operation.
3. The processing method according to claim 2, wherein the step of turning off the screen of the mobile terminal if no screen-on operation based on the mobile terminal is detected within the standby screen-off duration after the target application is started comprises:
and if the screen lightening operation based on the mobile terminal is not detected and the running state of the target application program is to be run in a background or to be run in a foreground within the standby screen-off duration after the target application program is started, turning off the screen of the mobile terminal.
4. The processing method according to claim 1, wherein if the running state of the target application program is background to run or foreground to run, acquiring first data;
and adjusting the running state of the target application program to be in background running or foreground running according to the first data.
5. The processing method according to claim 2, wherein the step of turning off the screen of the mobile terminal if no screen-on operation based on the mobile terminal is detected within the standby screen-off duration after the target application is started comprises:
within a first duration after the target application program is started, if the bright screen operation based on the mobile terminal is not detected, reducing the screen brightness of the mobile terminal; and/or the presence of a gas in the gas,
and within a second time length after the screen brightness of the mobile terminal is reduced, if the bright screen operation based on the mobile terminal is not detected, closing the screen of the mobile terminal.
6. The processing method according to any one of claims 1 to 5, wherein the step of determining a standby screen-off duration of the mobile terminal when the target application is started according to the historical usage data comprises:
if the number of the target application programs in the starting state is larger than one, acquiring historical use data of all the target application programs in the starting state, and determining the standby screen-off duration of the mobile terminal when all the target application programs are started according to the historical use data of all the target application programs in the starting state.
7. The processing method according to any one of claims 1 to 5, wherein the step of obtaining historical usage data of the target application when it is detected that the target application is opened, comprises:
when the target application program is detected to be started, acquiring the residual electric quantity of the mobile terminal;
if the residual electric quantity is smaller than a first preset threshold value, determining that the standby screen-off duration of the mobile terminal is the default screen-off duration when the target application program is started; and/or the presence of a gas in the gas,
and if the residual electric quantity is greater than or equal to a first preset threshold value, acquiring historical use data of the target application program.
8. The process of claim 7, wherein said step of obtaining historical usage data for said target application when said target application is detected to be open is followed by the step of:
acquiring the residual electric quantity of the mobile terminal;
if the residual electric quantity is larger than or equal to a second preset threshold value, executing a step of determining standby screen-off duration of the mobile terminal when the target application program is started according to the historical use data; or the like, or, alternatively,
if the residual electric quantity is smaller than a second preset threshold value, determining that the standby screen-off duration of the mobile terminal when the target application program is started is the default screen-off duration; or the like, or, alternatively,
if the residual electric quantity is smaller than a second preset threshold value, acquiring a first screen off duration corresponding to the historical use data, and determining that the standby screen off duration of the mobile terminal when the target application program is started is the default screen off duration or the first screen off duration.
9. A mobile terminal, characterized in that the mobile terminal comprises: memory, processor, wherein the memory has stored thereon a processing program which, when executed by the processor, implements the steps of the processing method of any of claims 1 to 8.
10. A readable storage medium, characterized in that the readable storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps of the processing method according to any one of claims 1 to 8.
CN202110520136.5A 2021-05-12 2021-05-12 Processing method, mobile terminal and readable storage medium Pending CN113220109A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110520136.5A CN113220109A (en) 2021-05-12 2021-05-12 Processing method, mobile terminal and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110520136.5A CN113220109A (en) 2021-05-12 2021-05-12 Processing method, mobile terminal and readable storage medium

Publications (1)

Publication Number Publication Date
CN113220109A true CN113220109A (en) 2021-08-06

Family

ID=77095504

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110520136.5A Pending CN113220109A (en) 2021-05-12 2021-05-12 Processing method, mobile terminal and readable storage medium

Country Status (1)

Country Link
CN (1) CN113220109A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114442789A (en) * 2022-01-25 2022-05-06 北京小米移动软件有限公司 Dark screen control method, device, equipment and storage medium
WO2023202525A1 (en) * 2022-04-20 2023-10-26 华为技术有限公司 Function activation method, user interface and electronic device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114442789A (en) * 2022-01-25 2022-05-06 北京小米移动软件有限公司 Dark screen control method, device, equipment and storage medium
WO2023202525A1 (en) * 2022-04-20 2023-10-26 华为技术有限公司 Function activation method, user interface and electronic device

Similar Documents

Publication Publication Date Title
CN107241789B (en) Terminal power saving method, terminal and computer readable storage medium
CN107635070B (en) Message reminding method, terminal and storage medium
CN107807767B (en) Communication service processing method, terminal and computer readable storage medium
CN108553896B (en) State information display control method, terminal and computer readable storage medium
CN107463243B (en) Screen control method, mobile terminal and computer readable storage medium
CN107832032B (en) Screen locking display method and mobile terminal
CN108958936B (en) Application program switching method, mobile terminal and computer readable storage medium
CN113220109A (en) Processing method, mobile terminal and readable storage medium
CN110381202B (en) Display adjustment method, mobile terminal and computer-readable storage medium
CN112612598A (en) Anti-addiction method, mobile terminal and computer-readable storage medium
CN110098651B (en) Charging method, charging device, electronic equipment and readable storage medium
CN114035876A (en) Information display method, mobile terminal and storage medium
CN113254088A (en) Functional program awakening method, terminal and storage medium
CN109889652B (en) Eye protection mode display control method, terminal and computer readable storage medium
CN107807876B (en) Split screen display method, mobile terminal and storage medium
CN115469949A (en) Information display method, intelligent terminal and storage medium
CN114640739A (en) Application pushing method, intelligent terminal and storage medium
CN114217685A (en) Application management method, intelligent terminal and storage medium
CN114510188A (en) Interface processing method, intelligent terminal and storage medium
CN109451181B (en) Information display method, dual-screen mobile terminal and computer readable storage medium
CN114666440A (en) Application program control method, intelligent terminal and storage medium
CN113515254A (en) Interface display method, terminal and storage medium
CN109471688B (en) Display control method, double-screen terminal and computer readable storage medium
CN113381924A (en) Processing method, mobile terminal and storage medium
CN112347471A (en) Terminal control method, terminal, and computer-readable 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