IP Library Granted Patent US 11,068,235
Granted Patent B2
US 11,068,235 · App. 16/859,875 · Granted Jul 20, 2021

Volume adjustment method, terminal device, storage medium and electronic device

Inventor: Taotao Zhao (Beijing, CN)
Assignee: BAIDU ONLINE NETWORK TECHNOLOGY (BEIJING) CO., LTD.
G06F3/165G10L25/51H03G7/002H04R29/001H04R2430/01
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,068,235
App. No.
16/859,875
Granted
Jul 20, 2021
Kind
B2
Abstract

The present disclosure provides a volume adjustment method, a terminal device, a storage medium, and an electronic device. The volume adjustment method provided by the present disclosure includes: acquiring ambient sound of current environment first and determining the main sound included in the ambient sound, where the main sound has a strongest preset sound characteristic among all sound types included in the ambient sound, and then adjusting a volume of the audio sound according to the main sound and a preset sound adjustment rule. The volume adjustment method provided by the present disclosure may enable the terminal device to adopt an adaptive adjustment manner to control the volume under different working environments, thereby outputting a volume that meets a user's current demand for the user.

Claims (52)

1. A volume adjustment method, applied to a terminal device and comprising:

acquiring ambient sound of current environment;

determining main sound comprised in the ambient sound, wherein the main sound has a strongest preset sound characteristic among all sound types comprised in the ambient sound, and the sound types comprise audio sound, human voice, and device sound, wherein the audio sound is played by the terminal device; and

adjusting a volume of the audio sound according to the main sound and a preset sound adjustment rule;

wherein the adjusting a volume of the audio sound according to the main sound and the preset sound adjustment rule, comprises:

calculating a duration during which the device voice is monitored when the main voice is the device voice; and

turning down the volume of the audio sound if the duration exceeds a third preset duration.

2. The volume adjustment method of claim 1 , wherein the adjusting a volume of the audio sound according to the main sound and the preset sound adjustment rule, comprises:

calculating a duration during which the human voice is monitored when the main voice is the human voice; and

turning down the volume of the audio sound if the duration exceeds a first preset duration.

3. The volume adjustment method of claim 2 , after the turning down the volume of the audio sound, further comprising:

adjusting the volume of the audio sound to an original volume if a stop duration of the human voice exceeds a second preset duration.

4. The volume adjustment method of claim 1 , after the turning down the volume of the audio sound, further comprising:

adjusting the volume of the audio sound to an original volume if a stop duration of the device voice exceeds a fourth preset duration.

5. The volume adjustment method of claim 1 , wherein the adjusting a volume of the audio sound according to the main sound and the preset sound adjustment rule, comprises:

turning down the volume of the audio sound when it is unable to determine the main sound.

6. The volume adjustment method of claim 1 , wherein the adjusting a volume of the audio sound according to the main sound and the preset sound adjustment rule, comprises:

determining identity information of a sounding object according to an adjustment instruction sound in the ambient sound; and

determining a sound adjustment amplitude according to the identity information and the preset sound adjustment rule.

7. The volume adjustment method of claim 6 , after the adjusting a volume of the audio sound according to the main sound and the preset sound adjustment rule, further comprising:

stopping, by the terminal device, automatically adjusting the audio sound if the adjustment instruction sound is received within a preset fifth duration and the adjustment instruction sound is used to indicate the terminal device to adjust in a direction opposite to that of a latest sound adjustment.

8. A terminal device, comprising:

a processor; and

a memory, configured to store executable instructions for the processor;

wherein the processor, by executing the executable instructions, is configured to:

acquire ambient sound of current environment;

determine main sound comprised in the ambient sound, wherein the main sound has a strongest preset sound characteristic among all sound types comprised in the ambient sound, and the sound types comprise audio sound, human voice, and device sound, wherein the audio sound is played by the terminal device; and

adjust a volume of the audio sound according to the main sound and a preset sound adjustment rule;

wherein the processor is configured to:

calculate a duration during which the device voice is monitored when the main voice is the device voice; and

turn down the volume of the audio sound if the duration exceeds a third preset duration.

9. The terminal device of claim 8 , wherein the processor is configured to:

calculate a duration during which the human voice is monitored when the main voice is the human voice; and

turn down the volume of the audio sound if the duration exceeds a first preset duration.

10. The terminal device of claim 9 , wherein the processor is further configured to adjust the volume of the audio sound to an original volume if a stop duration of the human voice exceeds a second preset duration.

11. The terminal device of claim 8 , wherein the processor is further configured to adjust the volume of the audio sound to an original volume if a stop duration of the device voice exceeds a fourth preset duration.

12. The terminal device of claim 8 , wherein the processor is configured to:

turn down the volume of the audio sound when it is unable to determine the main sound.

13. The terminal device of claim 8 , wherein the processor is configured to:

determine identity information of a sounding object according to an adjustment instruction sound in the ambient sound; and

determine a sound adjustment amplitude according to the identity information and the preset sound adjustment rule.

14. The terminal device of claim 13 , wherein the processor is further configured to stop automatically adjusting the audio sound if the adjustment instruction sound is received within a preset fifth duration and the adjustment instruction sound is used to indicate the terminal device to adjust in a direction opposite to that of a latest sound adjustment.

15. A computer readable storage medium having a computer program stored thereon, wherein, the computer program, when executed by a processor, implements the volume adjustment method according to claim 1 .

16. A terminal device, comprising:

a processor; and

a memory, configured to store executable instructions for the processor;

wherein the processor, by executing the executable instructions, is configured to:

acquire ambient sound of current environment;

determine main sound comprised in the ambient sound, wherein the main sound has a strongest preset sound characteristic among all sound types comprised in the ambient sound, and the sound types comprise audio sound, human voice, and device sound, wherein the audio sound is played by the terminal device; and

adjust a volume of the audio sound according to the main sound and a preset sound adjustment rule;

wherein the processor is configured to:

turn down the volume of the audio sound when it is unable to determine the main sound.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 30, 2021
From: BAIDU ONLINE NETWORK TECHNOLOGY (BEIJING) CO., LTD.
To: BAIDU ONLINE NETWORK TECHNOLOGY (BEIJING) CO., LTD.; SHANGHAI XIAODU TECHNOLOGY CO. LTD.
Reel/Frame 056811/0772 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 27, 2020
From: ZHAO, TAOTAO
To: BAIDU ONLINE NETWORK TECHNOLOGY (BEIJING) CO., LTD.
Reel/Frame 052506/0431 →
Priority Claims (1)
CN 201910634983.7 · Jul 15, 2019 · national
Continuity (1)
Related Publication 20210019110A1 · Jan 21, 2021
Cited By (1)
US 12,707,213