[go: up one dir, main page]

CN109144462A - Sounding control method, device, electronic device and computer-readable medium - Google Patents

Sounding control method, device, electronic device and computer-readable medium Download PDF

Info

Publication number
CN109144462A
CN109144462A CN201810817948.4A CN201810817948A CN109144462A CN 109144462 A CN109144462 A CN 109144462A CN 201810817948 A CN201810817948 A CN 201810817948A CN 109144462 A CN109144462 A CN 109144462A
Authority
CN
China
Prior art keywords
screen
electronic device
driving
sound
initial
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
Application number
CN201810817948.4A
Other languages
Chinese (zh)
Other versions
CN109144462B (en
Inventor
张海平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810817948.4A priority Critical patent/CN109144462B/en
Publication of CN109144462A publication Critical patent/CN109144462A/en
Application granted granted Critical
Publication of CN109144462B publication Critical patent/CN109144462B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/162Interface to dedicated audio devices, e.g. audio drivers, interface to CODECs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/165Management of the audio stream, e.g. setting of volume, audio stream path

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本申请实施例公开了一种发声控制方法、装置、电子装置及计算机可读介质,涉及电子装置技术领域。该方法包括:当电子装置处于屏幕振动发声状态下,获取电子装置的当前发声音量,作为初始音量;确定初始音量对应的驱动参数,其中,激励器根据驱动参数输出驱动力,以驱动屏幕振动发声;当检测到作用于屏幕的压力值时,根据压力值调整驱动参数;控制激励器根据调整后的驱动参数驱动屏幕振动发声。因此,不仅可以通过屏幕或后盖的振动方式来发声,可以避免在电子装置上设置出音孔,还能够在电子装置的屏幕振动发声的时候,根据用户对屏幕的按压就是调整用户驱动屏幕振动的驱动参数,改善屏幕振动发声效果。

Embodiments of the present application disclose a sound production control method, device, electronic device, and computer-readable medium, which relate to the technical field of electronic devices. The method includes: when the electronic device is in a state of screen vibration and sound production, acquiring the current sound volume of the electronic device as an initial volume; determining a driving parameter corresponding to the initial volume, wherein the exciter outputs a driving force according to the driving parameter to drive the screen to vibrate and sound ; When detecting the pressure value acting on the screen, adjust the driving parameters according to the pressure value; control the exciter to drive the screen to vibrate and sound according to the adjusted driving parameters. Therefore, not only can sound be produced by the vibration of the screen or the back cover, it can avoid setting a sound hole on the electronic device, but also when the screen of the electronic device vibrates and sounds, according to the user's pressing on the screen, the user can drive the screen to vibrate. to improve the sound effect of screen vibration.

Description

Sounding control method, device, electronic device and computer-readable medium
Technical field
This application involves technical field of electronic device, fill more particularly, to a kind of sounding control method, device, electronics It sets and computer-readable medium.
Background technique
It is by loudspeaker sounding to export voice signal in tablet computer etc. currently, electronic device, such as mobile phone. However, the setting of loudspeaker occupies biggish design space, the direction of slimming design is not met so as to cause electronic device.
Summary of the invention
It is above-mentioned to improve present applicant proposes a kind of sounding control method, device, electronic device and computer-readable medium Defect.
In a first aspect, the embodiment of the present application provides a kind of sounding control method, it is applied to electronic device, the electronics dress It sets including screen, the driver for driving the screen vibration sounding.The described method includes: when the electronic device is in screen Under curtain vibration sounding state, the current utterance volume of the electronic device is obtained, as initial volume;Determine the initial volume Corresponding initial drive parameter;The pressure value that the screen receives is detected, the initial driving is adjusted according to the pressure value Parameter;Control driver screen vibration sounding according to the driving driving parameter adjusted.
Second aspect, the embodiment of the present application also provides a kind of sounding controllers, are applied to electronic device, the electronics Device includes screen, the driver for driving the screen vibration sounding.The sounding controller include: acquiring unit, Determination unit, adjustment unit and driving unit.Acquiring unit, for being in screen vibration sounding state when the electronic device Under, the current utterance volume of the electronic device is obtained, as initial volume.Determination unit, for determining the initial volume Corresponding initial drive parameter.Adjustment unit, the pressure value received for detecting the screen are adjusted according to the pressure value The driving parameter.Driving unit, for controlling driver screen according to the driving driving parameter adjusted Vibration sounding.
The third aspect, the embodiment of the present application also provides a kind of electronic device, including screen, for driving the screen to shake The driver of dynamic sounding.Electronic device further include: processor, detection circuit and driving circuit.Processor, for working as the electronics Device is under screen vibration sounding state, obtains the current utterance volume of the electronic device, as initial volume, determines institute State the corresponding initial drive parameter of initial volume.Detection circuit, the pressure value received for detecting the screen, and be sent to The processor.The processor is also used to adjust the initial drive parameter according to the pressure value.Driving circuit, for controlling Make driver screen vibration sounding according to driving driving parameter adjusted.
Fourth aspect, the embodiment of the present application also provides a kind of electronic device, including it is screen, multiple for driving the screen The driver of curtain sounding, the multiple driver correspond to the different location of the screen;It further include memory and processor, it is described Memory is coupled with the processor;The memory store instruction, when executed by the processor so that institute It states processor and executes the above method.
5th aspect, the embodiment of the present application also provides a kind of computer-readable medium, the computer-readable storage Program code is stored in medium, said program code can be called by processor and execute the above method.
Sounding control method, device, electronic device and computer-readable medium provided by the embodiments of the present application, when the electricity Sub-device is under screen vibration sounding state, determines the initial volume of current utterance volume, and determines that the initial volume is corresponding Initial drive parameter.When detecting the pressure value for acting on the screen, the initial drive is adjusted according to the pressure value Dynamic parameter, controls driver screen vibration sounding according to the driving driving parameter adjusted.Therefore, not only may be used It, can be to avoid sound outlet hole be arranged on the electronic device, additionally it is possible in electronics with the mode of vibration by screen or rear cover come sounding When the screen vibration sounding of device, the driving parameter of user's driving screen vibration is adjusted to the pressing of screen according to user, Improve screen vibration sounding effect.
Other feature and advantage of the embodiment of the present application will illustrate in subsequent specification, also, partly from specification In become apparent, or understood and implementing the embodiment of the present application.The purpose of the embodiment of the present application and other advantages can It is achieved and obtained by structure specifically indicated in the written description, claims, and drawings.
Detailed description of the invention
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, the drawings in the following description are only some examples of the present application, for For those skilled in the art, without creative efforts, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 shows the structural schematic diagram under the first visual angle of electronic device provided by the embodiments of the present application;
Fig. 2 shows the structural schematic diagrams under the second visual angle of electronic device provided by the embodiments of the present application;
Fig. 3 shows the method flow diagram of the sounding control method of one embodiment of the application offer;
Fig. 4 shows the schematic diagram of the pressure provided by the embodiments of the present application for acting on screen;
Fig. 5 shows the method flow diagram for the sounding control method that another embodiment of the application provides;
Fig. 6 shows the method flow diagram for the sounding control method that the another embodiment of the application provides;
Fig. 7 shows the module frame chart of sounding controller provided by the embodiments of the present application;
Fig. 8 shows the module frame chart of the electronic device of one embodiment of the application offer;
Fig. 9 shows the module frame chart for the electronic device that another embodiment of the application provides;
Figure 10 shows provided by the embodiments of the present application for executing the electronic device of method provided by the embodiments of the present application Module frame chart.
Specific embodiment
Below in conjunction with attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Ground description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.Usually exist The component of the embodiment of the present application described and illustrated in attached drawing can be arranged and be designed with a variety of different configurations herein.Cause This, is not intended to limit claimed the application's to the detailed description of the embodiments herein provided in the accompanying drawings below Range, but it is merely representative of the selected embodiment of the application.Based on embodiments herein, those skilled in the art are not being done Every other embodiment obtained under the premise of creative work out, shall fall in the protection scope of this application.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined in a attached drawing, does not then need that it is further defined and explained in subsequent attached drawing.Meanwhile the application's In description, term " first ", " second " etc. are only used for distinguishing description, are not understood to indicate or imply relative importance.
The display screen usually effect played in the electronic devices such as mobile phone, tablet computer is display text, picture, icon Or the contents such as video.And along with the development of touch technology, display screen set by more and more electronic devices is touch-control Display screen, in the case where touching display screen is arranged, when detect user pull, click, double-click on touching display screen, When the touch control operations such as sliding, the touch control operation of user can be responded.
As clarity and fineness of the user to displayed content require higher and higher, more electronic devices uses Larger-size touching display screen.But during larger-size touching display screen is set, electronic device front end is found Set front camera will affect the area that touching display screen can expand to close to function elements such as optical sensor, earpieces Domain.
Usual electronic device includes front panel, rear cover and frame.In front plate include top region, middle part screen area and under Portion key zone.In general, upper frontal region is provided with the function elements such as earpiece sound outlet hole and front camera, middle part screen area is provided with Touching display screen, lower part key zone are provided with one to three physical buttons.And with the development of technology, lower part key zone is by gradually Cancel, the physical button that lower part key zone is arranged in originally is substituted by the virtual key in touching display screen.
And earpiece sound outlet hole set by upper frontal region is more important for the function support of mobile phone, is not easy easily to cancel, So by touching display screen can display area be extended to the upper frontal region of covering there is biggish difficulty.It is studied by some column Afterwards, inventor's discovery can be made a sound by way of screen, frame or the rear cover vibration for controlling mobile phone, so as to Cancel the setting of earpiece sound outlet hole.
Illustratively, Fig. 1 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.

Claims (10)

1.一种发声控制方法,其特征在于,应用于电子装置,所述电子装置包括屏幕、用于驱动所述屏幕振动发声的激励器,所述方法包括:1. A sounding control method, characterized in that, applied to an electronic device, the electronic device comprising a screen, an exciter for driving the screen to vibrate and sound, the method comprising: 当所述电子装置处于屏幕振动发声状态下,获取所述电子装置的当前发声音量,作为初始音量;When the electronic device is in the state of screen vibration and sound, obtain the current sound volume of the electronic device as the initial volume; 确定所述初始音量对应的初始驱动参数;determining the initial drive parameters corresponding to the initial volume; 检测所述屏幕接收到的压力值,根据所述压力值调整所述初始驱动参数;Detecting the pressure value received by the screen, and adjusting the initial driving parameter according to the pressure value; 控制所述激励器根据调整后的驱动参数驱动所述屏幕振动发声。The exciter is controlled to drive the screen to vibrate and sound according to the adjusted driving parameters. 2.根据权利要求1所述的方法,其特征在于,所述根据所述压力值调整所述初始驱动参数,包括:2. The method according to claim 1, wherein the adjusting the initial driving parameter according to the pressure value comprises: 判断所述压力值是否位于预设压力范围内;judging whether the pressure value is within a preset pressure range; 若位于预设压力范围内,则根据所述压力值调整所述初始驱动参数。If it is within a preset pressure range, the initial driving parameter is adjusted according to the pressure value. 3.根据权利要求1或2所述的方法,其特征在于,所述根据所述压力值调整所述初始驱动参数,包括:3. The method according to claim 1 or 2, wherein the adjusting the initial driving parameter according to the pressure value comprises: 根据所述压力值增大所述初始驱动参数。The initial drive parameter is increased according to the pressure value. 4.根据权利要求3所述的方法,其特征在于,所述根据所述压力值增大所述驱动参数,包括:4. The method according to claim 3, wherein the increasing the driving parameter according to the pressure value comprises: 确定所述初始音量对应的初始驱动参数所对应的初始驱动力;determining the initial driving force corresponding to the initial driving parameter corresponding to the initial volume; 获取所述初始驱动力与所述压力值之间的差值;obtaining the difference between the initial driving force and the pressure value; 根据所述差值增大所述初始驱动参数。The initial driving parameter is increased according to the difference. 5.根据权利要求1或2所述的方法,其特征在于,所述电子装置还包括音频采集器,所述控制所述激励器根据调整后的驱动参数驱动所述屏幕振动发声之后,还包括:5. The method according to claim 1 or 2, wherein the electronic device further comprises an audio collector, and after the control of the exciter drives the screen to vibrate and emit sound according to the adjusted driving parameters, the electronic device further comprises: : 获取所述音频采集器所采集的音频信号;obtaining the audio signal collected by the audio collector; 获取所采集的音频信号的音量与所述初始音量之间的音量差;Obtain the volume difference between the volume of the collected audio signal and the initial volume; 判断所述音量差是否大于预设值;Determine whether the volume difference is greater than a preset value; 若是,则控制所述激励器停止驱动所述屏幕振动发声。If so, control the exciter to stop driving the screen to vibrate and sound. 6.根据权利要求5所述的方法,其特征在于,所述若是,则控制所述激励器停止驱动所述屏幕振动发声,包括:6. The method according to claim 5, wherein, if the yes, then controlling the exciter to stop driving the screen to vibrate and sound, comprising: 若是,则控制所述激励器停止驱动所述屏幕振动发声,并发出提醒信息,以提醒用户将作用于所述屏幕的所述压力值消除。If so, control the exciter to stop driving the screen to vibrate and sound, and issue a reminder message to remind the user to eliminate the pressure value acting on the screen. 7.一种发声控制装置,其特征在于,应用于电子装置,所述电子装置包括屏幕、用于驱动所述屏幕振动发声的激励器,所述发声控制装置包括:7. A sound production control device, characterized in that it is applied to an electronic device, the electronic device comprising a screen and an exciter for driving the screen to vibrate and sound, the sound production control device comprising: 获取单元,用于当所述电子装置处于屏幕振动发声状态下,获取所述电子装置的当前发声音量,作为初始音量;an acquisition unit, configured to acquire the current sound volume of the electronic device as the initial volume when the electronic device is in a state of screen vibration and sound; 确定单元,用于确定所述初始音量对应的初始驱动参数;a determining unit, used for determining the initial drive parameter corresponding to the initial volume; 调整单元,用于检测所述屏幕接收到的压力值,根据所述压力值调整所述初始驱动参数;an adjustment unit, configured to detect the pressure value received by the screen, and adjust the initial drive parameter according to the pressure value; 驱动单元,用于控制所述激励器根据调整后的驱动参数驱动所述屏幕振动发声。A driving unit, configured to control the exciter to drive the screen to vibrate and emit sound according to the adjusted driving parameters. 8.一种电子装置,其特征在于,包括屏幕、用于驱动所述屏幕振动发声的激励器;还包括:8. An electronic device, characterized in that it comprises a screen and an exciter for driving the screen to vibrate and sound; further comprising: 处理器,用于当所述电子装置处于屏幕振动发声状态下,获取所述电子装置的当前发声音量,作为初始音量,确定所述初始音量对应的初始驱动参数;a processor, configured to obtain the current sound volume of the electronic device when the electronic device is in a state of screen vibration and sound, as an initial volume, and determine an initial drive parameter corresponding to the initial volume; 检测电路,用于检测所述屏幕接收到的压力值,并发送至所述处理器;a detection circuit for detecting the pressure value received by the screen and sending it to the processor; 所述处理器还用于根据所述压力值调整所述初始驱动参数;The processor is further configured to adjust the initial drive parameter according to the pressure value; 驱动电路,用于控制所述激励器根据调整后的驱动参数驱动所述屏幕振动发声。A driving circuit is used to control the exciter to drive the screen to vibrate and emit sound according to the adjusted driving parameters. 9.一种电子装置,其特征在于,包括屏幕、用于驱动所述屏幕振动发声的激励器;包括存储器和处理器,所述存储器与所述处理器耦合;所述存储器存储指令,当所述指令由所述处理器执行时,所述处理器执行所述权利要求1-6任一项所述方法。9. An electronic device, characterized by comprising a screen and an exciter for driving the screen to vibrate and sound; comprising a memory and a processor, wherein the memory is coupled to the processor; the memory stores instructions, when all the When the instruction is executed by the processor, the processor executes the method of any one of claims 1-6. 10.一种计算机可读介质,其特征在于,所述计算机可读取存储介质中存储有程序代码,所述程序代码可被处理器调用执行所述权利要求1-6任一项所述方法。10. A computer-readable medium, wherein the computer-readable storage medium stores a program code, the program code can be invoked by a processor to execute the method of any one of claims 1-6 .
CN201810817948.4A 2018-07-23 2018-07-23 Sound production control method and device, electronic device and computer readable medium Expired - Fee Related CN109144462B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810817948.4A CN109144462B (en) 2018-07-23 2018-07-23 Sound production control method and device, electronic device and computer readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810817948.4A CN109144462B (en) 2018-07-23 2018-07-23 Sound production control method and device, electronic device and computer readable medium

Publications (2)

Publication Number Publication Date
CN109144462A true CN109144462A (en) 2019-01-04
CN109144462B CN109144462B (en) 2020-01-14

Family

ID=64798996

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810817948.4A Expired - Fee Related CN109144462B (en) 2018-07-23 2018-07-23 Sound production control method and device, electronic device and computer readable medium

Country Status (1)

Country Link
CN (1) CN109144462B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112286484A (en) * 2020-11-12 2021-01-29 Oppo广东移动通信有限公司 Screen sound control method, device and electronic device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030086338A1 (en) * 2001-11-08 2003-05-08 Sastry Srikonda V. Wireless web based drug compliance system
CN103294183A (en) * 2012-03-05 2013-09-11 联想(北京)有限公司 Terminal equipment and method for feeding back pressure by using same
CN103778909A (en) * 2014-01-10 2014-05-07 瑞声科技(南京)有限公司 Screen sounding system and control method thereof
CN104272214A (en) * 2012-05-11 2015-01-07 株式会社半导体能源研究所 Electronic device, storage medium, program, and displaying method
CN106126181A (en) * 2016-06-28 2016-11-16 宇龙计算机通信科技(深圳)有限公司 A kind of screen sounding controller, method and terminal
CN107085497A (en) * 2016-02-15 2017-08-22 中兴通讯股份有限公司 Method for controlling volume and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030086338A1 (en) * 2001-11-08 2003-05-08 Sastry Srikonda V. Wireless web based drug compliance system
CN103294183A (en) * 2012-03-05 2013-09-11 联想(北京)有限公司 Terminal equipment and method for feeding back pressure by using same
CN104272214A (en) * 2012-05-11 2015-01-07 株式会社半导体能源研究所 Electronic device, storage medium, program, and displaying method
CN103778909A (en) * 2014-01-10 2014-05-07 瑞声科技(南京)有限公司 Screen sounding system and control method thereof
CN107085497A (en) * 2016-02-15 2017-08-22 中兴通讯股份有限公司 Method for controlling volume and device
CN106126181A (en) * 2016-06-28 2016-11-16 宇龙计算机通信科技(深圳)有限公司 A kind of screen sounding controller, method and terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112286484A (en) * 2020-11-12 2021-01-29 Oppo广东移动通信有限公司 Screen sound control method, device and electronic device

Also Published As

Publication number Publication date
CN109144462B (en) 2020-01-14

Similar Documents

Publication Publication Date Title
CN108646971B (en) Screen sound control method, device and electronic device
CN109032556B (en) Voice control method, device, electronic device, and storage medium
CN109062535B (en) Voice control method, device, electronic device and computer readable medium
CN109194796A (en) Screen vocal technique, device, electronic device and storage medium
CN108881568B (en) Method, device, electronic device and storage medium for sound from display screen
CN108810198B (en) Voice control method, device, electronic device and computer readable medium
CN108683761A (en) Sound production control method and device, electronic device and computer readable medium
CN109189362B (en) Sound production control method and device, electronic equipment and storage medium
CN108712571A (en) Method and device for sounding display screen, electronic device and storage medium
CN108769327A (en) Method and device for sounding display screen, electronic device and storage medium
CN109144460B (en) Voice control method, device, electronic device, and storage medium
CN109085985B (en) Sound production control method, sound production control device, electronic device, and storage medium
CN109086023B (en) Sound production control method and device, electronic equipment and storage medium
CN108762711A (en) Method, device, electronic device and storage medium for screen sound generation
CN109189360A (en) Screen sounding control method and device and electronic device
CN108810764B (en) Sound control method, device and electronic device
CN108900688B (en) Voice control method, device, electronic device and computer readable medium
CN109088980A (en) Sound production control method and device, electronic device and computer readable medium
CN109086025B (en) Sounding control method, device, electronic device and computer-readable medium
CN108958631B (en) Screen sound control method, device and electronic device
CN109144459B (en) Voice control method, device, electronic device, and storage medium
CN110505335B (en) Sound production control method and device, electronic device and computer readable medium
CN109062533A (en) Sounding control method, device, electronic device and storage medium
CN109032008B (en) Sound production control method and device and electronic device
CN109086022B (en) Voice control method, device, electronic device, and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200114

CF01 Termination of patent right due to non-payment of annual fee