Audio management method and apparatus
First Claim
1. An audio management method, comprising:
- determining whether there is an audio being played in response to detecting that there is a first web page audio to be automatically played;
performing a comparison to determine whether a priority of the first web page audio is lower than a priority of the audio being played when there is an audio being played;
intercepting automatic play of the first web page audio in response to determining that the priority of the first web page audio is lower than the priority of the audio being played;
playing the first web page audio in response to determining that the priority of the first web page audio is not lower than the priority of the audio being played; and
wherein after the intercepting the automatic play of the first web page audio, the method further comprises;
determining whether a web page corresponding to the first web page audio is changed into an active web page; and
in response to determining that the web page corresponding to the first web page audio is changed into the active web page, displaying an operation prompt to a user, wherein the operation prompt comprises one or more of the following operation options;
not playing the web page audio of the active web page, playing the web page audio of the active web page and pausing the web page audio being played, playing the web page audio of the active web page and decreasing the volume of the web page audio being played, and simultaneously playing the web page audio of the active web page and the audio being played.
3 Assignments
0 Petitions
Accused Products
Abstract
An audio management method and apparatus, which relate to the field of communications technologies. The method includes: when it is detected that there is a first web page audio to be automatically played, determining whether there is an audio being played and whether a priority of the first web page audio is lower than a priority of the audio being played; when yes, intercepting automatic play of the first web page audio; otherwise, playing the first web page audio. A priority of a first web page audio to be automatically played and a priority of a web page audio being played are compared to decide whether to play the first web page audio, so that the problem of a conflict between web page audios is solved, and a user is not required to perform operations one by one.
16 Citations
19 Claims
-
1. An audio management method, comprising:
-
determining whether there is an audio being played in response to detecting that there is a first web page audio to be automatically played; performing a comparison to determine whether a priority of the first web page audio is lower than a priority of the audio being played when there is an audio being played; intercepting automatic play of the first web page audio in response to determining that the priority of the first web page audio is lower than the priority of the audio being played; playing the first web page audio in response to determining that the priority of the first web page audio is not lower than the priority of the audio being played; and wherein after the intercepting the automatic play of the first web page audio, the method further comprises; determining whether a web page corresponding to the first web page audio is changed into an active web page; and in response to determining that the web page corresponding to the first web page audio is changed into the active web page, displaying an operation prompt to a user, wherein the operation prompt comprises one or more of the following operation options;
not playing the web page audio of the active web page, playing the web page audio of the active web page and pausing the web page audio being played, playing the web page audio of the active web page and decreasing the volume of the web page audio being played, and simultaneously playing the web page audio of the active web page and the audio being played. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. An audio management apparatus, comprising:
-
at least one hardware processor; a non-transitory computer-readable storage medium coupled to the at least one hardware processor and storing programming instructions for execution by the at least one hardware processor, wherein the programming instructions instruct the at least one hardware processor to; detect whether there is a first web page audio to be automatically played; determine whether there is an audio being played in response to detecting that there is a first web page audio to be automatically played; perform a comparison to determine whether a priority of the first web page audio is lower than a priority of the audio being played in response to determining that there is an audio being played; and intercept automatic play of the first web page audio;
otherwise, play the first web page audio in response to determining that the priority of the first web page audio is lower than the priority of the audio being played;determine whether a web page corresponding to the first web page audio is changed into an active web page after the automatic play of the first web page audio is intercepted; and in response to determining that the web page corresponding to the first web page audio is changed into the active web page after the automatic play of the first web page audio is intercepted, display an operation prompt to a user, wherein the operation prompt comprises one or more of the following operation options;
not playing the web page audio of the active web page, playing the web page audio of the active web page and pausing the web page audio being played, playing the web page audio of the active web page and decreasing the volume of the web page audio being played, and simultaneously playing the web page audio of the active web page and the audio being played. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18, 19)
-
Specification