CN113315872B - Mobile terminal control method and device and mobile terminal - Google Patents

Mobile terminal control method and device and mobile terminal Download PDF

Info

Publication number
CN113315872B
CN113315872B CN202110552879.0A CN202110552879A CN113315872B CN 113315872 B CN113315872 B CN 113315872B CN 202110552879 A CN202110552879 A CN 202110552879A CN 113315872 B CN113315872 B CN 113315872B
Authority
CN
China
Prior art keywords
preset
time
working mode
current
determining
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.)
Active
Application number
CN202110552879.0A
Other languages
Chinese (zh)
Other versions
CN113315872A (en
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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202110552879.0A priority Critical patent/CN113315872B/en
Publication of CN113315872A publication Critical patent/CN113315872A/en
Application granted granted Critical
Publication of CN113315872B publication Critical patent/CN113315872B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72451User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to schedules, e.g. using calendar applications
    • 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/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • G06F1/3212Monitoring battery levels, e.g. power saving mode being initiated when battery voltage goes below a certain level
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72463User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The invention provides a mobile terminal control method, which relates to the technical field of communication and comprises the following steps: responding to the electric quantity required by the current residual electric quantity in the current working mode in a time period from the current moment to the preset alarm clock moment, and acquiring the corresponding standby time of the current residual electric quantity in each preset working mode; judging whether the corresponding standby time in each preset working mode is greater than the time difference between the current time and the preset alarm clock time; in response to the fact that the preset working modes with the standby time length larger than the time difference exist, determining one preset working mode from all the preset working modes with the standby time length larger than the time difference as a target working mode; and switching the working mode of the mobile terminal from the current working mode to the target working mode. The invention also provides a mobile terminal control device and a mobile terminal.

Description

Mobile terminal control method and device and mobile terminal
Technical Field
The invention relates to the technical field of communication, in particular to a mobile terminal control method and device and a mobile terminal.
Background
With the improvement of living standard and the development of mobile communication industry, mobile terminals, especially intelligent mobile terminals, are rapidly popularized and become indispensable electronic products in daily work and life of people.
In the existing mobile terminal, an alarm clock is a necessary function of the mobile terminal and one of the functions frequently used by most people, and the alarm clock replaces the clock of the previous clock to a great extent. When people use the alarm clock, a time point is preset on the mobile terminal, and when the time reaches the time point, the mobile terminal reminds a mobile user in a ring or vibration mode.
However, the normal work height of the "alarm clock" function of the mobile terminal depends on the battery power, if the mobile terminal is automatically powered off due to the exhaustion of the battery power before the "alarm clock" time point arrives, the "alarm clock" function of the mobile terminal inevitably cannot work normally, that is, the user cannot be reminded through the ring or vibration mode, so that the set "alarm clock" cannot play a role in reminding the user, that is, the alarm clock function fails. At present, although various battery manufacturers, chip manufacturers, and even manufacturers of mobile terminals and terminal operating systems are all striving to develop new technologies for various batteries, people still have to endure the trouble of using mobile terminals due to the battery power before revolutionary battery technologies appear.
Disclosure of Invention
The invention aims to at least solve one technical problem in the prior art, and provides a mobile terminal control method, a device and a mobile terminal.
In a first aspect, the present invention provides a mobile terminal control method, including:
responding to the electric quantity required by the current working mode in the time period from the current time to the preset alarm clock time when the current residual electric quantity is lower than the current time, and acquiring the corresponding standby time of the current residual electric quantity in each preset working mode;
judging whether the corresponding standby time in each preset working mode is greater than the time difference between the current time and the preset alarm clock time;
in response to the fact that the preset working modes with the standby duration longer than the time difference exist, determining one preset working mode from all the preset working modes with the standby duration longer than the time difference as a target working mode;
and switching the working mode of the mobile terminal from the current working mode to the target working mode.
In some embodiments, after the determining whether the standby duration corresponding to each preset operating mode is greater than the time difference between the current time and the preset alarm clock time, the method further includes:
in response to the fact that the preset working mode with the standby time length larger than the time difference does not exist, determining one preset working mode from all the preset working modes as a target working mode, and determining the target automatic shutdown time;
switching the working mode of the mobile terminal from the current working mode to the target working mode;
and controlling the mobile terminal to be powered off at the target automatic power-off time, and controlling the mobile terminal to be powered on before the preset alarm clock time.
In some embodiments, before determining one preset operation mode from all the preset operation modes as the target operation mode and determining the target automatic shutdown time, the method further includes:
acquiring a communication record of the mobile terminal in a preset time period;
determining a communication rule of the mobile terminal according to the communication record, wherein the communication rule comprises one or more preset communication time periods;
judging whether one or more preset communication time periods in the communication rule are included in the time period from the current time to the preset alarm clock time;
if the time period from the current moment to the preset alarm clock moment is judged to contain one or more preset communication time periods in the communication rule, determining a preset working mode from all preset working modes as a target working mode, and determining the target automatic shutdown time;
the step of determining a preset working mode from all the preset working modes as a target working mode and determining the target automatic shutdown time comprises the following steps:
and determining the target working mode and the target automatic shutdown time according to a preset rule based on the standby time corresponding to each preset working mode and the preset communication time period contained in the time period from the current time to the preset alarm clock time.
In some embodiments, the step of determining the target operating mode and the target automatic shutdown time according to a preset rule based on the standby duration corresponding to each operating mode and the preset communication time period included in the time period from the current time to the preset alarm clock time specifically includes:
determining the latest moment in all moments of all preset communication time periods which are contained in a time period from the current moment to a preset alarm clock moment and are before the preset alarm clock moment by the mobile terminal;
judging whether the latest moment is included in a standby time range corresponding to each preset working mode or not; if the latest moment is contained in the standby time range corresponding to the preset working mode, taking the preset working mode as an alternative working mode;
and determining one alternative working mode from all the alternative working modes as a target working mode, and determining the latest moment as the target automatic shutdown time.
In some embodiments, if it is determined that the time period from the current time to the preset alarm clock time does not include any preset communication time period, the step of determining one preset working mode from all preset working modes as a target working mode and determining target automatic shutdown time is performed;
the step of determining a preset working mode from all the preset working modes as a target working mode and determining the target automatic shutdown time specifically comprises the following steps:
and determining the current working mode as the target working mode, and determining the current moment as the target automatic shutdown time.
In some embodiments, the step of obtaining the standby time duration corresponding to the current remaining power in each preset operating mode includes:
acquiring current residual electric quantity and corresponding battery electric quantity consumption speed in standby in each preset working mode;
and calculating the ratio of the current residual capacity to the battery capacity consumption speed corresponding to each preset working mode to obtain the corresponding standby time of the current residual capacity in each preset working mode.
In some embodiments, the step of obtaining the standby time duration corresponding to the current remaining power in each preset operating mode includes:
and acquiring the corresponding standby time of the current residual electric quantity in each preset working mode from a preset database.
In a second aspect, the present invention further provides a mobile terminal control apparatus, including:
the acquisition module is used for responding to the electric quantity required by the current residual electric quantity in the current working mode in the time period from the current time to the time of a preset alarm clock, and acquiring the corresponding standby time of the current residual electric quantity in each preset working mode;
the judging module is used for judging whether the corresponding standby duration in each preset working mode is greater than the time difference between the current time and the preset alarm clock time;
the first determining module is used for responding to the judgment module to judge that the preset working modes with the standby time length longer than the time difference exist, and determining one preset working mode from all the preset working modes with the standby time length longer than the time difference as a target working mode;
and the switching module is used for switching the working mode of the mobile terminal from the current working mode to the target working mode after the first determining module determines the target working mode.
In some embodiments, the apparatus further comprises: the automatic on-off control module is connected with the first determination module;
the second determining module is used for responding to the judgment module to judge that no preset working mode with the standby time length longer than the time difference exists, determining one preset working mode from all the preset working modes as a target working mode, and determining the target automatic shutdown time;
the switching module is further configured to switch the working mode of the mobile terminal from the current working mode to the target working mode after the target working mode is determined by the second determining module;
the automatic power-on and power-off control module is used for controlling the mobile terminal to be powered off at the target automatic power-off time after the second determination module determines the target automatic power-off time, and is used for controlling the mobile terminal to be powered on before the preset alarm clock time.
In a third aspect, the present invention further provides a mobile terminal, including:
a processor and a storage device;
wherein the storage device stores therein a computer program, and the computer program realizes the mobile terminal control method provided by the first aspect of the present invention when executed by the processor.
The invention has the beneficial technical effects that:
the mobile terminal control method, the mobile terminal control device and the mobile terminal provided by the embodiment of the invention respond to the electric quantity required by the current residual electric quantity in the current working mode in the time period from the current time to the time of the preset alarm clock, obtain the corresponding standby time of the current residual electric quantity in each preset working mode, judge whether the corresponding standby time in each preset working mode is greater than the time difference between the current time and the time of the preset alarm clock, respond to the preset working mode that the standby time is greater than the time difference, determine one preset working mode as the target working mode from all the preset working modes that the standby time is greater than the time difference, switch the working mode of the mobile terminal from the current working mode to the target working mode, so that the standby time of the mobile terminal is relatively prolonged, and the probability of successful start of the preset alarm clock in the mobile terminal is improved, the user experience is improved.
Drawings
Fig. 1 is a flowchart of a mobile terminal control method according to an embodiment of the present invention;
fig. 2 is a flowchart of another mobile terminal control method according to an embodiment of the present invention;
fig. 3 is a flowchart of another mobile terminal control method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a mobile terminal control device according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of another mobile terminal control device according to an embodiment of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the following describes a mobile terminal control method, an apparatus and a mobile terminal provided by the present invention in detail with reference to the accompanying drawings.
The mobile terminal control method provided by the invention controls and adjusts the working mode of the mobile terminal based on the time of the preset alarm clock in the mobile terminal, so as to improve the probability that the preset alarm clock successfully reminds the user, thereby improving the user experience.
Fig. 1 is a flowchart of a mobile terminal control method according to an embodiment of the present invention, and as shown in fig. 1, the method includes:
step S101, responding to the electric quantity required by the current residual electric quantity in the current working mode in the time period from the current time to the time of the preset alarm clock, and obtaining the corresponding standby time of the current residual electric quantity in each preset working mode.
The current residual capacity is the current residual battery capacity of the mobile terminal, and the current residual capacity of the mobile terminal can be directly obtained through a battery module of the mobile terminal. In some embodiments, the determination may be made based on a standby duration of the mobile terminal in the current operating mode when determining that the current remaining power is lower than a power required in the current operating mode for a time period from the current time to a preset alarm time. Specifically, whether the standby time corresponding to the current residual capacity in the current working mode is shorter than the time difference between the current time and the preset alarm clock time or not is judged, if the standby time corresponding to the current residual capacity in the current working mode is shorter than the time difference between the current time and the preset alarm clock time is judged, the electric quantity required by the current residual capacity in the current working mode in the time period from the current time value to the preset alarm clock time is determined, namely, the current residual capacity cannot support the standby time of the mobile terminal to the preset alarm clock starting time.
In the embodiment of the invention, when judging whether the current residual electric quantity is lower than the electric quantity required by the time period from the current time to the preset alarm clock time in the current working mode, the judgment can be carried out when the alarm clock is set to be effective by a mobile terminal user, or can be carried out when the mobile terminal is successfully unlocked every time.
In some embodiments, the preset operation mode of the mobile terminal may include, but is not limited to: a balance mode, a performance mode, a power save mode, and a super power save mode. The type included in the specific preset operation mode is preset by a manufacturer of the mobile terminal.
In practical application, the standby time corresponding to the current residual capacity in each preset working mode can be acquired in a corresponding mode based on the actual functions of the mobile terminal.
Specifically, in some embodiments, when the mobile terminal has a function of estimating the standby time period, the step S101 may specifically include: and acquiring the corresponding standby time of the current residual electric quantity in each preset working mode from a preset database. The preset database stores the standby time of the current residual electric quantity estimated by the mobile terminal in each preset working mode of the mobile terminal in advance.
In other embodiments, when the mobile terminal does not have the function of estimating the standby time period, step S101 specifically includes:
step S1011, obtaining the current remaining power and the corresponding battery power consumption rate in the standby mode in each preset operating mode.
Step S1012, calculating a ratio of the current remaining power to a battery power consumption rate corresponding to each preset operating mode to obtain a corresponding standby duration of the current remaining power in each preset operating mode.
In step S1012, for each preset operation mode, the standby time corresponding to the current remaining power in the preset operation mode is a ratio of the current remaining power to the battery power consumption rate corresponding to the preset operation mode.
In some embodiments, the battery power consumption speed during standby in different preset operating modes may directly use the battery power consumption speed obtained by a manufacturer in a laboratory test, and the battery power consumption speed corresponding to the standby duration of the mobile terminal in each preset operating mode may be set in a configuration file of the mobile terminal by the manufacturer in advance, that is, the battery power consumption speed corresponding to the standby duration of each preset operating mode is used as a configuration parameter of the mobile terminal, and is stored in the configuration file of the mobile terminal and may be obtained by accessing the configuration file in the mobile terminal. In other embodiments, for each preset operation mode, the battery power consumption speed of the preset operation mode may be further estimated according to the time length of the mobile terminal in the past standby in the preset operation mode and the consumed battery power.
Step S102, whether the corresponding standby time in each preset working mode is larger than the time difference between the current time and the preset alarm clock time or not is judged.
And judging whether the corresponding standby time in the preset working mode is greater than the time difference between the current time and the preset alarm clock time or not according to each preset working mode.
Step S103, responding to the preset working mode with the standby time length longer than the time difference, and determining one preset working mode from all the preset working modes with the standby time length longer than the time difference as a target working mode.
After the determination of step S102 is completed for each preset working mode, when at least one preset working mode exists in the determination result, where the standby time is greater than the time difference between the current time and the preset alarm clock time, selecting one preset working mode from the at least one preset working mode as a target working mode, and when the mobile terminal operates in the target working mode, it can be ensured that the preset alarm clock is successfully started.
In some embodiments, when the standby duration corresponding to only one preset working mode is greater than the time difference between the current time and the preset alarm time, the preset working mode is determined as the target working mode.
When the standby time of a plurality of preset working modes is greater than the time difference between the current time and the preset alarm time, the target working mode can be determined based on the performance priority principle when the target working mode is determined from the plurality of preset working modes, namely, when the standby time of the plurality of preset working modes is greater than the time difference between the current time and the preset alarm time, the working modes which can enable the mobile terminal to keep better performance under comparison are selected, for example, when the power saving mode and the super power saving mode both meet the condition that the standby time is greater than the time difference between the current time and the preset alarm time, the performance of the mobile terminal working in the power saving mode is better than the performance of the mobile terminal working in the super power saving mode, and therefore, the power saving mode is selected as the target working mode.
In other embodiments, when the target working mode is determined from the at least one preset working mode, the preset working mode with the longest standby time under the current remaining power can be selected as the target working mode, so that the situation that the power consumption speed is too high due to the fact that a mobile terminal user excessively uses the terminal in an emergency situation, and the short standby time cannot meet the normal work of the preset alarm clock is effectively avoided.
In the embodiment of the present invention, the determination rule of the target operating mode may be configured in advance by a manufacturer in a unified manner when the mobile terminal leaves a factory, or a corresponding operation interface is provided by the mobile terminal to allow a user to define the rule according to a requirement of the user.
And step S104, switching the working mode of the mobile terminal from the current working mode to the target working mode.
And switching the working mode of the mobile terminal from the current working mode to a target working mode, so that a preset alarm clock in the mobile terminal can be started successfully. In practical application, when the current working mode of the mobile terminal is the target working mode, the switching is not performed.
The mobile terminal control method provided by the embodiment of the invention, in response to the electric quantity required by the current working mode in the time period from the current time to the preset alarm clock time when the current remaining electric quantity is lower than the current time, obtains the standby time length corresponding to the current remaining electric quantity in each preset working mode, judges whether the standby time length corresponding to each preset working mode is greater than the time difference between the current time and the preset alarm clock time, in response to the judgment that the preset working mode with the standby time length greater than the time difference exists, determines one preset working mode as a target working mode from all the preset working modes with the standby time length greater than the time difference, switches the working mode of the mobile terminal from the current working mode to the target working mode, therefore, the standby time of the mobile terminal is prolonged relatively, the probability of successful starting of the alarm clock preset in the mobile terminal is improved, and the user experience is improved.
Fig. 2 is a flowchart of another control method of a mobile terminal according to an embodiment of the present invention, as shown in fig. 2, in some embodiments, on the basis of the embodiment shown in fig. 1, when it is determined that there is no preset operating mode with a standby duration longer than a time difference between a current time and a preset alarm time in step S102, the following steps are performed:
step S105, determining a preset working mode from all the preset working modes as a target working mode, and determining the target automatic shutdown time.
In some embodiments, a preset working mode with the longest standby time is determined from all the preset working modes as a target working mode, and the target automatic shutdown time is determined from the standby time range of the target working mode, wherein the time length of the standby time range of the target working mode is the standby time corresponding to the target working mode.
In other embodiments, the current operating mode is determined to be the target operating mode and the current time is determined to be the target auto-off time.
And step S106, switching the working mode of the mobile terminal from the current working mode to the target working mode.
If the target working mode is the current working mode, the switching of the working mode is not needed.
And S107, controlling the mobile terminal to be powered off at the target automatic power-off time, and controlling the mobile terminal to be powered on before the preset alarm clock time.
In the embodiment of the invention, when the preset working mode with the standby time length longer than the time difference between the current time and the preset alarm clock time is judged to be absent, the situation that the preset alarm clock cannot be started successfully under the current residual electric quantity in each preset working mode in the mobile terminal is shown, at the moment, one preset working mode is selected as a target working mode, a target automatic shutdown time is set, the working mode of the mobile terminal is controlled to be switched to the target working mode, the mobile terminal is shut down at the target automatic shutdown time, and the mobile terminal is started at any time before the preset alarm clock time, so that the electric quantity can be stored as much as possible, and the probability of the successful start of the preset alarm clock is improved.
In some embodiments, in order not to affect the communication of the mobile terminal user, when the target operating mode and the target automatic shutdown time are determined in step S105, the determination may be performed based on a communication record of the mobile terminal user, specifically, as shown in fig. 3, fig. 3 is a flowchart of another mobile terminal control method provided in the embodiment of the present invention, where the embodiment of the present invention, on the basis of the embodiment shown in fig. 2, before step S105, further includes:
and step S10501, obtaining the communication record of the mobile terminal in a preset time period.
Specifically, in some embodiments, when it is determined that there is no preset operating mode in which the standby duration is greater than the time difference, card information of an SIM card installed in the mobile terminal is obtained, where the card information may include a mobile phone number corresponding to the SIM card, and an inquiry request for inquiring a communication record within a preset time period is sent to a service operation support system of a home operator of the SIM card according to the mobile phone number corresponding to the SIM card, where the communication record includes, but is not limited to, a voice call, a video call, a short (color) signal transceiving record, and the like; the preset time period may be preset, for example, preset by a manufacturer before the mobile terminal leaves a factory, or the mobile terminal provides an operation interface for a user to perform a custom setting, and preferably, the preset time period is the last 15 days.
The Business Operation Support System (BOSS) of an operator can be generally divided into three major subsystems of Business, billing and accounting, and all the systems communicate with each other through a certain interface to complete the overall Support of the service and Business of the operator, and the information of the account opening information and the communication record of the user's mobile phone number and the like is retained in the System. After receiving the query request, the service operation support system of the home operator of the SIM card extracts the mobile phone number in the query request and the preset time period of the communication record to be queried, queries the communication record meeting the conditions in an internal database based on the mobile phone number and the preset time period, and feeds back the query result to the mobile terminal.
In other embodiments, the communication record of the mobile terminal within the preset time period may also be obtained by directly querying information such as a voice call record, a video call record, a short (color) messaging record and the like in the mobile terminal.
And S10502, determining a communication rule of the mobile terminal according to the communication record, wherein the communication rule comprises one or more preset communication time periods.
After the communication record of the mobile terminal is obtained, analyzing and summarizing a communication rule of the mobile terminal from the communication record, wherein the communication rule of the mobile terminal specifically refers to a time period of frequent communication of the mobile terminal, the communication rule can comprise one or more preset communication time periods, and for each preset communication time period, the preset communication time period is a communication time period in which the communication frequency is greater than a preset threshold value and the frequency greater than the preset threshold value is greater than a preset frequency; specifically, the process of determining the communication rule may be: dividing each day in a preset time period into a plurality of communication time periods, counting the communication times in each communication time period in each day in the obtained communication records, when the communication times in a certain communication time period are greater than a preset threshold value and the frequency of the communication times in the communication time period which are greater than the preset threshold value is greater than a preset frequency, determining the communication time period as a time period of frequent communication of the mobile terminal, namely the preset communication time period, and taking all the determined communication time periods of frequent communication as the communication rule of the mobile terminal. The communication frequency in the communication time period refers to the number of times that the mobile terminal performs communication in the communication time period, and the frequency that the communication frequency in the communication time period is greater than the preset threshold refers to the number of times that the communication time period in which the communication frequency is greater than the preset threshold appears in the preset time period, for example, the preset time period is 15 days, wherein the communication frequency in the communication time period on each of 5 days is greater than the preset threshold, then the frequency that the communication frequency in the communication time period is greater than the preset threshold is 5 days, the preset threshold and the preset frequency may be set according to actual needs, for example, the preset threshold may be set to 3 times, and the preset frequency may be set to 3 days.
Step S10503, determining whether the time period from the current time to the preset alarm clock time includes one or more preset communication time periods in the communication rule.
If the time period from the current time to the preset alarm clock time contains one or more preset communication time periods of frequent communication of the mobile terminal in the communication rule, executing step S105, wherein at this time, step S105 specifically includes step S105 a; if it is determined that the time period from the current time to the preset alarm clock time does not include the preset communication time period of the frequent communication of the mobile terminal in any communication rule, step S105 is executed, and at this time, step S105 specifically includes step S105 b.
Step S105a, determining a target working mode and a target automatic shutdown time according to a preset rule based on the standby time corresponding to each preset working mode and a preset communication time period included in a time period from the current time to a preset alarm clock time.
When the time period from the current moment to the preset alarm clock moment is judged to contain one or more preset communication time periods in the communication rules, the situation that a user of the mobile terminal has a large use requirement on the mobile terminal before the preset alarm clock is started is shown, and at the moment, when the target working mode and the target automatic shutdown time are determined, the determination needs to be carried out according to the preset communication time periods contained in the time period from the current moment to the preset alarm clock moment of the user of the mobile terminal, so that the probability of successful starting of the preset alarm clock in the mobile terminal is improved, and meanwhile, the probability of influence on communication of the user of the mobile terminal can be reduced.
Step S105b, determines the current operation mode as the target operation mode, and determines the current time as the target auto-off time.
When the time period from the current time to the preset alarm clock time does not include any preset communication time period in the communication rules, the requirement of a user of the mobile terminal on the mobile terminal before the preset alarm clock is started is low, at this time, in some embodiments, the current working mode is determined as a target working mode, that is, the working mode is not switched, and the current time is determined as a target automatic shutdown time, that is, the mobile terminal is immediately shut down, so that the mobile terminal keeps enough electric quantity to ensure that the preset alarm clock is normally started at the preset alarm clock time.
With continued reference to fig. 3, in some embodiments, step S105a specifically includes:
step S105a1, determining the latest time among all times of all preset communication time periods included in the time period from the current time to the preset alarm clock time and before the preset alarm clock time.
For example, the preset alarm time is 22:00, and the preset communication time period included in the time period from the current time to the preset alarm time is: 9: 00-10: 00, 13: 00-15: 00, 17: 00-18: 00, the latest time in all times of all preset communication time periods before the preset alarm clock time 22:00 is 18: 00.
Step S105a2, for each preset working mode, determining whether the latest time is included in the standby time range corresponding to the preset working mode, and if it is determined that the latest time is included in the standby time range corresponding to the preset working mode, taking the preset working mode as an alternative working mode.
The standby time range corresponding to the preset operating mode refers to a time range of the standby time of the preset operating mode in the current remaining power from the current time, that is, the time length of the standby time range corresponding to the preset operating mode is the standby time of the preset operating mode in the current remaining power, and the time length is calculated from the current time.
In the embodiment of the invention, for each preset working mode, when the latest moment is included in the standby time range corresponding to the preset working mode, the preset working mode can meet the communication requirement of the mobile terminal before the preset alarm clock is started, and at this time, the preset working mode is used as the alternative working mode.
Step S105a3, determining one alternative operation mode from all the alternative operation modes as the target operation mode, and determining the latest time as the target automatic shutdown time.
In some embodiments, when there are multiple alternative operating modes, the target operating mode determined from the multiple alternative operating modes may be determined based on a performance priority rule, that is, the alternative operating mode that enables the mobile terminal to maintain better performance in comparison is selected as the target operating mode. In some other embodiments, the operation mode with the longest standby time may be selected as the target operation mode.
The following is an exemplary description of a mobile terminal control method provided in an embodiment of the present invention.
Example one:
assuming that the mobile terminal is a smart phone, the preset alarm clock time is 7:00 in the morning, the current time is 18:00 of the day before the preset alarm clock time, the current remaining power of the smart phone is 25%, and the preset working mode of the smart phone includes: the system comprises a performance mode, a power saving mode and a super power saving mode, wherein the current working mode is the performance mode; the smart phone detects that the current residual capacity cannot be standby to 7:00 of the tomorrow (preset alarm clock time) in the current performance working mode. The smart phone executes the following steps according to the mobile terminal control method provided by the embodiment of the invention:
step 1, obtaining standby time lengths in different preset working modes.
When the residual capacity (25%) of the current battery cannot meet the normal workpiece of the alarm clock with the time of 7:00 in the current working mode (performance mode), the smart phone acquires the preset working mode supported by the smart phone: "performance mode", "power saving mode", "super power saving". In this embodiment, since the smartphone itself has a function of estimating the standby duration according to the battery power and the habit of the user using the mobile terminal, directly acquiring the standby durations of the current remaining power (25%) in the "performance mode", the "power saving mode" and the "super power saving" mode are respectively: t 1-10.3 hours, t 2-15.6 hours and t 3-38.5 hours.
And 2, judging whether the corresponding standby time in each preset working mode is greater than the time difference between the current time and the preset alarm clock time.
The time interval from the current time (18: 00 of the preset clock day) to the clock time "7: 00" is t 4-13 hours, the working mode with the standby time length being greater than the time interval is the working mode meeting the normal working requirement of the preset clock, obviously, t2> t4, t3> t4 exists, and therefore the current remaining power of the smart phone in the "power saving mode" and the "super power saving" mode can meet the requirement of the normal working requirement of the preset clock with the time "7: 00".
And 3, determining a target working mode.
The principle that the screening configured when the smart phone leaves the factory meets the optimal working mode of normal work of the alarm clock is assumed as follows: the performance is prior, the performance of the smart phone in the power saving mode is greater than that in the super power saving mode, and therefore the target working mode which meets the requirement that the preset alarm clock with the time of 7:00 works normally is selected from the power saving modes.
And 4, switching the current working mode to a target working mode.
After the target working mode meeting the normal work of the alarm clock is selected as the power saving mode, the smart phone switches the current working mode performance mode into the power saving mode.
Example two:
in order to further describe the working mechanism of the mobile terminal control method provided in the embodiment of the present invention, in this embodiment, it is assumed that the remaining power of the smartphone is 6%, and other assumed conditions are not changed, which is the same as example one.
In this embodiment, the standby time duration of the current remaining power (6%) in different operating modes is as follows: the performance mode t1_1 is 2.5 hours, the power saving mode t2_2 is 2.8 hours, and the super power saving mode t3_3 is 9.2 hours.
When step 2 in the first example is executed, it is determined that there is no any preset operating mode that the standby duration is longer than the time difference between the current time and the preset alarm time, and at this time, the following steps are executed:
and 5, inquiring the communication record of the user of the smart phone.
Inquiring the mobile phone number corresponding to the SIM card installed in the smart phone as follows: 1860110xxxx inquires about communication records in the last 15 days from a service operation support system of a home operator "operator a" of a mobile phone number "1860110 xxxx" after the service operation support system of the "operator a" receives a communication record inquiry request, extracts the phone number "1860110 xxxx" and an inquiry time range "nearly 15 days" in the communication record inquiry request, inquires about communication records meeting conditions in an internal database of the service operation support system, and feeds back the communication records to the smart phone, and if an inquiry result is as shown in the following table 1, the table 1 exemplarily shows part of communication records in the last 15 days of the number "1860110 xxxx".
TABLE 1
Figure BDA0003075885220000151
And 6, determining the communication rule of the mobile terminal according to the communication record.
In this embodiment, starting from point 0, every 10 minutes is one segment, the number of communications in a period of 144 times is counted from 0 hour to 24 hours in each day in approximately 15 days, and a period of time in which the number of communications exceeds 3 times and the corresponding number of days exceeds 3 days is screened, that is, the communication rule of the smartphone user. In this embodiment, it is assumed that the finally determined time period satisfying the communication frequency and frequency requirements is: 8:00-8:30, 10:00-10:30, … …, 21:00-21:30 and 22:00-22: 30.
And 7, judging whether one or more preset communication time periods in the communication rule are included in the time period from the current time to the preset alarm clock time.
The time period from the current time to the preset alarm clock time is 18:00 of the previous day to 7:00 of the next day, so that one or more preset communication time periods in the communication rules are contained in the time period from the current time to the preset alarm clock time. The following step 8 is performed.
Step 8, determining a preset working mode from all preset working modes as a target working mode, and determining the target automatic shutdown time
The standby time of the current battery power (6%) in different working modes is as follows: the performance mode t1_1 is 2.5 hours, the power saving mode t2_2 is 2.8 hours, and the super power saving mode t3_3 is 9.2 hours; the current time is 18:00 of the day before the preset alarm clock time, and the times that different preset working modes of the smart phone can stand by under the current residual capacity can be calculated as follows: the performance mode 18:00+ t1_1 is 18:00+2.5 is 20:30, the power saving mode 18:00+ t2_2 is 18:00+2.8 is 20:48, the super power saving mode 18:00+ t3_3 is 18:00+9.2 is 3:12[ the next day ]; the latest time of all communication time periods contained in the time period from the current time to the preset alarm clock time is 22:30, so that the communication requirement of a user is met, a super power saving mode is selected as a target working mode, and the latest time is determined as the target automatic shutdown time.
9, switching the working mode from the current working mode to a target working mode; and shutting down the computer at the target automatic shutdown time, and starting up the computer before the preset alarm clock time.
The smart phone switches the performance mode of the current working mode to the super power saving mode, sets the automatic power-off time to be 22:30 and the automatic power-on time to be 6:55, and is powered off at 22:30, and is powered on at 6:55 of the next day, and normally works at the preset alarm time (7:00), and reminds the user through the set ring or vibration.
Fig. 4 is a schematic structural diagram of a mobile terminal control device according to an embodiment of the present invention, and as shown in fig. 4, the device includes: the device comprises an acquisition module 11, a judgment module 12, a first determination module 13 and a switching module 14.
The obtaining module 11 is configured to obtain a corresponding standby duration of the current remaining power in each preset working mode in response to a power required by the current remaining power in a current working mode in a time period from a current time to a preset alarm clock time; the judging module 12 is configured to judge whether the corresponding standby time in each preset operating mode is greater than a time difference between the current time and a preset alarm clock time; the first determining module 13 is configured to determine, in response to the determining module 12 determining that there is a preset working mode with the standby duration being greater than the time difference, one preset working mode from all the preset working modes with the standby duration being greater than the time difference as a target working mode; the switching module 14 is configured to switch the working mode of the mobile terminal from the current working mode to the target working mode after the first determining module 13 determines the target working mode.
Further, in some embodiments, the apparatus further comprises: a second determining module 15 and an automatic on-off control module 16, as shown in fig. 5, fig. 5 is a schematic structural diagram of another mobile terminal control device according to an embodiment of the present invention.
The second determining module 15 is configured to determine, in response to the determining module 12 determining that there is no preset working mode with the standby time being greater than the time difference, one preset working mode from all the preset working modes as a target working mode, and determine a target automatic shutdown time; the switching module 14 is further configured to switch the working mode of the mobile terminal from the current working mode to the target working mode after the second determining module 15 determines the target working mode; the auto-on/off control module 16 is configured to control the mobile terminal to turn off at the target auto-off time after the second determining module 15 determines the target auto-off time, and to control the mobile terminal to turn on before the preset alarm clock time.
For detailed description of modules included in the mobile terminal control apparatus, please refer to the description of the corresponding method steps of the mobile terminal control method in the foregoing embodiment, and details are not repeated here.
The mobile terminal control device provided by the embodiment of the invention can be a device bound with a mobile terminal, for example, an electronic device such as a watch matched with a mobile phone; the mobile terminal control apparatus may also be a module embedded inside the mobile terminal.
An embodiment of the present invention further provides a mobile terminal, including: a processor and a storage device; the storage device stores a computer program, and the computer program is executed by the processor to implement the mobile terminal control method provided by the embodiment of the invention.
It will be understood that the above embodiments are merely exemplary embodiments taken to illustrate the principles of the present invention, which is not limited thereto. It will be apparent to those skilled in the art that various modifications and improvements can be made without departing from the spirit and substance of the invention, and these modifications and improvements are also considered to be within the scope of the invention.

Claims (7)

1. A mobile terminal control method, comprising:
responding to the electric quantity required by the current working mode in the time period from the current time to the preset alarm clock time when the current residual electric quantity is lower than the current time, and acquiring the corresponding standby time of the current residual electric quantity in each preset working mode;
judging whether the corresponding standby time in each preset working mode is greater than the time difference between the current time and the preset alarm clock time;
in response to the fact that the preset working modes with the standby time length larger than the time difference exist, determining one preset working mode from all the preset working modes with the standby time length larger than the time difference as a target working mode;
switching the working mode of the mobile terminal from the current working mode to the target working mode;
after judging whether the corresponding standby time in each preset working mode is greater than the time difference between the current time and the preset alarm clock time, the method further comprises the following steps:
in response to the fact that the preset working mode with the standby time length larger than the time difference does not exist, determining one preset working mode from all the preset working modes as a target working mode, and determining the target automatic shutdown time;
switching the working mode of the mobile terminal from the current working mode to the target working mode;
controlling the mobile terminal to be powered off at the target automatic power-off time, and controlling the mobile terminal to be powered on before the preset alarm clock time;
before determining a preset working mode from all the preset working modes as a target working mode and determining the target automatic shutdown time, the method further comprises the following steps:
acquiring a communication record of the mobile terminal in a preset time period;
dividing each day in a preset time period into a plurality of communication time periods, counting the communication times in each communication time period in the acquired communication records, and determining that the communication time period is the preset communication time period when the communication times in a certain communication time period are greater than a preset threshold value and the frequency of the communication times in the communication time period which is greater than the preset threshold value is greater than a preset frequency;
judging whether one or more preset communication time periods are included in the time period from the current time to the preset alarm clock time;
if the time period from the current moment to the preset alarm clock moment is judged to contain one or more preset communication time periods, determining a preset working mode from all preset working modes as a target working mode, and determining the target automatic shutdown time;
the step of determining a preset working mode from all the preset working modes as a target working mode and determining the target automatic shutdown time comprises the following steps:
and determining the target working mode and the target automatic shutdown time according to a preset rule based on the standby time corresponding to each preset working mode and the preset communication time period contained in the time period from the current time to the preset alarm clock time.
2. The method according to claim 1, wherein the step of determining the target operating mode and the target automatic shutdown time according to a preset rule based on the standby duration corresponding to each operating mode and the preset communication time period included in the time period from the current time to the preset alarm clock time specifically comprises:
determining the latest time in all the moments of all preset communication time periods which are contained in the time period from the current time to the preset alarm clock time and are before the preset alarm clock time by the mobile terminal;
judging whether the latest moment is included in a standby time range corresponding to each preset working mode or not; if the latest moment is contained in the standby time range corresponding to the preset working mode, taking the preset working mode as an alternative working mode;
and determining one alternative working mode from all the alternative working modes as a target working mode, and determining the latest moment as the target automatic shutdown time.
3. The method according to claim 1, wherein if it is determined that the time period from the current time to the preset alarm clock time does not include any preset communication time period, the step of determining a preset working mode from all preset working modes as a target working mode and determining a target automatic shutdown time is performed;
the step of determining a preset working mode from all the preset working modes as a target working mode and determining the target automatic shutdown time specifically comprises the following steps:
and determining the current working mode as the target working mode, and determining the current moment as the target automatic shutdown time.
4. The method according to claim 1, wherein the step of obtaining the standby duration corresponding to the current remaining capacity in each preset operating mode comprises:
acquiring current residual electric quantity and corresponding battery electric quantity consumption speed in standby in each preset working mode;
and calculating the ratio of the current residual capacity to the battery capacity consumption speed corresponding to each preset working mode to obtain the corresponding standby time of the current residual capacity in each preset working mode.
5. The method according to claim 1, wherein the step of obtaining the standby duration corresponding to the current remaining capacity in each preset operating mode comprises:
and acquiring the corresponding standby time of the current residual electric quantity in each preset working mode from a preset database.
6. A mobile terminal control apparatus, characterized by comprising:
the acquisition module is used for responding to the electric quantity required by the current residual electric quantity in the current working mode in the time period from the current time to the time of a preset alarm clock, and acquiring the corresponding standby time of the current residual electric quantity in each preset working mode;
the judging module is used for judging whether the corresponding standby duration in each preset working mode is greater than the time difference between the current time and the preset alarm clock time;
the first determining module is used for responding to the judgment module to judge that the preset working modes with the standby time length longer than the time difference exist, and determining one preset working mode from all the preset working modes with the standby time length longer than the time difference as a target working mode;
the switching module is used for switching the working mode of the mobile terminal from the current working mode to the target working mode after the first determining module determines the target working mode;
the device, still include: the automatic on-off control module is connected with the first determination module;
the second determining module is used for responding to the judgment module to judge that no preset working mode with the standby time length longer than the time difference exists, determining one preset working mode from all the preset working modes as a target working mode, and determining the target automatic shutdown time;
the switching module is further configured to switch the working mode of the mobile terminal from the current working mode to the target working mode after the target working mode is determined by the second determining module;
the automatic power-on and power-off control module is used for controlling the mobile terminal to be powered off at the target automatic power-off time after the second determination module determines the target automatic power-off time, and is used for controlling the mobile terminal to be powered on before the preset alarm clock time;
the device further comprises: a communication record processing module for
Acquiring a communication record of the mobile terminal in a preset time period;
dividing each day in a preset time period into a plurality of communication time periods, counting the communication times in each communication time period in the acquired communication records, and determining that the communication time period is the preset communication time period when the communication times in a certain communication time period are greater than a preset threshold value and the frequency of the communication times in the communication time period which is greater than the preset threshold value is greater than a preset frequency;
judging whether one or more preset communication time periods are included in the time period from the current time to the preset alarm clock time;
if the time period from the current moment to the preset alarm clock moment is judged to contain one or more preset communication time periods, determining a preset working mode from all preset working modes as a target working mode, and determining the target automatic shutdown time;
the step of determining a preset working mode from all the preset working modes as a target working mode and determining the target automatic shutdown time comprises the following steps:
and determining the target working mode and the target automatic shutdown time according to a preset rule based on the standby time corresponding to each preset working mode and the preset communication time period contained in the time period from the current time to the preset alarm clock time.
7. A mobile terminal, comprising:
a processor and a storage device;
wherein the storage means has stored therein a computer program which, when executed by the processor, implements the method of any of claims 1-5.
CN202110552879.0A 2021-05-20 2021-05-20 Mobile terminal control method and device and mobile terminal Active CN113315872B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110552879.0A CN113315872B (en) 2021-05-20 2021-05-20 Mobile terminal control method and device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110552879.0A CN113315872B (en) 2021-05-20 2021-05-20 Mobile terminal control method and device and mobile terminal

Publications (2)

Publication Number Publication Date
CN113315872A CN113315872A (en) 2021-08-27
CN113315872B true CN113315872B (en) 2022-07-12

Family

ID=77373856

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110552879.0A Active CN113315872B (en) 2021-05-20 2021-05-20 Mobile terminal control method and device and mobile terminal

Country Status (1)

Country Link
CN (1) CN113315872B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113852170B (en) * 2021-11-11 2024-07-26 深圳市恒万升科技有限公司 Power supply method, controller and system for portable electronic product

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105491451A (en) * 2014-10-13 2016-04-13 深圳Tcl新技术有限公司 Electronic equipment and automatic power-off method thereof
WO2017088549A1 (en) * 2015-11-26 2017-06-01 Tcl移动通信科技(宁波)有限公司 Implementation method and system for reserving battery power of smart terminal

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107465801A (en) * 2016-06-02 2017-12-12 西安中兴新软件有限责任公司 The method and device of management equipment alarm clock
CN107134823B (en) * 2017-04-25 2019-12-27 北京小米移动软件有限公司 Charging prompting method and device
CN107302633B (en) * 2017-06-30 2020-05-12 Oppo广东移动通信有限公司 Application control method, device, storage medium and electronic equipment
CN111176418A (en) * 2018-11-12 2020-05-19 奇酷互联网络科技(深圳)有限公司 Method and terminal for saving electric quantity and device with storage function
CN110839275A (en) * 2019-11-22 2020-02-25 广东小天才科技有限公司 Intelligent power saving method, mobile terminal, electronic equipment and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105491451A (en) * 2014-10-13 2016-04-13 深圳Tcl新技术有限公司 Electronic equipment and automatic power-off method thereof
WO2017088549A1 (en) * 2015-11-26 2017-06-01 Tcl移动通信科技(宁波)有限公司 Implementation method and system for reserving battery power of smart terminal

Also Published As

Publication number Publication date
CN113315872A (en) 2021-08-27

Similar Documents

Publication Publication Date Title
US8286013B2 (en) Portable communication device with multi-tiered power save operation
US20020142792A1 (en) Method and apparatus for automated selection of user preference information
EP2094034B1 (en) Method and apparatus for executing location dependent application in a mobile handset
US9887542B2 (en) Power broker module
EP2059864A1 (en) Intelligent message receiving method and apparatus
KR20140063363A (en) Monitoring and managing processor activity in power save mode of portable electronic device and portable electronic device supporting the same
CN104159281A (en) A method and a device for saving electricity of a mobile terminal
CN101610302A (en) A kind of method of automatic adjusting ringtone volume of terminal and terminal
US20040097218A1 (en) Intelligent cellular telephone function
CN113315872B (en) Mobile terminal control method and device and mobile terminal
WO2014161400A1 (en) Processing method for network search and terminal
EP1679927A2 (en) Concurrent transfer of packet data and paging in mobile communication terminal
CN111683401B (en) Method and device for adjusting paging cycle and terminal equipment
CN104219746B (en) Method, device and terminal for autonomously adjusting wake-up time
CN106413053B (en) A kind of mobile terminal and its electricity saving method
CN113301586A (en) Network selection method and electronic equipment
CN101527751A (en) Method for recording mobile phone information and mobile phone
CN106598193A (en) Power consumption control method and apparatus
CN104202721A (en) Mobile terminal operating method and device
CN111654084A (en) Reverse power supply terminal confirmation method and system, and reverse charging method and system
CN106657561B (en) Mobile phone mode control method, device and terminal
JP2001145168A (en) Communication system, communications equipment, and communication method
CN108650703B (en) State switching method and device
CN110602774A (en) Personal hotspot management method and mobile terminal
CN113489837B (en) Alarm clock working method and system, mobile terminal, electronic equipment and 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
GR01 Patent grant
GR01 Patent grant