CN107911777B - Processing method and device for return-to-ear function and mobile terminal - Google Patents

Processing method and device for return-to-ear function and mobile terminal Download PDF

Info

Publication number
CN107911777B
CN107911777B CN201711131019.XA CN201711131019A CN107911777B CN 107911777 B CN107911777 B CN 107911777B CN 201711131019 A CN201711131019 A CN 201711131019A CN 107911777 B CN107911777 B CN 107911777B
Authority
CN
China
Prior art keywords
return function
ear return
amplitude
audio data
ear
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
CN201711131019.XA
Other languages
Chinese (zh)
Other versions
CN107911777A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201711131019.XA priority Critical patent/CN107911777B/en
Publication of CN107911777A publication Critical patent/CN107911777A/en
Application granted granted Critical
Publication of CN107911777B publication Critical patent/CN107911777B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • H04R3/04Circuits for transducers, loudspeakers or microphones for correcting frequency response

Abstract

the embodiment of the application discloses a processing method and a processing device for an ear return function and a mobile terminal, wherein the method is applied to a terminal device, the terminal device is connected with an external device, the terminal device and the external device have the ear return function, and the method comprises the following steps: acquiring a first amplitude of audio data of a preset frequency band in currently output audio data; judging whether the ear return function of the terminal equipment and the ear return function of the external equipment conflict or not according to the first amplitude; and if the ear return function of the terminal equipment conflicts with the ear return function of the external equipment, closing the ear return function of the terminal equipment. By utilizing the embodiment of the application, whether the ear return function of the terminal equipment and the ear return function of the external equipment conflict or not can be judged, and when the conflict exists, the ear return function of the terminal equipment is closed, so that the ear return function of the external equipment is only used, noise possibly caused is eliminated, and the output audio data is prevented from being influenced.

Description

Processing method and device for return-to-ear function and mobile terminal
Technical Field
the present application relates to the field of computer technologies, and in particular, to a method and an apparatus for processing an ear return function, and a mobile terminal.
background
with the rapid development of the mobile internet, mobile terminals, especially smart phones, have been rapidly popularized, and the mobile terminals have become essential items for people to work and live. People can use the mobile terminal to perform various entertainment activities, such as listening to music, watching videos, and the like.
in addition, with the continuous fire and heat of live video and mobile karaoke, the karaoke function is added in many audio playing application programs, in order to improve user experience, terminal devices (such as mobile phones or tablet computers and the like) provided by many terminal device providers start to support the real-time karaoke function, generally speaking, in order to simplify user operation and improve user experience better, the default state of the karaoke function in the terminal device is an open state.
However, when karaoke and live broadcasting are hot, the default state of the real-time ear return function of the terminal device is an on state, and part of users do not know about the ear return function of the terminal device, and usually can purchase the external device of a third party for better enjoying karaoke experience, and the external device usually has a real-time ear return function, if the ear return function of the terminal device and the ear return function of the external device are simultaneously in an on state, the ear return function of the terminal device and the external device can conflict, thereby causing noise generation and influencing output audio data.
Disclosure of Invention
The embodiment of the application provides a processing method for an ear return function, which is used for solving the problems that in the prior art, the ear return function of a terminal device and the ear return function of an external device are simultaneously in an open state, and the ear return function can generate conflict, so that noise is generated, and output audio data is influenced.
in order to solve the above technical problem, the embodiment of the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a method for processing an ear return function, where the method is applied to a terminal device, the terminal device is connected with an external device, and the terminal device and the external device have the ear return function, and the method includes:
Acquiring a first amplitude of audio data of a preset frequency band in currently output audio data;
Judging whether the ear return function of the terminal equipment and the ear return function of the external equipment conflict or not according to the first amplitude;
And if the ear return function of the terminal equipment conflicts with the ear return function of the external equipment, closing the ear return function of the terminal equipment.
optionally, the determining, according to the first amplitude, whether a conflict exists between an ear return function of the terminal device and an ear return function of the external device includes:
If the first amplitude exceeds a preset amplitude threshold value, determining that the ear return function of the terminal equipment and the ear return function of the external equipment have conflict;
otherwise, determining that the ear return function of the terminal equipment and the ear return function of the external equipment are not in conflict.
Optionally, the determining, according to the first amplitude, whether a conflict exists between an ear return function of the terminal device and an ear return function of the external device includes:
If the first amplitude is larger than a second amplitude of the reference audio data of a preset frequency band in the reference audio data and the first amplitude exceeds a preset amplitude threshold value, determining that the ear return function of the terminal equipment and the ear return function of the external equipment conflict;
Otherwise, determining that the ear return function of the terminal equipment and the ear return function of the external equipment are not in conflict.
optionally, the reference audio data is audio data of a frame previous to the currently output audio data.
Optionally, the method further comprises:
Acquiring next frame of audio data of the currently output audio data, and acquiring a third amplitude of audio data of a preset frequency band in the next frame of audio data;
Determining that there is noise data in the input data corresponding to the currently output audio data if the third amplitude is greater than the first amplitude and the third amplitude exceeds a predetermined threshold.
In a second aspect, an embodiment of the present application provides a processing apparatus for an ear return function, the apparatus is connected with an external device, the apparatus and the external device have an ear return function, the apparatus includes:
The first amplitude acquisition module is used for acquiring a first amplitude of audio data of a preset frequency band in currently output audio data;
The conflict judging module is used for judging whether the ear return function of the terminal equipment and the ear return function of the external equipment conflict or not according to the first amplitude;
and the ear return closing module is used for closing the ear return function of the terminal equipment if the ear return function of the terminal equipment conflicts with the ear return function of the external equipment.
Optionally, the collision determination module is configured to determine that a collision exists between an ear return function of the terminal device and an ear return function of an external device if the first amplitude exceeds a predetermined amplitude threshold; otherwise, determining that the ear return function of the terminal equipment and the ear return function of the external equipment are not in conflict.
Optionally, the collision determination module is configured to determine that a collision exists between an ear return function of the terminal device and an ear return function of the external device if the first amplitude is greater than a second amplitude of reference audio data of a predetermined frequency band in the reference audio data and the first amplitude exceeds a predetermined amplitude threshold; otherwise, determining that the ear return function of the terminal equipment and the ear return function of the external equipment are not in conflict.
Optionally, the reference audio data is audio data of a frame previous to the currently output audio data.
Optionally, the apparatus further comprises:
A third amplitude obtaining module, configured to obtain next frame of audio data of the currently output audio data, and obtain a third amplitude of audio data of a predetermined frequency segment in the next frame of audio data;
and the analysis module is used for determining that noise data exists in the input data corresponding to the currently output audio data if the third amplitude is larger than the first amplitude and exceeds a preset threshold value.
in a third aspect, an embodiment of the present application provides a mobile terminal, including a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program, when executed by the processor, implements the steps of the processing method for the ear return function provided in the foregoing embodiment
in a fourth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the processing method for the ear return function provided in the foregoing embodiment.
The technical scheme provided by the embodiment of the application can be seen that the embodiment of the application is applied to a terminal device, the terminal device is connected with an external device, the terminal device and the external device have an ear return function, whether the ear return function of the terminal device conflicts with the ear return function of the external device is judged through the acquired first amplitude of the audio data of the preset frequency section in the currently output audio data, if the ear return function of the terminal device conflicts with the ear return function of the external device, the ear return function of the terminal device is closed, so that whether the ear return function of the terminal device and the ear return function of the external device are simultaneously in an open state can be determined only through the first amplitude of the audio data of the preset frequency section in the output audio data, and whether the ear return function of the terminal device conflicts with the ear return function of the external device is judged, and when the ear return function of the terminal equipment and the ear return function of the external equipment conflict, the ear return function of the terminal equipment is closed, so that only the ear return function of the external equipment is used, noise possibly caused is eliminated, and the output audio data is prevented from being influenced.
Drawings
in order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments described in the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without any creative effort.
Fig. 1 is a schematic flowchart illustrating an embodiment of a processing method for an ear return function according to the present application;
Fig. 2 is a schematic diagram illustrating a principle of an ear return function of a terminal device according to the present application;
Fig. 3 is a schematic diagram illustrating an ear return function of an external device of a terminal device according to the present application;
FIG. 4 is a flow chart illustrating another exemplary embodiment of a method for processing an earreturn function according to the present disclosure;
FIG. 5 is a schematic structural diagram of an embodiment of a processing apparatus for an ear return function according to the present application;
fig. 6 is a schematic diagram of a hardware structure of an embodiment of a mobile terminal according to the present application.
Detailed Description
The embodiment of the application provides a processing method and device for an ear return function and a mobile terminal.
in order to make those skilled in the art better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Example one
as shown in fig. 1, an execution main body of the method may be a terminal device, where the terminal device may be a device such as a personal computer, or may also be a mobile terminal device such as a mobile phone and a tablet computer, and the terminal device may be a terminal device used by a user. The terminal equipment is connected with external equipment, and the terminal equipment and the external equipment both have ear return functions. The method can be used for judging whether the ear return function of the terminal equipment conflicts with the ear return function of the terminal equipment peripheral equipment, determining whether the ear return function of the terminal equipment is started, closing the ear return function of the terminal equipment when the ear return function is determined to be started, and the like. The method may specifically comprise the steps of:
In step S102, a first amplitude of audio data of a predetermined frequency band among currently output audio data is acquired.
The output audio Data (i.e., RX Data) may be audio Data output by the audio output port of the terminal device, and the output audio Data may be transmitted to the terminal device through a wireless network, or may be transmitted to the terminal device through a short-range wireless communication function (e.g., an NFC function or a bluetooth function). The predetermined frequency band may be set according to actual conditions, and the predetermined frequency band may be one frequency band or may include a plurality of different frequency bands. The first amplitude may be a maximum amplitude in the audio data of the predetermined frequency band, or may be an average amplitude of the audio data of the predetermined frequency band, and the energy of the sound corresponding to the audio data may be further determined by the first amplitude.
in practice, the earreturn function is a reminding or prompting means provided for the user to prevent the sound delay in a large space, for example, for the singer, the singer often cannot hear the sound produced by himself at the singing site, so the singer needs to monitor whether the sound produced by himself is off-tune or out-of-tune through earreturn. In addition, when the singer cannot hear the accompaniment or the accompaniment is delayed, the accompaniment is transmitted to the ear of the singer while the ear returns. Since the performance site is not a small room, there is a delay in sound (i.e. the time when the singer hears the accompaniment is often delayed compared with the actual time when the accompaniment is actually performed) or deterioration, so that the accompaniment is sent to the ears of the singer through the return ears to ensure that the singer does not sing wrong beats or getting out of tune. As another example, for the host, the director may direct the host to schedule the associated program via an ear return, such as inserting a commercial, guest entry, or correcting a miscounting. With the continuous development of terminal technology, terminal equipment becomes an essential tool in life and work of people, and the ear return function has the advantages or benefits, so that the function is also arranged in many terminal equipment.
As shown in fig. 2, specifically, for the terminal device, the audio playing and the recording are two different functions, and when the two functions are actually executed, the audio playing and the recording are also respectively executed by two different threads, but there is a corresponding interrupt program between the two threads, so as to facilitate data transmission. When the interrupt program needs to be executed, in the process of processing the digital signal, the audio Data of TX (Transmit) Data can be extracted, and RX (receive) audio Data (audio Data to be played) can be extracted, corresponding addition operation is performed, and then the operation result (i.e. the audio Data of RX Data) is transmitted to the earphone, so that the sound emitted by the earphone can be heard in the earphone.
in practical application, not only the terminal device is provided with the ear return function, but also a plurality of external devices of the terminal device are provided with the ear return function, if the ear return function of the terminal device and the ear return function of the external device of the terminal device are simultaneously started, the sound effect finally heard by the user can be influenced, specifically, as shown in fig. 3, the external device superposes the audio data output by the playback channel and the audio data after the audio data enters the microphone for effect processing, the audio data are superpositioned on the external device again according to a corresponding algorithm, and then the superpositioned audio data are conveyed to the earphone, so that the user can hear the own sound in the earphone. However, as can be seen from fig. 2 and 3, if the ear return function of the terminal device is turned on and the external device also turns on the mixing switch, a loop will appear on the path of the audio data, which results in that the sound is circularly amplified, and the sound generates noise. Therefore, an embodiment of the present application provides a method for processing an ear return function, which may specifically include the following steps:
Based on the above fig. 2, an audio playing application may be installed in the terminal device, wherein the audio playing application provides a karaoke function, and in addition, the terminal device may be provided with an ear return function. When a user needs to use the terminal device to perform karaoke, the audio playing application installed in the terminal device can be started, the starting key with the karaoke function is found in the audio playing application, then the starting key can be clicked, the terminal device can start the karaoke function and send a notification message to a corresponding server, after the server receives the notification message, the server can acquire relevant information (such as room names or room numbers) of currently established or started karaoke rooms and send the information to the terminal device, and the terminal device can display the information. The user can browse the above information, can find a specified room or a room desired to enter from it, and can click to enter the room thereafter. The terminal equipment can obtain the name or number and other identifiers of the room clicked by the user, a karaoke request can be generated according to the identifiers and sent to the corresponding server, and after the server receives the karaoke request, the server can send the related data of the room corresponding to the room identifier contained in the karaoke request to the terminal equipment. The terminal device receives and displays relevant data of the room, such as relevant information, a microphone-up key, song selection items and the like of a K song user in the room, at the moment, the user can select songs, the microphone-up key can be clicked after the selection is completed, and the terminal device can start a microphone or connect a microphone. Meanwhile, the user can connect the earphone with the terminal equipment, the terminal equipment can output the audio Data of the accompaniment of the song selected by the user through the earphone, meanwhile, the microphone of the terminal equipment or the microphone of the external equipment can receive the voice Data of the user, the terminal equipment can superpose or add the received voice Data and the audio Data of the outputted accompaniment, finally, the audio Data to be outputted (namely, RX Data in fig. 2) is obtained, the audio Data to be outputted can be inputted into the earphone through the earphone jack, and therefore the currently outputted audio Data is obtained. Then, spectral analysis may be performed on the currently output audio data, the currently output audio data may be divided into one or more different frequency bins according to a spectral structure of the currently output audio data, and an amplitude of each frequency bin may be calculated as the first amplitude.
In step S104, it is determined whether there is a conflict between the earreturn function of the terminal device and the earreturn function of the external device based on the first amplitude.
In implementation, an amplitude threshold may be set and stored in the terminal device, where, for a case that the first amplitude includes amplitudes of audio data of a plurality of different frequency bands, a corresponding amplitude threshold may be set for each amplitude, or only one amplitude threshold may be set, and the like, which is not limited in this embodiment of the application. After the terminal device obtains the first amplitude of the audio data of the predetermined frequency band in the currently output audio data through the processing of the step S102, the first amplitude may be compared with a preset amplitude threshold, and if the first amplitude is higher than the preset amplitude threshold, it is determined that there is noise in the output audio data, and it may be determined that the external device of the terminal device has started the ear return function. And if the first amplitude is compared with a preset amplitude threshold value, and the first amplitude is determined not to exceed the preset amplitude threshold value, determining that the ear return function of the terminal equipment and the ear return function of the external equipment are not in conflict.
It should be noted that, in the above, whether the ear-return function of the terminal device and the ear-return function of the external device conflict with each other is determined in an amplitude manner, in practical application, whether the ear-return function of the terminal device and the ear-return function of the external device conflict with each other may also be determined in a manner of sound energy corresponding to audio data, specifically, the first amplitude may be squared, the obtained value is multiplied by an energy parameter to finally obtain sound energy corresponding to the audio data, and then, whether the ear-return function of the terminal device and the ear-return function of the external device conflict with each other may be further determined according to a set energy threshold, which may specifically refer to the above related contents, and will not be described herein again.
In addition, for the case that the first amplitude includes the amplitudes of the audio data of a plurality of different frequency bands, a corresponding amplitude threshold may be set for the amplitude of the audio data of each frequency band, when it is determined whether the ear return function of the terminal device and the ear return function of the external device are in conflict, each amplitude in the first amplitude may be compared with its corresponding amplitude threshold, if each amplitude is greater than its corresponding amplitude threshold, it is determined that the ear return function of the terminal device and the ear return function of the external device are in conflict, otherwise, the ear return function of the terminal device and the ear return function of the external device are not in conflict.
in step S106, if there is a conflict between the ear return function of the terminal device and the ear return function of the external device, the ear return function of the terminal device is turned off.
The embodiment of the application provides a processing method of an ear return function, which is applied to a terminal device, the terminal device is connected with an external device, the terminal device and the external device have the ear return function, whether the ear return function of the terminal device conflicts with the ear return function of the external device is judged through a first amplitude of audio data of a preset frequency band in the current output audio data, if the ear return function of the terminal device conflicts with the ear return function of the external device, the ear return function of the terminal device is closed, thus, whether the ear return function of the terminal device and the ear return function of the external device are in an open state simultaneously can be determined only through the first amplitude of the audio data of the preset frequency band in the output audio data, whether the ear return function of the terminal device conflicts with the ear return function of the external device is judged, and when the ear return function of the terminal device conflicts with the ear return function of the external device, and the ear return function of the terminal equipment is closed, so that only the ear return function of the external equipment is used, the generation of noise possibly caused is eliminated, and the output audio data is prevented from being influenced.
example two
As shown in fig. 4, an execution main body of the method may be a terminal device, where the terminal device may be a device such as a personal computer, or may also be a mobile terminal device such as a mobile phone and a tablet computer, and the terminal device may be a terminal device used by a user. The terminal equipment is connected with external equipment, and the terminal equipment and the external equipment both have ear return functions. The method can be used for judging whether the ear return function of the terminal equipment conflicts with the ear return function of the terminal equipment peripheral equipment, determining whether the ear return function of the terminal equipment is started, closing the ear return function of the terminal equipment when the ear return function is determined to be started, and the like. The method may specifically comprise the steps of:
in step S402, a first amplitude of audio data of a predetermined frequency band among currently output audio data is acquired.
The content of the step S402 is the same as the content of the step S102 in the first embodiment, and the specific processing procedure of the step S402 may refer to the related content of the step S102 in the first embodiment, which is not described herein again.
In S404, if the first amplitude is greater than the second amplitude of the reference audio data of the predetermined frequency band in the reference audio data and the first amplitude exceeds a predetermined amplitude threshold, it is determined that the ear-return function of the terminal device and the ear-return function of the external device are in conflict.
The reference audio data may be audio data that does not contain any noise, and the reference audio data may be set or obtained in various ways, for example, initial data of currently output audio data may be used as the reference audio data, or previous frame audio data of currently output audio data may also be used as the reference audio data, and the like. The second amplitude may be a reference amplitude, the second amplitude may be the maximum amplitude in the reference audio data, or may be an average value of the amplitudes of the reference audio data, and the energy of the sound corresponding to the reference audio data may be further determined from the second amplitude.
In an implementation, the terminal device stores therein the reference audio data, and the second amplitude of the reference audio data of a predetermined frequency band in the reference audio data. In addition, an amplitude threshold may be set and stored in the terminal device, where, for a case that the first amplitude includes amplitudes of audio data of a plurality of different frequency bands, a corresponding amplitude threshold may be set for each amplitude, or only one amplitude threshold may be set, and the like, which is not limited in this embodiment of the application. After the terminal device obtains the first amplitude of the audio data of the predetermined frequency band in the currently output audio data through the processing of step S102, the first amplitude may be compared with the second amplitude, and if the first amplitude is smaller than the second amplitude, it may be determined that there is no conflict between the ear return function of the terminal device and the ear return function of the external device, and the detection process may be continuously performed. If the first amplitude is greater than the second amplitude, the first amplitude may be compared with a preset amplitude threshold, and if the first amplitude is lower than the preset amplitude threshold, it may be determined that there is no conflict between the ear return function of the terminal device and the ear return function of the external device, and the above-described detection process may be continuously performed. If the first amplitude is higher than the preset amplitude threshold value, it can be determined that the ear return function of the external device of the terminal device is started, and at the moment, the ear return function of the terminal device is also in a starting state, so that the collision between the ear return function of the terminal device and the ear return function of the external device is caused.
In addition, for the case that the first amplitude includes the amplitudes of the audio data of a plurality of different frequency bands, a corresponding amplitude threshold may be set for the amplitude of the audio data of each frequency band, and when it is determined whether the ear return function of the terminal device and the ear return function of the external device are in conflict, each of the first amplitudes may be compared with its corresponding second amplitude, and for the first amplitude larger than the corresponding second amplitude, the first amplitude is compared with the amplitude threshold, so as to determine whether the ear return function of the terminal device and the ear return function of the external device are in conflict.
it should be noted that, in order to simplify the processing procedure of the ear return function, the reference audio data may be implemented in a variety of ways besides the above-mentioned way, and an optional processing way is provided below, which may specifically include the following: if the reference audio data is the audio data of the previous frame of the currently output audio data, the processing of step S404 may be: and if the first amplitude is larger than the fourth amplitude of the reference audio data of the preset frequency band in the previous frame of audio data, and the first amplitude exceeds a preset amplitude threshold value, determining that the ear-return function of the terminal equipment and the ear-return function of the external equipment conflict.
In addition, the processing for determining that the ear return function of the terminal device and the ear return function of the external device conflict with each other may be implemented in the foregoing manner, and may also include a plurality of different implementation manners, where the following provides another optional implementation manner, and specifically may include the following: and if the difference value between the first amplitude of the audio data of the preset frequency section in the currently output audio data and the second amplitude of the reference audio data of the preset frequency section in the reference audio data exceeds a preset threshold value, determining that the ear return function of the terminal equipment and the ear return function of the external equipment conflict.
In an implementation, a threshold value of the difference between the amplitudes may be set, and the difference between the first amplitude and the second amplitude may be calculated based on the set threshold value. The difference between the first amplitude and the second amplitude may be an average value of a plurality of amplitude differences, or the difference between the first amplitude and the second amplitude may be a minimum value or a maximum value of the plurality of amplitude differences, or the like. After the corresponding difference value is obtained through the calculation, whether the difference value between the first amplitude and the second amplitude is larger than a corresponding preset threshold value or not can be calculated, if the two difference values are larger than the corresponding preset threshold values, it is determined that the ear return function of the terminal device and the ear return function of the external device are in conflict, and otherwise, the ear return function of the terminal device is in a closed state or the terminal device does not have the ear return function and the like.
in S406, the earreturn function of the terminal device is turned off.
after the terminal device turns off the ear return function of itself, it may continue to detect whether the output audio data is recovered to a normal state (i.e., whether the output audio is cyclically amplified), and the corresponding processing manner may be various, and an optional processing manner is provided below, which may be specifically referred to in step S408 and step S410 below.
In S408, next frame audio data of the currently output audio data is acquired, and a third amplitude of audio data of a predetermined frequency band in the next frame audio data is acquired.
in implementation, after the terminal device closes its ear return function, the terminal device may continue to output audio data of the accompaniment of the song selected by the user through the earphone, and at the same time, the microphone or the microphone of the terminal device may continue to receive voice data of the user, and at this time, the terminal device acquires audio data to be input to the earphone jack (i.e., next frame of audio data of currently output audio data). Then, spectral analysis may be performed on next frame audio data of the currently output audio data, the currently output audio data may be divided into one or more frequency bins according to a spectral structure of the next frame audio data, and an amplitude of each frequency bin may be calculated.
In S410, if the third amplitude is greater than the first amplitude and the third amplitude exceeds a predetermined threshold, it is determined that noise data exists in the input data corresponding to the currently output audio data.
In implementation, for the processing procedure of determining that the third amplitude is greater than the first amplitude and the third amplitude exceeds the predetermined threshold, reference may be made to the related content of step S404, which is not described herein again. Since the terminal device has turned off its ear-return function, even if the external device turns on the ear-return function (turns on the mixing switch), the audio data output from the headphone jack should not have audio data that is circularly amplified, and if the third amplitude is greater than the first amplitude and exceeds a predetermined threshold, it may be said that the audio data input into or played by the terminal device has noise or noise, for example, the terminal device receives noise generated by electromagnetic interference of other electronic devices, that is, it may be determined that there is noise data in the input data corresponding to the currently output audio data.
The embodiment of the application provides a processing method of an ear return function, which is applied to a terminal device, the terminal device is connected with an external device, the terminal device and the external device have the ear return function, whether the ear return function of the terminal device conflicts with the ear return function of the external device is judged through a first amplitude of audio data of a preset frequency band in the current output audio data, if the ear return function of the terminal device conflicts with the ear return function of the external device, the ear return function of the terminal device is closed, thus, whether the ear return function of the terminal device and the ear return function of the external device are in an open state simultaneously can be determined only through the first amplitude of the audio data of the preset frequency band in the output audio data, whether the ear return function of the terminal device conflicts with the ear return function of the external device is judged, and when the ear return function of the terminal device conflicts with the ear return function of the external device, and the ear return function of the terminal equipment is closed, so that only the ear return function of the external equipment is used, the generation of noise possibly caused is eliminated, and the output audio data is prevented from being influenced.
EXAMPLE III
Based on the same idea, the processing method for the ear return function provided in the embodiment of the present application further provides a processing apparatus for the ear return function, as shown in fig. 5.
The processing apparatus that the function was returned to the ear is connected with external device, the device with external device has the ear and returns the function, the device includes: a first amplitude obtaining module 501, a conflict judging module 502 and an ear return closing module 503, wherein:
A first amplitude obtaining module 501, configured to obtain a first amplitude of audio data in a predetermined frequency band in currently output audio data;
a conflict judging module 502, configured to judge whether a conflict exists between an ear return function of the terminal device and an ear return function of an external device according to the first amplitude;
An ear return closing module 503, configured to close the ear return function of the terminal device if the ear return function of the terminal device and the ear return function of the external device conflict with each other.
In this embodiment of the present application, the conflict determining module 502 is configured to determine that a conflict exists between an ear return function of the terminal device and an ear return function of an external device if the first amplitude exceeds a predetermined amplitude threshold; otherwise, determining that the ear return function of the terminal equipment and the ear return function of the external equipment are not in conflict.
in this embodiment of the application, the conflict determining module 502 is configured to determine that a conflict exists between an ear return function of the terminal device and an ear return function of an external device if the first amplitude is greater than a second amplitude of reference audio data of a predetermined frequency segment in the reference audio data and the first amplitude exceeds a predetermined amplitude threshold; otherwise, determining that the ear return function of the terminal equipment and the ear return function of the external equipment are not in conflict.
in this embodiment, the reference audio data is audio data of a previous frame of the currently output audio data.
In an embodiment of the present application, the apparatus further includes:
A third amplitude obtaining module, configured to obtain next frame of audio data of the currently output audio data, and obtain a third amplitude of audio data of a predetermined frequency segment in the next frame of audio data;
And the analysis module is used for determining that noise data exists in the input data corresponding to the currently output audio data if the third amplitude is larger than the first amplitude and exceeds a preset threshold value.
The processing apparatus for an ear return function provided in this embodiment of the present application can implement each process implemented by the terminal device in the method embodiments of fig. 1 to fig. 4, and is not described here again to avoid repetition.
the embodiment of the application provides a processing device of an ear return function, which is connected with an external device, the device and the external device have the ear return function, whether the ear return function of a terminal device conflicts with the ear return function of the external device is judged through a first amplitude of audio data of a preset frequency band in the current output audio data, if the ear return function of the terminal device conflicts with the ear return function of the external device, the ear return function of the terminal device is closed, thus, whether the ear return function of the terminal device and the ear return function of the external device are simultaneously in an open state can be determined only through the first amplitude of the audio data of the preset frequency band in the output audio data, whether the ear return function of the terminal device conflicts with the ear return function of the external device is judged, and when the ear return function of the terminal device conflicts with the ear return function of the external device, and the ear return function of the terminal equipment is closed, so that only the ear return function of the external equipment is used, the generation of noise possibly caused is eliminated, and the output audio data is prevented from being influenced.
Example four
Fig. 6 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention. The mobile terminal is connected with an external device, and the mobile terminal and the external device have an ear return function.
The mobile terminal 600 includes, but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, a processor 610, and a power supply 611. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 6 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
the processor 610 is configured to obtain a first amplitude of audio data of a predetermined frequency band in currently output audio data;
the processor 610 is further configured to determine whether a conflict exists between an ear return function of the terminal device and an ear return function of an external device according to the first amplitude;
the processor 610 is further configured to close the ear return function of the terminal device if the ear return function of the terminal device and the ear return function of the external device conflict with each other.
Further, the processor 610 is further configured to determine that there is a conflict between the earreturn function of the terminal device and the earreturn function of the external device if the first amplitude exceeds a predetermined amplitude threshold; otherwise, determining that the ear return function of the terminal equipment and the ear return function of the external equipment are not in conflict.
in addition, the processor 610 is further configured to determine that there is a conflict between the ear-return function of the terminal device and the ear-return function of the external device if the first amplitude is greater than a second amplitude of the reference audio data of a predetermined frequency band in the reference audio data and the first amplitude exceeds a predetermined amplitude threshold; otherwise, determining that the ear return function of the terminal equipment and the ear return function of the external equipment are not in conflict.
In addition, the reference audio data is audio data of a frame previous to the currently output audio data.
In addition, the processor 610 is further configured to obtain next frame audio data of the currently output audio data, and obtain a third amplitude of audio data of a predetermined frequency segment in the next frame audio data;
the processor 610 is further configured to determine that noise data exists in the input data corresponding to the currently output audio data if the third amplitude is greater than the first amplitude and the third amplitude exceeds a predetermined threshold.
The embodiment of the application provides a mobile terminal connected with an external device, the mobile terminal and the external device have an ear return function, whether the ear return function of the terminal device conflicts with the ear return function of the external device is judged through the acquired first amplitude of the audio data of the preset frequency section in the currently output audio data, if the ear return function of the terminal device conflicts with the ear return function of the external device, the ear return function of the terminal device is closed, thus, whether the ear return function of the terminal device and the ear return function of the external device are simultaneously in an open state can be determined only through the first amplitude of the audio data of the preset frequency section in the output audio data, whether the ear return function of the terminal device conflicts with the ear return function of the external device is judged, and when the ear return function of the terminal device conflicts with the ear return function of the external device, and the ear return function of the terminal equipment is closed, so that only the ear return function of the external equipment is used, the generation of noise possibly caused is eliminated, and the output audio data is prevented from being influenced.
It should be understood that, in the embodiment of the present application, the radio frequency unit 601 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 610; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 601 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio frequency unit 601 may also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides the user with wireless broadband internet access through the network module 602, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 603 may convert audio data received by the radio frequency unit 601 or the network module 602 or stored in the memory 609 into an audio signal and output as sound. Also, the audio output unit 603 may also provide audio output related to a specific function performed by the mobile terminal 600 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 603 includes a speaker, a buzzer, a receiver, and the like.
The input unit 604 is used to receive audio or video signals. The input Unit 604 may include a Graphics Processing Unit (GPU) 6041 and a microphone 6042, and the Graphics processor 6041 processes image data of a still picture or video obtained by an image capturing apparatus (such as a camera) in a video capture mode or an image capture mode. The processed image frames may be displayed on the display unit 606. The image frames processed by the graphic processor 6041 may be stored in the memory 609 (or other storage medium) or transmitted via the radio frequency unit 601 or the network module 602. The microphone 6042 can receive sound, and can process such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 601 in case of the phone call mode.
The mobile terminal 600 also includes at least one sensor 605, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 6061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 6061 and/or the backlight when the mobile terminal 600 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 605 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 606 is used to display information input by the user or information provided to the user. The Display unit 606 may include a Display panel 6061, and the Display panel 6061 may be configured by a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 607 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 607 includes a touch panel 6071 and other input devices 6072. Touch panel 6071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 6071 using a finger, stylus, or any suitable object or accessory). The touch panel 6071 may include two parts of 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 sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 610, receives a command from the processor 610, and executes the command. In addition, the touch panel 6071 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The user input unit 607 may include other input devices 6072 in addition to the touch panel 6071. Specifically, the other input devices 6072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 6071 can be overlaid on the display panel 6061, and when the touch panel 6071 detects a touch operation on or near the touch panel 6071, the touch operation is transmitted to the processor 610 to determine the type of the touch event, and then the processor 610 provides a corresponding visual output on the display panel 6061 according to the type of the touch event. Although the touch panel 6071 and the display panel 6061 are shown in fig. 6 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 6071 and the display panel 6061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
the interface unit 608 is an interface through which an external device is connected to the mobile terminal 600. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 608 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 600 or may be used to transmit data between the mobile terminal 600 and external devices.
The memory 609 may be used to store software programs as well as various data. The memory 609 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 609 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 610 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 609 and calling data stored in the memory 609, thereby integrally monitoring the mobile terminal. Processor 610 may include one or more processing units; preferably, the processor 610 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 610.
The mobile terminal 600 may further include a power supply 611 (e.g., a battery) for supplying power to the various components, and preferably, the power supply 611 is logically connected to the processor 610 via a power management system, so that functions of managing charging, discharging, and power consumption are performed via the power management system.
preferably, an embodiment of the present invention further provides a mobile terminal, which includes a processor 610, a memory 609, and a computer program stored in the memory 609 and capable of running on the processor 610, where the computer program, when executed by the processor 610, implements each process of the above-mentioned processing method for an ear return function, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
EXAMPLE five
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the processing method for ear return function, and can achieve the same technical effect, and in order to avoid repetition, the detailed description is omitted here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
The embodiment of the application provides a computer-readable storage medium, which judges whether a conflict exists between an ear return function of a terminal device and an ear return function of an external device by acquiring a first amplitude of audio data of a predetermined frequency band in currently output audio data, and closes the ear return function of the terminal device if the conflict exists between the ear return function of the terminal device and the ear return function of the external device, so that whether the conflict exists between the ear return function of the terminal device and the ear return function of the external device can be determined only by the first amplitude of the audio data of the predetermined frequency band in the output audio data, and when the conflict exists between the ear return function of the terminal device and the ear return function of the external device, the ear return function of the terminal device is closed, so that only the ear return function of the external device is used, thereby eliminating the generation of noise that may result and preventing the output audio data from being affected.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
the present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
these computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
these computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
as will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (8)

1. A processing method of an ear return function is applied to terminal equipment, and is characterized in that the terminal equipment is connected with external equipment, and the terminal equipment and the external equipment have the ear return function, and the method comprises the following steps:
Acquiring a first amplitude of audio data of a preset frequency band in currently output audio data;
Judging whether the ear return function of the terminal equipment and the ear return function of the external equipment conflict or not according to the first amplitude;
If the ear return function of the terminal equipment conflicts with the ear return function of the external equipment, the ear return function of the terminal equipment is closed;
The judging whether the ear return function of the terminal device and the ear return function of the external device conflict or not according to the first amplitude comprises the following steps:
If the first amplitude exceeds a preset amplitude threshold value, determining that the ear return function of the terminal equipment and the ear return function of the external equipment have conflict; otherwise, determining that no conflict exists between the ear return function of the terminal equipment and the ear return function of the external equipment;
Alternatively, the first and second electrodes may be,
if the first amplitude is larger than a second amplitude of the reference audio data of a preset frequency band in the reference audio data and the first amplitude exceeds a preset amplitude threshold value, determining that the ear return function of the terminal equipment and the ear return function of the external equipment conflict; otherwise, determining that no conflict exists between the ear return function of the terminal equipment and the ear return function of the external equipment;
Alternatively, the first and second electrodes may be,
If the difference value between the first amplitude and the second amplitude of the reference audio data of the preset frequency band in the reference audio data is larger than a preset threshold value, determining that the ear return function of the terminal equipment and the ear return function of the external equipment conflict; otherwise, determining that no conflict exists between the ear return function of the terminal equipment and the ear return function of the external equipment;
alternatively, the first and second electrodes may be,
If the square of the first amplitude multiplied by the energy parameter is higher than a set energy threshold value, determining that the ear return function of the terminal equipment and the ear return function of the external equipment have conflict; otherwise, determining that no conflict exists between the ear return function of the terminal equipment and the ear return function of the external equipment;
Alternatively, the first and second electrodes may be,
if each amplitude in the first amplitudes is higher than the corresponding amplitude threshold value, determining that the ear return function of the terminal equipment and the ear return function of the external equipment conflict; otherwise, determining that the ear return function of the terminal equipment and the ear return function of the external equipment are not in conflict.
2. the method according to claim 1, wherein the reference audio data is audio data of a frame previous to the currently output audio data.
3. the method of claim 2, further comprising:
acquiring next frame of audio data of the currently output audio data, and acquiring a third amplitude of audio data of a preset frequency band in the next frame of audio data;
Determining that there is noise data in the input data corresponding to the currently output audio data if the third amplitude is greater than the first amplitude and the third amplitude exceeds a predetermined threshold.
4. the utility model provides a processing apparatus of function is returned to ear, its characterized in that, the device is connected with external equipment, the device with external equipment has the ear and returns the function, the device includes:
the first amplitude acquisition module is used for acquiring a first amplitude of audio data of a preset frequency band in currently output audio data;
The conflict judging module is used for judging whether the ear return function of the device conflicts with the ear return function of the external equipment or not according to the first amplitude;
The ear return closing module is used for closing the ear return function of the device if the ear return function of the device conflicts with the ear return function of the external equipment;
The conflict judging module is used for determining that the ear return function of the device conflicts with the ear return function of the external equipment if the first amplitude exceeds a preset amplitude threshold value; otherwise, determining that the ear return function of the device and the ear return function of the external equipment are not in conflict;
alternatively, the first and second electrodes may be,
The conflict judging module is used for determining that the ear return function of the device conflicts with the ear return function of the external equipment if the first amplitude is larger than the second amplitude of the reference audio data of the preset frequency band in the reference audio data and the first amplitude exceeds a preset amplitude threshold value; otherwise, determining that the ear return function of the device and the ear return function of the external equipment are not in conflict;
Alternatively, the first and second electrodes may be,
The conflict judging module is used for determining that the ear return function of the device conflicts with the ear return function of the external equipment if the difference value between the first amplitude and the second amplitude of the reference audio data of the predetermined frequency band in the reference audio data is greater than a predetermined threshold value; otherwise, determining that the ear return function of the device and the ear return function of the external equipment are not in conflict;
Alternatively, the first and second electrodes may be,
The conflict judging module is used for determining that the ear return function of the device and the ear return function of the external equipment conflict if the square of the first amplitude multiplied by the energy parameter is higher than a set energy threshold; otherwise, determining that the ear return function of the device and the ear return function of the external equipment are not in conflict;
Alternatively, the first and second electrodes may be,
the conflict judging module is used for determining that the ear return function of the device conflicts with the ear return function of the external equipment if each amplitude in the first amplitudes is higher than the corresponding amplitude threshold value; otherwise, determining that the ear return function of the device and the ear return function of the external equipment have no conflict.
5. The apparatus according to claim 4, wherein the reference audio data is audio data of a frame previous to the currently output audio data.
6. the apparatus of claim 4, further comprising:
A third amplitude obtaining module, configured to obtain next frame of audio data of the currently output audio data, and obtain a third amplitude of audio data of a predetermined frequency segment in the next frame of audio data;
And the analysis module is used for determining that noise data exists in the input data corresponding to the currently output audio data if the third amplitude is larger than the first amplitude and exceeds a preset threshold value.
7. A mobile terminal, characterized in that it comprises a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the processing method of the earreturn function according to any of claims 1 to 3.
8. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the processing method of an earreturn function according to any one of claims 1 to 3.
CN201711131019.XA 2017-11-15 2017-11-15 Processing method and device for return-to-ear function and mobile terminal Active CN107911777B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711131019.XA CN107911777B (en) 2017-11-15 2017-11-15 Processing method and device for return-to-ear function and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711131019.XA CN107911777B (en) 2017-11-15 2017-11-15 Processing method and device for return-to-ear function and mobile terminal

Publications (2)

Publication Number Publication Date
CN107911777A CN107911777A (en) 2018-04-13
CN107911777B true CN107911777B (en) 2019-12-10

Family

ID=61844270

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711131019.XA Active CN107911777B (en) 2017-11-15 2017-11-15 Processing method and device for return-to-ear function and mobile terminal

Country Status (1)

Country Link
CN (1) CN107911777B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110248264B (en) * 2019-04-25 2021-01-15 维沃移动通信有限公司 Sound transmission control method and terminal equipment
CN111526443B (en) * 2020-04-15 2021-07-09 华为技术有限公司 Ear return earphone circuit, ear return earphone and ear return system
CN113035165B (en) * 2021-03-04 2023-01-03 北京雷石天地电子技术有限公司 Audio data processing method, audio data processing apparatus, and readable storage medium
CN113329306B (en) * 2021-05-27 2022-08-12 深圳市星源世纪科技有限公司 Multifunctional interconnection lug return transmitting base device for stage performance

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102870154A (en) * 2010-06-04 2013-01-09 苹果公司 Active noise cancellation decisions in a portable audio device
CN105208189A (en) * 2014-12-10 2015-12-30 维沃移动通信有限公司 Audio processing method and mobile terminal
CN105827849A (en) * 2016-04-28 2016-08-03 维沃移动通信有限公司 Method for adjusting sound effect and mobile terminal
CN106210983A (en) * 2016-07-11 2016-12-07 歌尔股份有限公司 A kind of realize the method for Kara OK function, device and earphone by earphone

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8160261B2 (en) * 2005-01-18 2012-04-17 Sensaphonics, Inc. Audio monitoring system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102870154A (en) * 2010-06-04 2013-01-09 苹果公司 Active noise cancellation decisions in a portable audio device
CN105208189A (en) * 2014-12-10 2015-12-30 维沃移动通信有限公司 Audio processing method and mobile terminal
CN105827849A (en) * 2016-04-28 2016-08-03 维沃移动通信有限公司 Method for adjusting sound effect and mobile terminal
CN106210983A (en) * 2016-07-11 2016-12-07 歌尔股份有限公司 A kind of realize the method for Kara OK function, device and earphone by earphone

Also Published As

Publication number Publication date
CN107911777A (en) 2018-04-13

Similar Documents

Publication Publication Date Title
CN108683798B (en) Sound output control method and mobile terminal
CN108763316B (en) Audio list management method and mobile terminal
CN108279948B (en) Application program starting method and mobile terminal
CN107911777B (en) Processing method and device for return-to-ear function and mobile terminal
CN107743178B (en) Message playing method and mobile terminal
CN107613146B (en) Volume adjustment method and device and mobile terminal
CN111459456A (en) Audio control method and electronic equipment
CN109862430B (en) Multimedia playing method and terminal equipment
CN106506437B (en) Audio data processing method and device
WO2017215661A1 (en) Scenario-based sound effect control method and electronic device
CN108848267B (en) Audio playing method and mobile terminal
CN106791916B (en) Method, device and system for recommending audio data
CN111078186A (en) Playing method and electronic equipment
CN111131885A (en) Play control method and electronic equipment
CN108009031B (en) Application program control method and mobile terminal
CN108307048B (en) Message output method and device and mobile terminal
CN109101151B (en) Information display processing method and terminal equipment
CN110784394A (en) Prompting method and electronic equipment
CN108319440B (en) Audio output method and mobile terminal
CN108235084B (en) Video playing method and mobile terminal
CN108093119B (en) Strange incoming call number marking method and mobile terminal
CN109753776B (en) Information processing method and device and mobile terminal
CN109660657B (en) Application program control method and device
CN109450508B (en) Antenna determination method and device and mobile terminal
CN108418961B (en) Audio playing method and mobile terminal

Legal Events

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