CN108900689B - Sound production control method and device, electronic equipment and storage medium - Google Patents
Sound production control method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN108900689B CN108900689B CN201810813103.8A CN201810813103A CN108900689B CN 108900689 B CN108900689 B CN 108900689B CN 201810813103 A CN201810813103 A CN 201810813103A CN 108900689 B CN108900689 B CN 108900689B
- Authority
- CN
- China
- Prior art keywords
- sound
- area
- sounding
- volume
- distance
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/60—Substation equipment, e.g. for use by subscribers including speech amplifiers
- H04M1/6033—Substation equipment, e.g. for use by subscribers including speech amplifiers for providing handsfree use or a loudspeaker mode in telephone sets
- H04M1/6041—Portable telephones adapted for handsfree use
- H04M1/605—Portable telephones adapted for handsfree use involving control of the receiver volume to provide a dual operational mode at close or far distance from the user
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/02—Constructional features of telephone sets
- H04M1/03—Constructional features of telephone transmitters or receivers, e.g. telephone hand-sets
- H04M1/035—Improving the acoustic characteristics by means of constructional features of the housing, e.g. ribs, walls, resonating chambers or cavities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/60—Substation equipment, e.g. for use by subscribers including speech amplifiers
- H04M1/6016—Substation equipment, e.g. for use by subscribers including speech amplifiers in the receiver circuit
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/7243—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
- H04M1/72433—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for voice messaging, e.g. dictaphones
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M2250/00—Details of telephonic subscriber devices
- H04M2250/12—Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Physics & Mathematics (AREA)
- Acoustics & Sound (AREA)
- Environmental & Geological Engineering (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Circuit For Audible Band Transducer (AREA)
- Telephone Function (AREA)
Abstract
The embodiment of the application discloses a sound production control method, a sound production control device, electronic equipment and a storage medium, and is applied to electronic equipment, the electronic equipment comprises a display screen and an exciter used for driving the display screen to produce sound, the display screen comprises a plurality of sound production areas, and the method comprises the following steps: detecting a distance of a user relative to the electronic device; determining the required volume corresponding to the distance; determining a target sounding area in the plurality of sounding areas, wherein the preset sounding volume of the target sounding area is matched with the required volume, and the preset sounding volume of each sounding area is different; and sending a driving signal to the exciter to drive the target sounding area to sound at the preset sounding volume. The method can automatically select the sounding area with the corresponding sounding volume to sound according to the distance between the user and the electronic equipment, and improves user experience.
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 emission, an electronic device, and a storage medium.
Background
Electronic devices such as mobile phones, tablet computers, and the like are designed to output sound signals by emitting sound through a speaker. However, the speaker arrangement occupies a large design space, resulting in the electronic apparatus 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, which is applied to an electronic device, where the electronic device includes a display screen and an actuator for driving the display screen to emit sound, the display screen includes a plurality of sound emission areas, and the method includes: detecting a distance of a user relative to the electronic device; determining the required volume corresponding to the distance; determining a target sounding area in the plurality of sounding areas, wherein the preset sounding volume of the target sounding area is matched with the required volume, and the preset sounding volume of each sounding area is different; and sending a driving signal to the exciter to drive the target sounding area to sound at the preset sounding volume.
In a second aspect, an embodiment of the present application provides a sound emission control device, which is applied to an electronic device, where the electronic device includes a display screen and an actuator for driving the display screen to emit sound, the display screen includes a plurality of sound emission areas, and the device includes: the device comprises a distance detection module, a volume determination module, an area determination module and a sound production driving module, wherein the distance detection module is used for detecting the distance between a user and the electronic equipment; the volume determining module is used for determining the required volume corresponding to the distance; the area determination module is used for determining a target sounding area in the plurality of sounding areas, wherein the preset sounding volume of the target sounding area is matched with the required volume, and the preset sounding volume of each sounding area is different; the sound production driving module is used for sending a driving signal to the exciter and driving the target sound production area to produce sound with the preset sound production volume.
In a third aspect, an embodiment of the present application provides an electronic device, including a display screen, an actuator for driving the display screen to generate sound, a memory, and a processor, where the display screen, the actuator, and the memory are coupled to the processor, and the memory stores instructions, and when the instructions are executed by the processor, the processor executes the sound generation control method provided in the first aspect.
In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium having a program code executable by a processor, where the program code causes the processor to execute the sound emission control method provided in the first aspect.
In a fifth aspect, the present application provides an electronic device comprising a display screen; the exciter is used for driving the display screen to sound; the circuit, with a plurality of exciters are connected, the circuit includes detection circuitry and drive circuit, detection circuitry is used for detecting that the user is relative electronic equipment's distance is confirmed the demand volume that the distance corresponds confirm target vocal area among a plurality of vocal areas, wherein, target vocal area's predetermined vocal volume with demand volume matches, every vocal area's predetermined vocal volume is different, drive circuit for to the exciter sends drive signal, drives target vocal area is with its predetermined vocal volume sound production.
Compared with the prior art, the sound production control method, the sound production control device, the electronic equipment and the storage medium provided by the application have the advantages that the distance between a user and the electronic equipment is detected, the corresponding required volume is determined according to the distance, then the target sound production area is determined in the multiple sound production areas, the preset sound production volume of the target sound production area is matched with the required volume, the preset sound production volume of each sound production area is different, and finally the driving signal is sent to the exciter to drive the target sound production area to produce sound with the preset sound production volume. Therefore, the sound production area with the sound production volume corresponding to the distance can be automatically selected to produce sound according to the distance between the user and the electronic equipment, the sound production effect of the electronic equipment is enhanced, and the 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 shows a block diagram of an electronic device provided in an embodiment of the present application;
fig. 2 shows another block diagram of an electronic device provided in an embodiment of the present application;
fig. 3 is a circuit block diagram of an electronic device to which the sound emission control method provided by the embodiment of the present application is applied;
FIG. 4 is a flow chart illustrating a method of controlling sound emission provided by an embodiment of the present application;
FIG. 5 is a flow chart illustrating a method of sound emission control provided by another embodiment of the present application;
FIG. 6 is a flow chart illustrating a method of sound emission control provided by yet another embodiment of the present application;
fig. 7 is a block diagram illustrating a sound emission control apparatus provided in an embodiment of the present application;
fig. 8 shows a block diagram of an electronic device for executing a sound emission control method according to 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, according to another 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 and a tablet computer to display contents such as text, pictures, icons or videos. With the development of touch technologies, more and more display screens arranged on 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 a touch display screen with a larger size. 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 arranged 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 the sound outlet hole of the receiver can be eliminated.
Exemplarily, referring to fig. 1 and 2, an electronic device 100 provided by an embodiment of the present application is shown. Fig. 1 is a front view of an electronic apparatus, and fig. 2 is a side view of the electronic apparatus.
The electronic device 100 includes an electronic body 10, the electronic body 10 includes a housing 12 and a display 120 disposed on the housing 12, the housing 12 includes 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 display 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 display screen 120 or the housing 12 of the electronic device, that is, the vibration component may be the display screen 120, or the housing 12, or a combination of the display 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 display screen 120, and the exciter 131 is connected to the display screen 120 and configured to drive the display screen 120 to vibrate. In particular, the actuator 131 is attached below the display 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 display screen 120 by a moment action, so that the display screen 120 vibrates to produce sound. The display 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, that is, a side of the display panel 111 away from the touch screen 109. The piezoelectric driver includes a plurality of piezoelectric ceramic sheets. When a piece of multilayer piezoceramics piece sound production inflation and shrink, it will drive the display screen and take place bending deformation, so relapse, whole display screen forms bending vibration to the display screen can promote the air and produce the sound.
As one embodiment, as shown in fig. 3, the electronic device 100 includes a display screen 120, a plurality of actuators 131, and a circuit 200. The circuit 200 is connected to a plurality of actuators 131. The circuit 200 includes a detection circuit 210 and a driving circuit 211, the detection circuit 210 is used for detecting the distance between the user and the electronic device 100, determine the required volume corresponding to the distance, in the sounding regions corresponding to the plurality of exciters 131 respectively, determine the target sounding region, wherein the preset sounding volume of the target sounding region is matched with the required volume, the preset sounding volume of each sounding region is different, and the driving circuit 211 is used for sending a driving signal to the exciter 131 corresponding to the sounding region to drive the target sounding region to sound at the preset sounding volume. The actuators 131 (only 2 actuators are shown in fig. 3) are connected to a driving circuit 211 of the electronic device 100, and the driving circuit 211 is configured to input a control signal to the actuators 131 according to the vibration parameter to drive the actuators 131 to vibrate, so as to drive the vibrating component 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 within the electronic device 100. The driving circuit 211 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 211 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 display screen 120, so that the display screen 120 is divided into a plurality of areas for emitting sound individually. For example, if the number of the drivers is 4, the display screen may be equally divided into 4 square areas along the center lines in the vertical direction and the horizontal direction, the 4 drivers are disposed below the 4 square areas, and the 4 drivers 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.
Therefore, to the problem that display effect can be greatly influenced by the components and parts such as a receiver arranged in the direction of the display screen, the inventor researches for a long time and provides the sound production control method, the device, the electronic equipment and the storage medium, and by detecting the distance between a user and the electronic equipment, sound production areas with sound production volumes corresponding to the distance are automatically selected from a plurality of sound production areas of the display screen to produce sound, so that the sound production effect of the electronic equipment is enhanced, and the user experience is improved. Embodiments in the present application will be described in detail below with reference to the accompanying drawings.
In an embodiment, please refer to fig. 4, and fig. 4 is a flowchart illustrating a sound emission control method according to an embodiment of the present application. According to the sound production control method, the distance between the user and the electronic equipment is detected, and the sound production area with the sound production volume corresponding to the distance is automatically selected from the multiple sound production areas of the display screen to produce sound, so that the sound production effect of the electronic equipment is enhanced, and the user experience is improved. In a specific embodiment, the sound emission control method is applied to the sound emission control device 400 shown in fig. 7 and an electronic apparatus (fig. 1) equipped with the sound emission control device 400. The following will describe a specific process of the embodiment by taking an electronic device as an example, and it is understood that the electronic device applied in the embodiment may be a smart phone, a tablet computer, a wearable electronic device, and the like, which is not limited specifically herein. As will be described in detail with respect to the flow shown in fig. 4, the above-mentioned sound emission control method may specifically include the following steps:
step S110: detecting a distance of a user relative to the electronic device.
Currently, electronic devices often sound using a fixed area, such as the area where a speaker or earpiece is located. When the user actually uses the electronic device, the user uses the fixed area to sound without adjusting the sound volume because the distance between the user and the electronic device is different, so that the sound effect of the electronic device is affected, and the hearing effect of the user is affected. For example, when the distance from the user to the electronic device increases, if the sound emitting area of the electronic device still emits sound at the previous volume, the loudness of sound perceived by the user is small; when the distance from the electronic device to the user is reduced, if the sound emitting area of the electronic device still emits sound at the previous volume, the loudness of the sound perceived by the user is large. And if the user wants to hear the volume corresponding to the distance from the electronic device, the user needs to manually adjust the sound volume of the electronic device, so that the operation of the user is increased, and the user experience is influenced.
Therefore, in the embodiment of the application, the distance of the user relative to the electronic device can be detected, so that the volume of the sound to be emitted from the sound emitting area of the display screen can be determined according to the distance of the user relative to the electronic device.
In the embodiment of the application, the distance between the user and the electronic device is detected, and specifically, the distance between the user and the surface of the display screen of the electronic device may be detected. The distance sensor may be an infrared sensor, a radar sensor, a proximity sensor, or other sensor that can implement distance sensing. Specifically, the distance sensor can vertically emit a distance sensing signal, when the distance sensing signal contacts the skin surface of the user, the distance sensing signal is reflected back to the distance sensor, and the distance sensor can receive an echo signal reflected by the user, so that distance sensing is realized. In practical application, a doppler formula equidistance calculation formula can be adopted to calculate the distance between the user and the mobile terminal according to the distance sensing signal and the echo signal. Of course, the sensor for detecting the distance of the user with respect to the electronic device is not limited in the embodiment of the present application.
Therefore, when the electronic equipment sounds, the distance between the user and the electronic equipment can be detected, so that the sound volume corresponding to the distance can be determined to sound.
Step S120: and determining the required volume corresponding to the distance.
After the distance between the user and the electronic equipment is detected, the volume of the sound required to be emitted by the electronic equipment, namely the required volume, is determined according to the distance information between the user and the electronic equipment. Specifically, the volume of the electronic device to be sounded can be determined in such a manner that the distance between the user and the electronic device is proportional to the sound volume of the electronic device to be sounded. It will be appreciated that the greater the distance of the user from the electronic device, the higher the sound volume of the electronic device.
For example, a linear function between the required volume and the distance between the user and the electronic device may be constructed, and after the distance between the user and the electronic device is obtained, the distance between the user and the electronic device is substituted into the function, so that the required volume corresponding to the distance, that is, the volume that the electronic device needs to generate sound, may be obtained.
Step S130: the target sounding area is determined in the sounding areas, wherein preset sounding volumes of the target sounding areas are matched with the required volume, and each preset sounding volume of the sounding areas is different.
In this application embodiment, a display screen for sound production evenly divide into a plurality of vocal regions, and every exciter corresponds a vocal region, a plurality of exciters evenly distributed promptly in the display screen to the display screen is equallyd divide into a plurality of vocal regions that carry out the sound production alone.
In addition, each sound emitting area in the plurality of sound emitting areas of the display screen provided by the embodiment of the application is provided with a preset sound emitting volume, and the preset sound emitting volumes of the sound emitting areas corresponding to each exciter are different. That is, in the above-described plurality of sound areas, when each sound area emits sound, the sound is emitted at the preset sound emission volume, and the sound emission volumes of the sound areas are different from each other.
Furthermore, the sound volume can be divided into a plurality of levels, and the sound volume of each level corresponds to one sound production area. For example, the display screen is divided into 4 sound areas, the preset sound volume is divided into a1, a2, A3 and a4 from high to low, and the 4 sound areas correspond to the sound volumes of a1, a2, A3 and a4 in a one-to-one manner.
Of course, because different users have different requirements for the sound volume, the preset sound volume of each sound area can be set by the user according to the requirements of the user.
After the volume (required volume) of the electronic device that needs to be sounded corresponding to the distance between the user and the electronic device is obtained in step S120, an area of the preset sounding volume that matches the required volume may be selected as a target sounding area from a plurality of sounding areas of the display screen, that is, the preset sounding volume of the target sounding area matches the required volume, so that the preset sounding volume of the sounding area of the electronic device matches the required volume.
Step S140: and sending a driving signal to the exciter to drive the target sounding area to sound at the preset sounding volume.
After the target sound-emitting area is determined, the target sound-emitting area can be controlled to emit sound. Namely, a driving signal is sent to the determined exciter corresponding to the target sound production area so as to drive the target sound production area to produce sound. Because the target sound production area is provided with the preset sound production volume, the target sound production area can produce sound at a fixed volume (namely the preset sound production volume) during sound production. Therefore, the target sound production area can produce sound at the preset sound production volume corresponding to the required volume when producing sound, so that the sound production volume of the electronic equipment corresponds to the distance between the user and the electronic equipment, and the sound production volume of the electronic equipment which can be perceived by the user is adaptive to the distance between the user and the electronic equipment.
In the embodiment of the application, when the distance from the user to the electronic device is changed, the target sound generating areas in the plurality of sound generating areas can be determined again to generate sound according to the re-detected distance from the user to the electronic device, so that the sound generating volume of the sound generating areas of the electronic device is always adapted to the distance from the user to the electronic device, and the sound generating volume of the electronic device can be automatically adjusted according to the distance from the user to the electronic device.
The sound production control method provided by the embodiment of the application, through detecting the distance of the relative electronic equipment of user, confirm the demand volume that electronic equipment needs the sound production according to this distance of electron, then confirm the target sound production region in a plurality of sound production regions, the preset sound production volume of target sound production region and this demand volume phase-match, this target sound production region of final control is with carrying out the sound production with the preset sound production volume that matches with this demand volume, realize that electronic equipment's sound production volume can adapt to with the distance of the relative electronic equipment of user, strengthen electronic equipment's sound production effect, promote user's sense of hearing experience.
In an embodiment, please refer to fig. 5, and fig. 5 is a flowchart illustrating a sound emission control method according to an embodiment of the present application. As will be described in detail with respect to the flow shown in fig. 5, the sound emission control method may specifically include the following steps:
step S210: detecting a distance of a user relative to the electronic device.
Step S220: and acquiring the corresponding relation between the distance of the user relative to the electronic equipment and the required volume.
In the embodiment of the application, the corresponding relation between the distance of the user relative to the electronic equipment and the required volume is stored in the electronic equipment in advance. For example, the correspondence between the distance of the user from the electronic device and the sound volume may be in the form of a relationship table, where the required volume corresponding to each distance value is stored in the relationship table, or may be a linear function in which the sound volume is proportional to the distance of the user from the electronic device.
After the distance between the user and the electronic device is detected and obtained, the corresponding relationship between the pre-stored distance between the user and the electronic device and the required volume of the electronic device, which needs to generate sound, can be read, so that the required volume corresponding to the obtained distance between the user and the electronic device can be found out according to the corresponding relationship.
Step S230: and acquiring the required volume corresponding to the distance based on the corresponding relation.
Therefore, according to the corresponding relation between the distance of the user relative to the electronic equipment and the required volume, the required volume corresponding to the obtained distance of the user relative to the electronic equipment can be found out.
Step S240: the target sounding area is determined in the sounding areas, wherein preset sounding volumes of the target sounding areas are matched with the required volume, and each preset sounding volume of the sounding areas is different.
In the embodiment of the present application, as an implementation manner, determining a target sound-emitting area in a plurality of sound-emitting areas may include:
and acquiring a first sound production area from the plurality of sound production areas, and taking the first area as the sound production area, wherein the difference between the preset sound production volume and the required volume of the first sound production area in the plurality of sound production areas is minimum.
It can be understood that the preset sound volume of the sound-emitting area corresponding to each exciter may not be completely the same as the required volume, and if it is subsequently required to ensure that the electronic device emits sound at the required volume corresponding to the distance from the user to the electronic device, the sound-emitting area corresponding to the preset sound volume closest to the required volume may be selected.
Therefore, the difference between the preset sounding volume corresponding to each sounding area and the required volume can be obtained, the first sounding area with the minimum difference between the preset sounding volume and the required volume is obtained, namely, the difference between the preset sounding volume and the required volume of the first sounding area in the multiple sounding areas is minimum, and the obtained first sounding area is used as the target sounding area. By applying the method, the target sounding area corresponding to the preset sounding volume closest to the required volume can be obtained, so that the sounding volume of the electronic equipment is adapted to the distance between the user and the electronic equipment.
As another embodiment, determining the target sound-emitting area among the plurality of sound-emitting areas may include:
acquiring a second sounding area in the plurality of sounding areas, and taking the second sounding area as a sounding area, wherein the difference between the preset sounding volume and the required volume of the second sounding area in the plurality of sounding areas is smaller than the preset difference.
It can be understood that the preset sound volume of the sound-emitting area corresponding to each exciter may not be completely the same as the required volume, and if it is subsequently required to ensure that the electronic device emits sound at the required volume corresponding to the distance from the user to the electronic device, the sound-emitting area corresponding to the preset sound volume closer to the required volume may be selected, that is, the sound-emitting area corresponding to the preset sound volume with a small difference from the required volume is selected.
Therefore, the difference between the preset sounding volume corresponding to each sounding area and the required volume can be obtained, the difference between the preset sounding volume and the required volume is not larger than the first sounding area of the preset difference, and the obtained first sounding area is used as the target sounding area. The specific value of the preset difference is not limited in the embodiment of the present application, and may be determined according to the actual requirement of the user.
Step S250: and sending a driving signal to the exciter to drive the target sounding area to sound at the preset sounding volume.
Step S260: and when the distance is greater than the preset distance, taking the sound production area around the target sound production area as a first auxiliary sound production area.
In the embodiment of the application, when the user uses the electronic device, the distance between the user and the electronic device may be large, and at this time, the electronic device may not achieve a good sound generating effect by generating sound using the area with the maximum preset sound generating volume. And the other sound production areas of the display screen of the electronic equipment do not produce sound, so that the target sound production area can be controlled to produce sound, and other areas can be controlled to produce sound to enhance the sound production volume.
In this embodiment of the application, when the distance between the user and the electronic device is greater than a preset distance, the sound production area around the target sound production area may be selected as the first auxiliary sound production area. It is to be understood that, in order to ensure that the area on the display screen where the sound is emitted is substantially the same as the area where the sound was emitted before, the sound emission area around the sound emission area may be determined as the first auxiliary sound emission area for controlling the first auxiliary sound emission area to emit sound later.
Step S270: and sending a driving signal to the exciter to drive the first auxiliary sound production area to produce sound.
After the first auxiliary sound emission area for enhancing the sound emission volume is determined, the first auxiliary sound emission area can be controlled to emit sound. That is, a driving signal can be sent to the exciter corresponding to the first auxiliary sound emission area to drive the first auxiliary sound emission area to emit sound.
Therefore, when the distance between the user and the electronic equipment exceeds the preset distance, the auxiliary sound production area used for improving the sound production volume can be automatically determined to produce sound, and the sound volume which can be heard by the user is guaranteed to be high.
According to the sound production control method provided by the embodiment of the application, the sound production area of the sound production volume matched with the distance is determined to produce sound according to the distance between the user and the electronic equipment, and a mode of determining the sound production area matched with the required volume corresponding to the distance is provided. In addition, when the distance between the user and the electronic equipment is large, the auxiliary sound production area is determined to produce sound, so that the sound produced by the auxiliary sound production area is superposed with the sound produced by the previous sound production area, the sound production volume is increased, and the sound production effect of the electronic equipment is ensured.
In an embodiment, please refer to fig. 6, and fig. 6 is a flowchart illustrating a sound emission control method according to an embodiment of the present application. As will be described in detail with respect to the flow shown in fig. 6, the sound emission control method may specifically include the following steps:
step S310: detecting a distance of a user relative to the electronic device.
Step S320: and determining the required volume corresponding to the distance.
Step S330: the target sounding area is determined in the sounding areas, wherein preset sounding volumes of the target sounding areas are matched with the required volume, and each preset sounding volume of the sounding areas is different.
Step S340: and sending a driving signal to the exciter to drive the target sounding area to sound at the preset sounding volume.
In the embodiment of the present application, steps S310 to S340 may refer to descriptions in the above embodiments, and are not described herein again.
Step S350: and when the distance is greater than a preset distance, determining a preset number of second auxiliary sound production areas except the target sound production area from the plurality of sound production areas, wherein the difference value between the preset sound production volume of the second auxiliary sound production areas and the required volume is smaller than a preset value.
In the embodiment of the application, when the user uses the electronic device, the distance between the user and the electronic device may be large, and at this time, the electronic device may not achieve a good sound generating effect by generating sound using the area with the maximum preset sound generating volume. And the other sound production areas of the display screen of the electronic equipment do not produce sound, so that the target sound production area can be controlled to produce sound, and other areas can be controlled to produce sound to enhance the sound production volume.
Specifically, when the distance between the user and the electronic device is greater than the preset distance, the preset number of sounding areas outside the target sounding area may be determined as the second auxiliary sounding areas from the sounding areas corresponding to the multiple exciters, so as to control the second auxiliary sounding areas to sound in the subsequent process. The specific value of the preset number is not limited in the embodiment of the present application, and may be determined according to the actual requirement of the user.
Step S360: and sending a driving signal to the exciter to drive the second auxiliary sound production area to produce sound.
After the second auxiliary sound emission area for enhancing the sound emission volume is determined, the second auxiliary sound emission area can be controlled to emit sound. That is, a driving signal may be sent to the exciter corresponding to the second auxiliary sound emission area to drive the second auxiliary sound emission area to emit sound.
Therefore, when the distance between the user and the electronic equipment exceeds the preset distance, the auxiliary sound production area used for improving the sound production volume can be automatically determined to produce sound, and the sound volume which can be heard by the user is guaranteed to be high.
In this embodiment of the present application, there may be a case where a user needs a larger sound generation effect, for example, when the user plays music outside the electronic device, the sound generation control method may further include:
step S370: and when the preset control operation of the user is detected, all the sounding areas are driven to sound.
It can be understood that when a user needs a large sound volume, a preset control operation can be performed on the electronic device to control all the exciters to work, so that the sounds emitted by the sound emitting areas corresponding to all the exciters are overlapped, and the high sound volume of the electronic device is ensured.
The preset control operation may be a preset sliding track or a preset key operation. For example, a user can slide a zigzag sliding track on the display screen, and when the sliding track made by the user is monitored, all the actuators can be controlled to work so as to drive the sound emitting areas corresponding to all the actuators to emit sound.
According to the sound production control method provided by the embodiment of the application, the target area of the sound production volume matched with the distance is determined to produce sound according to the distance between the user and the electronic equipment. In addition, when the distance between the user and the electronic equipment is large, a preset number of auxiliary sound production areas are determined from the sound production areas corresponding to the multiple exciters to produce sound, so that the sound produced by the auxiliary sound production areas is superposed with the sound produced by the previous target sound production areas, the sound production volume is increased, and the sound production effect of the electronic equipment is ensured.
In one embodiment, referring to fig. 7, fig. 7 shows a block diagram of a sound control apparatus 400 provided in an embodiment of the present application. The device 400 for sounding the display screen is applied to an electronic device, wherein the electronic device comprises the display screen and a plurality of exciters used for driving the display screen to sound, and the exciters respectively correspond to different areas of the display screen. As will be explained below with respect to the block diagram shown in fig. 7, the sound emission control device 400 includes: a distance detection module 410, a volume determination module 420, a zone determination module 430, and a sound driver module 440. Wherein: the distance detection module 410 is configured to detect a distance between a user and the electronic device; the volume determining module 420 is configured to determine a required volume corresponding to the distance; the area determining module 430 is configured to determine a target sound-emitting area in the plurality of sound-emitting areas, where a preset sound-emitting volume of the target sound-emitting area is matched with the required volume, and the preset sound-emitting volume of each sound-emitting area is different; the sound-emitting driving module 440 is configured to send a driving signal to the exciter to drive the target sound-emitting area to emit sound at a preset sound-emitting volume.
In this embodiment, the area determining module 430 may be specifically configured to: acquiring a first sounding area in the plurality of sounding areas, and taking the first sounding area as a target sounding area, wherein the difference between the preset sounding volume of the first sounding area in the plurality of sounding areas and the required volume is minimum.
In this embodiment, the area determining module 430 may also be specifically configured to: obtain the second vocal area in a plurality of vocal areas, will the second vocal area is as target vocal area, wherein, in a plurality of vocal areas the second vocal area predetermine the vocal volume with the difference of demand volume is less than predetermine the difference.
In this embodiment, the volume determining module 420 may be specifically configured to: acquiring the corresponding relation between the distance of a user relative to the electronic equipment and the required volume; and acquiring the required volume corresponding to the distance based on the corresponding relation.
In the embodiment of the present application, the sound emission control device 400 may further include: the device comprises a first auxiliary area determining module and a first sound generating module. The first auxiliary area determining module is used for taking the sound production area around the target sound production area as a first auxiliary sound production area when the distance is greater than a preset distance; the first sound generation module is used for sending a driving signal to the exciter and driving the first auxiliary sound generation area to generate sound.
In the embodiment of the present application, the sound emission control device 400 may further include: a second auxiliary area determination module and a second sound generation module. The second auxiliary area determining module is used for determining a preset number of second auxiliary sound production areas except the target sound production area from the plurality of sound production areas when the distance is greater than a preset distance, wherein the difference value between the preset sound production volume of the second auxiliary sound production areas and the required volume is smaller than a preset value; and the second sounding module is used for sending a driving signal to the exciter to drive the second auxiliary sounding area to sound.
In the embodiment of the present application, the sound emission control device 400 may further include: and a third sound production module. And the third sounding module is used for driving all the sounding areas to sound when detecting the preset control operation of the user.
In an embodiment, referring to fig. 8, based on the foregoing sound control method and apparatus, a mobile terminal 100 capable of executing the foregoing sound control method is further provided in this embodiment of the present application. The mobile terminal 100 includes one or more processors 102 (only one shown), a display 120, an actuator 131 for driving the display to emit sound, and a memory 104, coupled to each other. The memory 104 stores a program corresponding to the sound emission control method provided in the above embodiment, and the processor 102 may execute the program stored in the memory 104.
In summary, according to the sound production control method, the sound production control device, the electronic device and the storage medium provided by the application, the distance between the user and the electronic device is detected, the corresponding required volume is determined according to the distance, then the target sound production area is determined in the plurality of sound production areas, the preset sound production volume of the target sound production area is matched with the required volume, the preset sound production volume of each sound production area is different, and finally the driving signal is sent to the exciter to drive the target sound production area to produce sound with the preset sound production volume. Therefore, the sound production area with the sound production volume corresponding to the distance can be automatically selected to produce sound according to the distance between the user and the electronic equipment, the sound production effect of the electronic equipment is enhanced, and the user experience is improved.
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.
Referring to fig. 1 again, based on the above-mentioned sound control method and apparatus, an embodiment of the invention further provides an electronic device 100.
By way of example, the electronic device 100 may be any of a variety of types of computer system devices (only one modality shown in FIG. 1 by way of example) that are mobile or portable and that perform wireless communications. Specifically, the electronic device 100 may be a mobile phone or a smart phone (e.g., an iPhone (TM) based, Android (TM) based phone), a Portable game device (e.g., a Nintendo DS (TM), a PlayStation Portable (TM), a Game Advance (TM), an iPhone (TM)), a laptop, a PDA, a Portable Internet device, a music player and a data storage device, other handheld devices and head-mounted devices such as a watch, a headset, a pendant, a headset, etc., and the electronic device 100 may also be other wearable devices (e.g., a head-mounted device (HMD) such as electronic glasses, electronic clothing, an electronic bracelet, an electronic necklace, an electronic tattoo, an electronic device, or a smart watch).
The electronic device 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 device 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 body 10, and the electronic body 10 includes a housing 12 and a 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 display 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 touch screen 109.
Referring to fig. 9, in an actual application scenario, the electronic device 100 may be used as a smartphone terminal, in which case the electronic main body 10 generally further includes one or more processors 102 (only one of which is shown), 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. 9 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. 9, or have a different configuration than shown in FIG. 1.
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 remotely located from the processor 102, which may be connected to the electronics body portion 10 or the display 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 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 communications (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, IEEE 802.11b, IEEE 802.1 g, and/or IEEE 802.11n), Voice over internet protocol (VoIP), world wide mail Access (Microwave for internet Access, Wi-Max), and any other suitable protocols for short-message communication, and may even include those protocols that have not yet been developed.
The audio circuitry 110, speaker 101, sound jack 103, microphone 105 collectively provide an audio interface between a user and the electronic body portion 10 or the display 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 speaker 101. The speaker 101 converts an electric signal into a sound wave audible to 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 driving circuit 211 is configured to input a control signal to the actuator 131 according to the vibration parameter sent by the processor, so as to drive the actuator 131 to operate. The exciter 131 is configured to vibrate according to a control signal of the driving circuit 211, so as to drive the vibration component of the electronic device 100 to vibrate, and thus make the vibration component generate sound.
The sensor 114 is disposed in the electronics body portion 10 or in the display screen 120, examples of the sensor 114 include, but are not limited to: light sensors 114F, operational sensors, pressure sensors 114G, gravity acceleration sensors, and other sensors.
Among them, the pressure sensor 114G may be a sensor that detects pressure generated by pressing on the electronic apparatus 100. That is, the pressure sensor 114G detects pressure generated by contact or pressing between the user and the electronic device, for example, contact or pressing between the ear of the user and the electronic device. Thus, pressure sensor 114G may be used to determine whether contact or pressure has occurred between the user and electronic device 100, as well as the magnitude of the pressure.
Referring to fig. 9 again, in the embodiment shown in fig. 9, 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 when an object is near the display 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 touch screen 109 disposed on the display screen 120, and the touch screen 109 may collect a touch operation of a user (for example, an operation 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 a 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. In addition to the touch 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 display screen 120 is used to display information input by a user, information provided to the user, and various graphic user interfaces of the electronic main body part 10, which may be composed of graphics, text, icons, numbers, videos, 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 electronics body portion 10 or the display 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 implements the positioning of the electronic device 100 by using a positioning service, which 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 using a specific positioning technology and marking the position of the positioned object on the electronic map.
It should be understood that the electronic device 100 described above is not limited to a smartphone terminal, but it should refer to a computer device that can be used in 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 (10)
1. The utility model provides a vocal control method, its characterized in that is applied to electronic equipment, electronic equipment includes the display screen and is used for driving the stimulator of display screen vocal, the display screen includes a plurality of evenly distributed in the independent vocal region of display screen, and every vocal region corresponds an exciter, the exciter in attached in the display screen below, the method includes:
detecting a distance of a user relative to the electronic device;
determining the required volume corresponding to the distance;
determining a target sounding area in the plurality of sounding areas, wherein the preset sounding volume of the target sounding area is matched with the required volume, the preset sounding volume of each sounding area is different, and each sounding area corresponds to a level of volume;
sending a driving signal to the exciter corresponding to the target sounding area, and driving the target sounding area to sound at a preset sounding volume;
when the distance is larger than a preset distance, taking a sound production area around the target sound production area as a first auxiliary sound production area;
and sending a driving signal to the exciter to drive the first auxiliary sound production area to produce sound.
2. The method according to claim 1, wherein said determining a target sound-emanating region among said plurality of sound-emanating regions comprises:
acquiring a first sounding area in the plurality of sounding areas, and taking the first sounding area as a target sounding area, wherein the difference between the preset sounding volume of the first sounding area in the plurality of sounding areas and the required volume is minimum.
3. The method according to claim 1, wherein said determining a target sound-emanating region among said plurality of sound-emanating regions comprises:
obtain the second vocal area in a plurality of vocal areas, will the second vocal area is as target vocal area, wherein, in a plurality of vocal areas the second vocal area predetermine the vocal volume with the difference of demand volume is less than predetermine the difference.
4. The method of claim 1, wherein the determining the required volume corresponding to the distance comprises:
acquiring the corresponding relation between the distance of a user relative to the electronic equipment and the required volume;
and acquiring the required volume corresponding to the distance based on the corresponding relation.
5. The method according to any one of claims 1-4, wherein after said sending a driving signal to said actuator to drive said target sound-emitting area to emit sound at its preset sound-emitting volume, said method further comprises:
when the distance is greater than a preset distance, determining a preset number of second auxiliary sound production areas except the target sound production area from the plurality of sound production areas, wherein the difference value between the preset sound production volume of the second auxiliary sound production areas and the required volume is smaller than a preset value;
and sending a driving signal to the exciter to drive the second auxiliary sound production area to produce sound.
6. The method according to any one of claims 1-4, wherein after said sending a driving signal to said actuator to drive said target sound-emitting area to emit sound at its preset sound-emitting volume, said method further comprises:
and when the preset control operation of the user is detected, all the sounding areas are driven to sound.
7. The utility model provides a vocal controlling means, its characterized in that is applied to electronic equipment, electronic equipment includes the display screen and is used for the drive the exciter of display screen vocal, the display screen includes a plurality of evenly distributed in the independent vocal region of display screen, every vocal region corresponds an exciter, the exciter in the display screen below, the device includes: a distance detection module, a volume determination module, an area determination module, a first auxiliary area determination module, a sound generation driving module and a first sound generation module,
the distance detection module is used for detecting the distance between a user and the electronic equipment;
the volume determining module is used for determining the required volume corresponding to the distance;
the area determination module is used for determining a target sounding area in the plurality of sounding areas, wherein the preset sounding volume of the target sounding area is matched with the required volume, the preset sounding volume of each sounding area is different, and each sounding area corresponds to a level of volume;
the sound production driving module is used for sending a driving signal to the exciter corresponding to the target sound production area and driving the target sound production area to produce sound with the preset sound production volume;
the first auxiliary area determining module is used for taking the sound production area around the target sound production area as a first auxiliary sound production area when the distance is greater than a preset distance;
the first sounding module is used for sending a driving signal to the exciter and driving the first auxiliary sounding area to sound.
8. An electronic device comprising a display screen, an actuator for driving the display screen to emit sound, a memory, and a processor, the display 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-6.
9. A computer-readable storage medium having program code executable by a processor, the program code causing the processor to perform the method of any of claims 1-6.
10. An electronic device, comprising a display screen;
the exciter is used for driving the display screen to sound;
the circuit is connected with the plurality of exciters and comprises a detection circuit and a driving circuit, wherein the detection circuit is used for detecting the distance between a user and the electronic equipment, determining the required volume corresponding to the distance, and determining a target sounding area in a plurality of independent sounding areas, the sounding areas are uniformly distributed on the display screen, each sounding area corresponds to one exciter, the exciters are attached below the display screen, the preset sounding volume of the target sounding area is matched with the required volume, the preset sounding volume of each sounding area is different, each sounding area corresponds to one level of volume, and the driving circuit is used for sending driving signals to the exciters corresponding to the target sounding areas and driving the target sounding areas to have the preset sounding volume;
the detection circuit is further used for taking a sound production area around the target sound production area as a first auxiliary sound production area when the distance is larger than a preset distance;
the driving circuit is further used for sending a driving signal to the exciter to drive the first auxiliary sound production area to produce sound.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810813103.8A CN108900689B (en) | 2018-07-23 | 2018-07-23 | Sound production control method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810813103.8A CN108900689B (en) | 2018-07-23 | 2018-07-23 | Sound production control method and device, electronic equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108900689A CN108900689A (en) | 2018-11-27 |
CN108900689B true CN108900689B (en) | 2021-09-14 |
Family
ID=64351481
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810813103.8A Active CN108900689B (en) | 2018-07-23 | 2018-07-23 | Sound production control method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108900689B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111427531A (en) * | 2020-03-17 | 2020-07-17 | 北京字节跳动网络技术有限公司 | Prompting method and device and electronic equipment |
CN111479193A (en) * | 2020-03-18 | 2020-07-31 | 深圳传音制造有限公司 | Vibration sounding device and method |
CN114125659A (en) * | 2021-10-29 | 2022-03-01 | 歌尔科技有限公司 | Volume real-time compensation method, electronic device and readable storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN204305348U (en) * | 2014-11-28 | 2015-04-29 | 上海华勤通讯技术有限公司 | A kind of mobile terminal utilizing flexible screen sounding |
CN205793330U (en) * | 2016-05-16 | 2016-12-07 | 深圳天珑无线科技有限公司 | Intelligent terminal |
CN106954143A (en) * | 2017-03-02 | 2017-07-14 | 瑞声科技(南京)有限公司 | Manually adjust the method and electronic equipment of tonequality |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103778909B (en) * | 2014-01-10 | 2017-03-01 | 瑞声科技(南京)有限公司 | Screen sonification system and its control method |
KR20160071972A (en) * | 2014-12-13 | 2016-06-22 | 박병운 | Warning device of floor noise in the building |
KR102344045B1 (en) * | 2015-04-21 | 2021-12-28 | 삼성전자주식회사 | Electronic apparatus for displaying screen and method for controlling thereof |
CN107343076A (en) * | 2017-08-18 | 2017-11-10 | 广东欧珀移动通信有限公司 | Volume adjusting method, device, storage medium and mobile terminal |
-
2018
- 2018-07-23 CN CN201810813103.8A patent/CN108900689B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN204305348U (en) * | 2014-11-28 | 2015-04-29 | 上海华勤通讯技术有限公司 | A kind of mobile terminal utilizing flexible screen sounding |
CN205793330U (en) * | 2016-05-16 | 2016-12-07 | 深圳天珑无线科技有限公司 | Intelligent terminal |
CN106954143A (en) * | 2017-03-02 | 2017-07-14 | 瑞声科技(南京)有限公司 | Manually adjust the method and electronic equipment of tonequality |
Also Published As
Publication number | Publication date |
---|---|
CN108900689A (en) | 2018-11-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109194796B (en) | Screen sounding method and device, electronic device and storage 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 | |
CN108683761B (en) | Sound production control method and device, electronic device and computer readable medium | |
CN108881568B (en) | Method and device for sounding display screen, electronic device and storage medium | |
CN109032556B (en) | Sound production control method, sound production control device, electronic device, and storage medium | |
CN109032558B (en) | Sound production control method and device, electronic device and computer readable medium | |
CN109189362B (en) | Sound production control method and device, electronic equipment and storage medium | |
CN109086023B (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 | |
CN108958632B (en) | Sound production control method and device, electronic equipment and storage medium | |
CN109144460B (en) | Sound production control method, sound production control device, electronic device, and storage 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 | |
CN108900728B (en) | Reminding method, reminding device, electronic device and computer readable medium | |
CN109240413B (en) | Screen sounding method and device, electronic device and storage medium | |
CN108810198B (en) | Sound production control method and device, electronic device and computer readable medium | |
CN109189360B (en) | Screen sounding control method and device and electronic device | |
CN109062535B (en) | Sound production control method and device, electronic device and computer readable medium | |
CN109144249B (en) | Screen sounding method and device, electronic device and storage medium | |
CN108712571A (en) | Method, apparatus, electronic device and the storage medium of display screen sounding | |
CN108712706B (en) | Sound production method, sound production device, electronic device and storage medium | |
CN108810764B (en) | Sound production control method and device and electronic device | |
CN108900689B (en) | Sound production control method and device, electronic equipment 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 |