CN109144462B - Sound production control method and device, electronic device and computer readable medium - Google Patents
Sound production control method and device, electronic device and computer readable medium Download PDFInfo
- Publication number
- CN109144462B CN109144462B CN201810817948.4A CN201810817948A CN109144462B CN 109144462 B CN109144462 B CN 109144462B CN 201810817948 A CN201810817948 A CN 201810817948A CN 109144462 B CN109144462 B CN 109144462B
- Authority
- CN
- China
- Prior art keywords
- screen
- electronic device
- sound
- driving
- 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.)
- Expired - Fee Related
Links
- 238000000195 production control method Methods 0.000 title claims abstract description 6
- 238000000034 method Methods 0.000 claims abstract description 42
- 238000004519 manufacturing process Methods 0.000 claims abstract description 28
- 238000001514 detection method Methods 0.000 claims description 14
- 230000005236 sound signal Effects 0.000 claims description 12
- 238000003860 storage Methods 0.000 claims description 7
- 238000003825 pressing Methods 0.000 abstract description 11
- 230000000694 effects Effects 0.000 abstract description 9
- 230000000875 corresponding effect Effects 0.000 description 31
- 230000001276 controlling effect Effects 0.000 description 15
- 230000002093 peripheral effect Effects 0.000 description 9
- 238000010586 diagram Methods 0.000 description 7
- 230000008569 process Effects 0.000 description 7
- 238000004891 communication Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 5
- 230000001133 acceleration Effects 0.000 description 3
- 230000009471 action Effects 0.000 description 3
- 230000001413 cellular effect Effects 0.000 description 3
- 210000001061 forehead Anatomy 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 239000000919 ceramic Substances 0.000 description 2
- 230000003247 decreasing effect Effects 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 238000006073 displacement reaction Methods 0.000 description 2
- 210000005069 ears Anatomy 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000011160 research Methods 0.000 description 2
- 238000006467 substitution reaction Methods 0.000 description 2
- 230000001960 triggered effect Effects 0.000 description 2
- 229910000838 Al alloy Inorganic materials 0.000 description 1
- 229910000851 Alloy steel Inorganic materials 0.000 description 1
- 239000008186 active pharmaceutical agent Substances 0.000 description 1
- 230000004075 alteration Effects 0.000 description 1
- 238000005452 bending Methods 0.000 description 1
- 230000002596 correlated effect Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 238000001125 extrusion Methods 0.000 description 1
- 239000011521 glass Substances 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 229910052751 metal Inorganic materials 0.000 description 1
- 239000002184 metal Substances 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000010079 rubber tapping Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 239000010959 steel Substances 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 230000001755 vocal effect Effects 0.000 description 1
- 210000000707 wrist Anatomy 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/16—Sound input; Sound output
- G06F3/162—Interface to dedicated audio devices, e.g. audio drivers, interface to CODECs
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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/04847—Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction 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/0488—Interaction 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/16—Sound input; Sound output
- G06F3/165—Management of the audio stream, e.g. setting of volume, audio stream path
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- 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
The embodiment of the application discloses a sound production control method and device, an electronic device and a computer readable medium, and relates to the technical field of electronic devices. The method comprises the following steps: when the electronic device is in a screen vibration sounding state, acquiring the current sounding 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 so as to drive the screen to vibrate and sound; when a pressure value acting on the screen is detected, adjusting the driving parameters according to the pressure value; and controlling the exciter to drive the screen to vibrate and sound according to the adjusted driving parameters. Therefore, the sound can be produced in a vibration mode of the screen or the rear cover, the sound outlet holes can be prevented from being formed in the electronic device, the driving parameters of the screen driven by the user to vibrate can be adjusted according to the pressing of the user on the screen when the screen of the electronic device vibrates to produce sound, and the screen vibration sound production effect is improved.
Description
Technical Field
The present disclosure relates to the field of electronic devices, and more particularly, to a method and an apparatus for controlling sound generation, an electronic device, and a computer readable medium.
Background
Currently, in electronic devices, such as mobile phones, tablet computers, and the like, sound is generated through a speaker to output a sound signal. However, the speaker arrangement occupies a large design space, resulting in the electronic device not conforming to the direction of the slim design.
Disclosure of Invention
The application provides a sound production control method, a sound production control device, an electronic device and a computer readable medium, so as to overcome the defects.
In a first aspect, an embodiment of the present application provides a sound emission control method, which is applied to an electronic device including a screen and an actuator for driving the screen to vibrate and emit sound. The method comprises the following steps: when the electronic device is in a screen vibration sounding state, acquiring the current sounding volume of the electronic device as an initial volume; determining an initial driving parameter corresponding to the initial volume; detecting a pressure value received by the screen, and adjusting the initial driving parameter according to the pressure value; and controlling the exciter to drive the screen to vibrate and sound according to the adjusted driving parameters.
In a second aspect, an embodiment of the present application further provides a sound emission control device, which is applied to an electronic device, where the electronic device includes a screen and an exciter for driving the screen to vibrate and emit sound. The sound production control device includes: the device comprises an acquisition unit, a determination unit, an adjustment unit and a driving unit. And the acquisition unit is used for acquiring the current sounding volume of the electronic device as the initial volume when the electronic device is in a screen vibration sounding state. And the determining unit is used for determining an initial driving parameter corresponding to the initial volume. And the adjusting unit is used for detecting the pressure value received by the screen and adjusting the driving parameter according to the pressure value. And the driving unit is used for controlling the exciter to drive the screen to vibrate and sound according to the adjusted driving parameters.
In a third aspect, an embodiment of the present application further provides an electronic device, including a screen, and an exciter configured to drive the screen to vibrate and generate sound. The electronic device further includes: the device comprises a processor, a detection circuit and a driving circuit. And the processor is used for acquiring the current sounding volume of the electronic device as the initial volume when the electronic device is in a screen vibration sounding state, and determining the initial driving parameter corresponding to the initial volume. And the detection circuit is used for detecting the pressure value received by the screen and sending the pressure value to the processor. The processor is further configured to adjust the initial driving parameter according to the pressure value. And the driving circuit is used for controlling the exciter to drive the screen to vibrate and sound according to the adjusted driving parameters.
In a fourth aspect, an embodiment of the present application further provides an electronic device, including a screen, a plurality of actuators for driving the screen to sound, where the plurality of actuators correspond to different positions of the screen; further comprising a memory and a processor, the memory coupled with the processor; the memory stores instructions that, when executed by the processor, cause the processor to perform the above-described method.
In a fifth aspect, an embodiment of the present application further provides a computer-readable storage medium, where a program code is stored in the computer-readable storage medium, and the program code can be called by a processor to execute the above method.
According to the sound production control method, the sound production control device, the electronic device and the computer readable medium, when the electronic device is in a screen vibration sound production state, the initial volume of the current sound production volume is determined, and the initial driving parameter corresponding to the initial volume is determined. When a pressure value acting on the screen is detected, the initial driving parameters are adjusted according to the pressure value, and the exciter is controlled to drive the screen to vibrate and sound according to the adjusted driving parameters. Therefore, the sound can be produced in a vibration mode of the screen or the rear cover, the sound outlet holes can be prevented from being formed in the electronic device, and the driving parameters of the screen vibration driven by the user can be adjusted according to the pressing of the user on the screen when the screen of the electronic device produces the sound, so that the screen vibration sound production effect is improved.
Additional features and advantages of embodiments of the present application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of embodiments of the present application. The objectives and other advantages of the embodiments of the application may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 illustrates a schematic structural diagram of an electronic device provided in an embodiment of the present application from a first viewing angle;
fig. 2 is a schematic structural diagram of an electronic device according to an embodiment of the present application from a second viewing angle;
FIG. 3 is a flow chart of a method of controlling sound production according to an embodiment of the present application;
FIG. 4 is a schematic diagram illustrating pressure acting on a screen provided by an embodiment of the present application;
FIG. 5 is a flow chart of a method of controlling speech provided by another embodiment of the present application;
FIG. 6 is a flow chart of a method of controlling speech provided by a further embodiment of the present application;
fig. 7 shows a block diagram of a sound emission control device provided in an embodiment of the present application;
FIG. 8 illustrates a block diagram of an electronic device provided by an embodiment of the present application;
FIG. 9 illustrates a block diagram of an electronic device provided by another embodiment of the present application;
fig. 10 shows a block diagram of an electronic device for performing the method provided by the embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
The display screen generally plays a role in an electronic device such as a mobile phone or a tablet computer to display text, pictures, icons, or video. With the development of touch technologies, more and more display screens arranged in electronic devices are touch display screens, and when a user is detected to perform touch operations such as dragging, clicking, double clicking, sliding and the like on the touch display screen, the touch operations of the user can be responded under the condition of arranging the touch display screens.
As the user demands higher definition and higher fineness of the displayed content, more electronic devices employ touch display screens with larger sizes. However, in the process of setting a touch display screen with a large size, it is found that functional devices such as a front camera, a proximity optical sensor, and a receiver, which are disposed at the front end of the electronic device, affect an area that the touch display screen can extend to.
Generally, an electronic device includes a front panel, a rear cover, and a bezel. The front panel includes a top area, a middle screen area and a lower key area. Generally, the forehead area is provided with a sound outlet of a receiver and functional devices such as a front camera, the middle screen area is provided with a touch display screen, and the lower key area is provided with one to three physical keys. With the development of the technology, the lower key area is gradually cancelled, and the physical keys originally arranged in the lower key area are replaced by the virtual keys in the touch display screen.
The earphone sound outlet holes arranged in the forehead area are important for the function support of the mobile phone and are not easy to cancel, so that the difficulty in expanding the displayable area of the touch display screen to cover the forehead area is high. After a series of researches, the inventor finds that sound can be emitted by controlling the screen, the frame or the rear cover of the mobile phone to vibrate, so that the arrangement of the sound outlet hole of the receiver can be eliminated.
Referring to fig. 1 and 2, an electronic device 100 according to an embodiment of the present application is shown. Fig. 1 is a front view of the electronic device, and fig. 2 is a side view of the electronic device.
The electronic device 100 comprises an electronic body 10, wherein the electronic body 10 comprises a housing 12 and a screen 120 disposed on the housing 12, the housing 12 comprises a front panel 125, a rear cover 127 and a bezel 126, the bezel 126 is used for connecting the front panel 125 and the rear cover 127, and the screen 120 is disposed on the front panel 125.
The electronic device further comprises an exciter 131, wherein the exciter 131 is used for driving a vibration component of the electronic device to vibrate, specifically, the vibration component is at least one of the screen 120 or the housing 12 of the electronic device, that is, the vibration component can be the screen 120, the housing 12, or a combination of the screen 120 and the housing 12. As an embodiment, when the vibration member is the housing 12, the vibration member may be a rear cover of the housing 12.
In the embodiment of the present application, the vibration component is the screen 120, and the exciter 131 is connected to the screen 120 for driving the screen 120 to vibrate. In particular, the actuator 131 is attached below the screen 120, and the actuator 131 may be a piezoelectric driver or a motor. In one embodiment, actuator 131 is a piezoelectric actuator. The piezoelectric actuator transmits its own deformation to the screen 120 by a moment action, so that the screen 120 vibrates to generate sound. The screen 120 includes a touch screen 109 and a display panel 111, the display panel 111 is located below the touch screen 109, and the piezoelectric driver is attached below the display panel 111, i.e., a side of the display panel 111 away from the touch screen 109. The piezoelectric driver includes a plurality of piezoelectric ceramic sheets. When the multilayer piezoelectric ceramic piece produces sound and expands and contracts, the screen is driven to bend and deform, and the whole screen forms bending vibration repeatedly, so that the screen can push air and produce sound.
As an embodiment, the electronic device 100 includes a driving circuit. The exciter 131 is connected to a driving circuit of the electronic device, and the driving circuit is configured to input a control signal value according to the vibration parameter to the exciter 131, so as to drive the exciter 131 to vibrate, thereby driving the vibrating component to vibrate. In particular, the driving circuit may be a processor of the electronic device, or may be an integrated circuit capable of generating a driving voltage or current within the electronic device. The driving circuit outputs a high-low level driving signal to the exciter 131, the exciter 131 vibrates according to the driving signal, and the different electrical parameters of the driving signal output by the driving circuit may cause the different vibration parameters of the exciter 131, for example, the duty ratio of the driving signal corresponds to the vibration frequency of the exciter 131, and the amplitude of the driving signal corresponds to the vibration amplitude of the exciter 131.
In the embodiment of the present application, the plurality of actuators 131 may be uniformly distributed on the screen 120, so that the screen 120 is divided into a plurality of areas for sounding independently. For example, if the number of the actuators is 4, the screen may be divided into 4 square areas along the center line in the vertical direction and the center line in the horizontal direction, the 4 actuators are disposed below the 4 square areas, and the 4 actuators correspond to the 4 square areas one by one. Of course, the number of actuators is not limited in the embodiments of the present application.
Through the screen vibration mode, the electronic device can play music outside, and a user can hear the music under the condition that the user is not close to the electronic device. However, the inventor finds in research that if a user presses a finger or other heavy object on the screen while the screen is vibrating to generate sound, the vibration of the screen is affected, and the sound generated by the screen is affected.
Therefore, in order to solve the technical problem, an embodiment of the present application provides a sound emission control method, please refer to fig. 3, for adjusting the vibration of a screen based on a pressure value pressed on the screen when the screen of an electronic device vibrates to emit sound, so as to improve the sound emission effect of the screen vibration. Specifically, the method comprises the following steps: s301 to S304.
S301: and when the electronic device is in a screen vibration sounding state, acquiring the current sounding volume of the electronic device as the initial volume.
Specifically, it may be determined whether an application program of the electronic device, which is capable of playing voice, such as music playing software or a call application, is currently in a vibration sound production mode by detecting an operation of the application program by a user. Specifically, the electronic device is in a vibration sound production mode, and may receive a sound production request. The sound production request indicates the mobile terminal for the user, and the information that the screen needs to be controlled to vibrate and produce sound is required. In one embodiment, the sound production request may be a reminder message or a voice playing request.
The reminding information comprises information for reminding a user that some events are triggered, such as call reminding information, short message reminding information, alarm reminding information and the like. For example, the call reminding information is used for reminding the user that there is an incoming call currently, and the electronic device may enter the vibration sound production mode after the reminding information is acquired and before the sound production is not performed, that is, the electronic device is in a state of waiting for sound production at this time. Then, after the vibration parameters are acquired, at least one of the screen or the rear cover is controlled to vibrate and sound, so that a sound for reminding, such as a ring tone, is emitted.
As another embodiment, the utterance request may be a request to play a voice every time during the utterance of the mobile terminal. The method provided by the embodiment of the application is used for collecting the environmental noise to adjust the vibration of the vibration component in the sound production process of the mobile terminal, so as to adjust the sound production.
For example, a user clicks a play button of a certain video APP, and the electronic device is not currently in a mute state, and when it is detected that the play button is triggered, at least one vibration sound production mode in the screen or the rear cover is entered, and the video voice is played through vibration of the screen.
When the electronic device calls, namely the telephone ring or the vibration reminding rings, the electronic device can detect and display a call interface on a screen. And the user clicks an answering key in the incoming call interface to establish call connection between the current SIM card number of the electronic device and the incoming call number. Specifically, the phone state of the electronic device may be monitored through a phone manager within a system of the electronic device, thereby enabling monitoring whether the electronic device is in a talk mode. The phone manager is an application module in the system of the electronic device, and the user obtains the call status of the electronic device, for example, when the system of the electronic device is an android system, the phone manager is TelephonyManager.
After the electronic device is determined to be in the screen vibration sound production state, obtaining the current sound production volume of the electronic device, where the sound production volume is the volume of the voice currently output by the electronic device, for example, the call volume, the system volume, or the music volume of the music playing APP. The current sounding volume may be obtained by determining a currently operating exciter, which is driving a screen of the electronic device to vibrate and sound, determining the current sounding volume according to a vibration parameter of the exciter, where the vibration parameter is a vibration amplitude, obtaining the vibration amplitude of the exciter, and obtaining the current sounding volume according to a preset correspondence between the vibration amplitude and the sounding volume. Of course, the current sound volume of the electronic device may also be obtained according to a program module of an operating system in the electronic device. For example, mAudioManager (AudioManager), getsysteservice (content.
Specifically, the manner of acquiring the system volume is as follows:
max=mAudioManager.getStreamMaxVolume(AudioManager.STREAM_SYSTEM);current=mAudioManager.getStreamVolume(AudioManager.STREAM_SYSTEM);Log.d(“SYSTEM”,“max:”+max+”current:”+current)。
therefore, it is determined whether the system volume, the call volume or the independent volume is used by the application program currently playing the voice of the electronic device, so as to determine the current sounding volume, for example, if the system volume is used, the sounding volume of the application program currently playing the voice, that is, the current sounding volume of the electronic device, can be obtained by the above method, and is recorded as the initial volume.
S302: and determining an initial driving parameter corresponding to the initial volume.
And the exciter outputs driving force according to the driving parameters so as to drive the screen to vibrate and sound.
A first corresponding relationship is preset in the electronic device, and the first corresponding relationship includes a plurality of corresponding relationships between sound volume and driving parameter, as shown in table 1 below:
TABLE 1
According to the corresponding relation, the initial driving parameter corresponding to the initial volume can be obtained.
And the exciter outputs driving force according to the driving parameters so as to drive the screen to vibrate and sound. Specifically, the unit of the driving parameter is newton, i.e., the dimension of force, as shown in the above table as F1, which means that the driving parameter is F1, the driving force that can be output is F1, and the driving force F1 can drive the screen to vibrate, so that the sound volume of V1 db is output. The driving force may be a force output by one actuator, or may be a driving force output by a plurality of actuators in common.
S303: and detecting a pressure value received by the screen, and adjusting the initial driving parameter according to the pressure value.
Specifically, a detection circuit is arranged below the screen, the detection circuit can detect a pressure value acting on the screen, specifically, the detection circuit can be a pressure sensor, when the pressure value acting on the screen is detected, the pressure sensor indicates that an object is pressed on the screen, the vibration of the screen can be possibly influenced, and then the driving parameter is adjusted according to the pressure value.
In particular, the initial driving parameter may be decreased according to a pressure value. The driving parameter indicates the magnitude of the output driving force, and the larger the driving parameter is, the larger the output driving force is, that is, the driving parameter is positively correlated with the driving force. And reduce the size that drive parameter can reduce the driving force of exciter effect on the screen, then can reduce the vibration range of screen, thereby reduce the vocal volume of screen, therefore, if act on the pressure on the screen, when causing limiting displacement to the vibration of screen, if continue to keep original drive force drive screen vibration, can cause to produce great extrusion between screen and the external force, and lead to the screen to be damaged easily, and reduce drive parameter this moment, can reduce the driving force that the exciter acts on the screen, and reduce the vibration range of screen, and then reduce the effort between screen and the external force, and protect the screen.
As another embodiment, the initial driving parameter may be increased according to the pressure value. So that the driving force of the actuator on the screen can be increased. Specifically, since, at the time of screen vibration, if an external force acts on the screen, such as a user's finger presses on the screen, the pressure of the user's finger pressing on the screen and the driving force driving the screen to vibrate may affect each other, as described in fig. 4, assuming that the user's finger presses on the screen, the pressure F1 of the finger is downward perpendicular to the screen, and the driving force F2 of the exciter acting on the screen is upward perpendicular to the screen, since the pressure F1 is opposite to the direction of the driving force F2, the pressure F1 may affect the driving force F2 to drive the screen to vibrate, and the screen vibration amplitude becomes smaller. Therefore, if the driving force F2 is increased, the action of the pressing force F1 can be overcome. If F2 is larger than F1, the actual driving force acting on the screen is F2-F1, when F2 is increased, the actual driving force is increased, the vibration amplitude is also increased, and at the same time, the finger of the user has certain elasticity instead of a rigid object, and the limit displacement of the vibration of the screen is within a certain area range, that is, the surface of the finger can be recessed inwards, the increase amplitude of the driving force is reasonably set, and the vibration amplitude can be ensured to be the same as the vibration amplitude before the finger presses the screen, that is, after the driving force is adjusted, the sound volume emitted by the screen is the same as the initial sound volume.
Specifically, in consideration of the relationship between the pressure value acting on the screen and the driving force of the actuator acting on the screen, the specific embodiment of increasing the initial driving parameter according to the pressure value is as follows: determining an initial driving force corresponding to an initial driving parameter corresponding to the initial volume; acquiring a difference value between the initial driving force and the pressure value; increasing the initial driving parameter according to the difference.
According to table 1, a driving parameter corresponding to the initial volume can be obtained, and the driving parameter represents the magnitude of the driving force, for example, the driving parameter F1, which indicates that the driving force is F1, and the pressure value acting on the screen can be detected by a detection circuit, for example, a pressure sensor, and then, a difference between the initial driving force and the pressure value is obtained, which reflects the influence of the pressure on the screen on the driving force output by the exciter, so that if the difference can be eliminated, the influence of the external pressure on the screen vibration can be eliminated.
Therefore, when the driving force corresponding to the initial volume is defined as the initial driving force, the difference is summed with the initial driving force to obtain a sum as the adjusted driving force, and the driving parameter corresponding to the adjusted driving force is obtained according to table 1 to obtain the adjusted driving parameter.
In addition, when it is to be noted that, in order to avoid that the screen vibration is affected by pressing of a non-user or pressing of a heavy object, the vibration parameter is still adjusted to cause too high power consumption or affect the screen vibration effect, and when a pressure value acting on the screen is detected, a specific implementation manner of adjusting the initial driving parameter according to the pressure value may be: and when the pressure value acting on the screen is detected, judging whether the pressure value is within a preset pressure range. Specifically, after the pressure value acting on the screen is acquired, whether the pressure value is within a preset pressure range is determined, where the preset pressure range includes a first critical value and a second critical value, and the pressure value within the preset pressure range indicates that the 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 within the preset pressure range indicates that the pressure value acting on the screen can be considered to be caused by a pressing operation of a user, and the pressure value less than the first critical value is smaller and can be considered not to be caused by the user operation, and the pressure value greater than the second critical value is too large and is not suitable for driving adjustment of the screen. Therefore, if the pressure value is within the preset pressure range, the driving parameter is adjusted according to the pressure value.
Furthermore, when a pressure value acting on the screen is detected, an embodiment of adjusting the driving parameter according to the pressure value may further be:
when a pressure value acting on the screen is detected, determining a touch area according to the collected pressure value;
determining whether the screen is in contact with the human ear according to the touch area;
if not, adjusting the driving parameter according to the pressure value.
And determining whether the screen is in contact with the human ear according to the touch area in a specific mode of acquiring the contour line of the touch area. Specifically, after all the touch points pressed on the screen are acquired, all the touch points are fitted to one continuous curve to obtain the contour line. And judging whether the contour line is matched with a preset human ear contour line or not, wherein the preset human ear contour line can be the contour line of most human ears acquired based on the big data, and can also be the contour line of the ear part of a user attached to a screen, which is acquired in advance, so that the preset human ear contour line is acquired. And if the contour line of the touch area is matched with the preset contour line of the human ear, the fact that the human ear is contacted on the screen is represented.
If it is a human ear, indicating that the user may be using a private listening mode instead of a public playing mode, the operation of adjusting the driving parameter according to the pressure value is not performed.
S304: and controlling the exciter to drive the screen to vibrate and sound according to the adjusted driving parameters.
Specifically, the driving circuit generates a driving signal to the actuator according to the adjusted driving parameter, specifically, the driving signal may be a driving voltage or a driving current, the driving force output by the actuator is different due to the different driving voltages or currents, and the driving force output by the actuator is larger when the driving voltage or the driving current is larger, the driving signal may be increased to increase the driving force, and the driving signal may be decreased to decrease the driving force.
Therefore, the screen can be protected by reducing the vibration amplitude of the screen in a mode of reducing the driving parameters, and by improving the driving parameters, when the screen is restrained by the vibration of the screen caused by the pressure acting on the screen, the vibration amplitude is reduced, if an object acting on the pressure of the screen has elasticity or can be driven by the screen to vibrate, the vibration of the screen is increased by improving the driving force, the object can vibrate along with the vibration of the screen, the reduced amplitude of the screen can be further increased, the increased driving force is reasonably set, the original vibration amplitude of the screen can be still kept when the screen is pressed, and the original volume is kept.
However, for some pressure applied to the screen, when the object applying the pressure cannot be elastically deformed or has a large weight, the vibration amplitude that is reduced cannot be increased by increasing the driving force, and in order to overcome this problem, please refer to fig. 5, the method is used to adjust the vibration of the screen based on the pressure value pressed on the screen when the screen of the electronic device vibrates to generate sound, so as to improve the sound generating effect of the screen vibration. Specifically, the method comprises the following steps: s501 to S508.
S501: and when the electronic device is in a screen vibration sounding state, acquiring the current sounding volume of the electronic device as the initial volume.
S502: and determining an initial driving parameter corresponding to the initial volume.
S503: and when the pressure value received by the screen is detected, adjusting the initial driving parameter according to the pressure value.
S504: and controlling the exciter to drive the screen to vibrate and sound according to the adjusted driving parameters.
S505: and acquiring the audio signal acquired by the audio acquisition device.
And acquiring the audio signal acquired by the audio acquisition device after controlling the exciter to drive the screen to vibrate and sound according to the adjusted driving parameters. Specifically, the exciter may be controlled to drive the screen to vibrate and sound according to the adjusted driving parameter, and send a collection instruction to the audio collector, where the collection instruction may be an interrupt request, and then the audio collector collects an audio signal in the current environment after acquiring the collection instruction.
S506: acquiring a volume difference between the volume of the acquired audio signal and the initial volume.
After the audio signal collected by the audio collector is obtained, the volume of the audio signal can be determined by calculating the decibel of the audio signal, and the obtaining of the initial volume can refer to the foregoing embodiment. Then, taking the volume difference between the volume of the captured audio signal and the initial volume, specifically, if the volume of the captured audio signal is V2 and the initial volume is V1, the volume difference is the absolute value of the difference of V1-V2.
S507: and judging whether the volume difference is larger than a preset value.
And judging whether the volume difference is greater than a preset value or not under the condition that the initial driving parameter is increased according to the pressure value. The preset value may be set according to actual usage, and if the volume difference is greater than the preset value, it indicates that the difference between the initial volume when the pressure value is not applied to the screen and the volume value output after the driving parameter is adjusted after the pressure value is applied, it indicates that the adjustment does not reduce the influence of the pressure value on the screen vibration, for example, the preset value may be a relatively small number, and may range from 0 db to 10 db, for example, may be 3 db, and if the volume difference is less than the preset value, it indicates that the volume difference is small, that is, the sound generated by the screen vibration is close to the initial volume after the driving parameter is adjusted. If it is greater than the preset value, it is determined that the preset criterion is satisfied, and S508 is performed.
S508: and controlling the exciter to stop driving the screen to vibrate and generate sound.
If the volume of the sound generated by the vibration of the driving screen is far from the initial volume after the driving parameter is increased, the initial volume is reduced compared with the initial volume when the pressure acts on the screen, and the amplitude of the screen vibration is not increased or is low through the increase of the driving parameter, so that an object acting on the screen is heavy or cannot be elastically deformed, namely, the finger of a user does not act on the screen, the vibration of the screen is stopped at the moment, the screen can be protected, and the screen is prevented from being damaged due to the action of the vibration and the external force.
Then, at this time, a warning message may be issued to remind the user to cancel the pressure value applied to the screen. Specifically, the reminder information may be a voice prompt, such as "please take a heavy object off the screen" or the like.
It should be noted that, for the parts not described in detail in the above steps, reference may be made to the foregoing embodiments, and details are not described herein again.
Referring to fig. 6, the method is used for adjusting the vibration of the screen based on the pressure value pressed on the screen when the screen of the electronic device vibrates to generate sound, so as to improve the sound generating effect of the screen vibration. Specifically, the method comprises the following steps: s601 to S606.
S601: when the electronic device is in a screen vibration sound production state, a current screen vibration area and the current sound production volume of the electronic device are obtained and used as initial volumes.
When it is determined that a screen of an electronic device is vibrating to produce sound, a current screen vibration area is determined, specifically, the electronic device comprises a plurality of exciters, each exciter corresponds to a different area of the screen, therefore, each exciter can drive the corresponding area of the screen to vibrate to produce sound, the areas driven by different exciters are different, and the area of the screen corresponding to each exciter is determined in advance, as shown in fig. 1, in the electronic device shown in fig. 1, 6 exciters are arranged, and each exciter corresponds to one area, such as the top 2, the bottom 2 and the middle 2, and are separated from each other.
Determining the actuator currently driving the screen to emit sound enables the determination of the area corresponding to the actuator, i.e. the screen vibration area.
S602: and determining an initial driving parameter corresponding to the initial volume.
S603: and when the pressure value received by the screen is detected, acquiring a touch area corresponding to the pressure value.
The screen comprises a touch screen, a plurality of pressure sensors are distributed on the touch screen, each pressure sensor corresponds to one position, when a user presses one area of the screen, the pressure sensors in the area can detect the pressure acting on the screen, the pressure sensors which detect the pressure are determined, the positions corresponding to the pressure sensors can be determined, and therefore the touch area can be obtained.
S604: and judging whether the positions of the touch area and the screen vibration area are matched.
Specifically, whether the touch area and the screen vibration area have an intersection or not is determined, if yes, the area pressed by the user is the area of screen vibration, the touch area and the screen vibration area are judged to be matched in position, and if not, the touch area and the screen vibration area are judged to be not matched in position.
Further, an intersecting region between the touch region and the screen vibration region is obtained, specifically, a first region range of the screen vibration region is determined, and a second region range of the touch region is determined, so that a region where the first region range and the second region range intersect can be determined, and then whether the intersecting region range meets a preset region size is determined, wherein the preset region size can be a half area of the first region range, if the intersecting region range meets the preset region size, the touch region and the screen vibration region are determined to be matched in position, otherwise, the touch region and the screen vibration region are determined to be not matched.
Thus, if the region pressed by the user is not the vibration region of the screen, meaning that the influence of the pressure value pressed by the user on the screen vibration may be ignored in some embodiments, S605 need not be performed.
In addition, considering that although the touch area and the screen vibration area are not intersected, if the touch area and the screen vibration area are too close, the vibration of the screen may be interfered, if the touch area and the screen vibration area are intersected, the touch area and the screen vibration area are represented by the area pressed by the user, and the position of the touch area and the position of the screen vibration area are determined to be matched, otherwise, the distance between the touch area and the screen vibration area is acquired, and the distance is measured by the number of pixels of the screen, specifically, both the first area range and the second area range can be represented by the pixels, the first position mark point is determined in the first area, the pixel coordinates of the position mark point are determined, and similarly, the second position mark point is determined in the second area, and the pixel coordinates of the position mark point are determined. As an embodiment, the first position mark point may be a center point of the first area range, and the second position mark point may be a center point of the second area range, or any point in the area. And determining the distance between the first position mark point and the second position mark point according to the pixel coordinates of the first position mark point and the second position mark point.
And then judging whether the distance is smaller than a preset distance value, if so, judging that the positions of the touch area and the screen vibration area are matched, and if not, judging that the positions of the touch area and the screen vibration area are not matched. The preset distance value may be a preset empirical value, and is used to indicate that the vibration of the screen vibration area is still affected when the distance is smaller than the preset empirical value.
In addition, the specific implementation of determining whether the positions of the touch area and the screen vibration area are matched may be that the distance between the touch area and the screen vibration area is directly obtained, whether the distance is smaller than a preset distance value is determined, if the distance is smaller than the preset distance value, the position of the touch area and the position of the screen vibration area are determined to be matched, and if the distance is larger than or equal to the preset distance value, the position of the touch area and the position of the screen vibration area are determined to be not matched.
S605: and adjusting the initial driving parameter according to the pressure value.
S606: and controlling the exciter to drive the screen to vibrate and sound according to the adjusted driving parameters.
It should be noted that, for the parts not described in detail in the above steps, reference may be made to the foregoing embodiments, and details are not described herein again.
Referring to fig. 7, a screen sound generating apparatus 700 for adjusting vibration of a screen based on a pressure value pressed on the screen to improve a screen vibration sound generating effect when the screen of an electronic device vibrates to generate sound is shown. Specifically, the apparatus includes: an acquisition unit 701, a determination unit 702, an adjustment unit 703, and a drive unit 704.
The obtaining unit 701 is configured to obtain a current sound volume of the electronic apparatus as an initial volume when the electronic apparatus is in a screen vibration sound state.
A determining unit 702, configured to determine an initial driving parameter corresponding to the initial volume.
The adjusting unit 703 is configured to detect a pressure value received by the screen, and adjust the initial driving parameter according to the pressure value.
And the driving unit 704 is used for controlling the exciter to drive the screen to vibrate and sound according to the adjusted driving parameters.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
Referring to fig. 8, an electronic device provided in an embodiment of the present application is shown, including: comprises a screen 120, a plurality of exciters 131 for driving the screen to emit sound, wherein the plurality of exciters 131 correspond to different positions of the screen 120. The electronic device further includes: processor 102, detection circuit 801, and drive circuit 802.
The processor 102 is configured to, when the electronic apparatus is in a mode in which the screen 120 generates sound by vibration, acquire a current sound volume of the electronic apparatus as an initial volume, and determine an initial driving parameter corresponding to the initial volume, where the exciter 131 outputs a driving force according to the initial driving parameter to drive the screen 120 to generate sound by vibration.
The detection circuit 801 is configured to detect a pressure value received by the screen 120, and send the pressure value to the processor.
The processor 102 is further configured to adjust the initial driving parameter according to the pressure value.
And the driving circuit 802 is used for controlling the exciter 131 to drive the screen 120 to vibrate and sound according to the adjusted driving parameters.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
Referring to fig. 9, an electronic device 100 provided in the embodiment of the present application is shown, including: a memory 104 and a processor 102, the memory 104 coupled with the processor 102; the memory 104 stores instructions that, when executed by the processor 102, cause the processor 102 to perform the above-described method.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
Referring to fig. 1 and 2, based on the above method and apparatus, the embodiment of the present application further provides an electronic apparatus 100, and the electronic apparatus 100 may be any of various types of computer system devices (only one form is exemplarily shown in fig. 1 and 2) that is mobile or portable and performs wireless communication. Specifically, the electronic apparatus 100 may be a mobile phone or a smart phone (e.g., an iPhone (TM) based phone), a Portable game device (e.g., Nintendo DS (TM), PlayStation Portable (TM), game Advance (TM), iPhone (TM)), a laptop computer, a PDA, a Portable internet device, a music player, and a data storage device, other handheld devices, and a head-mounted device (HMD) such as a watch, a headset, a pendant, a headset, and the like, and the electronic apparatus 100 may also be other wearable devices (e.g., a head-mounted device (HMD) such as electronic glasses, electronic clothes, an electronic bracelet, an electronic necklace, an electronic tattoo, an electronic device, or a smart watch).
The electronic apparatus 100 may also be any of a number of electronic devices including, but not limited to, cellular phones, smart phones, other wireless communication devices, personal digital assistants, audio players, other media players, music recorders, video recorders, cameras, other media recorders, radios, medical devices, vehicle transportation equipment, calculators, programmable remote controllers, pagers, laptop computers, desktop computers, printers, netbook computers, Personal Digital Assistants (PDAs), Portable Multimedia Players (PMPs), moving Picture experts group (MPEG-1 or MPEG-2) Audio layer 3(MP3) players, portable medical devices, and digital cameras, and combinations thereof.
In some cases, electronic device 100 may perform multiple functions (e.g., playing music, displaying videos, storing pictures, and receiving and sending telephone calls). If desired, the electronic apparatus 100 may be a portable device such as a cellular telephone, media player, other handheld device, wrist watch device, pendant device, earpiece device, or other compact portable device.
The electronic device 100 includes an electronic main body 10, and the electronic main body 10 includes a housing 12 and a main display 120 disposed on the housing 12. The housing 12 may be made of metal, such as steel or aluminum alloy. In this embodiment, the main display 120 generally includes a display panel 111, and may also include a circuit or the like for responding to a touch operation performed on the display panel 111. The Display panel 111 may be a Liquid Crystal Display (LCD) panel, and in some embodiments, the Display panel 111 is a touch screen 109.
Referring to fig. 10, in an actual application scenario, the electronic device 100 may be used as a smartphone terminal, in which case the electronic body 10 generally further includes one or more processors 102 (only one is shown in the figure), a memory 104, an RF (Radio Frequency) module 106, an audio circuit 110, a sensor 114, an input module 118, and a power module 122. It will be understood by those skilled in the art that the structure shown in fig. 10 is merely illustrative and is not intended to limit the structure of the electronic body 10. For example, the electronics body section 10 may also include more or fewer components than shown in fig. 10, or have a different configuration than shown in fig. 1 and 2.
Those skilled in the art will appreciate that all other components are peripheral devices with respect to the processor 102, and the processor 102 is coupled to the peripheral devices through a plurality of peripheral interfaces 124. The peripheral interface 124 may be implemented based on the following criteria: universal Asynchronous Receiver/Transmitter (UART), General Purpose Input/Output (GPIO), Serial Peripheral Interface (SPI), and Inter-Integrated Circuit (I2C), but the present invention is not limited to these standards. In some examples, the peripheral interface 124 may comprise only a bus; in other examples, the peripheral interface 124 may also include other elements, such as one or more controllers, for example, a display controller for interfacing with the display panel 111 or a memory controller for interfacing with a memory. These controllers may also be separate from the peripheral interface 124 and integrated within the processor 102 or a corresponding peripheral.
The memory 104 may be used to store software programs and modules, and the processor 102 executes various functional applications and data processing by executing the software programs and modules stored in the memory 104. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the electronic body portion 10 or the primary display 120 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The RF module 106 is configured to receive and transmit electromagnetic waves, and achieve interconversion between the electromagnetic waves and electrical signals, so as to communicate with a communication network or other devices. The RF module 106 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, memory, and so forth. The RF module 106 may communicate with various networks such as the internet, an intranet, a wireless network, or with other devices via a wireless network. The wireless network may comprise a cellular telephone network, a wireless local area network, or a metropolitan area network. The Wireless network may use various Communication standards, protocols, and technologies, including, but not limited to, Global System for Mobile Communication (GSM), Enhanced Data GSM Environment (EDGE), wideband Code division multiple Access (W-CDMA), Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Wireless Fidelity (WiFi) (e.g., Institute of Electrical and Electronics Engineers (IEEE) standard IEEE 802.10A, IEEE802.11 b, IEEE 802.2.1 g, and/or IEEE802.11 n), Voice over internet protocol (VoIP), world wide mail Access (Microwave for Wireless Communication), and any other suitable protocol for short message Communication (wimax), as well as any other suitable protocol for instant messaging, and may even include those protocols that have not yet been developed.
The audio circuitry 110, sound jack 103, microphone 105 collectively provide an audio interface between a user and the electronic body portion 10 or the main display 120. Specifically, the audio circuit 110 may be used as the driving circuit described above if the audio circuit 110 receives sound data from the processor 102, converts the sound data into an electrical signal, and transmits the electrical signal to the exciter 131. The electric signal is used as a driving signal of the exciter 131, and the exciter 131 controls the vibration of the vibration part according to the electric signal, thereby converting the sound data into sound waves audible to human ears. The audio circuitry 110 also receives electrical signals from the microphone 105, converts the electrical signals to sound data, and transmits the sound data to the processor 102 for further processing. Audio data may be retrieved from the memory 104 or through the RF module 106. In addition, audio data may also be stored in the memory 104 or transmitted through the RF module 106.
The sensor 114 is disposed in the electronic body portion 10 or the main display 120, examples of the sensor 114 include, but are not limited to: light sensors, pressure sensors, acceleration sensors 114F, proximity sensors 114J, and other sensors.
In particular, the light sensor may comprise a light line sensor. The light sensor can adjust the brightness of the screen according to the light of the environment where the mobile terminal is located. For example, in a well-lit area, the screen may be bright, whereas in a dark area, the screen may be dark (depending on the brightness setting of the screen), which both protects the eyes and saves power.
Among them, the pressure sensor may detect a pressure generated by pressing on the electronic device 100. That is, the pressure sensor detects pressure generated by contact or pressing between the user and the mobile terminal, for example, contact or pressing between the user's ear and the mobile terminal. Thus, the pressure sensor may be used to determine whether contact or pressure has occurred between the user and the electronic device 100, as well as the magnitude of the pressure.
Referring to fig. 1 and 2 again, in particular, in the embodiment shown in fig. 1 and 2, the light sensor and the pressure sensor are disposed adjacent to the display panel 111. The light sensor may turn off the display output by the processor 102 when an object is near the main display 120, for example, when the electronic body portion 10 is moved to the ear.
As one of the motion sensors, the acceleration sensor 114F can detect the magnitude of acceleration in various directions (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used for applications (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping) and the like for recognizing the attitude of the electronic device 100. In addition, the electronic body 10 may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer and a thermometer, which are not described herein,
in this embodiment, the input module 118 may include the touch screen 109 disposed on the main display 120, and the touch screen 109 may collect touch operations of the user (for example, operations of the user on or near the touch screen 109 using any suitable object or accessory such as a finger, a stylus, etc.) and drive the corresponding connection device according to a preset program. Optionally, the touch screen 109 may include a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 102, and can receive and execute commands sent by the processor 102. In addition, the touch detection function of the touch screen 109 may be implemented by various types, such as resistive, capacitive, infrared, and surface acoustic wave.
The main display 120 is used to display information input by a user, information provided to the user, and various graphic user interfaces of the electronic body section 10, which may be composed of graphics, text, icons, numbers, video, and any combination thereof, and in one example, the touch screen 109 may be provided on the display panel 111 so as to be integrated with the display panel 111.
The power module 122 is used to provide power supply to the processor 102 and other components. Specifically, the power module 122 may include a power management system, one or more power sources (e.g., batteries or ac power), a charging circuit, a power failure detection circuit, an inverter, a power status indicator light, and any other components associated with the generation, management, and distribution of power within the electronic body portion 10 or the primary display 120.
The electronic device 100 further comprises a locator 119, the locator 119 being configured to determine an actual location of the electronic device 100. In this embodiment, the locator 119 uses a positioning service to locate the electronic device 100, and the positioning service is understood to be a technology or a service for obtaining the position information (e.g. longitude and latitude coordinates) of the electronic device 100 by a specific positioning technology and marking the position of the located object on the electronic map.
In summary, according to the sound emission control method, the sound emission control device, the electronic device, and the computer readable medium provided in the embodiments of the present application, when the electronic device is in the screen vibration sound emission state, the initial volume of the current sound emission volume is determined, and the driving parameter corresponding to the initial volume is determined. When a pressure value acting on the screen is detected, the driving parameters are adjusted according to the pressure value, and the exciter is controlled to drive the screen to vibrate and sound according to the adjusted driving parameters. Therefore, the sound can be produced in a vibration mode of the screen or the rear cover, the sound outlet holes can be prevented from being formed in the electronic device, the driving parameters of the screen driven by the user to vibrate can be adjusted according to the pressing of the user on the screen when the screen of the electronic device vibrates to produce sound, and the screen vibration sound production effect is improved.
It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments. In addition, functional units in the embodiments of the present application may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present application, and that variations, modifications, substitutions and alterations may be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not necessarily depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.
Claims (8)
1. A sound production control method is applied to an electronic device, wherein the electronic device comprises a screen and an exciter used for driving the screen to vibrate and produce sound, and the method comprises the following steps:
when the electronic device is in a screen vibration sounding state, acquiring the current sounding volume of the electronic device as an initial volume;
determining an initial driving parameter corresponding to the initial volume;
detecting a pressure value received by the screen, and determining an initial driving force corresponding to an initial driving parameter corresponding to the initial volume;
acquiring a difference value between the initial driving force and the pressure value;
increasing the initial driving parameter according to the difference value;
and controlling the exciter to drive the screen to vibrate and sound according to the adjusted driving parameters.
2. The method of claim 1, wherein the determining the initial driving force corresponding to the initial driving parameter corresponding to the initial volume comprises:
judging whether the pressure value is within a preset pressure range or not;
and if the initial volume is within the preset pressure range, determining the initial driving force corresponding to the initial driving parameter corresponding to the initial volume.
3. The method according to claim 1 or 2, wherein the electronic device further comprises an audio collector, and after controlling the exciter to drive the screen to vibrate and emit sound according to the adjusted driving parameters, the method further comprises:
acquiring an audio signal acquired by the audio acquisition device;
acquiring a volume difference between the volume of the acquired audio signal and the initial volume;
judging whether the volume difference is larger than a preset value or not;
and if so, controlling the exciter to stop driving the screen to vibrate and sound.
4. The method of claim 3, wherein if so, controlling the actuator to stop driving the screen vibration sound production comprises:
and if so, controlling the exciter to stop driving the screen to vibrate and sound, and sending out reminding information to remind a user to eliminate the pressure value acting on the screen.
5. A sound production control device, applied to an electronic device including a screen, an actuator for driving the screen to vibrate and produce sound, the sound production control device comprising:
the acquisition unit is used for acquiring the current sounding volume of the electronic device as the initial volume when the electronic device is in a screen vibration sounding state;
the determining unit is used for determining an initial driving parameter corresponding to the initial volume;
the adjusting unit is used for detecting a pressure value received by the screen, determining an initial driving force corresponding to an initial driving parameter corresponding to the initial volume, acquiring a difference value between the initial driving force and the pressure value, and increasing the initial driving parameter according to the difference value;
and the driving unit is used for controlling the exciter to drive the screen to vibrate and sound according to the adjusted driving parameters.
6. An electronic device, comprising a screen, an exciter for driving the screen to vibrate and sound; further comprising:
the processor is used for acquiring the current sounding volume of the electronic device as an initial volume when the electronic device is in a screen vibration sounding state, and determining an initial driving parameter corresponding to the initial volume;
the detection circuit is used for detecting the pressure value received by the screen and sending the pressure value to the processor;
the processor is further configured to determine an initial driving force corresponding to an initial driving parameter corresponding to the initial volume, obtain a difference between the initial driving force and the pressure value, and increase the initial driving parameter according to the difference;
and the driving circuit is used for controlling the exciter to drive the screen to vibrate and sound according to the adjusted driving parameters.
7. An electronic device, comprising a screen, an exciter for driving the screen to vibrate and sound; comprising a memory and a processor, the memory coupled with the processor; the memory stores instructions that, when executed by the processor, perform the method of any of claims 1-4.
8. A computer-readable storage medium having program code stored therein, the program code being invoked by a processor to perform the method of any of claims 1-4.
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 CN109144462A (en) | 2019-01-04 |
CN109144462B true 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) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112286484A (en) * | 2020-11-12 | 2021-01-29 | Oppo广东移动通信有限公司 | Screen sounding control method and device and electronic equipment |
Family Cites Families (6)
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 |
CN103294183B (en) * | 2012-03-05 | 2017-03-01 | 联想(北京)有限公司 | Terminal unit and its method that pressure is fed back |
WO2013168686A1 (en) * | 2012-05-11 | 2013-11-14 | Semiconductor Energy Laboratory Co., Ltd. | Electronic device, storage medium, program, and displaying method |
CN103778909B (en) * | 2014-01-10 | 2017-03-01 | 瑞声科技(南京)有限公司 | Screen sonification system and its control method |
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 |
-
2018
- 2018-07-23 CN CN201810817948.4A patent/CN109144462B/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
CN109144462A (en) | 2019-01-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109194796B (en) | Screen sounding method and device, electronic device and storage medium | |
CN109032558B (en) | Sound production control method and device, electronic device and computer readable medium | |
CN108683761B (en) | Sound production control method and device, electronic device and computer readable medium | |
CN108833638B (en) | Sound production method, sound production device, electronic device and storage medium | |
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 | |
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 | |
CN109189362B (en) | Sound production control method and device, electronic equipment and storage medium | |
CN109085985B (en) | Sound production control method, sound production control device, electronic device, and storage medium | |
CN109144460B (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 | |
CN108712571A (en) | Method and device for sounding display screen, electronic device and storage medium | |
CN108958632B (en) | Sound production control method and device, electronic equipment and storage medium | |
CN109189360B (en) | Screen sounding control method and device and electronic device | |
CN108762711A (en) | Method, device, electronic device and storage medium for screen sound generation | |
CN109240413B (en) | Screen sounding method and device, electronic device and storage medium | |
CN109040919B (en) | Sound production method, sound production device, electronic device and computer readable medium | |
CN108958697B (en) | Screen sound control method, device and electronic device | |
CN108810764B (en) | Sound production control method and device and electronic device | |
CN109144249B (en) | Screen sounding method and device, electronic device and storage medium | |
CN109062533B (en) | Sound production control method, sound production control device, electronic device, and storage medium | |
CN110505335B (en) | Sound production control method and device, electronic device and computer readable medium | |
CN109144459B (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 | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20200114 |