CN107633850A - A kind of volume adjusting method and electronic equipment - Google Patents
A kind of volume adjusting method and electronic equipment Download PDFInfo
- Publication number
- CN107633850A CN107633850A CN201710936103.2A CN201710936103A CN107633850A CN 107633850 A CN107633850 A CN 107633850A CN 201710936103 A CN201710936103 A CN 201710936103A CN 107633850 A CN107633850 A CN 107633850A
- Authority
- CN
- China
- Prior art keywords
- electronic equipment
- volume
- value
- volume value
- multimedia
- 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
Landscapes
- Circuit For Audible Band Transducer (AREA)
Abstract
The present invention, which provides a kind of volume adjusting method and electronic equipment, this method, to be included:When the electronic equipment plays content of multimedia, the volume value that the electronic equipment plays the audio signal exported during the content of multimedia is detected and recorded;If detecting, the fragment of the currently played content of multimedia of the electronic equipment meets volume adjusting condition, according to the volume value recorded, adjusts the broadcast sound volume value of the electronic equipment.Volume adjusting method provided by the invention can be when the fragment for detecting the currently played content of multimedia of the electronic equipment meets volume adjusting condition, actively the broadcast sound volume value of the electronic equipment is adjusted, it is manually operated without user, can be to control the volume of audio signal that the electronic equipment exported when playing the content of multimedia, and then improve the purpose of the volume adjusting efficiency of the electronic equipment.
Description
Technical field
The present invention relates to communication technical field, more particularly to a kind of volume adjusting method and electronic equipment.
Background technology
With the fast development of Internet technology, and electronic equipment becomes increasingly popular, and user often likes utilizing now
Electronic equipment watches video.But many video resources can all have the phenomenon to break for commercialsy in playing process, such as:No
Few the resources of movie & TV can intercut one section of small advertisement in the head or piece of broadcasting, and when electronic equipment plays these advertising segments,
That broadcast sound volume becomes big suddenly often be present, broadcast sound volume is excessive, can influence the viewing experience of user, at present, electronics
Equipment can only control advertisement volume by way of user adjusts volume manually.
It can be seen that when playing video, in the presence of adjusting, efficiency is poor to ask used volume adjusting mode existing electronic equipment
Topic.
The content of the invention
The embodiment of the present invention provides a kind of volume adjusting method and electronic equipment, is regarded with solving existing electronic equipment in broadcasting
During frequency there is the problem of regulation efficiency is poor in used volume adjusting mode.
In order to solve the above technical problems, what the present invention was realized in:
When the electronic equipment plays content of multimedia, detect and record in the electronic equipment broadcasting multimedia
The volume value of the audio signal exported during appearance;
If detecting, the fragment of the currently played content of multimedia of the electronic equipment meets volume adjusting condition, root
According to the volume value recorded, the broadcast sound volume value of the electronic equipment is adjusted.
In a first aspect, the embodiments of the invention provide a kind of volume adjusting method, applied to electronic equipment, methods described bag
Include:
When the electronic equipment plays content of multimedia, detect and record in the electronic equipment broadcasting multimedia
The volume value of the audio signal exported during appearance;
If detecting, the fragment of the currently played content of multimedia of the electronic equipment meets volume adjusting condition, root
According to the volume value recorded, the broadcast sound volume value of the electronic equipment is adjusted.
Second aspect, the embodiment of the present invention provide a kind of electronic equipment, including:
Logging modle is detected, is set for when the electronic equipment plays content of multimedia, detecting and recording the electronics
The standby volume value for playing the audio signal exported during the content of multimedia;
Adjustment module, if for detecting that the fragment of the currently played content of multimedia of the electronic equipment meets volume
Adjusting condition, then according to the volume value recorded, adjust the broadcast sound volume value of the electronic equipment.
The third aspect, the embodiment of the present invention provide a kind of electronic equipment, including processor, memory and are stored in described deposit
On reservoir and the computer program that can run on the processor, realized when the computer program is by the computing device
Step in above-mentioned volume adjusting method.
In the embodiment of the present invention, when the fragment for detecting the currently played content of multimedia of the electronic equipment meets sound
When measuring adjusting condition, just the electronic equipment of record plays the audio signal exported during the content of multimedia before
Volume value, it is manually operated without user to adjust the broadcast sound volume value of the electronic equipment, can be with time to described
The broadcast sound volume value of electronic equipment is adjusted, and is exported when playing the content of multimedia with to control the electronic equipment
The volume of audio signal, and then the volume adjusting efficiency of the electronic equipment is improved, improve Consumer's Experience.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, needed for being described below to the embodiment of the present invention
The accompanying drawing to be used is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention,
For those of ordinary skill in the art, without having to pay creative labor, can also be obtained according to these accompanying drawings
Obtain other accompanying drawings.
Fig. 1 is a kind of schematic flow sheet of volume adjusting method provided in an embodiment of the present invention;
Fig. 2 is the schematic flow sheet of another volume adjusting method provided in an embodiment of the present invention;
Fig. 3 is the structural representation of a kind of electronic equipment provided in an embodiment of the present invention;
Fig. 4 is the structural representation of another electronic equipment provided in an embodiment of the present invention;
Fig. 5 is the structural representation of another electronic equipment provided in an embodiment of the present invention;
Fig. 6 is the structural representation of another electronic equipment provided in an embodiment of the present invention;
Fig. 7 is the structural representation of another electronic equipment provided in an embodiment of the present invention;
Fig. 8 is the structural representation of another electronic equipment provided in an embodiment of the present invention;
Fig. 9 is the structural representation of another electronic equipment provided in an embodiment of the present invention;
Figure 10 is the structural representation of another electronic equipment provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, rather than whole embodiments.Based on this hair
Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made
Example, belongs to the scope of protection of the invention.
Referring to Fig. 1, Fig. 1 is a kind of schematic flow sheet for volume adjusting method that one embodiment of the invention provides, and is applied to
Electronic equipment, as shown in figure 1, the described method comprises the following steps:
Step 101, when the electronic equipment plays content of multimedia, detect and record described in the electronic equipment plays
The volume value of the audio signal exported during content of multimedia.
Above-mentioned content of multimedia can be video or audio, and above-mentioned detection simultaneously records the electronic equipment broadcasting more matchmakers
The volume value of the audio signal exported when holding in vivo, can be by sound transducer (such as wheat built in the electronic equipment
Gram wind) detect the sound decibel size of the audio signal exported when the electronic equipment plays the content of multimedia, with
The volume value of its audio signal exported is obtained, and the volume value to detecting every time records.
Such as:When the electronic equipment commences play out the content of multimedia, just start to detect the electronic equipment institute
The volume value of the audio signal of output, and every 1 second, 2 seconds or other shorter time detectings once electronic equipment
The volume value of the audio signal exported, and the volume value detected every time is recorded, then by the volume value recorded by detection
Time sequencing arranges, or records the time of the volume value detected every time simultaneously, in case being used during regulation volume.
So, in the step, exported when playing the content of multimedia by detecting and recording the electronic equipment
The volume value of audio signal, it may be determined that the actual volume size for the audio signal that the electronic equipment is exported, so as to
It is accustomed to according to the broadcasting of different user, accordingly to adjust volume of the electronic equipment when playing some fragments.
If step 102, detect that the fragment of the currently played content of multimedia of the electronic equipment meets volume adjusting
Condition, then according to the volume value recorded, adjust the broadcast sound volume value of the electronic equipment.
Above-mentioned volume adjusting condition can be the volume increase suddenly or reduction of some fragment in the content of multimedia, i.e.,
And the difference of the volume value of a upper fragment has exceeded some predetermined threshold value, such as:Front and rear volume value difference in different programs or scene
It is larger, in another example:When playing next song, volume value has a larger increase or reduction than the volume value of upper a piece of music;On
It can also be the fragment that currently playing fragment is special screne to state volume adjusting condition, such as:Battle scene in video or
The advertising segment intercutted.For these scenes, it can be understood as currently played audio frequency and video fragment meets the volume adjusting
Condition.
If the fragment of the above-mentioned content of multimedia for detecting that the electronic equipment is currently played meets volume adjusting condition,
Can be that the content of multimedia played to the electronic equipment is monitored in real time, once detect that the electronic equipment is current just
Meet the volume adjusting condition in the audio frequency and video fragment of broadcasting, just can confirm that the broadcast sound volume needed to the electronic equipment
Value is adjusted.Such as:When identifying that the electronic equipment commences play out advertising segment or battle scene, or work as and detect
When the volume value of the currently playing audio of the electronic equipment increases suddenly, then it can confirm that and detect that the electronic equipment is current
The fragment of the content of multimedia played meets the volume adjusting condition.
Confirming to detect that the fragment of the currently played content of multimedia of the electronic equipment meets the volume adjusting
, can be according to the volume value recorded, to adjust the broadcast sound volume value of the electronic equipment, to control the electronics to set during condition
The volume value of the standby audio signal exported when playing and meeting the fragment of the volume adjusting condition and the volume value recorded
Substantially it is consistent, wherein, the broadcast sound volume value of the electronic equipment is the system plays volume value of the electronic equipment, i.e. institute
State the output volume value of the loudspeaker of electronic equipment.Such as:When detecting that the electronic equipment commences play out advertisement, then basis
The volume value recorded, the broadcast sound volume value of the electronic equipment is moderately turned down, so that during electronic equipment broadcasting advertisement
Volume value it is roughly the same with the volume value recorded, as no more than recorded volume value average value.
So, in the step, when the fragment for detecting the currently played content of multimedia of the electronic equipment meets sound
When measuring adjusting condition, then according to the volume value recorded, the broadcast sound volume value of the electronic equipment is adjusted, so as to can both reach
The purpose of the volume value for the audio signal that the electronic equipment exported is controlled, and can ensures the sound of its audio signal exported
Amount meets the broadcasting custom of user, and then obtains preferable Consumer's Experience.
In the embodiment of the present invention, above-mentioned electronic equipment can be any equipment with storaging medium, such as:Computer
(Computer), mobile phone, tablet personal computer (Tablet Personal Computer), laptop computer (Laptop
Computer), personal digital assistant (personal digital assistant, abbreviation PDA), mobile Internet access device
The terminal device such as (Mobile Internet Device, abbreviation MID) or wearable device (Wearable Device).
Volume adjusting method in the embodiment of the present invention, when detecting in the currently played multimedia of the electronic equipment
When the fragment of appearance meets volume adjusting condition, just the electronic equipment of record plays content of multimedia when institute before
The volume value of the audio signal of output, it is manually operated without user to adjust the broadcast sound volume value of the electronic equipment, just
The broadcast sound volume value of the electronic equipment can be adjusted in time, to control the electronic equipment playing the multimedia
The volume of the audio signal exported during content, and then improve the volume adjusting efficiency of the electronic equipment.
Referring to Fig. 2, Fig. 2 is the schematic flow sheet for the volume adjusting method that another embodiment of the present invention provides, applied to electricity
Sub- equipment, as shown in Fig. 2 the described method comprises the following steps:
Step 201, when the electronic equipment plays content of multimedia, detect and record described in the electronic equipment plays
The volume value of the audio signal exported during content of multimedia.
The embodiment of the step may refer to the embodiment of step 101 in embodiment of the method shown in Fig. 1, and
Identical beneficial effect can be reached, to avoid repeating, repeated no more here.
Step 202, when the content of multimedia is video, if detecting, the electronic equipment commences play out the video
In target fragment, it is determined that the fragment of the currently played video of the electronic equipment meets volume adjusting condition.
Above-mentioned target fragment can be advertising segment or some special screne (such as battle scenes, explosion scene in video
Deng) video segment, can be that the audio of video pictures by being played to the electronic equipment or output is carried out in the step
Identification, to detect whether the electronic equipment commences play out target fragment in the video, such as:By identifying the video
The characteristics of image such as personage, scenery and word in picture, or by identifying that electronic equipment institute when playing the video is defeated
The volume of the audio gone out and word speed etc. judge whether the electronic equipment enters advertisement or the broadcasting of special screne.This
Sample, if confirm that the electronic equipment commences play out the video segment of advertising segment or special screne, it can confirm that and detect
The electronic equipment commences play out the target fragment in the video.
If confirmation detects that the electronic equipment commences play out the target fragment in the video, the electricity can be determined
The fragment of the currently played video of sub- equipment meets the volume adjusting condition, i.e., described volume adjusting condition is the electronics
Equipment commences play out the target fragment in the video.
So, in the step, when the content of multimedia is video, by detecting whether the electronic equipment starts to broadcast
The target fragment in the video is put, to determine whether the fragment of the currently played video of the electronic equipment meets that volume is adjusted
Section condition, so as to the result according to detection, to decide whether that the broadcast sound volume value to the electronic equipment is adjusted
Section, and in the target fragment during confirmation detects that the electronic equipment commences play out the video, determine that the electronics is set
The fragment of standby currently played video meets the volume adjusting condition, so that the electronic equipment is to the electronic equipment
Broadcast sound volume value is adjusted.
It should be noted that step 202 is interchangeable in the present embodiment, such as:Step 202 could alternatively be:
Between the preceding volume value once recorded for calculating the volume value of current record and the volume value of the current record
Difference;
If the difference is more than predetermined threshold value, it is determined that the fragment of the currently played content of multimedia of the electronic equipment
Meet volume adjusting condition.
The volume value of above-mentioned current record can be understood as the sound for detecting and recording for the last time in recorded volume value
Value, in the embodiment, by once being recorded before calculating the volume value of current record and the volume value of the current record
Volume value between difference, and judge whether the difference is more than predetermined threshold value, it may be determined that the electronic equipment is exported
Audio signal with the presence or absence of volume value suddenly increase or reduce situation, so that it is determined that the electronic equipment is currently played
Whether the fragment of content of multimedia meets volume adjusting condition, wherein, above-mentioned predetermined threshold value can be that system is pre-set.Example
Such as:The predetermined threshold value is 20 decibels, if the difference is calculated more than 20 decibels, can determine the electronic equipment institute
The audio signal of output has that volume value increases suddenly, so that it is determined that the multimedia that the electronic equipment is currently played
The fragment of content meets the volume adjusting condition.
In the embodiment, determine that the electronic equipment is currently played by way of calculating and judging volume difference
The fragment of content of multimedia whether meet volume adjusting condition, so as to the audio signal exported in the electronic equipment
When volume value increase suddenly be present or reducing, the broadcast sound volume value of the electronic equipment is adjusted, to control
State the volume of the larger or smaller audio signal of volume that electronic equipment is exported.
If step 203, detect that the fragment of the currently played content of multimedia of the electronic equipment meets volume adjusting
Condition, then according to the volume value recorded, adjust the broadcast sound volume value of the electronic equipment.
The embodiment of the step may refer to the embodiment of step 102 in embodiment of the method shown in Fig. 1, and
Identical beneficial effect can be reached, to avoid repeating, repeated no more here.
Optionally, it is described according to the volume value recorded, the step of adjusting the broadcast sound volume value of the electronic equipment, bag
Include:
Volume value according to being recorded determines target volume threshold value;
According to the target volume threshold value, the broadcast sound volume value of the electronic equipment is adjusted, so that the electronic equipment passes through
The volume value of the audio signal exported after volume adjusting is no more than the target volume threshold value.
In the embodiment, a target volume threshold value, the target volume can be determined according to the volume value recorded
Threshold value can be max volume value in the average value of recorded volume value, weighted average or the volume value that is recorded etc..
, can be according to the target volume threshold value, to adjust the electronic equipment it is determined that after the target volume threshold value
Broadcast sound volume value so that the volume value for the audio signal that the electronic equipment is exported after volume adjusting is no more than the mesh
Volume threshold is marked, specifically, the broadcast sound volume value of the electronic equipment can be turned down with side, what is exported after regulation detected in side in time
The volume value of audio signal, until the volume value for the audio signal that the electronic equipment is exported after volume adjusting is limited in
The target volume threshold value, or be limited in below the target volume threshold value, wherein, including the broadcasting by the electronic equipment
Volume value is directly set to zero, will the electronic equipment be adjusted to SILENT output mode.
So, in the embodiment, by determining target volume threshold value, and according to the target volume threshold value, institute is adjusted
State the broadcast sound volume value of electronic equipment, it is ensured that the volume value for the audio signal that the electronic equipment exports after volume adjusting
It is consistent substantially with the volume value recorded, so as to avoid the electronic equipment from occurring it when playing content of multimedia
In some fragment volume value increase suddenly so that the bad situation of Consumer's Experience.
Certainly, in the embodiment, it is equally applicable in the embodiment shown in Fig. 1, and it is beneficial to reach identical
Effect.
Optionally, described the step of target volume threshold value is determined according to the volume value recorded, including:
According to the volume value recorded, the audio letter that the electronic equipment exports when playing the content of multimedia is calculated
Number average volume value, and using the average volume value as the target volume threshold value;Or
According to the volume value recorded, the audio letter that the electronic equipment exports when playing the content of multimedia is determined
Number max volume value, and using the max volume value as the target volume threshold value.
In the embodiment, determine that target volume threshold value there can be two kinds of different realization sides according to the volume value recorded
Formula, wherein, the first is achieved in that the average value for calculating recorded volume value, is being played so as to obtain the electronic equipment
The average volume value of the audio signal exported during the content of multimedia, and the average volume value is defined as the target sound
Measure threshold value;The volume value that maximum is found out from the volume value recorded is achieved in that for second, so that it is determined that the electronics
The max volume value for the audio signal that equipment exports when playing the content of multimedia, and the max volume value is defined as
The target volume threshold value.
So, in the embodiment, by according to the volume value recorded, calculating the mode of average value or determining maximum
To determine target volume threshold value, it is ensured that the target volume threshold value is no more than any one sound in recorded volume value
Value, it thereby may be ensured that the volume value for the audio signal that the electronic equipment exports after volume adjusting is no more than the electronics
The volume value of the audio signal exported before device voice volume regulation, and then preferably volume control effect.
Optionally, it is described according to the volume value recorded, the step of adjusting the broadcast sound volume value of the electronic equipment, bag
Include:
The target sound value of current record is obtained from the volume value recorded;
According to default proportionality coefficient and the target sound value, the broadcast sound volume value of the electronic equipment is adjusted, so that
The volume value for the audio signal that the electronic equipment exports after volume adjusting is multiplied by the ratio equal to the target sound value
Coefficient, wherein, the proportionality coefficient is more than 0 and less than 1.
The target sound value of above-mentioned current record can be understood as detecting and recording for the last time in recorded volume value
Volume value, in the embodiment, pass through the target sound value that current record is obtained from the volume value recorded, it may be determined that
The volume for the audio signal that the electronic equipment currently exports, then according to default proportionality coefficient and the target volume
Value, the broadcast sound volume value of the electronic equipment is adjusted, wherein, the proportionality coefficient can be pre-set between 0 and 1
Arbitrary proportion coefficient, such as:0.7th, 0.5 or 0.2 etc..
Specifically, can be according to the proportionality coefficient, the volume value for the audio signal that the electronic equipment is exported is in institute
Stating reduces certain ratio on the basis of target sound value, you can so that the target sound value to be multiplied by after the proportionality coefficient
To the volume value of audio signal that is exported as the electronic equipment after volume adjusting of volume value, such as:The target sound
Value is 70 decibels, and the proportionality coefficient is 0.5, then can adjust institute according to the target sound value and the proportionality coefficient
The broadcast sound volume value of electronic equipment is stated, so that the volume value for the audio signal that the electronic equipment exports after volume adjusting is 35
Decibel.
So, in the embodiment, the target sound value (electricity according to default proportionality coefficient and current record is passed through
The volume value for the audio signal that sub- equipment currently exports), the broadcast sound volume value of the electronic equipment is adjusted, can be by a certain percentage
The volume value of the audio signal of the electronic equipment output is reduced, institute is being played so as to efficiently control the electronic equipment
State the volume value of the audio signal exported during some special fragment (such as advertisement, battle scenes etc.) in content of multimedia.
Certainly, in the embodiment, it is equally applicable in the embodiment shown in Fig. 1, and it is beneficial to reach identical
Effect.
In the present embodiment, on the basis of the embodiment shown in Fig. 1, add when the content of multimedia is video,
If detecting, the electronic equipment commences play out the target fragment in the video, it is determined that the electronic equipment is currently played
The fragment of video the step of meeting volume adjusting condition, so as to which the broadcast sound volume value explicitly pointed out to the electronic equipment is entered
The specific situation of row regulation.In addition, the present embodiment also add the implementation of plurality of optional on the basis of the embodiment shown in Fig. 1
Mode, these optional embodiments can be combined with each other realization, can also be implemented separately, and are attained by and improve the electronics
The technique effect of the volume adjusting efficiency of equipment.
Referring to Fig. 3, Fig. 3 is the structural representation for a kind of electronic equipment that one embodiment of the invention provides, as shown in figure 3,
Electronic equipment 300 includes:
Logging modle 301 is detected, for when the electronic equipment 300 plays content of multimedia, detecting and recording described
Electronic equipment 300 plays the volume value of the audio signal exported during the content of multimedia;
Adjustment module 302, if for detecting that the fragment of the currently played content of multimedia of the electronic equipment 300 expires
Footsteps amount adjusting condition, then according to the volume value recorded, adjust the broadcast sound volume value of the electronic equipment 300.
Optionally, as shown in figure 4, the electronic equipment 300 also includes:
First determining module 303, for when the content of multimedia is video, the electronic equipment to start if detecting
Play the target fragment in the video, it is determined that the fragment of the currently played video of the electronic equipment 300 meets volume
Adjusting condition.
Optionally, as shown in figure 5, the electronic equipment 300 also includes:
Computing module 304, for once remembering before calculating the volume value of current record and the volume value of the current record
Difference between the volume value of record;
Second determining module 305, if being more than predetermined threshold value for the difference, it is determined that the electronic equipment 300 is current
The fragment of the content of multimedia played meets volume adjusting condition.
Optionally, as shown in fig. 6, the adjustment module 302 includes:
Determining unit 3021, for determining target volume threshold value according to the volume value recorded;
First adjustment unit 3022, for according to the target volume threshold value, adjusting the broadcasting sound of the electronic equipment 300
Value, so that the volume value of the audio signal exported after the volume adjusting of the electronic equipment 300 is no more than the target volume threshold
Value.
Optionally, as shown in Figure 7 and Figure 8, first adjustment unit 3022 includes:
Computation subunit 30221, for according to the volume value recorded, calculating the electronic equipment 300 described in broadcasting
The average volume value of the audio signal exported during content of multimedia, and using the average volume value as the target volume threshold
Value;Or
Determination subelement 30222, for according to the volume value recorded, determining the electronic equipment 300 described in broadcasting
The max volume value of the audio signal exported during content of multimedia, and using the max volume value as the target volume threshold
Value.
Optionally, as shown in figure 9, the adjustment module 302 includes:
Acquiring unit 3023, for obtaining the target sound value of current record from the volume value recorded;
Second adjustment unit 3024, for according to default proportionality coefficient and the target sound value, adjusting the electronics
The broadcast sound volume value of equipment 300, so that the volume value of the audio signal exported after the volume adjusting of the electronic equipment 300 is equal to institute
State target sound value and be multiplied by the proportionality coefficient, wherein, the proportionality coefficient is more than 0 and less than 1.
Electronic equipment 300 can realize each process that electronic equipment is realized in Fig. 1 to Fig. 2 embodiment of the method, to keep away
Exempt to repeat, repeat no more here.The electronic equipment 300 of the embodiment of the present invention is manually operated without user, can be with time to institute
The broadcast sound volume value for stating electronic equipment is adjusted, to control the electronic equipment to be exported when playing the content of multimedia
Audio signal volume, so as to reach the purpose for the volume adjusting efficiency for improving the electronic equipment.
Figure 10 is the hardware architecture diagram for a kind of electronic equipment for realizing each embodiment of the present invention, the electronic equipment
1000 include but is not limited to:Radio frequency unit 1001, mixed-media network modules mixed-media 1002, audio output unit 1003, input block 1004, sensing
Device 1005, display unit 1006, user input unit 1007, interface unit 1008, memory 1009, processor 1010 and
The grade part of power supply 1011.It will be understood by those skilled in the art that the electronic devices structure shown in Figure 10 not structure paired electrons
The restriction of equipment, electronic equipment can be included than illustrating more or less parts, either combine some parts or different
Part is arranged.In embodiments of the present invention, electronic equipment includes but is not limited to mobile phone, tablet personal computer, notebook computer, palm electricity
Brain, car-mounted terminal, wearable device and pedometer etc..
Wherein, processor 1010, for when the electronic equipment plays content of multimedia, detecting and recording the electronics
The volume value of the audio signal exported described in device plays during content of multimedia;
If detecting, the fragment of the currently played content of multimedia of the electronic equipment meets volume adjusting condition, root
According to the volume value recorded, the broadcast sound volume value of the electronic equipment is adjusted.
Optionally, processor 1010 is additionally operable to:
When the content of multimedia is video, if detecting, the electronic equipment commences play out the target in the video
Fragment, it is determined that the fragment of the currently played video of the electronic equipment meets volume adjusting condition.
Optionally, processor 1010 is additionally operable to:
Between the preceding volume value once recorded for calculating the volume value of current record and the volume value of the current record
Difference;
If the difference is more than predetermined threshold value, it is determined that the fragment of the currently played content of multimedia of the electronic equipment
Meet volume adjusting condition.
Optionally, processor 1010 is additionally operable to:
Volume value according to being recorded determines target volume threshold value;
According to the target volume threshold value, the broadcast sound volume value of the electronic equipment is adjusted, so that the electronic equipment passes through
The volume value of the audio signal exported after volume adjusting is no more than the target volume threshold value.
Optionally, processor 1010 is additionally operable to:
According to the volume value recorded, the audio letter that the electronic equipment exports when playing the content of multimedia is calculated
Number average volume value, and using the average volume value as the target volume threshold value;Or
According to the volume value recorded, the audio letter that the electronic equipment exports when playing the content of multimedia is determined
Number max volume value, and using the max volume value as the target volume threshold value.
Optionally, processor 1010 is additionally operable to:
The target sound value of current record is obtained from the volume value recorded;
According to default proportionality coefficient and the target sound value, the broadcast sound volume value of the electronic equipment is adjusted, so that
The volume value for the audio signal that the electronic equipment exports after volume adjusting is multiplied by the ratio equal to the target sound value
Coefficient, wherein, the proportionality coefficient is more than 0 and less than 1.
Electronic equipment 1000 can realize each process that electronic equipment is realized in previous embodiment, to avoid repeating, this
In repeat no more.The electronic equipment 1000 of the embodiment of the present invention is manually operated without user, can be to be set in time to the electronics
Standby broadcast sound volume value is adjusted, and is believed with the audio for controlling the electronic equipment to be exported when playing the content of multimedia
Number volume, so as to reach the purpose for the volume adjusting efficiency for improving the electronic equipment.
It should be understood that in the embodiment of the present invention, radio frequency unit 1001 can be used for receiving and sending messages or communication process in, signal
Reception and transmission, specifically, by from base station downlink data receive after, handled to processor 1010;In addition, will be up
Data are sent to base station.Generally, radio frequency unit 1001 includes but is not limited to antenna, at least one amplifier, transceiver, coupling
Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 1001 can also pass through wireless communication system and network and other
Equipment communication.
Electronic equipment has provided the user wireless broadband internet by mixed-media network modules mixed-media 1002 and accessed, and such as helps user to receive
Send e-mails, browse webpage and access streaming video etc..
Audio output unit 1003 can be receiving by radio frequency unit 1001 or mixed-media network modules mixed-media 1002 or in memory
It is sound that the voice data stored in 1009, which is converted into audio signal and exported,.Moreover, audio output unit 1003 can be with
The audio output related to the specific function that electronic equipment 1000 performs is provided (for example, call signal receives sound, message sink
Sound etc.).Audio output unit 1003 includes loudspeaker, buzzer and receiver etc..
Input block 1004 is used to receive audio or video signal.Input block 1004 can include graphics processor
(Graphics Processing Unit, abbreviation GPU) 10041 and microphone 10042, graphics processor 10041 is in video
The static images or the picture number of video obtained in acquisition mode or image capture mode by image capture apparatus (such as camera)
According to being handled.Picture frame after processing may be displayed on display unit 1006.Figure after the processing of graphics processor 10041
As frame can be stored in memory 1009 (or other storage mediums) or via radio frequency unit 1001 or mixed-media network modules mixed-media 1002
It is transmitted.Microphone 10042 can receive sound, and can be voice data by such acoustic processing.After processing
Voice data can be converted in the case of telephone calling model to be sent to mobile communication base station via radio frequency unit 1001
Form output.
Electronic equipment 1000 also includes at least one sensor 1005, for example, optical sensor, motion sensor and other
Sensor.Specifically, optical sensor includes ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to ring
The light and shade of environmental light adjusts the brightness of display panel 10061, proximity transducer can when electronic equipment 1000 is moved in one's ear,
Close display panel 10061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions
The size of (generally three axles) acceleration, can detect that size and the direction of gravity when static, available for identification electronic equipment appearance
State (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion)
Deng;Sensor 1005 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, gas
Meter, hygrometer, thermometer, infrared ray sensor etc. are pressed, will not be repeated here.
Display unit 1006 is used for the information for showing the information inputted by user or being supplied to user.Display unit 1006 can
Including display panel 10061, liquid crystal display (Liquid Crystal Display, abbreviation LCD), organic light emission can be used
The forms such as diode (Organic Light-Emitting Diode, abbreviation OLED) configure display panel 10061.
User input unit 1007 can be used for the numeral or character information for receiving input, and produce the use with electronic equipment
The key signals input that family is set and function control is relevant.Specifically, user input unit 1007 include contact panel 10071 with
And other input equipments 10072.Contact panel 10071, also referred to as touch-screen, collect touch behaviour of the user on or near it
Make (for example user uses any suitable objects or annex such as finger, stylus on contact panel 10071 or in contact panel
Operation near 10071).Contact panel 10071 may include both touch detecting apparatus and touch controller.Wherein, touch
The touch orientation of detection means detection user is touched, and detects the signal that touch operation is brought, transmits a signal to touch controller;
Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 1010,
Order that reception processing device 1010 is sent simultaneously is performed.Furthermore, it is possible to using resistance-type, condenser type, infrared ray and surface
The polytypes such as sound wave realize contact panel 10071.Except contact panel 10071, user input unit 1007 can also include
Other input equipments 10072.Specifically, other input equipments 10072 can include but is not limited to physical keyboard, function key (ratio
Such as volume control button, switch key), trace ball, mouse, action bars, will not be repeated here.
Further, contact panel 10071 can be covered on display panel 10061, when contact panel 10071 detects
After touch operation on or near it, processor 1010 is sent to determine the type of touch event, is followed by subsequent processing device 1010
Corresponding visual output is provided on display panel 10061 according to the type of touch event.Although in Fig. 10, contact panel
10071 realize the input of electronic equipment and output function with display panel 10061 is the part independent as two, but
In some embodiments, contact panel 10071 and display panel 10061 can be integrated and realize the input and output of electronic equipment
Function, do not limit herein specifically.
Interface unit 1008 is the interface that external device (ED) is connected with electronic equipment 1000.For example, external device (ED) can include
Wired or wireless headphone port, external power source (or battery charger) port, wired or wireless FPDP, storage card
Port, the port for connecting the device with identification module, audio input/output (I/O) port, video i/o port, earphone
Port etc..Interface unit 1008 can be used for receiving the input (for example, data message, electric power etc.) from external device (ED) simultaneously
And one or more elements that the input received is transferred in electronic equipment 1000 or it can be used in electronic equipment
Data are transmitted between 1000 and external device (ED).
Memory 1009 can be used for storage software program and various data.Memory 1009 can mainly include storage program
Area and storage data field, wherein, storing program area can storage program area, needed at least one function application program (such as
Sound-playing function, image player function etc.) etc.;Storage data field can store uses created data (ratio according to mobile phone
Such as voice data, phone directory) etc..In addition, memory 1009 can include high-speed random access memory, can also include non-
Volatile memory, for example, at least a disk memory, flush memory device or other volatile solid-state parts.
Processor 1010 is the control centre of electronic equipment, utilizes each of various interfaces and the whole electronic equipment of connection
Individual part, by running or performing the software program and/or module that are stored in memory 1009, and call and be stored in storage
Data in device 1009, the various functions and processing data of electronic equipment are performed, so as to carry out integral monitoring to electronic equipment.Place
Reason device 1010 may include one or more processing units;Preferably, processor 1010 can integrate application processor and modulation /demodulation
Processor, wherein, application processor mainly handles operating system, user interface and application program etc., modem processor master
Handle radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 1010.
Electronic equipment 1000 can also include the power supply 1011 (such as battery) to all parts power supply, it is preferred that power supply
1011 can be logically contiguous by power-supply management system and processor 1010, so as to realize that management is filled by power-supply management system
The functions such as electricity, electric discharge and power managed.
In addition, electronic equipment 1000 includes some unshowned functional modules, will not be repeated here.
Preferably, the embodiment of the present invention also provides a kind of electronic equipment, including processor 1010, memory 1009, storage
On memory 1009 and the computer program that can be run on the processor 1010, the computer program is by processor 1010
Each process of above-mentioned volume adjusting method embodiment is realized during execution, and identical technique effect can be reached, to avoid repeating,
Here repeat no more.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row
His property includes, so that process, method, article or device including a series of elements not only include those key elements, and
And also include the other element being not expressly set out, or also include for this process, method, article or device institute inherently
Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this
Other identical element also be present in the process of key element, method, 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 add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on such understanding, technical scheme is substantially done to prior art in other words
Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal (can be mobile phone, computer, service
Device, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
Embodiments of the invention are described above in conjunction with accompanying drawing, but the invention is not limited in above-mentioned specific
Embodiment, above-mentioned embodiment is only schematical, rather than restricted, one of ordinary skill in the art
Under the enlightenment of the present invention, in the case of present inventive concept and scope of the claimed protection is not departed from, it can also make a lot
Form, belong within the protection of the present invention.
Claims (13)
1. a kind of volume adjusting method, applied to electronic equipment, it is characterised in that methods described includes:
When the electronic equipment plays content of multimedia, when detecting and recording the electronic equipment broadcasting content of multimedia
The volume value of the audio signal exported;
If detecting, the fragment of the currently played content of multimedia of the electronic equipment meets volume adjusting condition, according to institute
The volume value of record, adjust the broadcast sound volume value of the electronic equipment.
2. according to the method for claim 1, it is characterised in that if detecting that the electronic equipment is currently played described
The fragment of content of multimedia meet volume adjusting condition, then according to the volume value recorded, adjust broadcasting for the electronic equipment
Before the step of playback value, methods described also includes:
When the content of multimedia is video, if detecting, the electronic equipment commences play out the target patch in the video
Section, it is determined that the fragment of the currently played video of the electronic equipment meets volume adjusting condition.
3. according to the method for claim 1, it is characterised in that if detecting that the electronic equipment is currently played described
The fragment of content of multimedia meet volume adjusting condition, then according to the volume value recorded, adjust broadcasting for the electronic equipment
Before the step of playback value, methods described also includes:
Calculate the difference between the preceding volume value once recorded of the volume value of current record and the volume value of the current record;
If the difference is more than predetermined threshold value, it is determined that the fragment of the currently played content of multimedia of the electronic equipment meets
Volume adjusting condition.
4. according to the method in any one of claims 1 to 3, it is characterised in that it is described according to the volume value recorded, adjust
The step of saving the broadcast sound volume value of the electronic equipment, including:
Volume value according to being recorded determines target volume threshold value;
According to the target volume threshold value, the broadcast sound volume value of the electronic equipment is adjusted, so that the electronic equipment is through volume
The volume value of the audio signal exported after regulation is no more than the target volume threshold value.
5. according to the method for claim 4, it is characterised in that described that target volume threshold is determined according to the volume value recorded
The step of value, including:
According to the volume value recorded, the audio signal that the electronic equipment exports when playing the content of multimedia is calculated
Average volume value, and using the average volume value as the target volume threshold value;Or
According to the volume value recorded, the audio signal that the electronic equipment exports when playing the content of multimedia is determined
Max volume value, and using the max volume value as the target volume threshold value.
6. according to the method in any one of claims 1 to 3, it is characterised in that it is described according to the volume value recorded, adjust
The step of saving the broadcast sound volume value of the electronic equipment, including:
The target sound value of current record is obtained from the volume value recorded;
According to default proportionality coefficient and the target sound value, the broadcast sound volume value of the electronic equipment is adjusted, so that described
The volume value for the audio signal that electronic equipment exports after volume adjusting is multiplied by the proportionality coefficient equal to the target sound value,
Wherein, the proportionality coefficient is more than 0 and less than 1.
7. a kind of electronic equipment, it is characterised in that including:
Logging modle is detected, for when the electronic equipment plays content of multimedia, detecting and recording the electronic equipment and broadcast
Put the volume value of the audio signal exported during the content of multimedia;
Adjustment module, if for detecting that the fragment of the currently played content of multimedia of the electronic equipment meets volume adjusting
Condition, then according to the volume value recorded, adjust the broadcast sound volume value of the electronic equipment.
8. electronic equipment according to claim 7, it is characterised in that the electronic equipment also includes:
First determining module, for when the content of multimedia is video, the electronic equipment to commence play out institute if detecting
State the target fragment in video, it is determined that the fragment of the currently played video of the electronic equipment meets volume adjusting condition.
9. electronic equipment according to claim 7, it is characterised in that the electronic equipment also includes:
Computing module, for calculating the volume once recorded before the volume value of current record and the volume value of the current record
Difference between value;
Second determining module, if being more than predetermined threshold value for the difference, it is determined that currently played more of the electronic equipment
The fragment of media content meets volume adjusting condition.
10. the electronic equipment according to any one of claim 7 to 9, it is characterised in that the adjustment module includes:
Determining unit, for determining target volume threshold value according to the volume value recorded;
First adjustment unit, for according to the target volume threshold value, adjusting the broadcast sound volume value of the electronic equipment, so that institute
The volume value for stating the audio signal that electronic equipment exports after volume adjusting is no more than the target volume threshold value.
11. electronic equipment according to claim 10, it is characterised in that first adjustment unit includes:
Computation subunit, for according to the volume value recorded, calculating the electronic equipment when playing the content of multimedia
The average volume value of the audio signal of output, and using the average volume value as the target volume threshold value;Or
Determination subelement, for according to the volume value recorded, determining the electronic equipment when playing the content of multimedia
The max volume value of the audio signal of output, and using the max volume value as the target volume threshold value.
12. the electronic equipment according to any one of claim 7 to 9, it is characterised in that the adjustment module includes:
Acquiring unit, for obtaining the target sound value of current record from the volume value recorded;
Second adjustment unit, for according to default proportionality coefficient and the target sound value, adjusting broadcasting for the electronic equipment
Playback value, so that the volume value for the audio signal that the electronic equipment exports after volume adjusting is equal to the target sound value
The proportionality coefficient is multiplied by, wherein, the proportionality coefficient is more than 0 and less than 1.
13. a kind of electronic equipment, it is in its feature, including processor, memory and is stored on the memory and can be
The computer program run on the processor, the computer program are realized such as claim 1 during the computing device
Step into the volume adjusting method any one of 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710936103.2A CN107633850A (en) | 2017-10-10 | 2017-10-10 | A kind of volume adjusting method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710936103.2A CN107633850A (en) | 2017-10-10 | 2017-10-10 | A kind of volume adjusting method and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107633850A true CN107633850A (en) | 2018-01-26 |
Family
ID=61102998
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710936103.2A Pending CN107633850A (en) | 2017-10-10 | 2017-10-10 | A kind of volume adjusting method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107633850A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109671448A (en) * | 2018-12-29 | 2019-04-23 | 联想(北京)有限公司 | A kind of data processing method and device |
CN110058837A (en) * | 2019-04-22 | 2019-07-26 | 维沃移动通信有限公司 | A kind of audio-frequency inputting method and terminal |
CN110457002A (en) * | 2019-07-03 | 2019-11-15 | 平安科技(深圳)有限公司 | A kind of multimedia file processing method, device and computer storage medium |
CN111445927A (en) * | 2020-03-11 | 2020-07-24 | 维沃软件技术有限公司 | Audio processing method and electronic equipment |
CN113330750A (en) * | 2018-11-16 | 2021-08-31 | 六科股份有限公司 | Monitoring loudness level during media replacement events using shorter time constants |
CN113891136A (en) * | 2021-09-18 | 2022-01-04 | 深圳Tcl新技术有限公司 | Video playing method and device, electronic equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002125288A (en) * | 2000-10-12 | 2002-04-26 | Kenwood Corp | Audio system and sound volume regulating method |
CN102592626A (en) * | 2011-12-20 | 2012-07-18 | 广东步步高电子工业有限公司 | Intelligent management method and system for play volume of audio file |
CN105006240A (en) * | 2015-06-12 | 2015-10-28 | 惠州Tcl移动通信有限公司 | Music sound control method and system based on audio playing device |
CN106528042A (en) * | 2016-11-22 | 2017-03-22 | 上海与德信息技术有限公司 | Volume control method and device based on earphone playing |
CN107040660A (en) * | 2017-04-18 | 2017-08-11 | 广东欧珀移动通信有限公司 | Control method, device and the mobile terminal of mobile terminal playing volume |
-
2017
- 2017-10-10 CN CN201710936103.2A patent/CN107633850A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002125288A (en) * | 2000-10-12 | 2002-04-26 | Kenwood Corp | Audio system and sound volume regulating method |
CN102592626A (en) * | 2011-12-20 | 2012-07-18 | 广东步步高电子工业有限公司 | Intelligent management method and system for play volume of audio file |
CN105006240A (en) * | 2015-06-12 | 2015-10-28 | 惠州Tcl移动通信有限公司 | Music sound control method and system based on audio playing device |
CN106528042A (en) * | 2016-11-22 | 2017-03-22 | 上海与德信息技术有限公司 | Volume control method and device based on earphone playing |
CN107040660A (en) * | 2017-04-18 | 2017-08-11 | 广东欧珀移动通信有限公司 | Control method, device and the mobile terminal of mobile terminal playing volume |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113330750A (en) * | 2018-11-16 | 2021-08-31 | 六科股份有限公司 | Monitoring loudness level during media replacement events using shorter time constants |
US11347470B2 (en) | 2018-11-16 | 2022-05-31 | Roku, Inc. | Detection of media playback loudness level and corresponding adjustment to audio during media replacement event |
US11372617B2 (en) | 2018-11-16 | 2022-06-28 | Roku, Inc. | Monitoring loudness level during media replacement event using shorter time constant |
CN113330750B (en) * | 2018-11-16 | 2022-11-11 | 六科股份有限公司 | Method, computer-readable medium, and computing system for media content replacement |
US11740860B2 (en) | 2018-11-16 | 2023-08-29 | Roku, Inc. | Detection of media playback loudness level and corresponding adjustment to audio during media replacement event |
US11748055B2 (en) | 2018-11-16 | 2023-09-05 | Roku, Inc. | Monitoring loudness level during media replacement event using shorter time constant |
CN109671448A (en) * | 2018-12-29 | 2019-04-23 | 联想(北京)有限公司 | A kind of data processing method and device |
CN110058837A (en) * | 2019-04-22 | 2019-07-26 | 维沃移动通信有限公司 | A kind of audio-frequency inputting method and terminal |
CN110058837B (en) * | 2019-04-22 | 2022-05-03 | 维沃移动通信有限公司 | Audio output method and terminal |
CN110457002A (en) * | 2019-07-03 | 2019-11-15 | 平安科技(深圳)有限公司 | A kind of multimedia file processing method, device and computer storage medium |
CN111445927A (en) * | 2020-03-11 | 2020-07-24 | 维沃软件技术有限公司 | Audio processing method and electronic equipment |
CN113891136A (en) * | 2021-09-18 | 2022-01-04 | 深圳Tcl新技术有限公司 | Video playing method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107633850A (en) | A kind of volume adjusting method and electronic equipment | |
CN107734378A (en) | A kind of audio and video synchronization method, device and mobile terminal | |
CN108182019A (en) | A kind of suspension control display processing method and mobile terminal | |
CN107707828A (en) | A kind of method for processing video frequency and mobile terminal | |
CN107635110A (en) | A kind of video interception method and terminal | |
CN108712566A (en) | A kind of voice assistant awakening method and mobile terminal | |
CN107659637A (en) | Audio method to set up, device, storage medium and terminal | |
CN107678829A (en) | A kind of application control method and mobile terminal | |
CN108279948A (en) | A kind of application program launching method and mobile terminal | |
CN107743178A (en) | A kind of message player method and mobile terminal | |
WO2017215661A1 (en) | Scenario-based sound effect control method and electronic device | |
CN108710458A (en) | A kind of split screen control method and terminal device | |
CN109215655A (en) | The method and mobile terminal of text are added in video | |
CN107786751A (en) | A kind of method for broadcasting multimedia file and mobile terminal | |
CN110351407A (en) | A kind of audio frequency playing method and mobile terminal | |
CN109819171A (en) | A kind of video capture method and terminal device | |
CN108769783A (en) | Video ads playback method, mobile terminal and computer readable storage medium | |
CN108744495A (en) | A kind of control method of virtual key, terminal and computer storage media | |
CN108519847A (en) | A kind of record screen method and terminal | |
CN108319833A (en) | A kind of control method and mobile terminal of application program | |
CN107896339A (en) | A kind of video broadcasting method, terminal and computer-readable recording medium | |
CN109672845A (en) | A kind of method, apparatus and mobile terminal of video calling | |
CN108471475A (en) | A kind of concealed pick-up head control method and terminal device | |
CN108228301A (en) | The method, apparatus and computer readable storage medium of the long sectional drawing of screen interface | |
CN108319440A (en) | Audio-frequency inputting method and mobile 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: 20180126 |
|
RJ01 | Rejection of invention patent application after publication |