CN103297832A - Method and terminal for controlling volume of programs - Google Patents

Method and terminal for controlling volume of programs Download PDF

Info

Publication number
CN103297832A
CN103297832A CN2013101723662A CN201310172366A CN103297832A CN 103297832 A CN103297832 A CN 103297832A CN 2013101723662 A CN2013101723662 A CN 2013101723662A CN 201310172366 A CN201310172366 A CN 201310172366A CN 103297832 A CN103297832 A CN 103297832A
Authority
CN
China
Prior art keywords
volume
data
program
adjusting
unified
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.)
Granted
Application number
CN2013101723662A
Other languages
Chinese (zh)
Other versions
CN103297832B (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.)
Shenzhen Skyworth Digital Technology Co Ltd
Shenzhen Skyworth Software Co Ltd
Original Assignee
Shenzhen Skyworth Digital Technology Co Ltd
Shenzhen Skyworth Software 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.)
Filing date
Publication date
Application filed by Shenzhen Skyworth Digital Technology Co Ltd, Shenzhen Skyworth Software Co Ltd filed Critical Shenzhen Skyworth Digital Technology Co Ltd
Priority to CN201310172366.2A priority Critical patent/CN103297832B/en
Publication of CN103297832A publication Critical patent/CN103297832A/en
Application granted granted Critical
Publication of CN103297832B publication Critical patent/CN103297832B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

An embodiment of the invention provides a method and a terminal for controlling the volume of programs. The method includes judging a current volume adjustment mode when volume adjustment information for a current program is received; adjusting the volume of the current program according to a volume adjustment value in the volume adjustment information in the current volume adjustment mode. The volume adjustment value is carried in the volume adjustment information. The method and the terminal in the embodiment of the invention have the advantages that the complexity of manual operation can be reduced for a user, and the volume adjustment flexibility of a set-top box can be improved.

Description

A kind of method and terminal of controlling program volume
Technical field
The present invention relates to electronic technology field, relate in particular to a kind of method and terminal of controlling program volume.
Background technology
Present carry out the method that volume regulates based on set-top box and be generally, when receiving the volume adjusting command, directly regulate the volume of whole programs according to volume-leveling value, owing to exist some need be by the program of the volume value of augmenting correction in the program that set-top box is play, can make the user when switching program so directly regulate the method for the volume of whole programs, suddenly the big or especially little especially situation of sound occurs, bring bad experience.Prior art has proposed a kind of adjusting pattern of independent adjusting program volume, making the user can be the program modification volume by the mode of single adjusting, when having avoided the volume of the whole programs of direct adjusting, this method brings drawback, also increased simultaneously new problem, this method is owing to can not concentrate the adjusting volume, thereby need carry out volume when switching to new program again and regulate, for user's use has brought inconvenience.
Summary of the invention
The embodiment of the invention can reduce the manually operated complexity of user, strengthens the flexibility that the set-top box volume is regulated.
Concrete, the method for the control program volume that the embodiment of the invention provides, it can comprise:
When receiving the volume adjusting message of current program, judge current volume control mode, described volume is regulated message and is carried volume-leveling value;
The volume-leveling value of regulating in the message according to described volume under current volume adjusting pattern is regulated the volume of program.
Preferable, receive when the volume of current playing program regulated message, judge before the current volume control mode, also comprise:
For the program that gets access to is created corresponding tables of data, comprise in the described tables of data and regulate type identification, unified volume data and single volume data, regulating type identification in the described tables of data is the preset kind sign, described preset kind sign comprises unified sign and the single adjusting sign of regulating, the described unified sign of regulating is used to indicate and currently plays and revise described unified volume data under unified volume control mode, and described single adjusting sign is used to indicate the current described single volume data of playing and revise under single volume control mode.
Preferable, judge that current volume control mode comprises:
Extract the adjusting type identification that comprises in the tables of data of current program;
Inquire about described adjusting type identification corresponding sound effect and regulate pattern, if described adjusting type identification is the unified sign of regulating, think that then current volume adjusting pattern is unified volume control mode; If described adjusting type identification is single adjusting sign, think that then current volume adjusting pattern is single volume control mode.
Preferable, under unified volume control mode, regulate volume-leveling value in the message according to described volume and the volume of program is regulated comprise:
Obtain the program data table of all programs;
Regulating volume-leveling value in the message according to described volume revises the unified volume data in all program data tables and preserves.
Preferable, under single volume control mode, regulate volume-leveling value in the message according to described volume and the volume of program is regulated comprise:
Obtain the program data table of current program;
Regulating the volume-leveling value that carries in the message according to described volume revises the single volume data in the current program data table and preserves.
Accordingly, the embodiment of the invention also provides the terminal set top box that is used for implementing control program volume method, and it can comprise:
Receiver module, the volume that is used for the reception current playing program is regulated message, generates to judge that prompting message also is sent to judging unit, and described volume is regulated message and is carried volume-leveling value;
Judge module after being used for receiving the described judgement prompting message of described receiving element transmission, is judged current volume control mode;
Adjustment module is used for regulating pattern based on current volume, and the volume-leveling value that the described volume that receives according to described receiver module is regulated in the message is regulated the volume of program.
Preferable, the terminal set top box of the embodiment of the invention also comprises:
Creation module, the program that is used to terminal set top box to get access to is created corresponding tables of data, comprise the adjusting type identification in the described tables of data, unified volume data and single volume data, regulating type identification in the described tables of data is the preset kind sign, described preset kind sign comprises unified sign and the single adjusting sign of regulating, the described unified sign of regulating is used to indicate and currently plays and revise described unified volume data under unified volume control mode, and described single adjusting sign is used to indicate the current described single volume data of playing and revise under single volume control mode.
Preferable, the judge module of the terminal set top box of the embodiment of the invention comprises:
Extraction unit after being used for receiving the described judgement prompting message of described receiving element transmission, extracts the adjusting type identification that comprises in the tables of data of current program;
Query unit is used for the described adjusting type identification corresponding sound effect adjusting pattern that the described extraction unit of inquiry extracts; If described adjusting type identification identifies for unified the adjusting, then generate the unified extremely described adjustment module of information and sending of regulating under the unified volume control mode; If described adjusting type identification is single adjusting sign, then generate single adjusting information and sending under the single volume control mode to described adjustment module.
Preferable, the adjustment module of the terminal set top box of the embodiment of the invention comprises:
First acquiring unit after the described unified adjusting message for the query unit transmission that receives described judge module, obtains the program data table of all programs;
First revises the unit, is used for regulating volume-leveling value that message carries according to the described volume that described receiver module receives and revises unified volume data in all program data tables;
First preserves the unit, is used for revising the unified volume data of revising the unit with described first and is saved to described all program data tables.
Preferable, the adjustment module of the terminal set top box of the embodiment of the invention also comprises:
Second acquisition unit after the described single adjusting message for the query unit transmission that receives described judge module, obtains the program data table of current program;
Second revises the unit, the single volume data in the volume-leveling value modification current program data table that is used for carrying according to the described volume adjusting message that described receiver module receives;
Second preserves the unit, is used for revising the single volume data of revising the unit with described second and is saved to described current program data table.
Method and the terminal of the control program volume that the embodiment of the invention provides have two kinds of volume control modes that can switch use flexibly, can reduce the manually operated complexity of user, strengthen the flexibility that the set-top box volume is regulated.
Description of drawings
In order to be illustrated more clearly in the technical scheme of the embodiment of the invention, to do simple the introduction to the accompanying drawing of required use among the embodiment below, apparently, accompanying drawing in describing below is some embodiment of the embodiment of the invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is an embodiment schematic flow sheet of the method for control program volume of the present invention;
Fig. 2 is that an example structure of terminal set top box of the present invention is formed schematic diagram;
Fig. 3 is that another example structure of terminal set top box of the present invention is formed schematic diagram;
Fig. 4 is an embodiment schematic flow sheet of terminal set top box of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
The embodiment of the invention provides a kind of method of controlling program volume, and it can comprise: when receiving the volume adjusting message of current program, judge current volume control mode, described volume is regulated message and is carried volume-leveling value; The volume-leveling value of regulating in the message according to described volume under current volume adjusting pattern is regulated the volume of program.The method of the control program volume that the embodiment of the invention provides can reduce the manually operated complexity of user, strengthens the flexibility that the set-top box volume is regulated.
Below in conjunction with the drawings and the specific embodiments, the technical scheme of the embodiment of the invention is elaborated.
As shown in Figure 1, an embodiment of the method for control program volume provided by the invention can may further comprise the steps:
Step S110 when receiving the volume adjusting message of current program, judges current volume control mode.Wherein, the main body of this step enforcement is terminal set top box.
The terminal set top box of the embodiment of the invention has two kinds of volumes under the adjusting pattern to be regulated and the way of output, and in order to realize such volume adjusting method, before implementing this step, the embodiment of the invention also should be the program that gets access to and creates corresponding tables of data.Wherein, the tables of data that terminal set top box is set up has one-to-one relationship, receives N program, just sets up N the tables of data corresponding with program ID.A kind of data list structure that can provide with reference to the embodiment of the invention:
Terminal set top box can be set up such tables of data 1 when receiving a program:
Figure BDA00003171916900041
Comprised program ID and relevant programme information in this tables of data, the way that the embodiment of the invention is dealt with problems is, and is in the audio frequency regulation and control tables of data of having created on this basis under two kinds of patterns 2, as follows:
Figure BDA00003171916900052
Wherein, in these tables of data 2 structures in the ID of program_id and the tables of data 1 ID of program_id be corresponding, so can directly find voice data table in the tables of data corresponding with this program according to ID.In the tables of data 2, the program category of volumn_flag representative, just regulate type identification, it 0 o'clock was single adjusting sign that volumn_flag is set to, and was used to indicate currently to play and revise single volume data volumn_seperate under unified volume control mode; Volumn_flag is set at 1 o'clock for unified the adjusting identifies, and is used to indicate the current unified volume data volumn_unit that plays under single volume control mode and revise; Tables of data 2 can directly be preset the type of this program in the process of creating, for example, preset value is set to 0 when generating tables of data 2, makes the program acquiescence play and revise single volume data volumn_seperate under single volume control mode.
The embodiment of the invention is that the single volume control mode of program settings can support the user to be current program modification volume value separately, when detecting the order of user's modification volume value, the embodiment of the invention is carried out audio frequency output based on single volume data after can revising single volume data in the tables of data of current program; The embodiment of the invention is that the unified volume control mode of program settings can support that the user is all program modification volume values in the terminal set top box, when detecting the order of user's modification volume value, the embodiment of the invention is carried out audio frequency output based on unified volume data after can revising unified volume data in the tables of data of all programs.
The embodiment of the invention is that the program category sign in the program data table created of program can be switched, and unified when regulating sign when switching to from single adjusting sign, the adjusting type identification in the tables of data of all programs all will change to the unified sign of regulating; After the program category in the program data table switches to single adjusting sign from unified adjusting sign, the adjusting type identification in the tables of data of all programs all will change to single adjusting sign.
In each tables of data of the embodiment of the invention, single volume data all is independent of each other with modification and the storage of unified volume data, in the use of reality, if current adjusting type identification is the unified sign of regulating, then terminal set top box will carry out audio frequency output based on the unified volume data in the tables of data; If current adjusting type identification is single adjusting sign, then terminal set top box will carry out audio frequency output based on the single volume data in the tables of data of current program.
After having set up above-mentioned tables of data, terminal set top box can be user's better service by two kinds of volume control modes just, when the volume that receives current program is regulated message, at first judges current volume control mode.In concrete the enforcement, judge that the method for current volume control mode is: extract the adjusting type identification that comprises in the tables of data of current program; Inquiry is regulated the type identification corresponding sound effect and is regulated pattern, is the unified sign of regulating if regulate type identification, thinks that then current volume adjusting pattern is unified volume control mode; If the adjusting type identification is single adjusting sign, think that then current volume adjusting pattern is single volume control mode.For example, search and obtain the tables of data 1 and tables of data 2 of this program by program ID after, extract the adjusting type identification volumn_flag value in the tables of data 2, judge that this value is 0 or 1, if judging current adjusting type identification is 0, think that then current volume adjusting pattern is single volume control mode; If judging current adjusting type identification is 1, think that then current volume adjusting pattern is unified volume control mode.
Step S111, the volume-leveling value of regulating in the message according to volume under current volume adjusting pattern is regulated the volume of program.Wherein, among the step S110 of the embodiment of the invention, the volume that terminal set top box receives is regulated in the message and is carried volume-leveling value, and, regulate data owing to have two kinds of volumes in the mentioned program data table of abovementioned steps, will regulate respectively according to aforesaid two kinds of adjusting patterns so this step process volume is regulated the method for message.
In concrete the enforcement, when step S110 judges current volume control mode for unification adjusting pattern, this step is regulated and can be comprised the volume of program according to the volume-leveling value that described volume is regulated in the message: the program data table that obtains all programs under unified volume control mode; Regulating volume-leveling value in the message according to volume revises the unified volume data in all program data tables and preserves.For example, set-top box is when receiving that volume is regulated message, the adjusting type identification volumn_flag value that step S110 judges in the tables of data of current program C is 1, after thinking that current volume adjusting pattern is for unified volume control mode, this step will the response volume be regulated message under unified volume control mode, at first extract all program A, B, C, tables of data in unified volume data volumn_unit, this moment, volumn_unit was 5, to regulate volume-leveling value (V+1) in the message according to volume again and revise unified volume data in all program data tables, and preserve, this moment program A, B, the unified volume data volumn_unit of C is 6, accordingly, after revising unified volume data, set-top box also will be carried out audio frequency output by the unified volume data according to current program under unified volume control mode, as, amended unified volume data volumn_unit is 6 in the tables of data of program C, this program comprises also that to augment volume volumn_comesate value be at-3 o'clock in the tables of data, set-top box is 3 according to the volume value that the unified volume data of current program carries out audio frequency output under unified volume control mode, and this volume value is for unified volume value and augment the volume value sum.
In concrete the enforcement, as step S110 when to judge current volume control mode be single adjusting pattern, this step is regulated volume-leveling value in the message according to volume and the volume of program is regulated is comprised: the program data table that obtains current program under single volume control mode; Regulating the volume-leveling value that carries in the message according to volume revises the single volume data in the current program data table and preserves.For example, set-top box is when receiving that volume is regulated message, the adjusting type identification volumn_flag value that step S110 judges in the tables of data of current program A is 0, after thinking that current volume adjusting pattern is single volume control mode, this step will respond volume and regulate message under single volume control mode, at first extract the single volume data volumn_seperate in the tables of data of all program A, this moment, volumn_seperate was 4, to regulate volume-leveling value (V+1) in the message according to volume again and revise unified volume data in all program data tables, and preserve, this moment, the single volume data volumn_seperate of program A was 5, accordingly, after revising single volume data, set-top box also will be carried out audio frequency output by the single volume data according to current program under single volume control mode, as, amended single volume data volumn_seperate is 5 in the tables of data of program A, this program comprises also that to augment volume volumn_comesate value be at+2 o'clock in the tables of data, set-top box is 7 according to the volume value that the single volume data of current program carries out audio frequency output under single volume control mode, and this volume value is single volume value and augment the volume value sum.
The embodiment of the invention is carried out above-mentioned steps and can be realized by a kind of application program that is arranged at terminal set top box inside; The method that the terminal set top box volume of reception is regulated sign change message can realize by some hardware units of terminal set top box, as button, infrared remote receiver etc.; Two kinds of volume control modes that the method for the embodiment of the invention provides be owing to can switch use, and do not exert an influence mutually, so have certain flexibility; Based on the difference of each volume control mode, the user can regulate the volume of program according to the user demand of self, and the method for the embodiment of the invention has certain practicality.
The embodiment of the invention is come the volume of the program that the controller top box receives by two kinds of volume control modes that can switch use flexibly, has reduced the manually operated complexity of user, has strengthened the flexibility that the set-top box volume is regulated.
Accordingly, the embodiment of the invention provides a kind of terminal set top box to be used for the control program volume, and it can comprise: receiver module, and the volume that is used for the reception current playing program is regulated message, generate and judge prompting message and be sent to judging unit, described volume is regulated message and is carried volume-leveling value; Judge module after being used for receiving the described judgement prompting message of described receiving element transmission, is judged current volume control mode; Adjustment module is used for regulating pattern based on current volume, and the volume-leveling value that the described volume that receives according to described receiver module is regulated in the message is regulated the volume of program.The terminal set top box that the embodiment of the invention provides has two kinds of volume control modes that can switch use flexibly, can reduce the manually operated complexity of user.
Below in conjunction with the drawings and the specific embodiments, the technical scheme of installing in the embodiment of the invention is elaborated.
Fig. 2 is that the structure of the terminal set top box of the embodiment of the invention is formed schematic diagram, and the device of this embodiment can be used for implementing way shown in Figure 1.Concrete, the device of this embodiment comprises: receiver module 21, judge module 22, adjustment module 23 and creation module 24, wherein, judge module 22 can further comprise extraction unit 221 and query unit 222, adjustment module 23 can comprise further that unit 233 is preserved in first acquiring unit 231, the first modification unit 232, first, second acquisition unit 234, second is revised unit 235 and second and preserved unit 236, wherein:
Receiver module 21, the volume that is used for the reception current playing program is regulated message, generates to judge that prompting message also is sent to judging unit 22.Wherein, the volume that receiver module 21 receives is regulated in the message and is carried volume-leveling value, and this volume-leveling value is used for revising the volume value of program data table.
Judge module 22 after being used for receiving the judgement prompting message of receiving element 21 transmissions, is judged current volume control mode.Judge module 22 judges that current volume control mode is based on mainly that information in the program data table judges, the mentioned program data table of the embodiment of the invention is that the creation module 24 of the terminal set top box of the embodiment of the invention is pre-created.
Judge module 22 can further comprise extraction unit 221 and query unit 222.
Extraction unit 221 after being used for receiving the judgement prompting message of receiving element 21 transmissions, extracts the adjusting type identification that comprises in the tables of data of current program.The adjusting type identification that includes program volume in the data list structure that the creation module 24 of the terminal set top box of the embodiment of the invention is created, regulate type identification and can comprise unified sign and the single adjusting sign of regulating, single adjusting sign is used to indicate currently plays and revises single volume data under unified volume control mode, the unified sign of regulating is used to indicate the current unified volume data of playing and revise under single volume control mode.Embodiment can not given unnecessary details at this with reference to abovementioned steps S110.
Query unit 222 is used for the adjusting type identification corresponding sound effect adjusting pattern that inquiry extraction unit 221 extracts; Regulate sign if regulate type identification for unification, the unification that then generates under the unified volume control mode is regulated information and sending to adjustment module 23; Be single adjusting sign if regulate type identification, then generate single adjusting information and sending under the single volume control mode to adjustment module 23.Wherein, the unified message of regulating under the unified volume control mode is used for prompting adjustment module 23 under unified adjusting pattern, the volume-leveling value that the volume that receives according to receiver module 21 is regulated in the message is regulated the volume of program, single adjusting message under the single volume control mode is used for prompting adjustment module 23 under single adjusting pattern, and the volume-leveling value that the volume that receives according to receiver module 21 is regulated in the message is regulated the volume of program.Concrete inquiry and prompting message generation method can not given unnecessary details at this with reference to abovementioned steps S110.
Adjustment module 23 is used for regulating pattern based on current volume, and the volume-leveling value that the volume that receives according to receiver module 21 is regulated in the message is regulated the volume of program.Because the terminal set top box of the embodiment of the invention has two kinds of control methods under the pattern, so will carrying out corresponding volume according to the adjusting mode annunciations message that receives, adjustment module 23 regulates.
After message is regulated in the unification that the query unit 222 of judge module 22 sends, adjustment module 23 will be preserved unit 233 by first acquiring unit 231, the first modification unit 232 and first carry out the volume adjusting under unified adjusting pattern, wherein:
First acquiring unit 231 after the unified adjusting message for query unit 222 transmissions that receive judge module 22, obtains the program data table of all programs.Embodiment can not given unnecessary details at this with reference to the mentioned content of abovementioned steps S111.
First revises unit 232, and the volume-leveling value that the volume adjusting message that is used for receiving according to receiver module 21 is carried is revised the unified volume data in all program data tables.First what revise that unit 232 revises is unified volume data in all program data list structures of setting up of terminal set top box.Embodiment can not given unnecessary details at this with reference to the mentioned content of abovementioned steps S111.
First preserves unit 233, is used for revising the unified volume data of revising unit 232 with first and is saved to all program data tables.The first preservation unit 233 is that the first modification content of revising unit 232 is saved in the corresponding program data list structure.Embodiment can not given unnecessary details at this with reference to the mentioned content of abovementioned steps S111.
After the single adjusting message that the query unit 222 of judge module 22 sends, adjustment module 23 will be preserved unit 236 by second acquisition unit 234, the second modification unit 235 and second and carry out the volume adjusting under single adjusting pattern, wherein:
Second acquisition unit 234 after the single adjusting message for query unit 222 transmissions that receive judge module 22, obtains the program data table of current program.Embodiment can not given unnecessary details at this with reference to the mentioned content of abovementioned steps S111.
Second revises unit 235, and the volume-leveling value that the volume adjusting message that is used for receiving according to receiver module 21 is carried is revised the single volume data in the current program data table.Second what revise that unit 235 revises is the single volume data in the current program data list structure in the listing set up of terminal set top box.Embodiment can not given unnecessary details at this with reference to the mentioned content of abovementioned steps S111.
Second preserves unit 236, is used for revising the single volume data of revising unit 235 with second and is saved to the current program data table.The second preservation unit 236 is that the second modification content of revising unit 235 is saved in the current program data list structure.Embodiment can not given unnecessary details at this with reference to the mentioned content of abovementioned steps S111.
In addition, enforcement for above-mentioned module action, the terminal set top box of the embodiment of the invention also should comprise the creation module 24 that is used to the program that gets access to create corresponding tables of data, comprise in the tables of data that creation module 24 is created and regulate type identification, unified volume data and single volume data, regulate type identification in the tables of data and be used for mark, also be used for the judgment task of judge module 22; When initial creation, adjusting type identification in the tables of data is the preset kind sign, the preset kind sign comprises unified sign and the single adjusting sign of regulating, unified adjusting sign is used to indicate current adjustment module 23 should play and revise the unification volume data under unified volume control mode, single adjusting sign is used to indicate current adjustment module 23 and should plays and revise single volume data under single volume control mode.
Can be in the lump with reference to an embodiment flow chart of the terminal set top box of the embodiment of the invention shown in Figure 4, this figure has showed that the terminal set top box of the embodiment of the invention creates the program data table, revises the process of output audio after the data in the program data list structure according to user's demand, and the flow process of this embodiment can may further comprise the steps:
Step S410, set-top box has searched N program.
Step S411 is respectively N program and creates corresponding Program_info and Volumn_info.Wherein, Program_info represents the data table stores structure of this program, and Volumn_info is the tables of data volume storage organization of this program.This step is carried out by creation module 24, and embodiment can not given unnecessary details at this with reference to the mentioned method of step S110.
Step S412, the user changes volume control mode.Content as the aforementioned, the terminal set top box of the embodiment of the invention can support the user to the switching of volume control mode.
Step S413, the volume of program N1 is regulated.Be the volume adjusting message that receiver module 21 has received the user, this step is carried out by receiver module 21, and embodiment can not given unnecessary details at this with reference to the mentioned method of step S110.
Step S414, whether current for unifying volume control mode.Wherein, current for unified volume control mode if this step is judged, then continue execution in step S415; If this step is judged current not for unified volume control mode, then continue execution in step S418.This step is carried out by judge module 22, and embodiment can not given unnecessary details at this with reference to the mentioned method of step S110.
Step S415, the volumn_flag value of upgrading N Volumn_info is 1.
Step S416 revises and upgrades the volumn_unit value of all Volumn_info according to the volume-leveling value of program N1.This step is carried out by adjustment module 23, and embodiment can not given unnecessary details at this with reference to the mentioned method of step S111.
Step S417, output volume are the volumn_unit+volumn_comensate value.Hence one can see that, has corresponding volume value of augmenting among the program N1, and then this step should be carried out audio frequency output in conjunction with amended unified volume data and the volume value of augmenting.
Step S418, the volumn_flag value of upgrading N Volumn_info is 0.
Step S419 revises and upgrades the volumn_seperate value of the Volumn_info of program N1 according to the volume-leveling value of program N1.This step is carried out by adjustment module 23, and embodiment can not given unnecessary details at this with reference to the mentioned method of step S111.
Step S4110, output volume are the volumn_seperate+volumn_comensate value.Hence one can see that, has corresponding volume value of augmenting among the program N1, and then this step should be carried out audio frequency output in conjunction with amended single volume data and the volume value of augmenting.
The tables of data that the creation module 24 of the embodiment of the invention is created for program can make the terminal set top box of the embodiment of the invention carry out the adjusting work of volume under two kinds of patterns: unified volume control mode can support that the user is all program modification volume values in the terminal set top box, when receiver module 21 receives the order of user's modification volume value, the judge module 22 of the embodiment of the invention is judged the current unified volume control mode that is, behind the unified volume data in the tables of data of adjustment module 23 all programs of change, the terminal set top box of the embodiment of the invention will be based on unified volume data output audio; Single volume control mode can support the user to be current program modification volume value separately, when receiver module 21 receives the order of user's modification volume value, the judge module 22 of the embodiment of the invention is judged the current single volume control mode that is, behind the single volume data in the tables of data of the current program of adjustment module 23 changes, the terminal set top box of the embodiment of the invention will be based on unified volume data output audio.
The creation module 24 of the terminal set top box of the embodiment of the invention can be switched for the sign of the program category in the program data table of program establishment, when switching to unification adjusting sign from single adjusting sign, adjusting type identification in the tables of data of all programs all will change to the unified sign of regulating, so under this pattern, when judge module 22 is judged, all can judge current adjusting type identification by the tables of data of arbitrary program and be the unified sign of regulating; After the program category in the program data table switches to single adjusting sign from unified adjusting sign, adjusting type identification in the tables of data of all programs all will change to single adjusting sign, so under this pattern, when judge module 22 was judged, all can judge current adjusting type identification by the tables of data of arbitrary program was single adjusting sign.
In the creation module 24 of the terminal set top box of the embodiment of the invention each tables of data for the program establishment, single volume data all is independent of each other with modification and the storage of unified volume data, in the use of reality, if current adjusting type identification is the unified sign of regulating, then terminal set top box will carry out audio frequency output based on the unified volume data in the tables of data; If current adjusting type identification is single adjusting sign, then terminal set top box will carry out audio frequency output based on the single volume data in the tables of data of current program.In addition, the mentioned terminal set top box of the embodiment of the invention carries out audio frequency output based on the unified volume data in the tables of data and mainly refers to, when also exist in the tables of data current program augment volume value the time, also need to augment volume value and be combined the back with amended unified volume data and export; The mentioned terminal set top box of the embodiment of the invention carries out audio frequency output based on the single volume data in the tables of data and mainly refers to, when also exist in the tables of data current program augment volume value the time, also need to augment volume value and be combined the back with amended single volume data and export.
The work of each module of the terminal set top box of the embodiment of the invention can directly be managed by a kind of application program that is arranged at terminal set top box inside; The method that the terminal set top box volume of reception of the embodiment of the invention is regulated sign change message can realize by some hardware units of terminal set top box, as button, infrared remote receiver etc.; Two kinds of volume control modes that the terminal set top box of the embodiment of the invention provides be owing to can switch use, and do not exert an influence mutually, so have certain flexibility; Based on the difference of each volume control mode, the volume that the user can regulate program by terminal set top box according to the user demand of self, the terminal set top box of the embodiment of the invention has certain practicality.
The terminal set top box that the embodiment of the invention provides comes the volume of the program of controller top box reception by two kinds of volume control modes that can switch use flexibly, reduced the manually operated complexity of user, strengthen flexibility and practicality that the set-top box volume is regulated, improved user's experience.
Module described in the embodiment of the invention or unit, can pass through universal integrated circuit, CPU(Central Processing Unit for example, central processing unit), or by ASIC(Application Specific Integrated Circuit, application-specific integrated circuit (ASIC)) realize.
One of ordinary skill in the art will appreciate that all or part of flow process that realizes in above-described embodiment method, be to instruct relevant hardware to finish by computer program, described program can be stored in the computer read/write memory medium, this program can comprise the flow process as the embodiment of above-mentioned each side method when carrying out.Wherein, described storage medium can be magnetic disc, CD, read-only storage memory body (Read-Only Memory, ROM) or at random store memory body (Random Access Memory, RAM) etc.
Above disclosed only is preferred embodiment of the present invention, certainly can not limit the present invention's interest field with this, one of ordinary skill in the art will appreciate that all or part of flow process that realizes above-described embodiment, and according to the equivalent variations that claim of the present invention is done, still belong to the scope that invention is contained.

Claims (10)

1. a method of controlling program volume is characterized in that, comprising:
When receiving the volume adjusting message of current program, judge current volume control mode, described volume is regulated message and is carried volume-leveling value;
The volume-leveling value of regulating in the message according to described volume under current volume adjusting pattern is regulated the volume of program.
2. the method for claim 1 is characterized in that, receives when the volume of current playing program regulated message, judges before the current volume control mode, also comprises:
For the program that gets access to is created corresponding tables of data, comprise in the described tables of data and regulate type identification, unified volume data and single volume data, regulating type identification in the described tables of data is the preset kind sign, described preset kind sign comprises unified sign and the single adjusting sign of regulating, the described unified sign of regulating is used to indicate and currently plays and revise described unified volume data under unified volume control mode, and described single adjusting sign is used to indicate the current described single volume data of playing and revise under single volume control mode.
3. method as claimed in claim 2 is characterized in that, judges that current volume control mode comprises:
Extract the adjusting type identification that comprises in the tables of data of current program;
Inquire about described adjusting type identification corresponding sound effect and regulate pattern, if described adjusting type identification is the unified sign of regulating, think that then current volume adjusting pattern is unified volume control mode; If described adjusting type identification is single adjusting sign, think that then current volume adjusting pattern is single volume control mode.
4. method as claimed in claim 3 is characterized in that, is unifying under the volume control mode, according to the volume-leveling value in the described volume adjusting message volume of program is regulated to comprise:
Obtain the program data table of all programs;
Regulating volume-leveling value in the message according to described volume revises the unified volume data in all program data tables and preserves.
5. method as claimed in claim 3 is characterized in that, under single volume control mode, regulates volume-leveling value in the message according to described volume and the volume of program is regulated comprises:
Obtain the program data table of current program;
Regulating the volume-leveling value that carries in the message according to described volume revises the single volume data in the current program data table and preserves.
6. a terminal set top box is characterized in that, comprising:
Receiver module, the volume that is used for the reception current playing program is regulated message, generates to judge that prompting message also is sent to judging unit, and described volume is regulated message and is carried volume-leveling value;
Judge module after being used for receiving the described judgement prompting message of described receiving element transmission, is judged current volume control mode;
Adjustment module is used for regulating pattern based on current volume, and the volume-leveling value that the described volume that receives according to described receiver module is regulated in the message is regulated the volume of program.
7. terminal set top box as claimed in claim 6 is characterized in that, also comprises:
Creation module, the program that is used to terminal set top box to get access to is created corresponding tables of data, comprise the adjusting type identification in the described tables of data, unified volume data and single volume data, regulating type identification in the described tables of data is the preset kind sign, described preset kind sign comprises unified sign and the single adjusting sign of regulating, the described unified sign of regulating is used to indicate and currently plays and revise described unified volume data under unified volume control mode, and described single adjusting sign is used to indicate the current described single volume data of playing and revise under single volume control mode.
8. terminal set top box as claimed in claim 7 is characterized in that, described judge module comprises:
Extraction unit after being used for receiving the described judgement prompting message of described receiving element transmission, extracts the adjusting type identification that comprises in the tables of data of current program;
Query unit is used for the described adjusting type identification corresponding sound effect adjusting pattern that the described extraction unit of inquiry extracts; If described adjusting type identification identifies for unified the adjusting, then generate the unified extremely described adjustment module of information and sending of regulating under the unified volume control mode; If described adjusting type identification is single adjusting sign, then generate single adjusting information and sending under the single volume control mode to described adjustment module.
9. terminal set top box as claimed in claim 8 is characterized in that, described adjustment module comprises:
First acquiring unit after the described unified adjusting message for the query unit transmission that receives described judge module, obtains the program data table of all programs;
First revises the unit, is used for regulating volume-leveling value that message carries according to the described volume that described receiver module receives and revises unified volume data in all program data tables;
First preserves the unit, is used for revising the unified volume data of revising the unit with described first and is saved to described all program data tables.
10. terminal set top box as claimed in claim 8 is characterized in that, described adjustment module also comprises:
Second acquisition unit after the described single adjusting message for the query unit transmission that receives described judge module, obtains the program data table of current program;
Second revises the unit, the single volume data in the volume-leveling value modification current program data table that is used for carrying according to the described volume adjusting message that described receiver module receives;
Second preserves the unit, is used for revising the single volume data of revising the unit with described second and is saved to described current program data table.
CN201310172366.2A 2013-05-10 2013-05-10 A kind of method and terminal of control program volume Active CN103297832B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310172366.2A CN103297832B (en) 2013-05-10 2013-05-10 A kind of method and terminal of control program volume

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310172366.2A CN103297832B (en) 2013-05-10 2013-05-10 A kind of method and terminal of control program volume

Publications (2)

Publication Number Publication Date
CN103297832A true CN103297832A (en) 2013-09-11
CN103297832B CN103297832B (en) 2017-03-29

Family

ID=49098049

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310172366.2A Active CN103297832B (en) 2013-05-10 2013-05-10 A kind of method and terminal of control program volume

Country Status (1)

Country Link
CN (1) CN103297832B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103929663A (en) * 2014-03-24 2014-07-16 深圳市创荣发电子有限公司 Infrared penetrating method of multi-functional remote controller
CN106183973A (en) * 2016-07-18 2016-12-07 成都安程通科技有限公司 A kind of automobile sound volume control device
CN108965999A (en) * 2017-05-18 2018-12-07 深圳市中兴微电子技术有限公司 A kind of method and device that volume intelligence is adjusted
CN109361890A (en) * 2018-12-12 2019-02-19 达州市志向科技外包服务有限公司 A kind of video call system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050011232A (en) * 2003-07-22 2005-01-29 삼성전자주식회사 Sound output apparatus capable of automatically controlling volume for each channel
CN1744689A (en) * 2005-09-19 2006-03-08 海信集团有限公司 Volume control method for channel volume control and general volume control synthesis
CN101202860A (en) * 2006-12-13 2008-06-18 青岛海信电器股份有限公司 Sound volume regulating method
CN102752659A (en) * 2012-06-14 2012-10-24 四川长虹电器股份有限公司 Method for adjusting sound volume of set top box

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050011232A (en) * 2003-07-22 2005-01-29 삼성전자주식회사 Sound output apparatus capable of automatically controlling volume for each channel
CN1744689A (en) * 2005-09-19 2006-03-08 海信集团有限公司 Volume control method for channel volume control and general volume control synthesis
CN101202860A (en) * 2006-12-13 2008-06-18 青岛海信电器股份有限公司 Sound volume regulating method
CN102752659A (en) * 2012-06-14 2012-10-24 四川长虹电器股份有限公司 Method for adjusting sound volume of set top box

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103929663A (en) * 2014-03-24 2014-07-16 深圳市创荣发电子有限公司 Infrared penetrating method of multi-functional remote controller
CN103929663B (en) * 2014-03-24 2017-12-15 深圳市创荣发电子有限公司 A kind of infrared penetrating method of multifunctional remote controlller
CN106183973A (en) * 2016-07-18 2016-12-07 成都安程通科技有限公司 A kind of automobile sound volume control device
CN108965999A (en) * 2017-05-18 2018-12-07 深圳市中兴微电子技术有限公司 A kind of method and device that volume intelligence is adjusted
CN109361890A (en) * 2018-12-12 2019-02-19 达州市志向科技外包服务有限公司 A kind of video call system

Also Published As

Publication number Publication date
CN103297832B (en) 2017-03-29

Similar Documents

Publication Publication Date Title
KR101792183B1 (en) Ear-Phone System For Portable Device
CN103297832A (en) Method and terminal for controlling volume of programs
EP4050599A1 (en) Electronic device, server and control method thereof
CN103680551A (en) Player and method thereof for simultaneously playing multiple videos
CN105554537A (en) Control method and control device
CN105682011A (en) Playback device Bluetooth module control method and device, and audio and video playing system
CN103686422A (en) Adaptation method and device for picture quality parameters of different signal sources
CN105438098A (en) Vehicle control method and device
CN103702050A (en) Television and volume adjusting method thereof
CN1964452A (en) A method for TV set identifying automatically extended function module
CN110332666B (en) Method for controlling set temperature of air conditioner, air conditioner and computer readable storage medium
CN103458314A (en) Method and device for setting display parameter
CN104219583A (en) Method and system for operating user interface of television through mobile terminal
US20130222120A1 (en) Remote control system having an updatable wireless tag
CN109785844A (en) Method and device for smart television interactive operation
CN111984759A (en) Question and answer processing method and device, electronic equipment and storage medium
CN104780414B (en) The multimedia terminal of energy two operating systems of seamless switching and switching method
CN107071655B (en) Method and device for configuring stereo output, audio playing equipment and mobile terminal
EP3598372A1 (en) Media content playing method, server and display apparatus
CN105357567A (en) Multi-channel playing system
CN106060666A (en) Image display device and method for driving image display device
CN105679342B (en) A kind of control method and device of playback equipment
CN106488030A (en) Method, router and the mobile terminal of mobile terminal is found using router
CN111740887B (en) Method and device for distributing unfinished tasks of electronic terminal
CN106233247B (en) Audio devices, audio system and volume value control method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 518057 Guangdong city of Shenzhen province Nanshan District Gao Xin Road Building A14, SKYWORTH

Applicant after: Shenzhen Skyworth Digital Technology Co., Ltd.

Applicant after: Shenzhen Skyworth Software Co., Ltd.

Address before: 518000 Guangdong city of Shenzhen province Nanshan District Gao Xin Road Building A14, SKYWORTH

Applicant before: Shenzhen Skyworth Digital Technology Co., Ltd.

Applicant before: Shenzhen Skyworth Software Co., Ltd.

COR Change of bibliographic data
GR01 Patent grant
GR01 Patent grant