CN108089800B - Anti-disturbance mode entering method and device - Google Patents

Anti-disturbance mode entering method and device Download PDF

Info

Publication number
CN108089800B
CN108089800B CN201711326568.2A CN201711326568A CN108089800B CN 108089800 B CN108089800 B CN 108089800B CN 201711326568 A CN201711326568 A CN 201711326568A CN 108089800 B CN108089800 B CN 108089800B
Authority
CN
China
Prior art keywords
client
interface
terminal
mode
preset
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
CN201711326568.2A
Other languages
Chinese (zh)
Other versions
CN108089800A (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201711326568.2A priority Critical patent/CN108089800B/en
Publication of CN108089800A publication Critical patent/CN108089800A/en
Application granted granted Critical
Publication of CN108089800B publication Critical patent/CN108089800B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a method and a device for entering an anti-disturbance mode, and belongs to the technical field of electronics. The method comprises the following steps: when the interface of the first client is displayed, if the target prompt information is received, displaying the target prompt information in the interface of the first client; in the process of displaying target prompt information in an interface of a first client, if a preset trigger operation aiming at a terminal installed on the first client is detected, entering an anti-disturbance mode; wherein, prevent disturbing the mode and be: and when the interface of the first client is displayed, prohibiting a mode of displaying each prompt message in a preset prompt message set, wherein the preset prompt message set comprises target prompt messages. The application solves the problem that the process of entering the anti-disturbance mode is more complicated, and simplifies the process of entering the anti-disturbance mode. The application is used for entry into an anti-disturb mode.

Description

Anti-disturbance mode entering method and device
Technical Field
The present disclosure relates to the field of electronic technologies, and in particular, to a method and an apparatus for entering an anti-disturbance mode.
Background
With the development of electronic technology, more and more clients are installed on a terminal, and the prompt information of each client is also more and more.
In the related art, when a user plays a game on a game client of a terminal, the terminal displays a game interface of the game client. At this time, if the prompt information of other clients is received, the terminal displays the prompt information on the game interface, and the prompt information can block a partial area of the game interface. In order to prevent the prompt message from blocking the game interface, the user may generally control the terminal to stop displaying the game interface of the game client and operate on the terminal to cause the terminal to enter the anti-disturbance mode during the game playing process. After the user control terminal displays the game interface of the game client again, the terminal entering the anti-disturbance mode prohibits the prompt information from being displayed on the game interface.
In the related art, when a user plays a game on a game client of a terminal, the terminal needs to be controlled to stop displaying a game interface of the game client and operate on the terminal so that the terminal enters the anti-disturbance-of-game mode, and therefore the process of entering the anti-disturbance-of-game mode by the terminal is tedious.
Disclosure of Invention
The application provides a method and a device for entering an anti-disturbance mode, which can solve the problem that the process of entering the anti-disturbance mode by a terminal is complex. The technical scheme is as follows:
According to a first aspect of the present disclosure, there is provided an anti-disturb mode entry method, the method comprising:
when the interface of a first client is displayed, if target prompt information is received, the target prompt information is displayed in the interface of the first client;
in the process of displaying the target prompt message in the interface of the first client, if a preset trigger operation aiming at a terminal installed on the first client is detected, entering an anti-disturbance mode;
wherein the anti-disturb mode is: and when the interface of the first client is displayed, prohibiting a mode of displaying each prompt message in a preset prompt message set, wherein the preset prompt message set comprises the target prompt message.
Optionally, the method further includes:
after the terminal enters the anti-disturbance mode, receiving a stop instruction for stopping displaying the interface of the first client;
stopping displaying the interface of the first client according to the stopping instruction;
and exiting the disturbance prevention mode according to the stop instruction.
Optionally, the target prompt message is not the prompt message of the first client, and the preset prompt message set does not include the prompt message of the first client.
Optionally, the target prompt message is a prompt message of the second client,
the preset prompt information set comprises: and the prompt message of at least one preset client comprises the second client.
Optionally, the method further includes:
after the terminal stops displaying the interface of the first client, when the display operation aiming at the interface of the first client is detected, displaying the interface of the first client;
detecting whether the terminal meets a preset condition, wherein the preset condition comprises the following steps: in the last process of displaying the interface of the first client, the terminal enters the anti-disturbance mode;
and entering the anti-disturbance mode when the terminal meets the preset condition.
Optionally, the method further includes:
after the terminal stops displaying the interface of the first client, when the display operation aiming at the interface of the first client is detected, displaying the interface of the first client;
determining a first account currently logged in the first client;
detecting whether the terminal meets a preset condition, wherein the preset condition comprises the following steps: the terminal enters the anti-disturbance mode in the process that the first account logs in the first client on the terminal last time;
And entering the anti-disturbance mode when the terminal meets the preset condition.
Optionally, the entering the anti-disturbing mode when the terminal meets the preset condition includes:
when the terminal meets the preset condition, displaying a recovery triggering entry in an interface of the first client;
entering the anti-disturb mode upon detecting a trigger operation for the resume trigger entry.
Optionally, the preset triggering operation is: and triggering operation aiming at a display screen of the terminal.
According to a second aspect of the present disclosure, there is provided an anti-disturb mode entry device, comprising:
the first display module is configured to display target prompt information in an interface of a first client if the target prompt information is received when the interface of the first client is displayed;
a first entering module configured to enter an anti-disturbance mode if a preset trigger operation for a terminal installed on the first client is detected in a process of displaying the target prompt information in an interface of the first client;
wherein the anti-disturb mode is: and when the interface of the first client is displayed, prohibiting a mode of displaying each prompt message in a preset prompt message set, wherein the preset prompt message set comprises the target prompt message.
Optionally, the device for entering the anti-disturbing mode further includes:
the receiving module is configured to receive a stop instruction for stopping displaying the interface of the first client after the terminal enters the anti-disturbance mode;
a stopping module configured to stop displaying the interface of the first client according to the stopping instruction;
an exit module configured to exit the anti-disturb mode according to the stop instruction.
Optionally, the target prompt message is not the prompt message of the first client, and the preset prompt message set does not include the prompt message of the first client.
Optionally, the target prompt message is a prompt message of the second client,
the preset prompt information set comprises: and the prompt message of at least one preset client comprises the second client.
Optionally, the device for entering the anti-disturbing mode further includes:
a second display module configured to display the interface of the first client when a display operation for the interface of the first client is detected after the terminal stops displaying the interface of the first client;
A first detection module configured to detect whether the terminal satisfies a preset condition, where the preset condition includes: in the last process of displaying the interface of the first client, the terminal enters the anti-disturbance mode;
a second entering module configured to enter the anti-disturbance mode when the terminal satisfies the preset condition.
Optionally, the device for entering the anti-disturbing mode further includes:
a third display module configured to display the interface of the first client when a display operation for the interface of the first client is detected after the terminal stops displaying the interface of the first client;
the determining module is configured to determine a first account currently logged in the first client;
a second detection module configured to detect whether the terminal satisfies a preset condition, where the preset condition includes: the terminal enters the anti-disturbance mode in the process that the first account logs in the first client on the terminal last time;
a third entering module configured to enter the anti-disturbance mode when the terminal satisfies the preset condition.
Optionally, the second entry module or the third entry module is configured to:
When the terminal meets the preset condition, displaying a recovery triggering entry in an interface of the first client;
entering the anti-disturb mode upon detecting a trigger operation for the resume trigger entry.
Optionally, the preset triggering operation is: and triggering operation aiming at a display screen of the terminal.
According to a third aspect of the present disclosure, there is provided an anti-disturb mode entry device comprising:
a processing component;
a memory for storing executable instructions of the processing component;
wherein the processing component is configured to:
when the interface of a first client is displayed, if target prompt information is received, the target prompt information is displayed in the interface of the first client;
in the process of displaying the target prompt message in the interface of the first client, if a preset trigger operation aiming at a terminal installed on the first client is detected, entering an anti-disturbance mode;
wherein the anti-disturb mode is: and when the interface of the first client is displayed, prohibiting a mode of displaying each prompt message in a preset prompt message set, wherein the preset prompt message set comprises the target prompt message.
According to a fourth aspect of the present disclosure, there is provided a computer-readable storage medium having instructions stored therein,
when the instructions are run on a processing component, the processing component is caused to perform the anti-disturb mode entry method of the first aspect.
According to a fifth aspect of the present disclosure, there is provided a program product comprising instructions,
when the program product is run on a processing component, the processing component is caused to perform the above-mentioned anti-disturb mode entry method.
The beneficial effect that technical scheme that this application provided brought is:
the disclosure provides an anti-disturbance mode entering method and device. And the terminal does not need to close the interface of the first client in the process of entering the anti-disturbance mode, so that the process of entering the anti-disturbance mode is simplified.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a method flow diagram illustrating an anti-disturb mode entry method in accordance with an exemplary embodiment;
FIG. 2 is a method flow diagram illustrating another anti-disturb mode entry method in accordance with an exemplary embodiment;
FIG. 3 is an interface diagram of a terminal shown in accordance with an exemplary embodiment;
FIG. 4 is an interface diagram of another terminal shown in accordance with an exemplary embodiment;
FIG. 5 is an interface diagram illustrating yet another terminal according to an exemplary embodiment;
FIG. 6 is an interface diagram illustrating yet another terminal according to an exemplary embodiment;
FIG. 7 is a schematic diagram illustrating the structure of an anti-tamper mode entry device, according to an exemplary embodiment;
FIG. 8 is a schematic diagram illustrating another anti-disturb mode entry device, according to an example embodiment;
FIG. 9 is a schematic diagram illustrating the structure of yet another anti-tamper mode entry device in accordance with an exemplary embodiment;
FIG. 10 is a schematic diagram illustrating a further anti-tamper mode entry device, according to an exemplary embodiment;
fig. 11 is a block diagram illustrating an anti-disturb mode entry device, according to an example embodiment.
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
As more and more clients are installed on the terminal, more and more prompt messages are received by the terminal from each client, and an anti-disturbance mode for preventing disturbance of the prompt messages is developed according to the prompt scene. For example, when the terminal displays the interface of the first client, if the user needs to control the terminal to enter the anti-disturbance mode, the user needs to control the terminal to stop displaying the interface of the first client, and then operate on the terminal to enable the terminal to enter the anti-disturbance mode. However, the process of the control terminal entering the anti-disturbance mode is cumbersome, and the user cannot see the interface of the first client in the process of the control terminal entering the anti-disturbance mode. The embodiment of the disclosure provides an anti-disturbance mode entering method, which can simplify the process of entering the anti-disturbance mode by a terminal and can control the terminal to enter the anti-disturbance mode in the process of displaying an interface of a first client.
Fig. 1 is a flow chart illustrating a method of anti-disturb mode entry, according to an example embodiment. The anti-disturbance mode entering method may be applied to a terminal, and as shown in fig. 1, the anti-disturbance mode entering method may include:
in step 101, when the interface of the first client is displayed, if the target prompt information is received, the target prompt information is displayed on the interface of the first client.
In step 102, in the process of displaying the prompt message in the interface of the first client, if a preset trigger operation for the terminal installed in the first client is detected, the anti-disturbance mode is entered.
Wherein, prevent disturbing the mode and be: and when the interface of the first client is displayed, prohibiting a mode of displaying each prompt message in a preset prompt message set, wherein the preset prompt message set can comprise target prompt messages.
To sum up, in the method for entering the anti-disturbance mode provided by the embodiment of the present disclosure, when the terminal displays the interface of the first client and displays the target prompt information in the interface of the first client, if the preset trigger operation is detected, the terminal may directly enter the anti-disturbance mode. And the terminal does not need to close the interface of the first client in the process of entering the anti-disturbance mode, so that the process of entering the anti-disturbance mode is simplified.
FIG. 2 is a flow chart illustrating a method of another anti-disturb mode entry method, according to an example embodiment. The anti-disturbance mode entering method may be applied to a terminal, and as shown in fig. 2, the anti-disturbance mode entering method may include:
in step 201, when a display operation for an interface of a first client is detected, the interface of the first client is displayed. Step 202 is performed.
The terminal may have a plurality of clients installed thereon, and the plurality of clients may include: the system of the terminal comprises a client (such as a short message client) carried by the system of the terminal and a third party client (such as an instant messaging client or a game client) downloaded by the terminal. The first client may be any one of the plurality of clients.
The display operation of the interface for the first client may be: an area on a display screen of the terminal displaying an icon of the first client is triggered. For example, the first client may be a game client, and when a user triggers an area on the display screen where an icon of the game client is displayed, the terminal may generate a display instruction for displaying an interface of the game client, and at this time, the terminal may determine that a display operation for the interface of the game client is detected, and may further control the display screen to display the interface of the game client.
In step 202, when the target prompt message is received, the target prompt message is displayed in the interface of the first client. Step 203 is performed.
It should be noted that, in the embodiment of the present disclosure, the target prompt information is taken as the prompt information of another client different from the first client, that is, the target prompt information is not the prompt information of the first client. When the display screen of the terminal displays the interface of the first client, if the terminal receives the target prompt message, the prompt message is directly displayed in the interface of the first client.
For example, assuming that the target prompt information is the prompt information of the second client, as shown in fig. 3, when the display screen 301 of the terminal 30 displays the interface 3011 of the first client, if the terminal 30 receives the prompt information of the second client, the target prompt information X may be displayed on the interface 301 of the first client. For example, the first client may be a game client and the second client may be an instant messaging client. When the terminal displays the game interface, if the prompt message "nine-click meeting" of the instant messaging client is received, the prompt message X shown in fig. 3 may be displayed.
In step 203, in the process of displaying the target prompt information in the interface of the first client, if a preset trigger operation for the terminal is detected, the anti-disturbance mode is entered. Step 204 is performed.
The preset trigger operation may be a trigger operation for a display screen of the terminal. It should be noted that there are many possible implementations of the preset triggering operation, and only two of the implementations are explained as examples below.
In an implementation manner, please continue to refer to fig. 3, when the target prompt information X is displayed in the interface 3011 of the first client, the entry trigger entry Y of the anti-disturbance mode may also be displayed in the display screen 301. If the entry trigger entry Y is triggered (e.g., by a single-click operation), the terminal may generate an entry instruction of the anti-disturbance mode, and at this time, the terminal may determine that a preset trigger operation is detected and enter the anti-disturbance mode. For example, the display screen 301 of the terminal 30 may further display an information prompt interface 3012, and the target prompt information X and the entry trigger entry Y may both be located in the information prompt interface 3012. The entry trigger entry Y may be a logo
Figure BDA0001505770110000081
When the mark is in the display screen
Figure BDA0001505770110000082
When the area is triggered, the terminal may determine that a preset trigger operation is detected. It should be noted that the disclosed embodiments are only for entering the touch screen The entry Y is located in the information prompt interface 3012 for illustration, and in practical application, the entry triggering entry Y may be located in other positions of the display screen, which is not limited in this disclosure.
In another implementation manner, when the terminal detects a preset gesture sliding on the display screen, it may be determined that a preset trigger operation is detected. For example, referring to fig. 4, when the terminal 30 is horizontally placed, the area above the display screen 301 may display the target prompt information X, which may be in the form of "nine-click meeting". The preset gesture may be gesture S1 sliding from an upper region to a lower region of the display screen 301 as shown in fig. 4, or the preset gesture may be gesture S2 sliding from a central region of the display screen 301 to an upper region as shown in fig. 5. When the target prompt information X is displayed in the interface 3011 of the first client, if the user slides on the display screen 301 according to the preset gesture, the terminal 30 may determine that the preset trigger operation is detected, and then enter the anti-disturbance mode.
The terminal may enter an anti-disturb mode when detecting a preset trigger operation. The anti-disturb mode may be: when the interface of the first client is displayed, the mode of displaying each prompt message in the preset prompt message set is prohibited, the preset prompt message set may include the target prompt message, and the preset prompt message set does not include the prompt message of the first client.
The preset prompt information set may be: and the information which is set on the terminal in advance by the user and needs to be prohibited from being displayed when the interface of the first client side is displayed. For example, the preset prompt information set may include prompt information of at least one preset client.
On one hand, before the terminal displays the interface of the first client, the user may operate the terminal to set the at least one preset client, the at least one preset client may include a second client, and the target prompt information is prompt information of the second client. For example, the terminal is installed with a client a, a client B, a client C, and a client D, where the client D is a first client, and the at least one preset client may include: client a, client B, and client C. If the terminal receives target prompt information (prompt information of the client a, the client B or the client C) when displaying the interface of the first client, and the terminal detects a preset trigger operation, the terminal may prohibit displaying the prompt information of the client a, the client B and the client C when displaying the interface of the first client.
On the other hand, the at least one preset client may be a client determined by the terminal after receiving the target prompt message. For example, if the target prompt information is the prompt information of the second client, the terminal may determine that the second client is the preset client after receiving the target prompt information. Optionally, after receiving the prompt information of other clients except the first client and the second client, the terminal may determine the other clients as the preset clients; or, the terminal may further determine, as the preset client, other clients (different from both the first client and the second client) randomly screened among the clients installed on the terminal. At this time, the at least one preset client includes the second client and other clients. When the terminal detects the preset trigger operation, the terminal can forbid displaying the prompt messages of all the preset clients when displaying the interface of the first client.
For another example, the prompt information received by the terminal may carry a user identifier, and the user identifier carried by the target prompt information is a target user identifier. The preset prompting message set can further comprise: carrying prompt information of the target user identification. For example, when the terminal displays the interface of the first client, the terminal receives the prompt message a, the prompt message b and the prompt message c, and detects a preset trigger operation. If the prompt information a is the target prompt information and the carried user identifier is "Q", the terminal may prohibit displaying all the prompt information carrying the user identifier "Q" when displaying the interface of the first client, but may display the prompt information carrying the user identifier not being "Q", thereby increasing the flexibility of entering the anti-disturbance mode by the terminal.
In step 204, a stop instruction for stopping displaying the interface of the first client is received. Step 205 is performed.
For example, the terminal may generate the stop instruction when a trigger operation for a preset function key is detected (e.g., the preset function key is pressed). The preset function key may include: a closing function key of the first client, a returning function key of the terminal, a shutdown function key, a main menu function key and the like. It should be noted that the preset function key may be a virtual key displayed on the display screen or an entity key set on the terminal, which is not limited in the embodiment of the present disclosure.
In step 205, the display of the interface of the first client is stopped according to the stop instruction. Step 206 is performed.
When the terminal receives the stop instruction, the terminal may stop displaying the interface of the first client according to the stop instruction.
In step 206, the anti-disturb mode is exited according to the stop instruction. Step 207 is performed.
The terminal may determine the stop instruction as an exit instruction to exit the anti-disturb mode, and exit the anti-disturb mode according to the exit instruction. Further, the terminal may display information received during entry into the anti-disturb mode after exiting the anti-disturb mode.
It should be noted that, in the embodiment of the present disclosure, when the terminal stops displaying the interface of the first client, the terminal may directly exit the anti-disturbance mode, and a user does not need to perform an operation on the terminal to enable the terminal to exit the anti-disturbance mode, so that a process of exiting the anti-disturbance mode is simplified, and a situation that the user forgets to exit the anti-disturbance mode and misses important information is avoided.
In step 207, when the display operation of the interface for the first client is detected again, the interface of the first client is displayed. Step 208 is performed.
After the terminal stops displaying the interface of the first client, if the display operation for the interface of the first client is detected again, the interface of the first client can be displayed again. Step 201 may be referred to in the process of determining that the display operation is detected, which is not described herein again in this embodiment of the disclosure.
In step 208, it is detected whether the terminal satisfies a preset condition, where the preset condition includes: and the terminal enters an anti-disturbance mode in the last process of displaying the interface of the first client. If the terminal meets the preset condition, go to step 209; if the terminal does not satisfy the preset condition, step 201 is executed.
The terminal can record whether the first client enters the anti-disturbance mode or not in the process of displaying the interface of the first client every time, and obtain a result of whether the first client enters the anti-disturbance mode or not recorded in the process of displaying the interface of the first client last time when the interface of the first client is displayed every time, so that whether the terminal meets the preset condition or not is determined according to the result.
It should be noted that, the embodiments of the present disclosure only include, with the preset condition: the terminal enters the anti-disturbance mode in the last process of displaying the interface of the first client as an example. In practical application, the terminal may further record an account number of the first client logged in each time, and determine the first account number currently logged in the first client in the process of displaying the interface of the first client each time. At this time, the preset condition may include: and in the process that the first account logs in the first client on the terminal last time, the terminal enters an anti-disturbance mode.
For example, assume that the user logs in to the first client using accounts H1, H2, and H1 in sequence. In the process that a user logs in a first client by using an account at each time, the terminal can record whether the terminal enters an anti-disturbance mode. Assuming that the terminal enters the anti-disturbance mode when the user uses the account H1 for the first time and the terminal does not enter the anti-disturbance mode when the user uses the account H2 for the second time, after the user logs in to the first client by using the account H1 for the second time, the terminal may obtain a recording result during the process that the user logs in to the first client by using the account H1 for the first time, and then determine that the terminal meets the preset condition according to the result.
In step 209, a recovery trigger entry is displayed in the interface of the first client. Step 210 is performed.
For example, referring to fig. 6, when the preset condition is satisfied, the terminal 30 may display a recovery prompt interface 3013 in the interface 301 of the first client, where the recovery prompt interface 3013 may include: resume prompt W, resume trigger entry Z, and stop trigger entry T. The resume prompt information W may be "whether to resume the anti-disturb mode? "the recovery trigger entry Z may be the virtual option" yes ", and the stop trigger entry T may be the virtual option" no ".
In step 210, upon detection of a triggering operation for resuming the trigger portal, an anti-disturb mode is entered.
For example, if the recovery trigger entry Z in fig. 6 is triggered, the terminal may generate a recovery trigger instruction, at which point the terminal may determine that a trigger operation for the recovery trigger entry is detected, and may directly enter the anti-disturbance mode. If the stop trigger entry T is triggered, the terminal may generate an instruction to stop displaying the recovery prompt interface, and then the terminal may stop displaying the recovery prompt interface 3013 according to the instruction.
It should be noted that, in the embodiment of the present disclosure, the terminal may display the recovery trigger entry after displaying the interface of the first client, and the user may directly perform a trigger operation on the recovery trigger entry, so that the terminal can directly enter the anti-disturbance mode without displaying the target prompt information.
In the method for entering the anti-disturbance mode provided by the embodiment of the disclosure, when the terminal displays the interface of the first client, if the terminal receives the target prompt information, the target prompt information may be displayed in the interface of the first client. In the process of displaying the target prompt message, if the terminal detects the preset trigger operation, the terminal can directly enter the anti-disturbance mode. When the terminal displays the interface of the first client next time, a recovery trigger entry can be displayed, and after the trigger operation aiming at the recovery trigger entry is detected, the terminal enters an anti-disturbance mode. Therefore, when the terminal displays the interface of the first client, the user is not disturbed by the prompt messages of other clients all the time.
It should be noted that, in this embodiment of the present disclosure, as an example, the target prompt information is not the prompt information of the first client, in practical application, the target prompt information may also be any prompt information of the first client, and at this time, after the terminal enters the anti-disturbance mode, the terminal may prohibit displaying each prompt information in the preset prompt information set. The preset prompt information set may be: and the information which is set on the terminal in advance by the user and needs to be prohibited from being displayed when the interface of the first client side is displayed.
To sum up, in the method for entering the anti-disturbance mode provided by the embodiment of the present disclosure, when the terminal displays the interface of the first client and displays the target prompt information in the interface of the first client, if the preset trigger operation is detected, the terminal may directly enter the anti-disturbance mode. The terminal does not need to close the interface of the first client in the process of entering the anti-disturbance mode, so that the process of entering the anti-disturbance mode is simplified.
Fig. 7 is a schematic diagram illustrating a structure of an anti-disturb mode entry device, according to an example embodiment. The disturbance prevention mode entering device may be applied to a terminal, as shown in fig. 7, and the disturbance prevention mode entering device 70 includes:
The first display module 701 is configured to, when displaying the interface of the first client, display the target prompt information in the interface of the first client if the target prompt information is received.
The first entering module 702 is configured to, in the process of displaying the target prompt information in the interface of the first client, enter the anti-disturbance mode if a preset trigger operation for the terminal installed on the first client is detected.
Wherein, prevent disturbing the mode and be: and when the interface of the first client is displayed, prohibiting a mode of displaying each prompt message in a preset prompt message set, wherein the preset prompt message set comprises target prompt messages.
To sum up, in the device for entering the anti-disturbance mode provided by the embodiment of the present disclosure, when the first display module displays the interface of the first client and displays the target prompt information in the interface of the first client, if the first entry module detects the preset trigger operation, the terminal may directly enter the anti-disturbance mode. The terminal does not need to close the interface of the first client in the process of entering the anti-disturbance mode, so that the process of entering the anti-disturbance mode is simplified.
Optionally, the target prompt message is not a prompt message of the first client, and the preset prompt message set does not include the prompt message of the first client.
Alternatively, fig. 8 is a schematic structural diagram illustrating another anti-disturb mode entry device according to an example embodiment. The apparatus for entering anti-disturbance mode can be used for a terminal, as shown in fig. 8, and on the basis of fig. 7, the apparatus for entering anti-disturbance mode 70 can further include:
the receiving module 703 is configured to receive a stop instruction for stopping displaying the interface of the first client after the terminal enters the anti-disturbance mode.
A stopping module 704 configured to stop displaying the interface of the first client according to the stopping instruction.
An exit module 705 configured to exit the anti-disturb mode according to a stop instruction.
Optionally, the target prompt message is a prompt message of the second client,
the preset prompt information set comprises the following steps: and the at least one preset client comprises a second client.
Alternatively, fig. 9 is a schematic structural diagram illustrating yet another anti-disturb mode entry device according to an example embodiment. The apparatus for entering anti-disturbance mode can be used for a terminal, as shown in fig. 9, and on the basis of fig. 8, the apparatus for entering anti-disturbance mode 70 can further include:
and a second display module 706 configured to display the interface of the first client when a display operation for the interface of the first client is detected after the terminal stops displaying the interface of the first client.
A first detecting module 707 configured to detect whether the terminal satisfies preset conditions, where the preset conditions include: and in the process of displaying the interface of the first client at the last time, the terminal enters an anti-disturbance mode.
A second entering module 708 configured to enter the anti-disturb mode when the terminal satisfies a preset condition.
Alternatively, fig. 10 is a schematic structural diagram illustrating yet another anti-disturb mode entry device according to an exemplary embodiment. The apparatus for entering anti-disturbance mode can be used for a terminal, as shown in fig. 10, and on the basis of fig. 8, the apparatus for entering anti-disturbance mode 70 can further include:
a third display module 709 configured to display the interface of the first client when a display operation for the interface of the first client is detected after the terminal stops displaying the interface of the first client.
A determining module 710 configured to determine a first account currently logged in to the first client.
A second detecting module 711 configured to detect whether the terminal satisfies preset conditions, where the preset conditions include: and in the process that the first account logs in the first client on the terminal last time, the terminal enters an anti-disturbance mode.
A third entering module 712 configured to enter the anti-disturb mode when the terminal satisfies a preset condition.
Optionally, the second entry module 708 or the third entry module 712 may be configured to:
when the terminal meets a preset condition, displaying a recovery triggering entry in an interface of the first client;
upon detecting a trigger operation for resuming the trigger portal, entering an anti-disturb mode.
Optionally, the preset triggering operation is: and triggering operation aiming at a display screen of the terminal.
To sum up, in the device for entering the anti-disturbance mode provided by the embodiment of the present disclosure, when the first display module displays the interface of the first client and displays the target prompt information in the interface of the first client, if the first entry module detects the preset trigger operation, the terminal may directly enter the anti-disturbance mode. The terminal does not need to close the interface of the first client in the process of entering the anti-disturbance mode, so that the process of entering the anti-disturbance mode is simplified.
Fig. 11 is a block diagram illustrating an anti-disturb mode entry device, according to an example embodiment. Alternatively, the anti-disturbance mode entering device 800 may be a mobile phone, a computer, a digital broadcasting terminal, an information transceiving device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 11, the apparatus 800 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, and communication component 816.
The processing component 802 generally controls overall operation of the device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the apparatus 800. Examples of such data include instructions for any application or method operating on device 800, contact data, phonebook data, information, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power components 806 provide power to the various components of device 800. The power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 800.
The multimedia component 808 includes a screen that provides an output interface between the device 800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 800 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the device 800. For example, the sensor assembly 814 may detect the open/closed status of the device 800, the relative positioning of components, such as a display and keypad of the device 800, the sensor assembly 814 may also detect a change in the position of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, the orientation or acceleration/deceleration of the device 800, and a change in the temperature of the device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communications between the apparatus 800 and other devices in a wired or wireless manner. The device 800 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the device 800 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Embodiments of the present disclosure also provide a program product comprising instructions, which when run on a processing component, cause the processing component to perform the above-mentioned anti-disturb mode entry method.
The above-described embodiments can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, can be implemented in whole or in part in the form of a program product including one or more instructions.
It should be noted that: the above-mentioned functional modules are divided into a plurality of functional modules, and the functional modules are divided into a plurality of functional modules, so that the functional modules are divided into a plurality of functional modules, and the functional modules are divided into a plurality of functional modules.
It should be noted that, the method embodiments provided in the embodiments of the present disclosure can be mutually referred to corresponding apparatus embodiments, and the embodiments of the present disclosure do not limit this. The sequence of the steps of the method embodiments provided in the embodiments of the present disclosure can be appropriately adjusted, and the steps can be correspondingly increased or decreased according to the circumstances, and any method that can be easily conceived by those skilled in the art within the technical scope of the present disclosure is covered by the protection scope of the present disclosure, and therefore, the detailed description is omitted.
The above description is intended to be exemplary only and not to limit the present disclosure, and any modification, equivalent replacement, or improvement made without departing from the spirit and scope of the present disclosure is to be considered as the same as the present disclosure.

Claims (8)

1. An anti-disturb mode entry method, the method comprising:
when an interface of a first client is displayed, if target prompt information sent by a second client is received, the target prompt information is displayed in the interface of the first client;
in the process of displaying the target prompt message in the interface of the first client, if a preset trigger operation aiming at a terminal installed on the first client is detected, entering an anti-disturbance mode;
wherein the anti-disturb mode is: when the interface of the first client is displayed, prohibiting a mode of displaying each prompt message in a preset prompt message set, wherein the preset prompt message set comprises the prompt message of at least one preset client and does not comprise the prompt message of the first client, the at least one preset client comprises the second client, and the target prompt message is the prompt message of the second client and is not the prompt message of the first client;
The method further comprises the following steps:
after the terminal stops displaying the interface of the first client, exiting the anti-disturbance mode and displaying the received prompt information during entering the anti-disturbance mode, and when the display operation of the interface of the first client is detected, displaying the interface of the first client;
determining a first account currently logged in the first client;
detecting whether the terminal meets a preset condition, wherein the preset condition comprises the following steps: the terminal enters the anti-disturbance mode in the process that the first account logs in the first client on the terminal last time;
and when the terminal meets the preset condition, displaying a recovery trigger entry in an interface of the first client, and entering the anti-disturbance mode when detecting the trigger operation aiming at the recovery trigger entry.
2. The method of claim 1, further comprising:
after the terminal enters the anti-disturbance mode, receiving a stop instruction for stopping displaying the interface of the first client;
stopping displaying the interface of the first client according to the stopping instruction;
And exiting the disturbance prevention mode according to the stop instruction.
3. The method of claim 1,
the preset triggering operation is as follows: and triggering operation aiming at a display screen of the terminal.
4. An anti-disturb mode entry device, comprising:
the first display module is configured to display a target prompt message in an interface of a first client if the target prompt message sent by a second client is received when the interface of the first client is displayed;
a first entering module configured to enter an anti-disturbance mode if a preset trigger operation for a terminal installed on the first client is detected in a process of displaying the target prompt information in an interface of the first client;
wherein the anti-disturb mode is: when the interface of the first client is displayed, prohibiting a mode of displaying each prompt message in a preset prompt message set, wherein the preset prompt message set comprises the prompt message of at least one preset client and does not comprise the prompt message of the first client, the at least one preset client comprises the second client, and the target prompt message is the prompt message of the second client and is not the prompt message of the first client;
The disturbance prevention mode entering device further includes:
the terminal comprises a detection module, a display module and a display module, wherein the detection module is configured to exit the anti-disturbance mode and display prompt information received during entering the anti-disturbance mode after the terminal stops displaying the interface of the first client, and when the display operation of the interface of the first client is detected, the interface of the first client is displayed; determining a first account currently logged in the first client; detecting whether the terminal meets a preset condition, wherein the preset condition comprises the following steps: the terminal enters the anti-disturbance mode in the process that the first account logs in the first client on the terminal last time; and when the terminal meets the preset condition, displaying a recovery trigger entry in an interface of the first client, and entering the anti-disturbance mode when detecting the trigger operation aiming at the recovery trigger entry.
5. The anti-disturb mode entry device of claim 4, further comprising:
the receiving module is configured to receive a stop instruction for stopping displaying the interface of the first client after the terminal enters the anti-disturbance mode;
A stopping module configured to stop displaying the interface of the first client according to the stopping instruction;
an exit module configured to exit the anti-disturb mode according to the stop instruction.
6. The anti-disturb mode entry device of claim 4,
the preset triggering operation is as follows: and triggering operation aiming at a display screen of the terminal.
7. An anti-disturb mode entry device, comprising:
a processing component;
a memory for storing executable instructions of the processing component;
wherein the processing component is configured to:
when an interface of a first client is displayed, if target prompt information sent by a second client is received, the target prompt information is displayed in the interface of the first client;
in the process of displaying the target prompt message in the interface of the first client, if a preset trigger operation aiming at a terminal installed on the first client is detected, entering an anti-disturbance mode;
wherein the anti-disturb mode is: when the interface of the first client is displayed, prohibiting a mode of displaying each prompt message in a preset prompt message set, wherein the preset prompt message set comprises the prompt message of at least one preset client and does not comprise the prompt message of the first client, the at least one preset client comprises the second client, and the target prompt message is the prompt message of the second client and is not the prompt message of the first client;
After the terminal stops displaying the interface of the first client, exiting the anti-disturbance mode and displaying the received prompt information during entering the anti-disturbance mode, and when the display operation of the interface of the first client is detected, displaying the interface of the first client; determining a first account currently logged in the first client; detecting whether the terminal meets a preset condition, wherein the preset condition comprises the following steps: the terminal enters the anti-disturbance mode in the process that the first account logs in the first client on the terminal last time; and when the terminal meets the preset condition, displaying a recovery trigger entry in an interface of the first client, and entering the anti-disturbance mode when detecting the trigger operation aiming at the recovery trigger entry.
8. A computer-readable storage medium having instructions stored therein,
the instructions, when executed on a processing component, cause the processing component to perform the anti-disturb mode entry method of any of claims 1 to 3.
CN201711326568.2A 2017-12-13 2017-12-13 Anti-disturbance mode entering method and device Active CN108089800B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711326568.2A CN108089800B (en) 2017-12-13 2017-12-13 Anti-disturbance mode entering method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711326568.2A CN108089800B (en) 2017-12-13 2017-12-13 Anti-disturbance mode entering method and device

Publications (2)

Publication Number Publication Date
CN108089800A CN108089800A (en) 2018-05-29
CN108089800B true CN108089800B (en) 2022-01-18

Family

ID=62175221

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711326568.2A Active CN108089800B (en) 2017-12-13 2017-12-13 Anti-disturbance mode entering method and device

Country Status (1)

Country Link
CN (1) CN108089800B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103401763A (en) * 2013-07-30 2013-11-20 百度在线网络技术(北京)有限公司 Method and device for receiving group message and method and device for processing group message
CN104009910A (en) * 2014-05-28 2014-08-27 惠州Tcl移动通信有限公司 Message pushing processing method and system based on mobile terminal and mobile terminal
CN105187644A (en) * 2015-08-27 2015-12-23 广东欧珀移动通信有限公司 Playing operation method and terminal
CN105912333A (en) * 2016-04-11 2016-08-31 上海斐讯数据通信技术有限公司 Method and system for shielding virtual key of mobile terminal
CN106990842A (en) * 2017-03-30 2017-07-28 维沃移动通信有限公司 A kind of method and mobile terminal for shielding notification message

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8527673B2 (en) * 2007-05-23 2013-09-03 Vmware, Inc. Direct access to a hardware device for virtual machines of a virtualized computer system
WO2009071032A1 (en) * 2007-11-30 2009-06-11 Tencent Technology (Shenzhen) Company Limited Message processing method, system and apparatus in the instant messaging
CN102693123B (en) * 2011-03-24 2017-09-22 微软技术许可有限责任公司 The control method and control device of prompt message
US8725882B2 (en) * 2011-09-09 2014-05-13 Oracle International Corporation Masking database outages from clients and applications
US8706096B2 (en) * 2012-07-12 2014-04-22 Time Warner Cable Enterprises Llc Call management and notifications in media player applications
US9026705B2 (en) * 2012-08-09 2015-05-05 Oracle International Corporation Interrupt processing unit for preventing interrupt loss
US9818171B2 (en) * 2015-03-26 2017-11-14 Lenovo (Singapore) Pte. Ltd. Device input and display stabilization
CN107025097A (en) * 2016-01-29 2017-08-08 阿里巴巴集团控股有限公司 A kind of control method of end application, device and terminal
CN105824670A (en) * 2016-03-18 2016-08-03 上海斐讯数据通信技术有限公司 Method and device for managing application programs in mobile terminal
CN106325670A (en) * 2016-08-16 2017-01-11 北京小米移动软件有限公司 Message prompting method and device
CN106775661B (en) * 2016-11-29 2019-01-04 维沃移动通信有限公司 A kind of method and mobile terminal controlling working mode of mobile terminal
CN106686253A (en) * 2017-02-28 2017-05-17 维沃移动通信有限公司 Mobile terminal and disturbance preventing method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103401763A (en) * 2013-07-30 2013-11-20 百度在线网络技术(北京)有限公司 Method and device for receiving group message and method and device for processing group message
CN104009910A (en) * 2014-05-28 2014-08-27 惠州Tcl移动通信有限公司 Message pushing processing method and system based on mobile terminal and mobile terminal
CN105187644A (en) * 2015-08-27 2015-12-23 广东欧珀移动通信有限公司 Playing operation method and terminal
CN105912333A (en) * 2016-04-11 2016-08-31 上海斐讯数据通信技术有限公司 Method and system for shielding virtual key of mobile terminal
CN106990842A (en) * 2017-03-30 2017-07-28 维沃移动通信有限公司 A kind of method and mobile terminal for shielding notification message

Also Published As

Publication number Publication date
CN108089800A (en) 2018-05-29

Similar Documents

Publication Publication Date Title
US10123196B2 (en) Method and device for alarm triggering
EP3188066B1 (en) A method and an apparatus for managing an application
CN110662095B (en) Screen projection processing method and device, terminal and storage medium
US10075445B2 (en) Methods and devices for permission management
EP3151117B1 (en) Method and device for delaying information broadcasting
CN109557999B (en) Bright screen control method and device and storage medium
CN106453052B (en) Message interaction method and device
US20190235745A1 (en) Method and device for displaying descriptive information
CN106547461B (en) Operation processing method, device and equipment
CN105786507B (en) Display interface switching method and device
CN107562349B (en) Method and device for executing processing
CN107491681B (en) Fingerprint information processing method and device
CN108874450B (en) Method and device for waking up voice assistant
CN107656616B (en) Input interface display method and device and electronic equipment
CN106445122B (en) Equipment state control method and device
CN106570381B (en) Fingerprint unlocking method and device
CN106919302B (en) Operation control method and device of mobile terminal
CN112083841B (en) Information input method, device and storage medium
CN108089800B (en) Anti-disturbance mode entering method and device
CN111353427B (en) Fingerprint unlocking signal processing method, device and medium
CN106791200B (en) Information display method and device
CN113806741A (en) Information processing method and device
CN106919395B (en) Application notification display method and device
CN106095512B (en) Application program opening method and device
CN106791077B (en) Method and device for processing multimedia messages in instant messaging software

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