# US 12,015,733 B2 · Do-not-disturb method and terminal

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 12,015,733 B2
- Document ID: US12015733B2
- Status: Granted
- Kind: B2
- Application number: 17/840,978
- Filed: 2022-06-15
- Published: 2022-09-29
- Granted: 2024-06-18
- Earliest claimed: 2022-06-15
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Yanhui Yu; Yuchuan Sun
- Web page: https://patentgrep.com/patent/US12015733B2

## CPC

- G06F 3/165: {Management of the audio stream, e.g. setting of volume, audio stream path}
- H04M 1/72463: to restrict the functionality of the device
- G06F 3/0484: 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
- G06F 9/44568: {Immediately runnable code}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04M: TELEPHONIC COMMUNICATION (circuits for controlling other apparatus via a telephone cable and not involving telephone switching apparatus G08)

## Abstract

A do-not-disturb method and a terminal. The method includes: displaying, by the terminal, an interface of a first application, then, if the interface of the first application includes a media playing window, and the first application is in a media do-not-disturb mode, determining whether any first media playing in the window was triggered by a playing operation of a user. If the playing of the first media in the window was triggered by the playing operation of the user, the method includes playing the corresponding media, and if the playing of the first media in the window was not triggered by the playing operation of the user, the method includes pausing or stopping play of the corresponding media. This method can avoid automatic playing of media, to reduce resource waste, data traffic consumption, a processing load of a mobile phone, and power consumption.

## Claims

### Claim 1

A do-not-disturb method, applicable to a terminal on which a first application is installed, the do-not-disturb method comprising:
displaying a first interface of the first application based on data traffic of the terminal;
when the first interface of the first application comprises a window for playing media and the first application is in a media do-not-disturb mode, wherein a user is actively prompted to set the media do-not-disturb mode, determining whether playing first media in the window is triggered by a first operation of a user, and the media play content is an advertisement;
when playing the first media in the window is triggered by the first operation of the user, playing the first media based on the data traffic, receiving a second operation, suspending an image signal of the first media in response to the second operation, and playing a sound signal of the first media based on the data traffic; and,
when playing the first media in the window is not triggered by a play operation of the user, pausing or stopping playing the first media.

### Claim 2 (depends on 1)

The do-not-disturb method according to claim 1, wherein the first application is a video application dedicated to providing video content.

### Claim 3 (depends on 1)

The do-not-disturb method according to claim 1, wherein, before the method is executed, the method further comprises:
receiving a third operation, wherein the third operation is used to enable a media do-not-disturb mode.

### Claim 4 (depends on 1)

The do-not-disturb method according to claim 1, wherein, when the interface of the first application comprises a window for playing media, the window for playing media is partially displayed in the first interface.

### Claim 5 (depends on 1)

The do-not-disturb method according to claim 1, further comprising:
pausing the image signal of the media; and
displaying a frame of image on a first interface.

### Claim 6 (depends on 1)

The do-not-disturb method according to claim 1, further comprising:
displaying a second interface of the first application;
when the second interface of the first application comprises a window for playing media and the first application is in the media do-not-disturb mode, the media do-not-disturb mode is used to save data traffic, determining whether playing second media in the window is triggered by the first operation of the user;
after playing the second media in the window is triggered by the first operation of the user, playing the second media; and
after playing the second media in the window is not triggered by a play operation of the user, pausing or stopping playing the second media.

### Claim 7

A do-not-disturb method, applicable to a terminal on which a first application is installed, comprising:
displaying a first interface of the first application based on data traffic of the terminal;
when the first interface of the first application comprises a window for playing media and the first application is in the media do-not-disturb mode, wherein a user is actively prompted to set the media do-not-disturb mode, determining whether playing first media in the window is triggered by a first operation of a user, and the media play content is an advertisement;
after playing the first media in the window is triggered by the first operation of the user, playing the corresponding media based on the data traffic;
after playing the first media in the window is not triggered by a play operation of the user, pausing or stopping playing the corresponding media;
displaying a second interface of the first application based on the data traffic;
when the second interface of the first application comprises a window for playing media and the first application is in the media do-not-disturb mode, the media do-not-disturb mode is used to save data traffic, determining whether playing second media in the window is triggered by the first operation of the user;
after playing the second media in the window is triggered by the first operation of the user, playing the second media based on the data traffic; and
after playing the second media in the window is not triggered by a play operation of the user, pausing or stopping playing the second media.

### Claim 8 (depends on 1)

A terminal, comprising
a processor; and
a memory, wherein the memory is configured to store one or more computer programs; and,
when the one or more computer programs stored in the memory are executed by the processor, the terminal performs the do-not-disturb method according to claim 1.

### Claim 9 (depends on 1)

A non-transitory computer storage medium, wherein the non-transitory computer readable storage medium comprises a computer program, and when the computer program runs on a terminal, the terminal is enabled to perform the do-not-disturb method according to claim 1.
