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 and 2 is please referred to, a kind of electronic device 100 provided by the embodiments of the present application is shown.Wherein, scheme
1 is the front view of electronic device, and Fig. 2 is the side view 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, then driver 131 is connect with screen 120, is used for
Screen 120 is driven to vibrate.Specifically, the driver 131 is attached at 120 lower section of screen, then driver 131 can be piezoelectricity drive
Dynamic device or motor.As an implementation, driver 131 is piezoelectric actuator.Piezoelectric actuator will by moment loading
Self-deformation passes to screen 120, thus 120 vibration sounding of screen.Screen 120 includes touch screen 109 and display panel 111,
Display panel 111 is located at the lower section of touch screen 109, and piezoelectric actuator is attached at the lower section of display panel 111, i.e. display panel
The one side of 111 separate touch screen 109.Piezoelectric actuator includes multilayer piezoelectric ceramic piece.When a piece of multilayer piezoelectric ceramic piece is sent out
When sound expansion and contraction, screen will be driven to occur bending and deformation, repeatedly, entire screen forms bending vibration, to shield
Curtain 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.
In such a way that above-mentioned screen vibrates, electronic device may be implemented and play music outside, user is not close to electronic device
In the case where, it can hear music.But inventor has found under study for action, if screen when vibration sounding, user hand
Refer to or other weights press on the screen, then will affect the vibration of screen, and influences the sound of screen sending.
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. 3
Shown, this method is used for when the screen vibration sounding of electronic device, is adjusted based on the pressure value pressed on the screen
The vibration of screen, to improve screen vibration sounding effect.Specifically, this method comprises: S301 to S304.
S301: when the electronic device is under screen vibration sounding state, the current utterance of the electronic device is obtained
Volume, as initial volume.
Specifically, the operation of the application program of electronic device can be determined whether by detecting user in vibration
Dynamic beep pattern, wherein the application program can play voice, e.g. music player software or talk application.Specifically,
Electronic device is in vibration sounding mode, can be and receives sounding request.Sounding request is that user indicates mobile terminal, is needed
Screen is controlled to vibrate 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.
After determining that electronic device is in screen vibration sounding state, the current utterance volume of electronic device is obtained, it should
Phonation volume is the volume for the voice that electronic device currently exports, for example, In Call, system sound volume or music APP
Volume of music etc..And the acquisition to current utterance volume, it can first determine the driver being currently operating, the driver is just
In the screen vibration sounding of drive electronics, current utterance volume is determined according to the vibration parameters of the driver, for example, the vibration
Dynamic parameter is Oscillation Amplitude, obtains the Oscillation Amplitude of driver, according to the corresponding relationship of preset Oscillation Amplitude and phonation volume,
Obtain the current phonation volume.It is, of course, also possible to be to obtain the electronics according to the program module of the operating system in electronic device
The current utterance volume of device.For example, mAudioManager=(AudioManager), getSystemService
(Context.AUDIO_SERVICE)。
Specifically, the mode of system sound volume is obtained are as follows:
Max=mAudioManager.getStreamMaxVolume (AudioManager.STREAM_SYSTEM);
Current=mAudioManager.getStreamVolume (AudioManager.STREAM_SYSTEM);Log.d
(“SYSTEM”,“max:”+max+”current:”+current)。
As a result, determine the currently playing voice of electronic device application program used in be system sound volume, In Call also
It is independent volume, so that it is determined that the current phonation volume, for example, used is system sound volume, then it can be by above-mentioned
Method gets the phonation volume of the application program of currently playing voice, i.e. the current utterance volume of electronic device, and is denoted as just
Beginning volume.
S302: the corresponding initial drive parameter of the initial volume is determined.
Wherein, the driver is according to driving parameter output driving power, to drive the screen vibration sounding.
The first corresponding relationship is preset in electronic device, which includes that multiple phonation volumes and driving are joined
Several corresponding relationships, as shown in table 1 below:
Table 1
The corresponding initial drive parameter of initial volume can be got according to the above-mentioned corresponding relationship.
Wherein, driver is according to driving parameter output driving power, to drive the screen vibration sounding.Specifically, it drives
The unit of parameter is newton, the i.e. dimension of power, F1 as shown above, indicates that the driving parameter is F1, the driving force that can be output
For F1, driving force F1 can drive screen to vibrate, to export V1 decibels of volume.In addition, the driving force can be one
The power of driver output, is also possible to the driving force that multiple drivers export jointly.
S303: detecting the pressure value that the screen receives, and adjusts the initial drive parameter according to the pressure value.
Specifically, screen is arranged with detection circuit, which is able to detect the pressure value for acting on screen, specifically
Ground, the detection circuit can be pressure sensor, when having detected pressure value effect on screen, then it represents that have object to be pressed in
On screen, then the vibration of screen may be impacted, driving parameter is then adjusted according to the pressure value.
Specifically, it can be and the initial drive parameter reduced according to pressure value.Parameter is driven to indicate exported driving
The size of power, driving parameter is bigger, then the driving force exported is bigger, i.e. driving parameter and driving force is positively correlated.And reduce driving
Parameter can reduce the size of the driving force of driver effect on the screen, then can reduce the Oscillation Amplitude of screen, to subtract
The phonation volume of the small screen, as a result, if acting on the pressure on screen, when causing position-limiting action to the vibration of screen,
If continuing to keep original drive force screen to vibrate, it is likely to result between screen and external force and generates biggish extruding,
And screen is easy to cause to be damaged, and driving parameter is reduced at this time, it can reduce the driving force that driver is applied on screen, and
The Oscillation Amplitude of screen is reduced, and then reduces the active force between screen and external force, and protects screen.
As another embodiment, it can also be and the initial drive parameter increased according to the pressure value.So as to
Enough increase the driving force of driver effect on the screen.Specifically, due to when screen vibrates, if external force is being shielded
On curtain, such as the driving force that the finger of user presses on the screen, then the pressure of user's finger pressing screen and driving screen vibrate
It can influence each other, as described in Figure 4, it is assumed that user's finger presses on the screen, then the pressure F1 normal to screen of finger is downward, and
It is upward that driver acts on the driving force F2 normal to screen on screen, since pressure F1 is contrary with driving force F2's, then
Pressure F1 will affect driving force F2 and drive screen vibration, and screen Oscillation Amplitude is caused to become smaller.Therefore, if increasing driving force
F2 can then overcome the effect of pressure F1.If F2 ratio F1 is big, then the driving force of practical function on the screen is F2-F1, when
When increasing F2, practical driving force be will increase, then Oscillation Amplitude also will increase, meanwhile, the finger of user has certain bullet
Property, and non-rigid object, the limit of the vibration of screen is displaced in certain regional scope, that is to say, that finger surface can
It is recessed inwardly, the increase amplitude of driving force is rationally set, can guarantee the vibration width before Oscillation Amplitude and finger pressing screen
It spends identical, that is to say, that after adjusting driving force, the volume that screen is issued is identical as initial volume.
Specifically, it is contemplated that act on the pressure value on screen and driver acts on the pass between the driving force on screen
System, increases the specific embodiment of the initial drive parameter according to the pressure value are as follows: determine that the initial volume is corresponding
Initial drive force corresponding to initial drive parameter;Obtain the difference between the initial drive force and the pressure value;According to
The difference increases the initial drive parameter.
The corresponding driving parameter of initial volume can be got according to above-mentioned table 1, and drives parameter characterization driving force big
It is small, for example, driving parameter F1, then it represents that driving force F1, and the pressure value acted on the screen can be by detection circuit, example
Such as, pressure sensor detects pressure value, then, then obtains the difference between initial drive force and the pressure value, the difference
The influence for the driving force that the pressure on screen exports driver is reacted, then if the difference can be eliminated, energy
Enough eliminate the influence that ambient pressure vibrates screen.
Therefore, the corresponding driving force of initial volume is denoted as initial drive force, then asked above-mentioned difference with initial drive force
With, by this and as driving force adjusted, the corresponding driving parameter of the driving force adjusted is obtained further according to above-mentioned table 1,
As driving parameter adjusted.
In addition, it is necessary to be made in order to avoid the pressing of non-user or the pressing of weight to screen vibration when explanation
In the case where at influence, still de-regulation vibration parameters and cause power consumption excessively high or influence screen vibrating effect etc., work as detection
It, can according to the specific embodiment that the pressure value adjusts the initial drive parameter when to the pressure value for acting on the screen
To be: when detecting the pressure value for acting on the screen, judging whether the pressure value is located in pre-set pressure range.Tool
Body judges whether the pressure value is located in pre-set pressure range after getting and acting on the pressure value of the screen,
In, pre-set pressure range includes the first critical value and the second critical value, then pressure value, which is located at, indicates to be somebody's turn to do in the pre-set pressure range
Pressure value is greater than or equal to the first critical value, and is less than or equal to the second critical value, and the pressure value table in pre-set pressure range
Be shown as the pressure value on screen may be considered user pressing operation and caused by, then less than the pressure of the first critical value
It is worth smaller, it is believed that it is not user's operation and causes, and the pressure value for being greater than the second critical value is excessive, is also not suitable for again to screen
The driving adjustment of curtain.Therefore, if being located in pre-set pressure range, the driving parameter is adjusted according to the pressure value.
Furthermore when detecting the pressure value for acting on the screen, the driving parameter is adjusted according to the pressure value
Embodiment may also is that
When detecting the pressure value for acting on the screen, touch area is determined according to pressure value collected;
Determine whether that the screen is contacted with human ear according to the touch area;
If it is not, then adjusting the driving parameter according to the pressure value.
It wherein, is to obtain the touching according to the concrete mode that the touch area determines whether that the screen is contacted with human ear
Control the contour line in region.Specifically, after all touch points being pressed on getting screen, all touch points are intended
One continuous curve of synthesis is to obtain contour line.Judge whether the contour line matches with preset human ear contour line,
In, preset human ear contour line can be the contour line of the most of human ear obtained based on big data, be also possible to adopt in advance
The contour line of ear's patch of the user of collection on the screen, to get preset human ear contour line.If the wheel of touch area
Profile and preset human ear shape matching, then it represents that contact has human ear on screen.
If it is human ear, then it represents that private listening to pattern may be used rather than public mode playback in user, then does not execute root
The operation of the driving parameter is adjusted according to the pressure value.
S304: driver screen vibration sounding according to driving driving parameter adjusted is controlled.
Specifically, driving circuit generates driving signal to driver, specifically, the driving according to driving parameter adjusted
Signal can be driving voltage or electric current, and the driving force that different driving voltages or electric current export driver is also different,
And driving voltage or electric current are bigger, then the driving force of driver output is bigger, then in order to increase driving force, driving can be improved
Signal, and in order to reduce driving force, driving signal can be reduced.
Thus, it is possible to reduce the Oscillation Amplitude of screen by way of reducing and driving parameter to protect screen, and pass through
Improve the mode of driving parameter, can screen cause because acting on pressure on the screen screen vibration receive inhibition when
Wait so that Oscillation Amplitude reduce, then if act on the pressure of screen object have elasticity or can by screen drive and
Vibration increases the vibration of screen, the object is enabled to vibrate with the vibration of screen then by raising driving force, and makes
Obtaining screen can be further such that the amplitude being reduced be increased, then the increased driving force of reasonable setting, enables to shield
Curtain still maintains original Oscillation Amplitude when pressed, and keeps original volume.
But for some application pressure on the screen, due to apply stressed object can not occur elastic deformation or
When person's weight is larger, can not also the Oscillation Amplitude being lowered be improved by increasing driving force, then in order to overcome the problem, please be joined
Fig. 5 is read, this method is used for when the screen vibration sounding of electronic device, is adjusted based on the pressure value pressed on the screen
The vibration of screen, to improve screen vibration sounding effect.Specifically, this method comprises: S501 to S508.
S501: when the electronic device is under screen vibration sounding state, the current utterance of the electronic device is obtained
Volume, as initial volume.
S502: the corresponding initial drive parameter of the initial volume is determined.
S503: when detecting the pressure value that the screen receives, joined according to the pressure value adjustment initial driving
Number.
S504: driver screen vibration sounding according to driving driving parameter adjusted is controlled.
S505: the audio collection device audio signal collected is obtained.
After controlling driver screen vibration sounding according to the driving driving parameter adjusted, obtain
The collected audio signal of audio collection device.Specifically, it can be and controlling the driver according to adjusted described
Screen vibration sounding described in driving parameter is driven, sends acquisition instructions to audio collection device, which can be in one
Disconnected request after then audio collection device gets the acquisition instructions, acquires the audio signal under current environment.
S506: the volume obtained between the volume of audio signal collected and the initial volume is poor.
After getting audio collection device audio signal collected, the decibel of the audio signal is calculated, just can determine that
The volume of the audio signal, and the acquisition of initial volume can refer to previous embodiment.Then audio signal collected is being taken
Volume between volume and the initial volume is poor, specifically, if the volume of audio signal collected is V2, and initial sound
Amount is V1, then volume difference is the absolute value of the difference of V1-V2.
S507: judge whether the volume difference is greater than preset value.
In the case where increasing the initial drive parameter according to the pressure value, judge whether the volume difference is greater than
Preset value.The preset value can be set according to actual use situation, if volume difference is greater than the preset value, be indicated in pressure value
The volume value difference exported after driving parameter is adjusted after initial volume and pressure value effect when not acting on screen
It is larger, then it represents that the adjustment does not reduce pressure value to influence caused by screen vibration, for example, the preset value can be a ratio
Lesser number, range can be 0-10 decibels, such as can be 3 decibels, if volume difference is less than the preset value, indicate that volume is poor
Smaller, i.e., by the adjustment to driving parameter, it is close that screen vibrates issued sound and initial volume.Then if it is greater than default
Value then determines to meet preset standard, then executes S508.
S508: it controls the driver and stops driving the screen vibration sounding.
Then if after the increase to driving parameter, the volume of the issued sound of driving screen vibration and initial sound
Amount differs greatly, then it represents that compares when pressure acts on the screen, the amplitude that initial volume is lowered, by driving parameter
Increase, there is no the amplitude of screen vibration being improved or the amplitude that is improved is lower, then may be effect on the screen
Object is heavier or elastic deformation cannot occur, that is, be not user finger effect on the screen, then at this time by screen
Vibration stops, and can protect screen, and screen is avoided to damage because vibrating the effect with external force.
Then at this point, can be sent out prompting message, eliminated with the pressure value for reminding user to will act on the screen.
Specifically, prompting message can be voice prompting, for example, " please taking away the weight on screen " etc..
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. 6, this method is used for when the screen vibration sounding of electronic device, on the screen based on pressing
Pressure value and the vibration for adjusting screen, to improve screen vibration sounding effect.Specifically, this method comprises: S601 to S606.
S601: when the electronic device is under screen vibration sounding state, obtain current screen vibration area and
The current utterance volume of the electronic device, as initial volume.
When determining that the screen of electronic device just when vibration sounding, determining current screen vibration area, specifically,
Electronic device includes multiple drivers, and each driver corresponds to the different zones of screen, and each driver can drive institute as a result,
The domain oscillation sounding of corresponding screen, and the region that different drivers is driven is different, and each excitation is being determined in advance
The region of screen corresponding to device as shown in Figure 1, being provided with 6 drivers in electronic device shown in Fig. 1, and is each swashed
The corresponding region of device is encouraged, such as 2, top, bottom 2,2, middle part, and left and right separation.
Then determine the driver for currently driving screen sounding, it will be able to determine region corresponding to the driver, i.e.,
Screen vibration area.
S602: the corresponding initial drive parameter of the initial volume is determined.
S603: when detecting the pressure value that the screen receives, the corresponding touch area of the pressure value is obtained.
The screen includes touch screen, and multiple pressure sensors are distributed on touch screen, and each pressure sensor
A corresponding position, when user presses a region of screen, the pressure sensor in the region is able to detect that work
Pressure on screen, it is determined that detect the pressure sensor of pressure, it will be able to determine corresponding to the pressure sensor
Position, the touch area of touch-control thus, it is possible to obtain.
S604: judge whether the touch area and the position of the screen vibration area match.
Specifically, it is determined that whether the touch area and screen vibration area have intersection, if there is, then it represents that user is pressed
Region be exactly screen vibration region, then determine the location matches of touch area Yu the screen vibration area, otherwise, it is determined that
It mismatches.
Further, the region intersected between touch area and screen vibration area is obtained, specifically, it is determined that screen vibrates
The first area range in region, and determine touch area second area range, so can determine that first area range and
The region of second area range intersection, then determines whether the range in the region of the intersection meets predeterminable area size, wherein should
Predeterminable area size can be a semi-area of first area range, then if the range in the region of the intersection meets predeterminable area
Size then determines the location matches of touch area Yu the screen vibration area, otherwise, it is determined that mismatching.
As a result, if the vibration area of the region of user's pressing and non-screen, then it represents that in some embodiments, can neglect
The influence that the pressure value of slightly user's pressing vibrates screen does not need then to execute S605.
Furthermore, it is contemplated that although touch area and screen vibration area are non-intersecting, if touch area and screen shake
Dynamic region is excessively closely, it is also possible to interfere the vibration of screen, then if whether touch area and screen vibration area have intersection,
If there is, then it represents that the region that user is pressed is exactly the region of screen vibration, then determines that touch area and the screen vibrate
Otherwise the location matches in region obtain the distance between touch area and screen vibration area, then the pixel of the distance screen
Number is measured, and specifically, first area range and second area range can be indicated by pixel, then in first area
It determines first position mark point, and determines the pixel coordinate of the position mark point, similarly, the second position is determined in second area
Mark point, and determine the pixel coordinate of the position mark point.As an implementation, first position mark point can be first
The central point of regional scope, and second position mark point can be the central point of second area range, it is of course also possible to be region
Interior any point.Both according to the pixel coordinate of the pixel coordinate of the first position mark point and second position mark point, determine
The distance between.
Then, then whether the interpretation distance is less than pre-determined distance value, if it is less, determining touch area and the screen
The location matches of vibration area, if it is greater than or be equal to, then do not determine the position of touch area and the screen vibration area not
Match.Wherein, pre-determined distance value can be a preset empirical value, for indicating when distance is less than the value, according to
It so will affect the vibration of screen vibration area.
In addition, judging the whether matched specific embodiment in position of the touch area and the screen vibration area also
Can be, directly execute and obtain the distance between touch area and screen vibration area, the interpretation distance whether less than preset away from
From value, if it is less, determine the location matches of touch area and the screen vibration area, if it is greater than or be equal to, then sentence
The position for determining touch area and the screen vibration area mismatches.
S605: the initial drive parameter is adjusted according to the pressure value.
S606: driver screen vibration sounding according to driving driving parameter adjusted is controlled.
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 a kind of screen sounding device 700, which is used to vibrate hair in the screen of electronic device
When sound, the vibration of screen is adjusted, based on the pressure value pressed on the screen to improve screen vibration sounding effect.Specifically
Ground, the device include: acquiring unit 701, determination unit 702, adjustment unit 703 and driving unit 704.
Acquiring unit 701 obtains the electronic device for being under screen vibration sounding state when the electronic device
Current utterance volume, as initial volume.
Determination unit 702, for determining the corresponding initial drive parameter of the initial volume.
Adjustment unit 703, the pressure value received for detecting the screen are described initial according to pressure value adjustment
Drive parameter.
Driving unit 704, for controlling driver screen according to driving driving parameter adjusted vibration hair
Sound.
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 electronic device provided by the embodiments of the present application, comprising: including screen 120, multiple be used for
Drive the driver 131 of the screen sounding, the different location of the corresponding screen 120 of the multiple driver 131.Electronics dress
It sets further include: processor 102, detection circuit 801 and driving circuit 802.
Processor 102 obtains the electronics for being under the mode of 120 vibration sounding of screen when the electronic device
The current utterance volume of device determines the corresponding initial drive parameter of the initial volume, wherein described as initial volume
Driver 131 is according to the initial drive parameter output driving power, to drive 120 vibration sounding of screen.
Detection circuit 801, the pressure value received for detecting the screen 120, and it is sent to the processor.
The processor 102 is also used to adjust the initial drive parameter according to the pressure value.
Driving circuit 802, for controlling the driver 131 screen 120 according to driving driving parameter adjusted
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 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.
Fig. 1 and 2 is please referred to, 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 set for various types of computer systems that are mobile or portable and executing wireless communication
Any one of standby (a kind of form is only illustratively shown in Fig. 1 and 2).Specifically, electronic device 100 can be movement
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 10, 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. 10 is only to illustrate, not to institute
The structure for stating electronic body portion 10 causes to limit.For example, the electronic body portion 10 may also include it is more than shown in Figure 10 or
The less component of person, or with the configuration different from shown in Fig. 1 and 2.
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 (Voice over 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 Fig. 1 and 2, specifically in the embodiment shown in Fig. 1 and 2, the light sensor and the pressure
Force snesor is arranged adjacent to the display panel 111.The light sensor can have object close to the main display 120
When, such as when the electronic body portion 10 is moved in one's ear, 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 determines the initial volume of current utterance volume when the electronic device is under screen vibration sounding state, and determines that this is first
The corresponding driving parameter of beginning volume.When detecting the pressure value for acting on the screen, according to pressure value adjustment
Parameter is driven, driver screen vibration sounding according to the driving driving parameter adjusted is controlled.Therefore, not only
Can be by the mode of vibration of screen or rear cover come sounding, it can be to avoid sound outlet hole be arranged on the electronic device, additionally it is possible in electricity
It is exactly to adjust the driving of user's driving screen vibration to the pressing of screen according to user when the screen vibration sounding of sub-device
Parameter improves screen vibration sounding effect.
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.