CN113347307B - Method for suppressing leakage, related device and computer readable storage medium - Google Patents
Method for suppressing leakage, related device and computer readable storage medium Download PDFInfo
- Publication number
- CN113347307B CN113347307B CN202110449833.6A CN202110449833A CN113347307B CN 113347307 B CN113347307 B CN 113347307B CN 202110449833 A CN202110449833 A CN 202110449833A CN 113347307 B CN113347307 B CN 113347307B
- Authority
- CN
- China
- Prior art keywords
- leakage
- sound
- listening position
- mobile terminal
- loudspeaker
- 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/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/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/02—Constructional features of telephone sets
- H04M1/19—Arrangements of transmitters, receivers, or complete sets to prevent eavesdropping, to attenuate local noise or to prevent undesired transmission; Mouthpieces or receivers specially adapted therefor
-
- 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
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Environmental & Geological Engineering (AREA)
- Physics & Mathematics (AREA)
- Acoustics & Sound (AREA)
- Soundproofing, Sound Blocking, And Sound Damping (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a method for inhibiting sound leakage, which comprises the following steps: s1, communicating through the loudspeaker in a receiver mode, or playing audio through the loudspeaker; s2, acquiring feedback information corresponding to the listening position through the position detection unit; s3, calculating according to the feedback information and a preset position algorithm, and calculating the listening position; s4, calculating the listening positions through a preset leakage suppression parameter algorithm, and calculating leakage suppression control parameters, wherein each listening position corresponds to a group of leakage suppression control parameters; s5, carrying out attenuation processing on the audio signal stream by the leakage suppression control parameters corresponding to the listening position. The invention also discloses a system for suppressing the sound leakage, a mobile terminal and a computer readable storage medium. Compared with the related art, the technical scheme of the invention effectively inhibits sound leakage and improves privacy.
Description
[ field of technology ]
The present invention relates to the field of electroacoustic conversion technologies, and in particular, to a method for suppressing leakage, a system for suppressing leakage, a mobile terminal, and a computer readable storage medium.
[ background Art ]
The sounding device is widely applied to portable mobile electronic products, such as mobile phones, and can convert audio signals into sound for playing, and the sounding device is large in loudness and good in low-frequency sound effect. Existing handsets have a dedicated earpiece on the top, typically located in the middle area of the handset top. In many models today, the earpiece doubles as a speaker at the same time
In the related art, a multi-speaker scheme is realized in the mobile phone, two speakers which are mutually spaced are arranged at the top of the mobile phone, namely, two speakers are respectively arranged in two side areas of the top of the mobile phone, and the design of the two speakers can bring better sound space sense, so that not only is a sound field broader in a horizontal screen mode, but also a stereo effect in a vertical screen mode can be realized, and further, better user experience can be brought in new times of increasing popularity of short videos nowadays. In addition, because the sizes of the two loudspeakers are smaller, the two loudspeakers have certain performance and do not occupy excessive internal space of the mobile phone. On the basis of the scheme of two loudspeakers, the mobile phone is improved without additionally adding earphone devices, and the function of effectively realizing the earphone is realized, and the scheme is as follows: a strip-shaped narrow slit is formed in the front of the top of the mobile phone, so that sound can come out from a narrow slit area with a longer front. When a user holds a call, the user can hear the sound no matter the user places the ear at the middle position of the top of the mobile phone or at the positions of the two sides of the middle, so that the function of the earphone is effectively realized.
However, the related art scheme always sounds with two speakers, and only a partial area is contacted by the ears, that is, a part of sound does not enter the ears, but "leaks" into the air, and the part of sound leaked into the air may be heard by other people, which may cause privacy leakage risk.
Accordingly, there is a need to provide a new method, system and apparatus that solves the above-mentioned technical problems.
[ invention ]
An object of the present invention is to overcome the above-described technical problems, and to provide a sound leakage suppression method, a sound leakage suppression system, a mobile terminal, and a computer-readable storage medium that effectively suppress sound leakage and improve privacy.
In order to achieve the above object, the present invention provides a method of suppressing leakage sound, which is applied to a mobile terminal including a speaker and a position detecting unit, the method comprising the steps of:
s1, communicating through the loudspeaker in a receiver mode, or playing audio through the loudspeaker;
s2, acquiring feedback information corresponding to the listening position through the position detection unit;
s3, calculating according to the feedback information and a preset position algorithm, and calculating the listening position;
s4, calculating the listening positions through a preset leakage suppression parameter algorithm, and calculating leakage suppression control parameters, wherein each listening position corresponds to a group of leakage suppression control parameters;
s5, carrying out attenuation processing on the audio signal stream by the leakage suppression control parameters corresponding to the listening position; the attenuation process is used for attenuating the audio signal far away from the listening position so as to reduce sound leakage; the audio signal stream is used for driving the loudspeaker to conduct conversation or is used for driving the loudspeaker to play audio.
Preferably, the position detection unit is a capacitive touch screen, and the feedback information is that the capacitive touch screen touches so that the capacitive touch screen obtains an electric signal corresponding to a touch position in real time.
Preferably, in the step S3, the location algorithm is a transfer function corresponding to the touch location and the listening location formed by modeling according to actual parameter elements of the mobile terminal, where the actual parameter elements include a screen size of the capacitive touch screen, a shape of the whole mobile terminal, a number of speakers, and a location where each speaker is disposed in the mobile terminal.
Preferably, in the step S4, the leakage suppression parameter algorithm determines a set of leakage suppression control parameters according to each listening position in a manner of objective actual measurement of a whole machine of the mobile terminal and a manner of subjective experience of sound effects, and forms a mapping table between each listening position and a corresponding set of leakage suppression control parameters.
Preferably, in the step S5, the attenuation process is one or more of overall gain reduction of the audio signal in the audio signal stream, attenuation of the audio signal in a part of the frequency band in the audio signal stream, and dynamic compression.
Preferably, the speaker comprises a plurality of speakers, and the plurality of speakers are arranged at intervals; the listening position is close to one of the speakers, and in the step S5, the attenuation process is to perform overall gain reduction on the audio signal input to the other speakers.
The invention also provides a sound leakage suppression system which is arranged on the mobile terminal, wherein the sound leakage suppression system applies the sound leakage suppression method according to any one of the above;
the system for suppressing leakage includes:
the loudspeaker is used for realizing communication and playing audio in the earphone mode;
the position detection unit is used for acquiring feedback information corresponding to the listening position;
the listening position calculation module is used for calculating according to the feedback information and a preset position algorithm, and calculating the listening position;
the sound leakage suppression parameter calculation module is used for calculating the sound leakage positions through a preset sound leakage suppression parameter algorithm and calculating sound leakage suppression control parameters, and each sound leakage position corresponds to a group of sound leakage suppression control parameters;
a leakage suppression module, configured to attenuate the leakage suppression control parameter corresponding to the listening position to an audio signal stream, where the attenuation process is configured to attenuate the audio signal far from the listening position to reduce sound leakage; the audio signal stream is used for driving the loudspeaker to conduct communication or is used for driving the loudspeaker to play audio;
the conventional signal processing module is used for receiving an audio input signal in the mobile terminal and processing the audio input signal so as to enable the loudspeaker to play audio;
the position detection unit is electrically connected with the listening position calculation module, the listening position calculation module is electrically connected with the leakage sound suppression parameter calculation module, and the leakage sound suppression module is electrically connected with the loudspeaker, the leakage sound suppression parameter calculation module and the conventional signal processing module respectively.
The invention further provides a mobile terminal, and the mobile terminal is provided with the system for suppressing the sound leakage.
The invention also provides a mobile terminal comprising a processor and a memory, the processor being arranged to read a program in the memory, to perform the steps of the method of suppressing a leakage as described in any one of the above.
The present invention also provides a computer-readable storage medium storing a computer program comprising program instructions which, when executed by a processor, implement the steps in the method of suppressing a sound leakage as described in any one of the above.
Compared with the prior art, the method, the system, the mobile terminal and the computer readable storage medium for suppressing the sound leakage are realized by the steps of the method for suppressing the sound leakage, and the method for suppressing the sound leakage comprises the following steps: s1, communicating through the loudspeaker in a receiver mode, or playing audio through the loudspeaker; s2, acquiring feedback information corresponding to the listening position through the position detection unit; s3, calculating according to the feedback information and a preset position algorithm, and calculating the listening position; s4, calculating the listening positions through a preset leakage suppression parameter algorithm, and calculating leakage suppression control parameters, wherein each listening position corresponds to a group of leakage suppression control parameters; s5, carrying out attenuation processing on the audio signal stream by the leakage suppression control parameters corresponding to the listening position. According to the method, according to the listening position of the user, the leakage suppression control parameter is calculated, so that the audio signal stream is attenuated, and the optimal balance is achieved between the condition that the user hears enough loudness and reduces leakage; thereby effectively suppressing sound leakage and improving privacy.
[ description of the drawings ]
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed in the description of the embodiments will be briefly described below, it will be apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art, wherein,
FIG. 1 is a flow chart of a method for suppressing leakage according to the present invention;
fig. 2 is a schematic diagram of an embodiment of an application scenario of the method for suppressing leakage according to the present invention;
FIG. 3 is a waveform diagram of amplitude and frequency of an audio signal stream before the attenuation process is not started in an application scenario of the method for suppressing leakage according to the present invention;
FIG. 4 is a waveform diagram showing the amplitude and frequency of an audio signal stream with attenuation activated according to an embodiment of the method for suppressing leakage;
fig. 5 is a schematic diagram of a second embodiment of an application scenario of the method for suppressing leakage according to the present invention;
FIG. 6 is a waveform diagram of amplitude and frequency of an audio signal stream with attenuation activated according to a second embodiment of a method for suppressing leakage according to the present invention;
fig. 7 is a schematic diagram of a third embodiment of an application scenario of the method for suppressing leakage according to the present invention;
FIG. 8 is a waveform diagram of amplitude and frequency of an audio signal flow of a left speaker with attenuation activated according to a second embodiment of a method for suppressing leakage;
fig. 9 is an amplitude-frequency waveform diagram of an audio signal flow of a right speaker having activated an attenuation process according to a second embodiment of the method for suppressing a sound leakage of the present invention;
FIG. 10 is a schematic diagram of a system for suppressing leakage according to the present invention;
fig. 11 is a schematic structural diagram of a mobile terminal according to the present invention.
[ detailed description ] of the invention
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1, the present invention provides a method for suppressing leakage.
The method for suppressing the sound leakage is applied to the mobile terminal. The mobile terminal includes a speaker and a position detection unit.
In this embodiment, the mobile terminal is a mobile phone.
The method for suppressing the sound leakage comprises the following steps:
s1, in the receiver mode, the communication is carried out through the loudspeaker, or the audio is played through the loudspeaker.
S2, acquiring feedback information corresponding to the listening position through the position detection unit.
In this embodiment, the position detecting unit is a capacitive touch screen. The feedback information is that the capacitive touch screen is touched so that the capacitive touch screen obtains an electric signal corresponding to the touch position in real time. The capacitive touch screen is touched through the face or the ears of the user.
And S3, calculating according to the feedback information and a preset position algorithm, and calculating the listening position of the user.
Specifically, in the step S3, a measured value of the touch position is obtained by the position detection unit, and then the listening position is calculated by the position algorithm according to the measured value.
In this embodiment, the capacitive touch screen provides the feedback information required for calculating the listening position in real time, and the mobile phone updates and determines the listening position in real time according to the feedback information. The setting enables the method for suppressing the leakage of sound to be dynamically adjusted and updated, so that the effects of suppressing the leakage of sound and improving the privacy are good.
In the step S3, the location algorithm is a transfer function corresponding to the touch location and the listening location one by one, which is formed by modeling according to actual parameter elements of the mobile terminal. Wherein the listening position generally refers to the position of the ear, i.e. the information of the touch of the user obtained by the feedback information is used to obtain the position of the ear of the user.
The actual parameter elements comprise the screen size of the capacitive touch screen, the overall shape of the mobile terminal, the number of the speakers and the position of each speaker arranged on the mobile terminal. The whole machine comprises a plate straightening machine, a folding screen, a bang screen and a hole digging screen.
And S4, calculating the listening positions through a preset leakage suppression parameter algorithm, and calculating leakage suppression control parameters, wherein each listening position corresponds to a group of leakage suppression control parameters.
The leakage suppression control parameters include a plurality of groups, each group of leakage suppression control parameters can control the audio performance of the loudspeaker, the leakage suppression control parameters include a parameter for controlling the audio amplitude and a parameter for controlling the audio frequency, and of course, the leakage suppression control parameters are not limited to the parameters, and other parameters for controlling the acoustic index of the audio can be selected, and the leakage suppression control parameters are specifically selected according to the performance requirement of the product.
In this embodiment, the leakage suppression parameter algorithm determines a set of leakage suppression control parameters according to each listening position in a manner of objective actual measurement of a complete machine of the mobile terminal and a manner of subjective experience of sound effects, and forms a mapping table between each listening position and a corresponding set of leakage suppression control parameters. By adopting the mode of the mapping table to calculate, the method has the advantages of high calculation speed, less occupied calculation resources and high efficiency. And the sound effect of each listening position is evaluated in advance, so that the user experience is good.
S5, carrying out attenuation processing on the audio signal stream by the leakage suppression control parameters corresponding to the listening position. The audio signal stream is used for driving the loudspeaker to conduct communication or used for driving the loudspeaker to play audio.
The attenuation process is for attenuating the audio signal away from the listening position to reduce sound leakage. Specifically, the attenuation process is one or more of overall gain reduction of the audio signal in the audio signal stream, attenuation of the audio signal in a part of the frequency band in the audio signal stream, and dynamic compression.
The loudspeaker comprises a plurality of loudspeakers, and the loudspeakers are arranged at intervals. In this embodiment, the speakers include 2 speakers, and 2 speakers are arranged at intervals. Namely, the two side areas at the top of the mobile phone are respectively provided with one loudspeaker. In the step S5, the attenuation process is to reduce the gain of the audio signal input to the other speakers, so as to effectively suppress sound leakage and improve privacy.
The following is described by means of specific three examples:
example one
Please refer to fig. 2 to 4.
The method for suppressing the sound leakage is applied to the mobile terminal. The mobile terminal is a mobile phone 200, the mobile phone 200 includes a left speaker A1 and a right speaker A2, the left speaker A1 and the right speaker A2 are all located at the same side of the mobile phone 200 at intervals, i.e. two left speaker A1 and one right speaker A2 are respectively placed in two side areas at the top of the mobile phone 200. The listening position in the first embodiment is T1, where the listening position T1 is actually the position of the ear of the user, and the listening position T1 in the first embodiment is located at the side close to the left speaker A1, that is, the listening position T1 is far from the right speaker A2.
The amplitude frequency waveforms of the audio signal streams of the left speaker A1 and the right speaker A2 before the attenuation process is not started are both W1, that is, are both 0db before the attenuation process is not started.
The amplitude-frequency waveform of the audio signal stream of the left speaker A1, which has been subjected to the attenuation process, of the present embodiment is W2, that is, 0db, which indicates that the audio signal stream of the left speaker A1 is not subjected to the attenuation process.
The amplitude frequency waveform of the audio signal stream of the right speaker A2, which has been activated with the attenuation process in this embodiment, is W2, that is, -10db, which indicates that the audio signal stream of the right speaker A2 has been subjected to the attenuation process.
In the first embodiment, the audio signal flow of the right speaker A2 is attenuated, so that the volume of one side far away from the listening position T1 is reduced, and the optimal balance is achieved between ensuring that the user hears enough loudness and reducing leakage; thereby effectively suppressing sound leakage and improving privacy.
Example two
Please refer to fig. 5 to 6.
The second embodiment is basically the same as the first embodiment, and the difference between the second embodiment and the first embodiment is that: the listening position T2 in the second embodiment is located on the side close to the right speaker A2, i.e., the listening position T1 is far from the left speaker A1.
The amplitude frequency waveforms of the audio signal streams of the left speaker A1 and the right speaker A2 before the attenuation process is not started are both W1, that is, are both 0db before the attenuation process is not started.
The amplitude frequency waveform of the audio signal stream of the right speaker A2, which has been activated with the attenuation process in the second embodiment, is W4, that is, 0db, which indicates that the audio signal stream of the right speaker A2 is not subjected to the attenuation process.
The amplitude frequency waveform of the audio signal stream of the left speaker A1, which has been activated with the attenuation process in the second embodiment, is W5, that is, -10db, which indicates that the audio signal stream of the left speaker A1 has been subjected to the attenuation process.
In the embodiment, the audio signal flow of the left loudspeaker A1 is attenuated, so that the volume of one side far away from the listening position T2 is weakened, and the optimal balance is achieved between ensuring that a user hears enough loudness and reducing leakage; thereby effectively suppressing sound leakage and improving privacy.
Example III
Please refer to fig. 7 to 9.
The third embodiment is basically the same as the first embodiment, and differs from the first embodiment in that: the listening position T3 in the third embodiment is located in the middle between the left speaker A1 and the right speaker A2, that is, the distance between the listening position T3 and the left speaker A1 is equal to the distance between the listening position T3 and the right speaker A2.
The amplitude frequency waveforms of the audio signal streams of the left speaker A1 and the right speaker A2 before the attenuation process is not started are both W1, that is, are both 0db before the attenuation process is not started.
The amplitude frequency waveform of the audio signal stream of the left speaker A1, which has been started with the attenuation process in the third embodiment, is W6, that is, -5db, which indicates that the audio signal stream of the left speaker A1 has been subjected to the attenuation process.
The amplitude frequency waveform of the audio signal stream of the right speaker A2, which has been started with the attenuation process in the third embodiment, is W7, that is, -5db, which indicates that the audio signal stream of the right speaker A2 has been subjected to the attenuation process.
In the embodiment, the audio signal flow of the left loudspeaker A1 is subjected to attenuation processing, the audio signal flow of the right loudspeaker A2 is subjected to attenuation processing, and the attenuation amplitudes are all-5 db. The arrangement ensures that the volume of the listening position T3 can ensure the loudness, and the sound loudness of the position far away from the listening position T3 is reduced, so that the optimal balance is achieved between ensuring that a user hears enough loudness and reducing leakage; thereby effectively suppressing sound leakage and improving privacy.
The invention also provides a system 100 for suppressing sound leakage and a mobile terminal.
The leakage suppression system 100 is installed in a mobile terminal, and the leakage suppression system 100 applies the leakage suppression method. I.e. the mobile terminal is equipped with the leakage suppression system 100.
Referring to fig. 10, specifically, the system 100 for suppressing leakage includes a speaker 1, a position detecting unit 2, a listening position calculating module 3, a leakage suppression parameter calculating module 4, a leakage suppression module 5, and a conventional signal processing module 6.
The loudspeaker 1 is used for realizing talking and playing audio in a receiver mode.
The position detection unit 2 is configured to obtain feedback information corresponding to the listening position.
The listening position calculating module 3 is configured to calculate according to the feedback information and a preset position algorithm, and calculate the listening position.
The leakage suppression parameter calculation module 4 is configured to calculate the listening positions by using a preset leakage suppression parameter algorithm, and calculate leakage suppression control parameters, where each listening position corresponds to a set of leakage suppression control parameters.
The leakage suppression module 5 is configured to attenuate the audio signal stream by using the leakage suppression control parameter corresponding to the listening position. The attenuation process is for attenuating the audio signal away from the listening position to reduce sound leakage. The audio signal stream is used for driving the loudspeaker to conduct conversation or is used for driving the loudspeaker to play audio.
The conventional signal processing module 6 is configured to receive an audio input signal inside the mobile terminal, and process the audio input signal to make the speaker 1 play audio.
The connection relation of the system 100 for suppressing leakage is:
the position detection unit 2 is electrically connected to the listening position calculation module 3. The listening position calculation module 3 is electrically connected with the leakage sound suppression parameter calculation module 4. The leakage sound suppression module 5 is electrically connected with the loudspeaker 1, the leakage sound suppression parameter calculation module 4 and the conventional signal processing module 6, respectively.
The sound leakage suppression system 100 further comprises an amplifier 7, which amplifier 7 is arranged to drive the loudspeaker 1.
In this embodiment, the speaker 1 includes a first speaker 11 and a second speaker 12. The amplifier 7 comprises a first amplifier 71 and a second amplifier 72. Wherein the first speaker 11 is electrically connected to the first amplifier 71. The second speaker 12 is electrically connected to the second amplifier 72. The leakage suppression module 5 is electrically connected to the first amplifier 71 and the second amplifier 72, respectively.
It should be noted that, the speaker 1, the position detecting unit 2, the listening position calculating module 3, the leakage suppression parameter calculating module 4, the leakage suppression module 5, the conventional signal processing module 6, and the amplifier 7 are all modules or components commonly used in the art, and specific performance indexes and selection thereof need to be selected according to actual design requirements of products, and detailed descriptions thereof are omitted herein.
The invention also provides a mobile terminal 1000. Referring to fig. 11, fig. 11 is a schematic diagram of a mobile terminal 1000 according to the present invention.
The mobile terminal 1000 comprises a processor 1001, a memory 1002, a network interface 1003, and a computer program stored in the memory 1002 and executable on the processor 1001, wherein the processor 1001 is configured to read the program in the memory 1002, and the steps in the method for suppressing leakage provided by the embodiment are implemented when the processor 1001 executes the computer program. I.e. the processor 1001 performs the steps in the method of suppressing leakage.
Specifically, the processor 1001 is configured to perform the following steps:
s1, in the receiver mode, the communication is carried out through the loudspeaker, or the audio is played through the loudspeaker.
S2, acquiring feedback information corresponding to the listening position through the position detection unit.
And S3, calculating according to the feedback information and a preset position algorithm, and calculating the listening position.
And S4, calculating the listening positions through a preset leakage suppression parameter algorithm, and calculating leakage suppression control parameters, wherein each listening position corresponds to a group of leakage suppression control parameters.
S5, carrying out attenuation processing on the audio signal stream by the leakage suppression control parameters corresponding to the listening position.
The mobile terminal 1000 provided by the embodiment of the present invention can implement each implementation manner in the embodiment of the method for suppressing the sound leakage, and the corresponding beneficial effects, so that the repetition is avoided, and the description is omitted here.
It should be noted that only 1001-1003 having components are shown in the figures, but it should be understood that not all of the illustrated components are required to be implemented and that more or fewer components may be implemented instead. It will be appreciated by those skilled in the art that the mobile terminal 1000 herein is a device capable of automatically performing numerical calculation and/or information processing according to a predetermined or stored instruction, and its hardware includes, but is not limited to, a microprocessor, an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a Programmable gate array (FPGA), a digital processor (Digital Signal Processor, DSP), an embedded device, etc.
The memory 1002 includes at least one type of readable storage medium including flash memory, hard disk, multimedia card, card memory (e.g., SD or DX memory, etc.), random Access Memory (RAM), static Random Access Memory (SRAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), programmable Read Only Memory (PROM), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the storage 1002 may be an internal storage unit of the mobile terminal 1000, such as a hard disk or a memory of the mobile terminal 1000. In other embodiments, the memory 1002 may also be an external storage device of the mobile terminal 1000, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are provided on the mobile terminal 1000. Of course, the memory 1002 may also include both internal storage elements and external storage devices for the mobile terminal 1000. In this embodiment, the memory 1002 is generally used for storing an operating system and various application software installed in the mobile terminal 1000, for example, a program code of a method for suppressing leakage of sound of the mobile terminal 1000. In addition, the memory 1002 can be used for temporarily storing various types of data which have been output or are to be output.
The processor 1001 may be a central processing unit (Central Processing Unit, CPU), controller, microcontroller, microprocessor, or other data processing chip in some embodiments. The processor 1001 is generally used to control the overall operation of the mobile terminal 1000. In this embodiment, the processor 1001 is configured to execute a program code stored in the memory 1002 or process data, for example, a program code for executing a method for suppressing a leak in the mobile terminal 1000.
The network interface 1003 may include a wireless network interface or a wired network interface, and the network interface 1003 is typically used to establish communications connections between the mobile terminal 1000 and other electronic devices.
The present invention further provides a computer readable storage medium, where a computer program is stored, where the computer program includes program instructions, where the program instructions, when executed by the processor 1001, implement steps in the method for suppressing missing sounds, and achieve the same technical effects, and in order to avoid repetition, are not described herein.
Those skilled in the art will appreciate that the whole or a part of the process of implementing the method for suppressing leakage of voice in the mobile terminal 100 according to the embodiments may be implemented by a computer program for instructing relevant hardware, and the program may be stored in a computer readable storage medium, and the program may include the process of embodiments of the methods when executed. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM) or the like.
The present embodiment mentioned in the examples of the present invention is for convenience of description. The foregoing disclosure is illustrative of the present invention and is not to be construed as limiting the scope of the invention, which is defined by the appended claims.
Compared with the prior art, the method, the system, the mobile terminal and the computer readable storage medium for suppressing the sound leakage are realized by the steps of the method for suppressing the sound leakage, and the method for suppressing the sound leakage comprises the following steps: s1, communicating through the loudspeaker in a receiver mode, or playing audio through the loudspeaker; s2, acquiring feedback information corresponding to the listening position through the position detection unit; s3, calculating according to the feedback information and a preset position algorithm, and calculating the listening position; s4, calculating the listening positions through a preset leakage suppression parameter algorithm, and calculating leakage suppression control parameters, wherein each listening position corresponds to a group of leakage suppression control parameters; s5, carrying out attenuation processing on the audio signal stream by the leakage suppression control parameters corresponding to the listening position. According to the method, according to the listening position of the user, the leakage suppression control parameter is calculated, so that the audio signal stream is attenuated, and the optimal balance is achieved between the condition that the user hears enough loudness and reduces leakage; thereby effectively suppressing sound leakage and improving privacy.
The foregoing description is only illustrative of the present invention and is not intended to limit the scope of the invention, and all equivalent structures or equivalent processes or direct or indirect application in other related technical fields are included in the scope of the present invention.
Claims (8)
1. A method for suppressing a sound leakage applied to a mobile terminal comprising a speaker and a position detection unit, characterized in that the method comprises the steps of:
s1, communicating through the loudspeaker in a receiver mode, or playing audio through the loudspeaker;
s2, acquiring feedback information corresponding to a listening position through the position detection unit, wherein the position detection unit is a capacitive touch screen, and the feedback information is an electric signal corresponding to the touch position obtained by the capacitive touch screen in real time when the capacitive touch screen is touched;
s3, calculating according to the feedback information and a preset position algorithm, and calculating the listening position, wherein the position algorithm is a transfer function which is formed by modeling according to actual parameter elements of the mobile terminal and corresponds to the listening position one by one, and the actual parameter elements comprise the screen size of the capacitive touch screen, the overall shape of the mobile terminal, the number of speakers and the position of each speaker arranged on the mobile terminal;
s4, calculating the listening positions through a preset leakage suppression parameter algorithm, and calculating leakage suppression control parameters, wherein each listening position corresponds to a group of leakage suppression control parameters;
s5, carrying out attenuation processing on the audio signal stream by the leakage suppression control parameters corresponding to the listening position; the attenuation process is used for attenuating the audio signal far away from the listening position so as to reduce sound leakage; the audio signal stream is used for driving the loudspeaker to conduct conversation or is used for driving the loudspeaker to play audio.
2. The method of claim 1, wherein in step S4, the method of suppressing leakage sound includes determining a set of leakage sound suppressing control parameters according to each listening position by means of objective actual measurement of the whole machine of the mobile terminal and subjective experience of sound effects, and forming a mapping table by each listening position and a corresponding set of leakage sound suppressing control parameters.
3. The method of claim 1, wherein in step S5, the attenuation process is one or more of overall gain reduction of the audio signals in the audio signal stream, attenuation of the audio signals in a portion of the frequency band in the audio signal stream, and dynamic compression.
4. A method of suppressing a leakage according to claim 3, wherein said speaker includes a plurality of said speakers spaced apart; the listening position is close to one of the speakers, and in the step S5, the attenuation process is to perform overall gain reduction on the audio signal input to the other speakers.
5. A sound leakage suppression system mounted to a mobile terminal, wherein the sound leakage suppression system applies the sound leakage suppression method according to any one of claims 1 to 4;
the system for suppressing leakage includes:
the loudspeaker is used for realizing communication and playing audio in the earphone mode;
the position detection unit is used for acquiring feedback information corresponding to the listening position, the position detection unit is a capacitive touch screen, and the feedback information is an electric signal corresponding to the touch position obtained by the capacitive touch screen in real time when the capacitive touch screen is touched;
the listening position calculation module is used for calculating according to the feedback information and a preset position algorithm, and calculating the listening position, wherein the position algorithm is a transfer function which is formed by modeling according to actual parameter elements of the mobile terminal and corresponds to the listening position one by one, and the actual parameter elements comprise the screen size of the capacitive touch screen, the overall shape of the mobile terminal, the number of speakers and the positions of each speaker arranged on the mobile terminal;
the sound leakage suppression parameter calculation module is used for calculating the sound leakage positions through a preset sound leakage suppression parameter algorithm and calculating sound leakage suppression control parameters, and each sound leakage position corresponds to a group of sound leakage suppression control parameters;
a leakage suppression module, configured to attenuate the leakage suppression control parameter corresponding to the listening position to an audio signal stream, where the attenuation process is configured to attenuate the audio signal far from the listening position to reduce sound leakage; the audio signal stream is used for driving the loudspeaker to conduct communication or is used for driving the loudspeaker to play audio;
the conventional signal processing module is used for receiving an audio input signal in the mobile terminal and processing the audio input signal so as to enable the loudspeaker to play audio;
the position detection unit is electrically connected with the listening position calculation module, the listening position calculation module is electrically connected with the leakage sound suppression parameter calculation module, and the leakage sound suppression module is electrically connected with the loudspeaker, the leakage sound suppression parameter calculation module and the conventional signal processing module respectively.
6. A mobile terminal, characterized in that the mobile terminal is equipped with the sound leakage suppression system according to claim 5.
7. A mobile terminal comprising a processor and a memory, the processor being configured to read a program in the memory and to perform the steps in the method of suppressing leakage according to any one of claims 1 to 4.
8. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program comprising program instructions which, when executed by a processor, implement the steps in the method of suppressing a leakage sound according to any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110449833.6A CN113347307B (en) | 2021-04-25 | 2021-04-25 | Method for suppressing leakage, related device and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110449833.6A CN113347307B (en) | 2021-04-25 | 2021-04-25 | Method for suppressing leakage, related device and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113347307A CN113347307A (en) | 2021-09-03 |
CN113347307B true CN113347307B (en) | 2023-07-04 |
Family
ID=77468545
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110449833.6A Active CN113347307B (en) | 2021-04-25 | 2021-04-25 | Method for suppressing leakage, related device and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113347307B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116055606A (en) * | 2022-12-21 | 2023-05-02 | 瑞声科技(南京)有限公司 | Speaker control method, device, equipment and readable storage medium |
CN117119092B (en) * | 2023-02-22 | 2024-06-07 | 荣耀终端有限公司 | Audio processing method and electronic equipment |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007088521A (en) * | 2005-09-16 | 2007-04-05 | Nec Saitama Ltd | Device, method, and program for preventing sound leakage in earphone, and portable telephone radio |
US9363597B1 (en) * | 2013-08-21 | 2016-06-07 | Turtle Beach Corporation | Distance-based audio processing for parametric speaker system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160132285A1 (en) * | 2014-11-12 | 2016-05-12 | Blackberry Limited | Portable electronic device including touch-sensitive display and method of controlling audio output |
-
2021
- 2021-04-25 CN CN202110449833.6A patent/CN113347307B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007088521A (en) * | 2005-09-16 | 2007-04-05 | Nec Saitama Ltd | Device, method, and program for preventing sound leakage in earphone, and portable telephone radio |
US9363597B1 (en) * | 2013-08-21 | 2016-06-07 | Turtle Beach Corporation | Distance-based audio processing for parametric speaker system |
Also Published As
Publication number | Publication date |
---|---|
CN113347307A (en) | 2021-09-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108076226B (en) | Method for adjusting call quality, mobile terminal and storage medium | |
CN104521247B (en) | Bluetooth headset hearing aid and anti-noise method and apparatus | |
CN113347307B (en) | Method for suppressing leakage, related device and computer readable storage medium | |
CN100531242C (en) | Sound reproduction device and method in portable electronic equipment | |
JP2006139307A (en) | Apparatus having speech effect processing and noise control and method therefore | |
CN106302997B (en) | Output control method, electronic equipment and system | |
CN103024631A (en) | Method and device of noise reduction of earphone | |
CN103873975A (en) | Bluetooth headset noise reduction method, device and system | |
KR20170019929A (en) | Method and headset for improving sound quality | |
CN110213707A (en) | Earphone and its hearing-aid method, computer readable storage medium | |
CN105260159B (en) | A kind of audio frequency playing method and device | |
EP3038255B1 (en) | An intelligent volume control interface | |
CN105262887B (en) | Mobile terminal and audio setting method thereof | |
CN105554201A (en) | Audio frequency circuit selection method, apparatus, and circuit, and hand-held terminal | |
KR101950305B1 (en) | Acoustical signal processing method and device of communication device | |
CN107404587B (en) | Audio playing control method, audio playing control device and mobile terminal | |
CN113992965A (en) | Low-delay transmission method and system | |
CN207283755U (en) | A kind of output volume control system and intelligent terminal | |
CN105308939B (en) | Reduced acoustics coupling | |
CN104639719A (en) | Calling method and communication terminal | |
CN108769864B (en) | Audio equalization processing method and device and electronic equipment | |
CN105450880A (en) | Speech signal processing method and speech signal processing device | |
WO2023284406A1 (en) | Call method and electronic device | |
CN107479851B (en) | Volume adjusting method, device, terminal device and storage medium | |
CN105872182A (en) | Method for increasing sending loudness of microphone, and electronic terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |