CN104572007A - Method for adjusting sound volume of terminal - Google Patents
Method for adjusting sound volume of terminal Download PDFInfo
- Publication number
- CN104572007A CN104572007A CN201410789604.9A CN201410789604A CN104572007A CN 104572007 A CN104572007 A CN 104572007A CN 201410789604 A CN201410789604 A CN 201410789604A CN 104572007 A CN104572007 A CN 104572007A
- Authority
- CN
- China
- Prior art keywords
- volume adjusting
- terminal
- volume
- triggering command
- sensor
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/16—Sound input; Sound output
- G06F3/165—Management of the audio stream, e.g. setting of volume, audio stream path
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- General Health & Medical Sciences (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
Abstract
The embodiment of the invention discloses a method for adjusting the sound volume of a terminal. The method comprises the steps of firstly, obtaining a triggering order which is received by a sound volume adjusting sensor on the terminal; then, starting a sound volume adjusting function of the terminal by responding to the triggering order; finally, obtaining a sound volume adjusting order which is received by the sound volume adjusting sensor, and adjusting the sound volume of the terminal by responding to the sound volume adjusting order. According to the method for adjusting the sound volume of the terminal, disclosed by the embodiment of the invention, the sound volume can be adjusted by virtue of a sensor, and the using experience of a user is increased.
Description
Technical field
The present invention relates to electronic technology field, be specifically related to a kind of volume adjusting method of terminal.
Background technology
At present, the side of the portable mobile termianl such as mobile phone, panel computer is all provided with mechanical type volume adjusting button, and user can regulate volume by this button.Such as, when user needs to regulate volume in the process of listening to the music, user often clicks button, and volume is just corresponding to be changed once.But each volume that regulates all needs manual the pushing button of user, regulates the mode of volume single, and poor user experience.
Summary of the invention
The embodiment of the invention discloses a kind of volume adjusting method of terminal, by sensor adjustment volume, the experience of user can be improved.
The embodiment of the invention discloses a kind of volume adjusting method of terminal, comprising:
Obtain the triggering command that the volume adjusting sensor in terminal receives;
Respond the volume adjusting function that described triggering command starts described terminal;
Obtain the volume adjusting instruction that described volume adjusting sensor receives;
Respond the volume that described volume adjusting instruction regulates described terminal.
In the embodiment of the present invention, first terminal obtains the triggering command that the volume adjusting sensor in terminal receives, then the volume adjusting function that this triggering command starts this terminal is responded, finally obtain the volume adjusting instruction that this volume adjusting sensor receives, respond the volume that this volume adjusting instruction regulates this terminal.Implement the embodiment of the present invention and by sensor adjustment volume, the experience of user can be improved.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, be briefly described to the accompanying drawing used required in embodiment below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of the volume adjusting method of a kind of terminal disclosed in the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of the volume adjusting method of another kind of terminal disclosed in the embodiment of the present invention;
Fig. 3 is the schematic flow sheet of the volume adjusting method of the embodiment of the present invention another terminal disclosed;
Fig. 4 is the structural representation of a kind of terminal disclosed in the embodiment of the present invention;
Fig. 5 is the structural representation of another kind of terminal disclosed in the embodiment of the present invention;
Fig. 6 is the structural representation of the embodiment of the present invention another terminal disclosed;
Fig. 7 is the structural representation of the embodiment of the present invention another terminal disclosed.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the invention discloses a kind of volume adjusting method of terminal, by sensor adjustment volume, the experience of user can be improved.Below be described in detail respectively.
Refer to Fig. 1, Fig. 1 is the schematic flow sheet of the volume adjusting method of a kind of terminal disclosed in the embodiment of the present invention.Wherein, method shown in Fig. 1 can be applied in the terminals such as smart mobile phone (as Android phone, iOS mobile phone etc.), MP3, MP4, MP5, panel computer, palm PC and mobile internet device (MobileInternetDevices, MID), PAD.As shown in Figure 1, the volume adjusting method of this terminal can comprise the following steps:
The triggering command that volume adjusting sensor in S101, acquisition terminal receives.
In the embodiment of the present invention, volume adjusting sensor includes but not limited to proximity transducer, range sensor or light sensor, triggering command can comprise the gesture that swings, swing up and down predetermined number in gesture and preset time period close to or touch in volume adjusting sensor any one, the present embodiment does not limit, wherein, this triggering command is for starting the volume adjusting function of this terminal.
S102, respond the volume adjusting function that this triggering command starts this terminal.
In the embodiment of the present invention, when getting triggering command, terminal can respond this triggering command and start the volume adjusting function of this terminal, and wherein, this volume adjusting function is carry out increasing the function reduced to volume.
S103, obtain the volume adjusting instruction that this volume adjusting sensor receives.
In the embodiment of the present invention, after terminal starts volume adjusting function, this terminal can obtain the volume adjusting instruction that volume adjusting sensor receives, this volume adjusting instruction can for being different from the gesture or swing up and down any one gestures such as gesture of swinging of triggering command, and the present embodiment does not limit.
S104, respond the volume that this volume adjusting instruction regulates this terminal.
In the embodiment of the present invention, after this terminal gets volume adjusting instruction, regulate the volume of this terminal according to this volume adjusting instruction, wherein, this volume adjusting instruction can increase regulating command or the instruction of volume down minor adjustment for volume.
As the optional embodiment of one, this terminal can be provided with a volume adjusting sensor, and this volume adjusting sensor for receive user input the volume adjusting function for starting terminal triggering command and for regulating the volume adjusting instruction of terminal volume.
As the optional embodiment of another kind, this terminal can be provided with the first volume adjusting sensor for increasing volume and the second volume adjusting sensor for reducing volume, the volume adjusting sensor namely in step S101 and step S103 can be for increasing the first volume adjusting sensor of volume or the second volume adjusting sensor for reducing volume.When the volume adjusting sensor in step S101 and step S103 is the first volume adjusting sensor, triggering command increases function specifically for the volume starting this terminal, and volume adjusting instruction is used to indicate the amplitude that volume increases; When the volume adjusting sensor in step S101 and step S103 is the second volume adjusting sensor, this triggering command reduces function specifically for the volume starting this terminal, and volume adjusting instruction is used to indicate the amplitude that volume reduces.
For example, after the first volume adjusting sensor receives triggering command, terminal can start volume and increase function, and when getting volume adjusting instruction, terminal can increase according to the volume of this volume adjusting instruction instruction the volume that amplitude increases this terminal accordingly.
As the optional embodiment of one, the concrete mode that this triggering command of terminal response starts the volume adjusting function of this terminal can be:
Mapping relations table between the triggering command prestored from this terminal and volume adjusting function, inquire about the volume adjusting function that this triggering command is corresponding, this volume adjusting function is that volume increases function or volume reduces function;
Start this volume adjusting function.
In the embodiment of the present invention, the volume adjusting function that different triggering command can be corresponding different, now, volume adjusting function comprises volume and increases function and volume reduction function.When terminal gets the triggering command that volume adjusting sensor receives, this terminal first can inquire about volume adjusting function corresponding to this triggering command from the triggering command prestored with the mapping relations table between volume adjusting function, and starts this volume adjusting function.
Wherein, the mapping relations table between the triggering command that terminal prestores from this terminal and volume adjusting function, the concrete mode of inquiring about volume adjusting function corresponding to this triggering command can be:
Judge whether there is this triggering command in this mapping relations table, when it is present, the mapping relations table between the triggering command prestored from this terminal and volume adjusting function, inquire about the volume adjusting function that this triggering command is corresponding.
For example, terminal can volume adjusting function corresponding to prespecified different triggering command, opens volume increase function as the gesture correspondence that swings, and swing up and down gesture correspondence and open volume and reduce function etc., the present embodiment does not limit.When terminal gets the triggering command of the gesture that swings that volume adjusting sensor receives, terminal first can judge whether this triggering command is present in the mapping relations table stored in advance, if existed, terminal just can inquire this triggering command corresponding be volume increase function, therefore, terminal just can start volume and increase function.When getting volume adjusting instruction, terminal can increase according to the volume of this volume adjusting instruction instruction the volume that amplitude increases terminal accordingly.
In the embodiment of the present invention, first terminal obtains the triggering command that volume adjusting sensor receives, then the volume adjusting function that this triggering command starts this terminal is responded, finally obtain the volume adjusting instruction that this volume adjusting sensor receives, respond the volume that this volume adjusting instruction regulates this terminal.Implement the embodiment of the present invention and by sensor adjustment volume, can improve the experience of user, and volume adjusting sensor is not by the restriction of terminal thickness, it can be arranged on the optional position in terminal, is conducive to the aesthetics increasing terminal.
Refer to Fig. 2, Fig. 2 is the schematic flow sheet of the volume adjusting method of another kind of terminal disclosed in the embodiment of the present invention.Wherein, method shown in Fig. 2 can be applied in the terminals such as smart mobile phone (as Android phone, iOS mobile phone etc.), MP3, MP4, MP5, panel computer, palm PC and mobile internet device (MobileInternetDevices, MID), PAD.As shown in Figure 2, the volume adjusting method of this terminal can comprise the following steps:
S201, judge whether the screen of terminal is in non-screen lock state.
In the embodiment of the present invention, when judging that this terminal is in non-screen lock state, terminal performs step S202, and when judging that this terminal is not in non-screen lock state, terminal can terminate this flow process.
In the embodiment of the present invention, first terminal can judge whether this terminal is in non-screen lock state, if terminal is not in non-screen lock state, then the volume adjusting sensor of terminal can not receive the triggering command of user, if this terminal is in non-screen lock state, then terminal performs step S202.
S202, judge that this terminal is the need of output audio.
In the embodiment of the present invention, when judging that terminal needs output audio, terminal performs step S203, and when judging that terminal does not need output audio, terminal can terminate this flow process.
In the embodiment of the present invention, this terminal of terminal judges the need of output audio can be: judge whether terminal starts audio service application, and audio service is applied as the application needing to carry out volume adjusting, wherein, audio service application can comprise music player, video player, recording application and have phonetic function social activity application in any one, the embodiment of the present invention does not limit.When judging that terminal is in non-screen lock state, terminal can judge that this terminal is the need of output audio further, when judging that this terminal needs output audio, terminal performs step S203, when judging that this terminal does not need output audio, the volume adjusting sensor in this terminal can not receive the triggering command of user.
For example, if terminal starts music player, volume adjusting sensor can detect user the moment and whether have input triggering command, and when this volume adjusting sensor detects triggering command, terminal just can obtain this triggering command.If terminal does not start any audio service application needing to carry out volume adjusting, then volume adjusting sensor can not work, and can prevent the maloperation of user like this.
The triggering command that volume adjusting sensor in S203, acquisition terminal receives.
In the embodiment of the present invention, when terminal judges go out this terminal need output audio time, this terminal just can obtain the triggering command that the volume adjusting sensor in this terminal receives, and wherein, triggering command is for starting the volume adjusting function of this terminal.
In the embodiment of the present invention, volume adjusting sensor includes but not limited to proximity transducer, range sensor or light sensor.Triggering command can comprise the gesture that swings, swing up and down predetermined number in gesture and preset time period close to or touch in volume adjusting sensor any one, the present embodiment does not limit.
S204, respond the volume adjusting function that this triggering command starts this terminal.
S205, obtain the volume adjusting instruction that this volume adjusting sensor receives.
In the embodiment of the present invention, when terminal starts volume adjusting function, this terminal can obtain the volume adjusting instruction that volume adjusting sensor receives, this volume adjusting instruction can for being different from the gesture or swing up and down any one gestures such as gesture of swinging of triggering command, and the present embodiment does not limit.
S206, respond the volume that this volume adjusting instruction regulates this terminal.
In the embodiment of the present invention, after this terminal gets volume adjusting instruction, can regulate the volume of this terminal according to this volume adjusting instruction, wherein, this volume adjusting instruction can increase regulating command or the instruction of volume down minor adjustment for volume.
Implementing the embodiment of the present invention can by sensor adjustment volume, improve the experience of user, and volume adjusting sensor is not by the restriction of terminal thickness, it can be arranged on the optional position in terminal, be conducive to the aesthetics increasing terminal, and judge whether this terminal is in non-screen lock state by increasing before obtain triggering command that volume adjusting sensor receives in terminal, and judge that this terminal prevents the need of the operation of output audio the maloperation that user triggers when not needing volume adjusting, the experience of user can be improved so further.
Refer to Fig. 3, Fig. 3 is the schematic flow sheet of the volume adjusting method of the embodiment of the present invention another terminal disclosed.Wherein, method shown in Fig. 3 can be applied in the terminals such as smart mobile phone (as Android phone, iOS mobile phone etc.), MP3, MP4, MP5, panel computer, palm PC and mobile internet device (MobileInternetDevices, MID), PAD.As shown in Figure 3, the volume adjusting method of this terminal can comprise the following steps;
The triggering command that volume adjusting sensor in S301, acquisition terminal receives.
In the embodiment of the present invention, volume adjusting sensor includes but not limited to proximity transducer, range sensor or light sensor, triggering command can comprise the gesture that swings, swing up and down predetermined number in gesture and preset time period close to or touch in volume adjusting sensor any one, the present embodiment does not limit, wherein, this triggering command is for starting the volume adjusting function of this terminal.
In the embodiment of the present invention, when volume adjusting sensor receives triggering command, terminal can obtain this triggering command, and then terminal can export information with the volume adjusting function of pointing out user whether to start terminal.
S302, output information.
In the embodiment of the present invention, the volume adjusting function of this information for pointing out user whether to start this terminal.When getting triggering command, first terminal can export an information, prompting user is the need of startup volume adjusting function, can prevent the situation opening volume adjusting function due to the maloperation of user from occurring like this, wherein, information can be any one in text prompt, voice message and vibration prompt, and the embodiment of the present invention does not limit.
The response message that S303, reception user input for this information.
In the embodiment of the present invention, this response message is used to indicate the volume adjusting function whether terminal starts this terminal, and namely user can input corresponding instruction according to self-demand and perform corresponding operation to make terminal.When this response message indicating terminal starts volume adjusting function, terminal can respond this triggering command and start volume adjusting function; When this response message indicating terminal does not start volume adjusting function, terminal can terminate this flow process.
S304, when this response message indicate this terminal start volume adjusting function time, respond the volume adjusting function that this triggering command starts this terminal.
In the embodiment of the present invention, when response message indicates this terminal to start volume adjusting function, terminal can respond this triggering command, starts volume adjusting function, and wherein, this volume adjusting function is carry out increasing the function reduced to volume.
S305, obtain the volume adjusting instruction that this volume adjusting sensor receives.
In the embodiment of the present invention, after terminal starts volume adjusting function, this terminal can obtain the volume adjusting instruction that volume adjusting sensor receives, this volume adjusting instruction can for being different from the gesture or swing up and down any one gestures such as gesture of swinging of triggering command, and the present embodiment does not limit.
S306, respond the volume that this volume adjusting instruction regulates this terminal.
In the embodiment of the present invention, after this terminal gets volume adjusting instruction, regulate the volume of this terminal according to this volume adjusting instruction, wherein, this volume adjusting instruction can increase regulating command or the instruction of volume down minor adjustment for volume.
S307, detect this volume adjusting sensor in preset time period and whether again receive volume adjusting instruction.
In the embodiment of the present invention, when again not receiving volume adjusting instruction, terminal performs step S308, and when again receiving volume adjusting instruction, terminal performs step S305.
In the embodiment of the present invention, preset time period can be 2 minutes, 3 minutes or 5 minutes, and the embodiment of the present invention does not limit.This preset time period can calculate from terminal starts volume adjusting function, also can be to calculate from the instruction of terminal response volume adjusting regulates volume, and the embodiment of the present invention does not limit.Terminal can detect this volume adjusting sensor in this preset time period and whether again receive volume adjusting instruction, if received, then terminal can obtain this volume adjusting instruction again, and responds the volume that this volume adjusting instruction regulates this terminal; If do not received, then terminal can close current volume adjusting function automatically.User needs to need again to open corresponding volume adjusting function when regulating volume, effectively can reduce taking and reducing the power consumption of terminal of terminal system resource like this.
S308, the volume adjusting function of closing a terminal.
Implementing the embodiment of the present invention can by sensor adjustment volume, improve the experience of user, and volume adjusting sensor is not by the restriction of terminal thickness, it can be arranged on the optional position in terminal, be conducive to the aesthetics increasing terminal, and when terminal detects that this volume adjusting sensor does not receive volume adjusting instruction again in preset time period, terminal automatically can close the volume adjusting function of current startup, effectively to reduce taking and reducing the power consumption of terminal of terminal system resource.
Refer to Fig. 4, Fig. 4 is the structural representation of a kind of terminal disclosed in the embodiment of the present invention.As shown in Figure 4, this terminal 400 can comprise the first acquiring unit 401, start unit 402, second acquisition unit 403 and regulon 404, wherein:
First acquiring unit 401, the triggering command that the volume adjusting sensor for obtaining in terminal 400 receives.
In the embodiment of the present invention, volume adjusting sensor includes but not limited to proximity transducer, range sensor or light sensor, triggering command can comprise the gesture that swings, swing up and down predetermined number in gesture and preset time period close to or touch in volume adjusting sensor any one, the present embodiment does not limit, wherein, this triggering command is for starting the volume adjusting function of this terminal 400.When volume adjusting sensor receives triggering command, the first acquiring unit 401 can obtain this triggering command, and then start unit 402 can start the volume adjusting function of this terminal 400 according to this triggering command.
Start unit 402, for responding the triggering command that above-mentioned first acquiring unit 401 gets, and starts the volume adjusting function of this terminal 400.
In the embodiment of the present invention, when the first acquiring unit 401 gets triggering command, start unit 402 can respond this triggering command and start the volume adjusting function of this terminal 400, and wherein, this volume adjusting function is carry out increasing the function reduced to volume.
Second acquisition unit 403, after starting volume adjusting function at above-mentioned start unit 402, obtains the volume adjusting instruction that this volume adjusting sensor receives.
In the embodiment of the present invention, when start unit 402 starts volume adjusting function, second acquisition unit 403 can obtain the volume adjusting instruction that volume adjusting sensor receives, this volume adjusting instruction is the gesture or swing up and down any one gestures such as gesture of swinging being different from triggering command, and the present embodiment does not limit.
Regulon 404, for responding the volume adjusting instruction that above-mentioned second acquisition unit 403 gets, and regulates the volume of this terminal 400.
In the embodiment of the present invention, when second acquisition unit 403 gets volume adjusting instruction, this regulon 404 can regulate the volume of this terminal 400 according to this volume adjusting instruction.Wherein, this volume adjusting instruction can increase regulating command or the instruction of volume down minor adjustment for volume.
As the optional embodiment of one, this terminal 400 can be provided with a volume adjusting sensor, and this volume adjusting sensor for receive user input the volume adjusting function for starting terminal 400 triggering command and for regulating the volume adjusting instruction of terminal 400 volume.
As the optional embodiment of another kind, this terminal 400 can be provided with the first volume adjusting sensor for increasing volume and the second volume adjusting sensor for reducing volume, during the triggering command that the first volume adjusting sensor namely obtained in terminal 400 when the first acquiring unit 401 receives, triggering command increases function specifically for the volume starting this terminal 400, and volume adjusting instruction is used to indicate the amplitude that volume increases; When the triggering command that the second volume adjusting sensor that the first acquiring unit 401 obtains in terminal 400 receives, this triggering command reduces function specifically for the volume starting this terminal 400, and volume adjusting instruction is used to indicate the amplitude that volume reduces.
For example, after the first volume adjusting sensor receives triggering command, start unit 402 can start volume and increase function, when second acquisition unit 403 gets volume adjusting instruction, regulon 404 can increase according to the volume of this volume adjusting instruction instruction the volume that amplitude increases this terminal 400 accordingly.
Implement the embodiment of the present invention and by sensor adjustment volume, can improve the experience of user, and volume adjusting sensor is not by the restriction of terminal thickness, it can be arranged on the optional position in terminal, is conducive to the aesthetics increasing terminal.
Refer to Fig. 5, Fig. 5 is the structural representation of another kind of terminal disclosed in the embodiment of the present invention.As shown in Figure 5, this terminal 500 can comprise the first acquiring unit 501, start unit 502, second acquisition unit 503 and regulon 504, wherein:
First acquiring unit 501, the triggering command that the volume adjusting sensor for obtaining in terminal 500 receives.
Start unit 502, for responding the triggering command that above-mentioned first acquiring unit 501 gets, and starts the volume adjusting function of this terminal 500.
Wherein, as shown in Figure 5, above-mentioned start unit 502 can comprise query unit 5021 and performance element 5022, wherein:
Query unit 5021, in the mapping relations table between the triggering command that prestores from this terminal 500 and volume adjusting function, inquires about the volume adjusting function that this triggering command is corresponding.
Performance element 5022, for starting this volume adjusting function.
In the embodiment of the present invention, the volume adjusting function that different triggering command can be corresponding different, now, volume adjusting function comprises volume and increases function and volume reduction function.When the first acquiring unit 501 gets the triggering command that volume adjusting sensor receives, query unit 5021 first can inquire about volume adjusting function corresponding to this triggering command from the triggering command prestored with the mapping relations table between volume adjusting function, and starts this volume adjusting function.
In the embodiment of the present invention, the mapping relations table between the triggering command that query unit 5021 prestores from this terminal 500 and volume adjusting function, the concrete mode of inquiring about volume adjusting function corresponding to this triggering command can be:
Judge whether there is this triggering command in the mapping relations table between the triggering command that this terminal 500 prestores and volume adjusting function, when judging to there is this triggering command in this mapping relations table, from this mapping relations table, inquire about volume adjusting function corresponding to this triggering command.
For example, terminal 500 can volume adjusting function corresponding to prespecified different triggering command, opens volume increase function as the gesture correspondence that swings, and swing up and down gesture correspondence and open volume and reduce function etc., the present embodiment does not limit.When the first acquiring unit 501 gets the triggering command of the gesture that swings that volume adjusting sensor receives, query unit 5021 first can judge whether this triggering command is present in the mapping relations table stored in advance, if existed, query unit 5021 just can inquire this triggering command corresponding be volume increase function, therefore, performance element 5022 just can start volume and increase function.When second acquisition unit 503 gets volume adjusting instruction, regulon 504 will increase amplitude according to the volume of this volume adjusting instruction instruction and increase terminal 500 volume accordingly.
Second acquisition unit 503, after starting volume adjusting function at above-mentioned start unit 502, obtains the volume adjusting instruction that this volume adjusting sensor receives.
Regulon 504, for responding the volume adjusting instruction that above-mentioned second acquisition unit 503 gets, and regulates the volume of this terminal 500.
Implement the embodiment of the present invention and by sensor adjustment volume, can improve the experience of user, and volume adjusting sensor is not by the restriction of terminal thickness, it can be arranged on the optional position in terminal, is conducive to the aesthetics increasing terminal.
Refer to Fig. 6, Fig. 6 is the structural representation of the embodiment of the present invention another terminal disclosed.As shown in Figure 6, this terminal 600 can comprise the second judging unit 601, first judging unit 602, first acquiring unit 603, output unit 604, receiving element 605, start unit 606, second acquisition unit 607, regulon 608, detecting unit 609 and closing unit 610, wherein:
Second judging unit 601, for judging whether the screen of this terminal 600 is in non-screen lock state.
In the embodiment of the present invention, first second judging unit 601 can judge whether this terminal 600 is in non-screen lock state, if terminal 600 is not in non-screen lock state, then the volume adjusting sensor of terminal 600 can not receive the triggering command of user, and other unit namely in terminal 600 except the second judging unit 601 does not perform any operation; If this terminal 600 is in non-screen lock state, then the first judging unit 602 will judge that this terminal 600 is the need of output audio.
First judging unit 602, for when above-mentioned second judging unit 601 judges that the screen of this terminal 600 is in non-screen lock state, judges that this terminal 600 is the need of output audio.
In the embodiment of the present invention, first judging unit 602 judges that this terminal 600 the need of the concrete mode of output audio can be: judge whether this terminal 600 starts audio service application, and audio service is applied as the application needing to carry out volume adjusting, wherein, audio service application can comprise music player, video player, recording application and have phonetic function social activity application in any one, the embodiment of the present invention does not limit.When above-mentioned second judging unit 601 judges that terminal 600 is in non-screen lock state, the first judging unit 602 can judge that this terminal 600 is the need of output audio further.When judging that this terminal 600 needs output audio, the first acquiring unit 603 obtains the triggering command that the volume adjusting sensor in terminal 600 receives again; When judging that this terminal 600 does not need output audio, the volume adjusting sensor in this terminal 600 can not receive the triggering command of user, and other unit namely in terminal 600 except the second judging unit 601 and the first judging unit 602 does not perform any operation.
For example, if terminal 600 starts music player, volume adjusting sensor can detect user the moment and whether have input triggering command, and when this volume adjusting sensor detects triggering command, the first acquiring unit 603 just can obtain this triggering command.If terminal 600 does not start any audio service application needing to carry out volume adjusting, then volume adjusting sensor can not work, and can prevent the maloperation of user like this.
First acquiring unit 603, during for judging that at above-mentioned first judging unit 602 this terminal 600 needs output audio, obtains the triggering command that the volume adjusting sensor in this terminal 600 receives.
In the embodiment of the present invention, when above-mentioned first judging unit 602 judges that this terminal 600 needs output sound, this first acquiring unit 603 just can obtain the triggering command that the volume adjusting sensor in this terminal 600 receives.Wherein, triggering command is for starting the volume adjusting function of this terminal 600, wherein, volume adjusting sensor includes but not limited to proximity transducer, range sensor or light sensor, triggering command can comprise the gesture that swings, swing up and down predetermined number in gesture and preset time period close to or touch in volume adjusting sensor any one, the present embodiment does not limit.When volume adjusting sensor receives triggering command, the first acquiring unit 603 can obtain this triggering command, and then according to this triggering command, output unit 604 can export information prompting user and whether start this volume adjusting function.
Output unit 604, exports information for getting triggering command according to above-mentioned first acquiring unit 603.
In the embodiment of the present invention, the volume adjusting function of this information for pointing out user whether to start this terminal 600, when above-mentioned first acquiring unit 603 gets triggering command, output unit 604 can export an information, prompting user is the need of the volume adjusting function starting terminal 600, need the prerequisite of output audio like this in terminal 600 under, can prevent from opening a terminal due to the maloperation of user 600 the situation of volume adjusting function occur, wherein, information can be text prompt, any one in voice message and vibration prompt, the embodiment of the present invention does not limit.
Receiving element 605, for receiving the response message of the information input that user exports for above-mentioned output unit 604.
In the embodiment of the present invention, this response message is used to indicate the volume adjusting function whether terminal 600 starts this terminal 600, and namely user can input command adapted thereto according to self-demand and perform corresponding operation to make terminal 600.When this response message be indicating terminal 600 start the volume adjusting function of terminal 600 time, start unit 606 can respond this triggering command start volume adjusting function; When this response message be indicating terminal 600 do not start volume adjusting function time, 600, terminal does not do any operation.
Start unit 606, for the response message instruction that receives at above-mentioned receiving element 605 be this terminal 600 start the volume adjusting function of terminal 600 time, respond this triggering command and start the volume adjusting function of terminal 600.
In the embodiment of the present invention, the volume adjusting function that start unit 606 responds this triggering command startup terminal 600 can start for this triggering command of response the volume adjusting function needing to carry out the audio service application of volume adjusting started in terminal 600.
In the embodiment of the present invention, when the response message that receiving element 605 receives is when indicating this terminal 600 to start the volume adjusting function of terminal 600, start unit 606 can respond this triggering command, start the volume adjusting function of terminal 600, wherein, this volume adjusting function is carry out increasing the function reduced to volume.
Second acquisition unit 607, after starting volume adjusting function at above-mentioned start unit 606, obtains the volume adjusting instruction that this volume adjusting sensor receives.
In the embodiment of the present invention, after start unit 606 starts volume adjusting function, second acquisition unit 607 can obtain the volume adjusting instruction that volume adjusting sensor receives, this volume adjusting instruction is the gesture or swing up and down any one gestures such as gesture of swinging being different from triggering command, and the present embodiment does not limit.
Regulon 608, for responding the volume adjusting instruction that above-mentioned second acquisition unit 607 gets, and regulates the volume of this terminal 600.
In the embodiment of the present invention, this second acquisition unit 607 is when getting volume adjusting instruction, regulon 608 can regulate the volume of this terminal 600 according to this volume adjusting instruction, wherein, this volume adjusting instruction can increase regulating command or the instruction of volume down minor adjustment for volume.
Whether detecting unit 609, receive volume adjusting instruction again for detecting this volume adjusting sensor in preset time period.
In the embodiment of the present invention, preset time period can comprise 2 minutes, 3 minutes or 5 minutes, the embodiment of the present invention does not limit.This preset time period can calculate from start unit 606 starts volume adjusting function, also can be to respond volume adjusting instruction regulates volume from regulon 608 to calculate, and the embodiment of the present invention does not limit.Detecting unit 609 can detect this volume adjusting sensor in this preset time period and whether again have received volume adjusting instruction, if received, then second acquisition unit 607 can obtain this volume adjusting instruction again, thus regulon 608 responds the volume that this volume adjusting instruction regulates this terminal 600; If do not received, then closing unit 610 can close current volume adjusting function automatically.User needs to need again to open corresponding volume adjusting function when regulating volume, effectively can reduce taking and reducing the power consumption of terminal 600 of terminal system resource like this.
Closing unit 610, for when above-mentioned detecting unit 609 detects that this volume adjusting sensor does not receive volume adjusting instruction again in preset time period, closes the volume adjusting function of current startup.
In the embodiment of the present invention, when detecting unit 609 detects that this volume adjusting sensor does not receive volume adjusting instruction again in preset time period, closing unit 610 can close the volume adjusting function of current startup automatically.
Implementing the embodiment of the present invention can by sensor adjustment volume, improve the experience of user, and volume adjusting sensor is not by the restriction of terminal thickness, it can be arranged on the optional position in terminal, be conducive to the aesthetics increasing terminal, and when terminal detects that this volume adjusting sensor does not receive volume adjusting instruction again in preset time period, terminal automatically can close the volume adjusting function of current startup, effectively to reduce taking and reducing the power consumption of terminal of terminal system resource.
Refer to Fig. 7, Fig. 7 is the structural representation of the embodiment of the present invention another terminal disclosed.As shown in Figure 7, this terminal 700 can comprise: at least one processor 701, as CPU, input media 702, output unit 703, storer 704 and at least one communication bus 705, storer 704 can be high-speed RAM storer, also can be non-labile storer (non-volatile memory), as at least one magnetic disk memory, optionally, storer 704 can also be that at least one is positioned at the memory storage away from aforementioned processor 701.Wherein:
Communication bus 705, for realizing the connection communication between these assemblies;
Input media 702, for obtaining triggering command and volume adjusting instruction, wherein, above-mentioned input media 702 (i.e. volume adjusting sensor) specifically can comprise any one in the proximity transducer of terminal 700, range sensor and light sensor.
Processor 701 calls the program code stored in storer 704, for performing following operation:
When input media 702 gets triggering command, respond the volume adjusting function that this triggering command starts terminal 700.
When input media 702 gets volume adjusting instruction, respond the volume that this volume adjusting instruction regulates terminal 700.
In one embodiment, before input media 702 gets triggering command, processor 701 calls the program code stored in storer 704, also for performing following operation:
Judge that terminal 700 is the need of output audio, when judging that terminal 700 needs output audio, input media 702 obtains triggering command.
In one embodiment, before processor 701 judges that terminal 700 is the need of output audio, processor 701 calls the program code stored in storer 704, also for performing following operation:
Judge whether the screen of terminal 700 is in non-screen lock state, when judging that the screen of terminal 700 is in non-screen lock state, processor 701 judges that terminal 700 is the need of output audio.
In one embodiment, terminal 700 can be provided with a volume adjusting sensor, namely input media 702 can comprise a volume adjusting sensor, and this volume adjusting sensor for receive user input the volume adjusting function for starting terminal 700 triggering command and for regulating the volume adjusting instruction of terminal 700 volume.
In one embodiment, terminal 700 can be provided with the first volume adjusting sensor for increasing volume or the second volume adjusting sensor for reducing volume, namely input media 702 can comprise the first volume adjusting sensor and the second volume adjusting sensor, when the first volume adjusting sensor gets triggering command and volume adjusting instruction, triggering command increases function specifically for the volume starting terminal 700, and volume adjusting instruction is used to indicate the amplitude that volume increases; When the second volume adjusting sensor gets triggering command and volume adjusting instruction, triggering command reduces function specifically for the volume starting terminal 700, and volume adjusting instruction is used to indicate the amplitude that volume reduces.
In one embodiment, processor 701 responds this triggering command and starts the volume adjusting function of terminal 700 and can comprise:
Mapping relations table between the triggering command prestored from terminal 700 and volume adjusting function, the volume adjusting function that querying triggering instruction is corresponding, volume adjusting function is that volume increases function or volume reduces function;
Start volume adjusting function.
Wherein, the mapping relations table between the triggering command that processor 701 prestores from terminal 700 and volume adjusting function, the concrete mode of the volume adjusting function that querying triggering instruction is corresponding can be:
Judge whether there is triggering command in the mapping relations table between the triggering command that terminal 700 prestores and volume adjusting function, when judging to there is triggering command in mapping relations table, the volume adjusting function that querying triggering instruction is corresponding from mapping relations table.
In one embodiment, output unit 703, triggering command for getting according to input media 702 exports information, wherein, information can be any one in text prompt, voice message and vibration prompt, output unit 703 can comprise the display screen of terminal 700 or the loudspeaker etc. of terminal 700, and the embodiment of the present invention does not limit.
Input media 702, can also be used for receiving the response message that user inputs for information, wherein, response message is used to indicate terminal 700 and whether starts volume adjusting function, when response message indicating terminal 700 starts volume adjusting function, processor 701 in terminal 700 starts volume adjusting function, and wherein, input media 702 can also comprise the display screen of terminal 700 or the microphone etc. of terminal 700.
In one embodiment, processor 701 calls the program code stored in storer 704, also for performing following operation:
Detect input media 702 in preset time period and whether again receive volume adjusting instruction;
When input media 702 does not receive volume adjusting instruction again in preset time period, close volume adjusting function.
Implementing the embodiment of the present invention can by sensor adjustment volume, improve the experience of user, and volume adjusting sensor is not by the restriction of terminal thickness, it can be arranged on the optional position in terminal, be conducive to the aesthetics increasing terminal, and when terminal detects that this volume adjusting sensor does not receive volume adjusting instruction again in preset time period, terminal automatically can close the volume adjusting function of current startup, effectively to reduce taking and reducing the power consumption of terminal of terminal system resource.
It should be noted that, in the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields in certain embodiment, there is no the part described in detail, can see the associated description of other embodiments.Secondly, those skilled in the art also should know, the embodiment described in instructions all belongs to preferred embodiment, and involved action and unit might not be that the present invention is necessary.
Step in embodiment of the present invention method can be carried out order according to actual needs and be adjusted, merges and delete.
Unit in embodiment of the present invention terminal can carry out merging, divide and deleting according to actual needs.
Unit described in the embodiment of the present invention, universal integrated circuit can be passed through, such as CPU (CentralProcessing Unit, central processing unit), or realized by ASIC (Application Specific Integrated Circuit, special IC).
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
Above a kind of volume adjusting method of terminal disclosed in the embodiment of the present invention is described in detail, apply instantiation herein to set forth principle of the present invention and embodiment, the explanation of above embodiment just understands the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.
Claims (10)
1. a volume adjusting method for terminal, is characterized in that, comprising:
Obtain the triggering command that the volume adjusting sensor in terminal receives;
Respond the volume adjusting function that described triggering command starts described terminal;
Obtain the volume adjusting instruction that described volume adjusting sensor receives;
Respond the volume that described volume adjusting instruction regulates described terminal.
2. method according to claim 1, is characterized in that, before the triggering command that the volume adjusting sensor in described acquisition terminal receives, described method also comprises:
Judge that terminal is the need of output audio;
When terminal needs output audio, perform the operation of the triggering command that the volume adjusting sensor in described acquisition terminal receives.
3. method according to claim 2, is characterized in that, described judgement terminal is the need of before output audio, and described method also comprises:
Judge whether the screen of terminal is in non-screen lock state;
When the screen of terminal is in non-screen lock state, perform the operation of described judgement terminal the need of output audio.
4. the method according to any one of claims 1 to 3, is characterized in that, described volume adjusting sensor comprises the first volume adjusting sensor for increasing volume or the second volume adjusting sensor for reducing volume;
When described volume adjusting sensor is described first volume adjusting sensor, described triggering command increases function specifically for the volume starting described terminal, and described volume adjusting instruction is used to indicate the amplitude that volume increases.
5. method according to claim 4, it is characterized in that, when described volume adjusting sensor is described second volume adjusting sensor, described triggering command reduces function specifically for the volume starting described terminal, and described volume adjusting instruction is used to indicate the amplitude that volume reduces.
6. method according to claim 1, is characterized in that, the described triggering command of described response starts the volume adjusting function of described terminal, comprising:
Mapping relations table between the triggering command prestored from described terminal and volume adjusting function, inquire about the volume adjusting function that described triggering command is corresponding, described volume adjusting function is that volume increases function or volume reduces function;
Start described volume adjusting function.
7. method according to claim 6, is characterized in that, the mapping relations table between the described triggering command that prestores from described terminal and volume adjusting function, inquires about the volume adjusting function that described triggering command is corresponding, comprising:
Judge whether there is described triggering command in the mapping relations table between the triggering command that described terminal prestores and volume adjusting function;
When there is described triggering command in described mapping relations table, from described mapping relations table, inquire about volume adjusting function corresponding to described triggering command.
8. method according to claim 1, is characterized in that, before the described triggering command of described response starts the volume adjusting function of described terminal, after the triggering command that the volume adjusting sensor in described acquisition terminal receives, described method also comprises:
Export information, the volume adjusting function of described information for pointing out user whether to start described terminal;
Receive the response message that user inputs for described information, described response message is used to indicate the volume adjusting function whether described terminal starts described terminal;
When described response message indicates described terminal to start the volume adjusting function of described terminal, perform the operation that the described triggering command of described response starts the volume adjusting function of described terminal.
9. the method according to claim 1 or 8, is characterized in that, described method also comprises:
Detect described volume adjusting sensor in preset time period and whether again receive volume adjusting instruction;
When volume adjusting sensor described in preset time period does not receive volume adjusting instruction again, close described volume adjusting function.
10. method according to claim 1, is characterized in that, described volume adjusting sensor comprises proximity transducer, range sensor or light sensor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410789604.9A CN104572007A (en) | 2014-12-17 | 2014-12-17 | Method for adjusting sound volume of terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410789604.9A CN104572007A (en) | 2014-12-17 | 2014-12-17 | Method for adjusting sound volume of terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104572007A true CN104572007A (en) | 2015-04-29 |
Family
ID=53088187
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410789604.9A Pending CN104572007A (en) | 2014-12-17 | 2014-12-17 | Method for adjusting sound volume of terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104572007A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106303030A (en) * | 2016-08-15 | 2017-01-04 | 努比亚技术有限公司 | Terminal and volume adjusting method |
CN106896949A (en) * | 2015-12-21 | 2017-06-27 | 阿里巴巴集团控股有限公司 | The actuation means of smart machine, smart machine, method of controlling operation thereof and device |
CN107368280A (en) * | 2017-07-06 | 2017-11-21 | 北京小米移动软件有限公司 | Method for controlling volume, device and the interactive voice equipment of interactive voice |
CN108021252A (en) * | 2016-10-31 | 2018-05-11 | 北京小米移动软件有限公司 | Adjust the method and touch control terminal of volume |
CN108694036A (en) * | 2017-03-29 | 2018-10-23 | 京瓷办公信息系统株式会社 | Voice entry system, speech input device and its recording medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1871838A (en) * | 2003-10-22 | 2006-11-29 | 三洋电机株式会社 | Mobile telephone apparatus, display method, and program |
US20080055263A1 (en) * | 2006-09-06 | 2008-03-06 | Lemay Stephen O | Incoming Telephone Call Management for a Portable Multifunction Device |
CN101958950A (en) * | 2010-05-17 | 2011-01-26 | 宇龙计算机通信科技(深圳)有限公司 | Volume adjusting method of mobile terminal and mobile terminal |
CN102054411A (en) * | 2009-10-30 | 2011-05-11 | 陈能 | Device and method for automatically playing audio advertisements |
CN102457688A (en) * | 2011-12-30 | 2012-05-16 | 四川长虹电器股份有限公司 | Intelligent regulation method for volume and channel of television |
CN102819223A (en) * | 2011-06-07 | 2012-12-12 | 联想(北京)有限公司 | Control method, control device and electronic device |
CN103294381A (en) * | 2012-03-02 | 2013-09-11 | 富泰华工业(深圳)有限公司 | Electronic device and volume adjustment method thereof |
-
2014
- 2014-12-17 CN CN201410789604.9A patent/CN104572007A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1871838A (en) * | 2003-10-22 | 2006-11-29 | 三洋电机株式会社 | Mobile telephone apparatus, display method, and program |
US20080055263A1 (en) * | 2006-09-06 | 2008-03-06 | Lemay Stephen O | Incoming Telephone Call Management for a Portable Multifunction Device |
CN102054411A (en) * | 2009-10-30 | 2011-05-11 | 陈能 | Device and method for automatically playing audio advertisements |
CN101958950A (en) * | 2010-05-17 | 2011-01-26 | 宇龙计算机通信科技(深圳)有限公司 | Volume adjusting method of mobile terminal and mobile terminal |
CN102819223A (en) * | 2011-06-07 | 2012-12-12 | 联想(北京)有限公司 | Control method, control device and electronic device |
CN102457688A (en) * | 2011-12-30 | 2012-05-16 | 四川长虹电器股份有限公司 | Intelligent regulation method for volume and channel of television |
CN103294381A (en) * | 2012-03-02 | 2013-09-11 | 富泰华工业(深圳)有限公司 | Electronic device and volume adjustment method thereof |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106896949A (en) * | 2015-12-21 | 2017-06-27 | 阿里巴巴集团控股有限公司 | The actuation means of smart machine, smart machine, method of controlling operation thereof and device |
WO2017107813A1 (en) * | 2015-12-21 | 2017-06-29 | 阿里巴巴集团控股有限公司 | Control apparatus of smart device, smart device, and method and apparatus for operation control |
CN106303030A (en) * | 2016-08-15 | 2017-01-04 | 努比亚技术有限公司 | Terminal and volume adjusting method |
CN106303030B (en) * | 2016-08-15 | 2019-08-20 | 努比亚技术有限公司 | Terminal and volume adjusting method |
CN108021252A (en) * | 2016-10-31 | 2018-05-11 | 北京小米移动软件有限公司 | Adjust the method and touch control terminal of volume |
CN108694036A (en) * | 2017-03-29 | 2018-10-23 | 京瓷办公信息系统株式会社 | Voice entry system, speech input device and its recording medium |
CN108694036B (en) * | 2017-03-29 | 2021-02-19 | 京瓷办公信息系统株式会社 | Voice input system, voice input device and recording medium thereof |
CN107368280A (en) * | 2017-07-06 | 2017-11-21 | 北京小米移动软件有限公司 | Method for controlling volume, device and the interactive voice equipment of interactive voice |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106507445B (en) | Wireless fidelity Wi-Fi scanning method and mobile terminal | |
RU2667717C2 (en) | Environmentally aware dialog policies and response generation | |
TWI696170B (en) | System, method and storage device for capturing voice data from user | |
CN104572007A (en) | Method for adjusting sound volume of terminal | |
GB2534274A (en) | Gaze triggered voice recognition | |
CN109101517B (en) | Information processing method, information processing apparatus, and medium | |
CN105739942A (en) | Volume adjusting method and terminal | |
CN105068692A (en) | Volume adjustment method and user terminal | |
WO2016197337A1 (en) | Short message processing method and apparatus, and electronic device | |
WO2018107396A1 (en) | Fingerprint recognition method and terminal device | |
CN104571856A (en) | Terminal | |
CN106161776B (en) | Volume adjusting method and mobile terminal | |
KR20140003035A (en) | Control method for terminal using context-aware and terminal thereof | |
CN111462785A (en) | Recording control method, recording control device, storage medium and mobile terminal | |
CN107770845B (en) | mobile hotspot management method and device, terminal and storage medium | |
CN105353942A (en) | Information output method and terminal | |
CN110086941B (en) | Voice playing method and device and terminal equipment | |
CN104880968A (en) | Alarm clock control method and device | |
WO2020103562A1 (en) | Voice processing method and apparatus | |
CN105242859A (en) | Voice information processing method and terminal | |
CN110868347A (en) | Message prompting method, device and system | |
CN104978165A (en) | Voice information processing method and system and electronic device | |
CN104754099A (en) | Conversation volume adjusting method | |
WO2019061292A1 (en) | Noise reduction method for terminal and terminal | |
WO2019061323A1 (en) | Noise canceling method and terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20150429 |