CN109660657B - Application program control method and device - Google Patents

Application program control method and device Download PDF

Info

Publication number
CN109660657B
CN109660657B CN201811419672.0A CN201811419672A CN109660657B CN 109660657 B CN109660657 B CN 109660657B CN 201811419672 A CN201811419672 A CN 201811419672A CN 109660657 B CN109660657 B CN 109660657B
Authority
CN
China
Prior art keywords
application program
mode
time
preset application
mobile terminal
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
CN201811419672.0A
Other languages
Chinese (zh)
Other versions
CN109660657A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201811419672.0A priority Critical patent/CN109660657B/en
Publication of CN109660657A publication Critical patent/CN109660657A/en
Application granted granted Critical
Publication of CN109660657B publication Critical patent/CN109660657B/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/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • 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
    • 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)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

The invention provides an application program control method and device. The method comprises the following steps: when the fact that the application program operated by the foreground of the mobile terminal is a preset application program is monitored, acquiring the current time of the mobile terminal; judging whether the current time is in a target user time period or not; if so, displaying a mode selection window on a display interface of the mobile terminal; the mode selection window comprises a first mode corresponding to the preset application program; and controlling the preset application program to be in a foreground running state under the condition that the user selects the first mode. The invention can avoid the switching of the application program operated by the foreground, avoid the interruption of the reading process, increase the reading time of the user and improve the reading efficiency of the user.

Description

Application program control method and device
Technical Field
The present invention relates to the field of mobile communications technologies, and in particular, to a method and an apparatus for controlling an application program.
Background
With the development of mobile phone technology and mobile internet technology, reading with a mobile phone has become an option for many people.
However, since the mobile phone is often installed with social software or news information software, the user is often interfered by the push messages of the APPs (applications) for a short time in the process of reading by using the APPs (applications), and even if message pushing is shielded, the user can switch to the APPs after reading for a short time to check the social content update or news update information, so that reading is interrupted, and reading time is short and reading efficiency is low.
Disclosure of Invention
The embodiment of the invention provides an application program control method and device, and aims to solve the problems that reading is interrupted, reading time is short and reading efficiency is low due to the fact that social content update or news update information is checked in the reading process in the prior art.
In order to solve the above technical problem, the embodiment of the present invention is implemented as follows:
in a first aspect, an embodiment of the present invention provides an application program control method, including: when the fact that the application program operated by the foreground of the mobile terminal is a preset application program is monitored, acquiring the current time of the mobile terminal; judging whether the current time is in a target user time period or not; if so, displaying a mode selection window on a display interface of the mobile terminal; the mode selection window comprises a first mode corresponding to the preset application program; and controlling the preset application program to be in a foreground running state under the condition that the user selects the first mode.
In a second aspect, an embodiment of the present invention provides an application control apparatus, including: the current time acquisition module is used for acquiring the current time of the mobile terminal when the fact that the application program operated by the foreground of the mobile terminal is a preset application program is monitored; the target time interval judging module is used for judging whether the current time is in a target user time interval or not; the selection window display module is used for displaying a mode selection window on a display interface of the mobile terminal under the condition that the current time is within the target user time period; the mode selection window comprises a first mode corresponding to the preset application program; and the first running state control module is used for controlling the preset application program to be in a foreground running state under the condition that the user selects the first mode.
In a third aspect, an embodiment of the present invention provides a mobile terminal, including a processor, a memory, and a computer program stored on the memory and operable on the processor, where the computer program, when executed by the processor, implements the steps of the application control method according to any one of the above descriptions.
In a fourth aspect, the embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the application program control method according to any one of the above.
In the embodiment of the invention, when the application program running on the foreground of the mobile terminal is monitored to be the preset application program, the current time of the mobile terminal is acquired, and the mode selection window is displayed on the display interface of the mobile terminal under the condition that the current time is in the target user time interval, wherein the mode selection window comprises the first mode corresponding to the preset application program.
Drawings
FIG. 1 is a flowchart illustrating steps of a method for controlling an application according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating steps of a method for controlling an application according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an application control apparatus according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an application control apparatus according to an embodiment of the present invention;
fig. 5 is a block diagram of a mobile terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example one
Referring to fig. 1, a flowchart illustrating steps of an application control method according to an embodiment of the present invention is shown, where the application control method may be applied to a mobile terminal, and specifically may include the following steps:
step 101: and when the application program operated by the foreground of the mobile terminal is monitored to be a preset application program, acquiring the current time of the mobile terminal.
In the embodiment of the present invention, the mobile terminal may be a mobile electronic device such as a mobile phone, a PDA (Personal Digital Assistant), a tablet computer, and the like.
The preset application may be a reading application, a video application, and the like installed in the mobile terminal, which is not limited in the embodiment of the present invention.
An application program monitoring program can be preset in the mobile terminal system so as to monitor the application program running in the foreground in real time. Of course, other methods may also be used to monitor the application program running in the foreground of the mobile terminal, which is not limited in this embodiment of the present invention.
When the application running in the foreground of the mobile terminal is a preset application, the current time of the mobile terminal may be obtained, and step 102 is executed.
Step 102: and judging whether the current time is in a target user time interval.
The target user time interval refers to a time interval when the user often uses a preset application program, for example, 21: 00-22: 30 at night, and the target user time interval is not limited in the embodiment of the present invention.
In the present invention, the target user time period corresponding to the user can be determined by the historical data of the user, and specifically, the following embodiments will be described in detail, which are not repeated herein.
After the current time of the mobile terminal and the target user time period are obtained, whether the current time is in the target user time period or not can be judged, for example, the current time is 21:44, and under the condition that the target user time period is 21: 00-22: 30, the current time is in the target user time period; and at the target user period 22: and under the condition of 00-23: 00, the current time is out of the target user time interval.
In case the current time is within the target user period, step 103 is performed.
Step 103: and displaying a mode selection window on a display interface of the mobile terminal.
The first mode is a forced reading mode, and under the condition that the reading mode of the preset application program is the forced reading mode, when the preset application program is operated in the foreground, the switching of the application program operated in the foreground can not be carried out, so that the problem that the reading time of a user is short due to the switching of the preset application program operated in the foreground is avoided.
The mode selection window may be a window popped up on a display interface of the mobile terminal, and the mode selection window includes a first mode corresponding to a preset application program. Selection buttons of "first mode" and "second mode" may be displayed in the mode selection window. Of course, a text of "whether to open the first mode" may also be displayed in the mode selection window, and corresponding selection buttons of "yes" and "no" and the like are displayed, and as for the interface layout of the mode selection window, the method and the device may be determined according to actual situations, which is not limited in this embodiment of the present invention.
Under the condition that the current time of the mobile terminal is within the target user time period, a mode selection window can be displayed on a display interface of the mobile terminal, and the user can open the first mode according to whether the mode selection window is opened or not, and step 104 is executed.
Step 104: and controlling the preset application program to be in a foreground running state under the condition that the user selects the first mode.
Under the condition that the user selects the first mode, the preset application program is controlled to be in a foreground running state, namely, under the first mode, the switching of the foreground running application program cannot be carried out, and the interruption of the process of reading or watching the video is avoided.
According to the application program control method provided by the embodiment of the invention, when the application program running on the foreground of the mobile terminal is monitored to be the preset application program, the current time of the mobile terminal is obtained, and the mode selection window is displayed on the display interface of the mobile terminal under the condition that the current time is in the target user time interval, wherein the mode selection window comprises the first mode corresponding to the preset application program, and under the condition that the user selects the first mode, the preset application program is controlled to be in the foreground running state, so that the switching of the application program running on the foreground can be avoided, the reading process is prevented from being interrupted, the reading time of the user is increased, and the reading efficiency of the user is improved.
Example two
Referring to fig. 2, a flowchart illustrating steps of an application control method according to an embodiment of the present invention is shown, where the application control method may be applied to a mobile terminal, and specifically may include the following steps:
step 201: and acquiring historical record information of the preset application program operated by the user for preset times from a preset database.
In the embodiment of the present invention, the mobile terminal may be a mobile electronic device such as a mobile phone, a PDA (Personal Digital Assistant), a tablet computer, and the like.
The preset application may be a reading application, a video application, and the like installed in the mobile terminal, which is not limited in the embodiment of the present invention.
The mobile terminal system can preset historical record information of a data storage user, wherein the historical record information comprises the starting time and the closing time of a preset application program.
In the embodiment of the present invention, history information of the user may be obtained from a preset data database, where the history information includes records of start time and close time corresponding to preset times of the same preset application program. The preset times can be 5 times, 10 times, 30 times and the like, the starting time and the closing time of the preset application program with the preset times are taken as samples, generally, the more the number is, the more accurate the conclusion is obtained, and the embodiment of the invention does not specifically limit the specific numerical value of the preset times.
After obtaining the history information of the preset application program executed by the user for the preset number of times from the preset database, step 202 is performed.
Step 202: and dividing the time period of the user running the preset application program according to each starting time and each closing time.
After the history information of the preset application program operated by the user for the preset times is acquired in the preset database, the time period for the user to operate the preset application program may be divided according to each start time and each close time corresponding to the preset application program, and specifically, the dividing manner may be determined according to an actual situation, which is not limited in this embodiment of the present invention.
After the period of time for the user to run the preset application program is divided, step 203 is performed.
Step 203: and determining the time interval of the target user according to the time interval division result.
After the time interval division is performed, a target user time interval corresponding to the user may be determined according to a time interval division result, for example, history information of the preset application program a run by the user includes 3 times of start time of 21:00 and 3 times of stop time of 22:00 corresponding to the start time; the 10-time starting time is 21:30, and the closing time corresponding to the 10-time starting time is 22: 00; the 5-time starting time is 21:30, and the closing time corresponding to the 5-time starting time is 22:30, so that the time interval 21: 30-22: 00 can be determined as the target user time interval.
It should be understood that the above examples are only examples for better understanding of the technical solutions of the embodiments of the present invention, and are not to be taken as the only limitation of the embodiments of the present invention.
After the target user period is determined, step 204 is performed.
Step 204: and when the application program operated by the foreground of the mobile terminal is monitored to be a preset application program, acquiring the current time of the mobile terminal.
An application program monitoring program can be preset in the mobile terminal system so as to monitor the application program running in the foreground in real time. Of course, other methods may also be used to monitor the application program running in the foreground of the mobile terminal, which is not limited in this embodiment of the present invention.
When the application running in the foreground of the mobile terminal is the preset application, the current time of the mobile terminal may be obtained, and step 205 is executed.
Step 205: and judging whether the current time is in a target user time interval.
The target user time interval refers to a time interval when the user often uses a preset application program, for example, 21: 00-22: 30 at night, and the target user time interval is not limited in the embodiment of the present invention.
In the present invention, the target user time period corresponding to the user can be determined by the historical data of the user, and specifically, the following embodiments will be described in detail, which are not repeated herein.
After the current time of the mobile terminal and the target user time period are obtained, whether the current time is in the target user time period or not can be judged, for example, the current time is 21:44, and under the condition that the target user time period is 21: 00-22: 30, the current time is in the target user time period; and at the target user period 22: and under the condition of 00-23: 00, the current time is out of the target user time interval.
In case the current time of the mobile terminal is not within the target user period, step 206 is performed.
In case the current time of the mobile terminal is within the target user period, step 208 is performed.
Step 206: monitoring whether there is a selection operation of the first mode performed by the user.
In an embodiment of the invention, the first mode may be manually turned on by the user. The monitoring program of the first mode is preset in the mobile terminal system, and the selection operation of the first mode executed by a user can be monitored in real time.
And if the current time of the mobile terminal is not in the target user time interval, monitoring whether the selection operation of the first mode executed by the user exists, and if so, executing step 207.
Step 207: and controlling the preset application program to be in a foreground running state.
And under the condition that the selection operation of the first mode executed by the user does not exist, the preset application program is operated in the foreground in the second mode, wherein the second mode refers to a normal reading mode, namely, the switching of the application program operated in the foreground can be executed in the process of operating the preset application program in the foreground.
Under the condition that the selection operation of the first mode executed by the user exists, the preset application program can be controlled to be in a foreground running state, namely, under the first mode, the application program running in the foreground can not be switched, and the interruption of the reading behavior or the video watching behavior of the user is avoided.
Step 208: and displaying a mode selection window on a display interface of the mobile terminal.
The first mode is a forced reading mode, and under the condition that the reading mode of the preset application program is the forced reading mode, when the preset application program is operated in the foreground, the switching of the application program operated in the foreground can not be carried out, so that the problem that the reading time of a user is short due to the switching of the preset application program operated in the foreground is avoided.
The mode selection window may be a window popped up on a display interface of the mobile terminal, and the mode selection window includes a first mode corresponding to a preset application program. Selection buttons of "first mode" and "second mode" may be displayed in the mode selection window. Of course, a text of "whether to open the first mode" may also be displayed in the mode selection window, and corresponding selection buttons of "yes" and "no" and the like are displayed, and as for the interface layout of the mode selection window, the method and the device may be determined according to actual situations, which is not limited in this embodiment of the present invention.
Under the condition that the current time of the mobile terminal is within the target user time period, a mode selection window may be displayed on a display interface of the mobile terminal, and the user may open the first mode according to whether the mode selection window is open, and step 210 is performed.
Step 209: and acquiring the target duration set by the user according to the time condition.
In the embodiment of the present invention, a time condition is further included in the mode selection window, and the time condition refers to a holding time period of the first mode, and may be set by a user according to an actual condition. That is, a time period required to maintain the first mode, that is, a target time period is input in the mode selection window by the user.
The mobile terminal may acquire a target duration set by the user according to the time condition and perform step 210.
Step 210: and under the condition that the user selects the first mode, controlling the preset application program to be in a foreground running state within the target duration.
Under the condition that the user selects the first mode, the preset application program is controlled to be in a foreground running state, namely, under the first mode, the switching of the foreground running application program cannot be carried out, and the interruption of the process of reading or watching the video is avoided.
After controlling the preset application program to be in the foreground running state within the target duration, step 211 is executed.
Step 211: and under the condition that the running time of the preset application program in the foreground reaches the target duration, controlling the mode of the preset application program to be switched from the first mode to the second mode.
In the embodiment of the present invention, the second mode refers to a normal reading mode, that is, in the normal reading mode, during the process of running the preset application program in the foreground, switching of other application programs may be performed, for example, the application program running in the foreground is switched from the preset application program a to an application program B.
And under the condition that the running time of the preset application program in the foreground reaches the target duration, controlling the mode of the preset application program to be switched from the first mode to the second mode, and executing the step 212.
Step 212: and judging whether the application program operated by the foreground of the mobile terminal is changed or not within a preset time length after the mode of the preset application program is switched from the first mode to the second mode.
In the embodiment of the present invention, the preset time period may be half an hour, 10 minutes, 5 minutes, or the like, which is not limited in the embodiment of the present invention.
And judging whether the application program operated by the foreground of the mobile terminal is changed or not, namely judging whether the application program operated by the foreground of the mobile terminal is switched or not within a preset duration for switching the mode of the preset application program from the first mode to the second mode.
In case that the foreground-running application is not switched, i.e. the foreground-running application is still the preset application, step 213 is executed.
Step 213: and controlling the mode of the preset application program to be switched to the first mode, and controlling the preset application program to be in a foreground running state within the target duration.
And under the condition that the application program operated in the foreground is not switched, controlling the mode of the preset application program to be switched to the first mode, and controlling the preset application program to be in the foreground operating state in the next target time length.
The application program control method provided by the embodiment of the invention has the beneficial effects that the application program control method disclosed in the first embodiment can be switched to the second mode (namely the normal reading mode) after the target duration of the application program in the foreground running state is preset, and the user selects whether to open other APPs, so that the user can check the push information of other APPs after completing one reading unit, and the user reading time is prolonged and the user experience is improved.
EXAMPLE III
Referring to fig. 3, a schematic structural diagram of an application control device according to an embodiment of the present invention is shown, which may specifically include:
a current time obtaining module 310, configured to obtain a current time of the mobile terminal when it is monitored that an application program running in a foreground of the mobile terminal is a preset application program; a target time interval judgment module 320, configured to judge whether the current time is within a target user time interval; a selection window displaying module 330, configured to display a mode selection window on a display interface of the mobile terminal when the current time is within the target user time period; the mode selection window comprises a first mode corresponding to the preset application program; the first running state control module 340 is configured to control the preset application program to be in a foreground running state when the user selects the first mode.
The application program control device provided by the embodiment of the invention acquires the current time of the mobile terminal when monitoring that the application program running on the foreground of the mobile terminal is the preset application program, and displays the mode selection window on the display interface of the mobile terminal under the condition that the current time is within the target user time interval, wherein the mode selection window comprises the first mode corresponding to the preset application program.
Example four
Referring to fig. 4, a schematic structural diagram of an application control device according to an embodiment of the present invention is shown, which may specifically include:
a history obtaining module 410, configured to obtain history information of the preset application program executed by the user for a preset number of times from a preset database; the historical record information comprises the starting time and the closing time of the preset application program; a time interval dividing module 420, configured to divide a time interval in which the user runs the preset application program according to each of the start times and the stop times; a target user time interval determining module 430, configured to determine the target user time interval according to the time interval division result; a current time obtaining module 440, configured to obtain a current time of the mobile terminal when it is monitored that the application program running in the foreground of the mobile terminal is a preset application program; a target time interval judging module 450, configured to judge whether the current time is within a target user time interval; a selecting operation monitoring module 460, configured to monitor whether there is a selecting operation of the first mode performed by the user when the current time is not within the target user time period; a second running state control module 470, configured to control the preset application program to be in a foreground running state when there is a selection operation of the first mode performed by the user; a selection window displaying module 480, configured to display a mode selection window on a display interface of the mobile terminal when the current time is within the target user time period; the mode selection window comprises a first mode corresponding to the preset application program; a target duration obtaining module 490, configured to obtain a target duration set by the user according to the time condition; a first running state control module 410, configured to control the preset application program to be in a foreground running state when the user selects the first mode; the second mode switching module 411 is configured to control the mode of the preset application program to be switched from the first mode to a second mode when the time that the preset application program runs in the foreground reaches the target duration; a foreground program determining module 412, configured to determine whether an application program running in a foreground of the mobile terminal changes within a preset duration after the mode of the preset application program is switched from the first mode to the second mode; a third running state control module 413, configured to control, when the application running in the foreground of the mobile terminal is not changed, the mode of the preset application to be switched to the first mode, and control the preset application to be in the foreground running state within the target duration.
Preferably, the first operation state control module 410 includes:
a first operation state control sub-module 4101, configured to control the preset application to be in a foreground operation state within the target duration.
The application program control device provided by the embodiment of the invention has the beneficial effects that the application program control device shown in the third embodiment of the invention can be switched to the second mode (namely the normal reading mode) after the target duration of the application program in the foreground running state is preset, and the user selects whether to open other APPs, so that the user can check the push information of other APPs after completing one reading unit, and the use experience of the user is improved while the reading time of the user is increased.
EXAMPLE five
Referring to fig. 5, a hardware structure diagram of a mobile terminal for implementing various embodiments of the present invention is shown.
The mobile terminal 500 includes, but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, and a power supply 511. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 5 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
A processor 510, configured to obtain a current time of the mobile terminal when it is monitored that an application running in a foreground of the mobile terminal is a preset application; judging whether the current time is in a target user time period or not; if so, displaying a mode selection window on a display interface of the mobile terminal; the mode selection window comprises a first mode corresponding to the preset application program; and controlling the preset application program to be in a foreground running state under the condition that the user selects the first mode.
In the embodiment of the invention, when the application program running on the foreground of the mobile terminal is monitored to be the preset application program, the current time of the mobile terminal is acquired, and the mode selection window is displayed on the display interface of the mobile terminal under the condition that the current time is in the target user time interval, wherein the mode selection window comprises the first mode corresponding to the preset application program.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 501 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 510; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 501 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 501 can also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides the user with wireless broadband internet access through the network module 502, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 503 may convert audio data received by the radio frequency unit 501 or the network module 502 or stored in the memory 509 into an audio signal and output as sound. Also, the audio output unit 503 may also provide audio output related to a specific function performed by the mobile terminal 500 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 503 includes a speaker, a buzzer, a receiver, and the like.
The input unit 504 is used to receive an audio or video signal. The input Unit 504 may include a Graphics Processing Unit (GPU) 5041 and a microphone 5042, and the Graphics processor 5041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 506. The image frames processed by the graphic processor 5041 may be stored in the memory 509 (or other storage medium) or transmitted via the radio frequency unit 501 or the network module 502. The microphone 5042 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 501 in case of the phone call mode.
The mobile terminal 500 also includes at least one sensor 505, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 5061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 5061 and/or a backlight when the mobile terminal 500 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 505 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 506 is used to display information input by the user or information provided to the user. The Display unit 506 may include a Display panel 5061, and the Display panel 5061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 507 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 507 includes a touch panel 5071 and other input devices 5072. Touch panel 5071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 5071 using a finger, stylus, or any suitable object or attachment). The touch panel 5071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 510, and receives and executes commands sent by the processor 510. In addition, the touch panel 5071 may be implemented in various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 5071, the user input unit 507 may include other input devices 5072. In particular, other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 5071 may be overlaid on the display panel 5061, and when the touch panel 5071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 510 to determine the type of the touch event, and then the processor 510 provides a corresponding visual output on the display panel 5061 according to the type of the touch event. Although in fig. 5, the touch panel 5071 and the display panel 5061 are two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 5071 and the display panel 5061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 508 is an interface through which an external device is connected to the mobile terminal 500. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 508 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 500 or may be used to transmit data between the mobile terminal 500 and external devices.
The memory 509 may be used to store software programs as well as various data. The memory 509 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 509 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The processor 510 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 509 and calling data stored in the memory 509, thereby performing overall monitoring of the mobile terminal. Processor 510 may include one or more processing units; preferably, the processor 510 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 510.
The mobile terminal 500 may further include a power supply 511 (e.g., a battery) for supplying power to various components, and preferably, the power supply 511 may be logically connected to the processor 510 via a power management system, so that functions of managing charging, discharging, and power consumption are performed via the power management system.
In addition, the mobile terminal 500 includes some functional modules that are not shown, and thus, are not described in detail herein.
Preferably, an embodiment of the present invention further provides a mobile terminal, which includes a processor 510, a memory 509, and a computer program that is stored in the memory 509 and can be run on the processor 510, and when the computer program is executed by the processor 510, the processes of the foregoing application program control method embodiment are implemented, and the same technical effect can be achieved, and details are not described here to avoid repetition.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned application program control method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (12)

1. An application control method applied to a mobile terminal is characterized by comprising the following steps:
when the fact that the application program operated by the foreground of the mobile terminal is a preset application program is monitored, acquiring the current time of the mobile terminal;
judging whether the current time is in a target user time period or not;
if so, displaying a mode selection window on a display interface of the mobile terminal; the mode selection window comprises a first mode corresponding to the preset application program;
under the condition that the user selects the first mode, controlling the preset application program to be in a foreground running state;
the first mode is a forced reading mode, and switching of foreground running programs cannot be executed in the forced reading mode.
2. The method of claim 1, further comprising, after the step of determining whether the current time is within a target user period:
monitoring whether a first mode of selection operation performed by the user exists or not if the current time is not within the target user period;
and if so, controlling the preset application program to be in a foreground running state.
3. The method according to claim 1, wherein the mode selection window further contains a time condition, and further comprising, after the step of displaying the mode selection window on the display interface of the mobile terminal:
acquiring a target duration set by the user according to the time condition;
the step of controlling the preset application program to be in a foreground running state comprises the following steps:
and controlling the preset application program to be in a foreground running state within the target duration.
4. The method according to claim 3, further comprising, after the step of controlling the preset application program to be in a foreground operation mode:
under the condition that the running time of the preset application program in the foreground reaches the target duration, controlling the mode of the preset application program to be switched from the first mode to the second mode;
judging whether the application program operated by the foreground of the mobile terminal is changed or not within a preset time length after the mode of the preset application program is switched from the first mode to the second mode;
if not, controlling the mode of the preset application program to be switched to the first mode, and controlling the preset application program to be in a foreground running state within the target duration.
5. The method according to claim 1, wherein before the step of obtaining the current time of the mobile terminal, further comprising:
acquiring historical record information of a preset application program operated by the user for a preset number of times from a preset database; the historical record information comprises the starting time and the closing time of the preset application program;
dividing the time period of the user running the preset application program according to the starting time and the closing time;
and determining the time interval of the target user according to the time interval division result.
6. An application control device applied to a mobile terminal, comprising:
the current time acquisition module is used for acquiring the current time of the mobile terminal when the fact that the application program operated by the foreground of the mobile terminal is a preset application program is monitored;
the target time interval judging module is used for judging whether the current time is in a target user time interval or not;
the selection window display module is used for displaying a mode selection window on a display interface of the mobile terminal under the condition that the current time is within the target user time period; the mode selection window comprises a first mode corresponding to the preset application program;
the first running state control module is used for controlling the preset application program to be in a foreground running state under the condition that the user selects the first mode;
the first mode is a forced reading mode, and switching of foreground running programs cannot be executed in the forced reading mode.
7. The apparatus of claim 6, further comprising:
the selection operation monitoring module is used for monitoring whether the selection operation of the first mode executed by the user exists or not under the condition that the current time is not in the target user time interval;
and the second running state control module is used for controlling the preset application program to be in a foreground running state under the condition that the selection operation of the first mode executed by the user exists.
8. The apparatus of claim 6, wherein the mode selection window further comprises a time condition, further comprising:
the target duration obtaining module is used for obtaining the target duration set by the user according to the time condition;
the first operating state control module includes:
and the first running state control submodule is used for controlling the preset application program to be in a foreground running state within the target duration.
9. The apparatus of claim 8, further comprising:
the second mode switching module is used for controlling the mode of the preset application program to be switched from the first mode to the second mode under the condition that the running time of the preset application program in the foreground reaches the target duration;
the foreground program judging module is used for judging whether the application program operated by the foreground of the mobile terminal is changed or not within a preset time length after the mode of the preset application program is switched from the first mode to the second mode;
and the third running state control module is used for controlling the mode of the preset application program to be switched to the first mode and controlling the preset application program to be in a foreground running state within the target duration under the condition that the application program running on the foreground of the mobile terminal is not changed.
10. The apparatus of claim 6, further comprising:
the history record acquisition module is used for acquiring history record information of the preset application program operated by the user for preset times from a preset database; the historical record information comprises the starting time and the closing time of the preset application program;
the time interval dividing module is used for dividing the time interval of the user running the preset application program according to the starting time and the closing time;
and the target user time interval determining module is used for determining the target user time interval according to the time interval division result.
11. A mobile terminal, characterized in that it comprises a processor, a memory and a computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, implements the steps of the application control method according to any one of claims 1 to 5.
12. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the application control method according to any one of claims 1 to 5.
CN201811419672.0A 2018-11-26 2018-11-26 Application program control method and device Active CN109660657B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811419672.0A CN109660657B (en) 2018-11-26 2018-11-26 Application program control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811419672.0A CN109660657B (en) 2018-11-26 2018-11-26 Application program control method and device

Publications (2)

Publication Number Publication Date
CN109660657A CN109660657A (en) 2019-04-19
CN109660657B true CN109660657B (en) 2021-03-23

Family

ID=66111706

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811419672.0A Active CN109660657B (en) 2018-11-26 2018-11-26 Application program control method and device

Country Status (1)

Country Link
CN (1) CN109660657B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113741767A (en) * 2020-05-27 2021-12-03 青岛海信移动通信技术股份有限公司 Deep reading method and communication terminal
CN115131806B (en) * 2022-06-07 2023-10-31 福建极推科技有限公司 Method and system for identifying OCR (optical character recognition) image information of various certificates based on deep learning

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060277023A1 (en) * 2005-06-03 2006-12-07 Siemens Communications, Inc. Integration of always-on software applications
CN104166591B (en) * 2014-06-12 2020-03-31 努比亚技术有限公司 Method and device for avoiding forced interruption of game
CN105282302A (en) * 2014-07-15 2016-01-27 中兴通讯股份有限公司 Operating method and device for mobile terminal application
CN106095401A (en) * 2016-05-26 2016-11-09 深圳天珑无线科技有限公司 Informing message treatment method and device
CN106844065A (en) * 2017-01-18 2017-06-13 宇龙计算机通信科技(深圳)有限公司 message display method, device and intelligent terminal
CN107613131B (en) * 2017-09-28 2020-08-18 维沃移动通信有限公司 Application program disturbance-free method, mobile terminal and computer-readable storage medium
CN107911553A (en) * 2017-11-20 2018-04-13 珠海市魅族科技有限公司 Incoming call reminding method, equipment and computer-readable recording medium and mobile terminal

Also Published As

Publication number Publication date
CN109660657A (en) 2019-04-19

Similar Documents

Publication Publication Date Title
CN108845853B (en) Application program starting method and mobile terminal
CN108391008B (en) Message reminding method and mobile terminal
CN108174037B (en) Notification message prompting method and mobile terminal
CN108984066B (en) Application icon display method and mobile terminal
CN108900695B (en) Display processing method, terminal equipment and computer readable storage medium
CN107734170B (en) Notification message processing method, mobile terminal and wearable device
CN107734172B (en) Information display method and mobile terminal
CN108681413B (en) Control method of display module and mobile terminal
CN107808107B (en) Application message display method and mobile terminal
CN110096203B (en) Screenshot method and mobile terminal
CN110837327A (en) Message viewing method and terminal
CN108196781B (en) Interface display method and mobile terminal
CN108009031B (en) Application program control method and mobile terminal
CN109284146B (en) Light application starting method and mobile terminal
CN110784394A (en) Prompting method and electronic equipment
CN108628534B (en) Character display method and mobile terminal
CN109660657B (en) Application program control method and device
CN108093119B (en) Strange incoming call number marking method and mobile terminal
CN110099170B (en) Picture deleting method and mobile terminal
CN110225192B (en) Message display method and mobile terminal
CN110213437B (en) Editing method and mobile terminal
CN109992941B (en) Authority management method and terminal equipment
CN109753776B (en) Information processing method and device and mobile terminal
CN108319409B (en) Application program control method and mobile terminal
CN108170360B (en) Control method of gesture function and mobile terminal

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