CN104682908A - Method and device for controlling volume - Google Patents

Method and device for controlling volume Download PDF

Info

Publication number
CN104682908A
CN104682908A CN201510050722.2A CN201510050722A CN104682908A CN 104682908 A CN104682908 A CN 104682908A CN 201510050722 A CN201510050722 A CN 201510050722A CN 104682908 A CN104682908 A CN 104682908A
Authority
CN
China
Prior art keywords
volume
current
described target
received
target volume
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
Application number
CN201510050722.2A
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.)
Beijing Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510050722.2A priority Critical patent/CN104682908A/en
Publication of CN104682908A publication Critical patent/CN104682908A/en
Pending legal-status Critical Current

Links

Abstract

The invention relates to a method and a device for controlling volume, and aims to improve the output effect of the volume. The method comprises the following steps: receiving an input volume adjustment command which comprises adjusting target volume; determining a middle volume between current volume and the received target volume; according to preset time interval, adjusting the current volume to the middle volume, and adjusting the middle volume to the target volume.

Description

Control method and the device of volume
Technical field
The disclosure relates to electronics and computer disposal field, particularly relates to the method and device that control volume.
Background technology
Along with the development of electronic technology, the electronic equipments such as television set, mobile phone, sound equipment emerge in an endless stream.These electronic equipments all have audio playing function.User can regulate volume by modes such as entity button or slip touch-screens.
Summary of the invention
For overcoming Problems existing in correlation technique, the disclosure provides a kind of method and the device that control volume.
According to the first aspect of disclosure embodiment, a kind of method controlling volume is provided, comprises:
Receive the volume adjustment command of input, described volume adjustment command comprises the target volume of adjustment, and wherein said target volume is greater than current volume;
Determine the middle volume between current volume and the described target volume received;
According to the duration interval of presetting, described current volume is adjusted to described middle volume, and described middle volume is adjusted to described target volume.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect: the present embodiment after receiving volume adjustment command not at once by volume adjusting to target volume, but in the middle of utilizing, volume carries out transition, and current volume is progressively adjusted to target volume.What make volume increase is more level and smooth, reduces the stimulation to user ear, improves Consumer's Experience.
In one embodiment, described method also comprises:
Judge whether described target volume is greater than default volume threshold;
The described middle volume determined between current volume and the described target volume received, comprising: when described target volume is greater than default volume threshold, determines the middle volume between current volume and the described target volume received.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect: in the present embodiment when target volume is larger, time especially beyond general earshot, heightens volume is smoothing, reduces louder volume to the stimulation of user ear.
In one embodiment, described method also comprises:
Judge whether the difference of described target volume and the current volume received is greater than default amplitude threshold;
The described middle volume determined between current volume and the described target volume received, comprising:
When the difference of the described target volume received and current volume is greater than default amplitude threshold, determine the middle volume between current volume and the described target volume received.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect: heighten volume is smoothing when volume change amplitude is larger in the present embodiment, reduces volume and becomes the large stimulation to user ear instantaneously.
In one embodiment, the described middle volume determined between current volume and the described target volume received, comprising:
According to the adjustment step-length preset, determine the middle volume between current volume and the described target volume received; Or
According to the total duration preset and the number of middle volume, determine duration interval, and determine the middle volume between current volume and the described target volume received; Or
According to the described target volume received and the difference of current volume and the number of middle volume, determine to regulate step-length, and determine the middle volume between current volume and the described target volume received.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect: the present embodiment provides the multiple mode determining middle volume, can select according to actual needs, be applicable to plurality of application scenes.
In one embodiment, the span at described default duration interval is 0.5 ~ 1.5 second.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect: the present embodiment provides the duration interval of a moderate range, has both achieved seamlessly transitting of volume, can meet again the demand heightening volume, reduces the misoperation that user heightens volume.
According to the second aspect of disclosure embodiment, a kind of device controlling volume is provided, comprises:
Receiver module, for receiving the volume adjustment command of input, described volume adjustment command comprises the target volume of adjustment;
Intermediate module, for determining the middle volume between current volume and the described target volume received;
Adjusting module, for according to the duration interval of presetting, is adjusted to described middle volume by described current volume, and described middle volume is adjusted to described target volume.
In one embodiment, described device also comprises:
First judge module, for judging whether described target volume is greater than default volume threshold;
Described adjusting module, when described target volume is greater than default volume threshold, determines the middle volume between current volume and the described target volume received.
In one embodiment, described device also comprises:
Second judge module, for judging whether the difference of described target volume and the current volume received is greater than default amplitude threshold;
Described adjusting module, when the difference of the described target volume received and current volume is greater than default amplitude threshold, determines the middle volume between current volume and the described target volume received.
In one embodiment, described intermediate module comprises: the first middle sub-module, the second middle sub-module or the 3rd middle sub-module.
First middle sub-module, for according to the adjustment step-length preset, determines the middle volume between current volume and the described target volume received;
Second middle sub-module, for the number according to the total duration preset and middle volume, determines duration interval, and determines the middle volume between current volume and the described target volume received;
3rd middle sub-module, for according to current volume and the absolute value of difference of described target volume received and the number of middle volume, determines to regulate step-length, and determines the middle volume between current volume and the described target volume received.
In one embodiment, the span at described default duration interval is 0.5 ~ 1.5 second.
According to the third aspect of disclosure embodiment, a kind of device controlling volume is provided, comprises:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
Receive the volume adjustment command of input, described volume adjustment command comprises the target volume of adjustment;
Determine the middle volume between current volume and the described target volume received;
According to the duration interval of presetting, described current volume is adjusted to described middle volume, and described middle volume is adjusted to described target volume.
Should be understood that, it is only exemplary and explanatory that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing to be herein merged in specification and to form the part of this specification, shows and meets embodiment of the present disclosure, and is used from specification one and explains principle of the present disclosure.
Fig. 1 is a kind of flow chart controlling the method for volume according to an exemplary embodiment.
Fig. 2 is a kind of flow chart controlling the method for volume according to an exemplary embodiment.
Fig. 3 is a kind of flow chart controlling the method for volume according to an exemplary embodiment.
Fig. 4 is a kind of flow chart controlling the method for volume according to an exemplary embodiment.
Fig. 5 is a kind of block diagram controlling the device of volume according to an exemplary embodiment.
Fig. 6 is a kind of block diagram controlling the device of volume according to an exemplary embodiment.
Fig. 7 is a kind of block diagram controlling the device of volume according to an exemplary embodiment.
Fig. 8 is the block diagram of a kind of intermediate module according to an exemplary embodiment.
Fig. 9 is the block diagram of a kind of device according to an exemplary embodiment.
Embodiment
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Execution mode described in following exemplary embodiment does not represent all execution modes consistent with the disclosure.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present disclosure are consistent.
In correlation technique, much equipment all provides audio playing function, as mobile terminal, sound equipment etc.User can heighten the volume of equipment by modes such as the operating keys in the knob of rotation volume or slip touch-screen.User, when heightening volume, action may become large because of carelessness, make volume become very high instantaneously.Become large volume instantaneously and produce larger stimulation to the ear of user, user experiences poor.
For solving this problem, volume in the middle of the present embodiment increases according to the target volume that user regulates, is adjusted to middle volume from current volume, then from middle volume adjusting to target volume.Volume is progressively heightened, seamlessly transits as far as possible.Minimizing volume moment significantly uprises the stimulation to user ear, improves Consumer's Experience.
Fig. 1 is a kind of flow chart controlling the method for volume according to an exemplary embodiment, and as shown in Figure 1, the method can be realized by mobile terminal, comprises the following steps:
In a step 101, receive the volume adjustment command of input, described volume adjustment command comprises the target volume of adjustment.Wherein, target volume is greater than current volume.
In a step 102, the middle volume between current volume and the described target volume received is determined.
In step 103, according to the duration interval of presetting, described current volume is adjusted to described middle volume, and described middle volume is adjusted to described target volume.
Current volume, when receiving volume adjustment command, can not be adjusted to target volume according to volume adjustment command by the present embodiment at once.But utilize in the middle of volume carry out transition, make current volume level and smooth be transitioned into target volume.Reduce volume and become the large stimulation to user ear instantaneously.
In one embodiment, as option A, described method also comprises: steps A 1.
In steps A 1, judge whether described target volume is greater than default volume threshold.Such as, volume threshold is 100 decibels.
Step 102 can be realized by steps A 2.
In steps A 2, when described target volume is greater than default volume threshold, determine the middle volume between current volume and the described target volume received.
When described target volume is not more than default volume threshold, can uncertain middle volume, but current volume is directly adjusted to target volume.
The decibel value of general voice is at ordinary times about 40, and the decibel value of business district is about 70.If volume becomes greatly in a lower scope, smaller to the stimulation of user ear, now can not adopt and seamlessly transit.Contrary, if target volume is larger, obvious to the stimulation of user ear, now adopt the scheme meeting better effects if seamlessly transitted.In the present embodiment when target volume is greater than default volume threshold, determine that target volume is higher, larger on the impact of user ear.So now determine middle volume, in the middle of utilizing, volume carries out transition, and reduce the stimulation to user ear, effect is comparatively obvious.
In one embodiment, as option b, described method also comprises: step B1.
In step bl is determined., judge whether the difference of described target volume and the current volume received is greater than default amplitude threshold.
Step 102 can be realized by step B2.
In step B2, when the difference of the described target volume received and current volume is greater than default amplitude threshold, determine the middle volume between current volume and the described target volume received.
When the difference of the described target volume received and current volume is not more than default amplitude threshold, can uncertain middle volume, but current volume is directly adjusted to target volume.
The difference of target volume and current volume is larger, illustrates that the amplitude of variation of volume is larger, more obvious to the auditory perception of user, namely larger to the stimulation of user ear.If the smoothing transition when volume change amplitude is larger, can reduce the stimulation to user ear.The present embodiment utilizes amplitude threshold (as 20 decibels) to weigh the size of amplitude of variation.When the difference of target volume and current volume is greater than default amplitude threshold, determine that the amplitude of variation of volume is comparatively large, in the middle of utilizing, volume carries out transition, reduces the stimulation to user ear.
Option b can be combined with option A, that is, when described target volume is greater than default volume threshold, and when the difference of the described target volume received and current volume is greater than default amplitude threshold, determine the middle volume between current volume and the described target volume received.
In one embodiment, step 102 can have multiple implementation, as mode C1-mode C3.
Mode C1: according to the adjustment step-length preset, determine the middle volume between current volume and the described target volume received.
The adjustment step-length such as preset is 3 decibels, and current volume is 90 decibels, and target volume is 105 decibels, then have multiple middle volume, is respectively 93 decibels, 96 decibels, 99 decibels, 102 decibels.90 decibels from current volume are transitioned into target volume 105 decibels by 93 decibels, 96 decibels, 99 decibels and 102 decibels.In step 103, duration interval can be 0.3 second, within every 0.3 second, heightens a volume, then in 1.5 seconds, heightens target volume 105 decibels.So progressively heighten volume and acoustically realizing buffering, the stimulation to user ear can be reduced.
Mode C2: according to the total duration preset and the number of middle volume, determine duration interval, and determine the middle volume between current volume and the described target volume received.
In the present embodiment, user can total duration of regulating and controlling volume, and such as pre-configured total duration is 1.5 seconds, can be system default value, also can be configured by user.The number of middle volume also can be pre-configured, and the number as middle volume is 3.Duration interval can be obtained by being divided by with total duration again after the number of middle volume is added 1.And, the number of middle volume is added after 1 and be divided by by the difference of target volume and current volume again, can adjusted step-length.Then often through duration interval, heighten a volume according to adjustment step-length, current volume adds adjustment step-length and is middle volume, and the basis of this middle volume adds adjustment step-length again, obtains next middle volume, until adjust to target volume.
Such as, total duration is 1.5 seconds, and the number of middle volume is 3, and current volume is 90 decibels, and target volume is 105 decibels, then duration is spaced apart 1.5/ (3+1)=0.375 second.Step-length is regulated to be (105-90)/(3+1)=3.75 decibel.Middle volume has 93.75,97.5,101.25 respectively.If degree of regulation is limited, then regulate step-length can be 4 decibels (rounding up as adopted), then in the middle of, volume has 94,98,102 respectively.Often through duration interval, heighten a volume according to adjustment step-length.Being equivalent to | V2-V1|=at, V2 are target volume, and V1 is current volume, and " || " expression takes absolute value, and t is total duration, and a is the volume change amplitude in unit duration, and such as duration is spaced apart 1 second, and so a is equal to adjustment step-length.
In the present embodiment, the length of total duration is unsuitable too short, too short, and the effect seamlessly transitted is good, oversize not, and user can be made to feel that volume adjusting is inaccurate, user may be caused again to heighten volume and occur to regulate error.In the present embodiment, total duration can at about 1 second, and this is a moderate length.
Mode C3: according to the described target volume received and the difference of current volume and the number of middle volume, determines to regulate step-length, and determines the middle volume between current volume and the described target volume received.
Can the number of pre-configured middle volume and the time interval in the present embodiment, total duration can be known by the number of middle volume and the time interval.When determining the number of middle volume, current volume is made to be smoothly transitted into target volume by the adjustment of fixed number of times all the time.The number of middle volume is added after 1 and be divided by by the difference of target volume and current volume again, can adjusted step-length.Often through duration interval, heighten a volume according to adjustment step-length, current volume adds adjustment step-length and is middle volume, and the basis of this middle volume adds adjustment step-length again, obtains next middle volume, until adjust to target volume.
Such as, duration is spaced apart 0.5 second, and the number of middle volume is 3, and current volume is 90 decibels, and target volume is 105 decibels.Then, step-length is regulated to be (105-90)/(3+1)=3.75 decibel.Middle volume has 93.75,97.5,101.25 respectively.Often through duration interval, heighten a volume according to adjustment step-length.Total duration is 2 seconds.
Said process can be realized by processor, and processor often through a duration interval, sends a subcommand to volume control chip, and this order comprises middle volume or regulates step-length.Volume control chip sends signal according to the order received to volume amplifier, and volume adjustment made by instruction volume amplifier.
In one embodiment, the span at described default duration interval is 0.5 ~ 1.5 second.The present embodiment provides a moderate duration interval, and user can configure as required voluntarily.
The implementation procedure controlling volume is introduced in detail below by several embodiment.
Fig. 2 is a kind of flow chart controlling the method for volume according to an exemplary embodiment, and as shown in Figure 2, the method can be realized by mobile terminal, comprises the following steps:
In step 201, receive the volume adjustment command of input, described volume adjustment command comprises the target volume of adjustment.Wherein, target volume is greater than current volume.
In step 202., judge whether described target volume is greater than default volume threshold.When described target volume is greater than default volume threshold, continue step 203; When described target volume is not more than default volume threshold, continue step 205.
In step 203, according to the adjustment step-length preset, the middle volume between current volume and the described target volume received is determined.
In step 204, according to the duration interval of presetting, described current volume is adjusted to described middle volume, and described middle volume is adjusted to described target volume.
In step 205, current volume is adjusted to target volume.
Fig. 3 is a kind of flow chart controlling the method for volume according to an exemplary embodiment, and as shown in Figure 3, the method can be realized by mobile terminal, comprises the following steps:
In step 301, receive the volume adjustment command of input, described volume adjustment command comprises the target volume of adjustment.Wherein, target volume is greater than current volume.
In step 302, judge whether the difference of described target volume and the current volume received is greater than default amplitude threshold.When the difference of the described target volume received and current volume is greater than default amplitude threshold, continue step 303; When the difference of the described target volume received and current volume is not more than default amplitude threshold, continue step 306.
In step 303, according to the total duration preset and the number of middle volume, determine duration interval and regulate step-length.
In step 304, according to the adjustment step-length obtained, determine the middle volume between current volume and the described target volume received.
In step 305, according to the duration interval obtained, described current volume is adjusted to described middle volume, and described middle volume is adjusted to described target volume.
Within step 306, current volume is adjusted to target volume.
Fig. 4 is a kind of flow chart controlling the method for volume according to an exemplary embodiment, and as shown in Figure 4, the method can be realized by mobile terminal, comprises the following steps:
In step 401, receive the volume adjustment command of input, described volume adjustment command comprises the target volume of adjustment.Wherein, target volume is greater than current volume.
In step 402, judge whether described target volume is greater than default volume threshold.When described target volume is greater than default volume threshold, continue step 403; When described target volume is not more than default volume threshold, continue step 407.
In step 403, judge whether the difference of described target volume and the current volume received is greater than default amplitude threshold.When the difference of the described target volume received and current volume is greater than default amplitude threshold, continue step 404; When the difference of the described target volume received and current volume is not more than default amplitude threshold, continue step 407.
In step 404, according to the described target volume received and the difference of current volume and the number of middle volume, determine to regulate step-length.
In step 405, according to the adjustment step-length obtained, determine the middle volume between current volume and the described target volume received.
In a step 406, according to the duration interval of presetting, described current volume is adjusted to described middle volume, and described middle volume is adjusted to described target volume.
In step 407, current volume is adjusted to target volume.
Control the implementation procedure of volume by being described above to have separated, the equipment that this process has audio playing function by mobile terminal etc. realizes, and is introduced below for the internal structure of equipment and function.
Fig. 5 is a kind of device schematic diagram controlling volume according to an exemplary embodiment.With reference to Fig. 5, this device comprises: receiver module 501, intermediate module 502 and adjusting module 503.
Receiver module 501, for receiving the volume adjustment command of input, described volume adjustment command comprises the target volume of adjustment.
Intermediate module 502, for determining the middle volume between current volume and the described target volume received.
Adjusting module 503, for according to the duration interval of presetting, is adjusted to described middle volume by described current volume, and described middle volume is adjusted to described target volume.
In one embodiment, as shown in Figure 6, described device also comprises: the first judge module 504.
First judge module 504, for judging whether described target volume is greater than default volume threshold.
Described adjusting module 503, when described target volume is greater than default volume threshold, determines the middle volume between current volume and the described target volume received.
In one embodiment, as shown in Figure 7, described device also comprises: the second judge module 505.
Second judge module 505, for judging whether the difference of described target volume and the current volume received is greater than default amplitude threshold.
Described adjusting module 503, when the difference of the described target volume received and current volume is greater than default amplitude threshold, determines the middle volume between current volume and the described target volume received.
In one embodiment, as shown in Figure 8, described intermediate module 502 comprises: the first middle sub-module 5021, second middle sub-module 5022 or the 3rd middle sub-module 5023.
First middle sub-module 5021, for according to the adjustment step-length preset, determines the middle volume between current volume and the described target volume received.
Second middle sub-module 5022, for the number according to the total duration preset and middle volume, determines duration interval, and determines the middle volume between current volume and the described target volume received.
3rd middle sub-module 5023, for according to current volume and the absolute value of difference of described target volume received and the number of middle volume, determines to regulate step-length, and determines the middle volume between current volume and the described target volume received.
In one embodiment, the span at described default duration interval is 0.5 ~ 1.5 second.
About the device in above-described embodiment, wherein the concrete mode of modules executable operations has been described in detail in about the embodiment of the method, will not elaborate explanation herein.
Fig. 9 is the block diagram of a kind of device 900 for controlling volume according to an exemplary embodiment.Such as, device 900 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, flat-panel devices, Medical Devices, body-building equipment, personal digital assistant etc.
With reference to Fig. 9, device 900 can comprise following one or more assembly: processing components 902, memory 904, power supply module 906, multimedia groupware 908, audio-frequency assembly 910, the interface 912 of I/O (I/O), sensor cluster 914, and communications component 916.
The integrated operation of the usual control device 900 of processing components 902, such as with display, call, data communication, camera operation and record operate the operation be associated.Processing components 902 can comprise one or more processor 920 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 902 can comprise one or more module, and what be convenient between processing components 902 and other assemblies is mutual.Such as, processing unit 902 can comprise multi-media module, mutual with what facilitate between multimedia groupware 908 and processing components 902.
Memory 904 is configured to store various types of data to be supported in the operation of equipment 900.The example of these data comprises for any application program of operation on device 900 or the instruction of method, contact data, telephone book data, message, picture, video etc.Memory 904 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, disk or CD.
The various assemblies that electric power assembly 906 is device 900 provide electric power.Electric power assembly 906 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for device 900 and be associated.
Multimedia groupware 908 is included in the screen providing an output interface between described device 900 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises one or more touch sensor with the gesture on sensing touch, slip and touch panel.Described touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant to described touch or slide and pressure.In certain embodiments, multimedia groupware 908 comprises a front-facing camera and/or post-positioned pick-up head.When equipment 900 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 910 is configured to export and/or input audio signal.Such as, audio-frequency assembly 910 comprises a microphone (MIC), and when device 900 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The audio signal received can be stored in memory 904 further or be sent via communications component 916.In certain embodiments, audio-frequency assembly 910 also comprises a loud speaker, for output audio signal.
I/O interface 912 is for providing interface between processing components 902 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor cluster 914 comprises one or more transducer, for providing the state estimation of various aspects for device 900.Such as, sensor cluster 914 can detect the opening/closing state of equipment 900, the relative positioning of assembly, such as described assembly is display and the keypad of device 900, the position of an assembly of all right checkout gear 900 of sensor cluster 914 or device 900 changes, the presence or absence that user contacts with device 900, the variations in temperature of device 900 orientation or acceleration/deceleration and device 900.Sensor cluster 914 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor cluster 914 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor cluster 914 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communications component 916 is configured to the communication being convenient to wired or wireless mode between device 900 and other equipment.Device 900 can access the wireless network based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communication component 916 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, described communication component 916 also comprises near-field communication (NFC) module, to promote junction service.Such as, can based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 900 can be realized, for performing said method by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the memory 904 of instruction, above-mentioned instruction can perform said method by the processor 920 of device 900.Such as, described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
Control a device for volume, comprising:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
Receive the volume adjustment command of input, described volume adjustment command comprises the target volume of adjustment;
Determine the middle volume between current volume and the described target volume received;
According to the duration interval of presetting, described current volume is adjusted to described middle volume, and described middle volume is adjusted to described target volume.
Described processor can also be configured to:
Described method also comprises:
Judge whether described target volume is greater than default volume threshold;
The described middle volume determined between current volume and the described target volume received, comprising: when described target volume is greater than default volume threshold, determines the middle volume between current volume and the described target volume received.
Described processor can also be configured to:
Described method also comprises:
Judge whether the difference of described target volume and the current volume received is greater than default amplitude threshold;
The described middle volume determined between current volume and the described target volume received, comprising:
When the difference of the described target volume received and current volume is greater than default amplitude threshold, determine the middle volume between current volume and the described target volume received.
Described processor can also be configured to:
The described middle volume determined between current volume and the described target volume received, comprising:
According to the adjustment step-length preset, determine the middle volume between current volume and the described target volume received; Or
According to the total duration preset and the number of middle volume, determine duration interval, and determine the middle volume between current volume and the described target volume received; Or
According to the described target volume received and the difference of current volume and the number of middle volume, determine to regulate step-length, and determine the middle volume between current volume and the described target volume received.
Described processor can also be configured to:
The span at described default duration interval is 0.5 ~ 1.5 second.
A kind of non-transitory computer-readable recording medium, when the instruction in described storage medium is performed by the processor of mobile terminal, make mobile terminal can perform a kind of method controlling volume, described method comprises:
Receive the volume adjustment command of input, described volume adjustment command comprises the target volume of adjustment;
Determine the middle volume between current volume and the described target volume received;
According to the duration interval of presetting, described current volume is adjusted to described middle volume, and described middle volume is adjusted to described target volume.
Instruction in described storage medium can also comprise:
Described method also comprises:
Judge whether described target volume is greater than default volume threshold;
The described middle volume determined between current volume and the described target volume received, comprising: when described target volume is greater than default volume threshold, determines the middle volume between current volume and the described target volume received.
Instruction in described storage medium can also comprise:
Described method also comprises:
Judge whether the difference of described target volume and the current volume received is greater than default amplitude threshold;
The described middle volume determined between current volume and the described target volume received, comprising:
When the difference of the described target volume received and current volume is greater than default amplitude threshold, determine the middle volume between current volume and the described target volume received.
Instruction in described storage medium can also comprise:
The described middle volume determined between current volume and the described target volume received, comprising:
According to the adjustment step-length preset, determine the middle volume between current volume and the described target volume received; Or
According to the total duration preset and the number of middle volume, determine duration interval, and determine the middle volume between current volume and the described target volume received; Or
According to the described target volume received and the difference of current volume and the number of middle volume, determine to regulate step-length, and determine the middle volume between current volume and the described target volume received.
Instruction in described storage medium can also comprise:
The span at described default duration interval is 0.5 ~ 1.5 second.
Those skilled in the art, at consideration specification and after putting into practice invention disclosed herein, will easily expect other embodiment of the present disclosure.The application is intended to contain any modification of the present disclosure, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present disclosure and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Specification and embodiment are only regarded as exemplary, and true scope of the present disclosure and spirit are pointed out by claim below.
Should be understood that, the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.The scope of the present disclosure is only limited by appended claim.

Claims (11)

1. control a method for volume, it is characterized in that, comprising:
Receive the volume adjustment command of input, described volume adjustment command comprises the target volume of adjustment, and wherein said target volume is greater than current volume;
Determine the middle volume between current volume and the described target volume received;
According to the duration interval of presetting, described current volume is adjusted to described middle volume, and described middle volume is adjusted to described target volume.
2. the method for control volume according to claim 1, is characterized in that, described method also comprises:
Judge whether described target volume is greater than default volume threshold;
The described middle volume determined between current volume and the described target volume received, comprising: when described target volume is greater than default volume threshold, determines the middle volume between current volume and the described target volume received.
3. the method for control volume according to claim 1, is characterized in that, described method also comprises:
Judge whether the difference of described target volume and the current volume received is greater than default amplitude threshold;
The described middle volume determined between current volume and the described target volume received, comprising:
When the difference of the described target volume received and current volume is greater than default amplitude threshold, determine the middle volume between current volume and the described target volume received.
4. the method for control volume according to claim 1, is characterized in that, the described middle volume determined between current volume and the described target volume received, comprising:
According to the adjustment step-length preset, determine the middle volume between current volume and the described target volume received; Or
According to the total duration preset and the number of middle volume, determine duration interval, and determine the middle volume between current volume and the described target volume received; Or
According to the described target volume received and the difference of current volume and the number of middle volume, determine to regulate step-length, and determine the middle volume between current volume and the described target volume received.
5. the method for control volume according to claim 1, is characterized in that, the span at described default duration interval is 0.5 ~ 1.5 second.
6. control a device for volume, it is characterized in that, comprising:
Receiver module, for receiving the volume adjustment command of input, described volume adjustment command comprises the target volume of adjustment;
Intermediate module, for determining the middle volume between current volume and the described target volume received;
Adjusting module, for according to the duration interval of presetting, is adjusted to described middle volume by described current volume, and described middle volume is adjusted to described target volume.
7. the device of control volume according to claim 6, is characterized in that, described device also comprises:
First judge module, for judging whether described target volume is greater than default volume threshold;
Described adjusting module, when described target volume is greater than default volume threshold, determines the middle volume between current volume and the described target volume received.
8. the device of control volume according to claim 6, is characterized in that, described device also comprises:
Second judge module, for judging whether the difference of described target volume and the current volume received is greater than default amplitude threshold;
Described adjusting module, when the difference of the described target volume received and current volume is greater than default amplitude threshold, determines the middle volume between current volume and the described target volume received.
9. the device of control volume according to claim 6, is characterized in that, described intermediate module comprises: the first middle sub-module, the second middle sub-module or the 3rd middle sub-module;
First middle sub-module, for according to the adjustment step-length preset, determines the middle volume between current volume and the described target volume received;
Second middle sub-module, for the number according to the total duration preset and middle volume, determines duration interval, and determines the middle volume between current volume and the described target volume received;
3rd middle sub-module, for according to current volume and the absolute value of difference of described target volume received and the number of middle volume, determines to regulate step-length, and determines the middle volume between current volume and the described target volume received.
10. the device of control volume according to claim 6, is characterized in that, the span at described default duration interval is 0.5 ~ 1.5 second.
11. 1 kinds of devices controlling volume, is characterized in that, comprising:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
Receive the volume adjustment command of input, described volume adjustment command comprises the target volume of adjustment;
Determine the middle volume between current volume and the described target volume received;
According to the duration interval of presetting, described current volume is adjusted to described middle volume, and described middle volume is adjusted to described target volume.
CN201510050722.2A 2015-01-30 2015-01-30 Method and device for controlling volume Pending CN104682908A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510050722.2A CN104682908A (en) 2015-01-30 2015-01-30 Method and device for controlling volume

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510050722.2A CN104682908A (en) 2015-01-30 2015-01-30 Method and device for controlling volume

Publications (1)

Publication Number Publication Date
CN104682908A true CN104682908A (en) 2015-06-03

Family

ID=53317572

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510050722.2A Pending CN104682908A (en) 2015-01-30 2015-01-30 Method and device for controlling volume

Country Status (1)

Country Link
CN (1) CN104682908A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105895130A (en) * 2016-03-31 2016-08-24 广东欧珀移动通信有限公司 Method and device for adjusting volume of playing device, and control terminal
CN106541887A (en) * 2015-09-22 2017-03-29 北汽福田汽车股份有限公司 The control method and device of turn signal prompt tone volume
CN107071316A (en) * 2016-12-30 2017-08-18 华为技术有限公司 The method and terminal device of automatic regulating volume
CN112218203A (en) * 2020-11-03 2021-01-12 珠海格力电器股份有限公司 Earphone, earphone control method, earphone control device, and storage medium
CN116483310A (en) * 2023-06-21 2023-07-25 一汽解放汽车有限公司 In-vehicle volume adjusting method, device, equipment and medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6317502B1 (en) * 1996-02-29 2001-11-13 Sanyo Electric Co., Ltd. Electronic volume control circuit with controlled output characteristic
CN101795373A (en) * 2009-02-03 2010-08-04 扬智科技股份有限公司 Volume adjusting method for channel switching of digital television
CN102098606A (en) * 2009-12-10 2011-06-15 腾讯科技(深圳)有限公司 Method and device for dynamically adjusting volume
CN102436821A (en) * 2011-12-02 2012-05-02 海能达通信股份有限公司 Method for adaptively adjusting sound effect and equipment thereof
CN102982823A (en) * 2012-11-26 2013-03-20 中兴通讯股份有限公司 Method and device for adjusting volume automatically
CN103716683A (en) * 2013-12-16 2014-04-09 乐视致新电子科技(天津)有限公司 Television system, volume setting method and device
CN103731617A (en) * 2013-12-03 2014-04-16 乐视致新电子科技(天津)有限公司 Volume adjustment method and device of smart television

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6317502B1 (en) * 1996-02-29 2001-11-13 Sanyo Electric Co., Ltd. Electronic volume control circuit with controlled output characteristic
CN101795373A (en) * 2009-02-03 2010-08-04 扬智科技股份有限公司 Volume adjusting method for channel switching of digital television
CN102098606A (en) * 2009-12-10 2011-06-15 腾讯科技(深圳)有限公司 Method and device for dynamically adjusting volume
CN102436821A (en) * 2011-12-02 2012-05-02 海能达通信股份有限公司 Method for adaptively adjusting sound effect and equipment thereof
CN102982823A (en) * 2012-11-26 2013-03-20 中兴通讯股份有限公司 Method and device for adjusting volume automatically
CN103731617A (en) * 2013-12-03 2014-04-16 乐视致新电子科技(天津)有限公司 Volume adjustment method and device of smart television
CN103716683A (en) * 2013-12-16 2014-04-09 乐视致新电子科技(天津)有限公司 Television system, volume setting method and device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106541887A (en) * 2015-09-22 2017-03-29 北汽福田汽车股份有限公司 The control method and device of turn signal prompt tone volume
CN105895130A (en) * 2016-03-31 2016-08-24 广东欧珀移动通信有限公司 Method and device for adjusting volume of playing device, and control terminal
CN105895130B (en) * 2016-03-31 2019-03-08 Oppo广东移动通信有限公司 Adjust the method, apparatus and controlling terminal of playback equipment volume
CN107071316A (en) * 2016-12-30 2017-08-18 华为技术有限公司 The method and terminal device of automatic regulating volume
CN112218203A (en) * 2020-11-03 2021-01-12 珠海格力电器股份有限公司 Earphone, earphone control method, earphone control device, and storage medium
CN116483310A (en) * 2023-06-21 2023-07-25 一汽解放汽车有限公司 In-vehicle volume adjusting method, device, equipment and medium
CN116483310B (en) * 2023-06-21 2023-09-12 一汽解放汽车有限公司 In-vehicle volume adjusting method, device, equipment and medium

Similar Documents

Publication Publication Date Title
EP3163748B1 (en) Method, device and terminal for adjusting volume
CN106454644B (en) Audio playing method and device
CN104156149A (en) Method and device for adjusting photographing parameters
CN105306824A (en) Shooting parameter adjusting method and device
CN104219388A (en) Voice control method and device
CN104318934A (en) Method, terminal, wearable device and play device for closing multimedia file
CN104281432A (en) Method and device for regulating sound effect
CN105244048A (en) Audio play control method and apparatus
CN104021148A (en) Method and device for adjusting sound effect
CN107493500A (en) Multimedia resource player method and device
CN105288941A (en) Treadmill speed regulating method and device
CN103986821A (en) Method, equipment and system for carrying out parameter adjustment
CN105353870A (en) Method and apparatus for controlling terminal by means of intelligent wearable device
CN104978200A (en) Application program display method and device
CN105187594A (en) Echo canceling method and device
CN104682908A (en) Method and device for controlling volume
CN106445453A (en) Method and device for switching audio output paths
CN105407368A (en) Multimedia playing method, device and system
CN105427161A (en) Monetary exchange rate exchange method and device
CN104636110A (en) Method and device for controlling volume
CN104112459A (en) Method and apparatus for playing audio data
CN105451056A (en) Audio and video synchronization method and device
CN105512615A (en) Picture processing method and apparatus
CN105511307A (en) Control method and apparatus of electronic device
CN105101013A (en) Method and device for playing voice signals

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20150603

RJ01 Rejection of invention patent application after publication