CN108881623B - Mobile terminal control method, mobile terminal and storage medium thereof - Google Patents

Mobile terminal control method, mobile terminal and storage medium thereof Download PDF

Info

Publication number
CN108881623B
CN108881623B CN201810542308.7A CN201810542308A CN108881623B CN 108881623 B CN108881623 B CN 108881623B CN 201810542308 A CN201810542308 A CN 201810542308A CN 108881623 B CN108881623 B CN 108881623B
Authority
CN
China
Prior art keywords
mobile terminal
instruction
alarm clock
starting
shutdown
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
CN201810542308.7A
Other languages
Chinese (zh)
Other versions
CN108881623A (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.)
Oppo Chongqing Intelligent Technology Co Ltd
Original Assignee
Oppo Chongqing Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oppo Chongqing Intelligent Technology Co Ltd filed Critical Oppo Chongqing Intelligent Technology Co Ltd
Priority to CN201810542308.7A priority Critical patent/CN108881623B/en
Publication of CN108881623A publication Critical patent/CN108881623A/en
Application granted granted Critical
Publication of CN108881623B publication Critical patent/CN108881623B/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/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • 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
    • 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

Landscapes

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

Abstract

The application provides a mobile terminal control method, a mobile terminal and a storage medium thereof, wherein the mobile terminal control method comprises the steps of detecting whether an alarm clock instruction is set and stored in the mobile terminal; if the alarm clock instruction is stored, detecting whether the mobile terminal receives a starting instruction; if a starting-up instruction is received, detecting whether the mobile terminal is in a quick starting mode; and if the mobile terminal is in the quick starting mode, calling the bottom layer driving resource to start the mobile terminal. According to the mobile terminal control method, when the mobile terminal is in the state that the alarm clock is set and the mobile terminal is turned off, if the user starts the mobile terminal device (Move/reset) in the period, the bottom layer driving resource is called to start the mobile terminal, the starting process is accelerated, the alarm clock instruction can be ensured to enter the starting process of the mobile terminal, the effectiveness of the alarm clock instruction is further ensured, and the use experience of the user on the mobile terminal device is improved.

Description

Mobile terminal control method, mobile terminal and storage medium thereof
Technical Field
The invention relates to the technical field of startup and shutdown of a mobile terminal and alarm clock control, in particular to a mobile terminal control method, a mobile terminal and a storage medium thereof.
Background
Mobile terminal equipment such as a mobile phone and a tablet computer is often provided with a condition of turning off an alarm clock, and the mobile terminal equipment can be automatically turned on and sounds an alarm clock when the alarm clock is up in normal procedures; however, when the mobile terminal device is in a state of being set with an alarm clock and powered off, if the user starts (Move/reset) the mobile terminal device when connecting the mobile terminal device to a charger or other devices through a USB during this period (generally, the user starts by pressing a power key), it is likely that an instruction of powering off the alarm clock (power off alarm) cannot be recognized; because when the mobile terminal device is connected to the charger or other devices through the USB, the default process of starting the mobile terminal device is quick boot (quick start), and because the time of the quick boot is very short, the instruction of the power off alarm clock (power off alarm) cannot be identified, and the power off alarm clock fails, which greatly affects the user experience of the mobile terminal device.
Disclosure of Invention
An embodiment of the present application provides a control method for a mobile terminal, where the control method includes:
detecting whether an alarm clock instruction is set and stored in the mobile terminal;
if the alarm clock instruction is stored, detecting whether the mobile terminal receives a starting instruction;
if a starting-up instruction is received, detecting whether the mobile terminal is in a quick starting mode;
and if the mobile terminal is in the quick starting mode, calling the bottom layer driving resource to start the mobile terminal.
In another aspect, an embodiment of the present application further provides a mobile terminal, where the mobile terminal includes a processor and a memory, the processor is coupled to the memory, and when operating, the processor executes instructions to implement the method in any one of the foregoing embodiments.
Further, an embodiment of the present application further provides a mobile terminal, where the mobile terminal includes:
the detection module is used for detecting whether the alarm clock instruction is set and stored in the mobile terminal;
the instruction receiving module is used for detecting whether the mobile terminal receives a starting instruction when the detection module detects that the alarm clock instruction is stored;
the mode confirmation module is used for detecting whether the mobile terminal is in a quick starting mode or not when the instruction receiving module receives a starting instruction;
and the starting module is used for calling the bottom layer driving resource to start the mobile terminal when the mode confirmation module confirms that the mobile terminal is in the quick starting mode.
In addition, the embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the method described in any one of the above embodiments.
According to the mobile terminal control method, the mobile terminal and the storage medium thereof, when the mobile terminal is in the state of setting the alarm clock and being powered off, if a user starts (Move/reset) the mobile terminal device in the period, the bottom layer driving resource is called to start the mobile terminal, the starting process is accelerated, the alarm clock instruction can be ensured to enter the starting process of the mobile terminal, the effectiveness of the alarm clock instruction is further ensured, and the use experience of the user on the mobile terminal device is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flowchart of an embodiment of a mobile terminal control method according to the present application;
fig. 2 is a schematic flowchart of another embodiment of a mobile terminal control method according to the present application;
FIG. 3 is a flowchart illustrating the steps of detecting whether the mobile terminal is in a fast boot mode;
fig. 4 is a flowchart illustrating a mobile terminal control method according to another embodiment of the present application;
fig. 5 is a flowchart illustrating a mobile terminal control method according to still another embodiment of the present disclosure;
FIG. 6 is a block diagram illustrating the structure of an embodiment of a mobile terminal provided in the present application;
FIG. 7 is a block diagram illustrating the structural components of another embodiment of a mobile terminal provided herein;
FIG. 8 is a block diagram illustrating the structural components of another embodiment of a mobile terminal provided herein;
fig. 9 is a schematic block diagram illustrating a structural configuration of still another embodiment of the mobile terminal provided in the present application;
FIG. 10 is a schematic structural diagram of an embodiment of a computer storage medium provided in the present application.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be noted that the following examples are only illustrative of the present invention, and do not limit the scope of the present invention. Likewise, the following examples are only some but not all examples of the present invention, and all other examples obtained by those skilled in the art without any inventive step are within the scope of the present invention.
The terms "first", "second" and "third" in the present invention are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first," "second," or "third" may explicitly or implicitly include at least one of the feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise. All directional indicators (such as up, down, left, right, front, and rear … …) in the embodiments of the present invention are only used to explain the relative positional relationship between the components, the movement, and the like in a specific posture (as shown in the drawings), and if the specific posture is changed, the directional indicator is changed accordingly. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the invention. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
As used herein, a "communication terminal" (or simply "terminal") includes, but is not limited to, a device that is configured to receive/transmit communication signals via a wireline connection, such as via a Public Switched Telephone Network (PSTN), a Digital Subscriber Line (DSL), a digital cable, a direct cable connection, and/or another data connection/network, and/or via a wireless interface (e.g., for a cellular network, a Wireless Local Area Network (WLAN), a digital television network such as a DVB-H network, a satellite network, an AM-FM broadcast transmitter, and/or another communication terminal). A communication terminal arranged to communicate over a wireless interface may be referred to as a "wireless communication terminal", "wireless terminal" or "mobile terminal". Examples of mobile terminals include, but are not limited to, satellite or cellular telephones; a Personal Communications System (PCS) terminal that may combine a cellular radiotelephone with data processing, facsimile and data communications capabilities; PDAs that may include radiotelephones, pagers, internet/intranet access, Web browsers, notepads, calendars, and/or Global Positioning System (GPS) receivers; and conventional laptop and/or palmtop receivers or other electronic devices that include a radiotelephone transceiver. The mobile phone is a mobile terminal equipped with a cellular communication module.
Example 1
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating a mobile terminal control method according to an embodiment of the present application; it should be noted that the terminal device in the present application may include an electronic device with an alarm clock reminding function, such as a mobile phone, a tablet computer, a notebook computer, and a wearable device. The control method in the present embodiment includes, but is not limited to, the following steps.
And step 110, detecting whether the alarm clock instruction is set and stored in the mobile terminal.
In this step, the alarm clock command may be stored in a memory area of the mobile terminal after being set.
And step 120, if an alarm clock instruction is stored, detecting whether the mobile terminal receives a starting instruction.
It should be noted that this step is performed based on the fact that the alarm instruction is detected to be stored in the previous step. In this step, the power-on command is generally used to detect whether the power key is triggered, and then serves as a basis for detecting whether the mobile terminal receives the power-on command.
Step 130, if a power-on command is received, detecting whether the mobile terminal is in a fast start mode.
In this step, it specifically includes: detecting whether the mobile terminal is connected with a charger or external communication equipment through a USB interface and is carrying out current transmission or signal transmission; if so, judging that the mobile terminal is in a quick starting mode.
The Fast boot mode (Fast boot) is a lower-layer flash mode than recovery in an android mobile terminal, and is commonly referred to as a boot mode. When the mobile terminal in the power-off state is started, if a power-on action (generally long pressing of a power key) is detected, the system can detect whether the mobile terminal is connected with a charger or other external communication equipment (such as a computer, a controller and the like) through a USB interface or not, current transmission or signal transmission can be carried out, and the condition that the mobile terminal is only connected with the charger or other external communication equipment and is in a charging or signal transmission state is prevented from being judged mistakenly.
Step 140, if the mobile terminal is in the fast start mode, the bottom layer driving resource is called to start the mobile terminal.
When the mobile terminal equipment is powered off and the alarm clock time reaches the period, if the mobile phone background carries out reset (reset: after the mobile phone is completely powered off, the mobile phone is restarted by long pressing a power key, and the mobile phone has a process of moving partitions/changing the size of the partitions in the starting process, and the process is Move/reset), if the mobile terminal equipment is started in a default mode, the data partitions are mounted slowly.
According to the technical scheme in the embodiment, when the mobile phone detects that resize is activated, the drive resources such as the bottom display and the Flash memory are called at the moment, so that the resize process is accelerated, and the starting time is shortened. The reason is that: if the time is too long, the alarm clock information cannot be found by the quick boot and is included in the starting process, so that the mobile phone does not receive the information that the alarm clock is about to be started up till the alarm clock time, and the mobile phone cannot be started up when the alarm clock time is up. The starting process is accelerated by calling the bottom layer driving resource, the alarm clock information can be found by the quick boot and then brought into the starting process, and therefore the mobile phone receives the information that the mobile phone is about to be started when the alarm clock time arrives, and the mobile phone can be started when the alarm clock time arrives. Therefore, after the alarm clock time of the mobile phone arrives, the power-off alarm can normally respond in the quick boot waiting time, the effectiveness of the alarm clock instruction is guaranteed, and the use experience of the user on the mobile terminal equipment is improved.
Example 2
Further, please refer to fig. 2, fig. 2 is a schematic flowchart illustrating a mobile terminal control method according to another embodiment of the present application; the control method in this embodiment mainly includes the following steps.
Step 210, begin.
In this step, the mobile terminal is in a power-off state.
Step 220, detecting whether the alarm clock instruction is set and stored in the mobile terminal.
In this step, the alarm clock command may be stored in a memory area of the mobile terminal after being set. If the alarm clock instruction is not set and stored in the mobile terminal, returning to the step 210; and if the alarm clock instruction is set and stored in the mobile terminal, the next step is carried out.
Step 230, detecting whether the mobile terminal receives a power-on command.
In this step, the power-on command is generally used to detect whether the power key is triggered, and then serves as a basis for detecting whether the mobile terminal receives the power-on command. If the mobile terminal does not receive the starting-up instruction, the step is carried out again, namely whether the mobile terminal receives the starting-up instruction or not is continuously detected; and if the mobile terminal receives the starting-up instruction, entering the next step.
Step 240, detecting whether the mobile terminal is in a fast start mode.
In this step, please refer to fig. 3, fig. 3 is a flowchart illustrating the step of detecting whether the mobile terminal is in the fast boot mode. The method specifically comprises the following steps: step 241, detecting whether the mobile terminal is connected with a charger or an external communication device through a USB interface and is carrying out current transmission or signal transmission; if yes, go to step 242, determine that the mobile terminal is in the fast start mode; then step 250 is entered; if the determination result is no, go to step 243 to determine that the mobile terminal is not in the fast start mode; step 260 is then entered.
The Fast boot mode (Fast boot) is a lower-layer flash mode than recovery in an android mobile terminal, and is commonly referred to as a boot mode. When the mobile terminal in the power-off state is started, if a power-on action (generally long pressing of a power key) is detected, the system can detect whether the mobile terminal is connected with a charger or other external communication equipment (such as a computer, a controller and the like) through a USB interface or not, current transmission or signal transmission can be carried out, and the condition that the mobile terminal is only connected with the charger or other external communication equipment and is in a charging or signal transmission state is prevented from being judged mistakenly.
Step 250, calling the bottom layer driving resource to start the mobile terminal.
In this step, the drive resources such as the bottom display and the Flash memory are called, and this resize process is accelerated, so that the starting time is reduced. The time for starting the mobile terminal is less than or equal to the set time threshold value, so that the alarm clock instruction can enter the starting process of the mobile terminal, and the validity of the alarm clock instruction is further ensured. Alternatively, the time threshold may be set to a value of 10 seconds, 12 seconds, 15 seconds, 20 seconds, 30 seconds, or the like.
The current system condition is that the quick boot generally has a 20s time waiting power off alarm attribute, if the starting time is too long, the alarm clock information cannot be found by the quick boot, and therefore the alarm clock information is included in the starting process, so that the mobile phone does not receive the information that the alarm clock is required to be started up till the alarm clock time, and therefore the mobile phone cannot be started up when the alarm clock time is up. By calling the bottom layer driving resource, the starting process is accelerated (currently, the set time is less than 20 seconds), the alarm clock information can be found by the quick boot and then incorporated into the starting process, and therefore the mobile phone receives the information that the mobile phone is about to be started when the alarm clock time arrives, and the mobile phone can be started when the alarm clock time arrives. Therefore, after the alarm clock time of the mobile phone is up, the power-off alarm can normally respond within the quick boot waiting time.
Step 260, the mobile terminal is started in the normal mode.
The normal mode in this step means that the boot program of the mobile terminal is executed in a non-fast boot mode, that is, the mobile terminal is booted without calling the underlying driver resource.
And step 270, ending.
According to the mobile terminal control method provided by the embodiment, when the mobile terminal is in the state of setting the alarm clock and being powered off, if the user starts the mobile terminal device (Move/reset) in the period, the bottom layer driving resource is called to start the mobile terminal, so that the starting process is accelerated, the alarm clock instruction can be ensured to enter the starting process of the mobile terminal, the effectiveness of the alarm clock instruction is further ensured, and the use experience of the user on the mobile terminal device is improved.
Example 3
Referring to fig. 4, fig. 4 is a schematic flowchart illustrating a mobile terminal control method according to another embodiment of the present application; the control method in this embodiment mainly includes the following steps.
And step 410, detecting whether the alarm clock instruction is set and stored in the mobile terminal.
In this step, the alarm clock command may be stored in a memory area of the mobile terminal after being set. If the alarm clock instruction is not set and stored in the mobile terminal, re-detecting whether the alarm clock instruction is set and stored in the mobile terminal; and if the alarm clock instruction is set and stored in the mobile terminal, the next step is carried out.
Step 420, detecting whether the mobile terminal receives a power-on instruction.
In this step, the power-on command is generally used to detect whether the power key is triggered, and then serves as a basis for detecting whether the mobile terminal receives the power-on command. If the mobile terminal does not receive the starting-up instruction, the step is carried out again, namely whether the mobile terminal receives the starting-up instruction or not is continuously detected; and if the mobile terminal receives the starting-up instruction, entering the next step.
Step 430, detecting whether the mobile terminal is in a fast start mode.
Please refer to fig. 3 for the detailed flow of this step, which is not described herein again. If the mobile terminal is detected to be in the fast start mode, step 440 is entered; if it is detected that the mobile terminal is not in the fast boot mode, step 450 is entered.
The Fast boot mode (Fast boot) is a lower-layer flash mode than recovery in an android mobile terminal, and is commonly referred to as a boot mode. When the mobile terminal in the power-off state is started, if a power-on action (generally long pressing of a power key) is detected, the system can detect whether the mobile terminal is connected with a charger or other external communication equipment (such as a computer, a controller and the like) through a USB interface or not, current transmission or signal transmission can be carried out, and the condition that the mobile terminal is only connected with the charger or other external communication equipment and is in a charging or signal transmission state is prevented from being judged mistakenly.
Step 440, calling the bottom layer driving resource to start the mobile terminal.
In this step, the drive resources such as the bottom display and the Flash memory are called, and this resize process is accelerated, so that the starting time is reduced. The time for starting the mobile terminal is less than or equal to the set time threshold value, so that the alarm clock instruction can enter the starting process of the mobile terminal, and the validity of the alarm clock instruction is further ensured. Alternatively, the time threshold may be set to a value of 10 seconds, 12 seconds, 15 seconds, 20 seconds, 30 seconds, or the like.
The current system condition is that the quick boot generally has a 20s time waiting power off alarm attribute, if the starting time is too long, the alarm clock information cannot be found by the quick boot, and therefore the alarm clock information is included in the starting process, so that the mobile phone does not receive the information that the alarm clock is required to be started up till the alarm clock time, and therefore the mobile phone cannot be started up when the alarm clock time is up. By calling the bottom layer driving resource, the starting process is accelerated (currently, the set time is less than 20 seconds), the alarm clock information can be found by the quick boot and then incorporated into the starting process, and therefore the mobile phone receives the information that the mobile phone is about to be started when the alarm clock time arrives, and the mobile phone can be started when the alarm clock time arrives. Therefore, after the alarm clock time of the mobile phone is up, the power-off alarm can normally respond within the quick boot waiting time.
Step 450, the mobile terminal is started in a normal mode.
The normal mode in this step means that the boot program of the mobile terminal is executed in a non-fast boot mode, that is, the mobile terminal is booted without calling the underlying driver resource.
Step 460, detecting whether the mobile terminal is in a power-off state.
In the step, if the mobile terminal is detected not to be in a power-off state, entering to perform the step again; and if the mobile terminal is detected to be in the power-off state, entering the next step.
Step 470, the triggered time of the shutdown alarm clock command is monitored.
For example, if the preset alarm is 7 am, the time is up to listen.
Step 480, when the triggered time of the shutdown alarm clock instruction is reached, starting a startup program of the mobile terminal and executing the shutdown alarm clock instruction.
That is to say, the control method in this embodiment may be that the mobile terminal may execute the alarm clock instruction without being turned on.
And step 490, ending.
According to the mobile terminal control method provided by the embodiment, when the mobile terminal is in the state that the alarm clock is set and the mobile terminal is turned off, if a user starts (Move/reset) the mobile terminal device in the period, the bottom layer driving resource is called to start the mobile terminal, so that the starting process is accelerated, the alarm clock instruction can be ensured to enter the starting process of the mobile terminal, and further, the validity of the alarm clock instruction in the state that the mobile terminal is not turned on is ensured.
Example 4
Referring to fig. 5, fig. 5 is a schematic flowchart illustrating a mobile terminal control method according to another embodiment of the present application; the control method in this embodiment mainly includes the following steps.
Step 510, detecting whether the mobile terminal sets and stores an alarm clock instruction.
In this step, the alarm clock command may be stored in a memory area of the mobile terminal after being set. If the alarm clock instruction is not set and stored in the mobile terminal, re-detecting whether the alarm clock instruction is set and stored in the mobile terminal; and if the alarm clock instruction is set and stored in the mobile terminal, the next step is carried out.
Step 520, detecting whether the mobile terminal receives a power-on instruction.
In this step, the power-on command is generally used to detect whether the power key is triggered, and then serves as a basis for detecting whether the mobile terminal receives the power-on command. If the mobile terminal does not receive the starting-up instruction, the step is carried out again, namely whether the mobile terminal receives the starting-up instruction or not is continuously detected; and if the mobile terminal receives the starting-up instruction, entering the next step.
Step 530, detecting whether the mobile terminal is in a fast boot mode.
If the mobile terminal is detected to be in the fast start mode, entering step 540; if it is detected that the mobile terminal is not in the fast boot mode, step 550 is entered.
And step 540, calling the bottom layer driving resource to start the mobile terminal.
In this step, the drive resources such as the bottom display and the Flash memory are called, and this resize process is accelerated, so that the starting time is reduced. The time for starting the mobile terminal is less than or equal to the set time threshold value, so that the alarm clock instruction can enter the starting process of the mobile terminal, and the validity of the alarm clock instruction is further ensured. Alternatively, the time threshold may be set to a value of 10 seconds, 12 seconds, 15 seconds, 20 seconds, 30 seconds, or the like.
Step 550, the mobile terminal is started in the normal mode.
The normal mode in this step means that the boot program of the mobile terminal is executed in a non-fast boot mode, that is, the mobile terminal is booted without calling the underlying driver resource.
Step 560, detecting whether the mobile terminal is in a power-off state.
In the step, if the mobile terminal is detected not to be in a power-off state, entering to perform the step again; and if the mobile terminal is detected to be in the power-off state, entering the next step.
Step 570, monitor the triggered time of the shutdown alarm clock command.
For example, if the preset alarm is 7 am, the time is up to listen.
And 580, when the triggered time of the shutdown alarm clock instruction is reached, starting a startup program of the mobile terminal and executing the shutdown alarm clock instruction.
In this step, the power-on program of the mobile terminal is performed in the non-fast start mode, that is, the bottom layer resource is not called to start the mobile terminal, unlike the previous embodiment, in the control method in this embodiment, when the alarm clock command is triggered, the normal power-on process is performed first, and then the alarm clock command is executed.
Step 590, end.
According to the mobile terminal control method provided by the embodiment, when the mobile terminal is in the state of setting the alarm clock and being powered off, if the user starts the mobile terminal device in the period, the bottom layer driving resource is called to start the mobile terminal, so that the starting process is accelerated, the alarm clock command can be ensured to enter the starting process of the mobile terminal, and further, the validity of the alarm clock command is ensured.
Referring to fig. 6, fig. 6 is a schematic block diagram illustrating a structure of an embodiment of a mobile terminal provided in the present application, where the mobile terminal 60 includes a processor 61 and a memory 62. The processor 61 is coupled to a memory 62.
The processor 61 is specifically configured to detect whether an alarm clock instruction is set and stored in the mobile terminal; if the alarm clock instruction is stored, detecting whether the mobile terminal receives a starting instruction; if a starting-up instruction is received, detecting whether the mobile terminal is in a quick starting mode; and if the mobile terminal is in the quick starting mode, calling the bottom layer driving resource to start the mobile terminal.
Further, please refer to fig. 7, fig. 7 is a schematic block diagram illustrating a structural configuration of another embodiment of the mobile terminal provided in the present application, where the mobile terminal in the present embodiment includes a detection module 71, an instruction receiving module 72, a mode confirmation module 73, and a start module 74.
Specifically, the detection module 71 is configured to detect whether an alarm clock instruction is set and stored in the mobile terminal; the instruction receiving module 72 is configured to detect whether the mobile terminal receives a power-on instruction when the detection module detects that an alarm instruction is stored; the mode confirmation module 73 is configured to detect whether the mobile terminal is in a fast start mode when the instruction receiving module receives a power-on instruction; the starting module 74 is configured to invoke the underlying driver resource to start the mobile terminal when the mode confirmation module confirms that the mobile terminal is in the fast start mode.
Optionally, the time for starting the mobile terminal by the starting module 74 is less than or equal to the set time threshold, so that the alarm clock instruction can enter the starting process of the mobile terminal, thereby ensuring the validity of the alarm clock instruction. The mode confirmation module 73 is specifically configured to detect whether the mobile terminal is connected to the charger or the external communication device through the USB interface and is performing current transmission or signal transmission; if so, judging that the mobile terminal is in a quick starting mode.
The mobile terminal provided by the embodiment, when the mobile terminal is in the state of setting the alarm clock and turning off, if the user starts the mobile terminal device in the period, the bottom layer driving resource is called to start the mobile terminal, so that the starting process is accelerated, the alarm clock instruction can be ensured to enter the starting process of the mobile terminal, the effectiveness of the alarm clock instruction is ensured, and the use experience of the user on the mobile terminal device is improved.
Further, please refer to fig. 8, fig. 8 is a schematic block diagram illustrating a structural configuration of another embodiment of the mobile terminal provided in the present application, and unlike the previous embodiment, the mobile terminal in the present embodiment further includes a power-off state confirmation module 75, a monitoring module 76, and an execution module 77.
The power-off state confirmation module 75 is configured to detect whether the mobile terminal is in a power-off state; the monitoring module 76 is configured to monitor the triggered time of the shutdown alarm clock instruction when the shutdown state confirmation module confirms that the mobile terminal is in a shutdown state; the executing module 77 is configured to execute the shutdown alarm clock instruction when the monitoring module monitors that the shutdown alarm clock instruction reaches the triggered time.
In addition, referring to fig. 9, fig. 9 is a schematic block diagram illustrating a structural composition of another embodiment of the mobile terminal provided in the present application, and unlike the embodiment of fig. 7, the mobile terminal in the present embodiment includes a power-off state confirmation module 75, a monitoring module 76, and a power-on and response module 78. The power-off state confirmation module 75 is configured to detect whether the mobile terminal is in a power-off state; the monitoring module 76 is configured to monitor the triggered time of the shutdown alarm clock instruction when the shutdown state confirmation module confirms that the mobile terminal is in a shutdown state; the power-on and response module 78 is configured to start a power-on program of the mobile terminal and execute the power-off alarm clock command when the monitoring module monitors that the power-off alarm clock command reaches the triggered time. Wherein the boot-up procedure of the boot-up and response module 78 is performed in the non-fast boot-up mode. In addition, please refer to the detailed description of the method embodiment for the detailed working process of each module of the mobile terminal, which is not described herein again.
Referring to fig. 10, fig. 10 is a schematic structural diagram of an embodiment of a computer storage medium provided in the present application, the computer storage medium 80 is used for storing a computer program 81, when the computer program 81 is executed by a processor, the computer storage medium 80 may be used for the mobile terminal or the server, and is used for implementing the mobile terminal control method provided in the embodiments of fig. 1 to 5.
The computer program stored in the computer-readable storage medium of this embodiment is similar to the computer program stored in the memory in the embodiment of the electronic device described above, and the method steps implemented when the computer program is executed by the processor are similar, and are not described herein again.
In the several embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of a module or a unit is merely a logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be substantially or partially implemented in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only a part of the embodiments of the present invention, and not intended to limit the scope of the present invention, and all equivalent devices or equivalent processes performed by the present invention through the contents of the specification and the drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (13)

1. A control method of a mobile terminal based on an android system is characterized by comprising the following steps:
detecting whether an alarm clock instruction is set and stored in the mobile terminal;
if the alarm clock instruction is stored, detecting whether the mobile terminal receives a starting instruction;
if the starting-up instruction is received, detecting whether the mobile terminal is in a quick starting mode, wherein the quick starting mode is a bottom flashing mode;
if the mobile terminal is in the quick starting mode, calling bottom layer driving resources to enable the time for starting the mobile terminal to be less than or equal to a set time threshold value, so that the alarm clock instruction can enter a starting process of the mobile terminal, and further validity of the alarm clock instruction is guaranteed.
2. The control method according to claim 1, characterized in that the time threshold is 20 seconds.
3. The control method according to claim 1, wherein the step of detecting whether the mobile terminal is in the fast boot mode specifically comprises: detecting whether the mobile terminal is connected with a charger or external communication equipment through a USB interface and is carrying out current transmission or signal transmission; and if so, judging that the mobile terminal is in the quick starting mode.
4. The control method according to claim 1, wherein the alarm instruction is a power-off alarm instruction, and before the detecting whether the mobile terminal receives the power-on instruction, the control method further comprises:
detecting whether the mobile terminal is in a power-off state or not;
if the alarm clock is in the shutdown state, monitoring the triggered time of the shutdown alarm clock instruction;
and if the triggered time of the shutdown alarm clock instruction is reached, executing the shutdown alarm clock instruction.
5. The control method according to claim 1, wherein the alarm instruction is a power-off alarm instruction, and before the detecting whether the mobile terminal receives the power-on instruction, the control method further comprises:
detecting whether the mobile terminal is in a power-off state or not;
if the alarm clock is in the shutdown state, monitoring the triggered time of the shutdown alarm clock instruction;
and if the triggered time of the shutdown alarm clock instruction is reached, starting a startup program of the mobile terminal and executing the shutdown alarm clock instruction.
6. The method according to claim 5, wherein in the step of starting the power-on program of the mobile terminal and executing the power-off alarm clock command, the power-on program of the mobile terminal is executed in a non-fast start mode.
7. An android based mobile terminal, comprising a processor and a memory, the processor being coupled to the memory, the processor in operation executing instructions to implement the method of any of claims 1-6.
8. The utility model provides a mobile terminal based on tall and erect system of ann, its characterized in that, mobile terminal includes:
the detection module is used for detecting whether the alarm clock instruction is set and stored in the mobile terminal;
the instruction receiving module is used for detecting whether the mobile terminal receives a starting instruction or not when the detection module detects that the alarm clock instruction is stored;
the mode confirmation module is used for detecting whether the mobile terminal is in a quick start mode when the instruction receiving module receives the starting instruction, wherein the quick start mode is a bottom flashing mode;
and the starting module is used for calling a bottom layer driving resource when the mode confirmation module confirms that the mobile terminal is in the quick starting mode so that the time for starting the mobile terminal is less than or equal to a set time threshold value, so that the alarm clock instruction can enter the starting process of the mobile terminal, and the validity of the alarm clock instruction is further ensured.
9. The mobile terminal according to claim 8, wherein the mode confirmation module is specifically configured to detect whether the mobile terminal is connected to a charger or an external communication device through a USB interface and is performing current transmission or signal transmission; and if so, judging that the mobile terminal is in the quick starting mode.
10. The mobile terminal of claim 9, wherein the mobile terminal further comprises:
a shutdown state confirmation module, configured to detect whether the mobile terminal is in a shutdown state before detecting whether the mobile terminal receives the power-on instruction when the alarm instruction is a shutdown alarm instruction;
the monitoring module is used for monitoring the triggered time of the shutdown alarm clock instruction when the shutdown state confirmation module confirms that the mobile terminal is in the shutdown state;
and the execution module is used for executing the shutdown alarm clock instruction when the monitoring module monitors that the shutdown alarm clock instruction reaches the triggered time.
11. The mobile terminal of claim 8, wherein the mobile terminal further comprises:
a shutdown state confirmation module, configured to detect whether the mobile terminal is in a shutdown state before detecting whether the mobile terminal receives the power-on instruction when the alarm instruction is a shutdown alarm instruction;
the monitoring module is used for monitoring the triggered time of the shutdown alarm clock instruction when the shutdown state confirmation module confirms that the mobile terminal is in the shutdown state;
and the starting and responding module is used for starting a starting program of the mobile terminal and executing the shutdown alarm clock instruction when the monitoring module monitors that the shutdown alarm clock instruction reaches the triggered time.
12. The mobile terminal of claim 11, wherein the power-on procedure of the power-on and response module is performed in a non-fast boot mode.
13. A computer-readable storage medium, characterized in that the computer-readable storage medium is used for storing a computer program which, when being executed by a processor, is used for implementing the control method according to any one of claims 1-6.
CN201810542308.7A 2018-05-30 2018-05-30 Mobile terminal control method, mobile terminal and storage medium thereof Active CN108881623B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810542308.7A CN108881623B (en) 2018-05-30 2018-05-30 Mobile terminal control method, mobile terminal and storage medium thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810542308.7A CN108881623B (en) 2018-05-30 2018-05-30 Mobile terminal control method, mobile terminal and storage medium thereof

Publications (2)

Publication Number Publication Date
CN108881623A CN108881623A (en) 2018-11-23
CN108881623B true CN108881623B (en) 2021-06-01

Family

ID=64335960

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810542308.7A Active CN108881623B (en) 2018-05-30 2018-05-30 Mobile terminal control method, mobile terminal and storage medium thereof

Country Status (1)

Country Link
CN (1) CN108881623B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113612884B (en) * 2021-07-14 2022-08-09 荣耀终端有限公司 Method for implementing shutdown alarm clock, electronic device and computer readable storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101931696A (en) * 2010-08-11 2010-12-29 无锡中星微电子有限公司 Rapid mobile phone starting method and system thereof
CN102693130A (en) * 2012-05-03 2012-09-26 无敌科技(西安)有限公司 Device and method of realizing Android platform shutdown alarm reminding by using independent alarm module
CN104821990B (en) * 2015-04-29 2018-03-30 努比亚技术有限公司 Intelligent terminal realizes the method and intelligent terminal of shutdown alarm clock
CN105867898A (en) * 2015-12-08 2016-08-17 乐视移动智能信息技术(北京)有限公司 Method and mobile terminal for realizing wireless charging
CN106101406B (en) * 2016-06-07 2020-04-07 Tcl移动通信科技(宁波)有限公司 Shutdown alarm triggering processing method based on mobile terminal and mobile terminal

Also Published As

Publication number Publication date
CN108881623A (en) 2018-11-23

Similar Documents

Publication Publication Date Title
CN109542744B (en) Method, device, storage medium and terminal for detecting abnormal starting problem of terminal
CN108920195B (en) Boot processing method and related product
CN108829542B (en) Mobile terminal, control method thereof and storage medium
US10282333B2 (en) Electronic device operating method and electronic device for supporting the same
CN107423064B (en) Message processing method and device, terminal equipment and storage medium
EP3557942A1 (en) Automatically enabling wireless communication
CN115328563B (en) System starting method and electronic equipment
WO2023000777A9 (en) Method for performing restarting during upgrade process of recovery mode, and terminal
CN115622177A (en) Charging method, mobile terminal and storage medium
WO2021254318A1 (en) Terminal device, gesture operation method tehrefor, and medium
CN108881623B (en) Mobile terminal control method, mobile terminal and storage medium thereof
CN112395018B (en) Direction control application starting method and device, electronic equipment and storage medium
CN111026684B (en) Interface control method, interface control device and storage medium
WO2015154700A1 (en) Method and apparatus for repairing dynamic link library file
CN113412480B (en) Mounting processing method, mounting processing device, electronic equipment and computer readable storage medium
KR101572050B1 (en) Apparatus and method for recognize external memorycard in portable terminal
EP2998859B1 (en) Display control device, display control method, and program
CN109254797B (en) Mobile terminal, starting control method thereof and storage medium
CN111770522A (en) Method, device, terminal and storage medium for identifying data dialing abnormity
JP6586832B2 (en) Information processing device
KR101863568B1 (en) Background application managemnt method and terminal using the same
CN112789595A (en) Interface display method and device, computer storage medium and electronic equipment
CN107517314B (en) Mobile terminal, control method, control device, and storage medium
US20230376264A1 (en) Display Method and Electronic Device
CN115734205A (en) Passive Bluetooth connection method and device and Bluetooth equipment

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