Volume adjustment method and terminal
AssigneeHuawei Technologies Co., Ltd.
InventorsLin Yang, Fuzhou Xiao, Xiao Han, Junfeng Su
Life of this patent
Estimating the term…
Abstract
A volume adjustment method and a terminal relate to the field of terminal technologies and applied to adaptively adjust a volume during a voice conversation, and improve user experience. The terminal collects sound data during a voice conversation, where the sound data includes uplink voice data and background noise, and adjusts, when receiving downlink voice data, a volume of the downlink voice data based on the sound data.
Claims20
A volume adjustment method implemented by a terminal, wherein the volume adjustment method comprises:
- collecting sound data during a voice conversation, wherein the sound data comprises uplink voice data and background noise data;
- determining whether a volume parameter of the background noise is greater than or equal to a first preset value;
- adjusting the volume of the downlink voice data based on the volume parameter of the background noise in response to determining that the volume parameter of the background noise is greater than or equal to the first preset value;
- and
- adjusting the volume of the downlink voice data based on a volume parameter of the sound data in response to determining that the volume parameter of the background noise is less than the first preset value.
A terminal, comprising:
- a bus;
- at least one microphone coupled to the bus;
- a memory coupled to the bus and configured to store computer executable instructions;
- and
- a processor coupled to the bus and configured to execute the computer executable instructions to cause the terminal to:
- collect, using the at least one microphone, sound data during a voice conversation, wherein the sound data comprises uplink voice data and background noise;
- determine whether a volume parameter of the background noise is greater than or equal to a first preset value;
- adjust the volume of downlink voice data based on the volume parameter of the background noise in response to determining that the volume parameter of the background noise is greater than or equal to the first preset value;
- and
- adjust the volume of the downlink voice data based on a volume parameter of the sound data in response to determining that the volume parameter of the background noise is less than the first preset value.
A computer program product comprising computer-executable instructions for storage on a non-transitory computer-readable storage medium that, when executed by a processor, cause an apparatus to:
- collect sound data during a voice conversation, wherein the sound data comprises uplink voice data and background noise;
- determine whether a volume parameter of the background noise is greater than or equal to a first preset value;
- adjust the volume of downlink voice data based on the volume parameter of the background noise in response to determining that the volume parameter of the background noise is greater than or equal to the first preset value;
- and
- adjust the volume of the downlink voice data based on a volume parameter of the sound data in response to determining that the volume parameter of the background noise is less than the first preset value.
Dependencies are inferred from the claim text.