CN108874359A - Volume adjusting method and relevant device - Google Patents
Volume adjusting method and relevant device Download PDFInfo
- Publication number
- CN108874359A CN108874359A CN201810649497.8A CN201810649497A CN108874359A CN 108874359 A CN108874359 A CN 108874359A CN 201810649497 A CN201810649497 A CN 201810649497A CN 108874359 A CN108874359 A CN 108874359A
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- ultrasonic
- volume
- audio
- field
- 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
This application discloses a kind of volume adjusting method and relevant devices, and applied to the mobile terminal including at least two ultrasonic sensors, method includes:Export audio;Ultrasonic field is generated by least two ultrasonic sensor;If having detected object proximity mobile terminal by ultrasonic field, the volume of output audio is turned down.The volume of output audio can be quickly turned down using the embodiment of the present application.
Description
Technical field
This application involves electronic technology field more particularly to a kind of volume adjusting methods and relevant device.
Background technique
Currently becoming increasingly popular with mobile terminal (such as smart phone), mobile terminal have become in for people's lives it is close not
The a part that can divide.Mobile terminal can export audio, such as audio, the output prompt jingle bell of output audio-video document etc..Mesh
Before, the way for adjusting the volume of output audio is usually that user is adjusted manually by volume adjustment button.
Summary of the invention
The embodiment of the present application provides a kind of volume adjusting method and relevant device, for quickly turning down the sound of output audio
Amount.
In a first aspect, the embodiment of the present application provides a kind of volume adjusting method, it is applied to include that at least two ultrasonic waves pass
The mobile terminal of sensor, the method includes:
Export audio;
Ultrasonic field is generated by least two ultrasonic sensor;
If having detected that target object close to the mobile terminal, turns down the sound of output audio by the ultrasonic field
Amount.
Second aspect, the embodiment of the present application provide a kind of volume adjustment device, are applied to include that at least two ultrasonic waves pass
The mobile terminal of sensor, the volume adjustment device include:
Audio output unit, for exporting audio;
Ultrasonic electric field generating unit, for generating ultrasonic field by least two ultrasonic sensor;
Sound volume regulation unit, if for having detected that target object close to the mobile terminal, is adjusted by the ultrasonic field
The volume of low output audio.
The third aspect, the embodiment of the present application provide a kind of mobile terminal, including at least two ultrasonic sensors, processing
Device, memory, communication interface and one or more programs, wherein said one or multiple programs are stored in above-mentioned storage
In device, and it is configured to be executed by above-mentioned processor, above procedure includes for executing described in the embodiment of the present application first aspect
Method in step instruction.
Fourth aspect, the embodiment of the present application provide a kind of computer readable storage medium, wherein above-mentioned computer-readable
Storage medium storage is used for the computer program of electronic data interchange, wherein above-mentioned computer program executes computer such as
Step some or all of described in method described in the embodiment of the present application first aspect.
5th aspect, the embodiment of the present application provide a kind of computer program product, wherein above-mentioned computer program product
Non-transient computer readable storage medium including storing computer program, above-mentioned computer program are operable to make to calculate
Step some or all of described in method of the machine execution as described in the embodiment of the present application first aspect.The computer program produces
Product can be a software installation packet.
As it can be seen that in the embodiment of the present application, object proximity mobile terminal has been detected whether by ultrasonic field, if so, turning down
The volume of audio is exported, and then accelerates the speed for turning down volume.
These aspects or other aspects of the application can more straightforward in the following description.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of application for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is a kind of standby structural schematic diagram of mobile terminal provided by the embodiments of the present application;
Fig. 2 is a kind of flow diagram of volume adjusting method provided by the embodiments of the present application;
Fig. 3 is a kind of schematic diagram of ultrasonic field provided by the embodiments of the present application;
Fig. 4 is a kind of structural schematic diagram of gravity sensor provided by the embodiments of the present application;
Fig. 5 is the schematic diagram of another ultrasonic field provided by the embodiments of the present application;
Fig. 6 is the flow diagram of another volume adjusting method provided by the embodiments of the present application;
Fig. 7 is the structural schematic diagram of another mobile terminal provided by the embodiments of the present application;
Fig. 8 is a kind of structural schematic diagram of volume adjustment device provided by the embodiments of the present application.
Specific embodiment
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application
Attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is only
The embodiment of the application a part, instead of all the embodiments.Based on the embodiment in the application, ordinary skill people
Member's every other embodiment obtained without making creative work, all should belong to the model of the application protection
It encloses.
It is described in detail separately below.
The description and claims of this application and term " first ", " second ", " third " and " in the attached drawing
Four " etc. are not use to describe a particular order for distinguishing different objects.In addition, term " includes " and " having " and it
Any deformation, it is intended that cover and non-exclusive include.Such as it contains the process, method of a series of steps or units, be
System, product or equipment are not limited to listed step or unit, but optionally further comprising the step of not listing or list
Member, or optionally further comprising other step or units intrinsic for these process, methods, product or equipment.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments
It is contained at least one embodiment of the application.Each position in the description occur the phrase might not each mean it is identical
Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and
Implicitly understand, embodiment described herein can be combined with other embodiments.
Referring to Fig. 1, Fig. 1 is that the embodiment of the present application provides a kind of structural schematic diagram of mobile terminal, mobile terminal packet
Control circuit and input-output circuit are included, imput output circuit connects to the control circuit.
Wherein, mobile terminal may include the various handheld devices with wireless communication function, mobile unit, wearable set
It is standby, calculate equipment or be connected to radio modem other processing equipments and various forms of user equipment (User
Equipment, UE), mobile station (Mobile Station, MS), terminal device (terminal device) etc..
Wherein, control circuit may include storage and processing circuit.Storage circuit in the storage and processing circuit can be with
It is memory, such as hard drive memory, nonvolatile memory (such as flash memory or it is used to form the other of solid state drive
Electrically programmable read only memory etc.), volatile memory (such as either statically or dynamically random access memory etc.) etc., the application
Embodiment is with no restriction.Processing circuit in storage and processing circuit can be used for controlling the operating of mobile terminal.Processing electricity
Road can microprocessor based on one or more, microcontroller, digital signal processor, baseband processor, power management unit,
Audio codec chip, specific integrated circuit, display-driver Ics etc. are realized.
Storage and processing circuit can be used for running the software in mobile terminal, such as play incoming call prompting jingle bell application journey
Sequence, play short message prompt jingle bell application program, play alarm clock prompting jingle bell application program, play media file application program,
Voice over internet protocol (Voice over Internet Protocol, VOIP) call application program, operating system function
Energy is equal.These softwares can be used for executing some control operations, for example, playing incoming call prompting jingle bell, playing short message prompt sound
Other functions etc. in bell, broadcasting alarm clock prompting jingle bell, broadcasting media file, progress voice telephone calls and mobile terminal,
The embodiment of the present application is with no restriction.
Wherein, input-output circuit can be used for that mobile terminal is made to realize outputting and inputting for data, i.e. permission mobile terminal
From outer equipment receiving data and mobile terminal is allowed to export data to external equipment from mobile terminal.
Input-output circuit may further include sensor.Sensor may include ambient light sensor, based on light and
The infrared proximity transducer of capacitor, touch sensor (for example, light touch sensor and/or capacitive touch sensors are based on,
In, touch sensor can be a part of touching display screen, can also be used as a touch sensor arrangement and independently uses),
Acceleration transducer, gravity sensor and other sensors etc..
Input-output circuit can also include one or more display screens.Display screen may include liquid crystal display, organic
Light emitting diode (LED) display screen, electric ink display screen, plasma panel, using a kind of in the display screen of other display technologies or
Several combination of person.Display screen may include touch sensor array (that is, display screen can be touching display screen).Touch sensing
Device can be the capacitance touch sensing formed by transparent touch sensor electrode (such as tin indium oxide (ITO) electrode) array
Device, or can be the touch sensor formed using other touching techniques, such as sound wave touch-control, pressure sensible touch, resistive touch,
Optical touch etc., the embodiment of the present application is with no restriction.
Input-output circuit can further include audio component.Audio component can be used for providing for mobile terminal
Audio input and output function.Audio component in mobile terminal may include ultrasonic sensor, buzzer, tone generator
And it is other for generating and detecting the component of sound.Ultrasonic sensor can be microphone, loudspeaker, earpiece etc., ultrasound
Wave sensor has the function of sounding and quiets down.
Input-output circuit, which can further include telecommunication circuit, can be used for providing for mobile terminal and external equipment
The ability of communication.Telecommunication circuit may include analog- and digital- input-output interface circuit, and be based on radiofrequency signal and/or light
The radio communication circuit of signal.Radio communication circuit in telecommunication circuit may include radio-frequency transceiver circuitry, power amplifier
Circuit, low-noise amplifier, switch, filter and antenna.For example, the radio communication circuit in telecommunication circuit may include
For supported by emitting and receiving near-field coupling electromagnetic signal near-field communication (Near Field Communication,
NFC circuit).For example, telecommunication circuit may include near-field communication aerial and near-field communication transceiver.Telecommunication circuit can also wrap
Include cellular telephone transceiver and antenna, wireless lan transceiver circuit and antenna etc..
Input-output circuit can further include other input-output units.Input-output unit may include
Button, control stick, click wheel, scroll wheel, touch tablet, keypad, keyboard, camera, light emitting diode and other state instructions
Device etc..
Wherein, mobile terminal can further include battery (not shown), and battery is used to provide electric energy to mobile terminal.
Referring to Fig. 2, Fig. 2 is a kind of flow diagram of volume adjusting method provided by the embodiments of the present application, it is applied to
Above-mentioned mobile terminal, this method include:
Step 201:Mobile terminal exports audio.
Specifically, all sound that user can hear are referred to as audio.The audio of mobile terminal output can have sound
Bell (such as incoming call prompting jingle bell, short message prompt jingle bell, alarm clock prompting jingle bell) can also have multimedia file (such as song, view
Frequently, recording etc.) audio etc..
Step 202:Mobile terminal generates ultrasonic field by least two ultrasonic sensors of mobile terminal.
Further, at least two ultrasonic sensor includes two ultrasonic sensors, and mobile terminal passes through shifting
The specific embodiment that at least two ultrasonic sensors of dynamic terminal generate ultrasonic field has:Mobile terminal control is described two super
One of ultrasonic sensor in sonic sensor emits ultrasonic signal, and the described two ultrasonic sensors of control
In another ultrasonic sensor receive the ultrasonic signal of the one of ultrasonic sensor transmitting, to generate ultrasound
?.
For example, as shown in figure 3, at least two ultrasonic sensors include ultrasonic sensor 1 and supersonic sensing
Device 2, ultrasonic sensor 1 are placed in the top of the cover board of mobile terminal, and ultrasonic sensor 2 is placed in the bottom of the cover board of mobile terminal
End, mobile terminal control ultrasonic sensor 1 and emit ultrasonic signal, and mobile terminal control ultrasonic sensor 2 receives ultrasound
The ultrasonic signal that wave sensor 1 emits, and then produce the semicircle ultrasonic field being placed in above display screen.
Wherein, ultrasonic field refers to its energy space achieved when ultrasonic wave is propagated in the medium.
Wherein, ultrasonic wave is a kind of sound wave of the frequency higher than 20000 hertz, its good directionality, penetration capacity is strong, is easy to
Obtain the sound energy relatively concentrated.
Step 203:If having detected target object close to the mobile terminal by the ultrasonic field, mobile terminal is turned down
Export the volume of audio.
Wherein, target object includes the hand of user, stylus etc..
Specifically, when target object is not close to mobile terminal, the shape for the ultrasonic field that mobile terminal generates is fixed
, than as shown in figure 3, the shape of ultrasonic field is semicircular.When target object is close to mobile terminal, what mobile terminal generated
The shape of ultrasonic field changes.Therefore in the embodiment of the present application, if detecting the shape for the ultrasonic field that mobile terminal generates
It changes, it is determined that having target object close to mobile terminal, otherwise, it determines without target object close to mobile terminal.
Alternatively, specifically, as shown in figure 3, ultrasonic transmitter-receiver 1 is to receive not when no object is close to mobile terminal
Ultrasonic wave is arrived, when there is object close to mobile terminal, the ultrasonic wave that ultrasonic transmitter-receiver 1 emits can be returned because encountering object
It goes, ultrasonic transmitter-receiver 1 can receive ultrasonic wave at this time, therefore when ultrasonic transmitter-receiver 1 receives ultrasonic wave, mobile terminal
Object proximity mobile terminal is confirmly detected, otherwise, mobile terminal determination does not have object proximity mobile terminal.
As it can be seen that in the embodiment of the present application, object proximity mobile terminal has been detected whether by ultrasonic field, if so, turning down
The volume of audio is exported, and then accelerates the speed for turning down volume.
It should be noted that the quantity of ultrasonic sensor and position are not limited to shown in Fig. 3, content shown in Fig. 3 is only
A kind of example provided by the present application.
In the embodiment of the application, the specific implementation of mobile terminal output audio has:Mobile terminal output is rung
Bell, or the audio of output multimedia file.
Further, the mobile terminal exports jingle bell, including:It is mobile whole when mobile terminal receives incoming call
Output incoming is held to prompt jingle bell.
Wherein, incoming call includes that voice incoming call or video incoming call, incoming call can be from Instant Messenger
The incoming call (for example, wechat incoming call, QQ incoming call etc.) for believing application is also possible to incoming call calling.
Wherein, the corresponding incoming call prompting jingle bell of different incoming calls can be identical, can be different, herein not
It limits.
In the embodiment of the application, the mobile terminal exports jingle bell, including:Short message is received in mobile terminal
When, mobile terminal outputting short message prompts jingle bell.
Wherein, short message includes following one of which:Short message, instant messaging information, mail, multimedia message, instant messaging information
Such as can have wechat, QQ information etc..
Wherein, the corresponding short message prompt jingle bell of different short messages can be identical, can be different, herein not
It limits.
In the embodiment of the application, the mobile terminal exports jingle bell, including:The alarm clock being arranged in the terminal
When the arriving reminding moment, mobile terminal exports alarm clock prompting jingle bell.
Wherein, mobile terminal may be provided with multiple alarm clocks, and at each alarm clock corresponding prompting moment, different alarm clocks is corresponding
Alarm clock prompting jingle bell can be identical, be also possible to different, be not limited thereto.
In the embodiment of the application, mobile terminal exports the audio of multimedia file, including:It is detected in mobile terminal
In the case where the play instruction for multimedia file, mobile terminal exports the audio of multimedia file.
Wherein, multimedia file can be an audio, for example audio plays a song in application, is also possible to it
One section of voice that his equipment sends over, for example, wechat voice, QQ voice etc., are also possible to one stored in mobile terminal
Duan Luyin etc..
Wherein, multimedia file can be a video in a video, such as video playing application, be also possible to move
Dynamic terminal receives the video that other equipment send over, for example, the short-sighted frequency of wechat, the short-sighted frequency of QQ etc., are also possible to
One section of video stored in mobile terminal etc., is not limited thereto.
As it can be seen that in the embodiment of the present application, mobile terminal just passes through supersonic sensing in the case where exporting specific audio
Device generates ultrasonic field, can save the power consumption of mobile terminal in this way.
In the embodiment of the application, at least two ultrasonic sensor includes being placed at the top of the mobile terminal
Two the first ultrasonic sensors and be placed in two the second ultrasonic sensors of the mobile terminal bottom;Mobile terminal is logical
The specific implementation that at least two ultrasonic sensors for crossing mobile terminal generate ultrasonic field has:
Mobile terminal passes through one of them described first ultrasonic sensor and one of them described second supersonic sensing
Device generates the first ultrasonic field, and first ultrasonic field is located at the top of the display screen of the mobile terminal;
And/or mobile terminal passes through another described first ultrasonic sensor and another described second supersonic sensing
Device generates the second ultrasonic field, and second ultrasonic field is located at the top of the rear shell of the mobile terminal.
Further, the display screen for detecting mobile terminal upward when, mobile terminal by one of them described first
Ultrasonic sensor and one of them described second ultrasonic sensor generate the first ultrasonic field;Detecting the aobvious of mobile terminal
Display screen downward when, mobile terminal passes through another described first ultrasonic sensor and another described second ultrasonic sensor
Generate the second ultrasonic field;When the display screen for detecting mobile terminal is not to face upward or downward, mobile terminal passes through one of them
First ultrasonic sensor and one of them described second ultrasonic sensor generate the first ultrasonic field and pass through another
First ultrasonic sensor and another described second ultrasonic sensor generate the second ultrasonic field.
Specifically, mobile terminal includes gravity sensor, which includes gravity block and setting in gravity block week
Multiple piezo-electric crystals of side, this multiple piezo-electric crystal distribution is not ipsilateral set on gravity block, specific as shown in Figure 4.In Fig. 4, weight
Force snesor includes 1 gravity block and 6 piezo-electric crystals, this 6 piezo-electric crystals respectively correspond 6 faces of mobile terminal, is such as pressed
The display screen of the corresponding mobile terminal of transistor 2, the rear shell of the corresponding mobile terminal of piezo-electric crystal 3, the corresponding mobile terminal of piezo-electric crystal 1
Left side, the right side of the corresponding mobile terminal of piezo-electric crystal 6, the corresponding mobile terminal of piezo-electric crystal 5 upper side, piezo-electric crystal
The downside of 4 corresponding mobile terminals.
When piezo-electric crystal 2 is squeezed by gravity block, the electric signal that piezo-electric crystal 2 exports is not 0, and mobile terminal detects at this time
To mobile terminal display screen downward.When piezo-electric crystal 3 is squeezed by gravity block, the electric signal that piezo-electric crystal 3 exports is not 0,
Mobile terminal detects the display screen of mobile terminal upward at this time.When piezo-electric crystal 1 is squeezed by gravity block, piezo-electric crystal 1 is defeated
Electric signal out is not 0;Or when piezo-electric crystal 4 is squeezed by gravity block, the electric signal that piezo-electric crystal 4 exports is not 0;Or
When piezo-electric crystal 5 is squeezed by gravity block, the electric signal that piezo-electric crystal 5 exports is not 0;Or when piezo-electric crystal 6 is by gravity block
When extruding, the electric signal that piezo-electric crystal 6 exports is not 0;At above-mentioned 4 kinds, mobile terminal detects the display of mobile terminal
Screen is not downward or upward.
Specifically, as shown in figure 5, mobile terminal includes 4 ultrasonic sensors, ultrasonic sensor 1 and ultrasonic wave are passed
Sensor 3 is placed in the top of the cover board of mobile terminal, and ultrasonic sensor 2 and ultrasonic sensor 4 are placed in the cover board of mobile terminal
Bottom end, mobile terminal control ultrasonic sensor 1 emit ultrasonic signal, mobile terminal control ultrasonic sensor 2 receive
The ultrasonic signal that ultrasonic sensor 1 emits, and then first ultrasonic field of semicircle being placed in above display screen is produced,
Mobile terminal controls ultrasonic sensor 3 and emits ultrasonic signal, and mobile terminal controls ultrasonic sensor 4 and receives ultrasonic wave biography
The ultrasonic signal that sensor 3 emits, and then produce second ultrasonic field of semicircle being placed in above display screen.
It should be noted that the quantity of ultrasonic sensor and position are not limited to shown in Fig. 5, content shown in fig. 5 is only
A kind of example provided by the present application.
In the embodiment of the application, mobile terminal turns down the volume of output audio, including:
If detecting, the target object moves closer to the mobile terminal, gradually turn down output audio volume until
It is mute.
Further, it is described it is mute include that the mobile terminal is mute or this audio output is mute.
Specifically, detect target object close to after mobile terminal, mobile terminal real-time detection target object and move
The distance of dynamic terminal, to detect whether target object moves closer to mobile terminal.Wherein, mobile terminal detection target object with
The specific implementation of the distance of mobile terminal has:As shown in figure 3, ultrasonic sensor 1 is super according to a launch angle transmitting
Sound wave, when ultrasonic sensor 1 emits ultrasonic wave, mobile terminal will be recorded as the first moment current time;Ultrasonic wave is in sky
Object is encountered when propagating in gas can return, and when ultrasonic sensor 1 receives reflected ultrasonic wave, mobile terminal will work as
The preceding moment was recorded as the second moment;Mobile terminal is true according to the first moment, the second moment and the aerial spread speed of sound wave
Distance of the earnest body to ultrasonic sensor 1;Mobile terminal is passed according to the distance and ultrasonic wave of object to ultrasonic sensor 1
The launch angle of sensor 1 determines object to the distance of mobile terminal.
Wherein, the specific implementation that mobile terminal gradually turns down the volume of output audio has:Mobile terminal is according in real time
The target object detected turns down the volume of output audio in real time at a distance from mobile terminal.Wherein, output is turned down according to distance
The specific implementation of the volume of audio has:It is determined with the mapping relations of volume apart from corresponding volume according to distance, then will
The volume of output audio is adjusted to determining volume.For example, the moment 1 detects distance 1, the corresponding volume 1 of distance 1, the moment 2 is detected
Distance 2, the corresponding volume 2 of distance 2, moment 3 detect distance 3, the corresponding volume 3 of distance 3, the moment 1 earlier than the moment 2, the moment 2 earlier than
Then moment 3 is adjusted to volume 2 then audio output volume is first adjusted to volume 1 by mobile terminal again, be finally adjusted to volume 3.
Wherein, the mapping relations of distance and volume are as shown in table 1, as shown in table 1, in the mapping relations of distance and volume
In, smaller apart from smaller corresponding volume, the more big corresponding volume of distance is bigger.
Table 1
As it can be seen that in the embodiment of the present application, export the volume of audio with target object move closer to mobile terminal away from
From and gradually turn down, increase the diversity of volume adjustment.
In one embodiment of the application, the specific implementation that mobile terminal turns down the volume of output audio has:It is mobile whole
Hold the current distance for determining target object and mobile terminal;Mobile terminal according to the mapping relations of distance and volume determine currently away from
From corresponding volume;Mobile terminal will export the turning down sound volume of audio to determining volume.
In one embodiment of the application, the specific implementation that mobile terminal turns down the volume of output audio has:It is mobile whole
The turning down sound volume for exporting audio is previously set to volume, the setting volume is set at end.
Wherein, it is customized to can be user for setting volume, and it is customized to be also possible to mobile terminal, does not limit herein
It is fixed.0 can be equal to by setting volume, can also be not equal to 0, be not limited thereto.
As it can be seen that in the embodiment of the present application, when having detected object proximity mobile terminal, directly by volume adjustment to one
Volume decrease quickly can be wanted range as low as user in this way by a setting volume, improve the efficiency for adjusting volume.
In one embodiment of the application, after mobile terminal adjusts the volume of output audio, the method also includes:
Mobile terminal stops generating the ultrasonic field.
Wherein, mobile terminal, which stops the generation ultrasonic field specific implementation, has:As shown in figure 3, mobile terminal controls
Ultrasonic sensor 1 stops transmitting ultrasonic wave, and control ultrasonic sensor 2 stops receiving ultrasonic wave.
As it can be seen that in the embodiment of the present application, after completing volume adjustment, ultrasonic field may be without too big effect, at this time
It can stop generating ultrasonic field, the power consumption of mobile terminal can be saved in this way.
In one embodiment of the application, the method also includes:
After setting duration, if mobile terminal described in object proximity, mobile terminal has been not detected by the ultrasonic field
Stop generating the ultrasonic field.
Wherein, it is customized to can be user for setting duration, and it is customized to be also possible to mobile terminal, does not limit herein
It is fixed.
As it can be seen that in the embodiment of the present application, after exporting audio settings duration, if mobile eventually again without object proximity
End indicates that user does not need adjustment volume at this time, can stop generating ultrasonic field at this time, can save the power consumption of mobile terminal in this way.
The embodiment of the present application also provides another more detailed method flows, as shown in fig. 6, it is applied to mobile terminal,
Mobile terminal includes two the first ultrasonic sensors being placed at the top of mobile terminal and be placed in mobile terminal bottom two the
Two ultrasonic sensors, this method include:
Step 601:When receiving incoming call, mobile terminal output incoming prompts jingle bell.
Step 602:The direction of mobile terminal detection display screen.
Display screen downward when, execute step 604.
Display screen upward when, execute step 603.
Step 603:Mobile terminal by one of them described first ultrasonic sensor and one of them described the second surpass
Sonic sensor generates the first ultrasonic field, and first ultrasonic field is located at the top of the display screen of the mobile terminal.
Step 604:Mobile terminal passes through another described first ultrasonic sensor and another described second ultrasonic wave
Sensor generates the second ultrasonic field, and second ultrasonic field is located at the top of the rear shell of the mobile terminal.
Step 605:Mobile terminal has detected whether mobile terminal described in object proximity by ultrasonic field.
In the case where having detected mobile terminal described in object proximity, step 606 is executed.
After setting duration, if mobile terminal described in object proximity has been not detected by ultrasonic field, step 607 is executed.
Step 606:Mobile terminal is by the turning down sound volume for exporting audio to setting volume.Step is executed after executing the step 606
Rapid 607.
Step 607:Mobile terminal stops generating ultrasonic field.
It should be noted that the specific implementation process of each step of method shown in fig. 6 can be found in described in the method
Specific implementation process, no longer describe herein.
It is consistent with above-mentioned Fig. 2 and embodiment shown in fig. 6, referring to Fig. 7, Fig. 7 is provided by the embodiments of the present application one
The structural schematic diagram of kind mobile terminal, as shown, the communication equipment includes at least two ultrasonic sensors, processor, deposits
Reservoir, communication interface and one or more programs, wherein said one or multiple programs are stored in above-mentioned memory,
And it is configured to be executed by above-mentioned processor, above procedure includes the instruction for executing following steps:
Export audio;
Ultrasonic field is generated by least two ultrasonic sensor;
If having detected that target object close to the mobile terminal, turns down the sound of output audio by the ultrasonic field
Amount.
In the embodiment of the application, in terms of exporting audio, above procedure includes being specifically used for executing following steps
Instruction:Export jingle bell, or the audio of output multimedia file.
In the embodiment of the application, in terms of exporting jingle bell, above procedure includes being specifically used for executing following steps
Instruction:
When receiving incoming call, output incoming prompts jingle bell;Alternatively,
When receiving short message, outputting short message prompts jingle bell;Alternatively,
At the alarm clock arriving reminding moment, alarm clock prompting jingle bell is exported.
In the embodiment of the application, at least two ultrasonic sensor includes being placed at the top of the mobile terminal
Two the first ultrasonic sensors and be placed in two the second ultrasonic sensors of the mobile terminal bottom, passing through movement
In terms of at least two ultrasonic sensors of terminal generate ultrasonic field, above procedure includes the finger specifically for executing following steps
It enables:
The is generated by the first ultrasonic sensor described in one of them and one of them described second ultrasonic sensor
One ultrasonic field;And/or it is generated by another described first ultrasonic sensor and another described second ultrasonic sensor
Second ultrasonic field, first ultrasonic field are located at the top of the display screen of the mobile terminal, and second ultrasonic field is located at institute
State the top of the rear shell of mobile terminal.
In the embodiment of the application, in terms of the volume for turning down output audio, above procedure includes being specifically used for holding
The instruction of row following steps:
If detecting, the target object moves closer to the mobile terminal, gradually turn down output audio volume until
It is mute.
In the embodiment of the application, it is described it is mute include that the mobile terminal is mute or this audio output is quiet
Sound.
In the embodiment of the application, in terms of the volume for turning down output audio, above procedure includes being specifically used for holding
The instruction of row following steps:By the turning down sound volume for exporting audio to setting volume.
In the embodiment of the application, after the volume for turning down output audio, above procedure includes being also used to execute
The instruction of following steps:
Stop generating the ultrasonic field.
In the embodiment of the application, above procedure includes the instruction for being also used to execute following steps:
After setting duration, if mobile terminal described in object proximity has been not detected by the ultrasonic field, stop generating
The ultrasonic field.
It should be noted that the specific implementation process of the present embodiment can be found in specific implementation described in above method embodiment
Process no longer describes herein.
Referring to Fig. 8, Fig. 8 is a kind of volume adjustment device provided by the embodiments of the present application, it is applied to include at least two
The mobile terminal of ultrasonic sensor, volume adjustment device include audio output unit 801, ultrasonic electric field generating unit 802 and sound
Amount adjusts unit 803, wherein:
Audio output unit 801, for exporting audio;
Ultrasonic electric field generating unit 802, for generating ultrasonic field by least two ultrasonic sensor;
Sound volume regulation unit 803, if for by the ultrasonic field detected target object close to the mobile terminal,
Then turn down the volume of output audio.
In the embodiment of the application, in terms of exporting audio, audio output unit 801 is specifically used for:Jingle bell is exported,
Or the audio of output multimedia file.
In the embodiment of the application, in terms of exporting jingle bell, audio output unit 801 is specifically used for:
When receiving incoming call, output incoming prompts jingle bell;Alternatively,
When receiving short message, outputting short message prompts jingle bell;Alternatively,
At the alarm clock arriving reminding moment, alarm clock prompting jingle bell is exported.
In the embodiment of the application, at least two ultrasonic sensor includes being placed at the top of the mobile terminal
Two the first ultrasonic sensors and be placed in two the second ultrasonic sensors of the mobile terminal bottom, passing through movement
In terms of at least two ultrasonic sensors of terminal generate ultrasonic field, ultrasonic electric field generating unit 802 is specifically used for:
The is generated by the first ultrasonic sensor described in one of them and one of them described second ultrasonic sensor
One ultrasonic field;And/or it is generated by another described first ultrasonic sensor and another described second ultrasonic sensor
Second ultrasonic field, first ultrasonic field are located at the top of the display screen of the mobile terminal, and second ultrasonic field is located at institute
State the top of the rear shell of mobile terminal.
In the embodiment of the application, in terms of the volume for turning down output audio, sound volume regulation unit 803 is specifically used
In:If detecting, the target object moves closer to the mobile terminal, gradually turns down the volume of output audio until mute.
In the embodiment of the application, it is described it is mute include that the mobile terminal is mute or this audio output is quiet
Sound.
In the embodiment of the application, in terms of the volume for turning down output audio, sound volume regulation unit 803 is specifically used
In:By the turning down sound volume for exporting audio to setting volume.
In the embodiment of the application, volume adjustment device further includes stopping generation ultrasonic field unit 804, wherein:Stop
Ultrasonic field unit 804 is only generated, generates the ultrasonic field for stopping after the volume for turning down output audio.
In the embodiment of the application, stops generating ultrasonic field unit 804, be also used to after setting duration, if passing through
Mobile terminal described in object proximity has been not detected in the ultrasonic field, stops generating the ultrasonic field.
It should be noted that wearable device described in the embodiment of the present application is presented in the form of functional unit.This
In used term " unit " should be understood as meaning as widest as possible, for realizing function described by each " unit "
Object for example can be integrated circuit ASIC, single circuit, for executing the processor of one or more softwares or firmware program
Other of (shared, dedicated or chipset) and memory, combinational logic circuit, and/or the above-mentioned function of offer realization are suitable
Component.
Wherein, audio output unit 801, ultrasonic electric field generating unit 802, sound volume regulation unit 803 and stopping generate ultrasound
Field unit 804 can be control circuit or processor.
The embodiment of the present application also provides a kind of computer storage medium, wherein computer storage medium storage is for electricity
The computer program of subdata exchange, the computer program make computer execute any as recorded in above method embodiment
Some or all of method step, above-mentioned computer include mobile terminal.
The embodiment of the present application also provides a kind of computer program product, and above-mentioned computer program product includes storing calculating
The non-transient computer readable storage medium of machine program, above-mentioned computer program are operable to that computer is made to execute such as above-mentioned side
Some or all of either record method step in method embodiment.The computer program product can be a software installation
Packet, above-mentioned computer includes mobile terminal.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of
Combination of actions, but those skilled in the art should understand that, the application is not limited by the described action sequence because
According to the application, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know
It knows, the embodiments described in the specification are all preferred embodiments, related actions and modules not necessarily the application
It is necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment
Point, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed device, it can be by another way
It realizes.For example, the apparatus embodiments described above are merely exemplary, such as the division of said units, it is only a kind of
Logical function partition, there may be another division manner in actual implementation, such as multiple units or components can combine or can
To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Coupling, direct-coupling or communication connection can be through some interfaces, the indirect coupling or communication connection of device or unit,
It can be electrical or other forms.
Above-mentioned unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If above-mentioned integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer-readable access to memory.Based on this understanding, the technical solution of the application substantially or
Person says that all or part of the part that contributes to existing technology or the technical solution can body in the form of software products
Reveal and, which is stored in a memory, including some instructions are used so that a computer equipment
(can be personal computer, server or network equipment etc.) executes all or part of each embodiment above method of the application
Step.And memory above-mentioned includes:USB flash disk, read-only memory (ROM, Read-Only Memory), random access memory
The various media that can store program code such as (RAM, Random Access Memory), mobile hard disk, magnetic or disk.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can
It is completed with instructing relevant hardware by program, which can store in a computer-readable memory, memory
May include:Flash disk, read-only memory (English:Read-Only Memory, referred to as:ROM), random access device (English:
Random Access Memory, referred to as:RAM), disk or CD etc..
The embodiment of the present application is described in detail above, specific case used herein to the principle of the application and
Embodiment is expounded, the description of the example is only used to help understand the method for the present application and its core ideas;
At the same time, for those skilled in the art can in specific implementation and application range according to the thought of the application
There is change place, to sum up above-mentioned, the contents of this specification should not be construed as limiting the present application.
Claims (12)
1. a kind of volume adjusting method, which is characterized in that applied to the mobile terminal including at least two ultrasonic sensors, institute
The method of stating includes:
Export audio;
Ultrasonic field is generated by least two ultrasonic sensor;
If detecting that target object close to the mobile terminal, turns down the volume of output audio by the ultrasonic field.
2. the method according to claim 1, wherein the output audio, including:Export jingle bell, or output
The audio of multimedia file.
3. according to the method described in claim 2, it is characterized in that, the output jingle bell, including:
When receiving incoming call, output incoming prompts jingle bell;Alternatively,
When receiving short message, outputting short message prompts jingle bell;Alternatively,
At the alarm clock arriving reminding moment, alarm clock prompting jingle bell is exported.
4. method according to claim 1-3, which is characterized in that at least two ultrasonic sensor includes
Two the first ultrasonic sensors being placed at the top of the mobile terminal and be placed in the mobile terminal bottom two the second surpass
Sonic sensor, it is described that ultrasonic field is generated by least two ultrasonic sensor, including:
The first surpassed by the first ultrasonic sensor described in one of them and one of them described second ultrasonic sensor generation
Sound field, first ultrasonic field are located at the top of the display screen of the mobile terminal;And/or
The second ultrasonic field is generated by the first ultrasonic sensor described in another and another described second ultrasonic sensor,
Second ultrasonic field is located at the top of the rear shell of the mobile terminal.
5. method according to claim 1-4, which is characterized in that the volume for turning down output audio, including:
If detecting, the target object moves closer to the mobile terminal, gradually turns down the volume of output audio until quiet
Sound.
6. according to the method described in claim 5, it is characterized in that, described mute mute including the mobile terminal, Huo Zheben
Secondary audio program output mute.
7. method according to claim 1-4, which is characterized in that the volume for turning down output audio, including:
By the turning down sound volume for exporting audio to setting volume.
8. method according to claim 1-7, which is characterized in that after the volume for turning down output audio,
The method also includes:Stop generating the ultrasonic field.
9. method according to claim 1-7, which is characterized in that the method also includes:
After setting duration, if mobile terminal described in object proximity has been not detected by the ultrasonic field, stop described in generation
Ultrasonic field.
10. a kind of volume adjustment device, which is characterized in that applied to the mobile terminal including at least two ultrasonic sensors,
The audio conditioning apparatus includes:
Audio output unit, for exporting audio;
Ultrasonic electric field generating unit, for generating ultrasonic field by least two ultrasonic sensors of mobile terminal;
Sound volume regulation unit, if for having detected that target object close to the mobile terminal, is turned down by the ultrasonic field
Export the volume of audio.
11. a kind of mobile terminal, which is characterized in that connect including at least two ultrasonic sensors, processor, memory, communication
Mouthful, and one or more programs, one or more of programs are stored in the memory, and are configured by described
Processor executes, and described program is included the steps that for executing such as the instruction in the described in any item methods of claim 1-9.
12. a kind of computer readable storage medium, which is characterized in that storage is used for the computer program of electronic data interchange,
In, the computer program makes computer execute such as the described in any item methods of claim 1-9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810649497.8A CN108874359A (en) | 2018-06-22 | 2018-06-22 | Volume adjusting method and relevant device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810649497.8A CN108874359A (en) | 2018-06-22 | 2018-06-22 | Volume adjusting method and relevant device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108874359A true CN108874359A (en) | 2018-11-23 |
Family
ID=64340768
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810649497.8A Pending CN108874359A (en) | 2018-06-22 | 2018-06-22 | Volume adjusting method and relevant device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108874359A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110297542A (en) * | 2019-06-28 | 2019-10-01 | Oppo广东移动通信有限公司 | Parameter regulation means and relevant device |
CN110418023A (en) * | 2019-07-31 | 2019-11-05 | Oppo广东移动通信有限公司 | Jingle bell processing method, device, mobile terminal and storage medium |
CN110519450A (en) * | 2019-07-31 | 2019-11-29 | Oppo广东移动通信有限公司 | Ultrasonic processing method, device, electronic equipment and computer-readable medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101312600A (en) * | 2007-05-22 | 2008-11-26 | 鸿富锦精密工业(深圳)有限公司 | Volume regulating apparatus and automatic volume regulating method |
US20170188171A1 (en) * | 2015-12-25 | 2017-06-29 | Kyocera Corporation | Electronic apparatus and sound output control method |
CN107483733A (en) * | 2017-08-18 | 2017-12-15 | 广东欧珀移动通信有限公司 | volume adjusting method, device, terminal and storage medium |
CN107894839A (en) * | 2017-11-30 | 2018-04-10 | 努比亚技术有限公司 | Terminal exports method, mobile terminal and the computer-readable recording medium of prompt tone |
CN108040174A (en) * | 2017-11-30 | 2018-05-15 | 努比亚技术有限公司 | Incoming call prompting sound method for regulation of sound volume, mobile terminal and storage medium |
-
2018
- 2018-06-22 CN CN201810649497.8A patent/CN108874359A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101312600A (en) * | 2007-05-22 | 2008-11-26 | 鸿富锦精密工业(深圳)有限公司 | Volume regulating apparatus and automatic volume regulating method |
US20170188171A1 (en) * | 2015-12-25 | 2017-06-29 | Kyocera Corporation | Electronic apparatus and sound output control method |
CN107483733A (en) * | 2017-08-18 | 2017-12-15 | 广东欧珀移动通信有限公司 | volume adjusting method, device, terminal and storage medium |
CN107894839A (en) * | 2017-11-30 | 2018-04-10 | 努比亚技术有限公司 | Terminal exports method, mobile terminal and the computer-readable recording medium of prompt tone |
CN108040174A (en) * | 2017-11-30 | 2018-05-15 | 努比亚技术有限公司 | Incoming call prompting sound method for regulation of sound volume, mobile terminal and storage medium |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110297542A (en) * | 2019-06-28 | 2019-10-01 | Oppo广东移动通信有限公司 | Parameter regulation means and relevant device |
CN110418023A (en) * | 2019-07-31 | 2019-11-05 | Oppo广东移动通信有限公司 | Jingle bell processing method, device, mobile terminal and storage medium |
CN110519450A (en) * | 2019-07-31 | 2019-11-29 | Oppo广东移动通信有限公司 | Ultrasonic processing method, device, electronic equipment and computer-readable medium |
WO2021017943A1 (en) * | 2019-07-31 | 2021-02-04 | Oppo广东移动通信有限公司 | Ultrasonic processing method and apparatus, electronic device, and computer-readable medium |
WO2021017855A1 (en) * | 2019-07-31 | 2021-02-04 | Oppo广东移动通信有限公司 | Ring processing method and apparatus, mobile terminal and storage medium |
CN110519450B (en) * | 2019-07-31 | 2021-04-09 | Oppo广东移动通信有限公司 | Ultrasonic processing method, ultrasonic processing device, electronic device, and computer-readable medium |
CN110418023B (en) * | 2019-07-31 | 2021-08-17 | Oppo广东移动通信有限公司 | Ring processing method, device, mobile terminal and storage medium |
US11777615B2 (en) | 2019-07-31 | 2023-10-03 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Ultrasonic processing method, electronic device, and computer-readable medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101737190B1 (en) | Gesture detection based on information from multiple types of sensors | |
CN108646971B (en) | Screen sounding control method and device and electronic device | |
CN109240551B (en) | Method for controlling electronic device by using gestures and related product | |
CN109274833A (en) | The method of adjustment and Related product of electromagnetic interference | |
CN108008858B (en) | Terminal control method and mobile terminal | |
MX2014008708A (en) | Virtual keyboard display method and apparatus, and terminal. | |
CN108874359A (en) | Volume adjusting method and relevant device | |
CN108712566A (en) | A kind of voice assistant awakening method and mobile terminal | |
CN108924417A (en) | Filming control method and Related product | |
CN106231514B (en) | The sound cavity apparatus and mobile terminal of a kind of mobile terminal | |
CN108541080A (en) | First electronic equipment and the second electronic equipment carry out the method and Related product of Hui Lian | |
CN109639367A (en) | The method of adjustment and Related product of electromagnetic interference | |
CN108769387A (en) | Application control method and relevant device | |
CN109067965A (en) | Interpretation method, translating equipment, wearable device and storage medium | |
CN109274812B (en) | Method for controlling electronic device through ultrasonic gestures and related product | |
CN109361994A (en) | Speaker control method, mobile terminal and computer readable storage medium | |
CN109348055A (en) | Display control method and Related product | |
CN109040919A (en) | Vocal technique, device, electronic device and computer-readable medium | |
CN105607738B (en) | Determine the method and device of one hand pattern | |
CN109743129A (en) | Electromagnetic interference control method and Related product | |
CN108769401A (en) | Signal detecting method and related product | |
CN109121046A (en) | Plug-hole processing method and Related product | |
CN110572759B (en) | Electronic device | |
CN108923810A (en) | Interpretation method and relevant device | |
CN108934083A (en) | Communicate to connect method for building up and relevant device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181123 |