CN108810198A - 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
- CN108810198A CN108810198A CN201810519421.3A CN201810519421A CN108810198A CN 108810198 A CN108810198 A CN 108810198A CN 201810519421 A CN201810519421 A CN 201810519421A CN 108810198 A CN108810198 A CN 108810198A
- Authority
- CN
- China
- Prior art keywords
- vibration
- sound
- electronic device
- intensity
- sounding
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 52
- 230000015654 memory Effects 0.000 claims description 24
- 230000010355 oscillation Effects 0.000 claims description 19
- 238000001514 detection method Methods 0.000 claims description 8
- 230000005611 electricity Effects 0.000 claims description 5
- 230000006870 function Effects 0.000 description 14
- 238000005516 engineering process Methods 0.000 description 10
- 230000002093 peripheral effect Effects 0.000 description 10
- 238000010586 diagram Methods 0.000 description 8
- 238000004891 communication Methods 0.000 description 6
- 230000008859 change Effects 0.000 description 5
- 230000008569 process Effects 0.000 description 5
- 239000000463 material Substances 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 238000005452 bending Methods 0.000 description 3
- 230000001413 cellular effect Effects 0.000 description 3
- 238000010295 mobile communication Methods 0.000 description 3
- 238000012544 monitoring process Methods 0.000 description 3
- 238000003825 pressing Methods 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 230000008901 benefit Effects 0.000 description 2
- 239000000919 ceramic Substances 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 238000005265 energy consumption Methods 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 238000001228 spectrum Methods 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 229910000838 Al alloy Inorganic materials 0.000 description 1
- 229910000831 Steel Inorganic materials 0.000 description 1
- 241000209140 Triticum Species 0.000 description 1
- 235000021307 Triticum Nutrition 0.000 description 1
- 239000008186 active pharmaceutical agent Substances 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- XEGGRYVFLWGFHI-UHFFFAOYSA-N bendiocarb Chemical compound CNC(=O)OC1=CC=CC2=C1OC(C)(C)O2 XEGGRYVFLWGFHI-UHFFFAOYSA-N 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000005314 correlation function Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 239000011521 glass Substances 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 210000003127 knee Anatomy 0.000 description 1
- 238000013178 mathematical model Methods 0.000 description 1
- 229910052751 metal Inorganic materials 0.000 description 1
- 239000002184 metal Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 210000003733 optic disk Anatomy 0.000 description 1
- 238000009527 percussion Methods 0.000 description 1
- 230000001902 propagating effect Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 230000008054 signal transmission Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 239000010959 steel Substances 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/02—Constructional features of telephone sets
- H04M1/0202—Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
- H04M1/026—Details of the structure or mounting of specific components
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/02—Constructional features of telephone sets
- H04M1/0202—Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
- H04M1/026—Details of the structure or mounting of specific components
- H04M1/0266—Details of the structure or mounting of specific components for a display module assembly
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/02—Constructional features of telephone sets
- H04M1/03—Constructional features of telephone transmitters or receivers, e.g. telephone hand-sets
-
- 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
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R1/00—Details of transducers, loudspeakers or microphones
- H04R1/20—Arrangements for obtaining desired frequency or directional characteristics
- H04R1/22—Arrangements for obtaining desired frequency or directional characteristics for obtaining desired frequency characteristic only
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Otolaryngology (AREA)
- Physics & Mathematics (AREA)
- Acoustics & Sound (AREA)
- Environmental & Geological Engineering (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Telephone Function (AREA)
- Telephone Set Structure (AREA)
Abstract
The embodiment of the present application provides a kind of sounding control method, device, electronic device and computer-readable medium, belongs to technical field of electronic device.The method includes:Sounding request based on acquisition, acquires the ambient noise under the current environment of the electronic device;Obtain the intensity of sound of the ambient noise;The vibration parameters of the vibration component are set according to the intensity of sound;The vibration component vibration is controlled according to the vibration parameters after setting.It not only can be by the mode of vibration of screen or shell come sounding, it can be to avoid sound outlet hole be arranged on the electronic device, it is also contemplated that the influence for the sound that ambient noise sends out electronic device, and the vibration of vibration component is adjusted according to the intensity of sound of ambient noise, so as to adjust vibration sounding.
Description
Technical field
This application involves technical field of electronic device, are filled more particularly, to a kind of sounding control method, device, electronics
It sets and computer-readable medium.
Background technology
It is by loud speaker sounding in tablet computer etc. to export voice signal currently, electronic device, such as mobile phone.
However, the setting of loud speaker occupies larger design space, the direction of slimming design is not met so as to cause electronic device.
Invention content
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
Set the vibration component including capableing of vibration sounding, the vibration component be the electronic device screen or shell at least one
It is a.The method includes:Sounding request based on acquisition, acquires the ambient noise under the current environment of the electronic device;It obtains
Take the intensity of sound of the ambient noise;The vibration parameters of the vibration component are set according to the intensity of sound;According to setting
Vibration parameters afterwards control the vibration component vibration.
Second aspect, the embodiment of the present application also provides a kind of sounding controllers, are applied to electronic device, the electronics
Device includes the vibration component for capableing of vibration sounding, the vibration component be the electronic device screen or shell at least one
It is a.Described device includes:Collecting unit, acquiring unit, setting unit and phonation unit.Collecting unit, for based on acquisition
Sounding is asked, and the ambient noise under the current environment of the electronic device is acquired.Acquiring unit, for obtaining the ambient noise
Intensity of sound.Setting unit, the vibration parameters for the vibration component to be arranged according to the intensity of sound.Phonation unit,
It is made a sound for controlling the vibration component according to the vibration parameters after setting.
The third aspect, the embodiment of the present application also provides a kind of electronic devices, which is characterized in that including being capable of vibration sounding
Vibration component, the vibration component be the electronic device screen or shell it is at least one;Further include memory and place
Device is managed, the memory is coupled with the processor.The memory store instruction, when described instruction is executed by the processor
When so that the processor executes following operation:Sounding based on acquisition is asked, under the current environment for acquiring the electronic device
Ambient noise;Obtain the intensity of sound of the ambient noise;The vibration of the vibration component is set according to the intensity of sound
Parameter;The vibration component vibration is controlled according to the vibration parameters after setting.
Fourth aspect, the embodiment of the present application also provides a kind of computers for the program code that can perform with processor can
Medium is read, said program code makes the processor execute the above method.
The embodiment of the present application provides a kind of sounding control method, device, electronic device and computer-readable medium, is obtaining
After getting sounding request, is asked based on acquired sounding, acquire the ambient noise under the current environment of electronic device, so
Afterwards, the intensity of sound for obtaining ambient noise controls the vibration component according to intensity of sound and vibrates.Therefore, can not only pass through
The mode of vibration of screen or shell carrys out sounding, can be to avoid sound outlet hole is arranged on the electronic device, it is also contemplated that ambient noise
Influence to the sound that electronic device is sent out, and the vibration of vibration component is adjusted according to the intensity of sound of ambient noise, from
And adjust vibration sounding.
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 by implementing the embodiment of the present application.The purpose of the embodiment of the present application and other advantages can
It realizes and obtains by specifically noted structure in the specification, claims and attached drawing write.
Description of the drawings
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 accompanying drawings in the following description is only some embodiments 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 method flow diagram for the sounding control method that the application first embodiment provides;
Fig. 4 shows the method flow diagram for the sounding control method that the application second embodiment provides;
Fig. 5 shows the schematic diagram of call interface provided by the embodiments of the present application;
Fig. 6 shows the method flow diagram for the sounding control method that the application 3rd embodiment provides;
Fig. 7 shows the method flow diagram for the sounding control method that the application fourth embodiment provides;
Fig. 8 shows the schematic diagram of vibration area provided by the embodiments of the present application;
Fig. 9 shows the module frame chart of sounding controller provided by the embodiments of the present application;
Figure 10 shows the electronic device provided by the embodiments of the present application for executing method provided by the embodiments of the present application
Module frame chart.
Specific implementation mode
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 describes, 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, the detailed description of the embodiments herein to providing in the accompanying drawings is not intended to limit claimed the application's 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 doing
The every other embodiment obtained under the premise of going out creative work, shall fall in the protection scope of this application.
It should be noted that:Similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi
It is defined, then it further need not be defined and explained in subsequent attached drawing in a 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.
Display screen usually act as display text, picture, icon played in the electronic devices such as mobile phone, tablet computer
Or the contents such as video.And along with the development of touch technology, the 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 on touching display screen and pull, click, double-click,
When the touch control operations such as sliding, the touch control operation of user can be responded.
As user requires the clarity and fineness of displayed content 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 can influence the area that touching display screen can expand to close to function elements such as optical sensor, receivers
Domain.
Usual electronic device includes front panel, rear cover and frame.In front plate include upper frontal region, middle part screen area and under
Portion key zone.In general, upper frontal region is provided with the function elements such as receiver 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 gradual
Cancel, the physical button in lower part key zone is set originally and is substituted by the virtual key in touching display screen.
And the receiver 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 larger difficulty.By some row researchs
Afterwards, inventor has found to make a sound by way of screen, frame or the rear cover vibration for controlling mobile phone, so as to
Cancel the setting of receiver sound outlet hole.
Illustratively, it please refers to Fig.1 with 2, shows a kind of electronic device 100 provided by the embodiments of the present application.Wherein,
Fig. 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 it is at least one, that is to say, that vibration component can be with
It is screen 120, can also be shell 12, can also be the combination of screen 120 and shell 12.As an implementation, when shaking
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 can be screen 120, then driver 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 pressure
Electric drive or motor.As an implementation, driver 131 is piezoelectric actuator.Piezoelectric actuator is made by torque
Screen 120 is passed to by self-deformation, to 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, that is, shows
The one side of the separate touch screen 109 of panel 111.Piezoelectric actuator includes multilayer piezoelectric ceramic piece.When a piece of multilayer piezoelectric ceramic
When piece sounding is expanded and shunk, screen will be driven to occur bending and deformation, repeatedly, entire screen forms bending vibration, from
And screen can push air and generate sound.
As an implementation, electronic device 100 includes detection circuit and driving circuit, and detection circuit is used for base
It is asked in the sounding of acquisition, acquires the ambient noise under the current environment of the electronic device, obtain the sound of the ambient noise
The vibration parameters of the vibration component are arranged according to the intensity of sound for loudness of a sound degree.
Driver 131 is connect with the driving circuit of electronic device, and driving circuit is used to be believed according to vibration parameters input control
Number value driver 131, to drive driver 131 to vibrate, to drive vibration component to vibrate.Specifically, driving circuit can be
The processor of electronic device can also be the integrated circuit that can generate driving voltage or electric current in electronic device.Driving electricity
Road exports the drive signal of low and high level to driver 131, and driver 131 is vibrated according to the drive signal, and driving circuit is defeated
The electrical parameter of the drive signal gone out is different, then the vibration parameters of driver 131 can be caused different, for example, the duty of drive signal
The vibration frequency for answering driver 131 is compared, the amplitude of drive signal corresponds to the Oscillation Amplitude etc. of 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 vertically 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.
Since screen is when vibration sounding, there are the interference of ambient noise for ambient enviroment, and user is caused to be heard
Screen vibrate that sent out sound is not clear enough, and therefore, in order to solve the technical problem, the embodiment of the present application provides one kind
Sounding control method please refers to shown in Fig. 3, influence of this method for reducing ambient noise to screen sounding, specifically, the party
Method includes:S301 to S304.
S301:Sounding request based on acquisition, acquires the ambient noise under the current environment of the electronic device.
Wherein, sounding request is that user indicates electronic device, and control screen is needed to vibrate and the information of sounding.As one kind
Embodiment, sounding request can be prompting message, can also be speech play 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 for reminding user currently to have incoming call, can be then
After getting prompting message, before sounding, execute the present processes, then, get vibration parameters and then
Screen vibration sounding is controlled, to send out the sound for prompting, for example, incoming ring tone.
As another embodiment, sounding request can play voice every time during electronic device sounding
Request.The then method of the embodiment of the present application, for during electronic device sounding, acquiring ambient noise and adjusting vibration
The vibration of component, and then to adjust sounding.
And electronic device is provided with voice collection device, which can be provided in the wheat on electronic device
The voice signal of ambient noise is converted to voice signal by gram wind for acquiring the ambient noise under current environment.Certainly,
Voice collection device can also be vibration component itself, if vibration component includes shell and screen, screen is sent out for vibrating
Sound controls vibration to make a sound by driver, and shell can be used for acquiring the sound of surrounding, in the embodiment of the present application
In, making a sound and acquire sound can be completed by screen, then when screen vibration sounding, does not execute sound collection
Operation, avoids interfering with each other.
Then vibration component, for example, screen can collect sound, principle is similar to microphone.The material of screen can shake
Dynamic, then if when the sound wave of ambient noise present causes air pressure change, screen can be bending with air pressure change, and in screen
One backboard of bottom surface setting, a motor of the backboard as capacitance, and another electrode of screen as capacitance, due to screen
Vibration, the capacitance size between screen and backboard can be changed, thus the variation of the capacitance can be converted to electric signal, from
And sound is acquired.As an implementation, some region of screen can be arranged to the screen of flexible material, and
Thickness is sufficiently small, is more prone to vibrate because of the influence of external sound wave.
S302:Obtain the intensity of sound of the ambient noise.
After collecting ambient noise, the sound characteristic of ambient noise can be got, which includes that environment is made an uproar
The characteristics such as frequency, intensity of sound or the vibration period of sound can be obtained by mathematical models such as spectrum analyses.
S303:The vibration parameters of the vibration component are set according to the intensity of sound.
After getting intensity of sound, the vibration parameters of vibration component are adjusted according to the intensity of sound, are allowed a user to
Enough in ambient noise, it is more prone to not hear the sound that electronic device is sent out.
As an implementation, the specific implementation of the vibration parameters of the vibration component is set according to the intensity of sound
Mode is:The Oscillation Amplitude of the vibration component is set according to the intensity of sound, to improve the sound that the vibration component is sent out
The intensity of sound.
Wherein, the Oscillation Amplitude of vibration component can improve the intensity for the sound that vibration component vibration is sent out, i.e. loudness, carry
High vibration amplitude can make sound louder.Therefore, the sound that vibration component is sent out can be improved by improving Oscillation Amplitude
The intensity of sound.
Specifically, the current volume of electronic device is obtained, i.e. electronic device is the volume of sounding request setting, example in advance
Such as, sounding request is call request, then call request is corresponding with default volume, and it is telephone operation in advance which, which is user,
And the volume being arranged, and the default volume is corresponded to there are one default vibration parameters, the default vibration parameters are default for sending out this
Volume, the interior default vibration parameters include default Oscillation Amplitude, then by default vibration as current Oscillation Amplitude.Certainly, such as
Fruit vibration component has currently vibrated, then the vibration parameters stored in driver is directly read, to obtain current vibration width
Degree.
Judge whether the intensity of sound of ambient noise is more than current volume, if it is greater, then improving sending out for electronic device
The volume of sound specifically obtain the intensity of sound of ambient noise and the volume difference of current volume, according to the volume difference
Increased Oscillation Amplitude is wanted in determination, specifically, in electronic device is previously stored with the correspondence of volume and Oscillation Amplitude, different
Volume correspond to different Oscillation Amplitudes, can obtain that volume difference is corresponding to want increased according to the correspondence as a result,
Oscillation Amplitude obtains the Oscillation Amplitude to be adjusted, the Oscillation Amplitude after adjustment is then sent to driver in turn, so that should
Driver is according to the Oscillation Amplitude control vibration component vibration after the adjustment.
S304:The vibration component vibration is controlled according to the vibration parameters after setting.
The driving circuit of electronic device adjusts drive signal according to the vibration parameters after the setting, for example, shaking after setting
Dynamic parameter is the Oscillation Amplitude after increasing, then driving circuit improves the level value of the high level of drive signal, for another example after setting
Vibration parameters be increase after vibration frequency, then driving circuit improve drive signal frequency.
Drive signal is sent to driver by driving circuit, then driver controls vibration section according to the drive signal after adjustment
Part vibrates, so as to parameters such as the vibration frequency or the amplitudes that adjust vibration component, so as to change sent out sound
The sound characteristics information such as intensity or frequency.
In addition, when electronic device using earphone when conversing, the ambient noise under current environment need not be acquired, because,
When the voice that user is sent out using earphone reception electronic device, vibration component need not vibrate.So based on obtaining
The sounding request taken, the embodiment for acquiring the ambient noise under the current environment of the electronic device include:Determine the hair
Make a formal request the non-earphone call mode of the no correspondence of Seeking Truth;If corresponding non-earphone call mode, acquires the current environment of the electronic device
Under ambient noise.Specifically, referring to Fig. 5, influence of this method for reducing ambient noise to screen sounding, specifically,
This method includes:S401 to S405.
S401:Determine whether the sounding request corresponds to non-earphone call mode.
Then sounding request at this time can be the request for answering call.
When electronic device is sent a telegram here, 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 fills for electronics
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.
And the type of the call mode of electronic device, it can be determined by several state values of detection electronic installation.Tool
Body, judges whether electronic device is connected with earphone, specifically, can be by checking the state of the earphone connecting hole of electronic device
Judge, for example, when the earphone connecting hole of electronic device connects earphone, first state value is returned to, when the earphone in connecting hole
When being pulled out, the second state value is returned, just can determine Current electronic device by detecting first state value and the second state value
Whether earphone is connected with.Specifically, Android system earphone into and out when can all send broadcast, so, electronics
Device monitors the broadcast, it will be able to determine whether Current electronic device is connected with earphone.Just can determine electronic device as a result, is
It is no to be in earphone call mode.
And to the monitoring of handset mode and hands-free mode, it can be by monitoring between handset mode and hands-free mode
The state value of the button of switching determines.For example, call interface shown in Fig. 5, shows hands-free button, user clicks this and exempts from
Button is carried, the hands-free button is selected, coloured can change in appearance to indicate that user's hands-free button is pressed.It is then electric
Sub-device detects the hands-free button whether in selected state, if it is, judgement electronic device is currently at hands-free mould
Formula, if it is not, then judgement electronic device is currently at handset mode.It should be noted that handset mode and hands-free mode
Monitoring is carried out in the case where electronic device is in non-earphone call mode.
When sounding asks corresponding non-earphone call mode, that is, handset mode or hands-free mode are corresponded to, then electronic device can
By controlling the vibration components vibration soundings such as screen, to allow the user to hear voice, then execute S402, if sounding is asked
Corresponding is earphone call mode, then terminates this operation.
S402:Acquire the ambient noise under the current environment of the electronic device.
S403:Obtain the intensity of sound of the ambient noise.
S404:The vibration parameters of the vibration component are set according to the intensity of sound.
S405:The vibration component vibration is controlled according to the vibration parameters after setting.
It should be noted that the part not being described in detail in above-mentioned steps, can refer to previous embodiment, it is no longer superfluous herein
It states.
Furthermore, it is contemplated that the intensity of ambient noise is very high, it can only by the intensity for improving the sound that electronic device is sent out
It can be not enough to the sound for allowing users to clearly hear that electronic device is sent out, therefore, the sound that electronic device is sent out can be adjusted
The frequency of sound.Specifically, referring to Fig. 6, influence of this method for reducing ambient noise to screen sounding, specifically, the party
Method includes:S601 to S605.
S601:Sounding request based on acquisition, acquires the ambient noise under the current environment of the electronic device.
S602:Obtain the intensity of sound and sound frequency of the ambient noise.
After collecting the voice signal of ambient noise, the spectrum information of the voice signal is obtained, ring can be got
The intensity of sound and sound frequency of border noise.
S603:The Oscillation Amplitude of the vibration component is set according to the intensity of sound.
S604:The vibration frequency of the vibration component is set according to the sound frequency.
After getting sound frequency, the frequency field that the sound frequency of ambient noise is mainly distributed can be got,
The vibration frequency of vibration component is set according to the frequency field, so that the distributed areas of the frequency for the sound that vibration component is sent out
It is different from the frequency field that the sound frequency of ambient noise is mainly distributed, although there is overlapping place appropriate, incomplete phase
Together, just there is different region.For example, the frequency field that the sound frequency of ambient noise is mainly distributed is 800Hz to 1200Hz,
Then set the vibration frequency of vibration component to 600Hz to 900Hz, although the then region of 800Hz to 900Hz, ambient noise and
The frequency for the sound that vibration component is sent out has overlapping, and still, 600Hz is underlapped to the region between 799Hz, thus, it is possible to
Keep the frequency for the sound that vibration component sends out different from the sound frequency of the ambient noise.
S605:According to after setting the vibration frequency and Oscillation Amplitude control the vibration component and make a sound.
The sound that vibration component is sent out is controlled by controlling the vibration of driver, specifically, the vibration of vibration component
The control of frequency can be that the frequency of the drive signal of driving circuit adjustment output is believed for example, drive signal is a square wave
Number, then the frequency of drive signal can be controlled by controlling the period of square-wave signal, and driver is output mechanical energy in high level
And screen is driven to vibrate, it is not vibrated in low level, the frequency that low and high level is alternately present as a result, is higher, i.e. drive signal
Frequency is higher, then driver more frequently drives screen to vibrate, and causes the frequency that screen vibrates the sound sent out higher, on the contrary
It is as the same.
It should be noted that the frequency distribution for the sound that above-mentioned electronic device is sent out and the frequency distribution of ambient noise have
Oscillation Amplitude highest of the vibration frequency of vibration component in non-overlapping region can be then arranged, so as to shake in the region of overlapping
The sound that dynamic component vibration is sent out is concentrated mainly in non-overlapping region, that is, vibrates the main lobe of the sound sent out positioned at non-overlapping
Region in.For example, the vibration frequency of above-mentioned vibration component is set as 600Hz to 900Hz, the sound frequency master of ambient noise
The frequency field to be distributed be 800Hz to 1200Hz in, then vibrate the sound sent out be concentrated mainly on 600Hz to 799Hz it
Between.
It should be noted that the part not being described in detail in above-mentioned steps, can refer to previous embodiment, it is no longer superfluous herein
It states.
Furthermore vibration component can also be divided into multiple regions, and each region corresponds to a driver, to more
Neatly the vibration sounding of electronic device is controlled, for example, vibration area used in this vibration sounding is more, then volume
It is higher, specifically, referring to Fig. 7, influence of this method for reducing ambient noise to screen sounding, specifically, this method packet
It includes:S701 to S704.
S701:Sounding request based on acquisition, acquires the ambient noise under the current environment of the electronic device.
S702:Obtain the intensity of sound of the ambient noise.
S703:The vibration area of the vibration component is determined according to the intensity of sound.
In the embodiment of the present application, vibration component is screen, then screen is divided into multiple vibration areas, as shown in figure 8,
Region position vibration area, is inside correspondingly arranged a driver, then driver can control the vibrating area shown in dashed circle
Screen area vibration in domain, moreover, the contact area by the way that driver and screen is rationally arranged so that contact area is opposite to shake
Dynamic region is too small, then can make between adjacent vibration area that there is no vibration interferences or vibration interference can be ignored.
The corresponding vibration parameters of each vibration area can be identical, can not also be identical, and still, each vibration area is right
It should be there are one vibration threshold, for example, therefore the upper limit of the upper limit of Oscillation Amplitude or vibration frequency participates in vibration sounding
Vibration area it is more, theoretically, the sound maximum intensity that is sent out is higher, highest frequency is higher.
As an implementation, intensity of sound pass corresponding with vibration area can be stored in electronic device in advance
System, specifically, in electronic device is stored with the intensity of sound of ambient noise and the correspondence of vibration area, is spent before a sound
Corresponding one or more vibration area, for example, intensity A corresponds to vibration area Q1, intensity B corresponds to vibration area Q1 and Q2, also
It is to say, then when the intensity of sound of ambient noise is intensity A, vibration area Q1 is participated in vibration sounding, the sound of ambient noise
When intensity is intensity B, vibration area Q1 and Q2 are participated in vibration sounding, then the vibration area for participating in vibration sounding is institute
The vibration area of the vibration component of setting.Therefore, according to the correspondence of the intensity of sound of ambient noise and vibration area, energy
The corresponding vibration area of intensity of sound of ambient noise under enough current environments for determining the electronic device acquired.
As another embodiment, the embodiment party of the vibration area of the vibration component is determined according to the intensity of sound
Formula is:
Judge whether the intensity of sound is more than preset value.Wherein, preset value is a preset intensity of sound value, the sound
Loudness of a sound angle value can be the intensity of sound for the sound that current electronic device is sent out, for example, for the system of current electronic device
Volume asks corresponding application program and the volume that is arranged for sounding, can also be above-mentioned default volume.Then preset
The default vibration area of the corresponding vibration component of value, then corresponding default vibration area is corresponding for sending out the preset value
Volume.
If the intensity of sound of the ambient noise acquired is more than preset value, increases the default vibration area, will increase
The default vibration area afterwards is used for the vibration area of vibration sounding as this, that is to say, that increase participates in this and shakes
Vibration area in dynamic sounding, so as to spend bigger before the sound of vibration sounding.
For example, default vibration area is vibration area Q1 and Q2, that is, two vibration areas are corresponded to, then when the environment acquired
The intensity of sound of noise is more than preset value, and default vibration area is revised as vibration area Q1, Q2 and Q3, that is, has corresponded to three and has shaken
Dynamic region, then using vibration area Q1, Q2 and Q3 as the vibration area set by this.
For another example default vibration area is vibration area Q2, Q3 and Q4, that is, three vibration areas are corresponded to, then when being acquired
Ambient noise intensity of sound be less than preset value, default vibration area is revised as vibration area Q2 and Q3, that is, has corresponded to two
A vibration area, then using vibration area Q2 and Q3 as the vibration area set by this.
It can be realized as controlling more vibration area vibration sounding when the intensity of sound of ambient noise is higher as a result,
Thus the volume for the sound of electronic device sent out is improved so that user can be more clear hears the sound that electronic device is sent out
Sound.And when the intensity of sound of ambient noise is relatively low, then less vibration area vibration sounding is controlled, can ensure electronics dress
In the case of setting the sound sent out and capable of not being heard by user, the energy consumption of electronic device is reduced.It is acquired it should be noted that working as
It when the intensity of sound of ambient noise is less than preset value, default vibration area can not be changed and remains unchanged, or energy
Consumption and screen service life the considerations of and reduce the default vibration area.
In addition, after in order to avoid presetting vibration area in adjustment, even if the variation of ambient noise is little, can still adjust
Vibration area, and cause adjustment excessively frequent, therefore, the sound of this ambient noise acquired is strong under electronic device records
Degree collects the intensity of sound of ambient noise next time after having adjusted vibration area, and acquisition is made an uproar with the environment that last time is acquired
The amplitude of variation of the intensity of sound of sound no longer executes true according to the intensity of sound if amplitude of variation is less than default value
The operation of the vibration area of the fixed vibration component.Wherein, default value is set according to demand, for indicate amplitude of variation compared with
It is small, and amplitude of variation can be the absolute value of the difference of intensity of sound twice.
S704:Control the vibration area vibration sounding of the vibration component.
It should be noted that the part not being described in detail in above-mentioned steps, can refer to previous embodiment, it is no longer superfluous herein
It states.
Referring to Fig. 9, showing sounding controller 900 provided by the embodiments of the present application, the device is for reducing environment
Influence of the noise to screen sounding, specifically, which includes:Collecting unit 901, acquiring unit 902,903 and of setting unit
Phonation unit 904.
Collecting unit 901 acquires the environment under the current environment of the electronic device for the sounding request based on acquisition
Noise.
Acquiring unit 902, the intensity of sound for obtaining the ambient noise.
Setting unit 903, the vibration parameters for the vibration component to be arranged according to the intensity of sound.
Phonation unit 904 makes a sound for controlling the vibration component according to the vibration parameters after setting.
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, 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 calculating that are mobile or portable and executing wireless communication
Any one of machine system equipment (only illustratively shows a kind of form) in Fig. 1.Specifically, electronic device 100 can be with
For 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), knee
Laptop, 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 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 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.
Electronic device 100 as shown in Figure 1 includes electronic body portion 10, and the electronic body portion 10 includes shell 12 and sets
Set the screen 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 screen 120 generally includes display panel 111, may also comprise and carries out touch control gesture to the display panel 111 for responding
Circuit etc..The display panel 111 can be a 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.
It will appreciated by the skilled person that for the processor 102, every other component belongs to
It is coupled by multiple Peripheral Interfaces 124 between peripheral hardware, the processor 102 and these peripheral hardwares.The Peripheral Interface 124
It can be 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
Detached in Peripheral Interface 124, and be integrated in the processor 102 or corresponding peripheral hardware in.
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, to perform various functions 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 screen 120.The example of above-mentioned network include but not limited to internet, intranet, LAN, mobile radio communication and
A combination thereof.
The RF modules 106 are used to receive and transmit electromagnetic wave, realize the mutual conversion of electromagnetic wave and electric signal, to
It is communicated with communication network or other equipment.The RF modules 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 modules 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
LAN or Metropolitan Area Network (MAN).Above-mentioned wireless network can use various communication standards, agreement and technology, 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 (Wirel ess,
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), it is the networking telephone (Voice over internet protocal, VoIP), complete
Ball microwave interconnecting accesses (Worldwide Interoperability for Microwave Access, Wi-Max), other use
In the agreement of mail, instant messaging and short message and any other suitable communications protocol, or even it may include those currently still
The agreement not being developed.
Voicefrequency circuit 110, sound jack 103, microphone 105 provide user and the electronic body portion 10 or described jointly
Audio interface between screen 120.Specifically, the voicefrequency circuit 110 receives voice data from the processor 102, will
Voice data is converted to electric signal, and by electric signal transmission to driver 131, then voicefrequency circuit 110 can be as above-mentioned driving
Circuit uses.Drive signal of the electric signal as driver 131, then the driver 131 is according to electric signal control vibration section
The vibration of part, to which voice data is converted to the sound wave that human ear can be heard.The voicefrequency circuit 110 is also from the microphone
Electric signal is received at 105, converts electrical signals to voice data, and give data transmission in network telephony to the processor 102 to carry out
Further processing.Audio data can obtain from the memory 104 or by the RF modules 106.In addition, sound
Frequency evidence can also be stored into the memory 104 or be sent by the RF modules 106.
The setting of the sensor 114 is in the electronic body portion 10 or in the screen 120, the sensor 114
Example includes but is not limited to:Optical sensor, pressure sensor, acceleration transducer 114F, proximity sensor 114J and its
His sensor.
Specifically, the optical sensor may include light sensor.Light sensor can be according to ring residing for electronic device
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
Dark (setting with screen intensity also has relationship), had not only protected eyes but also had saved electricity in this way.
Wherein, pressure sensor can detect 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 electronic device, such as is filled with electronics by the ear of user
The pressure that contact or pressing between setting 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, specifically in the embodiment shown in fig. 1, the light sensor and the pressure sensing
Device is arranged adjacent to the display panel 111.The light sensor can be such as described when there is object close to the screen 120
When 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, can be used to identify the application of 100 posture of the electronic device when static
(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 being arranged the touch screen 109 on the screen 120, institute
State touch screen 109 collect user on it or neighbouring touch operation (for example user is any suitable using finger, stylus etc.
The operation of object or attachment on the touch screen 109 or near the touch screen 109), and according to a pre-set procedure
Drive corresponding attachment device.Optionally, the touch screen 109 may include touch detecting apparatus and touch controller.Wherein, institute
The touch orientation of touch detecting apparatus detection user is stated, and detects the signal that touch operation is brought, transmits a signal to described touch
Touch controller;The touch controller receives touch information from the touch detecting apparatus, and the touch information is converted into
Contact coordinate, then give the processor 102, and order that the processor 102 is sent can be received and executed.In addition,
The touch detection that the multiple types such as resistance-type, condenser type, infrared ray and surface acoustic wave realize the touch screen 109 may be used
Function.
The information and the electronic body that the screen 120 is used to show information input by user, is supplied to user
The various graphical user interface in portion 10, these graphical user interface can be by figure, text, icon, number, videos and it is arbitrary
It combines to constitute, in an example, the touch screen 109 may be disposed on the display panel 111 thus with the display
Panel 111 constitutes an entirety.
The power module 122 is used to provide supply of electric power 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 screen
The generation, management of electric power and the relevant component of distribution in curtain 120.
The electronic device 100 further includes locator 119, and the locator 119 is for determining 100 institute of the 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 of the position of positioning object or service.
In conclusion the embodiment of the present application provides a kind of sounding control method, device, electronic device and computer-readable
Medium is asked based on acquired sounding after getting sounding request, acquires the environment under the current environment of electronic device
Then noise obtains the intensity of sound of ambient noise, controlling the vibration component according to intensity of sound vibrates.Therefore, not only may be used
It, can be to avoid sound outlet hole be arranged on the electronic device, it is also contemplated that ring with the mode of vibration by screen or shell come sounding
The influence for the sound that border noise sends out electronic device, and shaking for vibration component is adjusted according to the intensity of sound of ambient noise
It is dynamic, so as to adjust vibration sounding.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example
Point is contained at least one embodiment or example of the application.In the present specification, schematic expression of the above terms are not
It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office
It can be combined in any suitable manner in one or more embodiments or example.In addition, without conflicting with each other, the skill of this field
Art personnel can tie the feature of different embodiments or examples described in this specification and different embodiments or examples
It closes and combines.
In addition, term " first ", " second " are used for description purposes only, it is not understood to indicate or imply relative importance
Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or
Implicitly include at least one this feature.In the description of the present application, the meaning of " plurality " is at least two, such as two, three
It is a etc., unless otherwise specifically defined.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes
It is one or more for realizing specific logical function or process the step of executable instruction code module, segment or portion
Point, and the range of the preferred embodiment of the application includes other realization, wherein can not press shown or discuss suitable
Sequence, include according to involved function by it is basic simultaneously in the way of or in the opposite order, to execute function, this should be by the application
Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use
In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for
Instruction execution system, device or equipment (system of such as computer based system including processor or other can be held from instruction
The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set
It is standby and use.For the purpose of this specification, " computer-readable medium " can any can be included, store, communicating, propagating or passing
Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment
It sets.The more specific example (non-exhaustive list) of computer-readable medium includes following:Electricity with one or more wiring
Interconnecting piece (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory
(ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits
Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable
Medium because can for example by carrying out optical scanner to paper or other media, then into edlin, interpretation or when necessary with
Other suitable methods are handled electronically to obtain described program, are then stored in computer storage.
It should be appreciated that each section of the application can be realized with hardware, software, firmware or combination thereof.Above-mentioned
In embodiment, software that multiple steps or method can in memory and by suitable instruction execution system be executed 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 row technology or their combination are realized:With the logic gates for realizing logic function to data-signal
Discrete logic, with suitable combinational logic gate circuit application-specific integrated circuit, programmable gate array (PGA), scene
Programmable gate array (FPGA) etc..
Those skilled in the art are appreciated that realize all or part of step that above-described embodiment method carries
Suddenly it is that relevant hardware can be instructed to complete by program, the program can be stored in a kind of computer-readable storage medium
In matter, which includes the steps that one or a combination set of embodiment of the method when being executed.In addition, in each embodiment of the application
In each functional unit can be integrated in a processing module, can also be that each unit physically exists alone, can also two
A or more than two units are integrated in a module.The form that hardware had both may be used in above-mentioned integrated module is realized, also may be used
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 sale in use, can also be stored in a computer read/write memory 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, change, replace and become within the scope of application
Type.
Finally it should be noted that:Above example is 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
Technical scheme described in the above embodiments is modified or equivalent replacement of some of the technical features;And
These modifications or replacements, do not drive corresponding technical solution essence be detached from each embodiment technical solution of the application spirit and
Range.
Claims (11)
1. a kind of sounding control method, which is characterized in that be applied to electronic device, the electronic device includes being capable of vibration sounding
Vibration component, the vibration component be the electronic device screen or shell it is at least one, the method includes:
Sounding request based on acquisition, acquires the ambient noise under the current environment of the electronic device;
Obtain the intensity of sound of the ambient noise;
The vibration parameters of the vibration component are set according to the intensity of sound;
The vibration component vibration is controlled according to the vibration parameters after setting.
2. according to the method described in claim 1, it is characterized in that, described be arranged the vibration component according to the intensity of sound
Vibration parameters, including:
The Oscillation Amplitude of the vibration component is set according to the intensity of sound, to improve sound that the vibration component is sent out
Intensity.
3. according to the method described in claim 1, it is characterized in that, the sounding request based on acquisition, acquires the electronics
After ambient noise under the current environment of device, further include:
Obtain the sound frequency of the ambient noise;
The vibration frequency of the vibration component is set according to the sound frequency;
It is made a sound according to vibration component described in the vibration frequency control after setting, so that the sound that the vibration component is sent out
The frequency of sound is different from the sound frequency of the ambient noise.
4. according to the method described in claim 1, it is characterized in that, described be arranged the vibration component according to the intensity of sound
Vibration parameters, control the vibration component according to the vibration parameters after setting and vibrate, including:
The vibration area of the vibration component is determined according to the intensity of sound;
Control the vibration area vibration sounding of the vibration component.
5. according to the method described in claim 4, it is characterized in that, described determine the vibration component according to the intensity of sound
Vibration area, including:
Judge whether the intensity of sound is more than preset value, the preset value corresponds to the default vibration area of the vibration component;
If more than preset value, increases the default vibration area, the default vibration area after increase is used for as this
The vibration area of vibration sounding;
If being less than preset value, reduces the default vibration area, the default vibration area after reduction is used for as this
The vibration area of vibration sounding.
6. according to the method described in claim 4, it is characterized in that, described be arranged the vibration component according to the intensity of sound
Vibration area size, including:
According to the correspondence of the intensity of sound of preset ambient noise and vibration area, the electronic device acquired is determined
Current environment under ambient noise the corresponding vibration area of intensity of sound.
7. according to any methods of claim 1-6, which is characterized in that the sounding request based on acquisition acquires institute
The ambient noise under the current environment of electronic device is stated, including:
Determine whether the sounding request corresponds to non-earphone call mode;
If corresponding non-earphone call mode, acquires the ambient noise under the current environment of the electronic device.
8. a kind of sounding controller, which is characterized in that be applied to electronic device, the electronic device includes being capable of vibration sounding
Vibration component, the vibration component be the electronic device screen or shell it is at least one, described device includes:
Collecting unit acquires the ambient noise under the current environment of the electronic device for the sounding request based on acquisition;
Acquiring unit, the intensity of sound for obtaining the ambient noise;
Setting unit, the vibration parameters for the vibration component to be arranged according to the intensity of sound;
Phonation unit makes a sound for controlling the vibration component according to the vibration parameters after setting.
9. a kind of electronic device, which is characterized in that the vibration component including capableing of vibration sounding, the vibration component are the electricity
The screen of sub-device or shell it is at least one;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 following operation:
Sounding request based on acquisition, acquires the ambient noise under the current environment of the electronic device;
Obtain the intensity of sound of the ambient noise;
The vibration parameters of the vibration component are set according to the intensity of sound;
The vibration component is controlled according to the vibration parameters after setting to make a sound.
10. a kind of computer-readable medium for the program code that can perform with processor, which is characterized in that said program code
The processor is set to execute any one of claim 1-7 the methods.
11. a kind of electronic device, which is characterized in that including:
Vibration component, be used for vibration sounding, the vibration component be the electronic device screen or shell it is at least one;
Driver is connect with the vibration component, and the driver is for driving the vibration component vibration sounding;
Further include detection circuit and driving circuit, the detection circuit acquires the electronics for the sounding request based on acquisition
Ambient noise under the current environment of device obtains the intensity of sound of the ambient noise, and institute is arranged according to the intensity of sound
State the vibration parameters of vibration component;The driving circuit, which is used to control the vibration component according to the vibration parameters after setting, to shake
It is dynamic.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810519421.3A CN108810198B (en) | 2018-05-17 | 2018-05-17 | Sound production control method and device, electronic device and computer readable medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810519421.3A CN108810198B (en) | 2018-05-17 | 2018-05-17 | Sound production control method and device, electronic device and computer readable medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108810198A true CN108810198A (en) | 2018-11-13 |
CN108810198B CN108810198B (en) | 2020-06-23 |
Family
ID=64090456
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810519421.3A Active CN108810198B (en) | 2018-05-17 | 2018-05-17 | Sound production control method and device, electronic device and computer readable medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108810198B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109908578A (en) * | 2019-01-28 | 2019-06-21 | 努比亚技术有限公司 | A kind of game seismaesthesia control method, terminal and computer readable storage medium |
CN110166631A (en) * | 2019-06-28 | 2019-08-23 | 瑞声科技(新加坡)有限公司 | A kind of motor vibrations method, apparatus, system and readable medium |
CN111163197A (en) * | 2020-01-14 | 2020-05-15 | 青岛海信移动通信技术股份有限公司 | Mobile terminal equipment and screen sounding method thereof |
CN113489840A (en) * | 2021-07-30 | 2021-10-08 | Oppo广东移动通信有限公司 | Event reminding method and device, storage medium and electronic equipment |
CN115623123A (en) * | 2021-07-13 | 2023-01-17 | 北京荣耀终端有限公司 | Audio processing method and device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103929522A (en) * | 2013-01-10 | 2014-07-16 | 联想(北京)有限公司 | Control method and control apparatus of electronic device, and electronic device |
CN104469632A (en) * | 2014-11-28 | 2015-03-25 | 上海华勤通讯技术有限公司 | Sound production method and sound production device |
US20150178040A1 (en) * | 2008-12-08 | 2015-06-25 | Apple Inc. | Ambient noise based augmentation of media playback |
CN105159459A (en) * | 2015-09-06 | 2015-12-16 | 东南大学 | Virtual object three-dimensional shape tactile representation method capable of being used for mobile terminal |
CN106254648A (en) * | 2016-08-01 | 2016-12-21 | 珠海格力电器股份有限公司 | The regulation method of mobile device volume, device and mobile device |
-
2018
- 2018-05-17 CN CN201810519421.3A patent/CN108810198B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150178040A1 (en) * | 2008-12-08 | 2015-06-25 | Apple Inc. | Ambient noise based augmentation of media playback |
CN103929522A (en) * | 2013-01-10 | 2014-07-16 | 联想(北京)有限公司 | Control method and control apparatus of electronic device, and electronic device |
CN104469632A (en) * | 2014-11-28 | 2015-03-25 | 上海华勤通讯技术有限公司 | Sound production method and sound production device |
CN105159459A (en) * | 2015-09-06 | 2015-12-16 | 东南大学 | Virtual object three-dimensional shape tactile representation method capable of being used for mobile terminal |
CN106254648A (en) * | 2016-08-01 | 2016-12-21 | 珠海格力电器股份有限公司 | The regulation method of mobile device volume, device and mobile device |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109908578A (en) * | 2019-01-28 | 2019-06-21 | 努比亚技术有限公司 | A kind of game seismaesthesia control method, terminal and computer readable storage medium |
CN109908578B (en) * | 2019-01-28 | 2022-07-05 | 努比亚技术有限公司 | Game vibration sense control method, terminal and computer readable storage medium |
CN110166631A (en) * | 2019-06-28 | 2019-08-23 | 瑞声科技(新加坡)有限公司 | A kind of motor vibrations method, apparatus, system and readable medium |
WO2020258328A1 (en) * | 2019-06-28 | 2020-12-30 | 瑞声声学科技(深圳)有限公司 | Motor vibration method, device, system, and readable medium |
CN111163197A (en) * | 2020-01-14 | 2020-05-15 | 青岛海信移动通信技术股份有限公司 | Mobile terminal equipment and screen sounding method thereof |
CN115623123A (en) * | 2021-07-13 | 2023-01-17 | 北京荣耀终端有限公司 | Audio processing method and device |
CN113489840A (en) * | 2021-07-30 | 2021-10-08 | Oppo广东移动通信有限公司 | Event reminding method and device, storage medium and electronic equipment |
CN113489840B (en) * | 2021-07-30 | 2023-05-30 | Oppo广东移动通信有限公司 | Event reminding method and device, storage medium and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN108810198B (en) | 2020-06-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108683761A (en) | Sounding control method, device, electronic device and computer-readable medium | |
CN109194796A (en) | Screen vocal technique, device, electronic device and storage medium | |
CN109032556B (en) | Sound production control method, sound production control device, electronic device, and storage medium | |
CN108881568B (en) | Method and device for sounding display screen, electronic device and storage medium | |
CN108810198A (en) | Sounding control method, device, electronic device and computer-readable medium | |
CN108646971A (en) | Screen sounding control method, device and electronic device | |
CN108769327A (en) | Method, apparatus, electronic device and the storage medium of display screen sounding | |
CN108762711A (en) | Method, apparatus, electronic device and the storage medium of screen sounding | |
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 | |
CN109062535A (en) | Sounding control method, device, electronic device and computer-readable medium | |
CN109086023B (en) | Sound production control method and device, electronic equipment and storage medium | |
CN108958632B (en) | Sound production control method and device, electronic equipment and storage medium | |
CN108958697A (en) | Screen sounding control method, device and electronic device | |
CN109085985A (en) | Sounding control method, device, electronic device and storage medium | |
CN109144460A (en) | Sounding control method, device, electronic device 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 | |
CN108958631B (en) | Screen sounding control method and device and electronic device | |
CN109062533B (en) | Sound production control method, sound production control device, electronic device, and storage medium | |
CN110505335A (en) | Sounding control method, device, electronic device and computer-readable medium | |
CN108900688A (en) | Sounding control method, device, electronic device and computer-readable medium | |
CN109088980A (en) | Sounding control method, device, electronic device and computer-readable medium | |
CN108769364A (en) | Call control method, device, mobile terminal and computer-readable medium | |
CN109086022B (en) | Sound production control method, sound production control 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |