CN109062533B - Sound production control method, sound production control device, electronic device, and storage medium - Google Patents

Sound production control method, sound production control device, electronic device, and storage medium Download PDF

Info

Publication number
CN109062533B
CN109062533B CN201810772561.1A CN201810772561A CN109062533B CN 109062533 B CN109062533 B CN 109062533B CN 201810772561 A CN201810772561 A CN 201810772561A CN 109062533 B CN109062533 B CN 109062533B
Authority
CN
China
Prior art keywords
electronic device
screen
volume value
current
sound
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.)
Active
Application number
CN201810772561.1A
Other languages
Chinese (zh)
Other versions
CN109062533A (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 CN201810772561.1A priority Critical patent/CN109062533B/en
Publication of CN109062533A publication Critical patent/CN109062533A/en
Application granted granted Critical
Publication of CN109062533B publication Critical patent/CN109062533B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/165Management of the audio stream, e.g. setting of volume, audio stream path

Abstract

The embodiment of the application discloses a sound production control method and device, an electronic device and a storage medium, and relates to the technical field of electronic devices. The method is applied to an electronic device which comprises a screen capable of generating sound through vibration and an exciter used for driving the screen to generate sound through vibration. The method comprises the following steps: when the electronic device is in a screen sound production mode, the electronic device is detected to receive an incoming call or make an outgoing call, wherein in the screen sound production mode, the exciter drives the screen to vibrate and produce sound, current posture data of the electronic device is detected, a current volume value of the electronic device is obtained based on the current posture data, and when the electronic device enters a call state, the exciter is controlled to drive the screen to vibrate and produce sound according to the current volume value. According to the method and the device, the attitude data of the electronic device is detected when the electronic device receives an incoming call or calls, and when the electronic device enters a call state, the volume value of the electronic device is adjusted according to the attitude data, so that the automatic adjustment of the volume is realized, and the user experience is improved.

Description

Sound production control method, sound production control device, electronic device, and storage medium
Technical Field
The present disclosure relates to the field of electronic devices, and more particularly, to a method and an apparatus for controlling sound emission, an electronic device, and a storage medium.
Background
Currently, electronic devices such as mobile phones, tablet computers, and the like are sounded through a speaker to output sound signals. 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
In view of the above problems, the present application provides a sound emission control method, device, electronic device and storage medium to improve the above drawbacks.
In a first aspect, an embodiment of the present application provides a sound emission control method applied to an electronic device, where the electronic device includes a screen capable of vibrating to emit sound and an actuator for driving the screen to emit sound, and the method includes: when the electronic device is in a screen sounding mode, detecting that the electronic device receives an incoming call or calls for outgoing calls, wherein in the screen sounding mode, the exciter drives the screen to vibrate and sound; detecting current attitude data of the electronic device, and obtaining a current volume value of the electronic device based on the current attitude data; and when the electronic device enters a call state, controlling the exciter to drive the screen to vibrate and sound according to the current volume value.
In a second aspect, an embodiment of the present application provides a sound emission control device applied to an electronic device, where the electronic device includes a screen capable of generating sound by vibration and an actuator for driving the screen to generate sound, and the device includes: the detection module is used for detecting that the electronic device receives an incoming call or calls when the electronic device is in a screen sound production mode, wherein the exciter drives the screen to vibrate and produce sound in the screen sound production mode; the acquisition module is used for detecting current attitude data of the electronic device and acquiring a current volume value of the electronic device based on the current attitude data; and the control module is used for controlling the exciter to drive the screen to vibrate and sound according to the current volume value when the electronic device enters a call state.
In a third aspect, embodiments of the present application provide an electronic device, including a screen capable of vibrating a sound production, an exciter for driving the screen to produce the sound, a memory, and a processor, the screen, the exciter, and the memory being coupled to the processor, the memory storing instructions that, when executed by the processor, the processor performs the above method.
In a fourth aspect, the present application provides a computer readable storage medium having program code executable by a processor, the program code causing the processor to execute the above method.
In a fifth aspect, an embodiment of the present application provides an electronic device, including a screen capable of generating sound by vibration; the exciter is used for driving the screen to sound; the circuit is connected with the exciter and comprises a detection circuit and a driving circuit, wherein the detection circuit is used for detecting that the electronic device receives an incoming call or calls for an outgoing call when the electronic device is in a screen sounding mode, and the exciter drives the screen to vibrate and sound in the screen sounding mode; detecting current attitude data of the electronic device, and obtaining a current volume value of the electronic device based on the current attitude data; the driving circuit is used for controlling the exciter to drive the screen to vibrate and sound according to the current volume value when the electronic device enters a conversation state.
According to the sound production control method, the sound production control device, the electronic device and the storage medium, when the electronic device is in a screen sound production mode, the fact that the electronic device receives an incoming call or calls an outgoing call is detected, wherein in the screen sound production mode, the exciter drives the screen to vibrate and produce sound, current posture data of the electronic device is detected, the current volume value of the electronic device is obtained based on the current posture data, when the electronic device enters a call state, the exciter is controlled to drive the screen to vibrate and produce sound according to the current volume value, therefore, when the electronic device receives the incoming call or calls the outgoing call, the posture data of the electronic device is detected, when the electronic device enters the call state, the volume value of the electronic device is adjusted according to the posture data, automatic adjustment of the volume is achieved, and user experience is improved.
These and other aspects of the present application will be more readily apparent from the following description of the embodiments.
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 is a schematic structural diagram illustrating a first viewing angle of an electronic device provided in an embodiment of the present application;
fig. 2 is a schematic structural diagram illustrating a second viewing angle of an electronic device provided by an embodiment of the present application;
FIG. 3 is a block diagram of an electronic device according to an embodiment of the present disclosure;
fig. 4 is a schematic flow chart illustrating a first sound emission control method provided by an embodiment of the present application;
fig. 5 is a schematic flow chart illustrating a second sound emission control method provided by an embodiment of the present application;
fig. 6 is a schematic flow chart illustrating a third sound emission control method provided in the embodiment of the present application;
fig. 7 is a schematic flow chart illustrating a fourth sound emission control method provided by the embodiment of the present application;
fig. 8 shows a block diagram of a sound emission control device provided in an embodiment of the present application;
fig. 9 shows a block diagram of an electronic device for executing a sound emission control method according to an embodiment of the present application;
fig. 10 shows a block diagram of another electronic device for executing the sound emission control method according to 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. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
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 forehead 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 a sound outlet hole of the receiver can be eliminated.
Referring to fig. 1 and fig. 2, an electronic device 100 according to an embodiment of the present disclosure 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 100 further includes an exciter 131, and the exciter 131 is configured to drive a vibration component of the electronic device 100 to generate sound by vibration, 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 may be the screen 120, or may be a part or all of the housing 12, or may be 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, if the vibration component is the screen 120, 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 and a display screen, the display screen is located below the touch screen, and the piezoelectric driver is attached below the display screen, that is, a surface of the display screen away from the touch screen. 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, as shown in fig. 3, the electronic device 100 further includes a circuit 200, and the circuit 200 is connected to the exciter 131. The circuit 200 comprises a detection circuit 210 and a driving circuit 211, wherein the detection circuit 210 is configured to detect that the electronic device receives an incoming call or dials an outgoing call when the electronic device is in a screen sound emission mode, and the exciter drives the screen to vibrate and emit sound in the screen sound emission mode; the driving circuit 211 is configured to control the exciter to drive the screen to vibrate and sound according to the current volume value when the electronic device enters a call state. The exciter 131 is connected to the driving circuit 211 of the electronic device 100, and the driving circuit 211 is configured to input a control signal to the exciter 131 according to the vibration parameter, so as to drive the exciter 131 to vibrate, thereby driving the screen 120 to vibrate. Specifically, the driving circuit 211 may be a processor of the electronic device 100, or may be an integrated circuit capable of generating a driving voltage or current in the electronic device 100. 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 present embodiment, the actuators 131 may be evenly distributed on the screen 120 so that the screen 120 is divided into a plurality of areas for emitting sounds individually. For example, if the number of the actuators 131 is 4, the screen 120 may be divided into 4 square areas along the center lines in the vertical direction and the horizontal direction, 4 actuators 131 are disposed below the 4 square areas, and the 4 actuators 131 correspond to the 4 square areas one by one. Of course, the number of the actuators 131 is not limited in the embodiment of the present application.
Therefore, aiming at the problem that components such as a receiver and the like arranged in the direction of the display screen can greatly affect the display effect, long-term research by the inventor finds and provides the sound production control method, the sound production control device, the electronic device and the storage medium, the posture data of the electronic device is detected when the electronic device receives an incoming call or calls, and when the electronic device enters a call state, the volume value of the electronic device is adjusted according to the posture data, so that the automatic adjustment of the volume is realized, and the user experience is improved. The specific sound emission control method is described in detail in the following embodiments.
Examples
Referring to fig. 4, fig. 4 is a schematic flowchart illustrating a first sound emission control method according to an embodiment of the present application. The sound production control method is used for detecting the attitude data of the electronic device when the electronic device receives an incoming call or calls, and adjusting the volume value of the electronic device according to the attitude data when the electronic device enters a call state, so that the automatic adjustment of the volume is realized, and the user experience is improved. In a specific embodiment, the sound emission control method is applied to the sound emission control device 300 shown in fig. 8 and the electronic device 100 (fig. 1 and 2) equipped with the sound emission control device 300. The specific process of the present embodiment will be described below by taking an electronic device as an example, and it is understood that the electronic device applied in the present embodiment may be a smart phone, a tablet computer, a wearable electronic device, and the like, which is not limited herein. As will be described in detail with respect to the flow shown in fig. 4, the sound production control method may specifically include the following steps:
step S110: when the electronic device is in a screen sounding mode, the electronic device is detected to receive an incoming call or make an outgoing call, wherein in the screen sounding mode, the exciter drives the screen to vibrate and sound.
In this embodiment, the screen of the electronic device may be used for vibration sound generation, and is suitable for a non-headset call mode of the electronic device, where the non-headset call mode includes a hands-free mode and an earpiece mode, and is used for playing a voice signal sent by the electronic device during a call, playing a video, and the like. In this embodiment, when the electronic device is in the non-earphone mode, the electronic device may be set to the screen sound emission mode by default, or the user may select whether to set the screen sound emission mode by himself, which is not limited herein. It is understood that the electronic device may include a speaker mode, etc. in addition to the screen sound emission mode, in which sound is emitted by the vibration of the speaker.
As one manner, whether the electronic device is in the screen sound production mode during a call or playing a video, or not, specifically, whether the electronic device is connected with an earphone may be determined first, where the determination may be made by checking a state of an earphone connection hole of the electronic device, for example, when the earphone connection hole of the electronic device is connected with the earphone, a first state value is returned, when the earphone in the connection hole is pulled out, a second state value is returned, and whether the current electronic device is connected with the earphone may be determined by detecting the first state value and the second state value. As a mode, the Android system sends a broadcast when the earphone is plugged into and unplugged from the connection hole, so the electronic device can determine whether the earphone is currently connected by monitoring the broadcast, and thus, can determine whether the electronic device is in an earphone call mode. Further, when it is determined that the electronic apparatus is in the non-headset call mode, the electronic apparatus is in the earpiece mode or the handsfree mode, and thus, the electronic apparatus may be considered to be in the screen sound emission mode at this time.
Alternatively, since the screen is driven to emit sound by the actuator in the screen-emission mode, it is possible to determine whether the electronic apparatus is in the screen-emission mode by detecting the state of the actuator. Specifically, the state of the exciter is detected, wherein when the exciter is detected to be in the working state and the screen is driven to vibrate, the electronic device can be considered to be in the screen sounding mode.
Further, when the electronic device is in the screen sound production mode, real-time monitoring and detecting whether the electronic device receives an incoming CALL or whether an outgoing CALL is dialed, as a mode, when an incoming CALL at the beginning of RINGING (CALL _ STATE _ RINGING) is monitored, the electronic device is represented to receive the incoming CALL; when the electronic device dials to go to the call, the electronic device sends out a system broadcast, and the broadcastreecepter can be used for monitoring, namely when the broadcastreecepter monitors the broadcast, the electronic device is characterized to dial to go to the call.
Step S120: the current attitude data of the electronic device is detected, and the current volume value of the electronic device is obtained based on the current attitude data.
Further, the current posture data of the electronic device is detected, and as one mode, the posture data can be detected and acquired through a posture detection module arranged in the electronic device, such as a gyroscope or an acceleration sensor, which can perform posture detection. Specifically, taking a gyroscope as an example, when a difference occurs between the attitude of the electronic device and the preset attitude and a motion of the electronic device in a certain direction of pitch, yaw or roll occurs according to the fixed axis of the gyroscope and the known preset attitude of the electronic device relative to the direction of the rotating shaft of the gyroscope, because the rotating shaft of the gyroscope keeps the direction unchanged, and the change of the angular relationship of the electronic device relative to the rotating shaft and the change of the angular relationship of the preset attitude relative to the rotating shaft are detected, the attitude change of the electronic device can be determined, the current attitude of the electronic device can be determined, and the current attitude of the electronic device can be used as the attitude of the mobile terminal and the attitude data corresponding to the attitude can be acquired.
Further, after the current posture data is obtained, a current volume value corresponding to the current posture data of the electronic device is obtained based on the current posture data, wherein the current volume value can be calculated through the current posture data in real time according to a preset algorithm, or corresponding relations between a plurality of posture data and a plurality of volume values can be preset, and the current volume value corresponding to the current posture data and the like can be searched from the corresponding relations. Specifically, the volume value of the electronic device at the previous moment can be adjusted according to the current posture data to obtain the current volume value.
Step S130: and when the electronic device enters a call state, controlling the exciter to drive the screen to vibrate and sound according to the current volume value.
Further, the electronic device monitors whether to enter a CALL STATE in real time, and as a way, monitors whether a display interface of the electronic device jumps from the display interface when the electronic device is in a CALL or when the electronic device is in a CALL (CALL _ STATE _ OFFHOOK), wherein when the electronic device is monitored to be in a CALL, the actuator is controlled to drive the screen to vibrate and sound according to the current volume value.
Specifically, after the current volume value is determined, the exciter is controlled to drive the screen to vibrate and emit sound according to the current volume value. When the current volume value is greater than the volume value at the previous moment, the electronic device controls the exciter to increase the volume of the screen sounding, when the current volume value is equal to the volume value at the previous moment, the electronic device controls the exciter to keep the volume of the screen sounding, and when the current volume value is less than the volume value at the previous moment, the electronic device controls the exciter to decrease the volume of the screen sounding, so that the volume value of the electronic device is adjusted according to the posture data of the electronic device, the automatic adjustment of the volume is realized, and the user experience is improved.
According to the first sound production control method provided by the embodiment of the application, when the electronic device is in a screen sound production mode, the electronic device is detected to receive an incoming call or call an outgoing call, wherein in the screen sound production mode, the exciter drives the screen to vibrate and produce sound, the current posture data of the electronic device is detected, the current volume value of the electronic device is obtained based on the current posture data, when the electronic device enters a call state, the exciter is controlled to drive the screen to vibrate and produce sound according to the current volume value, so that when the electronic device receives the incoming call or calls the outgoing call, the posture data of the electronic device is detected, and when the electronic device enters the call state, the volume value of the electronic device is adjusted according to the posture data, the automatic adjustment of the volume is realized, and the user experience is improved.
Referring to fig. 5, fig. 5 is a schematic flowchart illustrating a second sound emission control method according to an embodiment of the present application. As will be explained in detail with respect to the flow shown in fig. 5, the method may specifically include the following steps:
step S210: when the electronic device is in a screen sounding mode, the electronic device is detected to receive an incoming call or make an outgoing call, wherein in the screen sounding mode, the exciter drives the screen to vibrate and sound.
Step S220: current pose data of the electronic device is detected.
Step S230: and determining the volume value corresponding to the current attitude data as a target volume value according to a preset mapping relation table, wherein the preset mapping relation table comprises corresponding relations of the attitude data and the volume value.
In this embodiment, the electronic device stores a preset mapping table in advance, where the preset mapping table includes a corresponding relationship between the gesture data and the volume value, that is, the mapping table includes different volume values of the electronic device under different gesture data.
Specifically, according to the current posture data, the volume value corresponding to the current posture data can be found in the preset mapping relation table, and the found volume value is used as the target volume value.
Step S240: and taking the target volume value as the current volume value.
And further, taking the target volume value as a current volume value to obtain a current volume value corresponding to the current posture data.
Step S250: and when the electronic device enters a call state, controlling the exciter to drive the screen to vibrate and sound according to the current volume value.
In the second sound production control method provided in the embodiment of the present application, when the electronic device is in the screen sound production mode, it is detected that the electronic device receives an incoming call or makes an outgoing call, where in the screen sound production mode, the exciter drives the screen to vibrate and produce sound, detects the current posture data of the electronic device, and determines, according to a preset mapping relation table, that a sound volume value corresponding to the current posture data is a target sound volume value, where the preset mapping relation table includes a corresponding relation between the posture data and the sound volume value, and the target sound volume value is used as the current sound volume value.
Referring to fig. 6, fig. 6 shows a schematic flow chart of a third sound generation control method provided in the embodiment of the present application, and the flow chart shown in fig. 6 will be described in detail below, where the method specifically includes the following steps:
step S310: when the electronic device is in a screen sounding mode, the electronic device is detected to receive an incoming call or make an outgoing call, wherein in the screen sounding mode, the exciter drives the screen to vibrate and sound.
Step S320: detecting a current offset angle of the electronic device.
In this embodiment, the current posture data at least may include a current offset angle, where the current offset angle may be an included angle between an axis of the electronic device when receiving an incoming call or dialing an outgoing call and a horizontal line, and the current offset angle may also be an included angle between an axis of the electronic device when receiving an incoming call or dialing an outgoing call and a vertical line, and the like. It can be understood that the current volume value of the electronic device can be obtained based on the current offset angle, specifically, the current volume value can be calculated in real time according to a preset algorithm through the current offset angle, or a corresponding relationship between a plurality of offset angles and a plurality of volume values can be preset, and the current volume value corresponding to the current offset angle and the like can be searched from the corresponding relationship.
Step S330: when the current offset angle of the electronic device is the first offset angle, determining that the current volume value of the electronic device is a first volume value.
In this embodiment, the current offset angle may include a first offset angle and a second offset angle, where the first offset angle and the second offset angle are both an included angle between an axis of the electronic device and a horizontal plane, and the first offset angle is smaller than the second offset angle, that is, an included angle between the electronic device and the horizontal plane when the electronic device is located at the first offset angle position is smaller than an included angle between the electronic device and the horizontal plane when the electronic device is located at the second offset angle position.
Further, a current offset angle of the electronic device is detected, and when the current offset angle of the electronic device is detected to be the first offset angle, the current volume value of the electronic device may be correspondingly determined to be the first volume value.
Step S340: when the current offset angle of the electronic device is the second offset angle, determining that the current volume value of the electronic device is a second volume value, wherein the first volume value is larger than the second volume value.
Similarly, when the current offset angle of the electronic device is detected to be a second offset angle, determining that the current volume value of the electronic device is a second volume value, wherein it should be noted that the first volume value is larger than the second volume value, that is, when the offset angle of the electronic device is smaller, the electronic device tends to a horizontal placement state, that is, the electronic device tends to a speaker mode, and at this time, the volume of the electronic device is larger, so that the user can be ensured to hear the sound of the electronic device; when the offset angle of the electronic device is larger, the electronic device is more prone to a vertical listening state, namely the electronic device is more prone to a receiver mode, and at the moment, the volume of the electronic device is smaller, so that the information safety of the electronic device is ensured.
Step S350: and obtaining the vibration parameters corresponding to the current volume value according to the current volume value.
As one way, in the present embodiment, the screen includes a plurality of sound emission areas, and the exciter has a plurality of vibration units disposed corresponding to the plurality of sound emission areas, each of the vibration units corresponding to a different vibration parameter, wherein the vibration parameter includes at least one of a vibration amplitude and a vibration frequency.
Further, after the current volume value is obtained, the vibration parameter corresponding to the current volume value is correspondingly obtained, that is, the vibration amplitude and the vibration parameter corresponding to the current volume value are correspondingly obtained.
Step S360: and controlling the vibration unit corresponding to the vibration parameters to drive the sound production area corresponding to the vibration unit to produce sound in a vibration mode.
As one mode, each vibration unit corresponds to different vibration parameters, so after the vibration parameter corresponding to the current volume value is determined, the vibration unit corresponding to the vibration parameter is acquired, and further, the vibration unit is controlled to drive the sound production area correspondingly arranged to vibrate and produce sound. It can be understood that, by the above method, the screen part area of the electronic device can be controlled to sound, so as to reduce the influence caused by the screen vibration sound.
In the third sound production control method provided in the embodiment of the present application, when the electronic device is in the screen sound production mode, it is detected that the electronic device receives an incoming call or calls an outgoing call, wherein in the screen sound production mode, the exciter drives the screen to vibrate and produce sound, the current offset angle of the electronic device is detected, when the current offset angle of the electronic device is the first offset angle, the current sound volume value of the electronic device is determined to be the first sound volume value, when the current offset angle of the electronic device is the second offset angle, the current sound volume value of the electronic device is determined to be the second sound volume value, wherein the first offset angle is smaller than the second offset angle, the first sound volume value is larger than the second sound volume value, according to the current sound volume value, the vibration parameter corresponding to the current sound volume value is obtained, and the vibration unit corresponding to the vibration parameter is controlled to drive the sound production area corresponding to the vibration unit to produce sound, compared with the first sound production control method, according to the method, when the offset angle is increased, the volume of the electronic device can be automatically reduced, the volume can be automatically adjusted according to the actual environment, and the user experience is further improved.
Referring to fig. 7, fig. 7 is a flowchart illustrating a fourth sound emission control method according to an embodiment of the present application. As will be explained in detail with respect to the flow shown in fig. 7, the method may specifically include the following steps:
step S410: when the electronic device is in a screen sounding mode, the electronic device is detected to receive an incoming call or make an outgoing call, wherein in the screen sounding mode, the exciter drives the screen to vibrate and sound.
Step S420: detecting the current offset angle of the electronic device, and judging whether the current offset angle is larger than a preset offset angle.
As a mode, the electronic device presets and stores a preset offset angle, where the preset offset angle is used as a criterion for determining a current offset angle, and it can be understood that, when the current offset angle is obtained, the current offset angle is compared with the preset offset angle to determine whether the current offset angle is greater than the preset offset angle. Wherein, the preset offset angle may be 30 °, 40 °, and the like.
Step S430: when the current offset angle is not larger than the preset offset angle, determining that the current volume value of the electronic device is a third volume value.
And when the current offset angle is not larger than the preset offset angle, determining that the current volume value of the electronic device is a third volume value. For example, assuming that the preset offset angle is 30 °, when the current offset angle is between 0 ° and 30 °, the current volume values of the electronic device are all third volume values; assuming that the preset offset angle is 40 °, when the current offset angle is between 0 ° and 40 °, the current volume values of the electronic device are all third volume values. As one approach, the third volume value may be considered as the volume value when the electronic device is in the speaker mode.
Step S440: when the current offset angle is larger than the preset offset angle, determining that the current volume value of the electronic device is a fourth volume value, wherein the third volume value is larger than the fourth volume value.
And when the current offset angle is determined to be larger than the preset offset angle, determining that the current volume value of the electronic device is a fourth volume value. For example, assuming that the preset offset angle is 30 °, when the current offset angle is greater than 30 °, the current volume values of the electronic device are all fourth volume values; assuming that the preset offset angle is 40 °, when the current offset angle is greater than 40 °, the current volume values of the electronic device are all fourth volume values. Alternatively, the third volume value is greater than the fourth volume value, and the fourth volume value can be regarded as the volume value when the electronic device is in the earpiece mode.
Step S450: and obtaining the vibration parameters corresponding to the current volume value according to the current volume value.
Step S460: and controlling the vibration unit corresponding to the vibration parameters to drive the sound production area corresponding to the vibration unit to produce sound in a vibration mode.
In the fourth sound emission control method provided in the embodiment of the present application, when the electronic device is in the screen sound emission mode, it is detected that the electronic device receives an incoming call or calls an outgoing call, wherein in the screen sound emission mode, the exciter drives the screen to vibrate and emit sound, detects the current offset angle of the electronic device, and determines whether the current offset angle is greater than the preset offset angle, when the current offset angle is not greater than the preset offset angle, it is determined that the current sound volume value of the electronic device is the third sound volume value, and when the current offset angle is greater than the preset offset angle, it is determined that the current sound volume value of the electronic device is the fourth sound volume value, wherein the third sound volume value is greater than the fourth sound volume value, the vibration parameter corresponding to the current sound volume value is obtained according to the current sound volume value, and the vibration unit corresponding to the vibration parameter is controlled to drive the sound emission area corresponding to the vibration unit to emit sound, the method can control different volume values of the electronic device in different angle areas, realize automatic adjustment of the volume according to the actual environment, and further improve the user experience.
Referring to fig. 8, fig. 8 shows a block diagram of a sound emission control device 300 according to an embodiment of the present application. The sound emission control device 300 is applied to an electronic device including a screen capable of generating sound by vibration and an actuator for driving the screen to emit sound. As will be explained below with respect to this block diagram, the sound emission control device 300 includes: a detection module 310, an acquisition module 320, and a control module 330, wherein:
the detecting module 310 is configured to detect that the electronic device receives an incoming call or calls when the electronic device is in a screen sounding mode, where the driver drives the screen to vibrate and sound in the screen sounding mode.
The obtaining module 320 is configured to detect current pose data of the electronic device, and obtain a current volume value of the electronic device based on the current pose data. Further, the obtaining module 320 includes: the system comprises an attitude data detection submodule, a target volume value acquisition submodule and a current volume value acquisition submodule, wherein:
and the attitude data detection submodule is used for detecting the current attitude data of the electronic device.
And the target volume value obtaining submodule is used for determining the volume value corresponding to the current attitude data as the target volume value according to a preset mapping relation table, wherein the preset mapping relation table comprises corresponding relations of the attitude data and the volume value.
And the current volume value obtaining submodule is used for taking the target volume value as the current volume value.
The current volume value obtaining submodule is further used for detecting a current offset angle of the electronic device, and when the current offset angle of the electronic device is the first offset angle, determining that the current volume value of the electronic device is a first volume value; and when the current offset angle of the electronic device is the second offset angle, determining that the current volume value of the electronic device is a second volume value, wherein the first volume value is larger than the second volume value.
The current volume value obtaining submodule is also used for detecting the current offset angle of the electronic device and judging whether the current offset angle is larger than a preset offset angle or not; when the current offset angle is not larger than the preset offset angle, determining that the current volume value of the electronic device is a third volume value; and when the current offset angle is larger than the preset offset angle, determining that the current volume value of the electronic device is a fourth volume value, wherein the third volume value is larger than the fourth volume value.
And the control module 330 is configured to control the exciter to drive the screen to vibrate and sound according to the current volume value when the electronic device enters a call state. Further, the control module 300 includes: vibration parameter acquisition submodule and vibration sound production control submodule, wherein:
and the vibration parameter acquisition submodule is used for acquiring the vibration parameter corresponding to the current volume value according to the current volume value.
And the vibration sound production control submodule is used for controlling the vibration unit corresponding to the vibration parameters to drive the sound production area corresponding to the vibration unit to vibrate and produce sound.
To sum up, according to the sound production control method, the sound production control device, the electronic device, and the storage medium provided in the embodiments of the present application, when the electronic device is in the screen sound production mode, it is detected that the electronic device receives an incoming call or makes an outgoing call, wherein in the screen sound production mode, the exciter drives the screen to vibrate and produce sound, current attitude data of the electronic device is detected, and a current volume value of the electronic device is obtained based on the current attitude data, when the electronic device enters a call state, the exciter is controlled to drive the screen to vibrate and produce sound according to the current volume value, so that by detecting the attitude data of the electronic device when the electronic device receives an incoming call or makes an outgoing call, and when the electronic device enters a call state, the volume value of the electronic device is adjusted according to the attitude data, thereby achieving automatic adjustment of the volume and.
It should be noted that, in the present specification, the embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. For the device-like embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment. For any processing manner described in the method embodiment, all the processing manners may be implemented by corresponding processing modules in the apparatus embodiment, and details in the apparatus embodiment are not described again.
An electronic device provided by the present application will be described with reference to fig. 9.
Referring to fig. 1, fig. 2 and fig. 9, based on the above-mentioned sound control method and apparatus, an embodiment of the present invention provides an electronic apparatus 100 capable of executing the above-mentioned sound control method. The electronic device 100 includes a screen 120 capable of vibrating a sound, an actuator 131 for driving the screen to emit the sound, a memory 104, and a processor 102, the screen 120, the actuator 131, and the memory 104 being coupled to the processor 102. The memory 104 stores programs that can execute the content of the foregoing embodiments, and the processor 102 can execute the programs stored in the memory 104.
Another electronic device provided by the present application will be described with reference to fig. 10.
Referring to fig. 1, fig. 2 and fig. 10, an electronic device 100 is further provided according to an embodiment of the present application based on the foregoing sound control method and apparatus.
By way of example, the electronic device 100 may be any of various types of computer system equipment (only one modality shown in FIG. 1 by way of example) that is mobile or portable and that performs wireless communications. 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.
Referring to fig. 1, the electronic device 100 includes an electronic main body 10, and the electronic main body 10 includes a housing 12 and a screen 120 disposed on the housing 12. The housing 12 may be made of metal, such as steel or aluminum alloy. In this embodiment, the screen 120 generally includes a display panel 111, and may also include a circuit and 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 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. 10.
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. For example, the memory 104 stores software programs and modules corresponding to the sound emission control method provided in the above embodiment, and the processor 102 executes the sound emission control method provided in the above embodiment when running the software programs and modules corresponding to the sound emission control method provided in the above embodiment. 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 remotely located from the processor 102, which may be connected to the electronic body portion 10 or the screen 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 used for receiving and transmitting electromagnetic waves, and implementing 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 Mobile Communication (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, IEEE802.1 g, and/or IEEE802.11 n), Voice over internet protocol (VoIP), world wide mail Access (Microwave for Wireless Communication), Wi-11 Wireless Access (Max), and any other suitable protocol for instant messaging, and may even include those protocols that have not yet been developed.
The audio circuitry 110, earpiece 101, sound jack 103, microphone 105 collectively provide an audio interface between a user and the electronics body portion 10 or the screen 120. Specifically, 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 earpiece 101. The earpiece 101 converts the electrical signal into sound waves that can be heard by the human ear. 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 in the screen 120, examples of the sensor 114 include, but are not limited to: light sensors, operational sensors, pressure sensors, gravitational acceleration sensors, and other sensors.
Specifically, the sensors 114 may include a light sensor 114F and a pressure sensor 114G. Among them, the pressure sensor 114G may be a sensor that detects pressure generated by pressing on the electronic device 100. That is, the pressure sensor 114G detects pressure resulting from contact or pressing between the user and the electronic device, for example, contact or pressing between the user's ear and the electronic device. Thus, the pressure sensor 114G 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. 10 again, in the embodiment shown in fig. 10, the light sensor 114F and the pressure sensor 114G are disposed adjacent to the display panel 111. The light sensor 114F may turn off the display output by the processor 102 when an object is near the screen 120, for example, when the electronic body portion 10 moves to the ear.
As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in various directions (generally three axes), detect the magnitude and direction of gravity when the electronic device is 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 screen 109 disposed on the screen 120, and the screen 109 may collect touch operations of the user (such as operations of the user on or near the 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 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 screen 109 may be implemented by various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the screen 109, in other variations, the input module 118 may include other input devices, such as keys 107. The keys 107 may include, for example, character keys for inputting characters, and control keys for activating control functions. Examples of such control keys include a "back to home" key, a power on/off key, and the like.
The screen 120 is used to display information input by the user, information provided to the user, and various graphic user interfaces of the electronic body section 10, which may be configured by graphics, text, icons, numbers, video, and any combination thereof, and in one example, the 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 related to the generation, management, and distribution of power within the electronic body portion 10 or the screen 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.
It should be understood that the electronic apparatus 100 described above is not limited to the smartphone terminal, and it should refer to a computer device that can be used in a mobile. Specifically, the electronic device 100 refers to a mobile computer device equipped with an intelligent operating system, and the electronic device 100 includes, but is not limited to, a smart phone, a smart watch, a tablet computer, and the like.
In the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present application, "plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and the scope of the preferred embodiments of the present application includes other implementations in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
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 (9)

1. A sound production control method is applied to an electronic device, the electronic device comprises a screen capable of vibrating to produce sound and an exciter used for driving the screen to produce sound, the screen comprises a plurality of sound production areas, the exciter is provided with a plurality of vibration units correspondingly arranged with the sound production areas, and each vibration unit corresponds to different vibration parameters, and the method comprises the following steps:
when the electronic device is in a screen sounding mode, detecting that the electronic device receives an incoming call or calls for outgoing calls, wherein in the screen sounding mode, the exciter drives the screen to vibrate and sound;
detecting a current offset angle of the electronic device, and searching a current volume value corresponding to the current offset angle from a corresponding relation based on the preset corresponding relation between a plurality of offset angles and a plurality of volume values;
when the electronic device enters a call state, acquiring a vibration parameter corresponding to the current volume value according to the current volume value;
and controlling the vibration unit corresponding to the vibration parameters to drive the sound production area corresponding to the vibration unit to produce sound in a vibration mode, wherein the sound production area of the vibration sound is the partial sound production area in a plurality of sound production areas included by the screen.
2. The method of claim 1, wherein detecting current pose data of the electronic device and obtaining a current volume value of the electronic device based on the current pose data comprises:
detecting current attitude data of the electronic device;
determining a volume value corresponding to the current attitude data as a target volume value according to a preset mapping relation table, wherein the preset mapping relation table comprises corresponding relations of the attitude data and the volume value;
and taking the target volume value as the current volume value.
3. The method of claim 1, wherein the current offset angle comprises a first offset angle and a second offset angle, and wherein the first offset angle is less than the second offset angle, the method further comprising:
when the current offset angle of the electronic device is the first offset angle, determining that the current volume value of the electronic device is a first volume value; and
when the current offset angle of the electronic device is the second offset angle, determining that the current volume value of the electronic device is a second volume value, wherein the first volume value is larger than the second volume value.
4. The method of claim 1, further comprising:
judging whether the current offset angle is larger than a preset offset angle or not;
when the current offset angle is not larger than the preset offset angle, determining that the current volume value of the electronic device is a third volume value; and
when the current offset angle is larger than the preset offset angle, determining that the current volume value of the electronic device is a fourth volume value, wherein the third volume value is larger than the fourth volume value.
5. The method of claim 1, wherein the vibration parameter comprises at least one of a vibration amplitude and a vibration frequency.
6. The utility model provides a vocal controlling means which characterized in that is applied to electronic device, electronic device is including the screen that can vibrate the sound production and being used for the drive the exciter of screen sound production, the screen includes a plurality of vocal regions, the exciter have a plurality of with a plurality of vocal regions correspond the vibration unit that sets up, every the vibration unit corresponds different vibration parameter, the device includes:
the detection module is used for detecting that the electronic device receives an incoming call or calls when the electronic device is in a screen sound production mode, wherein the exciter drives the screen to vibrate and produce sound in the screen sound production mode;
the current volume value acquisition submodule is used for detecting a current offset angle of the electronic device and searching a current volume value corresponding to the current offset angle from a corresponding relation based on the preset corresponding relation between a plurality of offset angles and a plurality of volume values;
the vibration parameter acquisition submodule is used for acquiring a vibration parameter corresponding to the current volume value according to the current volume value when the electronic device enters a call state;
and the vibration sound production control submodule is used for controlling the vibration unit corresponding to the vibration parameters to drive the sound production area corresponding to the vibration unit to carry out vibration sound production, wherein the sound production area of the vibration sound production is the partial sound production area in a plurality of sound production areas included by the screen.
7. An electronic device comprising a screen capable of vibrating a sound production, an actuator for driving the screen to produce the sound, a memory, and a processor, the screen, the actuator, and the memory coupled to the processor, the memory storing instructions that, when executed by the processor, the processor performs the method of any of claims 1-5.
8. A computer-readable storage medium having program code executable by a processor, the program code causing the processor to perform the method of any one of claims 1-5.
9. An electronic device, comprising a screen capable of vibrating to produce sound;
the exciter is used for driving the screen to sound, the screen comprises a plurality of sound production areas, the exciter is provided with a plurality of vibration units which are arranged corresponding to the sound production areas, and each vibration unit corresponds to different vibration parameters;
the circuit is connected with the exciter and comprises a detection circuit and a driving circuit, wherein the detection circuit is used for detecting that the electronic device receives an incoming call or calls for an outgoing call when the electronic device is in a screen sounding mode, and the exciter drives the screen to vibrate and sound in the screen sounding mode; detecting a current offset angle of the electronic device, and searching a current volume value corresponding to the current offset angle from a corresponding relation based on the preset corresponding relation between a plurality of offset angles and a plurality of volume values; the driving circuit is used for acquiring the vibration parameter corresponding to the current volume value according to the current volume value when the electronic device enters a call state, and controlling the vibration unit corresponding to the vibration parameter to drive the sound production area corresponding to the vibration unit to produce sound in a vibration mode, wherein the sound production area of the vibration sound production is a part of sound production areas in a plurality of sound production areas included by the screen.
CN201810772561.1A 2018-07-13 2018-07-13 Sound production control method, sound production control device, electronic device, and storage medium Active CN109062533B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810772561.1A CN109062533B (en) 2018-07-13 2018-07-13 Sound production control method, sound production control device, electronic device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810772561.1A CN109062533B (en) 2018-07-13 2018-07-13 Sound production control method, sound production control device, electronic device, and storage medium

Publications (2)

Publication Number Publication Date
CN109062533A CN109062533A (en) 2018-12-21
CN109062533B true CN109062533B (en) 2021-06-15

Family

ID=64816584

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810772561.1A Active CN109062533B (en) 2018-07-13 2018-07-13 Sound production control method, sound production control device, electronic device, and storage medium

Country Status (1)

Country Link
CN (1) CN109062533B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114125089A (en) * 2020-08-31 2022-03-01 北京小米移动软件有限公司 Terminal device, signal processing method and device, and storage medium
CN114125138B (en) * 2021-10-29 2022-11-01 歌尔科技有限公司 Volume adjustment optimization method and device, electronic equipment and readable storage medium
CN116708654A (en) * 2022-02-28 2023-09-05 荣耀终端有限公司 Audio processing method and electronic equipment

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2472092A (en) * 2009-07-24 2011-01-26 New Transducers Ltd Audio system for an enclosed space with plural independent audio zones
US20110257958A1 (en) * 2010-04-15 2011-10-20 Michael Rogler Kildevaeld Virtual smart phone
CN103428350B (en) * 2012-05-23 2015-05-20 希姆通信息技术(上海)有限公司 Handheld terminal and method for judging posture of handheld terminal
CN103347129B (en) * 2013-07-01 2015-06-24 瑞声科技(南京)有限公司 Working mode switching system, working mode switching method and mobile terminal adopting working mode switching system
CN103778909B (en) * 2014-01-10 2017-03-01 瑞声科技(南京)有限公司 Screen sonification system and its control method
CN105204815B (en) * 2014-06-30 2018-08-31 联想(北京)有限公司 A kind of electronic equipment and information processing method
CN106487981A (en) * 2015-08-31 2017-03-08 展讯通信(上海)有限公司 Up volume gain compensation system and method in hand-held communication process
CN105635479A (en) * 2016-01-15 2016-06-01 广东小天才科技有限公司 Method and system for somatosensory switching smart watch call mode
KR101817105B1 (en) * 2016-12-30 2018-02-22 엘지디스플레이 주식회사 Actuator fixing apparatus and display device for generating sound by panel vibration type having the same
CN106131294A (en) * 2016-05-31 2016-11-16 合肥联宝信息技术有限公司 Volume button self adaptation operational approach, device and mobile terminal
KR102259805B1 (en) * 2016-11-30 2021-06-02 엘지디스플레이 주식회사 Display device
CN106856582B (en) * 2017-01-23 2019-08-27 瑞声科技(南京)有限公司 The method and system of adjust automatically sound quality
CN106954143B (en) * 2017-03-02 2018-11-02 瑞声科技(南京)有限公司 Manually adjust the method and electronic equipment of sound quality
CN107592592A (en) * 2017-07-28 2018-01-16 捷开通讯(深圳)有限公司 Display panel, mobile terminal and screen sounding control method
CN107592407A (en) * 2017-08-11 2018-01-16 北京安云世纪科技有限公司 The method and device of adjustment call relevant information in communication process
CN108156562A (en) * 2017-12-28 2018-06-12 上海传英信息技术有限公司 A kind of display screen sound-producing device and intelligent terminal

Also Published As

Publication number Publication date
CN109062533A (en) 2018-12-21

Similar Documents

Publication Publication Date Title
CN109194796B (en) Screen sounding method and device, electronic device and storage medium
CN108683761B (en) Sound production control method and device, electronic device and computer readable medium
CN108646971B (en) Screen sounding control method and device and electronic device
CN108833638B (en) Sound production method, sound production device, electronic device and storage medium
CN108881568B (en) Method and device for sounding display screen, electronic device and storage medium
CN109032558B (en) Sound production control method and device, electronic device and computer readable medium
CN109032556B (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
CN109189362B (en) Sound production control method and device, electronic equipment and storage medium
CN108958632B (en) Sound production control method and device, electronic equipment and storage medium
CN109086023B (en) Sound production control method and device, electronic equipment and storage medium
CN108810198B (en) Sound production control method and device, electronic device and computer readable medium
CN109062535B (en) Sound production control method and device, electronic device and computer readable medium
CN109086024B (en) Screen sounding method and device, electronic device and storage medium
CN108958697B (en) Screen sounding control method and device and electronic device
CN109040919B (en) Sound production method, sound production device, electronic device and computer readable medium
CN109085985B (en) Sound production control method, sound production control device, electronic device, and storage medium
CN109189360B (en) Screen sounding control method and device and electronic device
CN108900728B (en) Reminding method, reminding device, electronic device and computer readable medium
CN109144249B (en) Screen sounding method and device, electronic device and storage medium
CN108712706B (en) Sound production method, sound production device, electronic device and storage medium
CN108810764B (en) Sound production control method and device and electronic device
CN109240413B (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
CN111124345A (en) Audio source processing method and mobile terminal

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