A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://patents.google.com/patent/CN104168431B/en below:

CN104168431B - A kind of volume adjusting method, device and a kind of set top box

CN104168431B - A kind of volume adjusting method, device and a kind of set top box - Google PatentsA kind of volume adjusting method, device and a kind of set top box Download PDF Info
Publication number
CN104168431B
CN104168431B CN201410385493.5A CN201410385493A CN104168431B CN 104168431 B CN104168431 B CN 104168431B CN 201410385493 A CN201410385493 A CN 201410385493A CN 104168431 B CN104168431 B CN 104168431B
Authority
CN
China
Prior art keywords
period
sub
volume
sampled point
voice data
Prior art date
2014-08-06
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.)
Active
Application number
CN201410385493.5A
Other languages
Chinese (zh)
Other versions
CN104168431A (en
Inventor
王雄才
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hisense Broadband Multimedia Technology Co Ltd
Original Assignee
Hisense Broadband Multimedia Technology Co Ltd
Priority date (The priority date 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 date listed.)
2014-08-06
Filing date
2014-08-06
Publication date
2017-08-25
2014-08-06 Application filed by Hisense Broadband Multimedia Technology Co Ltd filed Critical Hisense Broadband Multimedia Technology Co Ltd
2014-08-06 Priority to CN201410385493.5A priority Critical patent/CN104168431B/en
2014-11-26 Publication of CN104168431A publication Critical patent/CN104168431A/en
2017-08-25 Application granted granted Critical
2017-08-25 Publication of CN104168431B publication Critical patent/CN104168431B/en
Status Active legal-status Critical Current
2034-08-06 Anticipated expiration legal-status Critical
Links Landscapes Abstract

The invention provides a kind of volume adjusting method, device and a kind of set top box, to solve, existing volume adjusting method is excessively cumbersome, versatility is poor, it is impossible to the problem of handling sound suddenly change in single channel.Wherein method includes:The sampled point of the corresponding voice data of current channel is received, and gathers the corresponding voice data volume of each sampled point;Determine the sampled point number of current channel corresponding sub- period;Determine the sub- period to be played;According to the corresponding voice data volume of each sampled point and the sampled point number of sub- period, the regulation processing of voice data volume is carried out for the sampled point of sub- period to be played;Judge whether switching channels, if it is not, then returning to the step of determining the sub- period to be played;If so, the step of then returning to the sampled point for receiving the corresponding voice data of current channel.The phenomenon of sound mutation occurs when the present invention can avoid persistently playing in switching channels or under same channel, process is simple, highly versatile.

Description A kind of volume adjusting method, device and a kind of set top box

Technical field

The present invention relates to multimedia technology field, more particularly to a kind of volume adjusting method, a kind of volume adjustment device, And a kind of set top box.

Background technology

In the last few years, developing rapidly with multimedia technology, various playback terminals are also being developed rapidly, and its function also exists It is increasing.By taking TV set-top box as an example, sound, the picture that can provide the user higher quality due to it meet user's Various demands, therefore have become essential a kind of equipment in people's life.But, deposited in the application of current TV set-top box In problems with:When user watches TV, the problem of often there is the cause not of uniform size of sound between each channel, or In the single channel of person's appearance when program and advertisement are switched over the problem of sound suddenly change.

In view of the above-mentioned problems, generally being solved in the prior art using the following two kinds mode:

1st, the volume of each channel is individually recorded, the volume of the channel is carried out according to the volume of record in switching channels Regulation.

But, user's overall loudness rank required when daytime sees TV and see TV in the evening is probably inconsistent , therefore this kind of mode is excessively cumbersome, and volume adjusting situation when different channel switches can only be handled, and list can not be handled In individual channel when program and advertisement are switched over sound suddenly change situation.

2nd, the method that the descriptor of volume compensation is issued by TV station, informs that the volume of each channel of TV set-top box is mended Value is repaid, the volume of the channel is adjusted according to offset in switching channels.

But, this method needs TV station to coordinate, and is not that each TV station can issue volume compensation descriptor, Therefore this kind of mode versatility is poor, and can only handle volume adjusting situation when different channel switches, and can not handle list In individual channel when program and advertisement are switched over sound suddenly change situation.

In a word, volume adjusting method of the prior art is excessively cumbersome, versatility is poor, it is impossible to handle sound in single channel The situation of sound suddenly change.

The content of the invention

The invention provides a kind of volume adjusting method, device and a kind of set top box, to solve volume of the prior art Adjusting method is excessively cumbersome, versatility is poor, it is impossible to the problem of handling sound suddenly change situation in single channel.

In order to solve the above problems, the invention discloses a kind of volume adjusting method, it is characterised in that including:

The sampled point of the corresponding voice data of current channel is received, and gathers the corresponding voice data volume of each sampled point;

Determine the sampled point number of current channel corresponding sub- period;

Determine the sub- period to be played;

According to the corresponding voice data volume of each sampled point and the sampled point number of the sub- period, for described The sampled point of sub- period to be played carries out the regulation processing of voice data volume;

Judge whether switching channels, if it is not, then returning described the step of determine the sub- period to be played;If so, then returning The step of returning the sampled point of the corresponding voice data of the reception current channel.

Preferably, it is described according to the corresponding voice data volume of each sampled point and the sampled point of the sub- period Number, for the sub- period to be played sampled point carry out voice data volume regulation handle the step of include:

According to the corresponding voice data volume of each sampled point and the sampled point number of the sub- period, calculate described The volume average of father's period belonging to the sub- period to be played;Wherein, father's period includes at least one sub- time Section;

Compare the volume average and default volume a reference value of father's period;Wherein, the volume a reference value includes Max volume a reference value and minimal volume a reference value;

If the volume average of father's period is more than the max volume a reference value or less than the minimal volume benchmark Value, then adjust the corresponding voice data volume of sampled point of the sub- period to be played;

Otherwise, the corresponding voice data volume of sampled point of the sub- period to be played is not adjusted.

Preferably, it is described according to the corresponding voice data volume of each sampled point and the sampled point of the sub- period The step of number, volume average for calculating father's period belonging to the sub- period to be played, includes:

According to the sequencing of reception, after the sampled point of sampled point number of the sub- period is received every time, meter The aggregate-value of the corresponding voice data volume of the sampled point is calculated, the aggregate-value of a sub- period is used as;

Since the sub- period to be played, when the sub- period for having calculated that aggregate-value can make up a father Between section when, the average value of the aggregate-value of all sub- periods in the father period is calculated, by the average value divided by the son Business obtained by the sampled point number of period as father's period belonging to the sub- period to be played volume average.

Preferably, the step of sampled point of the regulation sub- period to be played corresponding voice data volume is wrapped Include:

If the volume average in father's period is more than the max volume a reference value, the son to be played is turned down The corresponding voice data volume of sampled point of period;

If the volume average in father's period is less than the minimal volume a reference value, the son to be played is heightened The corresponding voice data volume of sampled point of period;

Wherein, the step of sampled point for turning down the sub- period to be played corresponding voice data volume is wrapped Include:

Calculate business obtained by the volume average divided by the max volume a reference value in father's period as gain because Son;

By the corresponding voice data volume of each sampled point of the sub- period to be played is equal divided by the gain because Son, the volume after being turned down;

The step of sampled point for heightening the sub- period to be played corresponding voice data volume, includes:

The business of the minimal volume a reference value divided by the volume average in father's period is calculated as decay factor;

By the corresponding voice data volume of each sampled point of the sub- period to be played be multiplied by the decay because Son, the volume after being heightened.

Preferably, the step of sampled point number of the determination current channel corresponding sub- period includes:

Obtain the corresponding sample frequency of current channel;

The sampled point number sampled and can obtained according to the sample frequency within the sub- period is calculated, is adopted described Sampling point number as the current channel corresponding sub- period sampled point number.

Preferably, carried out in the sampled point for the sub- period to be played at the regulation of voice data volume After the step of reason, in addition to:

The corresponding voice data volume of sampled point of the sub- period to be played after regulation processing is cached, and is recorded The adjustment state of the sub- period;

According to the adjustment state of the sub- period of current cache and the adjustment state of the sub- period cached before, for it The sampled point of the sub- period of preceding caching carries out the regulation processing of voice data volume;

The corresponding voice data volume of the sampled point of the sub- period cached is sent to playback equipment.

Preferably, wherein, the adjustment state include regulation and do not adjust;

The adjustment state and the adjustment state of the sub- period cached before of, pin The step of regulation that the sampled point of sub- period to caching before carries out voice data volume is handled includes:

If the adjustment state of the sub- period of current cache is regulation, the adjustment state of the sub- period cached before is Do not adjust, then obtain the volume average of the sub- period of caching before respectively;

Compare the volume average and default volume a reference value of the sub- period;Wherein, the volume a reference value includes Max volume a reference value and minimal volume a reference value;

If the volume average of some sub- period is more than the max volume a reference value or less than the minimal volume benchmark Value, then adjust the corresponding voice data volume of sampled point of the sub- period;

Otherwise, the corresponding voice data volume of sampled point of the sub- period is not adjusted;

Wherein, it is described adjust the sub- period sampled point corresponding voice data volume the step of include:

If the volume average of the sub- period is more than the max volume a reference value, the sampled point of the sub- period is turned down Corresponding voice data volume;

If the volume average of the sub- period is less than the minimal volume a reference value, the sampled point of the sub- period is heightened Corresponding voice data volume.

According to another aspect of the present invention, a kind of volume adjustment device is also disclosed, it is characterised in that including:

Acquisition module, for receiving the sampled point of the corresponding voice data of current channel, and it is corresponding to gather each sampled point Voice data volume;

First determining module, the sampled point number for determining the current channel corresponding sub- period;

Second determining module, for determining the sub- period to be played;

First processing module, for adopting according to each corresponding voice data volume of sampled point and the sub- period Sampling point number, the regulation processing of voice data volume is carried out for the sampled point of the sub- period to be played;

Judge module, for judging whether switching channels, if it is not, then calling second determining module;If so, then calling The acquisition module.

Preferably, described device also includes:

Cache module, for carrying out audio number for the sampled point of the sub- period to be played in the processing module After the regulation processing of volume, the corresponding audio number of sampled point of the sub- period to be played after caching regulation processing According to volume, and record the adjustment state of the sub- period;

Second processing module, adjustment state and sub- period for caching before for the sub- period according to current cache Adjustment state, the regulation for carrying out voice data volume for the sampled point of sub- period cached before handles;

Second sending module, for the corresponding voice data volume of the sampled point of the sub- period cached to be sent to broadcasting Put equipment;

Wherein, the adjustment state includes regulation and not adjusted;

The Second processing module includes:

Sub- period calculating sub module, the adjustment state for the sub- period in current cache is regulation, is cached before The sub- period adjustment state for when not adjusting, obtain respectively it is described before caching the sub- period volume average;

Sub- period comparison sub-module, volume average and default volume a reference value for comparing the sub- period; Wherein, the volume a reference value includes max volume a reference value and minimal volume a reference value;

The sub- period handles submodule, is more than the max volume a reference value for the volume average in some sub- period Or during less than the minimal volume a reference value, adjust the corresponding voice data volume of sampled point of the sub- period;Otherwise, it is uncomfortable Save the corresponding voice data volume of sampled point of the sub- period.

According to another aspect of the present invention, a kind of set top box is also disclosed, it is characterised in that including volume as described above Adjusting means.

Compared with prior art, the present invention includes advantages below:

Situation during switching channels, or the feelings for persistently being played under same channel are either directed in the present invention Condition, all after the sampled point of voice data is received, gathers the corresponding voice data volume of each sampled point, and determine current channel The sampled point number of corresponding sub- period, and determine the sub- period to be played;Then according to the corresponding sound of each sampled point Frequency carries out voice data volume according to volume and the sampled point number of sub- period for the sampled point of sub- period to be played Regulation processing;Finally judge whether switching channels, if the step of determining the sub- period to be played is otherwise returned to, if then returning The step of tieback receives the sampled point of the corresponding voice data of current channel.Therefore the present invention passes through in real time to each sampled point correspondence Voice data volume be acquired and analyze, can carry out in real time voice data volume regulation processing, so as to avoid cutting The phenomenon of sound mutation occurs when persistently being played when changing channel or under same channel, process is simple, highly versatile.

Brief description of the drawings

Fig. 1 is a kind of flow chart of volume adjusting method of the embodiment of the present invention one;

Fig. 2 is a kind of schematic diagram of voice data handling process of the embodiment of the present invention two;

Fig. 3 is a kind of flow chart of volume adjusting method of the embodiment of the present invention two;

Fig. 4 is a kind of flow chart of volume adjusting method of the embodiment of the present invention three;

Fig. 5 is a kind of structured flowchart of volume adjustment device of the embodiment of the present invention four.

Embodiment

In order to facilitate the understanding of the purposes, features and advantages of the present invention, it is below in conjunction with the accompanying drawings and specific real Applying mode, the present invention is further detailed explanation.

For when user watches TV, often occurring, the sound between each channel is not of uniform size to be caused, Huo Zhedan In individual channel when program and advertisement are switched over the problem of sound suddenly change, current solution is generally too cumbersome, logical It is poor with property, and the situation of sound suddenly change in single channel can not be handled.In view of the above-mentioned problems, the invention provides one Plant volume adjusting method, device and a kind of set top box.Below, it is described in detail by each following embodiment.

Embodiment one:

Reference picture 1, shows a kind of flow chart of volume adjusting method of the embodiment of the present invention one.The volume adjusting method Specifically it may comprise steps of:

Step 101, the sampled point of the corresponding voice data of current channel is received, and gathers the corresponding audio number of each sampled point According to volume.

When watching some television channel, for the audio of broadcasting, set top box will receive the corresponding sound of current channel The sampled point of frequency evidence, then analyzes and processes to the sampled point of these voice datas, playback equipment is then forwarded to after processing Play out.

In the embodiment of the present invention, real-time volume adjusting processing is carried out for the sampled point of the voice data received, Therefore the corresponding audio number of each sampled point can be gathered respectively after the sampled point of the corresponding voice data of current channel is received According to volume, subsequently corresponding regulation processing is carried out further according to the corresponding voice data volume of each sampled point.It should be noted that this The sampled point of the corresponding voice data of reception current channel in inventive embodiments can refer to the reception when being switched to new channel, Reception when persistently being played under same channel can also be referred to, i.e. either which kind of situation, can be to current channel correspondence Sampled point carry out voice data volume collection, and by analysis processing is adjusted.

Step 102, the sampled point number of current channel corresponding sub- period is determined.

In the embodiment of the present invention, the sub- period can be divided, and the corresponding sound of sampled point is carried out based on each sub- period Frequency is handled according to the regulation of volume, therefore can also determine the sampled point number of current channel corresponding sub- period.

Step 103, the sub- period to be played is determined.

Wherein, the sub- period to be played is to refer to be sent to sampled point that playback equipment plays out and corresponding The sub- period that voice data volume is constituted.

The execution sequence of above-mentioned steps 101, step 102 and step 103 three is not limited to said sequence, and three can be with It is parallel to perform, it can also be performed according to other random orders, the embodiment of the present invention is not any limitation as to this.

Step 104, according to the corresponding voice data volume of each sampled point and the sampled point number of the sub- period, The regulation processing of voice data volume is carried out for the sampled point of the sub- period to be played.

After 101~step 103 of above-mentioned steps, you can according to the corresponding voice data volume of each sampled point and described The sampled point number of current channel corresponding sub- period, voice data sound is carried out for the sampled point of sub- period to be played The regulation processing of amount, specific regulation processing procedure will be discussed in detail in the following embodiments.

Step 105, switching channels are judged whether.If it is not, then return to step 103;If so, then return to step 101.

In above-mentioned steps 101, the sampled point of voice data is continuously received, if for example watching same frequency always Road, then will receive the sampled point of the corresponding voice data of the channel always.Therefore, if without switching channels, will return Step 103 continues to handle the follow-up sub- period to be played;If switching channels, by 101 pairs of switchings of return to step Channel afterwards is handled.

It should be noted that in the implementation procedure of the volume adjusting method of the embodiment of the present invention, can also detect in real time Whether shutdown command is received, if receiving shutdown command, current volume adjusting method can be exited.

Situation during switching channels is either directed in the embodiment of the present invention, or for persistently being played under same channel Situation, can be acquired and analyze by real time to the corresponding voice data volume of each sampled point, to carry out in real time The regulation processing of voice data volume, so that generation sound when avoiding persistently playing in switching channels or under same channel The phenomenon of sound mutation, process is simple, highly versatile.

Embodiment two:

In the embodiment of the present invention, the disposed of in its entirety process first to voice data is introduced.Reference picture 2, shows this A kind of schematic diagram of voice data handling process of inventive embodiments two.The voice data handling process is described in detail below:

1st, current channel is locked by the tuner of tuner (Tuner), and starts to receive the corresponding data (example of current channel Such as voice data, video data).

2nd, tuner (Tuner) is by the data transfer received to shunt (Demux).

3rd, splitter components filtering from TS (Transport Stream, transmission code stream) by selected voice data is passed through Out, audio PES (Paketized Elementary Stream, packetized elementary stream) is obtained.During TS analysis, There is PID (Packet Identifier, bag identity code) such a concept, TS is combined by a variety of data, a TS Data in bag can be video data, voice data, filling data, etc., and each data type corresponds to unique PID, Voice data can be filtered out for distinguishing other data types, therefore according to voice data corresponding PID from TS.

4th, after audio PES (Audio PES) is obtained, audio parsing (Audio Parse) is carried out.

5th, parsed by audio, peel off audio PES header information, obtain audio ES (Elementary Stream, base This code stream).

6th, above-mentioned audio ES (Audio ES) is transmitted to decoder (Decoder) and decoded, you can obtained after decoding Voice data sampled point, i.e. PCM (Pulse Code Modulation, pulse code modulation) sample point data.TV station When sending voice data, it is to be digitized voice data by PCM, obtains sampled point, then retransmit these sampled points. PCM format represents audio using three parameters:Sample frequency, sampling resolution and channel number.Wherein, sample frequency is sampling frequency Rate, refers to the number of times for obtaining audio sample each second, and sample frequency is higher, and the quality of audio is also better, and the reduction of audio is also It is truer, have in 16 sound cards 22KHz, 44KHz etc. what, wherein, 22KHz is equivalent to the tonequality that common FM is broadcasted, 44KHz Equivalent to CD Quality, current conventional sample frequency is typically no more than 48KHz.Sampling resolution:I.e. sampled value or sampling value be (just It is by sample amplitude quantizing), it is for weighing sound fluctuating change parameter, it may also be said to be the resolution of sound card Rate, its numerical value is bigger, and resolution ratio is also higher, and the ability for sending sound is stronger.Channel number have monophonic and it is stereo it Point, the sound of monophonic can only use a sound horn (sound for being also processed into two same sound channels of loudspeaker output having Sound), it is stereo to make two loudspeaker all sounding (general left and right acoustic channels have the division of labor), it can more experience Space.

7th, the sampled point of voice data is transmitted to PCM buffering areas 1 (PCM Buffer1).

8th, postpositive disposal (Post Process) process is carried out to the sampled point of the sound intermediate frequency data of PCM buffering areas 1.In the mistake Cheng Zhong, can carry out various conversion process to the sampled point of voice data, such as sample frequency interpolation is lifted, audio amplitude adjustment Deng.

9th, the sampled point of the voice data by postpositive disposal is transmitted to PCM buffering areas 2 (PCM Buffer2).

10th, the sampled point of the sound intermediate frequency data of PCM buffering areas 2 is sent to PCM playback equipments (PCM player), counted Word voice data.

11st, digital audio-frequency data is subjected to D/A conversions (Digital to Analog Converter, digital-to-analog turn Change), obtain simulated audio signal.

12nd, audio output (Audio Output) is performed, simulated audio signal is output into AV terminal, and (AV terminal is also known as multiple Terminal is closed, is the terminal for sending video analog signal).

Volume adjusting method in the embodiment of the present invention two can be in above-mentioned Fig. 2 the postpositive disposal stage perform.

Reference picture 3, shows a kind of flow chart of volume adjusting method of the embodiment of the present invention two.The volume adjusting method It may comprise steps of:

Step 301, the sampled point of the corresponding voice data of current channel is received, and gathers the corresponding audio number of each sampled point According to volume.

The problem of sound mutation occur when watching TV in the embodiment of the present invention in order to avoid user, it is right in real time to propose Volume is controlled.When user watches some television channel, set top box will receive adopting for the corresponding voice data of current channel Sampling point, therefore the embodiment of the present invention is after the sampled point of the corresponding voice data of current channel is received, and gathers each sampled point pair The voice data volume answered, the regulation that volume can be subsequently carried out according to these information volumes is handled.

Step 302, the sampled point number of current channel corresponding sub- period is determined.

Volume adjusting processing is carried out based on the sub- period, the sampling of current channel corresponding sub- period can be determined first Point number.

In one preferred embodiment of the invention, the sampled point number of each channel corresponding sub- period can be set It is identical, you can to pre-set a fixed value as the sampled point number of each channel corresponding sub- period.Therefore the step Rapid 302 are specifically as follows:Using the fixed value pre-set as the current channel corresponding sub- period sampled point number.

For the specific set-up mode of wherein fixed value, those skilled in the art carry out relevant treatment according to practical experience and are Can, fixed value can be for example set to 1024,512 etc., the embodiment of the present invention is not any limitation as to this.This kind is set The mode of fixed value can simplify volume adjusting process without being calculated for each channel.

In another preferred embodiment of the invention, the channel itself correspondence can also be calculated respectively for each channel The sub- period sampled point number.Therefore the step 302 is specifically as follows:Obtain the corresponding sample frequency of current channel;Meter The sampled point number sampled and can obtained according to the sample frequency within the sub- period is calculated, the sampled point number is made For the sampled point number of the current channel corresponding sub- period.

Due to the frequent rate of the corresponding sampling of some channels be probably it is different, than if any 8KHz, 22.05KHz, 32KHz, 44.1KHz, 48KHz etc., the so channel for the different sample frequencys of correspondence, obtain the time used in the sampled point of same number It is different, such as when sample frequency is 44.1KHz, the time for obtaining 1024 sampled points is about 230ms (1024/44100 Second), and when sample frequency is 22.05KHz, when the time for obtaining 1024 sampled points is about sample frequency for 44.1KHz Twice, so the regulation processing procedure for the voice data volume of the channel of the different sample frequencys of correspondence is not identical Period in processing, i.e. processing accuracy is different, so that inconsistent between causing channel.Therefore, in the preferred embodiment, The sampled point number of current channel corresponding sub- period is determined respectively for each channel, to ensure the regulation essence of each channel Degree is essentially identical, improves the uniformity of each channel, lifts Consumer's Experience.

Step 303, the sub- period to be played is determined.

The sub- period to be played refers to that sampled point and corresponding audio number that playback equipment is played out will be sent to The sub- period constituted according to volume.

In one preferred embodiment of the invention, the step 303 is specifically as follows:, will according to the sequencing of reception Belonging to the sampled point of regulation processing sampled point number, not carrying out voice data volume also of at least one set of sub- period The sub- period be used as the sub- period to be played.

The execution sequence of above-mentioned steps 301, step 302 and step 303 three is not limited to said sequence, and three can be with It is parallel to perform, it can also be performed according to other random orders, the embodiment of the present invention is not any limitation as to this.

Step 304, according to the corresponding voice data volume of each sampled point and the sampled point number of the sub- period, The regulation processing of voice data volume is carried out for the sampled point of the sub- period to be played.

In the embodiment of the present invention, the step 304 can include following sub-step:

Sub-step a1, according to the corresponding voice data volume of each sampled point and the sampled point of the sub- period Number, calculates the volume average of father's period belonging to the sub- period to be played.

Wherein, father's period includes at least one sub- period.Can be according to belonging to the sub- period to be played The situation of the volume average of father's period, the corresponding voice data volume of sampled point in the sub- period to be played to this is carried out Regulation is handled.

In one preferred embodiment of the invention, sub-step a1 can include following sub-step:

Sub-step a11, according to the sequencing of reception, is receiving adopting for the sampled point number of the sub- period every time After sampling point, the aggregate-value of the corresponding voice data volume of the sampled point is calculated, the aggregate-value of a sub- period is used as.

What it is from the transmission of PCM buffering areas 1 is that, without treated initial data, what it was represented is level magnitudes, and volume Size is substantially the embodiment of energy, therefore it is that can obtain the sampled point to calculate square value to the corresponding level magnitudes of each sampled point Corresponding voice data volume.After the sampled point of sampled point number of the sub- period is received every time, the number is calculated All sampled points level magnitudes quadratic sum, then to the quadratic sum carry out evolution obtain root, the root is the son The aggregate-value of the corresponding voice data volume of period sampled point.

Sub-step a12, being capable of group in the sub- period for having calculated that aggregate-value since the sub- period to be played During into father period, the average value of the aggregate-value of all sub- periods in the father period is calculated, by the average value Divided by the business obtained by the sampled point number of the sub- period is used as father's period belonging to the sub- period to be played Volume average.

For example, FIFO (First Input First Output, FIFO) queue can be pre-set, counting every time To calculate can be saved to the fifo queue after the aggregate-value of a sub- period, when the aggregate-value that has calculated that in queue When the sub- period can make up father period, the value preserved is recycled to be calculated.For example, setting a sub- period Sampled point number be 1024, set father's period to include 20 sub- periods, therefore a FIFO team can be set Row 20 data of storage.

In another preferred embodiment of the invention, sub-step a1 can include following sub-step:

Sub-step a13, according to the sequencing of reception, is receiving adopting for the sampled point number of the sub- period every time After sampling point, the aggregate-value of the corresponding voice data volume of the sampled point is calculated, and calculates the average value of the aggregate-value, by institute The average value for stating aggregate-value is used as the volume average of a sub- period.

Sub-step a14, can in the sub- period for having calculated that volume average since the sub- period to be played During one father period of composition, the volume mean of mean of all sub- periods in the father period is calculated, by the sound Measure volume average of the mean of mean as father's period belonging to the sub- period to be played.

Sub-step a2, the volume average and default volume a reference value of relatively more described father's period;Wherein, the volume base Quasi- value includes max volume a reference value and minimal volume a reference value.

For the specific set-up mode of max volume a reference value and minimal volume a reference value, those skilled in the art are according to reality Border experience carry out it is related set can (for example, according to value of practical experience statistical calibration, calibration determination is carried out in the development phase), The embodiment of the present invention is not any limitation as to this.

Sub-step a3, if the volume average of father's period is more than the max volume a reference value or less than the minimum Volume a reference value, then adjust the corresponding voice data volume of sampled point of the sub- period to be played.

In one preferred embodiment of the invention, sub-step a3 can include following sub-step:

Sub-step a31, if the volume average in father's period is more than the max volume a reference value, is turned down described The corresponding voice data volume of sampled point of sub- period to be played.

If the volume average in father's period is more than max volume a reference value, the current period of the day from 11 p.m. to 1 a.m to be played can be illustrated Between section the corresponding voice data volume of sampled point it is higher, now need to be turned down.Turn down adopting for sub- period to be played The process of the corresponding voice data volume of sampling point can be:Calculate the volume average divided by the maximum sound in father's period Business obtained by amount a reference value is used as gain factor;By the corresponding voice data of each sampled point of the sub- period to be played Volume is equal divided by the gain factor, the volume after being turned down.

Sub-step a32, if the volume average in father's period is less than the minimal volume a reference value, is heightened described The corresponding voice data volume of sampled point of sub- period to be played.

If the volume average in father's period is less than minimal volume a reference value, the current period of the day from 11 p.m. to 1 a.m to be played can be illustrated Between section the corresponding voice data volume of sampled point it is relatively low, now need to be heightened.Heighten adopting for sub- period to be played The process of the corresponding voice data volume of sampling point can be:Calculate the minimal volume a reference value divided by father's period The business of volume average is used as decay factor;By the corresponding voice data volume of each sampled point of the sub- period to be played The decay factor is multiplied by, the volume after being heightened.

Sub-step a4, if the volume average of father's period be less than or equal to the max volume a reference value and be more than or Equal to the minimal volume a reference value, then the corresponding voice data sound of sampled point of the sub- period to be played is not adjusted Amount.

If the volume average of father's period is less than or equal to max volume a reference value and more than or equal to minimal volume base Quasi- value, then can illustrate that the corresponding voice data volume of sampled point of current sub- period to be played is appropriate, now can be with It is not adjusted.

Step 305, the corresponding voice data volume of sampled point of the sub- period to be played after regulation is handled Send to playback equipment.

After the regulation processing (may be to heighten, turn down or do not adjust) by above-mentioned steps 304, you can make to be played The corresponding voice data volume of sampled point of sub- period is maintained at a more suitable scope, can now handle regulation The corresponding voice data volume of sampled point of the sub- period to be played afterwards is sent to playback equipment, controls playback equipment Played out according to the volume after prevention, so as to avoid the problem of sound is mutated in watching process.

Step 306, switching channels are judged whether.If it is not, then return to step 303;If so, then return to step 301.

In one preferred embodiment of the invention, switching channels can be judged whether in the following way:Allocate in advance Buffering area for preserving channel identication, preserved channel identication can be all updated in each switching channels, current channel is used Channel identication replace it before preservation channel identication, change, then may be used so if detecting preserved channel identication To determine to have switched channel.

If it is judged that without switching channels, then return to step 303 is continued to carry out the follow-up sub- period to be played Processing;If it is judged that switching channels, then handled the channel after 301 pairs of switchings of return to step.

By carrying out the tune of voice data volume to the sampled point of sub- period to be played in real time in the embodiment of the present invention Solution processing, can make to remain at a stable volume range during broadcasting, so as to avoid the phenomenon of sound volume mutation, be lifted Consumer's Experience.And the embodiment of the present invention can solve the unbalanced problem of multichannel volume, can also solve single channel volume The problem of mutation.

Embodiment three:

Volume adjusting method in the embodiment of the present invention three can also be in above-mentioned Fig. 2 the postpositive disposal stage perform.

Reference picture 4, shows a kind of flow chart of volume adjusting method of the embodiment of the present invention three.The volume adjusting method It may comprise steps of:

Step 401, the sampled point of the corresponding voice data of current channel is received, and gathers the corresponding audio number of each sampled point According to volume.

Step 402, the sampled point number of current channel corresponding sub- period is determined.

Step 403, the sub- period to be played is determined.

Step 404, according to the corresponding voice data volume of each sampled point and the sampled point number of the sub- period, The regulation processing of voice data volume is carried out for the sampled point of the sub- period to be played.

Step 401~step 404 in the embodiment of the present invention and step 301~step 304 base in above-described embodiment three This is similar, and referring in particular to the associated description of above-described embodiment three, the embodiment of the present invention is no longer discussed in detail herein.

Step 405, the corresponding voice data sound of sampled point of the sub- period to be played after caching regulation processing Amount, and record the adjustment state of the sub- period.

In above-mentioned steps 404, the corresponding voice data volume of sampled point for the sub- period to be played may be carried out Heighten, it is also possible to turned down, it is also possible to be not adjusted.But, due to being to be based on waiting to broadcast in the embodiment of the present invention The volume average of the father's period belonging to the sub- period put is compared, and the front for being simply positioned at the father period adjusted The sub- period to be played, therefore during regulation next time, during father belonging to next sub- period to be played Between section understand some the period with the father belonging to upper one sub- period to be played and overlap.Therefore which may cause nothing Method makes an immediate response sound volume mutation, i.e., delay that can be for some time.

For example when watching same channel, the channel is switched to advertisement by TV programme, and the TV programme corresponding time exists Normal range (NR), and the sound of advertisement becomes big suddenly, therefore when being just switched to advertisement, the sub- time to be played calculated The volume average of father's period belonging to section may be still located in normal range (NR) that (i.e. the volume average of father's period is less than or waited In the max volume a reference value and more than or equal to the minimal volume a reference value), in this kind of situation for just switching It may also be handled to sampled point during advertisement without the regulation of voice data volume, subsequently calculate the volume of father's period Average can just carry out the regulation processing of voice data volume when being more than max volume a reference value for the sampled point received.Therefore In that case, it will cause occur of short duration higher advertisement volume when being just switched to advertisement by TV programme, subsequently Tend towards stability, Consumer's Experience is poor.

In view of the above-mentioned problems, the present invention proposes caching mechanism, a buffering area can be pre-set, i.e., in step 404 In for the sub- period to be played sampled point carry out voice data volume regulation processing after, first temporarily not by conciliation The corresponding voice data volume of sampled point of sub- period to be played after reason is sent to playback equipment, but in the buffer The corresponding voice data volume of sampled point of the sub- period to be played after regulation processing is cached, and records the sub- period Adjustment state.Wherein, adjustment state includes regulation and not adjusted, that is, refers to the corresponding sound of sampled point of the sub- period to be played Whether frequency is adjusted according to volume.

Step 406, according to the adjustment state of the sub- period of current cache and the regulation shape of the sub- period cached before State, the sampled point of the sub- period for caching before carries out the regulation processing of voice data volume.

In one preferred embodiment of the invention, the step 406 can include following sub-step:

Sub-step b1, if the adjustment state of the sub- period of current cache is regulation, the sub- period cached before Adjustment state obtains the volume average of the sub- period of caching before not adjust, then respectively.

Content according to described by above-described embodiment three, if using sub-step a11 and sub-step a12 in step 404 Mode calculate the volume average of father's period belonging to the sub- period to be played, above-mentioned sub-step a11 can be recorded With each numerical value calculated in sub-step a12, then the volume average of the sub- period cached before can be further calculated herein. Calculating process can be:The aggregate-value of the sub- period calculated in sub-step a11 is obtained, the average value of the aggregate-value is calculated, Using the average value of the aggregate-value as the sub- period volume average.If using sub-step a13 and son in step 404 Step a14 mode calculates the volume average of father's period belonging to the sub- period to be played, can record above-mentioned son Each numerical value calculated in step a13 and sub-step a14, then can directly obtain the sub- time calculated in sub-step a13 herein The volume average of section.

Sub-step b2, the volume average and default volume a reference value of relatively more described sub- period.

Wherein, the volume a reference value includes max volume a reference value and minimal volume a reference value, can be with above-mentioned and father The volume a reference value that the volume average of period is compared is identical.

Sub-step b3, if the volume average of some sub- period is more than the max volume a reference value or less than the minimum Volume a reference value, then adjust the corresponding voice data volume of sampled point of the sub- period.

In one preferred embodiment of the invention, sub-step b3 can include following sub-step:

Sub-step b31, if the volume average of the sub- period is more than the max volume a reference value, turns down the sub- time The corresponding voice data volume of sampled point of section.

Turning down the process of the corresponding voice data volume of sampled point of the sub- period can be:Calculate in the sub- period Volume average divided by the max volume a reference value obtained by business be used as gain factor;By each sampled point of the sub- period Corresponding voice data volume is equal divided by the gain factor, the volume after being turned down.

Sub-step b32, if the volume average of the sub- period is less than the minimal volume a reference value, heightens the sub- time The corresponding voice data volume of sampled point of section.

Heightening the process of the corresponding voice data volume of sampled point of the sub- period can be:Calculate the minimal volume The business of a reference value divided by the volume average in the sub- period is used as decay factor;By each sampled point correspondence of the sub- period Voice data volume be multiplied by the decay factor, the volume after being heightened.

Sub-step b4, if the volume average of some sub- period be less than or equal to the max volume a reference value and be more than or Equal to the minimal volume a reference value, then the corresponding voice data volume of sampled point of the sub- period is not adjusted.

Step 407, the corresponding voice data volume of the sampled point of the sub- period cached is sent to playback equipment.

It is mediated in the corresponding voice data volume of the sampled point of the sub- period for having cached after processing, you can The corresponding voice data volume of the sampled point of the sub- period cached is sent to playback equipment., can in the embodiment of the present invention Set with successively sending the corresponding voice data volume of the sampled point of each sub- period to broadcasting according to the sequencing of caching It is standby, can also be by the unified transmission of the corresponding voice data volume of the sampled point of the sub- period cached to playback equipment, this hair Bright embodiment is not any limitation as to this.

Step 408, switching channels are judged whether.If it is not, then return to step 403;If so, then return to step 401.

Carried out in the embodiment of the present invention in the sampled point for the sub- period to be played at the regulation of voice data volume After reason, the corresponding voice data volume of sampled point of the sub- period to be played after first temporary cache regulation processing, subsequently Each the sub- period cached is handled again, the degree of accuracy of the volume adjusting further improved improves Consumer's Experience.

For foregoing each method embodiment, in order to be briefly described, therefore it is all expressed as to a series of combination of actions, but It is that those skilled in the art should know, the present invention is not limited by described sequence of movement, because according to the present invention, certain A little steps can be carried out sequentially or simultaneously using other.Secondly, those skilled in the art should also know, be retouched in specification The embodiment stated belongs to preferred embodiment, and involved action and the module not necessarily present invention are necessary.

Example IV:

Reference picture 5, shows a kind of structured flowchart of volume adjustment device of the embodiment of the present invention four.The volume adjusting is filled Putting to include with lower module:

Acquisition module 501, for receiving the sampled point of the corresponding voice data of current channel, and gathers each sampled point correspondence Voice data volume;

First determining module 502, the sampled point number for determining the current channel corresponding sub- period;

Second determining module 503, for determining the sub- period to be played;

First processing module 504, for according to each corresponding voice data volume of sampled point and the sub- period Sampled point number, for the sub- period to be played sampled point carry out voice data volume regulation handle;

Judge module 505, for judging whether switching channels, if it is not, then calling second determining module;If so, then Call the acquisition module.

In one preferred embodiment of the invention, the device can also include with lower module:

First sending module, for carrying out sound for the sampled point of the sub- period to be played in the processing module After frequency is according to the regulation processing of volume, the corresponding audio of sampled point of the sub- period to be played after regulation is handled Data volume is sent to playback equipment;

Cache module, for carrying out audio number for the sampled point of the sub- period to be played in the processing module After the regulation processing of volume, the corresponding audio number of sampled point of the sub- period to be played after caching regulation processing According to volume, and record the adjustment state of the sub- period;Wherein, adjustment state includes regulation and not adjusted;

Second processing module, adjustment state and sub- period for caching before for the sub- period according to current cache Adjustment state, the regulation for carrying out voice data volume for the sampled point of sub- period cached before handles;

Second sending module, for the corresponding voice data volume of the sampled point of the sub- period cached to be sent to broadcasting Put equipment.

In one preferred embodiment of the invention, first determining module can include following submodule:

Frequency acquisition submodule, for obtaining the corresponding sample frequency of current channel;

Number calculating sub module, for calculating what can be obtained according to sample frequency sampling within the sub- period Sampled point number, using the sampled point number as the current channel corresponding sub- period sampled point number.

The first processing module can include following submodule:

Father's period calculating sub module, for according to each corresponding voice data volume of sampled point and the sub- time The sampled point number of section, calculates the volume average of father's period belonging to the sub- period to be played;Wherein, during a father Between section include at least one sub- period;

Father's period comparison sub-module, volume average and default volume a reference value for comparing father's period; Wherein, the volume a reference value includes max volume a reference value and minimal volume a reference value;

Father's period handles submodule, is more than the max volume a reference value for the volume average in father's period Or during less than the minimal volume a reference value, adjust the corresponding voice data sound of sampled point of the sub- period to be played Amount;Otherwise, the corresponding voice data volume of sampled point of the sub- period to be played is not adjusted.

The Second processing module can include following submodule:

Sub- period calculating sub module, the adjustment state for the sub- period in current cache is regulation, is cached before The sub- period adjustment state for when not adjusting, obtain respectively it is described before caching the sub- period volume average;

Sub- period comparison sub-module, volume average and default volume a reference value for comparing the sub- period; Wherein, the volume a reference value includes max volume a reference value and minimal volume a reference value;

The sub- period handles submodule, is more than the max volume a reference value for the volume average in some sub- period Or during less than the minimal volume a reference value, adjust the corresponding voice data volume of sampled point of the sub- period;Otherwise, it is uncomfortable Save the corresponding voice data volume of sampled point of the sub- period.

Wherein, the sub- period processing submodule can include following subelement:

First turns down subelement, for when the volume average of the sub- period is more than the max volume a reference value, adjusting The corresponding voice data volume of sampled point of the low sub- period;

First heightens subelement, for when the volume average of the sub- period is less than the minimal volume a reference value, adjusting The corresponding voice data volume of sampled point of the high sub- period.

Father's period calculating sub module can include following subelement:

Aggregate-value computation subunit, for the sequencing according to reception, is receiving adopting for the sub- period every time After the sampled point of sampling point number, the aggregate-value of the corresponding voice data volume of the sampled point is calculated, a sub- period is used as Aggregate-value;

Mean value computation subelement, for since the sub- period to be played, having calculated that the period of the day from 11 p.m. to 1 a.m of aggregate-value Between section when can make up father period, calculate the average value of the aggregate-value of all sub- periods in the father period, will Business obtained by the sampled point number of the average value divided by the sub- period is as belonging to the sub- period to be played The volume average of father's period.

Father's period, which handles submodule, can include following subelement:

Second turns down subelement, is more than the max volume a reference value for the volume average within father's period When, turn down the corresponding voice data volume of sampled point of the sub- period to be played;

Second heightens subelement, is less than the minimal volume a reference value for the volume average within father's period When, heighten the corresponding voice data volume of sampled point of the sub- period to be played.

Wherein, described second subelement is turned down, specifically for calculating volume average in father's period divided by described Business obtained by max volume a reference value is used as gain factor;By the corresponding sound of each sampled point of the sub- period to be played Frequency is according to volume is equal divided by the gain factor, the volume after being turned down.Described second heightens subelement, specifically for calculating The business of the minimal volume a reference value divided by the volume average in father's period is used as decay factor;Will be described to be played The corresponding voice data volume of each sampled point of sub- period is multiplied by the decay factor, the volume after being heightened.

The embodiment of the present invention, can be with by the way that the corresponding voice data volume of each sampled point is acquired and analyzed in real time The regulation processing of voice data volume is carried out in real time, so as to avoid persistently playing in switching channels or under same channel The phenomenon of Shi Fasheng sound mutation, process is simple, highly versatile.

For device embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, it is related Part illustrates referring to the part of embodiment of the method.

Present invention also offers a kind of set top box, the set top box can include the volume adjusting dress described in above-described embodiment four Put, referring in particular to the associated description of above-described embodiment four.The set top box can be by corresponding to each sampled point in real time Voice data volume is acquired and analyzed, and is handled with the regulation for carrying out voice data volume in real time, so as to avoid in switching frequency The phenomenon of sound mutation occurs when persistently being played during road or under same channel, process is simple, highly versatile, and can be with Lift Consumer's Experience.

Each embodiment in this specification is described by the way of progressive, what each embodiment was stressed be with Between the difference of other embodiment, each embodiment identical similar part mutually referring to.

The present invention can be described in the general context of computer executable instructions, such as program Module.Usually, program module includes performing particular task or realizes routine, program, object, the group of particular abstract data type Part, data structure etc..The present invention can also be put into practice in a distributed computing environment, in these DCEs, by Remote processing devices connected by communication network perform task.In a distributed computing environment, program module can be with Positioned at including in the local and remote computer-readable storage medium including storage device.

Finally, in addition it is also necessary to explanation, herein, such as first and second or the like relational terms be used merely to by One entity or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or operation Between there is any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant meaning Covering including for nonexcludability, so that process, method, commodity or equipment including a series of key elements not only include that A little key elements, but also other key elements including being not expressly set out, or also include be this process, method, commodity or The intrinsic key element of equipment.In the absence of more restrictions, the key element limited by sentence "including a ...", is not arranged Except also there is other identical element in the process including the key element, method, commodity or equipment.

Above to a kind of volume adjusting method provided by the present invention, device and a kind of set top box, it is described in detail, Specific case used herein is set forth to the principle and embodiment of the present invention, and the explanation of above example is to use Understand the method and its core concept of the present invention in help;Simultaneously for those of ordinary skill in the art, according to the present invention's Thought, will change in specific embodiments and applications, in summary, and this specification content should not be construed as Limitation of the present invention.

Claims (9)

1. a kind of volume adjusting method, it is characterised in that including:

The sampled point of the corresponding voice data of current channel is received, and gathers the corresponding voice data volume of each sampled point;

Determine the sampled point number of current channel corresponding sub- period;

Determine the sub- period to be played;

According to the corresponding voice data volume of each sampled point and the sampled point number of the sub- period, wait to broadcast for described The sampled point of the sub- period put carries out the regulation processing of voice data volume;

Cache the corresponding voice data volume of sampled point of the sub- period to be played after regulation processing;

According to the adjustment state of the sub- period of the current cache recorded and the sub- period cached before, for caching before The sub- period sampled point carry out voice data volume regulation processing;

The corresponding voice data volume of the sampled point of the sub- period cached is sent to playback equipment;

Judge whether switching channels, if it is not, then returning described the step of determine the sub- period to be played;If so, then returning to institute The step of stating the sampled point for receiving the corresponding voice data of current channel.

2. according to the method described in claim 1, it is characterised in that described according to the corresponding voice data sound of each sampled point Amount and the sampled point number of the sub- period, voice data volume is carried out for the sampled point of the sub- period to be played Regulation include the step of handle:

According to the corresponding voice data volume of each sampled point and the sampled point number of the sub- period, calculate described in wait to broadcast The volume average of the father's period belonging to the sub- period put;Wherein, father's period includes at least one sub- period;

Compare the volume average and default volume a reference value of father's period;Wherein, the volume a reference value includes maximum Volume a reference value and minimal volume a reference value;

If the volume average of father's period is more than the max volume a reference value or less than the minimal volume a reference value, Adjust the corresponding voice data volume of sampled point of the sub- period to be played;

Otherwise, the corresponding voice data volume of sampled point of the sub- period to be played is not adjusted.

3. method according to claim 2, it is characterised in that described according to the corresponding voice data sound of each sampled point Amount and the sampled point number of the sub- period, calculate the volume average of father's period belonging to the sub- period to be played The step of include:

According to the sequencing of reception, after the sampled point of sampled point number of the sub- period is received every time, institute is calculated The aggregate-value of the corresponding voice data volume of sampled point is stated, the aggregate-value of a sub- period is used as;

Since the sub- period to be played, father's period is can make up in the sub- period for having calculated that aggregate-value When, the average value of the aggregate-value of all sub- periods in the father period is calculated, by the average value divided by the sub- time Section sampled point number obtained by business as father's period belonging to the sub- period to be played volume average.

4. method according to claim 2, it is characterised in that the sampled point of the regulation sub- period to be played The step of corresponding voice data volume, includes:

If the volume average in father's period is more than the max volume a reference value, the sub- time to be played is turned down The corresponding voice data volume of sampled point of section;

If the volume average in father's period is less than the minimal volume a reference value, the sub- time to be played is heightened The corresponding voice data volume of sampled point of section;

Wherein, the step of sampled point for turning down the sub- period to be played corresponding voice data volume includes:

The business obtained by the volume average divided by the max volume a reference value in father's period is calculated as gain factor;

By the corresponding voice data volume of each sampled point of the sub- period to be played is equal divided by the gain factor, obtain Volume to after turning down;

The step of sampled point for heightening the sub- period to be played corresponding voice data volume, includes:

The business of the minimal volume a reference value divided by the volume average in father's period is calculated as decay factor;

The corresponding voice data volume of each sampled point of the sub- period to be played is multiplied by the decay factor, obtained Volume to after heightening.

5. according to the method described in claim 1, it is characterised in that the sampling for determining the current channel corresponding sub- period The step of point number, includes:

Obtain the corresponding sample frequency of current channel;

The sampled point number sampled and can obtained according to the sample frequency within the sub- period is calculated, by the sampled point Number as the current channel corresponding sub- period sampled point number.

6. according to the method described in claim 1, it is characterised in that the adjustment state includes regulation and do not adjusted;

The sub- period for the current cache that the basis has been recorded and the adjustment state of the sub- period cached before, for before The step of regulation that the sampled point of the sub- period of caching carries out voice data volume is handled includes:

If the adjustment state of the sub- period of current cache is regulation, the adjustment state of the sub- period cached before is uncomfortable Section, then obtain the volume average of the sub- period of caching before respectively;

Compare the volume average and default volume a reference value of the sub- period;Wherein, the volume a reference value includes maximum Volume a reference value and minimal volume a reference value;

If the volume average of some sub- period is more than the max volume a reference value or less than the minimal volume a reference value, Adjust the corresponding voice data volume of sampled point of the sub- period;

Otherwise, the corresponding voice data volume of sampled point of the sub- period is not adjusted;

Wherein, it is described adjust the sub- period sampled point corresponding voice data volume the step of include:

If the volume average of the sub- period is more than the max volume a reference value, the sampled point correspondence of the sub- period is turned down Voice data volume;

If the volume average of the sub- period is less than the minimal volume a reference value, the sampled point correspondence of the sub- period is heightened Voice data volume.

7. a kind of volume adjustment device, it is characterised in that including:

Acquisition module, for receiving the sampled point of the corresponding voice data of current channel, and gathers the corresponding audio of each sampled point Data volume;

First determining module, the sampled point number for determining the current channel corresponding sub- period;

Second determining module, for determining the sub- period to be played;

First processing module, for according to the corresponding voice data volume of each sampled point and the sampled point of the sub- period Number, the regulation processing of voice data volume is carried out for the sampled point of the sub- period to be played;

Cache module, the corresponding voice data sound of sampled point for caching the sub- period to be played after regulation processing Amount;

Second processing module, the regulation for sub- period and the sub- period cached before according to the current cache recorded State, the sampled point of the sub- period for caching before carries out the regulation processing of voice data volume;

Second sending module, sets for the corresponding voice data volume of the sampled point of the sub- period cached to be sent to broadcasting It is standby;

Judge module, for judging whether switching channels, if it is not, then calling second determining module;If so, then calling described Acquisition module.

8. volume adjustment device according to claim 7, it is characterised in that

The adjustment state includes regulation and not adjusted;

The Second processing module includes:

Sub- period calculating sub module, the adjustment state for the sub- period in current cache is regulation, the son cached before The volume average for the sub- period that the adjustment state of period is cached before described in when not adjusting, obtaining respectively;

Sub- period comparison sub-module, volume average and default volume a reference value for comparing the sub- period;Wherein, The volume a reference value includes max volume a reference value and minimal volume a reference value;

The sub- period handles submodule, is more than the max volume a reference value or small for the volume average in some sub- period When the minimal volume a reference value, the corresponding voice data volume of sampled point of the sub- period is adjusted;Otherwise, this is not adjusted The corresponding voice data volume of sampled point of sub- period.

9. a kind of set top box, it is characterised in that including any described volume adjustment device in as above claim 7-8.

CN201410385493.5A 2014-08-06 2014-08-06 A kind of volume adjusting method, device and a kind of set top box Active CN104168431B (en) Priority Applications (1) Application Number Priority Date Filing Date Title CN201410385493.5A CN104168431B (en) 2014-08-06 2014-08-06 A kind of volume adjusting method, device and a kind of set top box Applications Claiming Priority (1) Application Number Priority Date Filing Date Title CN201410385493.5A CN104168431B (en) 2014-08-06 2014-08-06 A kind of volume adjusting method, device and a kind of set top box Publications (2) Family ID=51912039 Family Applications (1) Application Number Title Priority Date Filing Date CN201410385493.5A Active CN104168431B (en) 2014-08-06 2014-08-06 A kind of volume adjusting method, device and a kind of set top box Country Status (1) Families Citing this family (12) * Cited by examiner, † Cited by third party Publication number Priority date Publication date Assignee Title CN104486656A (en) * 2015-01-04 2015-04-01 安徽波维电子科技有限公司 Compensated volume control satellite television set top box and working method thereof CN104602045B (en) * 2015-02-12 2017-11-10 三星电子(中国)研发中心 A kind of sound method of automatic configuration, system and device CN105022297B (en) * 2015-07-09 2017-10-31 广东欧珀移动通信有限公司 A kind of sound box parameter collocation method, mobile terminal CN105049928A (en) * 2015-07-14 2015-11-11 合一网络技术(北京)有限公司 Method and system for switching television channels, and video processing terminal CN105162427B (en) * 2015-08-27 2018-09-04 深圳Tcl数字技术有限公司 Play handling method when Audio conversion and device CN107247574A (en) * 2017-07-17 2017-10-13 中科创达软件股份有限公司 A kind of audio output control method and device CN107967921B (en) * 2017-12-04 2021-09-07 苏州科达科技股份有限公司 Volume adjusting method and device of conference system CN110636329A (en) * 2018-06-22 2019-12-31 视联动力信息技术股份有限公司 Audio data processing method and device CN108966001A (en) * 2018-07-18 2018-12-07 深圳Tcl数字技术有限公司 Television channel volume management-control method, device and storage medium CN109508170A (en) * 2018-12-15 2019-03-22 深圳壹账通智能科技有限公司 Volume setting method, device, computer equipment and storage medium CN112803907B (en) * 2021-03-17 2021-07-16 统信软件技术有限公司 System and method for providing audio playing service CN114338622B (en) * 2021-12-28 2024-10-18 歌尔科技有限公司 Audio transmission method, audio playing method, storage medium and related equipment Citations (3) * Cited by examiner, † Cited by third party Publication number Priority date Publication date Assignee Title CN101282111A (en) * 2008-06-02 2008-10-08 北京海尔集成电路设计有限公司 Method and system for controlling sound volume adjustment CN101442636A (en) * 2007-11-20 2009-05-27 康佳集团股份有限公司 Intelligent regulating method and system for television sound volume CN102724462A (en) * 2012-06-01 2012-10-10 Tcl集团股份有限公司 Volume adjusting method and device Family Cites Families (2) * Cited by examiner, † Cited by third party Publication number Priority date Publication date Assignee Title US6804565B2 (en) * 2001-05-07 2004-10-12 Harman International Industries, Incorporated Data-driven software architecture for digital sound processing and equalization JP2008219647A (en) * 2007-03-06 2008-09-18 Funai Electric Co Ltd Television, and voice output device Patent Citations (3) * Cited by examiner, † Cited by third party Publication number Priority date Publication date Assignee Title CN101442636A (en) * 2007-11-20 2009-05-27 康佳集团股份有限公司 Intelligent regulating method and system for television sound volume CN101282111A (en) * 2008-06-02 2008-10-08 北京海尔集成电路设计有限公司 Method and system for controlling sound volume adjustment CN102724462A (en) * 2012-06-01 2012-10-10 Tcl集团股份有限公司 Volume adjusting method and device Also Published As Similar Documents Publication Publication Date Title CN104168431B (en) 2017-08-25 A kind of volume adjusting method, device and a kind of set top box CN102946520B (en) 2016-12-21 A kind of method automatically controlling frequency channel volume and digital TV terminal CN101341752B (en) 2013-04-24 Reproduction device and method CN109285554B (en) 2023-07-07 Echo cancellation method, server, terminal and system CN106653036B (en) 2018-01-12 Audio mixing code-transferring method based on OTT boxes CN110072137B (en) 2021-06-08 Data transmission method and device for live video CN111225387B (en) 2023-01-31 Mobile network analysis method, system, device and medium based on video playing WO2009148948A3 (en) 2010-05-14 Method and apparatus for improving performance and user experience of a mobile broadcast receiver CN103795950A (en) 2014-05-14 Television audio signal processing device CN101807894A (en) 2010-08-18 Volume correction device, volume correction method, volume correction program and electronic equipment CN101753112A (en) 2010-06-23 Sound volume correcting device, sound volume correcting method, sound volume correcting program, and electronic apparatus CN102025946A (en) 2011-04-20 Volume control method and digital television all-in-one machine utilizing same CN113572898B (en) 2023-07-14 Method and corresponding device for detecting silent abnormality in voice call CN104883619B (en) 2018-02-09 Audio-video frequency content commending system, method and device JPH1084285A (en) 1998-03-31 Attenuating and mixing method for compressed digital audio signal CN106782598A (en) 2017-05-31 Television image and peripheral hardware synchronous sound control method and device CN109218849B (en) 2021-07-02 Live data processing method, device, equipment and storage medium CN105207695B (en) 2018-02-16 system and method for mixing multi-channel signal WO2015131591A1 (en) 2015-09-11 Audio signal output method, device, terminal and system CN108347654A (en) 2018-07-31 Online live broadcast mode switching device and method CN110620986A (en) 2019-12-27 Scheduling method and device of audio processing algorithm, audio processor and storage medium JP4751568B2 (en) 2011-08-17 Customizable radio CN113542792B (en) 2023-04-07 Audio merging method, audio uploading method, device and program product CN205812273U (en) 2016-12-14 The machine shake test fixture of a kind of audio output apparatus and system CN108769798A (en) 2018-11-06 A kind of method of adjustment and system of volume Legal Events Date Code Title Description 2014-11-26 C06 Publication 2014-11-26 PB01 Publication 2014-12-24 C10 Entry into substantive examination 2014-12-24 SE01 Entry into force of request for substantive examination 2017-08-25 GR01 Patent grant 2017-08-25 GR01 Patent grant

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4