CN109062535B - Sound production control method and device, electronic device and computer readable medium - Google Patents

Sound production control method and device, electronic device and computer readable medium Download PDF

Info

Publication number
CN109062535B
CN109062535B CN201810814026.8A CN201810814026A CN109062535B CN 109062535 B CN109062535 B CN 109062535B CN 201810814026 A CN201810814026 A CN 201810814026A CN 109062535 B CN109062535 B CN 109062535B
Authority
CN
China
Prior art keywords
audio
exciter
screen
playing
electronic device
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
CN201810814026.8A
Other languages
Chinese (zh)
Other versions
CN109062535A (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 CN201810814026.8A priority Critical patent/CN109062535B/en
Publication of CN109062535A publication Critical patent/CN109062535A/en
Application granted granted Critical
Publication of CN109062535B publication Critical patent/CN109062535B/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/167Audio in a user interface, e.g. using voice commands for navigating, audio feedback
    • 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 provides a sound production control method and device, an electronic device and a computer readable medium, and relates to the technical field of electronic devices. The method comprises the following steps: when the electronic device plays the first audio through the vibration of the screen, acquiring a playing request of a second audio; determining a first actuator for playing a first audio and a second actuator for playing a second audio; controlling the first exciter to drive the vibration area of the screen corresponding to the first exciter to vibrate so as to continuously play the first audio; and controlling the second exciter to drive the vibration area of the screen corresponding to the second exciter to vibrate so as to play the second audio. Therefore, the sound can be generated in a vibration mode of the screen or the rear cover, the sound hole can be prevented from being formed in the electronic device, the second exciter can be controlled to play the second audio when the first exciter plays the first audio, the screen can be enabled to be divided into different areas, and the user experience degree is improved.

Description

Sound production control method and device, electronic device and computer readable 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 generation, an electronic device, and a computer readable medium.
Background
Currently, in electronic devices, such as mobile phones, tablet computers, and the like, sound is generated through a speaker to output a sound signal. However, the speaker arrangement occupies a large design space, resulting in the electronic device not conforming to the direction of the slim design.
Disclosure of Invention
The application provides a sound production control method, a sound production control device, an electronic device and a computer readable medium, so as to overcome the defects.
In a first aspect, an embodiment of the present application provides a sound production control method, which is applied to an electronic device, where the electronic device includes a screen and multiple actuators for driving the screen to produce sound, and the multiple actuators correspond to different positions of the screen. The method comprises the following steps: when the electronic device plays a first audio through the vibration of the screen, acquiring a playing request of a second audio; determining a first actuator for playing the first audio and a second actuator for playing the second audio; controlling the first exciter to drive a vibration area of the screen corresponding to the first exciter to vibrate so as to continue playing the first audio; and controlling the second exciter to drive the vibration area of the screen corresponding to the second exciter to vibrate so as to play the second audio.
In a second aspect, an embodiment of the present application further provides a sound emission control device, which is applied to an electronic device, where the electronic device includes a screen, and a plurality of actuators for driving the screen to emit sound, and the plurality of actuators correspond to different positions of the screen. The sound production control device includes: the device comprises an acquisition unit, a determination unit, a first control unit and a second control unit. The acquisition unit is used for acquiring a playing request of a second audio when the electronic device plays the first audio through the vibration of the screen. A determination unit for determining a first actuator for playing the first audio and a second actuator for playing the second audio. The first control unit is used for controlling the first exciter to drive the vibration area of the screen corresponding to the first exciter to vibrate so as to continuously play the first audio. And the second control unit is used for controlling the second exciter to drive the vibration area of the screen corresponding to the second exciter to vibrate so as to play the second audio.
In a third aspect, an embodiment of the present application further provides an electronic device, which includes a screen, and a plurality of actuators for driving the screen to sound, where the plurality of actuators correspond to different positions of the screen. The electronic device also includes a processor and a drive circuit. And the processor is used for acquiring a playing request of a second audio when the electronic device plays the first audio through the vibration of the screen, and determining a first exciter used for playing the first audio and a second exciter used for playing the second audio. And the driving circuit is used for controlling the first exciter to drive the vibration area of the screen corresponding to the first exciter to vibrate so as to continue playing the first audio, and controlling the second exciter to drive the vibration area of the screen corresponding to the second exciter to vibrate so as to play the second audio.
In a fourth aspect, an embodiment of the present application further provides an electronic device, including a screen, a plurality of actuators for driving the screen to sound, where the plurality of actuators correspond to different positions of the screen; further comprising a memory and a processor, the memory coupled with the processor; the memory stores instructions that, when executed by the processor, cause the processor to perform the above-described method.
In a fifth aspect, an embodiment of the present application further provides a computer-readable storage medium, where a program code is stored in the computer-readable storage medium, and the program code can be called by a processor to execute the above method.
According to the sound production control method, the sound production control device, the electronic device and the computer readable medium, when the electronic device plays a first audio through vibration of the screen, a playing request of a second audio is obtained, based on the playing request, a first exciter and a second exciter are determined, the first exciter is controlled to drive vibration of a vibration area of the screen corresponding to the first exciter so as to continue playing the first audio, and the second exciter is controlled to drive vibration of the vibration area of the screen corresponding to the second exciter so as to play the second audio. Therefore, the sound can be generated in a vibration mode of the screen or the rear cover, the sound hole can be prevented from being formed in the electronic device, the second exciter can be controlled to play the second audio when the first exciter plays the first audio, the screen can be enabled to be divided into different areas, and the user experience degree is improved.
Additional features and advantages of embodiments of the present application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of embodiments of the present application. The objectives and other advantages of the embodiments of the application may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 illustrates a schematic structural diagram of an electronic device provided in an embodiment of the present application from a first viewing angle;
fig. 2 is a schematic structural diagram of an electronic device according to an embodiment of the present application from a second viewing angle;
FIG. 3 is a flow chart of a method of controlling sound production according to an embodiment of the present application;
FIG. 4 shows a schematic diagram of a bottom region and a top region of a screen provided by an embodiment of the present application;
FIG. 5 is a flow chart of a method of controlling sound production according to an embodiment of the present application;
fig. 6 is a schematic diagram illustrating an incoming call interface and a playing interface provided in an embodiment of the present application;
fig. 7 shows a block diagram of a sound emission control device provided in an embodiment of the present application;
FIG. 8 illustrates a block diagram of an electronic device provided by an embodiment of the present application;
FIG. 9 illustrates a block diagram of an electronic device provided by another embodiment of the present application;
fig. 10 shows a block diagram of an electronic device for performing the method provided by the embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
The display screen generally plays a role in an electronic device such as a mobile phone or a tablet computer to display text, pictures, icons, or video. With the development of touch technologies, more and more display screens arranged in electronic devices are touch display screens, and when a user is detected to perform touch operations such as dragging, clicking, double clicking, sliding and the like on the touch display screen, the touch operations of the user can be responded under the condition of arranging the touch display screens.
As the user demands higher definition and higher fineness of the displayed content, more electronic devices employ touch display screens with larger sizes. However, in the process of setting a touch display screen with a large size, it is found that functional devices such as a front camera, a proximity optical sensor, and a receiver, which are disposed at the front end of the electronic device, affect an area that the touch display screen can extend to.
Generally, an electronic device includes a front panel, a rear cover, and a bezel. The front panel includes a top area, a middle screen area and a lower key area. Generally, the forehead area is provided with a sound outlet of a receiver and functional devices such as a front camera, the middle screen area is provided with a touch display screen, and the lower key area is provided with one to three physical keys. With the development of the technology, the lower key area is gradually cancelled, and the physical keys originally arranged in the lower key area are replaced by the virtual keys in the touch display screen.
The earphone sound outlet holes arranged in the forehead area are important for the function support of the mobile phone and are not easy to cancel, so that the difficulty in expanding the displayable area of the touch display screen to cover the forehead area is high. After a series of researches, the inventor finds that sound can be emitted by controlling the screen, the frame or the rear cover of the mobile phone to vibrate, so that the arrangement of the sound outlet hole of the receiver can be eliminated.
Referring to fig. 1 and 2, an electronic device 100 according to an embodiment of the present application is shown. Fig. 1 is a front view of the electronic device, and fig. 2 is a side view of the electronic device.
The electronic device 100 comprises an electronic body 10, wherein the electronic body 10 comprises a housing 12 and a screen 120 disposed on the housing 12, the housing 12 comprises a front panel 125, a rear cover 127 and a bezel 126, the bezel 126 is used for connecting the front panel 125 and the rear cover 127, and the screen 120 is disposed on the front panel 125.
The electronic device further comprises an exciter 131, wherein the exciter 131 is used for driving a vibration component of the electronic device to vibrate, specifically, the vibration component is at least one of the screen 120 or the housing 12 of the electronic device, that is, the vibration component can be the screen 120, the housing 12, or a combination of the screen 120 and the housing 12. As an embodiment, when the vibration member is the housing 12, the vibration member may be a rear cover of the housing 12.
In the embodiment of the present application, the vibration component is the screen 120, and the exciter 131 is connected to the screen 120 for driving the screen 120 to vibrate. In particular, the actuator 131 is attached below the screen 120, and the actuator 131 may be a piezoelectric driver or a motor. In one embodiment, actuator 131 is a piezoelectric actuator. The piezoelectric actuator transmits its own deformation to the screen 120 by a moment action, so that the screen 120 vibrates to generate sound. The screen 120 includes a touch screen 109 and a display panel 111, the display panel 111 is located below the touch screen 109, and the piezoelectric driver is attached below the display panel 111, i.e., a side of the display panel 111 away from the touch screen 109. The piezoelectric driver includes a plurality of piezoelectric ceramic sheets. When the multilayer piezoelectric ceramic piece produces sound and expands and contracts, the screen is driven to bend and deform, and the whole screen forms bending vibration repeatedly, so that the screen can push air and produce sound.
As an embodiment, the electronic device 100 includes a driving circuit. The exciter 131 is connected to a driving circuit of the electronic device, and the driving circuit is configured to input a control signal value according to the vibration parameter to the exciter 131, so as to drive the exciter 131 to vibrate, thereby driving the vibrating component to vibrate. In particular, the driving circuit may be a processor of the electronic device, or may be an integrated circuit capable of generating a driving voltage or current within the electronic device. The driving circuit outputs a high-low level driving signal to the exciter 131, the exciter 131 vibrates according to the driving signal, and the different electrical parameters of the driving signal output by the driving circuit may cause the different vibration parameters of the exciter 131, for example, the duty ratio of the driving signal corresponds to the vibration frequency of the exciter 131, and the amplitude of the driving signal corresponds to the vibration amplitude of the exciter 131.
In the embodiment of the present application, the plurality of actuators 131 may be uniformly distributed on the screen 120, so that the screen 120 is divided into a plurality of areas for sounding independently. For example, if the number of the actuators is 4, the screen may be divided into 4 square areas along the center line in the vertical direction and the center line in the horizontal direction, the 4 actuators are disposed below the 4 square areas, and the 4 actuators correspond to the 4 square areas one by one. Of course, the number of actuators is not limited in the embodiments of the present application.
Through the screen vibration mode, the electronic device can play music outside, and a user can hear the music under the condition that the user is not close to the electronic device. However, the inventor of the present invention found in research that when a certain audio is played by using a screen vibration vocalization, only the same audio can be played at a time, and if another audio is to be played at the time, the playing audio needs to be paused and a new audio is played, or the new audio needs to be played after the playing audio is finished. Especially, when the user answers the phone, the audio that is being played is paused or canceled, which results in interruption of the audio that the user is listening to.
Therefore, in order to solve the technical problem, an embodiment of the present application provides a sound emission control method, as shown in fig. 3, for reasonably allocating different vibration areas to achieve an effect of simultaneously playing multiple audios when a screen of an electronic device vibrates to emit sound to play the audios, and specifically, the method includes: s301 to S304.
S301: and when the electronic device plays the first audio through the vibration of the screen, acquiring a playing request of a second audio.
Specifically, it may be determined whether an application program of the electronic device, which is capable of playing voice, such as music playing software or a call application, is currently in a vibration sound production mode by detecting an operation of the application program by a user. Specifically, the electronic device is in a vibration sound production mode, and may receive a sound production request. The sound production request indicates the mobile terminal for the user, and the information that the screen needs to be controlled to vibrate and produce sound is required. In one embodiment, the sound production request may be a reminder message or a voice playing request.
The reminding information comprises information for reminding a user that some events are triggered, such as call reminding information, short message reminding information, alarm reminding information and the like. For example, the call reminding information is used for reminding the user that there is an incoming call currently, and the electronic device may enter the vibration sound production mode after the reminding information is acquired and before the sound production is not performed, that is, the electronic device is in a state of waiting for sound production at this time. Then, after the vibration parameters are acquired, at least one of the screen or the rear cover is controlled to vibrate and sound, so that a sound for reminding, such as a ring tone, is emitted.
As another embodiment, the utterance request may be a request to play a voice every time during the utterance of the mobile terminal. The method provided by the embodiment of the application is used for collecting the environmental noise to adjust the vibration of the vibration component in the sound production process of the mobile terminal, so as to adjust the sound production.
For example, a user clicks a play button of a certain video APP, and the electronic device is not currently in a mute state, and when it is detected that the play button is triggered, at least one vibration sound production mode in the screen or the rear cover is entered, and the video voice is played through vibration of the screen.
When the electronic device calls, namely the telephone ring or the vibration reminding rings, the electronic device can detect and display a call interface on a screen. And the user clicks an answering key in the incoming call interface to establish call connection between the current SIM card number of the electronic device and the incoming call number. Specifically, the phone state of the electronic device may be monitored through a phone manager within a system of the electronic device, thereby enabling monitoring whether the electronic device is in a talk mode. The phone manager is an application module in the system of the electronic device, and the user obtains the call status of the electronic device, for example, when the system of the electronic device is an android system, the phone manager is TelephonyManager.
When the electronic device is in a mode of sounding through screen vibration, it may be determined that the electronic device is playing audio through screen vibration, and the audio being played by the electronic device at this time is recorded as a first audio, and the electronic device may determine the first audio through an application program currently playing audio, for example, a song being played by a cool dog music APP.
Therefore, when the electronic device plays the first audio through the vibration of the screen, it is detected whether a play request of the second audio is received, wherein the play request may be the above-mentioned sound emission request.
S302: a first actuator for playing the first audio and a second actuator for playing the second audio are determined.
When the electronic device plays the first audio through the vibration of the screen, after a playing request of the second audio is acquired, a first exciter and a second exciter are determined, wherein the first exciter is used for playing the first audio, and the second exciter is used for playing the second audio.
As an embodiment, the first actuator may be an actuator that is currently driving the screen vibration sound production to play the first audio, and the second actuator may be a selected actuator of a plurality of actuators provided to the electronic device, other than the first actuator. Specifically, the position of each actuator provided on the screen can be acquired in advance, and after the position of the first actuator is determined, an actuator having a distance from the first actuator greater than a preset distance is taken as an alternative actuator, and one actuator or a plurality of actuators are acquired from the alternative actuator as the second actuator. The preset distance may be set by a user according to a requirement, and may be set according to a size of the screen, for example, the size of the screen is: 14.1cm by 9.4cm, the length is 14.1cm and the width is 9.4 cm. Assuming that the area of the vibration region corresponding to each exciter is S, wherein the vibration region corresponding to the exciter is the range of the region of the screen which can be driven by the exciter, the region is provided with a length and a width, and the preset distance is the length provided by the region.
As another embodiment, while there is currently an actuator driving the screen to vibrate the vocalization to play the first audio, the position of the first actuator may be reset, specifically, the first actuator is determined in the actuator corresponding to the bottom area of the screen, and the second actuator is determined in the actuator corresponding to the top area of the screen. Of course, it is also possible to determine the first exciter in the exciter corresponding to the top area of the screen, and determine the second exciter in the exciter corresponding to the bottom area of the screen, and the first exciter is corresponding to the bottom, and the second exciter is located at the top, which is more suitable for the usage habit of the user, for example, when the second audio frequency is related to the call operation of the electronic device, the voice related to the call is emitted by vibrating in the top area, the user can simulate the usage habit of the receiver under the condition of reducing the volume, and the interference can be reduced because the microphone of the electronic device is arranged at the bottom of the screen, and the sound during the call is output at the bottom of the screen.
The screen includes top region, middle part region and bottom region, wherein to the screen just to user's angle, be top region, middle part region and bottom region from top to bottom in proper order, then, the top region is close to the camera, and the bottom region is relative with the top region, is close to the home key.
Then, taking an exciter corresponding to the bottom area of the screen as a first alternative exciter; and taking the exciter corresponding to the top area of the screen as a second alternative exciter.
One or more drivers are selected from the first candidate drivers as first drivers and one or more drivers are selected from the second candidate drivers as second drivers, wherein the first drivers may be randomly selected from the first candidate drivers and the second drivers may also be randomly selected from the second candidate drivers, as shown in fig. 4, illustratively, driver J1 and driver J2 are included in bottom region S1, driver J1 and driver J2 are selected as first candidate drivers, driver J1 is selected from the first candidate drivers as first drivers, driver J3 and driver J4 are included in top region S2, driver J3 and driver J4 are selected as second candidate drivers, and driver J3 is selected from the second candidate drivers as second drivers.
As another embodiment, the first exciter and the second exciter may be selected according to the usage record of each exciter, and specifically, the usage record of each of the first candidate exciter and the second candidate exciter corresponding to the preset time period is obtained. Using an exciter, of the first alternative exciters, with a record meeting a first preset standard as a first exciter; and using the exciter which is recorded to meet a second preset standard in the second alternative exciter as the second exciter.
The preset time period is a time period set by a user according to a requirement, for example, within one week or one month. In addition, each exciter in the electronic device has a corresponding identifier, and when the electronic device vibrates to generate sound, the use record of each exciter is recorded, wherein the use record comprises each use time point and each use time length, the use times in the preset time period can be acquired according to each use time point, and the total use time length in the preset time period can be acquired according to each use time length.
Specifically, the first actuator and the second actuator may be determined according to the number of times of use. In one embodiment, the number of times of use of each exciter in a preset time period in the first candidate exciter is obtained, the exciter with the largest number of times of use is used as the exciter with the usage record meeting the first preset standard, and the exciter is used as the first exciter, so that the selected exciter can better conform to the usage habit of the user, and the exciter with the larger number of times of use can be found as the first exciter. Similarly, the second exciter may be selected by using, as the second exciter, the exciter with the largest or smallest number of times of use among the second candidate exciters, which is not described herein again.
As another embodiment, the first and second actuators may be determined according to a total duration of use within a preset time period. Specifically, in the first alternative actuator, the actuator with the largest total duration is selected as the actuator whose usage record satisfies the first preset criterion, and the actuator is thus the first actuator, thereby making it possible to make the selected actuator more suitable for the usage habit of the user, and the actuator with the longest duration of use is found as the first actuator, and of course, the actuator with the smallest total duration may be selected as the actuator whose usage record satisfies the first preset criterion, and the actuator may be thus the first actuator, and thus, the actuator with the shorter total duration of use may be used as the first actuator, thereby avoiding the actuator from being damaged due to overuse. Similarly, the second exciter may be selected by using, as the second exciter, the exciter with the largest or smallest total duration among the second candidate exciters, which is not described herein again.
As still another embodiment, the frequency of use of each exciter may be determined according to the number of uses and the total duration of use, and specifically, the number of uses of each exciter may be divided by the total duration of use to find the frequency of use. Specifically, in the first candidate exciter, the exciter with the largest use frequency is selected as the exciter with the use record meeting the first preset standard, and the exciter is taken as the first exciter, so that the selected exciter can better conform to the use habit of the user, and the exciter with the longest use time length is found as the first exciter. Similarly, the second exciter may be selected by using, as the second exciter, an exciter with the largest or smallest frequency among the second candidate exciters, which is not described herein again.
Thus, the number of uses, the total length of use, or the frequency of use determines the first and second actuators. However, considering that only one dimension is used, a plurality of actuators with the same index may be found, for example, in the case of the first actuator, when the actuator with the largest number of times of use is selected, a plurality of actuators with the same number of times of use may be selected, and if the user only wants to select one actuator as the first actuator, the user needs to filter from a plurality of dimensions.
Specifically, taking the first actuator as an example, one of the three factors, i.e., the number of times of use, the total time of use, or the frequency of use, may be selected as the first factor, the first actuator is determined according to the first factor, and if the first factor determines a plurality of actuators, i.e., the first factor is the number of times of use, and the actuator with the largest or smallest number of times of use is found as a plurality, the user needs to determine one actuator from the plurality of actuators as the first actuator. One element may be selected from the remaining elements excluding the first element from the three elements of the number of uses, the total length of use, or the frequency of use, as the second element, and the third element may be reused if a plurality of exciters remain after the second element is screened.
In one embodiment, taking the first exciter as an example, firstly, the exciter with the largest number of times of use is selected from the first candidate exciters as the first screening exciter, the number of exciters included in the first screening exciter is determined, if the number of exciters is greater than 1, the exciter with the largest total time duration of use is selected from the first screening exciter as the second screening exciter, and if the number of exciters included in the first screening exciter is equal to 1, the first screening exciter is taken as the first exciter.
And if the number of the exciters contained in the second screening exciters is still larger than 1, selecting the exciters with the largest use frequency from the second screening exciters as third screening exciters, and if the number of the exciters contained in the second screening exciters is equal to 1, using the second screening exciters as the first exciters.
If the number of actuators included in the third screening actuator is still greater than 1, the distribution position of each actuator on the screen is determined, the actuator whose distribution position is closest to the frame for the area is selected as the first actuator, and if the number of actuators included in the third screening actuator is equal to 1, the third screening actuator is selected as the first actuator. Taking the first exciter as an example, if the region corresponding to the third screening exciter is the bottom region, the exciter closest to the bottom frame is taken as the first exciter, and if the second exciter is the third exciter, the exciter closest to the top frame is taken as the first exciter.
As still another embodiment, it is also possible to flexibly set the first actuator and the second actuator to be respectively located at the top and the bottom of the screen, specifically, determine whether the first actuator is located at the top or the bottom of the screen, determine the second actuator in the actuator corresponding to the bottom area of the screen if the first actuator is located at the top, and determine the second actuator in the actuator corresponding to the top area of the screen if the first actuator is located at the bottom. For a specific setting manner, reference may be made to the foregoing description, which is not repeated herein.
S303: and controlling the first exciter to drive the vibration area of the screen corresponding to the first exciter to vibrate so as to continue playing the first audio.
It should be noted that, if the first exciter corresponding to the first audio is not the initial exciter that is vibrating and sounding to play the first audio when the play request of the second audio is obtained, before controlling the first exciter to drive the vibration region of the screen corresponding to the first exciter to vibrate to continue playing the first audio, the current play time point of the first exciter needs to be obtained, then the playing of the first audio using the initial exciter is stopped, and then the first exciter is controlled to continue playing the first audio in the vibration region of the screen corresponding to the first exciter according to the current play time point.
S304: and controlling the second exciter to drive the vibration area of the screen corresponding to the second exciter to vibrate so as to play the second audio.
The processor in the electronic device controls the driving circuit to generate a first driving signal and a second driving signal, sends the first driving signal to the first exciter, and sends the second driving signal to the second exciter, wherein the first driving signal and the second driving signal both comprise a driving voltage or a driving circuit, and a certain driving frequency, and are used for controlling the exciter to output a driving force with a certain intensity and a driving force with a certain frequency, and controlling the area vibration of the corresponding screen, so that a first audio and a second audio are played respectively.
In addition, in some application scenarios, if the user desires not to stop playing the first audio while playing the second audio, it is desirable that the volume of the first audio is able to be compromised, so that the first audio can be heard by the user as a background music, but the normal listening of the second audio by the user is not affected.
Based on this, another sounding control method is provided in an embodiment of the present application, as shown in fig. 5, where the method includes: s501 to S507.
S501: when the electronic device plays the first audio through the vibration of the screen, whether a call request is received or not is detected.
The electronic device enters a state of waiting for sounding when receiving the call request, and plays audio such as incoming call ring tone and the like after responding to the call request, and displays an incoming call interface on a screen, so that a user can answer the call or hang up the call in the incoming call interface.
S502: and acquiring an audio playing request corresponding to the call request as a playing request of a second audio.
If a call request is received, the audio playing request corresponding to the call request is used as a playing request of the second audio, and the audio playing request corresponding to the call request can be incoming call ringtone and voice, busy tone audio and the like of the other party received in the call process.
S503: a first actuator for playing the first audio and a second actuator for playing the second audio are determined.
S504: and acquiring a first playing volume of the first audio currently played.
Specifically, the first playing volume of the first audio may be obtained in advance when the electronic device plays the first audio through the vibration of the screen, or the first playing volume may be obtained after the call request is detected. And after the call request is detected, the first playing volume is acquired, and the first audio and the second audio corresponding to the call can be played simultaneously by vibrating and sounding in different vibration areas of the screen according to the call request of the electronic device.
The method comprises the steps of obtaining a first playing volume of the electronic device, wherein the first playing volume is the volume of a first audio currently output by the electronic device. The obtaining of the first playing volume may be performed by first determining an exciter currently working, where the exciter is driving a screen of the electronic device to vibrate and sound, determining a current sound-emitting volume according to a vibration parameter of the exciter, where the vibration parameter is, for example, a vibration amplitude, obtaining the vibration amplitude of the exciter, and obtaining the current sound-emitting volume according to a preset corresponding relationship between the vibration amplitude and the sound-emitting volume. Of course, the first playback volume of the electronic device may also be obtained according to a program module of an operating system in the electronic device. For example, mAudioManager (AudioManager), getsysteservice (content.
Specifically, the manner of acquiring the system volume is as follows:
max=mAudioManager.getStreamMaxVolume(AudioManager.STREAM_SYS TEM);current=mAudioManager.getStreamVolume(AudioManager.STREAM_S YSTEM);Log.d(“SYSTEM”,“max:”+max+”current:”+current)。
therefore, it is determined whether the system volume or the independent volume is used by the application program currently playing the voice of the electronic device, so as to determine the current sounding volume, for example, the system volume is used, and then the sounding volume of the application program currently playing the voice, that is, the current sounding volume of the electronic device, can be obtained by the above method, and is recorded as the first playing volume.
S505: and reducing the first playing volume to a second playing volume.
Specifically, if the volume value corresponding to the first playing volume is M, the M is decreased to serve as the volume value of the first playing volume, where the volume value is a parameter when the electronic device plays audio, the parameter can control the driving circuit to output a corresponding driving signal, and the driving signal can control the driver to drive the screen to output audio with the volume corresponding to the volume value.
In addition, the reduction amplitude of the corresponding first audio is different considering that the type of the second audio is different. Specifically, the type of the second audio may be set according to a sender corresponding to the second audio, and the sender may be a specific user or an application.
If the type is set according to the application program of the second audio, the corresponding relationship between the audio type and the application program and the corresponding relationship between the audio type and the corresponding relationship between the audio type and the application program and between the audio type and the corresponding relationship between the audio type and the corresponding:
TABLE 1
Application program Type of audio Reduced amplitude
Certain music APP Type 1 30%
Certain game APP Type 2 50%
Certain chat APP Type 3 70%
Then, the application program corresponding to the second audio is determined, and then the audio type corresponding to the application program corresponding to the second audio is determined according to the corresponding relationship shown in table 1, so as to determine the reduction amplitude corresponding to the second audio. Therefore, the reduction range of different APP such as music and games, chatting and the like can be distinguished, and when the music is played, the reduction range is small, so that a user can get on the phone when listening to the music. When the chat APP is used, external interference is less, the volume of the first audio needs to be reduced to a greater extent, and therefore the corresponding reduction extent is the largest.
If the audio type is set according to the sender type of the second audio, the electronic device is preset with the corresponding relationship between the audio type and the application program and the corresponding relationship between the audio type and the amplitude reduction, as shown in the following table 2:
TABLE 2
Sender type Type of audio Reduced amplitude
Old people Type 1 70%
Middle-aged people Type 2 50%
Others Type 3 30%
Similarly, after the playing request of the second audio is obtained, a sender identifier corresponding to the playing request is determined, for example, the sender identifier may be a phone number or a user name, and the sender type corresponding to the playing request of the second audio is determined according to a preset correspondence between the sender identifier and the sender type. Then, the reduction amplitude corresponding to the sender type corresponding to the second audio is determined according to the corresponding relationship shown in the table 2.
As can be seen from table 2, the types of the sender can be divided into the elderly, the middle-aged, and others, that is, the audio type set according to the age of the sender is larger, the larger the age is, the larger the reduction amplitude is, that is, the age is positively correlated with the reduction amplitude, because the voice of the older person is likely to be smaller, the volume of the first audio needs to be reduced more, and the normal conversation of the user is prevented from being interfered. And the sound of the first audio can be received by the other party during the conversation through the microphone, so that both parties keep a pleasant mood.
After the reduction amplitude of the first playing volume is determined according to the type of the second audio, the first playing volume is reduced according to the reduction amplitude, and the reduced first playing volume is the second playing volume. If the reduction amplitude is 40% and the first playback volume is 100 db, the second playback volume after the reduction is 100 × 40% — 60 db.
S506: and controlling the first exciter to drive the vibration area of the screen corresponding to the first exciter to vibrate according to the second playing volume so as to continue playing the first audio, so as to reduce the playing volume of the first audio.
For example, the smaller the playing volume is, the smaller the driving force output by the exciter is, that is, the smaller the vibration amplitude of the screen is, that is, the driving circuit adjusts the driving current or driving voltage input to the exciter according to the playing volume, so that the playing volume is reduced, and then the driving current or driving voltage is also reduced.
S507: and controlling the second exciter to drive the vibration area of the screen corresponding to the second exciter to vibrate so as to play the second audio.
The following describes the effect of the embodiment of the method by taking an example of answering a call when a user uses an electronic device to play music. Specifically, the first audio is music, and the second audio is all audio during the call.
When the electronic device plays the first audio through the vibration of the screen, the playing volume is 100 db, when the electronic device detects a call request, the first exciter is determined in the bottom area of the screen to continue playing the first audio, and the playing time node of the first audio at this time is recorded as 50 seconds. Then, a second actuator is determined at the top of the screen for playing the audio during the call.
Then, it is determined that the type of the second audio corresponds to, for example, the sender type of the second audio is elderly people, and the playback volume of 100 db corresponding to the first audio is reduced to 30 db. Then, the first actuator is controlled to continue playing the first audio at a volume of 30 db and starting from a time point of 50 seconds of the first audio, and the second audio is played in a region of the screen corresponding to the second actuator, that is, the incoming ringtone is played in a region of the screen corresponding to the second actuator.
It should be noted that the call incoming interface is displayed in the upper half area of the screen, and the playing interface corresponding to the first audio is displayed in the lower half area of the screen. As shown in fig. 6, the user can determine that the two interfaces are displayed in different areas on the screen, and the audio frequencies corresponding to the vibration modes in the respective corresponding areas, as shown in fig. 6, it can be clearly known that the top area of the screen is used for playing the audio related to the call, that is, the user uses the top area to make a call, and the bottom area of the screen is used for playing the first audio frequency such as the music or video currently being played, and in addition, a volume setting button is further arranged in the playing interface displayed in the bottom area of the screen, and through the volume setting button, the user can adjust the playing volume of the first audio frequency.
It should be noted that, for the parts not described in detail in the above steps, reference may be made to the foregoing embodiments, and details are not described herein again.
Referring to fig. 7, an embodiment of the present application provides a sound control apparatus 700, specifically, the apparatus includes: an acquisition unit 701, a determination unit 702, a first control unit 703, and a second control unit 704.
An obtaining unit 701, configured to obtain a playing request of a second audio when the electronic device plays the first audio through vibration of the screen.
A determining unit 702 for determining a first actuator for playing the first audio and a second actuator for playing the second audio.
The first control unit 703 is configured to control the first exciter to drive the vibration region of the screen corresponding to the first exciter to vibrate so as to continue playing the first audio.
A second control unit 704, configured to control the second actuator to drive the vibration area of the screen corresponding to the second actuator to vibrate so as to play the second audio.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
Referring to fig. 8, an electronic device provided in an embodiment of the present application is shown, including a screen, a plurality of actuators 131 for driving the screen 120 to sound, where the plurality of actuators 131 correspond to different positions of the screen 120, and the electronic device further includes: a processor 102 and a driver circuit 801.
And the processor is used for acquiring a playing request of a second audio when the electronic device plays the first audio through the vibration of the screen, and determining a first exciter used for playing the first audio and a second exciter used for playing the second audio.
And the driving circuit is used for controlling the first exciter to drive the vibration area of the screen corresponding to the first exciter to vibrate so as to continue playing the first audio, and controlling the second exciter to drive the vibration area of the screen corresponding to the second exciter to vibrate so as to play the second audio.
For example, the driving circuit is provided with a plurality of output ports for outputting driving signals, and each output port is connected to one exciter, so that one of the output ports outputs a first driving signal to the first exciter to control the first exciter to drive the vibration region of the screen corresponding to the first exciter to vibrate so as to continue playing the first audio, and the other output port outputs a second driving signal to the second exciter to control the second exciter to drive the vibration region of the screen corresponding to the second exciter to vibrate so as to play the second audio.
Referring to fig. 9, an electronic device 100 provided in the embodiment of the present application is shown, including: a memory 104 and a processor 102, the memory 104 coupled with the processor 102; the memory 104 stores instructions that, when executed by the processor 102, cause the processor 102 to perform the above-described method.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
Referring to fig. 1 and 2, based on the above method and apparatus, the embodiment of the present application further provides an electronic apparatus 100, and the electronic apparatus 100 may be any of various types of computer system devices (only one form is exemplarily shown in fig. 1 and 2) that is mobile or portable and performs wireless communication. Specifically, the electronic apparatus 100 may be a mobile phone or a smart phone (e.g., an iPhone (TM) based phone), a Portable game device (e.g., Nintendo DS (TM), PlayStation Portable (TM), game Advance (TM), iPhone (TM)), a laptop computer, a PDA, a Portable internet device, a music player, and a data storage device, other handheld devices, and a head-mounted device (HMD) such as a watch, a headset, a pendant, a headset, and the like, and the electronic apparatus 100 may also be other wearable devices (e.g., a head-mounted device (HMD) such as electronic glasses, electronic clothes, an electronic bracelet, an electronic necklace, an electronic tattoo, an electronic device, or a smart watch).
The electronic apparatus 100 may also be any of a number of electronic devices including, but not limited to, cellular phones, smart phones, other wireless communication devices, personal digital assistants, audio players, other media players, music recorders, video recorders, cameras, other media recorders, radios, medical devices, vehicle transportation equipment, calculators, programmable remote controllers, pagers, laptop computers, desktop computers, printers, netbook computers, Personal Digital Assistants (PDAs), Portable Multimedia Players (PMPs), moving Picture experts group (MPEG-1 or MPEG-2) Audio layer 3(MP3) players, portable medical devices, and digital cameras, and combinations thereof.
In some cases, electronic device 100 may perform multiple functions (e.g., playing music, displaying videos, storing pictures, and receiving and sending telephone calls). If desired, the electronic apparatus 100 may be a portable device such as a cellular telephone, media player, other handheld device, wrist watch device, pendant device, earpiece device, or other compact portable device.
The electronic device 100 includes an electronic main body 10, and the electronic main body 10 includes a housing 12 and a main display 120 disposed on the housing 12. The housing 12 may be made of metal, such as steel or aluminum alloy. In this embodiment, the main display 120 generally includes a display panel 111, and may also include a circuit or the like for responding to a touch operation performed on the display panel 111. The Display panel 111 may be a Liquid Crystal Display (LCD) panel, and in some embodiments, the Display panel 111 is a touch screen 109.
Referring to fig. 10, in an actual application scenario, the electronic device 100 may be used as a smartphone terminal, in which case the electronic body 10 generally further includes one or more processors 102 (only one is shown in the figure), a memory 104, an RF (Radio Frequency) module 106, an audio circuit 110, a sensor 114, an input module 118, and a power module 122. It will be understood by those skilled in the art that the structure shown in fig. 10 is merely illustrative and is not intended to limit the structure of the electronic body 10. For example, the electronics body section 10 may also include more or fewer components than shown in fig. 10, or have a different configuration than shown in fig. 1 and 2.
Those skilled in the art will appreciate that all other components are peripheral devices with respect to the processor 102, and the processor 102 is coupled to the peripheral devices through a plurality of peripheral interfaces 124. The peripheral interface 124 may be implemented based on the following criteria: universal Asynchronous Receiver/Transmitter (UART), General Purpose Input/Output (GPIO), Serial Peripheral Interface (SPI), and Inter-Integrated Circuit (I2C), but the present invention is not limited to these standards. In some examples, the peripheral interface 124 may comprise only a bus; in other examples, the peripheral interface 124 may also include other elements, such as one or more controllers, for example, a display controller for interfacing with the display panel 111 or a memory controller for interfacing with a memory. These controllers may also be separate from the peripheral interface 124 and integrated within the processor 102 or a corresponding peripheral.
The memory 104 may be used to store software programs and modules, and the processor 102 executes various functional applications and data processing by executing the software programs and modules stored in the memory 104. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the electronic body portion 10 or the primary display 120 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The RF module 106 is configured to receive and transmit electromagnetic waves, and achieve interconversion between the electromagnetic waves and electrical signals, so as to communicate with a communication network or other devices. The RF module 106 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, memory, and so forth. The RF module 106 may communicate with various networks such as the internet, an intranet, a wireless network, or with other devices via a wireless network. The wireless network may comprise a cellular telephone network, a wireless local area network, or a metropolitan area network. The Wireless network may use various Communication standards, protocols, and technologies, including, but not limited to, Global System for Mobile Communication (GSM), Enhanced 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 (wimax), and any other suitable protocol for instant messaging, and may even include those protocols that have not yet been developed.
The audio circuitry 110, sound jack 103, microphone 105 collectively provide an audio interface between a user and the electronic body portion 10 or the main display 120. Specifically, the audio circuit 110 may be used as the driving circuit described above if the audio circuit 110 receives sound data from the processor 102, converts the sound data into an electrical signal, and transmits the electrical signal to the exciter 131. The electric signal is used as a driving signal of the exciter 131, and the exciter 131 controls the vibration of the vibration part according to the electric signal, thereby converting the sound data into sound waves audible to human ears. The audio circuitry 110 also receives electrical signals from the microphone 105, converts the electrical signals to sound data, and transmits the sound data to the processor 102 for further processing. Audio data may be retrieved from the memory 104 or through the RF module 106. In addition, audio data may also be stored in the memory 104 or transmitted through the RF module 106.
The sensor 114 is disposed in the electronic body portion 10 or the main display 120, examples of the sensor 114 include, but are not limited to: light sensors, pressure sensors, acceleration sensors 114F, proximity sensors 114J, and other sensors.
In particular, the light sensor may comprise a light line sensor. The light sensor can adjust the brightness of the screen according to the light of the environment where the mobile terminal is located. For example, in a well-lit area, the screen may be bright, whereas in a dark area, the screen may be dark (depending on the brightness setting of the screen), which both protects the eyes and saves power.
Among them, the pressure sensor may detect a pressure generated by pressing on the electronic device 100. That is, the pressure sensor detects pressure generated by contact or pressing between the user and the mobile terminal, for example, contact or pressing between the user's ear and the mobile terminal. Thus, the pressure sensor may be used to determine whether contact or pressure has occurred between the user and the electronic device 100, as well as the magnitude of the pressure.
Referring to fig. 1 and 2 again, in particular, in the embodiment shown in fig. 1 and 2, the light sensor and the pressure sensor are disposed adjacent to the display panel 111. The light sensor may turn off the display output by the processor 102 when an object is near the main display 120, for example, when the electronic body portion 10 is moved to the ear.
As one of the motion sensors, the acceleration sensor 114F can detect the magnitude of acceleration in various directions (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used for applications (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping) and the like for recognizing the attitude of the electronic device 100. In addition, the electronic body 10 may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer and a thermometer, which are not described herein,
in this embodiment, the input module 118 may include the touch screen 109 disposed on the main display 120, and the touch screen 109 may collect touch operations of the user (for example, operations of the user on or near the touch screen 109 using any suitable object or accessory such as a finger, a stylus, etc.) and drive the corresponding connection device according to a preset program. Optionally, the touch screen 109 may include a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 102, and can receive and execute commands sent by the processor 102. In addition, the touch detection function of the touch screen 109 may be implemented by various types, such as resistive, capacitive, infrared, and surface acoustic wave.
The main display 120 is used to display information input by a user, information provided to the user, and various graphic user interfaces of the electronic body section 10, which may be composed of graphics, text, icons, numbers, video, and any combination thereof, and in one example, the touch screen 109 may be provided on the display panel 111 so as to be integrated with the display panel 111.
The power module 122 is used to provide power supply to the processor 102 and other components. Specifically, the power module 122 may include a power management system, one or more power sources (e.g., batteries or ac power), a charging circuit, a power failure detection circuit, an inverter, a power status indicator light, and any other components associated with the generation, management, and distribution of power within the electronic body portion 10 or the primary display 120.
The electronic device 100 further comprises a locator 119, the locator 119 being configured to determine an actual location of the electronic device 100. In this embodiment, the locator 119 uses a positioning service to locate the electronic device 100, and the positioning service is understood to be a technology or a service for obtaining the position information (e.g. longitude and latitude coordinates) of the electronic device 100 by a specific positioning technology and marking the position of the located object on the electronic map.
The electronic device 100 also includes a camera 132, and the camera 132 may be any device capable of capturing an image of an object within its field of view. The camera 132 may include an image sensor. The image sensor may be a CMOS (Complementary Metal Oxide Semiconductor) sensor, or a CCD (Charge-coupled Device) sensor, or the like. The camera 132 may communicate with the processor 102 and send image data to the processor 102. The camera 132 may also receive command signals from the processor 102 to set parameters for capturing images. Exemplary parameters for capturing the image may include, among others, parameters for setting exposure time, aperture, image resolution/size, field of view (e.g., zoom in and out), and/or color space of the image (e.g., color or black and white), and/or for performing other types of known functions of the camera. The processor 102 may acquire the image captured by the camera 132, and may process the image, for example, to extract features in the image or perform image processing on the original image to eliminate the effect of speckle-like patterns formed by other objects. The camera 132 and the processor 102 may be connected via a network connection, bus, or other type of data link (e.g., hard wire, wireless (e.g., Bluetooth (TM)), or other connection known in the art).
To sum up, according to the sound production control method, the sound production control device, the electronic device, and the computer readable medium provided in the embodiments of the present application, when the electronic device plays a first audio through vibration of the screen, a play request of a second audio is obtained, and based on the play request, a first exciter and a second exciter are determined, the first exciter is controlled to drive vibration of a vibration region of the screen corresponding to the first exciter so as to continue playing the first audio, and the second exciter is controlled to drive vibration of a vibration region of the screen corresponding to the second exciter so as to play the second audio. Therefore, the sound can be generated in a vibration mode of the screen or the rear cover, the sound hole can be prevented from being formed in the electronic device, the second exciter can be controlled to play the second audio when the first exciter plays the first audio, the screen can be enabled to be divided into different areas, and the user experience degree is improved.
It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments. In addition, functional units in the embodiments of the present application may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present application, and that variations, modifications, substitutions and alterations may be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not necessarily depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (8)

1. The sound production control method is applied to an electronic device, wherein the electronic device comprises a screen and a plurality of exciters for driving the screen to produce sound, and the exciters correspond to different positions of the screen; the method comprises the following steps:
when the electronic device plays a first audio through the vibration of the screen, acquiring a playing request of a second audio;
determining a first actuator for playing the first audio and a second actuator for playing the second audio;
acquiring a first playing volume of the first audio currently played;
determining a target application program corresponding to the second audio;
determining a target audio type of the target application;
determining the reduction amplitude of the first playing volume corresponding to the target audio type according to the preset corresponding relation between the audio type and the reduction amplitude;
reducing the first playing volume according to the reduction amplitude, wherein the reduced first playing volume is a second playing volume;
controlling the first exciter to drive the vibration area of the screen corresponding to the first exciter to vibrate according to the second playing volume so as to continue playing the first audio, so as to reduce the playing volume of the first audio;
and controlling the second exciter to drive the vibration area of the screen corresponding to the second exciter to vibrate so as to play the second audio.
2. The method of claim 1, wherein determining a first actuator for playing the first audio and a second actuator for playing the second audio comprises:
a first exciter is determined in an exciter corresponding to a bottom region of the screen, and a second exciter is determined in an exciter corresponding to a top region of the screen.
3. The method of claim 2, wherein determining a first actuator in an actuator corresponding to a bottom region of the screen and a second actuator in an actuator corresponding to a top region of the screen comprises:
taking an exciter corresponding to the bottom area of the screen as a first alternative exciter;
taking an exciter corresponding to the top area of the screen as a second alternative exciter;
acquiring a use record corresponding to each exciter in the first alternative exciter and the second alternative exciter in a preset time period;
using an exciter, of the first alternative exciters, with a record meeting a first preset standard as a first exciter;
and using the exciter which is recorded to meet a second preset standard in the second alternative exciter as the second exciter.
4. The method according to claim 1, wherein the obtaining a request for playing a second audio when the electronic device plays a first audio through vibration of the screen comprises:
when the electronic device plays a first audio through the vibration of the screen, detecting whether a call request is received;
and if so, acquiring an audio playing request corresponding to the call request as a playing request of a second audio.
5. The sound production control device is applied to an electronic device, wherein the electronic device comprises a screen and a plurality of exciters used for driving the screen to produce sound, and the exciters correspond to different positions of the screen; the sound production control device includes:
the electronic device comprises an acquisition unit, a display unit and a control unit, wherein the acquisition unit is used for acquiring a playing request of a second audio when the electronic device plays a first audio through the vibration of the screen;
a determination unit for determining a first exciter for playing the first audio and a second exciter for playing the second audio;
the first control unit is used for acquiring a first playing volume of the first audio currently played; determining a target application program corresponding to the second audio; determining a target audio type of the target application; determining the reduction amplitude of the first playing volume corresponding to the target audio type according to the preset corresponding relation between the audio type and the reduction amplitude; reducing the first playing volume according to the reduction amplitude, wherein the reduced first playing volume is a second playing volume; controlling the first exciter to drive the vibration area of the screen corresponding to the first exciter to vibrate according to the second playing volume so as to continue playing the first audio, so as to reduce the playing volume of the first audio;
and the second control unit is used for controlling the second exciter to drive the vibration area of the screen corresponding to the second exciter to vibrate so as to play the second audio.
6. An electronic device, comprising a screen, a plurality of actuators for driving the screen to sound, wherein the plurality of actuators correspond to different positions of the screen; the electronic device further includes:
the processor is used for acquiring a playing request of a second audio when the electronic device plays a first audio through the vibration of the screen, and determining a first exciter used for playing the first audio and a second exciter used for playing the second audio; acquiring a first playing volume of the first audio currently played; determining a target application program corresponding to the second audio; determining a target audio type of the target application; determining the reduction amplitude of the first playing volume corresponding to the target audio type according to the preset corresponding relation between the audio type and the reduction amplitude; reducing the first playing volume according to the reduction amplitude, wherein the reduced first playing volume is a second playing volume;
and the driving circuit is used for controlling the first exciter to drive the vibration area of the screen corresponding to the first exciter to vibrate according to the second playing volume so as to continue playing the first audio, so as to reduce the playing volume of the first audio, and controlling the second exciter to drive the vibration area of the screen corresponding to the second exciter to vibrate so as to play the second audio.
7. An electronic device, comprising a screen, a plurality of actuators for driving the screen to sound, wherein the plurality of actuators correspond to different positions of the screen; further comprising a memory and a processor, the memory coupled with the processor; the memory stores instructions that, when executed by the processor, perform the method of any of claims 1-4.
8. A computer-readable medium, in which a program code is stored, the program code being called by a processor to execute the method of any of claims 1-4.
CN201810814026.8A 2018-07-23 2018-07-23 Sound production control method and device, electronic device and computer readable medium Active CN109062535B (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

Publications (2)

Publication Number Publication Date
CN109062535A CN109062535A (en) 2018-12-21
CN109062535B true CN109062535B (en) 2021-07-13

Family

ID=64836115

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810814026.8A Active CN109062535B (en) 2018-07-23 2018-07-23 Sound production control method and device, electronic device and computer readable medium

Country Status (1)

Country Link
CN (1) CN109062535B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110290236B (en) * 2019-04-23 2021-06-25 维沃移动通信有限公司 Terminal device and vibration control method
CN111866226B (en) * 2019-04-26 2021-10-08 北京小米移动软件有限公司 Terminal and sound production method
CN110312032B (en) * 2019-06-17 2021-04-02 Oppo广东移动通信有限公司 Audio playing method and device, electronic equipment and computer readable storage medium
CN110553714B (en) * 2019-08-31 2022-01-14 深圳市广宁股份有限公司 Intelligent vibration augmented reality testing method and related product
CN111176606B (en) * 2019-12-02 2021-04-02 维沃移动通信有限公司 Electronic equipment and volume adjusting method thereof
CN111263003B (en) * 2020-01-21 2021-07-13 Oppo广东移动通信有限公司 Signal control method, device, circuit, storage medium and electronic equipment
CN115671712B (en) * 2021-07-27 2023-09-22 腾讯科技(深圳)有限公司 Vibration control method, device, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110086501A (en) * 2010-01-22 2011-07-28 전자부품연구원 Method for providing ui according to single touch pressure and electronic device using the same
CN106817660A (en) * 2017-03-31 2017-06-09 奇酷互联网络科技(深圳)有限公司 A kind of sound-producing device, sounding control method and portable electric appts
CN107071174A (en) * 2017-04-14 2017-08-18 维沃移动通信有限公司 A kind of method of speech processing and mobile terminal
CN206993387U (en) * 2016-11-30 2018-02-09 乐金显示有限公司 Panel vibration type sounding display device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102902351A (en) * 2011-07-25 2013-01-30 富泰华工业(深圳)有限公司 Touch electronic device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110086501A (en) * 2010-01-22 2011-07-28 전자부품연구원 Method for providing ui according to single touch pressure and electronic device using the same
CN206993387U (en) * 2016-11-30 2018-02-09 乐金显示有限公司 Panel vibration type sounding display device
CN106817660A (en) * 2017-03-31 2017-06-09 奇酷互联网络科技(深圳)有限公司 A kind of sound-producing device, sounding control method and portable electric appts
CN107071174A (en) * 2017-04-14 2017-08-18 维沃移动通信有限公司 A kind of method of speech processing and mobile terminal

Also Published As

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

Similar Documents

Publication Publication Date Title
CN109062535B (en) Sound production control method and device, electronic device and computer readable medium
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
CN109032558B (en) Sound production control method and device, electronic device and computer readable medium
CN108833638B (en) Sound production method, sound production device, electronic device and storage medium
CN108881568B (en) Method and device for sounding display screen, electronic device and storage medium
CN108646971B (en) Screen sounding control method and device and electronic device
WO2018045536A1 (en) Sound signal processing method, terminal, and headphones
CN108810198B (en) Sound production control method and device, electronic device and computer readable medium
CN110166890B (en) Audio playing and collecting method and device and storage medium
CN110764730A (en) Method and device for playing audio data
CN109032556B (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
CN109086023B (en) Sound production control method and device, electronic equipment and storage medium
CN108958632B (en) Sound production control method and device, electronic equipment and storage medium
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
CN108712706B (en) Sound production method, sound production device, electronic device and storage medium
CN109085985B (en) Sound production control method, sound production control device, electronic device, and storage medium
CN108810764B (en) Sound production control method and device and electronic device
CN109189360B (en) Screen sounding control method and device and electronic device
CN109144249B (en) Screen sounding method and device, electronic device and storage medium
CN108900688B (en) Sound production control method and device, electronic device and computer readable medium
CN109062533B (en) Sound production control method, sound production control device, electronic device, and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant