CN107864294B - Do not disturb mode starting method and mobile terminal - Google Patents

Do not disturb mode starting method and mobile terminal Download PDF

Info

Publication number
CN107864294B
CN107864294B CN201711363335.XA CN201711363335A CN107864294B CN 107864294 B CN107864294 B CN 107864294B CN 201711363335 A CN201711363335 A CN 201711363335A CN 107864294 B CN107864294 B CN 107864294B
Authority
CN
China
Prior art keywords
application program
preset
unit time
request frequency
network parameter
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
CN201711363335.XA
Other languages
Chinese (zh)
Other versions
CN107864294A (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 CN201711363335.XA priority Critical patent/CN107864294B/en
Publication of CN107864294A publication Critical patent/CN107864294A/en
Application granted granted Critical
Publication of CN107864294B publication Critical patent/CN107864294B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The invention provides a disturbance-free mode starting method and a mobile terminal, wherein the method comprises the following steps: detecting whether a network parameter of an application program displayed on a display interface meets a preset condition, wherein the network parameter comprises at least one of a flow consumption value in unit time and a data request frequency in unit time; if the network parameters meet preset conditions, determining that the application program is in a busy state; and starting a do-not-disturb mode for the application, wherein the do-not-disturb mode comprises shielding target prompt information, and the target prompt information comprises prompt information except the prompt information associated with the application. Therefore, the disturbance of external factors to the application program can be effectively reduced by starting the disturbance-free mode for the application program.

Description

Do not disturb mode starting method and mobile terminal
Technical Field
The invention relates to the technical field of communication, in particular to a disturbance-free mode starting method and a mobile terminal.
Background
With the development and progress of technology, more and more users choose to use mobile terminals such as smart phones to play games or videos. However, during the playing of a game, for example, during the playing of a game with high real-time performance, when a phone is accessed, the phone will be displayed in full screen, which causes the game to be interrupted, and during the interruption of the game, the game character of the user may die due to the interruption of the game, which further causes a loss to the user, and the network is disconnected due to the switching of signals, which causes the game experience of the user to be poor.
Therefore, the existing application program has the problem of being easily disturbed in the operation process.
Disclosure of Invention
The embodiment of the invention provides a disturbance-free mode starting method and a mobile terminal, and aims to solve the problem that an existing application program is easy to disturb in the operation process.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a method for starting a do-not-disturb mode, including:
detecting whether a network parameter of an application program displayed on a display interface meets a preset condition, wherein the network parameter comprises at least one of a flow consumption value in unit time and a data request frequency in unit time;
if the network parameters meet preset conditions, determining that the application program is in a busy state;
and starting a do-not-disturb mode for the application, wherein the do-not-disturb mode comprises shielding target prompt information, and the target prompt information comprises prompt information except the prompt information associated with the application.
In a second aspect, an embodiment of the present invention further provides a mobile terminal, including:
the detection module is used for detecting whether a network parameter of an application program displayed on a display interface meets a preset condition, wherein the network parameter comprises at least one of a flow consumption value in unit time and a data request frequency in unit time;
the determining module is used for determining that the application program is in a busy state if the network parameters meet preset conditions;
the system comprises a starting module and a sending module, wherein the starting module is used for starting a do-not-disturb mode for the application program, the do-not-disturb mode comprises shielding target prompt information, and the target prompt information comprises prompt information except the prompt information related to the application program.
In a third aspect, an embodiment of the present invention further provides a mobile terminal, including a processor, a memory, and a computer program stored in the memory and capable of running on the processor, where the computer program, when executed by the processor, implements the steps of the method for starting the do-not-disturb mode.
In a fourth aspect, an 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 the steps of the method for starting the non-disturbing mode.
Therefore, the embodiment of the invention can reduce the interference of external factors on the application program by detecting the network parameters of the application program, determining whether the application program is in a busy state according to the network parameters, and starting the disturbance-free mode on the application program if the application program is in the busy state.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a flowchart of a method for enabling a do-not-disturb mode according to an embodiment of the present invention;
FIG. 2 is a flowchart of a method for enabling a do-not-disturb mode according to another embodiment of the invention;
fig. 3 is a block diagram of a mobile terminal according to an embodiment of the present invention;
fig. 4 is one of the structural diagrams of a detection module in the mobile terminal according to an embodiment of the present invention;
fig. 5 is a second block diagram of a detection module in the mobile terminal according to an embodiment of the present invention;
fig. 6 is a third block diagram of a detection module in the mobile terminal according to an embodiment of the present invention;
fig. 7 is a fourth structural diagram of a detection module in the mobile terminal according to an embodiment of the present invention;
fig. 8 is a block diagram of a mobile terminal according to another 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.
Referring to fig. 1, fig. 1 is a flowchart of a method for starting a do not disturb mode according to an embodiment of the present invention, as shown in fig. 1, including the following steps:
step 101, detecting whether the network parameters of the application program displayed on the display interface meet preset conditions.
In this step, the application program displayed on the display interface is the application program currently operated by the user. The network parameters are network conditions of a user in the process of operating an application program, and may specifically include parameters such as a bandwidth size of a current network, a flow consumed by the application program in a unit time, and a data request frequency of the application program in the unit time.
For example, in the process of playing a network game or a competitive game, if the network condition is good, the traffic consumption value in a unit time fluctuates in a relatively stable interval in the process of playing the game, so that the user has a good game experience. If the flow consumption value of the game application program in unit time is detected to fluctuate in a relatively stable interval, the game application program is in a busy state, and the user does not want to be interfered by other factors during the game.
For another example, in the process of playing a network game or a competitive game by a user, if the network condition is poor, the game continuously requests data connection in order to meet the game requirement of the user, so that the game returns to normal operation. If the data request frequency of the game application program in the unit time is detected to be higher than a certain value, the game application program is in a connection request state, namely the game application program is in a busy state, and the user does not want to be interfered by other factors during the game.
And 102, if the network parameters meet preset conditions, determining that the application program is in a busy state.
In this step, if it is detected that the network parameter of the application program meets a preset condition, it indicates that the application program is in a busy state.
And 103, starting a disturbance-free mode for the application program.
In this step, when it is determined that the application program is in a busy state, indicating that the user does not want to be interfered by other factors in the busy state, the disturbance-free mode is started for the application program. Wherein the do-not-disturb mode comprises masking target reminder information, the target reminder information comprising reminder information other than reminder information associated with the application.
It should be noted that, according to the importance degree of the communication object, the communication object may be divided into a first kind of communication object and a second kind of communication object in advance, wherein the first kind of communication object is an important communication object. In the process of starting the disturbance-free mode for the application program, if the prompt information is received, whether the communication object of the prompt information belongs to the first-class communication object or the second-class communication object can be judged; if the communication object sending the prompt message is the first type of communication object, allowing the prompt message to be displayed on a display interface of the application program so as to prevent a user from missing important information during the operation of the application program; if the communication object sending the prompt message is the second-class communication object, the prompt message is prohibited from being displayed on the display interface of the application program, for the less important prompt message, the user can check the prompt message after the user finishes processing the task of the current application program, and the operation experience of the user is ensured. In this way, the operation experience of the user can be effectively improved.
The application program in the embodiment of the present invention may be an application program with strong real-time experience, such as a game application program or a video application program with strong real-time experience.
In the embodiment of the present invention, the method may be applied to a mobile terminal, for example: a Mobile phone, a tablet Computer (tablet personal Computer), a Laptop Computer (Laptop Computer), a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), a Wearable Device (Wearable Device), or the like.
The disturbance-free mode starting method provided by the embodiment of the invention comprises the steps of detecting whether a network parameter of an application program displayed on a display interface meets a preset condition, wherein the network parameter comprises at least one of a flow consumption value in unit time and a data request frequency in unit time; if the network parameters meet preset conditions, determining that the application program is in a busy state; and starting a do-not-disturb mode for the application, wherein the do-not-disturb mode comprises shielding target prompt information, and the target prompt information comprises prompt information except the prompt information associated with the application. Therefore, the disturbance of external factors to the application program can be effectively reduced by starting the disturbance-free mode for the application program.
Referring to fig. 2, fig. 2 is a flowchart of a method for starting the do not disturb mode according to another embodiment of the present invention, as shown in fig. 2, including the following steps:
step 201, detecting whether the flow consumption value of the application program in unit time is in a preset value interval.
In this step, the application is the application currently operated by the user. When the network state is good, whether the application program is in a busy state can be judged by detecting whether the flow consumption value of the application program in unit time is in a preset value interval.
For game applications such as network games or sports games, after the game starts, the flow consumption value of the game application in unit time fluctuates in a relatively stable interval; when conventional game setting or simple game simulation is carried out on the game application program, the corresponding flow consumption value in unit time is at a lower level and is generally lower than the flow consumption value fluctuation range after the game starts; when the game application program is downloaded and updated, the corresponding flow consumption value in unit time is at a higher level and is generally higher than the fluctuation range of the flow consumption value after the game starts.
Step 202, if the flow consumption value of the application program in unit time is in a preset value interval, determining that the application program is in a busy state.
Optionally, before step 202, the method further includes: and detecting whether the network bandwidth used by the application program is higher than a first preset bandwidth.
In this embodiment, the current network status may be determined by detecting the size of the network bandwidth used by the application program, and when it is detected that the network bandwidth is higher than the first preset bandwidth, it indicates that the current network status is good.
And, whether the application program is in a busy state can be determined according to the network condition and the flow consumption value of the application program in unit time. Specifically, when it is detected that the traffic consumption value of the application program in unit time is within a preset value interval and the network bandwidth used by the application program is higher than a first preset bandwidth, it is determined that the application program is in a busy state. Therefore, whether the application program is in a busy state can be more accurately determined through the two parameters, and the user experience is improved.
And step 203, starting a disturbance-free mode for the application program.
In this step, when it is determined that the application program is in a busy state, indicating that the user does not want to be interfered by other factors in the busy state, the disturbance-free mode is started for the application program. Wherein the do-not-disturb mode comprises masking target reminder information, the target reminder information comprising reminder information other than reminder information associated with the application.
Optionally, the method may further determine whether the program is in a busy state by: detecting whether the data request frequency of the application program in unit time is higher than a preset request frequency; and if the data request frequency of the application program in unit time is higher than the preset request frequency, determining that the application program is in a busy state.
In this embodiment, for a poor network condition, whether the application is in a busy state can be determined by detecting whether the data request frequency of the application in unit time is higher than a preset request frequency.
In order to meet the requirements of users, the application program can continuously request data connection so as to enable the application program to recover normal operation. Therefore, when the data request frequency of the application program in the unit time is detected to be higher than a certain value, the application program is always in the connection request state, namely the application program is in a busy state, and the user does not want to be interfered by other factors in the period.
In order to more prepare to determine whether the application program is in a busy state, whether the network bandwidth used by the application program is lower than a second preset bandwidth can be detected; and if the data request frequency of the application program in unit time is detected to be higher than the preset request frequency and the network bandwidth used by the application program is lower than a second preset bandwidth, determining that the application program is in a busy state.
It should be noted that, in the embodiment of the present invention, the first preset bandwidth is greater than the second preset bandwidth.
The disturbance-free mode starting method of the embodiment of the invention detects whether the flow consumption value of the application program in unit time is in a preset value interval; if the flow consumption value of the application program in unit time is in a preset value interval, determining that the application program is in a busy state; and starting a do-not-disturb mode for the application, wherein the do-not-disturb mode comprises shielding target prompt information, and the target prompt information comprises prompt information except the prompt information associated with the application. Therefore, the disturbance of external factors to the application program can be effectively reduced by starting the disturbance-free mode for the application program.
Referring to fig. 3, fig. 3 is a block diagram of a mobile terminal according to an embodiment of the present invention, as shown in fig. 3, the mobile terminal 300 includes a detecting module 301, a determining module 302, and an opening module 303, where:
the detection module 301 is configured to detect whether a network parameter of an application program displayed on a display interface meets a preset condition, where the network parameter includes at least one of a traffic consumption value in unit time and a data request frequency in unit time;
a determining module 302, configured to determine that the application program is in a busy state if the network parameter meets a preset condition;
a starting module 303, configured to start a do-not-disturb mode for the application, where the do-not-disturb mode includes shielding target prompt information, and the target prompt information includes prompt information other than prompt information associated with the application.
Optionally, as shown in fig. 4, the network parameter is a flow consumption value in the unit time;
the detection module 301 includes:
the first detection submodule 3011 is configured to detect whether a flow consumption value of the application program in unit time is within a preset value interval;
the first determining submodule 3012 is configured to determine that the network parameter meets a preset condition if the traffic consumption value of the application program in unit time is in a preset value interval.
Optionally, as shown in fig. 5, the detecting module 301 further includes:
a second detection submodule 3013, configured to detect whether a network bandwidth used by the application is higher than a first preset bandwidth;
the first determining submodule 3012 is specifically configured to determine that the network parameter meets a preset condition if the traffic consumption value of the application program in unit time is in a preset value interval and the network bandwidth used by the application program is higher than a first preset bandwidth.
Optionally, as shown in fig. 6, the network parameter is a data request frequency in the unit time;
the detection module 301 includes:
a third detecting sub-module 3014, configured to detect whether a data request frequency of the application in a unit time is higher than a preset request frequency;
the second determining sub-module 3015 is configured to determine that the network parameter meets a preset condition if the data request frequency of the application in the unit time is higher than a preset request frequency.
Optionally, as shown in fig. 7, the detection module 301 further includes:
a fourth detection submodule 3016, configured to detect whether a network bandwidth used by the application is lower than a second preset bandwidth;
the second determining sub-module 3015 is specifically configured to determine that the network parameter meets a preset condition if the data request frequency of the application in unit time is higher than a preset request frequency and the network bandwidth used by the application is lower than a second preset bandwidth.
The mobile terminal 300 can implement each process implemented by the mobile terminal in the method embodiments of fig. 1 and fig. 2, and is not described herein again to avoid repetition.
The mobile terminal 300 of the embodiment of the present invention detects whether a network parameter of an application program displayed on a display interface satisfies a preset condition, where the network parameter includes at least one of a traffic consumption value in a unit time and a data request frequency in the unit time; if the network parameters meet preset conditions, determining that the application program is in a busy state; and starting a do-not-disturb mode for the application, wherein the do-not-disturb mode comprises shielding target prompt information, and the target prompt information comprises prompt information except the prompt information associated with the application. Therefore, the disturbance of external factors to the application program can be effectively reduced by starting the disturbance-free mode for the application program.
Fig. 8 is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, and as shown in fig. 8, the mobile terminal 800 includes, but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, a processor 810, and a power supply 811. Those skilled in the art will appreciate that the mobile terminal architecture illustrated in fig. 8 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than those illustrated, 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.
The processor 810 is configured to detect whether a network parameter of an application program displayed on a display interface meets a preset condition, where the network parameter includes at least one of a traffic consumption value in unit time and a data request frequency in unit time; if the network parameters meet preset conditions, determining that the application program is in a busy state; and starting a do-not-disturb mode for the application, wherein the do-not-disturb mode comprises shielding target prompt information, and the target prompt information comprises prompt information except the prompt information associated with the application.
Optionally, the network parameter is a flow consumption value in the unit time; the processor 810 is further configured to: detecting whether the flow consumption value of the application program in unit time is in a preset value interval or not; and if the flow consumption value of the application program in unit time is in a preset value interval, determining that the network parameter meets a preset condition.
Optionally, the processor 810 is further configured to: detecting whether the network bandwidth used by the application program is higher than a first preset bandwidth; and if the flow consumption value of the application program in unit time is in a preset value interval and the network bandwidth used by the application program is higher than a first preset bandwidth, determining that the network parameter meets a preset condition.
Optionally, the network parameter is a data request frequency in the unit time; the processor 810 is further configured to: detecting whether the data request frequency of the application program in unit time is higher than a preset request frequency;
and if the data request frequency of the application program in unit time is higher than a preset request frequency, determining that the network parameter meets a preset condition.
Optionally, the processor 810 is further configured to: detecting whether the network bandwidth used by the application program is lower than a second preset bandwidth; and if the data request frequency of the application program in unit time is higher than a preset request frequency and the network bandwidth used by the application program is lower than a second preset bandwidth, determining that the network parameter meets a preset condition.
The mobile terminal 800 can implement each process implemented by the mobile terminal in the foregoing embodiments, and details are not repeated here to avoid repetition.
The mobile terminal 800 of the embodiment of the present invention detects whether a network parameter of an application program displayed on a display interface satisfies a preset condition, where the network parameter includes at least one of a traffic consumption value in a unit time and a data request frequency in the unit time; if the network parameters meet preset conditions, determining that the application program is in a busy state; and starting a do-not-disturb mode for the application, wherein the do-not-disturb mode comprises shielding target prompt information, and the target prompt information comprises prompt information except the prompt information associated with the application. Therefore, the disturbance of external factors to the application program can be effectively reduced by starting the disturbance-free mode for the application program.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 801 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 810; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 801 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. Further, the radio frequency unit 801 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 802, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 803 may convert audio data received by the radio frequency unit 801 or the network module 802 or stored in the memory 809 into an audio signal and output as sound. Also, the audio output unit 803 may also provide audio output related to a specific function performed by the mobile terminal 800 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 803 includes a speaker, a buzzer, a receiver, and the like.
The input unit 804 is used for receiving an audio or video signal. The input Unit 804 may include a Graphics Processing Unit (GPU) 8041 and a microphone 8042, and the Graphics processor 8041 processes image data of a still picture or video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 806. The image frames processed by the graphics processor 8041 may be stored in the memory 809 (or other storage medium) or transmitted via the radio frequency unit 801 or the network module 802. The microphone 8042 can receive sound, and can process such sound 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 801 in case of a phone call mode.
The mobile terminal 800 also includes at least one sensor 805, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 8061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 8061 and/or the backlight when the mobile terminal 800 moves 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 805 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 806 is used to display information input by the user or information provided to the user. The Display unit 806 may include a Display panel 8061, and the Display panel 8061 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 807 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 807 includes a touch panel 8071 and other input devices 8072. The touch panel 8071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 8071 (e.g., operations by a user on or near the touch panel 8071 using a finger, a stylus, or any other suitable object or accessory). The touch panel 8071 may include two portions 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 810, receives a command from the processor 810, and executes the command. In addition, the touch panel 8071 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 8071, the user input unit 807 can include other input devices 8072. In particular, other input devices 8072 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 8071 can be overlaid on the display panel 8061, and when the touch panel 8071 detects a touch operation on or near the touch panel 8071, the touch operation is transmitted to the processor 810 to determine the type of the touch event, and then the processor 810 provides a corresponding visual output on the display panel 8061 according to the type of the touch event. Although in fig. 8, the touch panel 8071 and the display panel 8061 are two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 8071 and the display panel 8061 may be integrated to implement the input and output functions of the mobile terminal, which is not limited herein.
The interface unit 808 is an interface through which an external device is connected to the mobile terminal 800. 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 808 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 800 or may be used to transmit data between the mobile terminal 800 and external devices.
The memory 809 may be used to store software programs as well as various data. The memory 809 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 809 can include high speed random access memory, and can 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 810 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 running or executing software programs and/or modules stored in the memory 809 and calling data stored in the memory 809, thereby integrally monitoring the mobile terminal. Processor 810 may include one or more processing units; preferably, the processor 810 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 810.
The mobile terminal 800 may also include a power supply 811 (e.g., a battery) for powering the various components, and the power supply 811 may be logically coupled to the processor 810 via a power management system that may be used to manage charging, discharging, and power consumption.
In addition, the mobile terminal 800 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, including a processor 810, a memory 809, and a computer program stored in the memory 809 and capable of running on the processor 810, where the computer program, when executed by the processor 810, implements each process of the foregoing disturbance-free mode starting method embodiment, and can achieve the same technical effect, and details are not repeated 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 embodiment of the disturbance-free mode starting method, 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 (11)

1. A method for enabling a do not disturb mode, comprising:
detecting whether a network parameter of an application program displayed on a display interface meets a preset condition, wherein the network parameter comprises at least one of a flow consumption value in unit time and a data request frequency in unit time;
if the network parameters meet preset conditions, determining that the application program is in a busy state;
starting a do-not-disturb mode for the application program, wherein the do-not-disturb mode comprises shielding target prompt information, and the target prompt information comprises at least one of first prompt information and second prompt information;
the first prompt message comprises prompt messages except the prompt messages related to the application program, the second prompt message comprises prompt messages except the prompt messages related to the first type of communication objects, and the first type of communication objects are communication objects with higher importance degrees than the second type of communication objects;
the preset condition comprises at least one of that the flow consumption value in the unit time is in a preset value interval and that the data request frequency in the unit time is higher than the preset request frequency.
2. The method of claim 1, wherein the network parameter is a traffic consumption value per unit time;
the step of detecting whether the network parameters of the application program displayed on the display interface meet preset conditions includes:
detecting whether the flow consumption value of the application program in unit time is in a preset value interval or not;
and if the flow consumption value of the application program in unit time is in a preset value interval, determining that the network parameter meets a preset condition.
3. The method according to claim 2, wherein before the step of determining that the network parameter satisfies the predetermined condition if the flow consumption value of the application per unit time is within a predetermined value range, the method further comprises:
detecting whether the network bandwidth used by the application program is higher than a first preset bandwidth;
if the flow consumption value of the application program in unit time is in a preset value interval, the step of determining that the network parameter meets a preset condition includes:
and if the flow consumption value of the application program in unit time is in a preset value interval and the network bandwidth used by the application program is higher than a first preset bandwidth, determining that the network parameter meets a preset condition.
4. The method of claim 1, wherein the network parameter is a data request frequency per unit time;
the step of detecting whether the network parameters of the application program displayed on the display interface meet preset conditions includes:
detecting whether the data request frequency of the application program in unit time is higher than a preset request frequency;
and if the data request frequency of the application program in unit time is higher than a preset request frequency, determining that the network parameter meets a preset condition.
5. The method according to claim 4, wherein before the step of determining that the network parameter satisfies the predetermined condition if the data request frequency of the application program per unit time is higher than a predetermined request frequency, the method further comprises:
detecting whether the network bandwidth used by the application program is lower than a second preset bandwidth;
if the data request frequency of the application program in unit time is higher than a preset request frequency, the step of determining that the network parameter meets a preset condition includes:
and if the data request frequency of the application program in unit time is higher than a preset request frequency and the network bandwidth used by the application program is lower than a second preset bandwidth, determining that the network parameter meets a preset condition.
6. A mobile terminal, comprising:
the detection module is used for detecting whether a network parameter of an application program displayed on a display interface meets a preset condition, wherein the network parameter comprises at least one of a flow consumption value in unit time and a data request frequency in unit time;
the determining module is used for determining that the application program is in a busy state if the network parameters meet preset conditions;
the system comprises a starting module, a sending module and a processing module, wherein the starting module is used for starting a do-not-disturb mode for the application program, the do-not-disturb mode comprises shielding target prompt information, and the target prompt information comprises at least one of first prompt information and second prompt information;
the first prompt message comprises prompt messages except the prompt messages related to the application program, the second prompt message comprises prompt messages except the prompt messages related to the first type of communication objects, and the first type of communication objects are communication objects with higher importance degrees than the second type of communication objects;
the preset condition comprises at least one of that the flow consumption value in the unit time is in a preset value interval and that the data request frequency in the unit time is higher than the preset request frequency.
7. The mobile terminal according to claim 6, wherein the network parameter is a traffic consumption value per unit time;
the detection module comprises:
the first detection submodule is used for detecting whether the flow consumption value of the application program in unit time is in a preset value interval or not;
the first determining submodule is used for determining that the network parameter meets a preset condition if the flow consumption value of the application program in unit time is in a preset value interval.
8. The mobile terminal of claim 7, wherein the detection module further comprises:
the second detection submodule is used for detecting whether the network bandwidth used by the application program is higher than a first preset bandwidth or not;
the first determining submodule is specifically configured to determine that the network parameter meets a preset condition if the traffic consumption value of the application program in unit time is within a preset value interval and the network bandwidth used by the application program is higher than a first preset bandwidth.
9. The mobile terminal according to claim 6, wherein the network parameter is a data request frequency in the unit time;
the detection module comprises:
the third detection submodule is used for detecting whether the data request frequency of the application program in unit time is higher than the preset request frequency;
and the second determining submodule is used for determining that the network parameter meets the preset condition if the data request frequency of the application program in unit time is higher than the preset request frequency.
10. The mobile terminal of claim 9, wherein the detection module further comprises:
the fourth detection submodule is used for detecting whether the network bandwidth used by the application program is lower than a second preset bandwidth or not;
the second determining submodule is specifically configured to determine that the network parameter meets a preset condition if the data request frequency of the application program in unit time is higher than a preset request frequency and the network bandwidth used by the application program is lower than a second preset bandwidth.
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, carries out the steps of the do not disturb mode start-up method according to any of claims 1 to 5.
CN201711363335.XA 2017-12-18 2017-12-18 Do not disturb mode starting method and mobile terminal Active CN107864294B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711363335.XA CN107864294B (en) 2017-12-18 2017-12-18 Do not disturb mode starting method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711363335.XA CN107864294B (en) 2017-12-18 2017-12-18 Do not disturb mode starting method and mobile terminal

Publications (2)

Publication Number Publication Date
CN107864294A CN107864294A (en) 2018-03-30
CN107864294B true CN107864294B (en) 2020-09-11

Family

ID=61706339

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711363335.XA Active CN107864294B (en) 2017-12-18 2017-12-18 Do not disturb mode starting method and mobile terminal

Country Status (1)

Country Link
CN (1) CN107864294B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108712559B (en) * 2018-04-08 2021-07-02 深圳先搜科技有限公司 Disturbance-free method, system, terminal equipment and computer readable storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9838893B2 (en) * 2015-06-25 2017-12-05 Alcatel Lucent System and method for cooperatively controlling an application
CN106488420B (en) * 2015-08-27 2020-04-07 腾讯科技(深圳)有限公司 Incoming call processing method, device and system and readable storage medium
CN105721713A (en) * 2016-03-31 2016-06-29 北京金山安全软件有限公司 Data network state control method and device for terminal
CN106095401A (en) * 2016-05-26 2016-11-09 深圳天珑无线科技有限公司 Informing message treatment method and device
CN106293834A (en) * 2016-08-09 2017-01-04 广东小天才科技有限公司 The application program progress control method of a kind of mobile terminal and device
CN106549880A (en) * 2016-11-25 2017-03-29 珠海市魅族科技有限公司 A kind of resource allocation methods and terminal unit of terminal
CN106851010B (en) * 2017-03-02 2020-06-23 腾讯科技(深圳)有限公司 Interference processing method and terminal for target application

Also Published As

Publication number Publication date
CN107864294A (en) 2018-03-30

Similar Documents

Publication Publication Date Title
CN108182019B (en) Suspension control display processing method and mobile terminal
CN108494030B (en) Wireless charging method, terminal and transmitting terminal equipment
CN109831585B (en) Operation parameter adjusting method and mobile terminal
CN108391008B (en) Message reminding method and mobile terminal
CN107734170B (en) Notification message processing method, mobile terminal and wearable device
CN107734172B (en) Information display method and mobile terminal
CN109831359B (en) Method for detecting connection state of data network and terminal equipment thereof
CN108762613B (en) State icon display method and mobile terminal
CN107835495B (en) Message prompting method and device and mobile terminal
CN108270853B (en) Message processing method and mobile terminal
CN111343710B (en) Power adjustment method and electronic equipment
CN111093137B (en) Volume control method, volume control equipment and computer readable storage medium
CN109151741B (en) Multimedia message receiving method and terminal
CN109639738B (en) Voice data transmission method and terminal equipment
CN108089935B (en) Application program management method and mobile terminal
CN111026263B (en) Audio playing method and electronic equipment
CN111818657B (en) Uplink transmission discarding method, uplink transmission discarding configuration method and related equipment
CN109450508B (en) Antenna determination method and device and mobile terminal
CN108234745B (en) Signal receiving method, mobile terminal and computer readable storage medium
CN109451154B (en) Method for setting multimedia file and terminal equipment
CN108089799B (en) Control method of screen edge control and mobile terminal
CN107864294B (en) Do not disturb mode starting method and mobile terminal
CN111459323B (en) Control method, electronic device and medium
CN110210197B (en) Screen sensitivity adjusting method and mobile terminal
CN111381753B (en) Multimedia file playing method and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant