CN109088980A - Sounding control method, device, electronic device and computer-readable medium - Google Patents
Sounding control method, device, electronic device and computer-readable medium Download PDFInfo
- Publication number
- CN109088980A CN109088980A CN201810745827.3A CN201810745827A CN109088980A CN 109088980 A CN109088980 A CN 109088980A CN 201810745827 A CN201810745827 A CN 201810745827A CN 109088980 A CN109088980 A CN 109088980A
- Authority
- CN
- China
- Prior art keywords
- vibration
- adjusted
- screen
- rear cover
- electronic device
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M2250/00—Details of telephonic subscriber devices
- H04M2250/12—Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion
Landscapes
- Engineering & Computer Science (AREA)
- Environmental & Geological Engineering (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
Abstract
The embodiment of the present application provides a kind of sounding control method, device, electronic device and computer-readable medium, is related to technical field of electronic device.The described method includes: determining that vibration component to be adjusted, the vibration component to be adjusted are at least one of the screen or rear cover according to the vibrational state of the screen and the rear cover when detecting that the electronic device is in vibration sounding mode;Obtain the distance between the vibration component to be adjusted and target user;The corresponding vibration parameters of the vibration component to be adjusted are adjusted according to the distance;The driver is controlled according to the vibration parameters adjusted, to drive the vibration component vibration sounding to be adjusted.The application can improve user experience according to the vibration sounding apart from adjust automatically vibration component.
Description
Technical field
This application involves technical field of electronic device, fill more particularly, to a kind of sounding control method, device, electronics
It sets and computer-readable medium.
Background technique
It is by loudspeaker sounding to export voice signal in tablet computer etc. currently, electronic device, such as mobile phone.
However, the setting of loudspeaker occupies biggish design space, the direction of slimming design is not met so as to cause electronic device.
Summary of the invention
It is above-mentioned to improve present applicant proposes a kind of sounding control method, device, electronic device and computer-readable medium
Defect.
In a first aspect, the embodiment of the present application provides a kind of sounding control method, it is applied to electronic device, the electronics dress
It sets including main body and driver, the front of the main body is provided with screen, and the back side of the main body is provided with rear cover, the excitation
Device can drive the screen and the rear cover vibration sounding.The described method includes: shaking when detecting that the electronic device is in
When dynamic beep pattern, vibration component to be adjusted, the vibration to be adjusted are determined according to the vibrational state of the screen and the rear cover
Dynamic component is at least one of the screen or rear cover;Obtain the distance between the vibration component to be adjusted and target user;
The corresponding vibration parameters of the vibration component to be adjusted are adjusted according to the distance;It is controlled according to the vibration parameters adjusted
The driver, to drive the vibration component vibration sounding to be adjusted.
Second aspect, the embodiment of the present application also provides a kind of sounding controllers, are applied to electronic device, the electronics
Device includes main body and driver, and the front of the main body is provided with screen, and the back side of the main body is provided with rear cover, described to swash
The screen and the rear cover vibration sounding can be driven by encouraging device.Described device includes: first acquisition unit, the second acquisition list
Member, adjustment unit and driving unit.First acquisition unit detects that the electronic device is in vibration sounding mode for working as
When, determine that vibration component to be adjusted, the vibration component to be adjusted are institute according to the vibrational state of the screen and the rear cover
State at least one of screen or rear cover.Second acquisition unit, for obtaining between the vibration component to be adjusted and target user
Distance.Adjustment unit, for adjusting the corresponding vibration parameters of the vibration component to be adjusted according to the distance.Driving is single
Member, for controlling the driver according to the vibration parameters adjusted, to drive the vibration component vibration hair to be adjusted
Sound.
The third aspect, the embodiment of the present application also provides a kind of electronic device, including main body and driver, the main body
Front is provided with screen, and the back side of the main body is provided with rear cover, and the driver can drive the screen and the rear cover
Vibration sounding.Electronic device further include: processor, apart from detection circuit, processor and driving circuit.Processor, for when inspection
When measuring the electronic device and being in vibration sounding mode, determined according to the vibrational state of the screen and the rear cover to be adjusted
Vibration component, the vibration component to be adjusted are at least one of the screen or rear cover.Apart from detection circuit, for obtaining
State the distance between vibration component to be adjusted and target user.Processor is connect with described apart from detection circuit, is also used to obtain
The distance adjusts the corresponding vibration parameters of the vibration component to be adjusted according to the distance.Driving circuit, with the processing
Device connection controls the driver according to the vibration parameters adjusted for receiving the vibration parameters adjusted, with
Drive the vibration component vibration sounding to be adjusted.
Fourth aspect, the embodiment of the present application also provides a kind of electronic device, including main body and driver, the main body
Front is provided with screen, and the back side of the main body is provided with rear cover, and the driver can drive the screen and the rear cover
Vibration sounding;It further include memory and processor, the memory is coupled with the processor;The memory store instruction,
When executed by the processor so that the processor executes the above method.
5th aspect, the embodiment of the present application also provides a kind of computers of program code that can be performed with processor can
Medium is read, said program code makes the processor execute the above method.
Sounding control method, device, electronic device and computer-readable medium provided by the embodiments of the present application, screen is with after
Gai Junke is with vibration sounding, in the case where electronic device is in vibration sounding mode, according to the vibrational state of rear cover and screen determine to
It adjusts component and adjusts vibration component vibration sounding to be adjusted further according to the distance between vibration component to be adjusted and user.Cause
This, can improve user experience according to the vibration sounding apart from adjust automatically vibration component.
Other feature and advantage of the embodiment of the present application will illustrate in subsequent specification, also, partly from specification
In become apparent, or understood and implementing the embodiment of the present application.The purpose of the embodiment of the present application and other advantages can
It is achieved and obtained by structure specifically indicated in the written description, claims, and drawings.
Detailed description of the invention
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, the drawings in the following description are only some examples of the present application, for
For those skilled in the art, without creative efforts, it can also be obtained according to these attached drawings other attached
Figure.
Fig. 1 shows the structural schematic diagram under the first visual angle of electronic device provided by the embodiments of the present application;
Fig. 2 shows the structural schematic diagrams under the second visual angle of electronic device provided by the embodiments of the present application;
Fig. 3 shows the structural schematic diagram under the third visual angle of electronic device provided by the embodiments of the present application;
Fig. 4 shows the method flow diagram of the sounding control method of one embodiment of the application offer;
Fig. 5 shows the schematic diagram of electronic device vibration sounding state provided by the embodiments of the present application;
Fig. 6 shows the method flow diagram for the sounding control method that another embodiment of the application provides;
Fig. 7 shows the module frame chart of the sounding controller of one embodiment of the application offer;
Fig. 8 shows the module frame chart for the sounding controller that another embodiment of the application provides;
Fig. 9 shows the module frame chart of the electronic device of one embodiment of the application offer;
Figure 10 shows the module frame chart for the electronic device that another embodiment of the application provides;
Figure 11 shows provided by the embodiments of the present application for executing the electronic device of method provided by the embodiments of the present application
Module frame chart.
Specific embodiment
Below in conjunction with attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete
Ground description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.Usually exist
The component of the embodiment of the present application described and illustrated in attached drawing can be arranged and be designed with a variety of different configurations herein.Cause
This, is not intended to limit claimed the application's to the detailed description of the embodiments herein provided in the accompanying drawings below
Range, but it is merely representative of the selected embodiment of the application.Based on embodiments herein, those skilled in the art are not being done
Every other embodiment obtained under the premise of creative work out, shall fall in the protection scope of this application.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi
It is defined in a attached drawing, does not then need that it is further defined and explained in subsequent attached drawing.Meanwhile the application's
In description, term " first ", " second " etc. are only used for distinguishing description, are not understood to indicate or imply relative importance.
The display screen usually effect played in the electronic devices such as mobile phone, tablet computer is display text, picture, icon
Or the contents such as video.And along with the development of touch technology, display screen set by more and more electronic devices is touch-control
Display screen, in the case where touching display screen is arranged, when detect user pull, click, double-click on touching display screen,
When the touch control operations such as sliding, the touch control operation of user can be responded.
As clarity and fineness of the user to displayed content require higher and higher, more electronic devices uses
Larger-size touching display screen.But during larger-size touching display screen is set, electronic device front end is found
Set front camera will affect the area that touching display screen can expand to close to function elements such as optical sensor, earpieces
Domain.
Usual electronic device includes front panel, rear cover and frame.In front plate include top region, middle part screen area and under
Portion key zone.In general, upper frontal region is provided with the function elements such as earpiece sound outlet hole and front camera, middle part screen area is provided with
Touching display screen, lower part key zone are provided with one to three physical buttons.And with the development of technology, lower part key zone is by gradually
Cancel, the physical button that lower part key zone is arranged in originally is substituted by the virtual key in touching display screen.
And earpiece sound outlet hole set by upper frontal region is more important for the function support of mobile phone, is not easy easily to cancel,
So by touching display screen can display area be extended to the upper frontal region of covering there is biggish difficulty.It is studied by some column
Afterwards, inventor's discovery can be made a sound by way of screen, frame or the rear cover vibration for controlling mobile phone, so as to
Cancel the setting of earpiece sound outlet hole.
Illustratively, Fig. 1,2 and 3 are please referred to, a kind of electronic device 100 provided by the embodiments of the present application is shown.Wherein,
Fig. 1 is the front view of electronic device, and Fig. 2 is the side view of electronic device, and Fig. 3 is the rearview of electronic device.
Electronic device 100 includes electronic body portion 10, and the electronic body portion 10 includes shell 12 and is arranged in the shell
The screen 120 of body 12, shell 12 include front panel 125, rear cover 127 and frame 126, and frame 126 is for connecting front panel 125
With rear cover 127, the setting of screen 120 is in front on plate 125.
Electronic device further includes driver 131, and vibration component of the driver 131 for drive electronics vibrates, tool
Body, vibration component be the electronic device screen 120 or shell 12 at least one, that is to say, that vibration component can be with
It is screen 120, is also possible to shell 12, can also be the combination of screen 120 and shell 12.As an implementation, work as vibration
When dynamic component is shell 12, vibration component can be the rear cover of shell 12.
In the embodiment of the present application, the vibration component is screen 120 and rear cover 127, as shown in figure 3, under rear cover 127
It is also equipped with driver 128, as an implementation, the driver 128 of rear cover can be identical with the driver 131 of screen
Structure and embodiment, be it is succinct, by taking the driver 131 of screen 120 as an example, illustrate the principle of driver.Specifically, it motivates
Device 131 is connect with screen 120, for driving screen 120 to vibrate.Specifically, the driver 131 is attached at 120 lower section of screen,
Then driver 131 can be piezoelectric actuator or motor.As an implementation, driver 131 is piezoelectric actuator.Pressure
Self-deformation is passed to screen 120 by moment loading by electric drive, thus 120 vibration sounding of screen.Screen 120 includes touching
Control screen 109 and display panel 111, display panel 111 are located at the lower section of touch screen 109, and piezoelectric actuator is attached at display panel
111 lower section, the i.e. one side of the separate touch screen 109 of display panel 111.Piezoelectric actuator includes multilayer piezoelectric ceramic piece.When
When a piece of multilayer piezoelectric ceramic piece sounding expansion and contraction, screen will be driven to occur bending and deformation, repeatedly, entire screen
Bending vibration is formed, so that screen can push air and generate sound.
As an implementation, electronic device 100 includes driving circuit, the driving electricity of driver 131 and electronic device
Road connection, driving circuit is used for according to vibration parameters input control signal value driver 131, to drive driver 131 to vibrate, from
And vibration component is driven to vibrate.Specifically, driving circuit can be the processor of electronic device, be also possible in electronic device
The integrated circuit of driving voltage or electric current can be generated.Driving circuit exports the driving signal of low and high level to driver 131, swashs
Device 131 is encouraged to be vibrated according to the driving signal, and the electrical parameter of the driving signal of driving circuit output is different, then will lead to driver
131 vibration parameters are different, for example, the duty ratio of driving signal corresponds to the vibration frequency of driver 131, the amplitude of driving signal
The Oscillation Amplitude etc. of corresponding driver 131.
In the embodiment of the present application, multiple drivers 131 may be uniformly distributed in screen 120, so that screen 120 is divided into
Multiple independent regions for carrying out sounding.For example, the number of driver is 4, then screen can along the vertical direction and level side
To center line be divided into 4 pieces of square regions, 4 drivers are set to below 4 pieces of square regions, 4 drivers and 4 pieces it is rectangular
Region corresponds.Certainly, the number of driver is not intended as limiting in the embodiment of the present application.Similarly, rear cover 127 can also be with
Multiple drivers 128 are set.
By way of at least one vibration of above-mentioned screen or rear cover, the call under hands-free mode may be implemented, for example,
Voice-enabled chat or call etc..But inventor has found under study for action, electronic device is under hands-free mode, and vibration sounding
When, if volume is too small or too big, when needing to adjust, if user is too far from electronic device, user is not just square
Just it adjusts, therefore, the experience of user is caused to spend difference.
Therefore, in order to solve the technical problem, the embodiment of the present application provides a kind of sounding control method, please refers to Fig. 4
Shown, this method is used for when electronic device vibration sounding, can adjust the sound of the vibration sounding of electronic device at a distance
Amount, specifically, this method comprises: S401 to S404.
S401: when detecting that the electronic device is in vibration sounding mode, according to the screen and the rear cover
Vibrational state determines that vibration component to be adjusted, the vibration component to be adjusted are at least one of the screen or rear cover.
The screen and rear cover of electronic device are used for vibration sounding, and are suitable for the non-earphone call mode of electronic device,
In, non-earphone call mode includes exempting to listen mode and handset mode, is conversing for playing electronic device, is playing situations such as video
The voice signal of lower sending.Specifically, the operation of the application program of the mobile terminal can be worked as to determine by detection user
Preceding whether to be in vibration sounding mode, specifically, electronic device is in vibration sounding mode, can be and receives sounding request.
Sounding request is that user indicates mobile terminal, needs to control screen and vibrates and the information of sounding.As an implementation, sounding
Request can be prompting message, be also possible to voice playing request.
Wherein, prompting message includes call-prompting information, short message prompting message and clock alarming information etc. for reminding
The triggered information of the certain events of user.For example, call-prompting information then can be for reminding user currently to have incoming call
After getting prompting message, before sounding, electronic device enters vibration sounding mode, that is, is now in and waits sounding
Under state.Then, vibration parameters are being got and then are controlling at least one vibration sounding in screen or rear cover, thus
The sound for prompting is issued, for example, incoming ring tone.
As another embodiment, sounding request can be during mobile terminal sounding, play voice every time
Request.The then method of the embodiment of the present application, for acquiring ambient noise and adjusting vibration during mobile terminal sounding
The vibration of component, and then to adjust sounding.
For example, user clicks the broadcast button of some video APP, and electronic device is not presently within mute state, then examines
When measuring the broadcast button and being triggered, at least one vibration sounding mode in screen or rear cover is entered, screen is passed through
Vibration plays the voice of video.
When electronic device incoming call, i.e., when telephone bell or vibrating alert sound, electronic device is able to detect that, and
Call interface is shown on screen.And user clicks Answer Key in call interface, to realize number of the current SIM card of electronic device
Code establishes call connection with incoming number.Specifically, electricity can be monitored by the telephone supervisor in the system of electronic device
The telephone state of sub-device, thus, it is possible to monitor whether electronic device is in call mode.Then telephone supervisor is electronics dress
The application program module in system set, user obtain the talking state of electronic device, for example, when the system of electronic device is peace
When tall and erect system, which is TelephonyManager.
Judge whether electronic device is connected with earphone, it specifically, can be by checking the earphone connecting hole of electronic device
State judges, for example, first state value is returned to, when in connecting hole when the earphone connecting hole of electronic device connects earphone
When earphone is pulled out, the second state value is returned, Current electronic just can determine by detection first state value and the second state value
Whether device is connected with earphone.Specifically, Android system earphone into and out when can all send broadcast, so,
Electronic device monitors the broadcast, it will be able to determine whether Current electronic device is connected with earphone.It just can determine that electronics fills as a result,
It whether sets in earphone call mode.
It is determining that voice is currently played in electronic device as a result, and be not muted, while being also not in earphone call mould
Under formula, then determine that electronic device is under vibration sounding mode.Certainly, as described above, screen is driven by driver
At least one vibration sounding so that in screen or rear cover is vibrated, then can pass through the work shape of all drivers of detection
State, if there is in running order, i.e. the driver of the state in output mechanical energy then determines that electronic device is in vibration
Under beep pattern.
When determining that electronic device is in vibration sounding mode, current vibration component to be adjusted is determined, specifically, due to
Screen and rear cover can vibrate, therefore, it is necessary to which which is detected in screen and rear cover to vibrate, specifically, mobile terminal memory
The vibration record table for containing screen and rear cover, record has the time of vibration point of each component in the record sheet, in addition, mobile whole
End can request and at least one of screen or rear cover vibration of setting out, as a result, when response vibration request according to vibration
Also it can determine vibration component to be adjusted.
Specifically, when the screen is vibrating and the rear cover does not vibrate, using the screen as vibration to be adjusted
Component, when the screen does not vibrate and the rear cover is vibrating, using the rear cover as vibration component to be adjusted.Specifically
Ground is provided with vibrating sensor at screen and rear cover, then the sensor is used to detect screen or whether rear cover is vibrating.
And when screen and the rear cover are vibrating, directly screen and rear cover all can be used as to vibration component, when
So, vibration component to be adjusted can also be determined according to some restrictive conditions, specifically, used according to direction in the front and back
The one side at family determines vibration component to be adjusted.
As an implementation, user, may be only towards screen or rear cover, example when using electronic device
Such as, it when user is using electronic device and other people Video chats, then when the screen and the rear cover are vibrating, obtains
Second image of the first image and the rear camera acquisition for taking front camera to acquire, wherein the front camera setting
In the front, the rear camera is arranged at the back side.
Electronic device includes front camera and rear camera, and the front of electronic device is arranged in front camera,
It is arranged with screen in the same face, the back side of electronic device is arranged in rear camera, i.e., is arranged with rear cover in the same face.
Judge front or the back side towards the user according to the first image and second image.Specifically, really
It whether include character image in fixed first image and the second image, specifically, by taking the first image as an example, detecting in the first image is
It is no to have human body contour outline, if there is, it is determined that interior the first image includes character image, also someone in the region of account for screen direction,
Then determine electronic device just facing towards user.Further, it is contemplated that in some cases, although having personage in the first image
Image, it is, however, possible to which user is in the environment of people's flow compares and works as, the first image memory is in personage, but all
Passerby, and these passerbys may be not belonging to the user of the electronic device.
Therefore, it is necessary to judge in first image and the second image whether to include facial image, as an implementation,
The image of camera acquisition is that two dimensional image is able to determine whether by searching for whether there is face five features point in the image
Collect facial image.As another embodiment, camera includes structure light, then according to structure light three-dimensional letter collected
Breath, it is determined whether there are face three-dimensional informations, if it is present determination collects facial image.Further, it can acquire
The first image of multiframe, if all collecting the facial image of some fixation in multiframe, it is determined that just facing towards user, i.e.,
There is user in the region corresponding to front using electronic device, and listens to the sound that electronic device is issued.Similarly, the back side
It can equally adopt and be determined whether in manner just described towards user.
When it is described just facing towards the user when, using the screen as vibration component to be adjusted;When the back side direction
When the user, using the rear cover as vibration component to be adjusted;When the front and the back side both face towards user, by institute
It states screen and the rear cover is used as vibration component to be adjusted.
S402: the distance between the vibration component to be adjusted and target user are obtained.
Specifically, it can be and be provided with range sensor at screen and rear cover, which can be laser
Rangefinder or infrared range-measurement system etc., the time difference by detecting issued light and received light can determine user with
The distance between vibration component to be adjusted.
It should be noted that since the electronic device is used in user, then user may by the electronic device with
Other user video chats or voice-enabled chat, then user can input voice to electronic device, then can be inputted by user
Voice measure the distance between user and component to be adjusted.
Specifically, the embodiment for obtaining the distance between the vibration component to be adjusted and target user includes: to obtain
The voice messaging of target user's input determines that the vibration component to be adjusted and the target are used according to the voice messaging
The distance between family.
Electronic device is equipped with audio collection device, which can be microphone, for acquiring user's input
Voice signal.As an implementation, since there are also noises or inhuman sound for surrounding, it is therefore desirable to be adopted to audio
Storage sound collected does one and filters out, to the sound except the voice of the mankind be removed, specifically, since the mankind issue
Sound frequency and surrounding ambient noise difference, under normal circumstances, male voice is low, and female voice is high.Specific frequency
It is as follows: 82~392Hz of bass, 64~523Hz of reference note area, the 164~698Hz of 123~493Hz of middle pitch and high pitch of male sound,
And 82~392Hz of bass, 160~1200Hz of reference note area, the 220~1100HZ of 123~493Hz of bass and high pitch of female's sound.
Therefore, the sound except the frequency of people's sound can be filtered out, for example, using Hamming filter, sef-adapting filter
Or kirchhoff filter etc., the sound except 123~698Hz is filtered out.And only acquire the sound between 123~698Hz
Sound, to obtain the voice messaging of user's input.
As another embodiment, there are multiple users around electronic device, and may also The clamors of the people bubble up, need pair
Multiple sound are distinguished, to get the voice messaging of target user.Specifically, due to sound source difference, the then language of different sound sources
Audio frequency parameter between message breath is different, then can distinguish different voice messagings.Wherein, audio frequency parameter can be voice
The parameters such as frequency, amplitude, the phase of information.After the voice messaging for getting each user's input, parsing obtains each language
Message ceases corresponding audio frequency parameter.
Then, the voice messaging voice messaging for meeting preset condition inputted as target user.Wherein, preset condition
For the condition that user sets according to actual use, for example, it may be the audio frequency parameter of voice messaging is met some condition
Voice messaging, for example, signal strength is greater than to the voice messaging of some value, the voice letter inputted as the user acquired in this
Breath, that is, the voice messaging of target user.
In addition, then meaning that each voice messaging can correspond to difference since the corresponding audio of each voice messaging is different
User identity, then can search those voice messagings according to user identity corresponding to each voice messaging and meet default item
Part specifically according to the corresponding relationship of preset voice messaging and identity information, determines in the Alternative voice information, each
The corresponding identity information of the voice messaging.
The different users typing voice messaging in electronic device in advance, so that electronic device establishes preset voice messaging
It is as shown in table 1 with the corresponding relationship of identity information:
Table 1
Identity information | The audio frequency parameter of audio signal |
ID1 | V1 |
ID2 | V2 |
ID3 | V3 |
Wherein, different audio frequency parameters corresponds to different identity informations, then the identity information in corresponding relationship can be shifting
The common user or user relevant to the user of mobile terminal of dynamic terminal.
Specifically, target user unlocks or logs in APP by way of inputting fingerprint when using electronic device
Mode, electronic device has been able to determine the identity information of target user, then, further according to the identity information from multiple voices
The identity information of target user is found in information.It is just capable of determining that the voice messaging of target user as a result,.
Then, it is determined that according to the voice messaging determining the vibration to be adjusted after the voice messaging of target user
The distance between component and the target user.Specifically, it can be the signal strength for obtaining voice messaging, according to preset letter
The corresponding relationship of number intensity and distance, determines that the corresponding distance of the signal strength of the voice signal of the target user certainly can also
Both to be according to the orientation that can not only be determined in a manner of positioning between target user and electronic device of following the sound, additionally it is possible to obtain
The distance between, specifically, as another embodiment, multiple audio collection devices can be set on the electronic device, wherein
Audio collection device can be microphone unit, as an implementation, microphone array is arranged on electronic device, refers to wheat
The arrangement of gram wind.That is it is made of the acoustic sensor of certain amount (usually microphone), for the space to sound field
The system that characteristic is sampled and handled.
In some embodiments, all audio collection devices are arranged in the main body of electronic device, it is of course also possible to be
All audio collection devices are arranged on the runner assembly of electronic device, it is, of course, also possible to be, a part of audio collection device is set
It sets on the runner assembly of electronic device, the setting of another part audio collection device is in dynamic terminal body, in order to improve determining sound
The accuracy in source can be circumferentially arranged on the electronic device, specifically, can circumferentially be arranged in electronic device body, in addition,
Audio collection device on runner assembly is set, an audio collection device can be set on each face of runner assembly,
It can be the setting audio collection device at least on two opposite faces.
Specifically, when multiple audio collection devices are arranged, not only can be used it is above-mentioned based on peak power output can
The sound localization method of beam-forming technology is controlled, technology, base can also be formed using the steerable beam based on peak power output
The sound localization method of technology is formed in the steerable beam of peak power output, specifically, using beam-forming technology, adjusts wheat
The receiving direction of gram wind array, is scanned in entire reception space, and the maximum direction of energy is the direction of sound source.
Specifically, the sound localization method based on reaching time-difference technology is, since sound wave is in air with certain speed
It propagates, the phase difference for being set to the microphone of different location is reached, according to these microphones to the phase of same sound recording
Difference, we can calculate the time difference that same sound reaches each pair of microphone.If we have obtained some sound source hair
Sound out reaches the time difference of a pair of of microphone, and the suitable position for arranging microphone can make bi-curved intersection point only
There is one, this point is exactly the sound source position that we want.
S403: the corresponding vibration parameters of the vibration component to be adjusted are adjusted according to the distance.
Specifically, farther out, the vibration parameters of adjustable vibration component are so that vibration component can issue distance
Bigger sound, so that can also not hear the sound of electronic device sending apart from user farther out.Then vibration parameters can be with
Including Oscillation Amplitude, vibration frequency and vibration phase etc., in the embodiment of the present application, vibration parameters include Oscillation Amplitude, then
Vibration parameters are with apart from positive correlation, i.e. distance is bigger, and vibration parameters are higher.And the ratio adjusted can be, with an a reference value
Based on, apart from every increase A numerical value, then vibration parameters improve B numerical value, wherein the numerical value of A and B can be by user according to reality
Using and set, be also possible to preset numerical value when factory.
As an implementation, the corresponding relationship of distance with vibration parameters is stored in electronic device, the corresponding relationship
Interior includes multiple vibration parameters, and the corresponding distance of each vibration parameters then searches target user and electricity in the corresponding relationship
Vibration parameters corresponding to the distance between sub-device.
S404: the driver is controlled according to the vibration parameters adjusted, to drive the vibration component to be adjusted
Vibration sounding.
The driving circuit of electronic device adjusts driving signal according to the vibration parameters after the setting, for example, the vibration after setting
Dynamic parameter is the Oscillation Amplitude after increasing, then driving circuit improves the level value of the high level of driving signal, for another example after setting
Vibration parameters be increase after vibration frequency, then driving circuit improve driving signal frequency.
Driving signal is sent to driver by driving circuit, then driver controls vibration section according to driving signal adjusted
Part vibration, so as to parameters such as the vibration frequency or the amplitudes that adjust vibration component, so as to change issued sound
The sound characteristics information such as intensity or frequency.
It should be noted that needing to determine respectively if identified vibration component to be adjusted includes screen and rear cover
The distance of front cover and rear cover, and the vibration of front cover and rear cover is adjusted separately, as shown in figure 5, the user of screen direction is the first use
Family, then the distance between the first user and screen are d1, the user of rear cover direction be second user, then second user and rear cover it
Between distance be d2, be data1 according to the corresponding vibration parameters of d1 that the above method determines, the corresponding vibration parameters of d2 are
Data2, and data1 corresponds to screen, data2 corresponds to rear cover, then by the corresponding driver of data1 input value screen, and according to
Data1 adjusts the vibration of screen, and by the corresponding driver of data2 input value rear cover, and according to the vibration of data2 adjustment rear cover
It is dynamic.
Furthermore, it is contemplated that electronic device is under the mode that more people's videos or audio are chatted, it is possible that multiple users make
The case where with an electronic device, then needs to determine target user from multiple users under electronic device ambient enviroment have
Body, referring to Fig. 6, showing sounding control method provided by the embodiments of the present application, this method is used to vibrate in electronic device
When sounding, the volume of the vibration sounding of electronic device can be adjusted at a distance, specifically, this method comprises: S601 is extremely
S607。
S601: when detecting that the electronic device is in vibration sounding mode, according to the screen and the rear cover
Vibrational state determines vibration component to be adjusted.
S602: the camera acquired image for being located at same surface with the vibration component to be adjusted is obtained.
Wherein, if vibration component to be adjusted is screen, the camera for being located at same surface with screen is preposition camera shooting
Head, if vibration component to be adjusted is rear cover, the camera that same surface is located at rear cover is rear camera, if wait adjust
Whole vibration component is screen and rear cover, then camera is that preposition and postposition imagination is excessive.
By taking vibration component to be adjusted is screen as an example, the image of front camera acquisition is obtained.Obtain front camera institute
The image for the object of acquisition being located in its visual field, as testing image.
S603: the character image in the image is determined according to the image that the camera acquires.
The extraction place character image out of this testing image.Specifically, it is determined that whether the image of camera acquisition includes people
Object image the character image and stores if including, at extraction, if not including, terminates this operation.
S604: using the corresponding user of the character image for meeting preset condition as target user.
The quantity of the character image is first determined whether, if quantity is 1, using the corresponding user of the character image as target
User determines the character image for meeting preset condition if quantity is greater than 1 from multiple character images collected.Wherein,
Meet preset condition and can be and compare all persons' image and default character image, by the corresponding user of matched character image
As target user, and in view of guaranteeing that farthest user also clearly can hear the sound that vibration component is issued, then will expire
The corresponding user of the character image of sufficient preset condition is to obtain all people's object image as the specific embodiment of target user
Corresponding character contour selects the smallest character image of profile, as the image of target user, because character contour minimum can
To indicate that the personage is farthest, still, it is contemplated that adult and between children or men and women figure difference is larger, then leads to
Crossing human body contour outline, there may be certain errors to search farthest user, then further, obtain each character image
Contouring head area;Using the corresponding user of the smallest character image of contouring head area as target user.
Specifically, by the contouring head area of the character image of all users collected according to sequence from big to small into
Row sequence, obtains area sequence, the smallest contouring head area in the sequence is obtained, if there is multiple contouring heads in the sequence
Area equation, wherein two contouring head area equations refer to the area difference between two contouring head areas no more than pre-
If value, wherein preset value can be user and set according to demand.Then if multiple contouring head areas are minimum, obtain
The corresponding contouring head line of multiple contouring head areas is taken, selects gender for the contouring head line of women, for example, can be according to head
Hair style corresponding to contouring line or five features and determine, then, select contouring head area minimum and for the head of women
The corresponding user of contouring area is as target user.
Meanwhile the pixel coordinate of the corresponding facial image of the target user in the image is also obtained, further according to obtaining in advance
The corresponding relationship of the pixel coordinate and camera coordinates that take demarcates when institute according to the inside and outside parameter of camera as an implementation
Mapping relations between the camera coordinates system and pixel coordinate system of acquisition and determine, for example, Zhang Zhengyou calibration algorithm.As a result, may be used
To determine position of the target user under world coordinate system.
S605: the distance between the vibration component to be adjusted and target user are obtained.
After target user has been determined in multiple users, position of the target user under world coordinate system is also being obtained
It sets, so as to obtain orientation of the target user with respect to user, then obtains between target user and vibration component to be adjusted
Apart from when, can be determined according to the orientation.Specifically, by range sensor ranging when, by range sensor
It is directed at the orientation, or only detects the reflected signal for being used to characterize distance in the orientation.
It is also possible that the voice signal of the corresponding target user's input in the orientation is only obtained, thus according to the voice signal
Determine the distance between target user and vibration component to be adjusted.
It should be noted that then needing when screen and rear cover are vibration component to be adjusted respectively for screen with after
Lid executes the above method, specifically repeats no more.
S606: the corresponding vibration parameters of the vibration component to be adjusted are adjusted according to the distance.
S607: the driver is controlled according to the vibration parameters adjusted, to drive the vibration component to be adjusted
Vibration sounding.
It should be noted that the part being not described in detail in above-mentioned steps, can refer to previous embodiment, it is no longer superfluous herein
It states.
Referring to Fig. 7, showing sounding controller 700 provided by the embodiments of the present application, which is used to fill in electronics
When setting vibration sounding, the volume of the vibration sounding of electronic device can be adjusted at a distance, and specifically, which includes:
One acquiring unit 701, second acquisition unit 702, adjustment unit 703 and driving unit 704.
First acquisition unit 701, for when detecting that the electronic device is in vibration sounding mode, according to the screen
The vibrational state of curtain and the rear cover determines that vibration component to be adjusted, the vibration component to be adjusted are the screen or rear cover
At least one.
Second acquisition unit 702, for obtaining the distance between the vibration component to be adjusted and target user.
Adjustment unit 703, for adjusting the corresponding vibration parameters of the vibration component to be adjusted according to the distance.
Driving unit 704, it is described wait adjust to drive for controlling the driver according to the vibration parameters adjusted
Whole vibration component vibration sounding.
It is apparent to those skilled in the art that for convenience and simplicity of description, the device of foregoing description
It with the specific work process of unit, can refer to corresponding processes in the foregoing method embodiment, details are not described herein.
Referring to Fig. 8, showing sounding controller 800 provided by the embodiments of the present application, which is used to fill in electronics
When setting vibration sounding, the volume of the vibration sounding of electronic device can be adjusted at a distance, and specifically, which includes:
One acquiring unit 801, determination unit 802, second acquisition unit 803, adjustment unit 804 and driving unit 805.
First acquisition unit 801, for when detecting that the electronic device is in vibration sounding mode, according to the screen
The vibrational state of curtain and the rear cover determines that vibration component to be adjusted, the vibration component to be adjusted are the screen or rear cover
At least one.
Determination unit 802, it is collected for obtaining the camera for being located at same surface with the vibration component to be adjusted
Image determines the character image in the image according to the image that the camera acquires, will meet the character image of preset condition
Corresponding user is as target user.
Second acquisition unit 803, for obtaining the distance between the vibration component to be adjusted and target user.
Adjustment unit 804, for adjusting the corresponding vibration parameters of the vibration component to be adjusted according to the distance.
Driving unit 805, it is described wait adjust to drive for controlling the driver according to the vibration parameters adjusted
Whole vibration component vibration sounding.
It is apparent to those skilled in the art that for convenience and simplicity of description, the device of foregoing description
It with the specific work process of unit, can refer to corresponding processes in the foregoing method embodiment, details are not described herein.
Referring to Fig. 9, showing electronic device provided by the embodiments of the present application, comprising: main body and driver 131, it is described
The front of main body is provided with screen 120, and the back side of the main body is provided with rear cover 127, and the driver 131 can drive described
127 vibration sounding of screen 120 and the rear cover.
Electronic device includes:
Processor 102, for when detecting that the electronic device is in vibration sounding mode, according to the screen and institute
The vibrational state for stating rear cover determines that vibration component to be adjusted, the vibration component to be adjusted are at least the one of the screen or rear cover
It is a;
Apart from detection circuit 901, for obtaining the distance between the vibration component to be adjusted and target user;
Processor 102 is connect with described apart from detection circuit, is also used to obtain the distance, is adjusted according to the distance
The corresponding vibration parameters of the vibration component to be adjusted;
Driving circuit 902, is connected to the processor, for receiving the vibration parameters adjusted, after adjustment
The vibration parameters control the driver, to drive the vibration component vibration sounding to be adjusted.
It is apparent to those skilled in the art that for convenience and simplicity of description, the device of foregoing description
It with the specific work process of unit, can refer to corresponding processes in the foregoing method embodiment, details are not described herein.
Referring to Fig. 10, showing electronic device 100 provided by the embodiments of the present application, comprising: memory 104 and processor
102, the memory 104 is coupled with the processor 102;104 store instruction of memory, when described instruction is by described
It manages when device 102 executes so that the processor 102 executes the above method.
It is apparent to those skilled in the art that for convenience and simplicity of description, the device of foregoing description
It with the specific work process of unit, can refer to corresponding processes in the foregoing method embodiment, details are not described herein.
Referring to Fig. 1-3, based on above-mentioned method and apparatus, the embodiment of the present application also provides a kind of electronic device
100, illustratively, electronic device 100 can be various types of departments of computer science that are mobile or portable and executing wireless communication
Any one of system equipment (only illustratively shows a kind of form) in Fig. 1.Specifically, electronic device 100 can be shifting
Mobile phone or smart phone (for example, being based on iPhone TM, the phone based on Android TM), portable gaming device (such as
Nintendo DS TM, PlayStation Portable TM, Gameboy Advance TM, iPhone TM), electricity on knee
Brain, PDA, portable Internet appliance, music player and data storage device, other handheld devices and such as wrist-watch,
Earphone, pendant, earphone etc., electronic device 100 can also be other wearable devices (for example, such as electronic glasses, electronics clothing
Clothes, electronics bracelet, electronics necklace, electronics tatoo, the headset equipment (HMD) of electronic equipment or smartwatch).
Electronic device 100 can also be that any one of multiple electronic equipments, multiple electronic equipments include but is not limited to
Cellular phone, smart phone, other wireless telecom equipments, personal digital assistant, audio player, other media players, sound
Happy logger, video recorder, camera, other medium recorders, radio, Medical Devices, vehicle transport instrument, calculator, can
Program remote controler, pager, laptop computer, desktop computer, printer, netbook computer, personal digital assistant
(PDA), portable media player (PMP), Motion Picture Experts Group's (MPEG-1 or MPEG-2) audio layer 3 (MP3) play
Device, portable medical device and digital camera and combinations thereof.
In some cases, electronic device 100 can execute multiple functions and (for example, playing music, show video, storage
Picture and send and receive call).If desired, electronic device 100 can be such as cellular phone, media play
The portable device of device, other handheld devices, watch equipment, pendant equipment, receiver device or other compact portable equipment.
It includes electronic body portion 10 to above-mentioned electronic device 100, and the electronic body portion 10 includes that shell 12 and setting exist
Main display 120 on the shell 12.Metal can be used in the shell 12, such as steel, aluminium alloy are made.In the present embodiment,
The main display 120 generally includes display panel 111, may also comprise and carries out touch-control to the display panel 111 for responding
The circuit etc. of operation.The display panel 111 can for liquid crystal display panel (Liquid Crystal Display,
LCD), in some embodiments, the display panel 111 is a touch screen 109 simultaneously.
Please refer to Figure 11, in actual application scenarios, the electronic device 100 can be used as intelligent mobile phone terminal into
It exercises and uses, the electronic body portion 10 also typically includes one or more (only showing one in figure) processors in this case
102, memory 104, RF (Radio Frequency, radio frequency) module 106, voicefrequency circuit 110, sensor 114, input module
118, power module 122.It will appreciated by the skilled person that structure shown in FIG. 1 is only to illustrate, not to described
The structure in electronic body portion 10 causes to limit.For example, the electronic body portion 10 may also include it is more than shown in Figure 11 or
Less component, or with the configuration different from shown in Figure 11.
It will appreciated by the skilled person that every other component belongs to for the processor 102
It is coupled between peripheral hardware, the processor 102 and these peripheral hardwares by multiple Peripheral Interfaces 124.The Peripheral Interface 124 can
Based on following standard implementation: Universal Asynchronous Receive/sending device (Universal Asynchronous Receiver/
Transmitter, UART), universal input/output (General Purpose Input Output, GPIO), serial peripheral connect
Mouthful (Serial Peripheral Interface, SPI), internal integrated circuit (Inter-Integrated Circuit,
I2C), but it is not limited to above-mentioned standard.In some instances, the Peripheral Interface 124 can only include bus;In other examples
In, the Peripheral Interface 124 may also include other elements, such as one or more controller, such as connecting the display
The display controller of panel 111 or storage control for connecting memory.In addition, these controllers can also be from described
It detaches, and is integrated in the processor 102 or in corresponding peripheral hardware in Peripheral Interface 124.
The memory 104 can be used for storing software program and module, and the processor 102 is stored in institute by operation
The software program and module in memory 104 are stated, thereby executing various function application and data processing.The memory
104 may include high speed random access memory, may also include nonvolatile memory, and such as one or more magnetic storage device dodges
It deposits or other non-volatile solid state memories.In some instances, the memory 104 can further comprise relative to institute
The remotely located memory of processor 102 is stated, these remote memories can pass through network connection to the electronic body portion 10
Or the main display 120.The example of above-mentioned network includes but is not limited to internet, intranet, local area network, mobile communication
Net and combinations thereof.
The RF module 106 is used to receive and transmit electromagnetic wave, realizes the mutual conversion of electromagnetic wave and electric signal, thus
It is communicated with communication network or other equipment.The RF module 106 may include various existing for executing these functions
Circuit element, for example, antenna, RF transceiver, digital signal processor, encryption/deciphering chip, subscriber identity module
(SIM) card, memory etc..The RF module 106 can be carried out with various networks such as internet, intranet, wireless network
Communication is communicated by wireless network and other equipment.Above-mentioned wireless network may include cellular telephone networks, wireless
Local area network or Metropolitan Area Network (MAN).Various communication standards, agreement and technology can be used in above-mentioned wireless network, including but not limited to
Global system for mobile communications (Global System for Mobile Communication, GSM), enhanced mobile communication skill
Art (Enhanced Data GSM Environment, EDGE), Wideband CDMA Technology (wideband code
Division multiple access, W-CDMA), Code Division Multiple Access (Code division access, CDMA), time-division
Multiple access technology (time division multiple access, TDMA), adopting wireless fidelity technology (Wireless, Fidelity,
WiFi) (such as American Institute of Electrical and Electronics Engineers's standard IEEE 802.10A, IEEE 802.11b, IEEE802.11g and/
Or IEEE 802.11n), the networking telephone (Voiceover internet protocal, VoIP), worldwide interoperability for microwave accesses
(Worldwide Interoperability for Microwave Access, Wi-Max), other be used for mail, Instant Messenger
The agreement and any other suitable communications protocol of news and short message, or even may include that those are not developed currently yet
Agreement.
Voicefrequency circuit 110, sound jack 103, microphone 105 provide user and the electronic body portion 10 or described jointly
Audio interface between main display 120.Specifically, the voicefrequency circuit 110 receives sound number from the processor 102
According to voice data being converted to electric signal, by electric signal transmission to driver 131, then voicefrequency circuit 110 can be used as above-mentioned
Driving circuit uses.Driving signal of the electric signal as driver 131, then the driver 131 is controlled according to electric signal and is shaken
The vibration of dynamic component, so that voice data is converted to the sound wave that human ear can be heard.The voicefrequency circuit 110 is also from the Mike
Receive electric signal at wind 105, convert electrical signals to voice data, and by data transmission in network telephony to the processor 102 with into
The further processing of row.Audio data can obtain from the memory 104 or through the RF module 106.In addition, sound
Frequency evidence also can store into the memory 104 or be sent by the RF module 106.
The setting of sensor 114 is in the electronic body portion 10 or in the main display 120, the sensor
114 example includes but is not limited to: optical sensor, pressure sensor, acceleration transducer 114F, proximity sensor 114J with
And other sensors.
Specifically, the optical sensor may include light sensor.Light sensor ring according to locating for mobile terminal
The light in border adjusts the brightness of screen.For example, bright and clear local screen can be very bright, on the contrary, if in the dark, screen
Darker (setting with screen intensity also has relationship), had not only protected eyes in this way but also had saved electricity.
Wherein, pressure sensor can detecte the sensor by pressing the pressure generated in electronic device 100.That is, pressure
Sensor is detected by the pressure of contact or pressing generation between user and mobile terminal, such as whole by the ear of user and movement
The pressure that contact or pressing between end generate.Therefore, pressure sensor may be used to determine user and electronic device 100 it
Between whether contacted or pressed and the size of pressure.
Referring to Figure 11, specifically in the embodiment shown in fig. 11, the light sensor and the pressure are passed
Sensor is arranged adjacent to the display panel 111.The light sensor can be when there is object close to the main display 120, example
When being moved in one's ear such as the electronic body portion 10, the processor 102 closes display output.
As a kind of motion sensor, acceleration transducer 114F can detect in all directions (generally three axis) and accelerate
The size of degree can detect that size and the direction of gravity when static, can be used to identify the application of 100 posture of electronic device
(such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc..
In addition, the electronic body portion 10 can also configure the other sensors such as gyroscope, barometer, hygrometer, thermometer, herein no longer
It repeats,
In the present embodiment, the input module 118 may include the touch screen being arranged on the main display 120
109, the touch screen 109 collects the touch operation of user on it or nearby, and (for example user is any using finger, stylus etc.
Operation of the suitable object or attachment on the touch screen 109 or near the touch screen 109), and according to presetting
The corresponding attachment device of driven by program.Optionally, the touch screen 109 may include touch detecting apparatus and touch controller.
Wherein, the touch orientation of the touch detecting apparatus detection user, and touch operation bring signal is detected, it transmits a signal to
The touch controller;The touch controller receives touch information from the touch detecting apparatus, and by the touch information
It is converted into contact coordinate, then gives the processor 102, and order that the processor 102 is sent can be received and executed.
Furthermore, it is possible to realize the touching of the touch screen 109 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves
Touch detection function.
The information and the electronics that the main display 120 is used to show information input by user, is supplied to user
The various graphical user interface of body part 10, these graphical user interface can by figure, text, icon, number, video and its
Any combination is constituted, in an example, the touch screen 109 may be disposed on the display panel 111 to it is described
Display panel 111 constitutes an entirety.
The power module 122 is used to provide power supply to the processor 102 and other each components.Specifically,
The power module 122 may include power-supply management system, one or more power supply (such as battery or alternating current), charging circuit,
Power-fail detection circuit, inverter, indicator of the power supply status and any other and the electronic body portion 10 or the master
The generation, management of electric power and the relevant component of distribution in display screen 120.
The electronic device 100 further includes locator 119, and the locator 119 is for determining 100 institute of electronic device
The physical location at place.In the present embodiment, the locator 119 realizes the positioning of the electronic device 100 using positioning service,
The positioning service, it should be understood that the location information of the electronic device 100 is obtained by specific location technology (as passed through
Latitude coordinate), it is marked on the electronic map by the technology or service of the position of positioning object.
In conclusion sounding control method provided by the embodiments of the present application, device, electronic device and computer-readable Jie
Matter, screen and rear cover can be with vibration soundings, in the case where electronic device is in vibration sounding mode, according to the vibration of rear cover and screen
State determines component to be adjusted, further according to the distance between vibration component to be adjusted and user, adjusts vibration component vibration to be adjusted
Dynamic sounding.Therefore, user experience can be improved according to the vibration sounding apart from adjust automatically vibration component.
It should be appreciated that each section of the application can be realized with hardware, software, firmware or their combination.Above-mentioned
In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage
Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware
Any one of column technology or their combination are realized: having a logic gates for realizing logic function to data-signal
Discrete logic, with suitable combinational logic gate circuit specific integrated circuit, programmable gate array (PGA), scene
Programmable gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries
It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium
In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.In addition, in each embodiment of the application
In each functional unit can integrate in a processing module, be also possible to each unit and physically exist alone, can also two
A or more than two units are integrated in a module.Above-mentioned integrated module both can take the form of hardware realization, can also
It is realized in the form of using software function module.If the integrated module realized in the form of software function module and as
Independent product when selling or using, also can store in a computer readable storage medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..Although having been shown and retouching above
Embodiments herein is stated, it is to be understood that above-described embodiment is exemplary, and should not be understood as the limit to the application
System, those skilled in the art can be changed above-described embodiment, modify, replace and become within the scope of application
Type.
Finally, it should be noted that above embodiments are only to illustrate the technical solution of the application, rather than its limitations;Although
The application is described in detail with reference to the foregoing embodiments, those skilled in the art are when understanding: it still can be with
It modifies the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features;And
These are modified or replaceed, do not drive corresponding technical solution essence be detached from each embodiment technical solution of the application spirit and
Range.
Claims (10)
1. a kind of sounding control method, which is characterized in that be applied to electronic device, the electronic device includes main body and excitation
Device, the front of the main body are provided with screen, and the back side of the main body is provided with rear cover, and the driver can drive the screen
Curtain and the rear cover vibration sounding;The described method includes:
When detecting that the electronic device is in vibration sounding mode, the vibrational state according to the screen and the rear cover is true
Fixed vibration component to be adjusted, the vibration component to be adjusted are at least one of the screen or rear cover;
Obtain the distance between the vibration component to be adjusted and target user;
The corresponding vibration parameters of the vibration component to be adjusted are adjusted according to the distance;
The driver is controlled according to the vibration parameters adjusted, to drive the vibration component vibration sounding to be adjusted.
2. the method according to claim 1, wherein the vibrational state according to the screen and the rear cover
Determine vibration component to be adjusted, comprising:
When the screen is vibrating and the rear cover does not vibrate, using the screen as vibration component to be adjusted;
When the screen does not vibrate and the rear cover is vibrating, using the rear cover as vibration component to be adjusted;
When the screen and the rear cover are vibrating, according in the front and back towards user one side determine to
Adjust vibration component.
3. according to the method described in claim 2, it is characterized in that, described when the screen and the rear cover are vibrating
When, vibration component to be adjusted is determined towards the one side of user according in the front and back, comprising:
When the screen and the rear cover are vibrating, the first image and rear camera of front camera acquisition are obtained
Second image of acquisition, wherein in the front, the rear camera is arranged in the back for the front camera setting
Face;
Judge front or the back side towards the user according to the first image and second image;
When it is described just facing towards the user when, using the screen as vibration component to be adjusted;
When the back side is towards the user, using the rear cover as vibration component to be adjusted;
When the front and the back side both face towards user, it regard the screen and the rear cover as vibration section to be adjusted
Part.
4. the method according to claim 1, wherein described obtain between the vibration component to be adjusted and user
Distance before, further includes:
Obtain the camera acquired image for being located at same surface with the vibration component to be adjusted;
The character image in the image is determined according to the image that the camera acquires;
Using the corresponding user of the character image for meeting preset condition as target user.
5. according to the method described in claim 4, it is characterized in that, the corresponding use of character image that preset condition will be met
Family is as target user, comprising:
Obtain the contouring head area of each character image;
Using the corresponding user of the smallest character image of contouring head area as target user.
6. the method according to claim 1, wherein described obtain the vibration component to be adjusted and target user
The distance between, comprising:
Obtain the voice messaging of target user's input;
The distance between the vibration component to be adjusted and the target user are determined according to the voice messaging.
7. a kind of sounding controller, which is characterized in that be applied to electronic device, the electronic device includes main body and excitation
Device, the front of the main body are provided with screen, and the back side of the main body is provided with rear cover, and the driver can drive the screen
Curtain and the rear cover vibration sounding;The sounding controller includes:
First acquisition unit, for when detecting that the electronic device is in vibration sounding mode, according to the screen and institute
The vibrational state for stating rear cover determines that vibration component to be adjusted, the vibration component to be adjusted are at least the one of the screen or rear cover
It is a;
Second acquisition unit, for obtaining the distance between the vibration component to be adjusted and target user;
Adjustment unit, for adjusting the corresponding vibration parameters of the vibration component to be adjusted according to the distance;
Driving unit, for controlling the driver according to the vibration parameters adjusted, to drive the vibration to be adjusted
Component vibration sounding.
8. a kind of electronic device, which is characterized in that including main body and driver, the front of the main body is provided with screen, described
The back side of main body is provided with rear cover, and the driver can drive the screen and the rear cover vibration sounding;Further include:
Processor, for when detecting that the electronic device is in vibration sounding mode, according to the screen and the rear cover
Vibrational state determine vibration component to be adjusted, the vibration component to be adjusted is at least one of the screen or rear cover;
Apart from detection circuit, for obtaining the distance between the vibration component to be adjusted and target user;
Processor is connect with described apart from detection circuit, is also used to obtain the distance, described wait adjust according to the distance adjustment
The corresponding vibration parameters of whole vibration component;
Driving circuit is connected to the processor, for receiving the vibration parameters adjusted, according to the vibration adjusted
Driver described in dynamic state modulator, to drive the vibration component vibration sounding to be adjusted.
9. a kind of electronic device, which is characterized in that including main body and driver, the front of the main body is provided with screen, described
The back side of main body is provided with rear cover, and the driver can drive the screen and the rear cover vibration sounding;It further include storage
Device and processor, the memory are coupled with the processor;The memory store instruction, when described instruction is by the processing
So that the processor executes any one of the claim 1-6 the method when device executes.
10. a kind of computer-readable medium for the program code that can be performed with processor, which is characterized in that said program code
The processor is set to execute any one of claim 1-6 the method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810745827.3A CN109088980A (en) | 2018-07-09 | 2018-07-09 | Sounding control method, device, electronic device and computer-readable medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810745827.3A CN109088980A (en) | 2018-07-09 | 2018-07-09 | Sounding control method, device, electronic device and computer-readable medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109088980A true CN109088980A (en) | 2018-12-25 |
Family
ID=64837277
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810745827.3A Pending CN109088980A (en) | 2018-07-09 | 2018-07-09 | Sounding control method, device, electronic device and computer-readable medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109088980A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111176606A (en) * | 2019-12-02 | 2020-05-19 | 维沃移动通信有限公司 | Electronic equipment and volume adjusting method thereof |
CN111479193A (en) * | 2020-03-18 | 2020-07-31 | 深圳传音制造有限公司 | Vibration sounding device and method |
CN112637422A (en) * | 2020-12-31 | 2021-04-09 | Oppo广东移动通信有限公司 | Vibration adjustment method, device, storage medium and electronic equipment |
WO2022062125A1 (en) * | 2020-09-25 | 2022-03-31 | 瑞声声学科技(深圳)有限公司 | Mobile terminal |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009005039A (en) * | 2007-06-21 | 2009-01-08 | Casio Hitachi Mobile Communications Co Ltd | Electronic apparatus and program |
CN106331371A (en) * | 2016-09-14 | 2017-01-11 | 维沃移动通信有限公司 | Volume adjustment method and mobile terminal |
CN107277709A (en) * | 2017-06-27 | 2017-10-20 | 瑞声科技(南京)有限公司 | Vibration-sound generating device |
CN108134868A (en) * | 2017-01-03 | 2018-06-08 | 中兴通讯股份有限公司 | A kind of speaker control method and mobile terminal |
-
2018
- 2018-07-09 CN CN201810745827.3A patent/CN109088980A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009005039A (en) * | 2007-06-21 | 2009-01-08 | Casio Hitachi Mobile Communications Co Ltd | Electronic apparatus and program |
CN106331371A (en) * | 2016-09-14 | 2017-01-11 | 维沃移动通信有限公司 | Volume adjustment method and mobile terminal |
CN108134868A (en) * | 2017-01-03 | 2018-06-08 | 中兴通讯股份有限公司 | A kind of speaker control method and mobile terminal |
CN107277709A (en) * | 2017-06-27 | 2017-10-20 | 瑞声科技(南京)有限公司 | Vibration-sound generating device |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111176606A (en) * | 2019-12-02 | 2020-05-19 | 维沃移动通信有限公司 | Electronic equipment and volume adjusting method thereof |
CN111479193A (en) * | 2020-03-18 | 2020-07-31 | 深圳传音制造有限公司 | Vibration sounding device and method |
WO2022062125A1 (en) * | 2020-09-25 | 2022-03-31 | 瑞声声学科技(深圳)有限公司 | Mobile terminal |
CN112637422A (en) * | 2020-12-31 | 2021-04-09 | Oppo广东移动通信有限公司 | Vibration adjustment method, device, storage medium and electronic equipment |
CN112637422B (en) * | 2020-12-31 | 2022-02-22 | Oppo广东移动通信有限公司 | Vibration adjustment method, device, storage medium and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108538320B (en) | Recording control method and device, readable storage medium and terminal | |
CN108881568B (en) | Method and device for sounding display screen, electronic device and storage medium | |
CN108683761A (en) | Sounding control method, device, electronic device and computer-readable medium | |
CN109088980A (en) | Sounding control method, device, electronic device and computer-readable medium | |
CN109032556B (en) | Sound production control method, sound production control device, electronic device, and storage medium | |
CN108712571A (en) | Method, apparatus, electronic device and the storage medium of display screen sounding | |
CN109189362B (en) | Sound production control method and device, electronic equipment and storage medium | |
CN108762711A (en) | Method, apparatus, electronic device and the storage medium of screen sounding | |
CN108646971A (en) | Screen sounding control method, device and electronic device | |
CN108810198B (en) | Sound production control method and device, electronic device and computer readable medium | |
CN109086023B (en) | Sound production control method and device, electronic equipment and storage medium | |
CN108769327A (en) | Method, apparatus, electronic device and the storage medium of display screen sounding | |
CN109062535A (en) | Sounding control method, device, electronic device and computer-readable medium | |
CN108958697A (en) | Screen sounding control method, device and electronic device | |
CN109144460A (en) | Sounding control method, device, electronic device and storage medium | |
CN109085985A (en) | Sounding control method, device, electronic device and storage medium | |
CN109065060A (en) | A kind of voice awakening method and terminal | |
CN108810764B (en) | Sound production control method and device and electronic device | |
CN108958632A (en) | Sounding control method, device, electronic equipment and storage medium | |
CN109189360A (en) | Screen sounding control method, device and electronic device | |
CN109086025B (en) | Sounding control method, device, electronic device and computer-readable medium | |
CN108900688B (en) | Sound production control method and device, electronic device and computer readable medium | |
CN108958631B (en) | Screen sounding control method and device and electronic device | |
CN114205701B (en) | Noise reduction method, terminal device and computer readable storage medium | |
CN109062533A (en) | Sounding control method, device, electronic device and storage medium |
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 |
Application publication date: 20181225 |
|
RJ01 | Rejection of invention patent application after publication |