CN106791090B - Mobile terminal restart control method and device and mobile terminal - Google Patents

Mobile terminal restart control method and device and mobile terminal Download PDF

Info

Publication number
CN106791090B
CN106791090B CN201611186902.4A CN201611186902A CN106791090B CN 106791090 B CN106791090 B CN 106791090B CN 201611186902 A CN201611186902 A CN 201611186902A CN 106791090 B CN106791090 B CN 106791090B
Authority
CN
China
Prior art keywords
restart time
mobile terminal
adjustment value
restart
time adjustment
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
CN201611186902.4A
Other languages
Chinese (zh)
Other versions
CN106791090A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201611186902.4A priority Critical patent/CN106791090B/en
Publication of CN106791090A publication Critical patent/CN106791090A/en
Application granted granted Critical
Publication of CN106791090B publication Critical patent/CN106791090B/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
    • 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)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses a restart control method and device of a mobile terminal and the mobile terminal. The method comprises the following steps: acquiring preset initial restart time of the mobile terminal; calculating a restart time adjustment value according to the identity information of the mobile terminal; adjusting the preset initial restart time according to the restart time adjustment value to obtain a target restart time; and controlling the mobile terminal to execute restarting operation according to the target restarting time. By adopting the technical scheme, the embodiment of the invention enables the mobile terminal to restart according to the target restart time, thereby not only effectively reducing the power consumption of the mobile terminal and prolonging the service life of a battery, but also timely releasing the system memory, accelerating the running speed of the mobile terminal and improving the performance of the mobile terminal, and the target restart time is determined according to the identity information of the mobile terminal, thereby effectively avoiding the influence on a mobile network caused by the simultaneous restart of a large number of mobile terminals.

Description

Mobile terminal restart control method and device and mobile terminal
Technical Field
The embodiment of the invention relates to the technical field of mobile terminals, in particular to a restart control method and device of a mobile terminal and the mobile terminal.
Background
With the popularization of mobile terminals, mobile terminals such as mobile phones and tablet computers have become essential tools for people to work and live.
Mobile terminal users are generally used to pick up the mobile terminal for use anytime and anywhere, so most users do not have the habit of turning off or restarting the mobile terminal, and the mobile terminal is in a 24-hour uninterrupted on-state for a long time. The mobile terminal is in a startup state for a long time, and background running application programs are accumulated continuously, so that the power consumption of the mobile terminal is increased, the service life of a battery is easily influenced, a system memory cannot be released in time, the running speed of the mobile terminal is influenced, and finally the performance of the mobile terminal is reduced.
Disclosure of Invention
The invention provides a method and a device for controlling the restart of a mobile terminal and the mobile terminal, which are used for automatically controlling the restart of the mobile terminal.
In a first aspect, an embodiment of the present invention provides a restart control method for a mobile terminal, including:
acquiring preset initial restart time of the mobile terminal;
calculating a restart time adjustment value according to the identity information of the mobile terminal;
adjusting the preset initial restart time according to the restart time adjustment value to obtain a target restart time;
and controlling the mobile terminal to execute restarting operation according to the target restarting time.
In a second aspect, an embodiment of the present invention provides a restart control device for a mobile terminal, including:
the initial restart time acquisition module is used for acquiring the preset initial restart time of the mobile terminal;
the restart time adjustment value calculating module is used for calculating a restart time adjustment value according to the identity information of the mobile terminal;
the initial restart time adjusting module is used for adjusting the preset initial restart time according to the restart time adjusting value to obtain target restart time;
and the restarting operation control module is used for controlling the mobile terminal to execute restarting operation according to the target restarting time.
In a third aspect, an embodiment of the present invention provides a mobile terminal, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the computer program to implement the following steps:
acquiring preset initial restart time of the mobile terminal;
calculating a restart time adjustment value according to the identity information of the mobile terminal;
adjusting the preset initial restart time according to the restart time adjustment value to obtain a target restart time;
and controlling the mobile terminal to execute restarting operation according to the target restarting time.
The restart control method of the mobile terminal provided by the embodiment of the invention obtains the preset initial restart time of the mobile terminal; calculating a restart time adjustment value according to the identity information of the mobile terminal; adjusting the preset initial restart time according to the restart time adjustment value to obtain the target restart time; and controlling the mobile terminal to execute the restarting operation according to the target restarting time. By adopting the technical scheme, the mobile terminal is restarted according to the target restarting time, so that the power consumption of the mobile terminal is effectively reduced, the service life of a battery is prolonged, the system memory is released in time, the running speed of the mobile terminal is accelerated, the performance of the mobile terminal is improved, the target restarting time is determined according to the identity information of the mobile terminal, and the influence on a mobile network caused by the simultaneous restarting of a large number of mobile terminals can be effectively avoided.
Drawings
Fig. 1 is a flowchart illustrating a restart control method of a mobile terminal according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating another method for controlling a restart of a mobile terminal according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating another restart control method for a mobile terminal according to an embodiment of the present invention;
fig. 4 is a block diagram illustrating a restart control apparatus of a mobile terminal according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
Detailed Description
The technical scheme of the invention is further explained by the specific implementation mode in combination with the attached drawings. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the steps as a sequential process, many of the steps can be performed in parallel, concurrently or simultaneously. In addition, the order of the steps may be rearranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Fig. 1 is a flowchart illustrating a restart control method of a mobile terminal according to an embodiment of the present invention, where the method may be performed by a restart control apparatus of the mobile terminal, where the apparatus may be implemented by software and/or hardware, and may be generally integrated in the mobile terminal. As shown in fig. 1, the method includes:
step 101, obtaining a preset initial restart time of the mobile terminal.
For example, the mobile terminal in this embodiment may be specifically a device with a power on/off and restart function, such as a smart phone and a tablet computer.
After the mobile terminal operates for a period of time, the system memory may be excessively consumed, which causes the operating speed of the mobile terminal to slow, which affects the performance of the mobile terminal, and the power consumption of the mobile terminal is also increased due to the continuous accumulation of the application program running in the background. However, most mobile terminal users do not have a habit of regular restart, and for this reason, the embodiment of the present invention performs a silent restart design on the mobile terminal, and sets an initial restart time in advance in the mobile terminal for controlling the automatic restart of the mobile terminal.
The specific value of the preset initial restart time is not limited in this embodiment, and can be set according to the actual situation in specific implementation. For example, the usage habits of the mobile terminal users can be investigated, the time periods when most users do not need to use the mobile terminal are analyzed in a statistical manner, the preset initial restart time is determined according to the time periods, and the setting before leaving the factory can be performed. For example, it is counted that most users do not need to use the mobile terminal between 2 a.m. and 6 a.m., the preset initial restart time may be set to 3 a.m. or 5 a.m. and so on.
And 102, calculating a restart time adjustment value according to the identity information of the mobile terminal.
After a manufacturer designs a regular silent restart of a mobile terminal, the preset initial restart time becomes a fixed value, so that the preset initial restart times of mobile terminals of the same brand, the same model or the same batch are the same. If the mobile terminal is controlled to perform the restart operation directly according to the preset initial restart time, the following problems may occur. For example, the manufacturer of brand a mobile phone sets the preset initial restart time of brand a mobile phone to 5 am, and all brand a mobile phones automatically restart at 5 am every day. However, when a large number of mobile terminals of the same brand, the same model, or the same batch are restarted at the same time, the mobile network registration procedure needs to be re-initiated, which is easy to generate DOS (Denial of Service) attack on the mobile network (or the base station), so that the network base station is crashed. Therefore, the restart control method for the mobile terminal according to the embodiment of the present invention adjusts the preset initial restart time of the mobile terminal, so that each mobile terminal executes the restart operation according to the adjusted target restart time.
In this embodiment, in order to avoid restarting a large number of mobile terminals at the same time, a specific personalized adjustment is performed on the preset initial restart time of each mobile terminal. Each mobile terminal has own unique identity information, so that the restart time adjusting value can be calculated according to the own unique identity information. The identity information may include any one of an International Mobile Equipment Identity (IMEI) and an International Mobile Subscriber Identity (IMSI). The IMEI and the IMSI are both serial codes which can represent the uniqueness of the identity information of the mobile terminal. It should be noted that the identifier representing the uniqueness of the identity information of the mobile terminal itself includes the IMEI and the IMSI, but is not limited to the IMEI and the IMSI, and the identity information may also include information such as a serial number of a Central Processing Unit (CPU) or other devices integrated in the mobile terminal.
Illustratively, the IMEI of the mobile terminal is obtained, wherein the IMEI is an electronic serial number composed of 15 digits, which corresponds to each mobile terminal one by one, and each mobile terminal is unique all over the world. And performing certain mathematical operation on the acquired IMEI of the mobile terminal, and taking the operation result as a restart time adjustment value. The present embodiment does not limit the specific mathematical operation manner, and can be selected according to the actual situation in the specific implementation.
And 103, adjusting the preset initial restart time according to the restart time adjustment value to obtain the target restart time.
In this embodiment, the preset initial restart time of the mobile terminal is adjusted according to the restart time adjustment value, and the adjusted restart time is used as the target restart time. For example, the preset initial restart time of the mobile terminal may be delayed or advanced by the restart time adjustment value, or the preset initial restart time may be multiplied by a multiple of the restart time adjustment value. The embodiment does not limit the specific method for adjusting the preset initial restart time according to the restart time adjustment value.
And 104, controlling the mobile terminal to execute restarting operation according to the target restarting time.
In this embodiment, the mobile terminal performs a restart operation according to the adjusted target restart time, so as to avoid that a large number of mobile terminals restart at the same time and cause DOS attacks on the network. The adjusted restart time is the time associated with the identity information of the mobile terminal, and the restart times of the mobile terminals of the same brand, the same model or the same batch are not all the same. For example, taking the preset initial restart time as 5 am, the target restart time of some mobile phones may be 5 pm 05, the target restart time of some mobile phones may be 5 pm 10, the target restart time of some mobile phones may be 4 pm 50, and so on, thereby implementing offloading of the restart operation of the mobile terminal to reduce the impact on the mobile network.
The restart control method of the mobile terminal provided by the embodiment of the invention obtains the preset initial restart time of the mobile terminal; calculating a restart time adjustment value according to the identity information of the mobile terminal; adjusting the preset initial restart time according to the restart time adjustment value to obtain the target restart time; and controlling the mobile terminal to execute the restarting operation according to the target restarting time. By adopting the technical scheme, the mobile terminal is restarted according to the target restarting time, so that the power consumption of the mobile terminal is effectively reduced, the service life of a battery is prolonged, the system memory is released in time, the running speed of the mobile terminal is accelerated, the performance of the mobile terminal is improved, the target restarting time is determined according to the identity information of the mobile terminal, and the influence on a mobile network caused by the simultaneous restarting of a large number of mobile terminals can be effectively avoided.
Fig. 2 is a flowchart of another restart control method for a mobile terminal according to an embodiment of the present invention, where the embodiment is optimized based on the above embodiment, and in this embodiment, the step "calculating a restart time adjustment value according to identity information of the mobile terminal" is optimized as follows: acquiring a numerical value at a preset position in an International Mobile Equipment Identity (IMEI) or an International Mobile Subscriber Identity (IMSI) of the mobile terminal; and calculating a restart time adjustment value according to the acquired numerical value according to a preset algorithm.
Correspondingly, as shown in fig. 2, the method of the present embodiment includes the following steps:
step 201, obtaining a preset initial restart time of the mobile terminal.
Step 202, obtaining a value at a preset position in the IMEI or IMSI of the mobile terminal.
In this embodiment, the preset position is set according to the requirement, and may be a numerical value at any position in the IMEI or IMSI of the mobile terminal, a continuous multi-digit numerical value, or a discontinuous numerical value. Illustratively, the value of the last two digits of the IMEI or IMSI of the mobile terminal is obtained.
Further, obtaining the value at the preset position in the IMSI of the mobile terminal may be optimized as: attempting to acquire a value at a first preset position in an IMEI of the mobile terminal; and if the IMEI does not exist or is illegal, acquiring a numerical value at a second preset position in the IMSI of the mobile terminal. Each mobile terminal has a globally unique IMEI, but there may be a case where the IMEI cannot be obtained for some reason (such as a code error or data loss) or there is a forgery, and so on, so a result returned when trying to obtain the IMEI may be that the IMEI does not exist or is illegal, and in order to ensure that the restart time adjustment value is successfully calculated, the IMSI may be continuously obtained. The first preset position and the second preset position may be the same or different, and this embodiment is not particularly limited.
And step 203, calculating a restart time adjustment value according to the acquired numerical value according to a preset algorithm.
And calculating the numerical value on the preset position in the acquired IMEI or IMSI of the mobile terminal according to a preset algorithm, and taking the calculation result as a restart time adjustment value. It should be noted that the preset algorithm is not limited in this embodiment. For example, the numerical value at the preset position may be directly used as the restart time adjustment value, or the numerical value at the preset position may be subjected to any operation of addition, subtraction, multiplication and division, and the operation result may be used as the restart time adjustment value, or a preset algorithm may be defined as any function of an independent variable, the numerical value at the preset position may be used as a value of the independent variable and brought into the function, and the function value may be used as the restart time adjustment value. Preferably, the modulus operation is performed on the obtained numerical value; and taking the modulus operation result as a restart time adjustment value. For example, a remainder obtained by dividing a value of a preset position in the IMEI or IMSI of the mobile terminal by 60 is used as a restart time adjustment value, for example, if the last two digits in the IMEI or IMSI of the mobile terminal have a value of 75, the calculated restart time adjustment value is 15.
It can be understood that different mobile terminals may have different storage manners for the IMEI or the IMSI, and for convenience of calculation, the obtained data corresponding to the IMEI or the IMSI may be converted into a decimal form, and then the restart time adjustment value is calculated according to the numerical value in the decimal form.
And 204, adjusting the preset initial restart time according to the restart time adjustment value to obtain the target restart time.
And step 205, controlling the mobile terminal to execute a restart operation according to the target restart time.
According to the restart control method of the mobile terminal provided by the embodiment, the numerical value on the preset position in the International Mobile Equipment Identity (IMEI) or International Mobile Subscriber Identity (IMSI) of the mobile terminal is obtained, and the restart time adjustment value is calculated according to the obtained numerical value according to the preset algorithm.
Fig. 3 is a schematic flow chart of another restart control method for a mobile terminal according to an embodiment of the present invention, where the embodiment is optimized based on the above embodiment, and in this embodiment, the step "adjust a preset initial restart time according to the restart time adjustment value to obtain a target restart time" is further optimized as follows: and delaying or pre-setting the initial restart time in advance according to the restart time adjustment value to obtain the target restart time.
Correspondingly, as shown in fig. 3, the method of the present embodiment includes the following steps:
step 301, obtaining a preset initial restart time of the mobile terminal.
Step 302, obtaining a value at a preset position in the IMEI or IMSI of the mobile terminal.
And 303, calculating a restart time adjusting value according to the acquired numerical value according to a preset algorithm.
And 304, delaying or pre-setting the initial restart time in advance according to the restart time adjustment value to obtain the target restart time.
Preferably, the present step may comprise: judging the parity of the restart time adjustment value; when the restart time adjustment value is an odd number, delaying the preset initial restart time according to the restart time adjustment value, and when the restart time adjustment value is an even number, advancing the preset initial restart time according to the restart time adjustment value; or when the restart time adjustment value is an odd number, the preset initial restart time is advanced according to the restart time adjustment value, and when the restart time adjustment value is an even number, the preset initial restart time is delayed according to the restart time adjustment value. Illustratively, the calculated restart time adjustment value is 15 minutes, the preset initial restart time of the mobile terminal is 5 o ' clock in the morning, and the preset initial restart time of the mobile terminal is advanced or delayed by 15 minutes, so that the adjusted target restart time is 5 o ' clock by 15 minutes or 4 o ' clock by 45 minutes.
And 305, controlling the mobile terminal to execute restarting operation according to the target restarting time.
The restart control method for the mobile terminal according to this embodiment delays or advances the preset initial restart time according to the restart time adjustment value to obtain the target restart time, and performs different adjustments on the preset initial restart time according to the parity of the restart time adjustment value, so as to further restart the mobile terminal at different time points, thereby effectively avoiding DOS attacks on the network caused by simultaneous restart of a large number of mobile terminals.
Fig. 4 is a block diagram of a restart control apparatus of a mobile terminal according to an embodiment of the present invention, where the restart control apparatus may be implemented by software and/or hardware, and may be generally integrated in the mobile terminal, and may control a touch screen of the mobile terminal by executing a touch screen control method of the mobile terminal. As shown in fig. 4, the apparatus includes an initial restart time acquisition module 401, a restart time adjustment value calculation module 402, an initial restart time adjustment module 403, and a restart operation control module 404.
The initial restart time obtaining module 401 is configured to obtain a preset initial restart time of the mobile terminal; a restart time adjustment value calculation module 402, configured to calculate a restart time adjustment value according to the identity information of the mobile terminal; an initial restart time adjustment module 403, configured to adjust the preset initial restart time according to the restart time adjustment value, to obtain a target restart time; and a restart operation control module 404, configured to control the mobile terminal to execute a restart operation according to the target restart time.
The restart control device for the mobile terminal provided by this embodiment enables the mobile terminal to perform a restart operation according to a target restart time, thereby not only effectively reducing the power consumption of the mobile terminal and prolonging the service life of a battery, but also timely releasing a system memory, accelerating the operation speed of the mobile terminal and improving the performance of the mobile terminal, and the target restart time is determined according to the identity information of the mobile terminal, thereby effectively avoiding the influence on a mobile network caused by the simultaneous restart of a large number of mobile terminals.
On the basis of the above embodiment, the restart time adjustment value calculating module 402 includes:
a preset position value obtaining unit, configured to obtain a value at a preset position in an International Mobile Equipment Identity (IMEI) or an International Mobile Subscriber Identity (IMSI) of the mobile terminal;
and the restart time adjustment value calculating unit is used for calculating the restart time adjustment value according to the acquired numerical value according to a preset algorithm.
On the basis of the above embodiment, the preset position value obtaining unit is configured to:
attempting to acquire a value at a first preset position in an IMEI of the mobile terminal;
and if the IMEI does not exist or is illegal, acquiring a numerical value at a second preset position in the IMSI of the mobile terminal.
On the basis of the above embodiment, the restart time adjustment value calculation unit is configured to:
performing modulo operation on the obtained numerical value;
and taking the modulus operation result as a restart time adjustment value.
On the basis of the above embodiment, the initial restart time adjustment module 403 includes:
and the initial restart time adjusting unit is used for delaying or advancing the preset initial restart time according to the restart time adjusting value to obtain the target restart time.
On the basis of the foregoing embodiment, the initial restart time adjustment unit is configured to:
judging the parity of the restart time adjustment value;
when the restart time adjustment value is an odd number, delaying the preset initial restart time according to the restart time adjustment value, and when the restart time adjustment value is an even number, advancing the preset initial restart time according to the restart time adjustment value; or when the restart time adjustment value is an odd number, the preset initial restart time is advanced according to the restart time adjustment value, and when the restart time adjustment value is an even number, the preset initial restart time is delayed according to the restart time adjustment value.
The embodiment of the invention provides a mobile terminal, and the mobile terminal can be integrated with the restart control device of the mobile terminal provided by the embodiment of the invention. The mobile terminal comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the computer program to realize the following steps: acquiring preset initial restart time of the mobile terminal; calculating a restart time adjustment value according to the identity information of the mobile terminal; adjusting the preset initial restart time according to the restart time adjustment value to obtain a target restart time; and controlling the mobile terminal to execute restarting operation according to the target restarting time.
Fig. 5 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention. As shown in fig. 5, the mobile terminal may include: a housing (not shown), a memory 501, a Central Processing Unit (CPU) 502 (also called a processor, hereinafter referred to as CPU), a circuit board (not shown), and a power circuit (not shown). The circuit board is arranged in a space enclosed by the shell; the CPU502 and the memory 501 are provided on the circuit board; the power supply circuit is used for supplying power to each circuit or device of the mobile terminal; the memory 501 is used for storing executable program codes; the CPU502 executes a program corresponding to the executable program code by reading the executable program code stored in the memory 501.
The mobile terminal further includes: peripheral interface 503, RF (Radio Frequency) circuitry 505, audio circuitry 506, speakers 511, power management chip 508, input/output (I/O) subsystems 505, touch screen 512, other input/control devices 510, and external ports 504, which communicate via one or more communication buses or signal lines 507.
It should be understood that the illustrated mobile terminal 500 is merely one example of a mobile terminal and that the mobile terminal 500 may have more or fewer components than shown, may combine two or more components, or may have a different configuration of components. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
The following describes in detail the mobile terminal for controlling restart provided in this embodiment, which takes a mobile phone as an example.
A memory 501, the memory 501 being accessible by the CPU502, the peripheral interface 503, and the like, the memory 501 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices, or other volatile solid state storage devices.
A peripheral interface 503, the peripheral interface 503 may connect input and output peripherals of the device to the CPU502 and the memory 501.
An I/O subsystem 509, which I/O subsystem 509 may connect input and output peripherals on the device, such as a touch screen 512 and other input/control devices 510, to the peripheral interface 503. The I/O subsystem 509 may include a display controller 5091 and one or more input controllers 5092 for controlling other input/control devices 510. Where one or more input controllers 5092 receive electrical signals from or send electrical signals to other input/control devices 510, the other input/control devices 510 may include physical buttons (push buttons, rocker buttons, etc.), dials, slide switches, joysticks, click wheels. It is noted that the input controller 5092 may be connected to any one of: a keyboard, an infrared port, a USB interface, and a pointing device such as a mouse.
A touch screen 512, which is an input interface and an output interface between the user terminal and the user, displays visual output to the user, which may include graphics, text, icons, video, and the like.
The display controller 5091 in the I/O subsystem 509 receives electrical signals from the touch screen 512 or transmits electrical signals to the touch screen 512. The touch screen 512 detects a contact on the touch screen, and the display controller 5091 converts the detected contact into an interaction with a user interface object displayed on the touch screen 512, that is, implements a human-computer interaction, and the user interface object displayed on the touch screen 512 may be an icon for running a game, an icon networked to a corresponding network, or the like. It is worth mentioning that the device may also comprise a light mouse, which is a touch sensitive surface that does not show visual output, or an extension of the touch sensitive surface formed by the touch screen.
The RF circuit 505 is mainly used to establish communication between the mobile phone and the wireless network (i.e., network side), and implement data reception and transmission between the mobile phone and the wireless network. Such as sending and receiving short messages, e-mails, etc. In particular, the RF circuitry 505 receives and transmits RF signals, also referred to as electromagnetic signals, through which the RF circuitry 505 converts electrical signals to or from electromagnetic signals and communicates with communication networks and other devices. The RF circuitry 505 may include known circuitry for performing these functions including, but not limited to, an antenna system, an RF transceiver, one or more amplifiers, a tuner, one or more oscillators, a digital signal processor, a CODEC (CODEC) chipset, a Subscriber Identity Module (SIM), and so forth.
The audio circuit 506 is mainly used to receive audio data from the peripheral interface 503, convert the audio data into an electric signal, and transmit the electric signal to the speaker 511.
The speaker 511 is used for restoring the voice signal received by the handset from the wireless network through the RF circuit 505 to sound and playing the sound to the user.
And a power management chip 508 for supplying power and managing power to the hardware connected to the CPU502, the I/O subsystem, and the peripheral interfaces.
The restart control device of the mobile terminal and the mobile terminal provided in the above embodiments may execute the restart control method of the mobile terminal provided in any embodiment of the present invention, and have corresponding functional modules and beneficial effects for executing the method. For technical details that are not described in detail in the above embodiments, reference may be made to a restart control method of a mobile terminal provided in any embodiment of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (11)

1. A restart control method of a mobile terminal, comprising:
acquiring preset initial restart time of the mobile terminal;
calculating a restart time adjustment value according to the unique identity information of the mobile terminal, wherein the identity information comprises an International Mobile Equipment Identity (IMEI), an International Mobile Subscriber Identity (IMSI) or a serial number of a device in the mobile terminal;
adjusting the preset initial restart time according to the restart time adjustment value to obtain a target restart time;
controlling the mobile terminal to execute a restarting operation according to the target restarting time;
adjusting the preset initial restart time according to the restart time adjustment value to obtain a target restart time, including:
and delaying or advancing the preset initial restart time according to the restart time adjustment value to obtain the target restart time.
2. The method of claim 1, wherein the calculating a restart time adjustment value according to the identity information of the mobile terminal comprises:
acquiring a numerical value at a preset position in an International Mobile Equipment Identity (IMEI) or an International Mobile Subscriber Identity (IMSI) of the mobile terminal;
and calculating a restart time adjustment value according to the acquired numerical value according to a preset algorithm.
3. The method of claim 2, wherein obtaining the value at the predetermined location in the IMSI of the mobile terminal comprises:
attempting to acquire a value at a first preset position in an IMEI of the mobile terminal;
and if the IMEI does not exist or is illegal, acquiring a numerical value at a second preset position in the IMSI of the mobile terminal.
4. A method according to claim 2 or 3, wherein calculating a restart time adjustment value from the acquired values according to a preset algorithm comprises:
performing modulo operation on the obtained numerical value;
and taking the modulus operation result as a restart time adjustment value.
5. The method of claim 1, wherein delaying or advancing the preset initial restart time by the restart time adjustment value comprises:
judging the parity of the restart time adjustment value;
when the restart time adjustment value is an odd number, delaying the preset initial restart time according to the restart time adjustment value, and when the restart time adjustment value is an even number, advancing the preset initial restart time according to the restart time adjustment value; or when the restart time adjustment value is an odd number, the preset initial restart time is advanced according to the restart time adjustment value, and when the restart time adjustment value is an even number, the preset initial restart time is delayed according to the restart time adjustment value.
6. A restart control apparatus of a mobile terminal, comprising:
the initial restart time acquisition module is used for acquiring the preset initial restart time of the mobile terminal;
the restart time adjustment value calculation module is used for calculating a restart time adjustment value according to the unique identity information of the mobile terminal, wherein the identity information comprises an International Mobile Equipment Identity (IMEI), an International Mobile Subscriber Identity (IMSI) or a serial number of a device in the mobile terminal;
the initial restart time adjusting module is used for adjusting the preset initial restart time according to the restart time adjusting value to obtain target restart time;
the restart operation control module is used for controlling the mobile terminal to execute restart operation according to the target restart time;
wherein the initial restart time adjustment module comprises:
and the initial restart time adjusting unit is used for delaying or advancing the preset initial restart time according to the restart time adjusting value to obtain the target restart time.
7. The apparatus of claim 6, wherein the restart time adjustment value calculation module comprises:
a preset position value obtaining unit, configured to obtain a value at a preset position in an International Mobile Equipment Identity (IMEI) or an International Mobile Subscriber Identity (IMSI) of the mobile terminal;
and the restart time adjustment value calculating unit is used for calculating the restart time adjustment value according to the acquired numerical value according to a preset algorithm.
8. The apparatus according to claim 6, wherein the preset position value obtaining unit is configured to:
attempting to acquire a value at a first preset position in an IMEI of the mobile terminal;
and if the IMEI does not exist or is illegal, acquiring a numerical value at a second preset position in the IMSI of the mobile terminal.
9. The apparatus according to claim 7 or 8, wherein the restart time adjustment value calculating unit is configured to:
performing modulo operation on the obtained numerical value;
and taking the modulus operation result as a restart time adjustment value.
10. The apparatus of claim 6, wherein the initial restart time adjustment unit is configured to:
judging the parity of the restart time adjustment value;
when the restart time adjustment value is an odd number, delaying the preset initial restart time according to the restart time adjustment value, and when the restart time adjustment value is an even number, advancing the preset initial restart time according to the restart time adjustment value; or when the restart time adjustment value is an odd number, the preset initial restart time is advanced according to the restart time adjustment value, and when the restart time adjustment value is an even number, the preset initial restart time is delayed according to the restart time adjustment value.
11. A mobile terminal comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor when executing the computer program implements the steps of:
acquiring preset initial restart time of the mobile terminal;
calculating a restart time adjustment value according to the unique identity information of the mobile terminal, wherein the identity information comprises an International Mobile Equipment Identity (IMEI), an International Mobile Subscriber Identity (IMSI) or a serial number of a device in the mobile terminal;
adjusting the preset initial restart time according to the restart time adjustment value to obtain a target restart time;
controlling the mobile terminal to execute a restarting operation according to the target restarting time;
adjusting the preset initial restart time according to the restart time adjustment value to obtain a target restart time, including:
and delaying or advancing the preset initial restart time according to the restart time adjustment value to obtain the target restart time.
CN201611186902.4A 2016-12-20 2016-12-20 Mobile terminal restart control method and device and mobile terminal Active CN106791090B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611186902.4A CN106791090B (en) 2016-12-20 2016-12-20 Mobile terminal restart control method and device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611186902.4A CN106791090B (en) 2016-12-20 2016-12-20 Mobile terminal restart control method and device and mobile terminal

Publications (2)

Publication Number Publication Date
CN106791090A CN106791090A (en) 2017-05-31
CN106791090B true CN106791090B (en) 2020-03-10

Family

ID=58894206

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611186902.4A Active CN106791090B (en) 2016-12-20 2016-12-20 Mobile terminal restart control method and device and mobile terminal

Country Status (1)

Country Link
CN (1) CN106791090B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107943270B (en) * 2017-11-21 2020-09-01 Oppo广东移动通信有限公司 Application service control method and device, storage medium and mobile terminal
CN109445994A (en) * 2018-11-12 2019-03-08 Oppo广东移动通信有限公司 Starting processing method, device, terminal device and storage medium
CN111093247B (en) * 2019-11-22 2022-02-18 上海五零盛同信息科技有限公司 Discrete network access method, system, medium and device suitable for narrow-band Internet of things terminal device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8959402B2 (en) * 2012-10-04 2015-02-17 Qualcomm Incorporated Method for preemptively restarting software in a multi-subsystem mobile communication device to increase mean time between failures
CN103345401A (en) * 2013-07-30 2013-10-09 禹芙蓉 Intelligent mobile phone and performance optimization method for same
JP5703352B2 (en) * 2013-08-29 2015-04-15 三菱電機インフォメーションシステムズ株式会社 Application system, portable terminal, server computer, and computer program
CN105848304A (en) * 2016-04-26 2016-08-10 上海斐讯数据通信技术有限公司 Method for restarting wireless transmission device

Also Published As

Publication number Publication date
CN106791090A (en) 2017-05-31

Similar Documents

Publication Publication Date Title
CN107844342B (en) Control method and device for keeping application program alive, storage medium and mobile terminal
US11051272B2 (en) Method for arranging broadcast message in operating system and electronic device
CN106817753B (en) Method and device for saving electricity by switching background gray scales and mobile terminal
CN107831886B (en) Control method and device for associated starting application, storage medium and intelligent terminal
US11160052B2 (en) Method for adjusting broadcast receiver queue, storage medium and electronic device
CN106713653B (en) Audio and video playing control method and device and terminal
CN107844341B (en) Process starting control method and device, storage medium and mobile terminal
EP3855715B1 (en) Display control method and related product
CN106791090B (en) Mobile terminal restart control method and device and mobile terminal
CN108093451B (en) Random access control method, device, storage medium and mobile terminal
CN106776259B (en) Mobile terminal frame rate detection method and device and mobile terminal
US20200007578A1 (en) Broadcast-controlling method in operating system and mobile terminal
CN108933968B (en) Message format conversion method and device, storage medium and android terminal
CN114615373A (en) Parameter adjustment method and terminal for audio service
CN107291302B (en) Control method and device of touch screen, storage medium and terminal
CN107885588B (en) Application service control method and device, storage medium and mobile terminal
WO2018161607A1 (en) Broadcasting control method and apparatus, and mobile terminal and storage medium
CN106937371B (en) Method and device for saving electricity by switching background gray scales and mobile terminal
EP3592005B1 (en) Broadcast receiver control method and apparatus, and mobile terminal
CN106844070B (en) Broadcast control method and device and mobile terminal
CN109614248B (en) Message compression method, device, storage medium and terminal equipment
CN106708637B (en) Method, device and terminal for sending startup broadcast
CN106936828B (en) Method, device and terminal for adjusting broadcast receiver queue
EP3373513B1 (en) Method for monitoring broadcast message and terminal
CN106936996B (en) Method, device and terminal for sending shutdown broadcast

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: Guangdong Opel Mobile Communications Co., Ltd.

GR01 Patent grant
GR01 Patent grant