CN109040449A - A kind of volume adjusting method and terminal device - Google Patents
A kind of volume adjusting method and terminal device Download PDFInfo
- Publication number
- CN109040449A CN109040449A CN201810885688.4A CN201810885688A CN109040449A CN 109040449 A CN109040449 A CN 109040449A CN 201810885688 A CN201810885688 A CN 201810885688A CN 109040449 A CN109040449 A CN 109040449A
- Authority
- CN
- China
- Prior art keywords
- signal
- volume value
- voice
- audio object
- terminal device
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
Landscapes
- Engineering & Computer Science (AREA)
- Environmental & Geological Engineering (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
Abstract
The embodiment of the invention discloses a kind of volume adjusting method and terminal devices, wherein the described method includes: during playing audio object, according to the voice signal in prefixed time interval acquisition preset range;Whether judge in the voice signal comprising voice communication signal;If including voice communication signal in the voice signal, the broadcast sound volume value of the audio object is turned down to default volume value.The volume adjusting method provided through the embodiment of the present invention, terminal device can intelligently judge whether surrounding people is carrying out voice communication, and determining surrounding people during a voice call, intelligently the broadcast sound volume value of audio object is turned down, it is adjusted manually without terminal user, is able to ascend the usage experience of user.
Description
Technical field
The present embodiments relate to terminal device technical field more particularly to a kind of volume adjusting methods and terminal device.
Background technique
As terminal device is gradually intelligent, most terminal devices have had audio playing function.In practical application
In the process, if during first terminal device plays audio object, the second terminal equipment near first terminal equipment is carried out
When user speech is conversed, the broadcast sound volume for the audio object that first terminal equipment is played will lead to second terminal equipment user
Words cause severe jamming, cause it can not normal talking.If need to inform at this point, second terminal equipment user thinks normal talking
The broadcast sound volume of played audio object or reduction audio object is turned off manually in one terminal user, after the completion of conversing,
Inform that first terminal equipment user opens audio object manually or the broadcast sound volume of audio object is turned up again.
Existing terminal device is when playing audio object, to avoid playing the sound interference surrounding people of audio object
Voice communication, terminal user need to turn down the broadcast sound volume of audio object manually and be done with reducing to surrounding people's voice communication
It disturbs, the broadcast sound volume of audio object, the cumbersome usage experience for influencing user is turned up again after surrounding people's end of conversation.
Summary of the invention
The embodiment of the present invention provides a kind of volume adjusting method, is being played with solving terminal device existing in the prior art
It is to avoid interfering the voice communication of surrounding people during audio object, audio need to be manually adjusted by terminal user
Cumbersome problem caused by the broadcast sound volume of object.
In order to solve the above-mentioned technical problem, the present invention is implemented as follows:
In a first aspect, being applied to terminal device, wherein described the embodiment of the invention provides a kind of volume adjusting method
During method is included in broadcasting audio object, according to the voice signal in prefixed time interval acquisition preset range;Judgement
It whether include voice communication signal in the voice signal;If including voice communication signal in the voice signal, by the sound
The broadcast sound volume value of frequency object is turned down to default volume value.
Second aspect, the embodiment of the invention provides a kind of terminal devices, wherein the terminal device includes: acquisition mould
Block, for acquiring the voice signal in preset range according to prefixed time interval during playing audio object;First sentences
Disconnected module, for whether judging in the voice signal comprising voice communication signal;First adjustment module, if being used for the sound
Include voice communication signal in signal, the broadcast sound volume value of the audio object is turned down to default volume value.
The third aspect the embodiment of the invention provides a kind of terminal device, including processor, memory and is stored in described
It is real when the computer program is executed by the processor on memory and the computer program that can run on the processor
The step of any volume adjusting method described in the existing embodiment of the present invention.
Fourth aspect, the embodiment of the invention provides a kind of computer readable storage medium, the computer-readable storage
Computer program is stored on medium, and any described in the embodiment of the present invention is realized when the computer program is executed by processor
The step of kind volume adjusting method.
In embodiments of the present invention, by being acquired according to prefixed time interval default during playing audio object
Whether the voice signal in range judge in voice signal comprising voice communication signal, if comprising by the broadcasting sound of audio object
Magnitude is turned down to default volume value, can intelligently judge whether surrounding people is carrying out voice communication, and around determining
Personnel during a voice call, intelligently turn down the broadcast sound volume value of audio object, without terminal user manually into
Row is adjusted, and is able to ascend the usage experience of user.
Detailed description of the invention
Fig. 1 is a kind of flow diagram of according to embodiments of the present invention one volume adjusting method;
Fig. 2 is a kind of flow diagram of according to embodiments of the present invention two volume adjusting method;
Fig. 3 is a kind of structural block diagram of according to embodiments of the present invention three terminal device;
Fig. 4 is the hardware structural diagram of according to embodiments of the present invention four terminal device.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
Embodiment one
Referring to Fig.1, the flow diagram of the volume adjusting method of the offer of the embodiment of the present invention one is provided.
The volume adjusting method of the embodiment of the present invention the following steps are included:
Step 101: during playing audio object, believing according to the sound in prefixed time interval acquisition preset range
Number.
During terminal device plays audio object, due to broadcast sound volume is bigger can be to the logical of the personnel in preset range
Words interfere, it is therefore desirable to during playing audio object, judge whether there is call event in preset range, if then
The broadcast sound volume value of audio object is intelligently turned down, to avoid interfering the call event in preset range.Terminal is set
It is standby to can include but is not limited to: mobile terminal and mobile unit.
Prefixed time interval can be configured according to actual needs by those skilled in the art, such as be set as
1000ms, 1200ms or 1500ms etc., are not particularly limited this in the embodiment of the present invention.During specific implementation, eventually
End equipment executes volume adjustment process shown in an embodiment of the present invention every prefixed time interval.Preset range is terminal
The covered effective range of microphone institute of equipment, microphone can collect the voice signal in preset range.
Step 102: whether judging in voice signal comprising voice communication signal.
It may be including but not limited in voice signal: voice communication signal, road noise signal or engine noise signal
Deng.During specific implementation, it can judge whether believe comprising voice communication in voice signal using any suitable mode
Number, specific judgment mode is not particularly limited in the embodiment of the present invention.
Step 103: if in voice signal including voice communication signal, the broadcast sound volume value of audio object being turned down to default
Volume value.
Default volume value can by those skilled in the art's flexible setting and be previously written control program in, can also be by end
End equipment user is configured in advance according to actual needs.Default volume value is higher, then it is logical to personnel's voice in preset range
Interfered caused by words it is stronger, otherwise default volume value is lower, then it interferes caused by personnel's voice communication in preset range and gets over
It is weak.
Volume adjusting method provided in an embodiment of the present invention, by during playing audio object, according to it is default when
Between voice signal in interval acquisition preset range, whether judge in voice signal comprising voice communication signal, if comprising by sound
The broadcast sound volume value of frequency object is turned down to default volume value, can intelligently judge whether surrounding people is carrying out voice communication,
And it is determining surrounding people during a voice call, is intelligently turning down the broadcast sound volume value of audio object, be not necessarily to terminal
Equipment user is adjusted manually, is able to ascend the usage experience of user.
Embodiment two
Referring to Fig. 2, the flow chart of volume adjusting method provided by Embodiment 2 of the present invention is shown.
The volume adjusting method of the embodiment of the present invention the following steps are included:
Step 201: during playing audio object, believing according to the sound in prefixed time interval acquisition preset range
Number.
Terminal device can just start to execute volume adjusting method provided in an embodiment of the present invention when playing audio object
Intelligently to adjust broadcast sound volume.Can also be after the unlatching of volume intelligence regulatory function, then execute provided in an embodiment of the present invention
Volume adjusting method.
Volume intelligence regulating switch can be set in terminal device, terminal user can neatly open according to demand
Or the switch is closed to control the open and close of volume intelligence regulatory function, to meet the different demands of user.Terminal device
Then determine whether volume intelligence regulating switch opens;If volume intelligence regulating switch has turned on, thens follow the steps 201 and playing sound
During frequency object, according to the voice signal in prefixed time interval acquisition preset range and each step after step 201
Suddenly.
Specifically, if terminal user is not desired to hear the voice communication of surrounding people, volume can intelligently be adjusted and is opened
It closes, such terminal device is played out according to initial volume value always during playing the video object.Initial volume
Value is that user is playing the initially set broadcast sound volume value of the video object.Terminal user is not desired to the voice to surrounding people
Call interferes, then can open volume intelligence regulating switch.
Terminal device can call microphone collected sound signal, microphone to cover effective range then be default model
It encloses.Terminal device controls microphone and carries out a sound signal collecting, voice signal of every acquisition every prefixed time interval
Then execute volume adjustment process shown in an embodiment of the present invention.
Step 202: the noise signal in voice signal being filtered out, target sound signal is obtained.
Terminal device can filter out the noise signal in voice signal by the noise elimination apparatus of installation.Specifically
Ground carries out analyzing voice signal by the device, according to the different principle of its different corresponding frequency of sound type,
The noise signal of certain frequency section is filtered out.Such as road noise or engine noise may have the frequency different from human speech
Rate, therefore target sound signal can be obtained by the noise signal in setting frequency band threshold filter voice signal.
Step 203: whether judging in target sound signal comprising voice communication signal;If so, executing step 204;If it is not,
Execute step 205.
Due to having filtered out noise signal in target sound signal, can more accurately sentence from target sound signal
Whether disconnected include wherein voice communication signal.
Step 204: if turning down the broadcast sound volume value of audio object to default volume value comprising voice communication signal.
If can determine that someone is carrying out voice communication in preset range, comprising voice communication signal to avoid current institute
The audio object of broadcasting interferes its voice communication, then turns down the broadcasting audio of audio object to default volume value.
Default volume value is higher, then it is interfered stronger caused by personnel, talking in preset range, otherwise default volume value
Lower, then it is interfered weaker caused by personnel, talking in preset range.
Step 205: if not including voice communication signal, judging whether the broadcast sound volume value of audio object has been conditioned in advance
To default volume value;If so, executing step 206;Step 207 is executed if not.
If can determine that nobody is carrying out voice communication, the audio pair of broadcasting in preset range comprising voice communication signal
Even if as volume height will not in preset range other people cause voice communication to interfere, the broadcast sound volume value of audio object can at this time
It is conditioned or maintains initial volume value, it is user that initial volume value, which is the broadcast sound volume value before being adjusted to default volume,
Playing the initially set broadcast sound volume value of the video object.
Specifically there are two kinds of situations for unmanned progress voice communication in preset range: the first, the sound of preceding one acquisition
Include voice communication signal in signal, but does not include voice communication signal in the voice signal of this acquisition, it is primary before showing
Voice communication has terminated when detecting voice communication at the time of collected sound signal but this collected sound signal.Second,
It does not include voice communication signal in the voice signal of preceding one acquisition, and also logical not comprising voice in the voice signal of this acquisition
Signal is talked about, shows the first moment to the two moment at the second moment of this collected sound signal of a preceding collected sound signal
Interval in be not detected in the i.e. above-mentioned time interval of voice communication and unmanned within a preset range carry out voice communication.In order to distinguish
Above two different situation, then can determine whether the broadcast sound volume value of audio object has been adjusted to default volume value in advance,
If then explanation is the first situation, if otherwise explanation is second situation.
Step 206: if so, being turned up the broadcast sound volume value of audio object from default volume to initial volume value.
Wherein, initial volume value is the broadcast sound volume value before being adjusted to default volume.This kind is judging this acquisition
If the broadcast sound volume value not comprising voice communication signal but judgement audio object in voice signal has been adjusted to default in advance
In the case where volume value, the broadcast sound volume of audio object is turned up from default volume value to the scheme of initial volume value, is being determined
The broadcast sound volume value of the video object is adjusted to initial volume value automatically after the voice communication of personnel in preset range, is not necessarily to
Terminal user is adjusted manually, is able to ascend the usage experience of user.
Step 207: if it is not, keeping the broadcast sound volume value of audio object constant.
If it is not, then show the first moment of a preceding collected sound signal to this collected sound signal the second moment this
In the interval at two moment, unmanned within a preset range to carry out voice communication, the currently playing volume value of audio object is initial
Volume value, therefore keep the broadcast sound volume value of audio object constant.
Volume adjusting method provided in an embodiment of the present invention, by during playing audio object, according to it is default when
Between voice signal in interval acquisition preset range, whether judge in voice signal comprising voice communication signal, if comprising by sound
The broadcast sound volume value of frequency object is turned down to default volume value, can intelligently judge whether surrounding people is carrying out voice communication,
And it is determining surrounding people during a voice call, is intelligently turning down the broadcast sound volume value of audio object, be not necessarily to terminal
Equipment user is adjusted manually, is able to ascend the usage experience of user.In addition, volume adjustment side provided in an embodiment of the present invention
The broadcast sound volume value of the video object is adjusted to initial sound automatically after determining the voice communication of personnel in preset range by method
Magnitude is adjusted manually without terminal user, can further promote the usage experience of user.
Embodiment three
Referring to Fig. 3, a kind of structural block diagram of terminal device of the embodiment of the present invention three is shown.Before terminal device is able to achieve
The details of the volume adjusting method in embodiment is stated, and reaches identical effect.
The terminal device of the embodiment of the present invention includes: acquisition module 301, for pressing during playing audio object
According to the voice signal in prefixed time interval acquisition preset range;First judgment module 302, for judging in the voice signal
It whether include voice communication signal;First adjustment module 303, if for including voice communication signal in the voice signal, it will
The broadcast sound volume value of the audio object is turned down to default volume value.Wherein, default volume value is higher, then it is in preset range
Interfered caused by personnel's voice communication it is stronger, otherwise default volume value is lower, then it makes personnel's voice communication in preset range
At interference it is weaker.
Preferably, the terminal device further include: the second judgment module 304, for sentencing in the first judgment module 302
Whether break in the voice signal comprising after voice communication signal, if in the voice signal not including voice communication signal,
Judge whether the broadcast sound volume value of the audio object has been adjusted to the default volume value in advance;Second adjustment module 305,
For if so, being turned up the broadcast sound volume value of the audio object from the default volume value to initial volume value, wherein institute
Stating initial volume value is the broadcast sound volume value being adjusted to before the default volume value;Third adjustment module 306, be used for if it is not,
Keep the broadcast sound volume value of the audio object constant.
Preferably, the first judgment module 302 includes: to filter out submodule 3021, for filtering out in the voice signal
Noise signal, obtain target sound signal;Judging submodule 3022, for judge in the target sound signal whether include
Voice communication signal.
Preferably, the terminal device further include: third judgment module 307, for being played in the acquisition module 301
During audio object, before the voice signal in prefixed time interval acquisition preset range, determine that volume is intelligently adjusted
Whether section switch is opened;Calling module 308 calls the acquisition mould if having turned on for the volume intelligence regulating switch
Block 301 is during playing audio object, according to the voice signal in prefixed time interval acquisition preset range.
Terminal device provided in an embodiment of the present invention can be realized terminal device in the embodiment of the method for Fig. 1 to Fig. 2 and realize
Each process, to avoid repeating, which is not described herein again.
Terminal device provided in an embodiment of the present invention, by during playing audio object, according between preset time
Whether the voice signal in acquisition preset range judge in voice signal comprising voice communication signal, if comprising by audio pair
The broadcast sound volume value of elephant is turned down to default volume value, can intelligently judge whether surrounding people is carrying out voice communication, and
It is determining surrounding people during a voice call, is intelligently turning down the broadcast sound volume value of audio object, be not necessarily to terminal device
User is adjusted manually, is able to ascend the usage experience of user.
Example IV
Referring to Fig. 4, a kind of hardware structural diagram of terminal device of the embodiment of the present invention four is shown.
A kind of hardware structural diagram of Fig. 4 terminal device of each embodiment to realize the present invention, the terminal device 900
Including but not limited to: radio frequency unit 901, audio output unit 903, input unit 904, sensor 905, is shown network module 902
Show the components such as unit 906, user input unit 907, interface unit 908, memory 909, processor 910 and power supply 911.
It will be understood by those skilled in the art that terminal device structure shown in Fig. 4 does not constitute the restriction to terminal device, terminal is set
Standby may include perhaps combining certain components or different component layouts than illustrating more or fewer components.In the present invention
In embodiment, terminal device includes but is not limited to mobile phone, tablet computer, laptop, palm PC, car-mounted terminal, can wear
Wear equipment and pedometer etc..
Processor 910, for being acquired in preset range according to prefixed time interval during playing audio object
Voice signal;Whether judge in the voice signal comprising voice communication signal;If in the voice signal including voice communication
Signal turns down the broadcast sound volume value of the audio object to default volume value.
Terminal device provided in an embodiment of the present invention, by during playing audio object, according between preset time
Whether the voice signal in acquisition preset range judge in voice signal comprising voice communication signal, if comprising by audio pair
The broadcast sound volume value of elephant is turned down to default volume value, can intelligently judge whether surrounding people is carrying out voice communication, and
It is determining surrounding people during a voice call, is intelligently turning down the broadcast sound volume value of audio object, be not necessarily to terminal device
User is adjusted manually, is able to ascend the usage experience of user.
It should be understood that the embodiment of the present invention in, radio frequency unit 901 can be used for receiving and sending messages or communication process in, signal
Send and receive, specifically, by from base station downlink data receive after, to processor 910 handle;In addition, by uplink
Data are sent to base station.In general, radio frequency unit 901 includes but is not limited to antenna, at least one amplifier, transceiver, coupling
Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 901 can also by wireless communication system and network and other set
Standby communication.
Terminal device provides wireless broadband internet by network module 902 for user and accesses, and such as user is helped to receive
It sends e-mails, browse webpage and access streaming video etc..
Audio output unit 903 can be received by radio frequency unit 901 or network module 902 or in memory 909
The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 903 can also provide and end
The relevant audio output of specific function that end equipment 900 executes is (for example, call signal receives sound, message sink sound etc.
Deng).Audio output unit 903 includes loudspeaker, buzzer and receiver etc..
Input unit 904 is for receiving audio or video signal.Input unit 904 may include graphics processor
(Graphics Processing Unit, GPU) 9041 and microphone 9042, graphics processor 9041 is in video acquisition mode
Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out
Reason.Treated, and picture frame may be displayed on display unit 906.Through graphics processor 9041, treated that picture frame can be deposited
Storage is sent in memory 909 (or other storage mediums) or via radio frequency unit 901 or network module 902.Mike
Wind 9042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be
The format output that mobile communication base station can be sent to via radio frequency unit 901 is converted in the case where telephone calling model.
Terminal device 900 further includes at least one sensor 905, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 9061, and proximity sensor can close when terminal device 900 is moved in one's ear
Display panel 9061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify terminal device posture (ratio
Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes
Sensor 905 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet
Meter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 906 is for showing information input by user or being supplied to the information of user.Display unit 906 can wrap
Display panel 9061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 9061.
User input unit 907 can be used for receiving the number or character information of input, and generate the use with terminal device
Family setting and the related key signals input of function control.Specifically, user input unit 907 include touch panel 9071 and
Other input equipments 9072.Touch panel 9071, also referred to as touch screen collect the touch operation of user on it or nearby
(for example user uses any suitable objects or attachment such as finger, stylus on touch panel 9071 or in touch panel 9071
Neighbouring operation).Touch panel 9071 may include both touch detecting apparatus and touch controller.Wherein, touch detection
Device detects the touch orientation of user, and detects touch operation bring signal, transmits a signal to touch controller;Touch control
Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 910, receiving area
It manages the order that device 910 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc.
Seed type realizes touch panel 9071.In addition to touch panel 9071, user input unit 907 can also include other input equipments
9072.Specifically, other input equipments 9072 can include but is not limited to physical keyboard, function key (such as volume control button,
Switch key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 9071 can be covered on display panel 9061, when touch panel 9071 is detected at it
On or near touch operation after, send processor 910 to determine the type of touch event, be followed by subsequent processing device 910 according to touching
The type for touching event provides corresponding visual output on display panel 9061.Although in Fig. 4, touch panel 9071 and display
Panel 9061 is the function that outputs and inputs of realizing terminal device as two independent components, but in some embodiments
In, can be integrated by touch panel 9071 and display panel 9061 and realize the function that outputs and inputs of terminal device, it is specific this
Place is without limitation.
Interface unit 908 is the interface that external device (ED) is connect with terminal device 900.For example, external device (ED) may include having
Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end
Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module
Mouthful etc..Interface unit 908 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and
By one or more elements that the input received is transferred in terminal device 900 or can be used in 900 He of terminal device
Data are transmitted between external device (ED).
Memory 909 can be used for storing software program and various data.Memory 909 can mainly include storing program area
The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function
Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as
Audio data, phone directory etc.) etc..In addition, memory 909 may include high-speed random access memory, it can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 910 is the control centre of terminal device, utilizes each of various interfaces and the entire terminal device of connection
A part by running or execute the software program and/or module that are stored in memory 909, and calls and is stored in storage
Data in device 909 execute the various functions and processing data of terminal device, to carry out integral monitoring to terminal device.Place
Managing device 910 may include one or more processing units;Preferably, processor 910 can integrate application processor and modulatedemodulate is mediated
Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main
Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 910.
Terminal device 900 can also include the power supply 911 (such as battery) powered to all parts, it is preferred that power supply 911
Can be logically contiguous by power-supply management system and processor 910, to realize management charging by power-supply management system, put
The functions such as electricity and power managed.
In addition, terminal device 900 includes some unshowned functional modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of terminal device, including processor 910, and memory 909 is stored in
On memory 909 and the computer program that can run on the processor 910, the computer program are executed by processor 910
Each process of the above-mentioned volume adjusting method embodiment of Shi Shixian, and identical technical effect can be reached, to avoid repeating, here
It repeats no more.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium
Calculation machine program, the computer program realize each process of above-mentioned volume adjusting method embodiment, and energy when being executed by processor
Reach identical technical effect, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium, such as only
Read memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation
RAM), magnetic or disk etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service
Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific
Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art
Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much
Form belongs within protection of the invention.
Claims (10)
1. a kind of volume adjusting method is applied to terminal device, which is characterized in that the described method includes:
During playing audio object, according to the voice signal in prefixed time interval acquisition preset range;
Whether judge in the voice signal comprising voice communication signal;
If including voice communication signal in the voice signal, the broadcast sound volume value of the audio object is turned down to default volume
Value.
2. the method according to claim 1, wherein whether judging in the voice signal described comprising voice
After the step of speech signal, the method also includes:
If in the voice signal not including voice communication signal, judge whether the broadcast sound volume value of the audio object is preparatory
It is adjusted to the default volume value;
If so, being turned up the broadcast sound volume value of the audio object from the default volume value to initial volume value, wherein institute
Stating initial volume value is the broadcast sound volume value being adjusted to before the default volume value;
If it is not, keeping the broadcast sound volume value of the audio object constant.
3. the method according to claim 1, wherein described judge whether lead to comprising voice in the voice signal
The step of talking about signal, comprising:
The noise signal in the voice signal is filtered out, target sound signal is obtained;
Whether judge in the target sound signal comprising voice communication signal.
4. the method according to claim 1, wherein during playing audio object, according to preset time
Before interval acquires the step of voice signal in preset range, the method also includes:
Determine whether volume intelligence regulating switch opens;
If the volume intelligence regulating switch has turned on, execute it is described during playing audio object, according to it is default when
Between interval acquisition preset range in voice signal the step of.
5. a kind of terminal device, which is characterized in that the terminal device includes:
Acquisition module, for acquiring the sound in preset range according to prefixed time interval during playing audio object
Signal;
First judgment module, for whether judging in the voice signal comprising voice communication signal;
First adjustment module, if for including voice communication signal in the voice signal, by the broadcasting sound of the audio object
Magnitude is turned down to default volume value.
6. terminal device according to claim 5, which is characterized in that the terminal device further include:
Second judgment module, for whether judging in the voice signal in the first judgment module comprising voice communication signal
Later, if not including voice communication signal in the voice signal, judge whether the broadcast sound volume value of the audio object is preparatory
It has been adjusted to the default volume value;
Second adjustment module, for if so, by the broadcast sound volume value of the audio object from the default volume value be turned up to
Initial volume value, wherein the initial volume value is the broadcast sound volume value being adjusted to before the default volume value;
Third adjustment module, for if it is not, keeping the broadcast sound volume value of the audio object constant.
7. terminal device according to claim 5, which is characterized in that the first judgment module includes:
Submodule is filtered out, for filtering out the noise signal in the voice signal, obtains target sound signal;
Judging submodule, for whether judging in the target sound signal comprising voice communication signal.
8. terminal device according to claim 5, which is characterized in that the terminal device further include:
Third judgment module, for during playing audio object, being adopted according to prefixed time interval in the acquisition module
Before collecting the voice signal in preset range, determine whether volume intelligence regulating switch opens;
Calling module calls the acquisition module playing audio pair if having turned on for the volume intelligence regulating switch
As during, according to the voice signal in prefixed time interval acquisition preset range.
9. a kind of terminal device, which is characterized in that including processor, memory and be stored on the memory and can be described
The computer program run on processor is realized in claim 1-4 when the computer program is executed by the processor and is appointed
The step of volume adjusting method described in one.
10. a kind of computer readable storage medium, which is characterized in that store computer journey on the computer readable storage medium
Sequence is realized when the computer program is executed by processor such as volume adjusting method of any of claims 1-4
Step.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810885688.4A CN109040449A (en) | 2018-08-06 | 2018-08-06 | A kind of volume adjusting method and terminal device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810885688.4A CN109040449A (en) | 2018-08-06 | 2018-08-06 | A kind of volume adjusting method and terminal device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109040449A true CN109040449A (en) | 2018-12-18 |
Family
ID=64648848
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810885688.4A Pending CN109040449A (en) | 2018-08-06 | 2018-08-06 | A kind of volume adjusting method and terminal device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109040449A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110696756A (en) * | 2019-10-09 | 2020-01-17 | 广州小鹏汽车科技有限公司 | Vehicle volume control method and device, automobile and storage medium |
CN111479005A (en) * | 2020-04-15 | 2020-07-31 | 维沃移动通信有限公司 | Volume adjusting method and electronic equipment |
CN112242135A (en) * | 2019-07-18 | 2021-01-19 | 北京声智科技有限公司 | Voice data processing method and intelligent customer service device |
CN113382107A (en) * | 2021-06-10 | 2021-09-10 | 深圳市同行者科技有限公司 | Incoming call processing method and device and terminal equipment |
CN113766284A (en) * | 2020-06-02 | 2021-12-07 | 云米互联科技(广东)有限公司 | Volume adjusting method, television and storage medium |
CN114401343A (en) * | 2021-12-14 | 2022-04-26 | 珠海格力电器股份有限公司 | Volume adjusting method and device, electronic equipment and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104572009A (en) * | 2015-01-28 | 2015-04-29 | 合肥联宝信息技术有限公司 | External environment adaptive audio control method and device |
CN105406828A (en) * | 2014-08-22 | 2016-03-16 | 小米科技有限责任公司 | Sound equipment adjustment method and device |
-
2018
- 2018-08-06 CN CN201810885688.4A patent/CN109040449A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105406828A (en) * | 2014-08-22 | 2016-03-16 | 小米科技有限责任公司 | Sound equipment adjustment method and device |
CN104572009A (en) * | 2015-01-28 | 2015-04-29 | 合肥联宝信息技术有限公司 | External environment adaptive audio control method and device |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112242135A (en) * | 2019-07-18 | 2021-01-19 | 北京声智科技有限公司 | Voice data processing method and intelligent customer service device |
CN110696756A (en) * | 2019-10-09 | 2020-01-17 | 广州小鹏汽车科技有限公司 | Vehicle volume control method and device, automobile and storage medium |
CN111479005A (en) * | 2020-04-15 | 2020-07-31 | 维沃移动通信有限公司 | Volume adjusting method and electronic equipment |
CN111479005B (en) * | 2020-04-15 | 2021-07-16 | 维沃移动通信有限公司 | Volume adjusting method and electronic equipment |
CN113766284A (en) * | 2020-06-02 | 2021-12-07 | 云米互联科技(广东)有限公司 | Volume adjusting method, television and storage medium |
CN113382107A (en) * | 2021-06-10 | 2021-09-10 | 深圳市同行者科技有限公司 | Incoming call processing method and device and terminal equipment |
CN114401343A (en) * | 2021-12-14 | 2022-04-26 | 珠海格力电器股份有限公司 | Volume adjusting method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109040449A (en) | A kind of volume adjusting method and terminal device | |
CN108108007B (en) | A kind of processing method and mobile terminal reducing power consumption | |
CN107799125A (en) | A kind of audio recognition method, mobile terminal and computer-readable recording medium | |
CN107908705A (en) | A kind of information-pushing method, information push-delivery apparatus and mobile terminal | |
CN109062411A (en) | A kind of screen luminance adjustment method and mobile terminal | |
CN108924362A (en) | A kind of notification event processing method and terminal | |
CN110442437A (en) | A kind of application switching method and mobile terminal | |
CN109215683A (en) | A kind of reminding method and terminal | |
CN110012143A (en) | A kind of receiver control method and terminal | |
CN109788125A (en) | Interfere processing method, device and mobile terminal | |
CN110351407A (en) | A kind of audio frequency playing method and mobile terminal | |
CN109658886A (en) | A kind of control method and terminal of display screen | |
CN109388223A (en) | One kind putting out screen display method, apparatus and terminal | |
CN109445731A (en) | A kind of display pattern control method, terminal and computer readable storage medium | |
CN109451144A (en) | A kind of message treatment method and terminal device | |
CN108363591A (en) | A kind of method and device of PUSH message control | |
CN110138963A (en) | A kind of message treatment method and mobile terminal | |
CN109979473A (en) | A kind of call sound processing method and device, terminal device | |
CN109743454A (en) | A kind of call handling method and mobile terminal | |
CN109873894A (en) | A kind of volume adjusting method and mobile terminal | |
CN109348035A (en) | A kind of recognition methods of telephone number and terminal device | |
CN109600518A (en) | Application method, mobile terminal, the readable storage medium storing program for executing of eyeshield display pattern | |
CN108600679A (en) | A kind of video call method and terminal | |
CN108650392A (en) | A kind of call recording method and mobile terminal | |
CN108879856A (en) | A kind of charging method and terminal |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181218 |
|
RJ01 | Rejection of invention patent application after publication |