CN107085497A - Method for controlling volume and device - Google Patents

Method for controlling volume and device Download PDF

Info

Publication number
CN107085497A
CN107085497A CN201610086702.5A CN201610086702A CN107085497A CN 107085497 A CN107085497 A CN 107085497A CN 201610086702 A CN201610086702 A CN 201610086702A CN 107085497 A CN107085497 A CN 107085497A
Authority
CN
China
Prior art keywords
volume
pressure
audio
relative value
adjusted
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.)
Withdrawn
Application number
CN201610086702.5A
Other languages
Chinese (zh)
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201610086702.5A priority Critical patent/CN107085497A/en
Priority to PCT/CN2016/102037 priority patent/WO2017140115A1/en
Publication of CN107085497A publication Critical patent/CN107085497A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0414Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means using force sensing means to determine a position
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Circuit For Audible Band Transducer (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a kind of method for controlling volume, when receiving the pressing touch operation for acting on Touch Screen, the corresponding pressure information of the pressing touch operation is obtained;The volume of audio to be adjusted is determined according to the pressure information of acquisition;The audio to be adjusted is played according to the volume of determination.The invention also discloses a kind of volume adjusting apparatus.The present invention improves the flexibility of volume adjustment.

Description

Method for controlling volume and device
Technical field
The present invention relates to audio area, more particularly to a kind of method for controlling volume and device.
Background technology
All smart mobile phones in the market are all to set sound size to play source of sound, sound according to system Can only unify set, i.e., when user tunes up system sounds, any source of sound can increase volume therewith, when with When system sounds are turned at family down, any source of sound can decrease volume, and during volume adjustment, There are two kinds of control modes, one kind is that pressing volume button is adjusted, and often clicks volume button, just meeting Some volumes are increasedd or decreased, if user is from Jing Yin regulation to most loudly, it is necessary to repeatedly press volume button It could realize, another is in the interface that audio plays application, to touch volume bar and be adjusted, and is touched Touch volume bar adjustment volume, it is necessary to first recall the volume bar in the audio plays application, recalling After the volume bar, then volume is adjusted, it is clear that existing volume control mode, flexibility compared with It is low.
The content of the invention
It is a primary object of the present invention to propose a kind of method for controlling volume and device, it is intended to solve existing Volume control mode, the relatively low technical problem of flexibility.
To achieve the above object, a kind of method for controlling volume that the present invention is provided, methods described includes:
When receiving the pressing touch operation for acting on Touch Screen, the pressing touch operation pair is obtained The pressure information answered;
The volume of audio to be adjusted is determined according to the pressure information of acquisition;
The audio to be adjusted is played according to the volume of determination.
Preferably, the step of pressure information according to acquisition determines the volume of audio to be adjusted is wrapped Include:
According to the pressure information and preset pressure threshold value, the corresponding pressure of the pressure information is obtained relative Value;
According to the pressure relative value and default volume threshold, the volume of the audio to be adjusted is determined.
Preferably, the step of pressure information according to acquisition determines the volume of audio to be adjusted is also Including:
According to the pressure information and preset pressure threshold value, the corresponding pressure of the pressure information is obtained relative Value;
Pressure relative value where determining the pressure relative value is interval;
Based on the interval mapping relations with volume of default pressure relative value, the pressure relative value determined is obtained Interval corresponding volume;
Using the volume of acquisition as the audio to be adjusted volume.
Preferably, while the volume according to determination plays the audio to be adjusted, perform with Lower step:
Determine the corresponding level of sound volume of the volume;
According to default level of sound volume and the corresponding relation of display pattern, the level of sound volume correspondence determined is obtained Display pattern;
Show the display pattern obtained.
Preferably, the method for regulation of sound volume also includes:
When receiving Audio conversion instruction, according to the volume broadcasting present video prestored, or according to Volume before switching plays the present video.
In addition, to achieve the above object, the present invention also proposes a kind of sound volume control device, described device bag Include:
Acquisition module, for when receiving the pressing touch operation for acting on Touch Screen, obtaining described Press the corresponding pressure information of touch operation;
Determining module, the volume for determining audio to be adjusted according to the pressure information of acquisition;
Playing module, for playing the audio to be adjusted according to the volume of determination.
Preferably, the determining module includes:
First processing units, for according to the pressure information and preset pressure threshold value, obtaining the pressure The corresponding pressure relative value of information;
First determining unit, for according to the pressure relative value and default volume threshold, it is determined that described treat Adjust the volume of audio.
Preferably, the determining module also includes:
Second processing unit, for according to the pressure information and preset pressure threshold value, obtaining the pressure The corresponding pressure relative value of information;
Second determining unit, it is interval for the pressure relative value where determining the pressure relative value;
Acquiring unit, for based on the interval mapping relations with volume of default pressure relative value, obtaining true The interval corresponding volume of fixed pressure relative value;
The second processing unit, be additionally operable to using the volume of acquisition as the audio to be adjusted sound Amount.
Preferably, the determining module, is additionally operable to determine the corresponding level of sound volume of the volume;
The acquisition module, is additionally operable to the corresponding relation according to default level of sound volume and display pattern, obtains Take the corresponding display pattern of level of sound volume of determination;
The volume adjusting apparatus also includes:
Display module, for showing the display pattern obtained.
Preferably, the volume adjusting apparatus also includes:
Processing module, for when receiving Audio conversion instruction, current sound to be played according to the volume prestored Frequently, or according to the volume before switching play the present video.
Method for controlling volume and device proposed by the present invention, receive act on Touch Screen pressing touch When touching operation, the corresponding pressure information of the pressing touch operation is first obtained, then according to acquisition Pressure information determines the volume of audio to be adjusted, finally plays described to be adjusted according to the volume of determination Audio, rather than, it is necessary to by pressing volume button or calling volume bar to adjust during volume adjustment Whole volume, the pressing touch operation of the invention by acting on Touch Screen calculates the pressing and touched Corresponding pressure information is operated, the volume of audio to be adjusted is then determined according to the pressure information, finally Audio is played according to the volume of determination, the flexibility of volume control is improved.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of method for regulation of sound volume first embodiment of the present invention;
Fig. 2 determines that the volume first of audio to be adjusted is implemented for the present invention according to the pressure information of acquisition The schematic flow sheet of example;
Fig. 3 determines that the volume second of audio to be adjusted is implemented for the present invention according to the pressure information of acquisition The schematic flow sheet of example;
Fig. 4 is the high-level schematic functional block diagram of volume adjusting apparatus first embodiment of the present invention;
Fig. 5 is the first refinement high-level schematic functional block diagram of determining module in Fig. 4;
Fig. 6 is the second refinement high-level schematic functional block diagram of determining module in Fig. 4.
The realization, functional characteristics and advantage of the object of the invention will be done further referring to the drawings in conjunction with the embodiments Explanation.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, limit is not used to The fixed present invention.
The present invention provides a kind of method for controlling volume.
Reference picture 1, Fig. 1 is the schematic flow sheet of method for controlling volume first embodiment of the present invention.
The present embodiment proposes a kind of method for controlling volume, and methods described includes:
Step S10, when receiving the pressing touch operation for acting on Touch Screen, obtains the pressing and touches Touch the corresponding pressure information of operation;
In the present embodiment, step S10 embodiment includes:A, in locking screen interface play audio when, If receiving the pressing touch operation for acting on locking screen interface, the corresponding pressure of the pressing touch operation is obtained Force information.B, receive in audio broadcast interface and to act on the pressing of the audio broadcast interface and touch behaviour When making, first determine whether the audio broadcast interface currently plays audio, if the audio plays boundary Audio is currently played in face, it is determined that the audio being currently played is audio to be adjusted, if the sound Frequency broadcast interface does not play audio currently, it is determined that next audio to be played or broadcasting in playlist All audios in list are audio to be adjusted, and obtain the corresponding pressure information of the pressing touch operation. It is understood that the acquisition of the pressure information is obtained by the default pressure sensor of terminal.
Step S20, the volume of audio to be adjusted is determined according to the pressure information of acquisition;
In the present embodiment, the embodiment bag of the volume of audio to be adjusted is determined according to the pressure information Include:
1) mode one, reference picture 2, the step S20 include:
Step S21, according to the pressure information and preset pressure threshold value, obtains the pressure information corresponding Pressure relative value;
In the present embodiment, when getting the pressing corresponding pressure information of touch operation, first obtain Preset pressure threshold value, the preset pressure threshold value bears pressure, the pressure for default maximum in terminal Information is preferably pressure value, is obtaining the corresponding pressure information of the pressing touch operation and described default During pressure threshold, preferably by the pressure information of acquisition divided by the preset pressure threshold value, to obtain The corresponding pressure relative value of pressure information is stated, such as described preset pressure threshold value is 500g, and the pressing is touched It is 200g to touch the corresponding pressure information of operation, and by 200g/500g=0.4, that is, the pressure obtained is relative It is worth for 0.4;Or in the preset pressure threshold value be 500g, the corresponding pressure letter of the pressing touch operation Cease for 500g, by 500g/500g=1, that is, the pressure relative value obtained is 1;Further, exist The preset pressure threshold value is 500g, and the corresponding pressure information of the pressing touch operation is more than 500g, write from memory It is 500g to recognize the corresponding pressure information of the pressing touch operation, similarly by 500g/500g=1, that is, is obtained The pressure relative value be 1, i.e., described pressure relative value be one be less than or equal to 1 numerical value.
Step S22, according to the pressure relative value and default volume threshold, determines the audio to be adjusted Volume.
In the present embodiment, after the pressure relative value is obtained, the default volume in the terminal is obtained Threshold value, the default volume threshold is the maximum acoustic loudness of the terminal, i.e., the player of described terminal The middle maximum loudness for playing audio, when getting the default volume threshold, preferably by the pressure phase Value is multiplied with the default volume threshold, obtained volume as the audio to be adjusted volume, Such as described default volume threshold is 80db, when it is 0.4 to obtain the pressure relative value, by the pressure Power relative value is multiplied for 0.4 with the default volume threshold 80db, and calculation formula is 0.4*80db=32db, that is, it is 32db to calculate obtained volume, and the volume 32db is described to be adjusted The volume of audio.
In the present embodiment, first by the pressure information divided by preset pressure threshold value of acquisition, the pressure is obtained The corresponding pressure relative value of force information, then just carries out phase by the pressure relative value with default volume threshold Multiply, obtain the volume of the audio to be adjusted, equivalent to the actual pressure according to the pressing touch operation Information calculates the volume of the audio to be adjusted, and different pressure informations will obtain different volumes, real The accurate calculating of the volume to the audio to be adjusted is showed, it is to be understood that as pressing touches behaviour Make being incremented by for corresponding pressure information, the volume of the audio to be adjusted is also incremental therewith.
2) mode two, further, in order to improve the flexibility of volume adjustment, reference picture 3, the step Rapid S20 also includes:
Step S23, according to the pressure information and preset pressure threshold value, obtains the pressure information corresponding Pressure relative value;
In the present embodiment, the calculation of the corresponding pressure relative value of the pressure information with step S21 Calculation it is consistent, no longer go to live in the household of one's in-laws on getting married and tell herein.
Step S24, the pressure relative value where determining the pressure relative value is interval;
In the present embodiment, after the pressure relative value is obtained, the pressure relative value place is first determined Pressure relative value it is interval, it is to be understood that the terminal is in advance drawn the pressure relative value Divide and store, in the present embodiment, pressure relative value is preferably divided into 3 pressure relative values intervals, point Not Wei slightly (0-0.3), moderate (03-0.7) and severe (0.7-1), then to get the pressure relative During value, the pressure relative value where first determining the pressure relative value is interval, equally, with above pressure Exemplified by relative value 0.4, then the pressure relative value interval where can determine that the pressure relative value 0.4 is moderate.
Step S25, based on the interval mapping relations with volume of default pressure relative value, obtains the pressure determined The interval corresponding volume of power relative value;
Step S26, using the volume of acquisition as the audio to be adjusted volume.
In the present embodiment, while the pressure relative value that prestored is interval, each pressure relative value is set up With the mapping relations of corresponding volume, preferably slight corresponding volume is that 40db, the corresponding volume of moderate are The corresponding volume of 60db, severe is 80db, then it is determined that pressure relative value where the pressure relative value When interval, the pressure relative value according to where the pressure value relative value is interval, obtains the pressure relative It is worth interval corresponding volume, for example, when being moderate in pressure relative value interval, now, can obtain It is 60db to the volume, then the volume 60db is the volume of the audio to be adjusted.
Step S30, the audio to be adjusted is played according to the volume of determination.
In the present embodiment, when obtaining the volume of the audio to be adjusted, institute is played according to the volume Audio to be adjusted is stated, if the audio to be adjusted is presently at the audio of broadcast state, using determination The volume update the volume of the audio to be adjusted, and according to the volume after renewal play described in wait to adjust Whole audio;If now, the audio broadcast interface does not play audio, then audio to be played is first determined, And using the audio to be played as audio to be adjusted, and commence play out described treat according to the volume The audio of adjustment.
The present embodiment propose method for controlling volume, receive act on Touch Screen pressing touch behaviour When making, the corresponding pressure information of the pressing touch operation is first obtained, then according to the pressure of acquisition Information determines the volume of audio to be adjusted, finally plays the audio to be adjusted according to the volume of determination, Rather than volume adjustment during, it is necessary to by press volume button or call volume bar adjust volume, Pressing touch operation of the invention by acting on Touch Screen, calculates the pressing touch operation correspondence Pressure information, the volume of audio to be adjusted is then determined according to the pressure information, finally according to determination Volume play audio, improve volume control flexibility.
Further, in order to increase the flexibility of volume control, sound of the present invention is proposed based on first embodiment The second embodiment of amount control method, in the present embodiment, while the execution step S30, perform with Lower step:
Step A, determines the corresponding level of sound volume of the volume;
Step B, according to default level of sound volume and the corresponding relation of display pattern, obtains the volume determined The corresponding display pattern of grade;
Step C, shows the display pattern obtained.
In the present embodiment, in order to improve the flexibility that volume is adjusted, broadcast according to the volume of determination While putting the audio to be adjusted, the corresponding level of sound volume of the volume is first determined, then according to default Level of sound volume and display pattern corresponding relation, obtain determine the corresponding display pattern of level of sound volume, It is understood that terminal is previously stored different level of sound volume, and store each level of sound volume correspondence Display pattern, when playing audio, you can determine volume correspondence according to current volume Level of sound volume, and obtain the corresponding display pattern of the level of sound volume according to the level of sound volume, finally The display pattern is shown, wherein, show that the display pattern is included in locking screen interface and show described aobvious Diagram case, or show the display pattern in the audio broadcast interface.To be best understood from this implementation Example, is exemplified below:First different level of sound volume, such as first are divided in the default storage region of terminal Level is 0db-25db, and the second level is 25db-50db, and the third level is 50db-75db, and the fourth stage is 75db-100db, and each grade has corresponding pattern, respectively pattern 1, pattern 2, the and of pattern 3 Pattern 4, then the volume for playing the audio to be adjusted in application in audio is default grade, such as second During level, now may know that pattern to be shown is pattern 2, then when playing audio according to the volume of determination, The pattern 2 is shown in the audio broadcast interface, different audio grades is realized and shows different figures Case, the pattern of display can be used as Background.
In the present embodiment, while playing audio according to the volume of determination, the grade of volume is first determined, so The corresponding display pattern of grade of the volume is obtained afterwards, the display pattern is finally shown, can allow use Family is more apparent from the grade of current volume, and improves in audio playing process, volume adjustment Flexibility and intelligent.
Further, in order to increase the flexibility of volume control, this is proposed based on first or second embodiments The 3rd embodiment of invention method for controlling volume, in the present embodiment, methods described also includes:
When receiving Audio conversion instruction, according to the volume broadcasting present video prestored, or according to Volume before switching plays the present video.
In the present embodiment, the reception mode of the Audio conversion instruction includes:1st, in audio broadcast interface Middle reception Audio conversion instruction;When the 2nd, playing audio in locking screen interface, audio is received in locking screen interface Switching command.When receiving Audio conversion instruction, present video, institute can be played according to the volume prestored The volume that the volume prestored plays default setting in application for the audio is stated, then is receiving Audio conversion During instruction, return to volume that terminal prestores to play present video, that is to say, that direct action is in touching The corresponding volume of pressing touch operation of control screen only adjusts a first audio, if the audio of adjustment is played Into, then need to receive the pressing touch operation for acting on Touch Screen again, the volume of audio could be adjusted, If the pressing touch operation of the audio after not receiving based on switching, recover the volume that prestores of terminal to broadcast Put present video.
Further, in order to improve the intelligent of audio broadcasting, when receiving Audio conversion instruction, press The present video is played according to the volume before switching, that is, is receiving the pressing touch that acts on Touch Screen During operation, the volume calculated according to pressing touch operation is set to present video broadcasting and applies sound intermediate frequency The volume of broadcasting, if subsequently the pressing touch operation for acting on Touch Screen is not received, according to described Volume continues to play other audios, that is to say, that the pressing touch operation for acting on Touch Screen is corresponding Volume can play the volume of all audios in application as the audio, realize and act on receiving During the pressing touch operation of Touch Screen, as long as according to the pressing touch operation correspondence for acting on Touch Screen Pressure value, calculate corresponding volume, it is follow-up audio is directly played according to the volume to play in application Audio, it is not necessary to re-starting input.Certainly, if user wants to update the volume played, Re-enter pressing touch operation.
In the present embodiment, when receiving audio play instruction, it can both play and work as according to the volume prestored Preceding audio, can also play the present video so that the broadcast mode of audio according to the volume before switching It is more flexible.
The present invention further provides a kind of sound volume control device.
Reference picture 4, Fig. 4 is the high-level schematic functional block diagram of sound volume control device first embodiment of the present invention.
It is emphasized that it will be apparent to those skilled in the art that functional block diagram is only shown in Fig. 4 The exemplary plot of one preferred embodiment, those skilled in the art is around the sound volume control device shown in Fig. 4 Functional module, the supplement of new functional module can be carried out easily;The title of each functional module is self-defined Title, is only used for aiding in each program function block for understanding the sound volume control device, is not used in and limits this hair Bright technical scheme, the core of technical solution of the present invention is that the functional module of each self-defined title to be reached Into function.
The present embodiment proposes a kind of sound volume control device, and described device includes:
Acquisition module 10, for when receiving the pressing touch operation for acting on Touch Screen, obtaining institute State the corresponding pressure information of pressing touch operation;
In the present embodiment, the acquisition module 10 receive act on Touch Screen pressing touch behaviour When making, obtaining the embodiment of the corresponding pressure information of the pressing touch operation includes:A, in screen locking circle When playing audio in face, if receiving the pressing touch operation for acting on locking screen interface, the acquisition module 10 obtain the corresponding pressure information of the pressing touch operation.B, effect is received in audio broadcast interface When the pressing touch operation of the audio broadcast interface, first determine the audio broadcast interface it is current whether Audio is played, if audio is currently played in the audio broadcast interface, it is determined that currently broadcast The audio put is audio to be adjusted, if the audio broadcast interface does not play audio currently, it is determined that played All audios in list in next audio to be played or playlist are audio to be adjusted, and institute State acquisition module 10 and obtain the corresponding pressure information of the pressing touch operation.It is understood that described The acquisition of pressure information is obtained by the default pressure sensor of terminal.
Determining module 20, the volume of audio to be adjusted is determined according to the pressure information of acquisition;
In the present embodiment, the sound of audio to be adjusted is determined according to the pressure information according to determining module 20 The embodiment that the embodiment of amount includes includes:
1) mode one, reference picture 5, the determining module 20 include:
First processing units 21, for according to the pressure information and preset pressure threshold value, obtaining the pressure The corresponding pressure relative value of force information;
In the present embodiment, when getting the pressing corresponding pressure information of touch operation, first obtain Preset pressure threshold value, the preset pressure threshold value bears pressure, the pressure for default maximum in terminal Information is preferably pressure value, is obtaining the corresponding pressure information of the pressing touch operation and described default During pressure threshold, preferably described first processing units 21 are by the pressure information of acquisition divided by described default Pressure threshold, to obtain the corresponding pressure relative value of the pressure information, such as described preset pressure threshold value For 500g, the corresponding pressure information of the pressing touch operation is 200g, by 200g/500g=0.4, i.e., The obtained pressure relative value is 0.4;Or the preset pressure threshold value be 500g, the pressing touch It is 500g to touch the corresponding pressure information of operation, by 500g/500g=1, that is, the pressure relative value obtained For 1;Further, it is 500g, the corresponding pressure of the pressing touch operation in the preset pressure threshold value Force information is more than 500g, and it is 500g to give tacit consent to the corresponding pressure information of the pressing touch operation, similarly will 500g/500g=1, that is, the pressure relative value obtained is 1, i.e., described pressure relative value is one and is less than Or the numerical value equal to 1.
First determining unit 22, for the pressure relative value to be multiplied with default volume, obtains institute State the volume of audio to be adjusted.
In the present embodiment, after the pressure relative value is obtained, the default volume in the terminal is obtained Threshold value, the default volume threshold is the maximum acoustic loudness of the terminal, i.e., the player of described terminal The middle maximum loudness for playing audio, when getting the default volume threshold, preferably described first determines The pressure relative value is multiplied by unit 22 with the default volume threshold, and obtained volume is used as institute The volume of audio to be adjusted is stated, such as described default volume threshold is 80db, and the pressure is relative obtaining Be worth for 0.4 when, be 0.4 to be multiplied with the default volume threshold 80db by the pressure relative value, Calculation formula is 0.4*80db=32db, that is, it is 32db to calculate obtained volume, and the volume 32db is The volume of the audio to be adjusted.
In the present embodiment, first by the pressure information divided by preset pressure threshold value of acquisition, the pressure is obtained The corresponding pressure relative value of force information, then just carries out phase by the pressure relative value with default volume threshold Multiply, obtain the volume of the audio to be adjusted, equivalent to the actual pressure according to the pressing touch operation Information calculates the volume of the audio to be adjusted, and different pressure informations will obtain different volumes, real The accurate calculating of the volume to the audio to be adjusted is showed, it is to be understood that as pressing touches behaviour Make being incremented by for corresponding pressure information, the volume of the audio to be adjusted is also incremental therewith.
2) mode two, further, in order to improve the flexibility of volume adjustment, reference picture 6, it is described really Cover half block 20 also includes:
Second processing unit 23, it is described for by the pressure value divided by preset pressure value of acquisition, obtaining The corresponding pressure relative value of pressure value;
In the present embodiment, calculating of the second processing unit 23 to the corresponding pressure relative value of pressure information Mode is consistent with the calculation in the first processing units 21, no longer goes to live in the household of one's in-laws on getting married and tells herein.
Second determining unit 24, it is interval for the pressure relative value where determining the pressure relative value;
In the present embodiment, after the pressure relative value is obtained, second determining unit 24 is first determined Pressure relative value where the pressure relative value is interval, it is to be understood that the terminal is in advance by institute State pressure relative value to be divided and stored, in the present embodiment, pressure relative value is preferably divided into 3 Pressure relative value is interval, is respectively slight (0-0.3), moderate (03-0.7) and severe (0.7-1), then exists When getting the pressure relative value, the pressure relative value where first determining the pressure relative value is interval, Equally, by taking above pressure relative value 0.4 as an example, then it can determine that the pressure where the pressure relative value 0.4 Power relative value interval is moderate.
Acquiring unit 25, for based on the interval mapping relations with volume of default pressure relative value, obtaining The interval corresponding volume of the pressure relative value of determination;
The second processing unit 23, for using the volume of acquisition as the audio to be adjusted sound Amount.
In the present embodiment, while the pressure relative value that prestored is interval, each pressure relative value is set up With the mapping relations of corresponding volume, preferably slight corresponding volume is that 40db, the corresponding volume of moderate are The corresponding volume of 60db, severe is 80db, then it is determined that pressure relative value where the pressure relative value When interval, pressure relative value of the acquiring unit 25 according to where the pressure value relative value is interval, obtains The interval corresponding volume of the pressure relative value is taken, for example, when being moderate in pressure relative value interval, Now, the volume can be got for 60db, then volume 60db described in the second processing unit 23 is For the volume of the audio to be adjusted.
Playing module 30, for playing the audio to be adjusted according to the volume of determination.
In the present embodiment, when obtaining the volume of the audio to be adjusted, the playing module 30 according to The volume plays the audio to be adjusted, if the audio to be adjusted is presently at the sound of broadcast state Frequently, then the volume of the audio to be adjusted, and the playing module are updated using the volume determined 30 play the audio to be adjusted according to the volume after renewal;If now, the audio broadcast interface is not broadcast Playback frequency, then first determine audio to be played, and using the audio to be played as audio to be adjusted, And the playing module 30 commences play out the audio to be adjusted according to the volume.
The present embodiment propose sound volume control device, receive act on Touch Screen pressing touch behaviour When making, the corresponding pressure information of the pressing touch operation is first obtained, then according to the pressure of acquisition Information determines the volume of audio to be adjusted, finally plays the audio to be adjusted according to the volume of determination, Rather than volume adjustment during, it is necessary to by press volume button or call volume bar adjust volume, Pressing touch operation of the invention by acting on Touch Screen, calculates the pressing touch operation correspondence Pressure information, the volume of audio to be adjusted is then determined according to the pressure information, finally according to determination Volume play audio, improve volume control flexibility.
Further, in order to increase the flexibility of volume control, sound of the present invention is proposed based on first embodiment The second embodiment of amount control device, in the present embodiment, the determining module 20 is additionally operable to determination described The corresponding level of sound volume of volume;
The acquisition module 10, is additionally operable to the corresponding relation according to default level of sound volume and display pattern, Obtain the corresponding display pattern of level of sound volume determined;
The volume adjusting apparatus also includes:
Display module, for showing the display pattern obtained.
In the present embodiment, in order to improve the flexibility that volume is adjusted, broadcast according to the volume of determination While putting the audio to be adjusted, the determining module 20 determines the corresponding level of sound volume of the volume, Then according to default level of sound volume and the corresponding relation of display pattern, the acquisition module 10, which is obtained, to be determined The corresponding display pattern of level of sound volume, it is to be understood that terminal is previously stored different level of sound volume, And the corresponding display pattern of each level of sound volume is stored, when playing audio, you can according to working as Preceding volume determines the corresponding level of sound volume of the volume, and obtains the volume according to the level of sound volume The corresponding display pattern of grade, the final display module shows the display pattern, wherein, show institute State display pattern and be included in locking screen interface and show the display pattern, or in the audio broadcast interface The middle display display pattern.To be best understood from the present embodiment, it is exemplified below:First deposit terminal is default Different level of sound volume are divided in storage area domain, such as first order is 0db-25db, and the second level is 25db-50db, The third level is 50db-75db, and the fourth stage is 75db-100db, and each grade has corresponding pattern, point Wei pattern 1, pattern 2, pattern 3 and pattern 4, then the audio to be adjusted in audio plays application Volume be default grade, such as second level when, now may know that pattern to be shown be pattern 2, then When playing audio according to the volume of determination, the pattern 2 is shown in the audio broadcast interface, is realized Different audio grades shows different patterns, and the pattern of display can be used as Background.
In the present embodiment, while playing audio according to the volume of determination, the grade of volume is first determined, so The corresponding display pattern of grade of the volume is obtained afterwards, the display pattern is finally shown, can allow use Family is more apparent from the grade of current volume, and improves in audio playing process, volume adjustment Flexibility and intelligent.
Further, in order to increase the flexibility of volume control, this is proposed based on first or second embodiments The 3rd embodiment of invention sound volume control device, in the present embodiment, described device also includes:
Processing module, for when receiving Audio conversion instruction, current sound to be played according to the volume prestored Frequently, or according to the volume before switching play the present video.
In the present embodiment, the reception mode of the Audio conversion instruction includes:1st, in audio broadcast interface Middle reception Audio conversion instruction;When the 2nd, playing audio in locking screen interface, audio is received in locking screen interface Switching command.When receiving Audio conversion instruction, the processing module can be played according to the volume prestored Present video, the volume prestored is the volume that the audio plays default setting in application, then is connecing When receiving Audio conversion instruction, return to volume that terminal prestores to play present video, that is to say, that Direct action only adjusts a first audio in the corresponding volume of pressing touch operation of Touch Screen, if adjustment Audio finish playing, then need to receive the pressing touch operation for acting on Touch Screen again, could adjust The volume of whole audio, if the pressing touch operation of the audio after not receiving based on switching, recovers terminal The volume prestored is to play present video.
Further, in order to improve the intelligent of audio broadcasting, when receiving Audio conversion instruction, institute State processing module and play the present video according to the volume before switching, i.e., act on touch screen receiving During the pressing touch operation of curtain, the volume calculated according to pressing touch operation is set to present video and broadcast The volume played using sound intermediate frequency is put, if subsequently not receiving the pressing touch operation for acting on Touch Screen, Then continue to play other audios according to the volume, that is to say, that the pressing for acting on Touch Screen is touched Operate corresponding volume to play the volume of all audios in application as the audio, realize and connecing When receiving the pressing touch operation for acting on Touch Screen, as long as being touched according to the pressing for acting on Touch Screen The corresponding pressure value of operation is touched, corresponding volume is calculated, it is follow-up that audio is directly played according to the volume Play the audio in application, it is not necessary to re-starting input.Certainly, if user wants renewal and broadcast The volume put, re-enters pressing touch operation.
In the present embodiment, when receiving audio play instruction, it can both play and work as according to the volume prestored Preceding audio, can also play the present video so that the broadcast mode of audio according to the volume before switching It is more flexible.
From the aspect of bottom, the device shown in the present embodiment includes screen contactor control device, touch-control pressure and changed Calculate device, play audio unit.The touch-control conversion pressure device is made up of three parts, respectively touch-control Pressure input subsystem, touch-control conversion pressure subsystem, touch-control pressure output subsystem.Wherein, it is described Touch-control pressure input subsystem is used for receiving touch screen pressure, and this pressure is designed by pressure sensor ability to bear; The touch-control conversion pressure subsystem, for calculating pressure relative value according to touch-control input subsystem data, And this relative value is transmitted to touch-control pressure output subsystem;The touch-control pressure output subsystem is by pressure phase Vibrational feedback device is transmitted to value.And play audio unit and be made up of three parts, respectively play sound defeated Enter subsystem, play sound control subsystem, play sound output subsystem.Wherein, the broadcasting sound Sound input subsystem is used for receiving relative pressure;The broadcasting sound control subsystem, for according to shake The pressure relative value of dynamic input subsystem input, calculates the broadcast sound volume under the pressure value;It is described to play Sound output subsystem is played out according to the broadcast sound volume calculated.
It should be noted that herein, term " comprising ", "comprising" or its any other variant Be intended to including for nonexcludability so that process, method, article including a series of key elements or Person's system not only includes those key elements, but also other key elements including being not expressly set out, or also Including for this process, method, article or the intrinsic key element of system.In the feelings of not more limitations Under condition, the key element limited by sentence "including a ...", it is not excluded that the process including the key element, Also there is other identical element in method, article or system.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
Through the above description of the embodiments, those skilled in the art can be understood that above-mentioned Embodiment method can add the mode of required general hardware platform to realize by software, naturally it is also possible to logical Cross hardware, but the former is more preferably embodiment in many cases.Understood based on such, it is of the invention The part that technical scheme substantially contributes to prior art in other words can in the form of software product body Reveal and, the computer software product is stored in storage medium (such as ROM/RAM, magnetic disc, a light Disk) in, including some instructions are to cause a station terminal equipment (can be mobile phone, computer, service Device, air conditioner, or network equipment etc.) perform method described in each of the invention embodiment.
The preferred embodiments of the present invention are these are only, are not intended to limit the scope of the invention, it is every The equivalent structure or equivalent flow conversion made using description of the invention and accompanying drawing content, or directly or Connect and be used in other related technical fields, be included within the scope of the present invention.

Claims (10)

1. a kind of method for controlling volume, it is characterised in that methods described includes:
When receiving the pressing touch operation for acting on Touch Screen, the pressing touch operation pair is obtained The pressure information answered;
The volume of audio to be adjusted is determined according to the pressure information of acquisition;
The audio to be adjusted is played according to the volume of determination.
2. method for controlling volume as claimed in claim 1, it is characterised in that the institute according to acquisition Stating the step of pressure information determines the volume of audio to be adjusted includes:
According to the pressure information and preset pressure threshold value, the corresponding pressure of the pressure information is obtained relative Value;
According to the pressure relative value and default volume threshold, the volume of the audio to be adjusted is determined.
3. method for controlling volume as claimed in claim 1, it is characterised in that the institute according to acquisition Stating the step of pressure information determines the volume of audio to be adjusted also includes:
According to the pressure information and preset pressure threshold value, the corresponding pressure of the pressure information is obtained relative Value;
Pressure relative value where determining the pressure relative value is interval;
Based on the interval mapping relations with volume of default pressure relative value, the pressure relative value determined is obtained Interval corresponding volume;
Using the volume of acquisition as the audio to be adjusted volume.
4. method for controlling volume as claimed in claim 1, it is characterised in that the institute according to determination While stating the volume broadcasting audio to be adjusted, following steps are performed:
Determine the corresponding level of sound volume of the volume;
According to default level of sound volume and the corresponding relation of display pattern, the level of sound volume correspondence determined is obtained Display pattern;
Show the display pattern obtained.
5. the method for controlling volume as described in claim any one of 1-4, it is characterised in that methods described Also include:
When receiving Audio conversion instruction, according to the volume broadcasting present video prestored, or according to Volume before switching plays the present video.
6. a kind of sound volume control device, it is characterised in that described device includes:
Acquisition module, for when receiving the pressing touch operation for acting on Touch Screen, obtaining described Press the corresponding pressure information of touch operation;
Determining module, the volume for determining audio to be adjusted according to the pressure information of acquisition;
Playing module, for playing the audio to be adjusted according to the volume of determination.
7. sound volume control device as claimed in claim 6, it is characterised in that the determining module includes:
First processing units, for according to the pressure information and preset pressure threshold value, obtaining the pressure The corresponding pressure relative value of information;
First determining unit, for according to the pressure relative value and default volume threshold, it is determined that described treat Adjust the volume of audio.
8. sound volume control device as claimed in claim 6, it is characterised in that the determining module is also wrapped Include:
Second processing unit, for according to the pressure information and preset pressure threshold value, obtaining the pressure The corresponding pressure relative value of information;
Second determining unit, it is interval for the pressure relative value where determining the pressure relative value;
Acquiring unit, for based on the interval mapping relations with volume of default pressure relative value, obtaining true The interval corresponding volume of fixed pressure relative value;
The second processing unit, be additionally operable to using the volume of acquisition as the audio to be adjusted sound Amount.
9. sound volume control device as claimed in claim 6, it is characterised in that
The determining module, is additionally operable to determine the corresponding level of sound volume of the volume;
The acquisition module, is additionally operable to the corresponding relation according to default level of sound volume and display pattern, obtains Take the corresponding display pattern of level of sound volume of determination;
The volume adjusting apparatus also includes:
Display module, for showing the display pattern obtained.
10. the sound volume control device as described in claim any one of 6-9, it is characterised in that the dress Putting also includes:
Processing module, for when receiving Audio conversion instruction, current sound to be played according to the volume prestored Frequently, or according to the volume before switching play the present video.
CN201610086702.5A 2016-02-15 2016-02-15 Method for controlling volume and device Withdrawn CN107085497A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610086702.5A CN107085497A (en) 2016-02-15 2016-02-15 Method for controlling volume and device
PCT/CN2016/102037 WO2017140115A1 (en) 2016-02-15 2016-10-13 Volume control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610086702.5A CN107085497A (en) 2016-02-15 2016-02-15 Method for controlling volume and device

Publications (1)

Publication Number Publication Date
CN107085497A true CN107085497A (en) 2017-08-22

Family

ID=59614098

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610086702.5A Withdrawn CN107085497A (en) 2016-02-15 2016-02-15 Method for controlling volume and device

Country Status (2)

Country Link
CN (1) CN107085497A (en)
WO (1) WO2017140115A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109144462A (en) * 2018-07-23 2019-01-04 Oppo广东移动通信有限公司 Sounding control method, device, electronic device and computer-readable medium
CN110381203A (en) * 2019-07-09 2019-10-25 维沃移动通信有限公司 A kind of method of controlling operation thereof and terminal of terminal
CN112286484A (en) * 2020-11-12 2021-01-29 Oppo广东移动通信有限公司 Screen sounding control method and device and electronic equipment

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109284047A (en) * 2018-09-25 2019-01-29 东莞华贝电子科技有限公司 Control method, touch tablet and the electric terminal of multimedia

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105162938A (en) * 2008-09-23 2015-12-16 联想(北京)有限公司 Method for adjusting conversation volume of communication terminal, volume controller and mobile phone
CN105262883A (en) * 2015-08-31 2016-01-20 努比亚技术有限公司 Mobile terminal and volume adjusting method thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105162938A (en) * 2008-09-23 2015-12-16 联想(北京)有限公司 Method for adjusting conversation volume of communication terminal, volume controller and mobile phone
CN105262883A (en) * 2015-08-31 2016-01-20 努比亚技术有限公司 Mobile terminal and volume adjusting method thereof

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109144462A (en) * 2018-07-23 2019-01-04 Oppo广东移动通信有限公司 Sounding control method, device, electronic device and computer-readable medium
CN110381203A (en) * 2019-07-09 2019-10-25 维沃移动通信有限公司 A kind of method of controlling operation thereof and terminal of terminal
CN112286484A (en) * 2020-11-12 2021-01-29 Oppo广东移动通信有限公司 Screen sounding control method and device and electronic equipment

Also Published As

Publication number Publication date
WO2017140115A1 (en) 2017-08-24

Similar Documents

Publication Publication Date Title
CN107277268B (en) Audio playing method and mobile terminal
CN104393848B (en) Volume adjusting method and device
CN108874144B (en) Sound-to-haptic effect conversion system using mapping
CN107085497A (en) Method for controlling volume and device
CN105827849A (en) Method for adjusting sound effect and mobile terminal
CN105260109A (en) Play speed adjusting method and terminal
CN104798301A (en) Audio loudness control system
CN109918039B (en) Volume adjusting method and mobile terminal
CN104021148B (en) Method and device for adjusting sound effect
CN107040660A (en) Control method, device and the mobile terminal of mobile terminal playing volume
KR20140067064A (en) Dynamic range control
CN109982231B (en) Information processing method, device and storage medium
CN103995653A (en) Parameter adjusting method and device
KR101427993B1 (en) Method for converting audio signal to haptic signal and apparatus for performing the same
CN104112459B (en) Method and apparatus for playing audio data
WO2019033921A1 (en) Method and apparatus for adjusting volume, terminal device and storage medium
CN103731617A (en) Volume adjustment method and device of smart television
CN105824529A (en) Method for controlling music playing and intelligent wearable equipment
CN106060719A (en) Terminal audio output control method and terminal
CN106161776B (en) Volume adjusting method and mobile terminal
CN113170260B (en) Audio processing method and device, storage medium and electronic equipment
CN106055301A (en) Volume setting method and mobile terminal
CN106713653A (en) Audio/video playing control method and device, and terminal
CN110799936A (en) Volume adjusting method and device, terminal equipment and storage medium
CN103854682B (en) A kind of method and device controlling audio file to play

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20170822