CN116193311A - Sound quality optimization method of wireless earphone, related equipment, medium and program product - Google Patents

Sound quality optimization method of wireless earphone, related equipment, medium and program product Download PDF

Info

Publication number
CN116193311A
CN116193311A CN202211650405.0A CN202211650405A CN116193311A CN 116193311 A CN116193311 A CN 116193311A CN 202211650405 A CN202211650405 A CN 202211650405A CN 116193311 A CN116193311 A CN 116193311A
Authority
CN
China
Prior art keywords
audio
current
optimization strategy
current audio
strategy
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.)
Pending
Application number
CN202211650405.0A
Other languages
Chinese (zh)
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.)
Shenzhen Ruier Electronic Co ltd
Original Assignee
Shenzhen Ruier Electronic 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 Shenzhen Ruier Electronic Co ltd filed Critical Shenzhen Ruier Electronic Co ltd
Priority to CN202211650405.0A priority Critical patent/CN116193311A/en
Publication of CN116193311A publication Critical patent/CN116193311A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2201/00Details of transducers, loudspeakers or microphones covered by H04R1/00 but not provided for in any of its subgroups
    • H04R2201/10Details of earpieces, attachments therefor, earphones or monophonic headphones covered by H04R1/10 but not provided for in any of its subgroups
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

The embodiment of the application discloses a tone quality optimization method of a wireless earphone, and related equipment, medium and program product, wherein the method comprises the following steps: acquiring characteristic information and audio source information of current audio in the wireless earphone; determining a tone quality optimization strategy for the current audio according to the characteristic information of the current audio and the audio source information; and carrying out optimization processing on the current audio according to the tone quality optimization strategy to obtain optimized target audio, and sending the optimized target audio to the wireless earphone. By adopting the method and the device, the pertinence and the intelligent degree of the tone quality optimization strategy can be improved, so that the tone quality optimization effect is improved. Finally, when the target audio after the optimization processing is played, the wireless earphone can present higher tone quality matching degree, and the audio playing requirement is better realized.

Description

Sound quality optimization method of wireless earphone, related equipment, medium and program product
Technical Field
The present disclosure relates to the field of wireless headphones, and in particular, to a method and related device for optimizing sound quality of a wireless headphone, a computer readable storage medium, and a computer program product.
Background
Along with the popularization of the earphone, the function requirements of most users on the earphone are increased, the earphone is not limited to the function provided by the wired earphone, the earphone is expected to be more convenient and fast, and the earphone can adapt to more application scenes, such as answering of a telephone during driving, getting rid of the constraint of mutually-wound earphone wires and the like. Therefore, wireless headphones have been developed and rapidly popularized, and have been used more widely.
Although the wireless earphone gets rid of the earphone wire, the wireless earphone is indeed superior to the wired earphone in terms of convenience and intelligence. But also because the wireless earphone does not have earphone wires as a carrier for audio transmission, the stability of the wireless earphone in terms of signal transmission and the anti-interference performance are inferior to those of the wired earphone, so that the tone quality of the wireless earphone is poor and needs to be improved.
Disclosure of Invention
The embodiment of the application provides a sound quality optimization method of a wireless earphone and related equipment. Promote wireless earphone tone quality optimization's intelligent degree to this promotes wireless earphone broadcast tone quality effect.
In one aspect, a method for optimizing sound quality of a wireless headset, the method comprising:
acquiring characteristic information and audio source information of current audio in the wireless earphone;
Determining a tone quality optimization strategy for the current audio according to the characteristic information of the current audio and the audio source information;
and carrying out optimization processing on the current audio according to the tone quality optimization strategy to obtain optimized target audio, and sending the optimized target audio to the wireless earphone.
In one aspect, a sound quality optimization apparatus for a wireless earphone, the apparatus comprising:
the acquisition unit is used for acquiring the characteristic information and the audio source information of the current audio in the wireless earphone;
the determining unit is used for determining a tone quality optimization strategy for the current audio according to the characteristic information of the current audio and the audio source information;
and the processing unit is used for carrying out optimization processing on the current audio according to the tone quality optimization strategy to obtain optimized target audio, and sending the optimized target audio to the wireless earphone.
In one aspect, an embodiment of the present application provides an electronic device including a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and the programs include instructions for performing steps in the method.
Accordingly, embodiments of the present application provide a computer readable storage medium storing computer program instructions for use by a terminal, comprising a program for performing the steps of the above-described method.
Accordingly, embodiments of the present application provide a computer program product or computer program comprising computer instructions stored in a computer readable storage medium, which when executed by a processor of a computer device, perform the method of the above embodiments. The computer program product may be a software installation package.
In the embodiment of the application, the terminal in communication connection with the wireless earphone determines the sound quality optimization strategy for the current audio through acquiring the characteristic information and the audio source information of the current audio of the wireless earphone. The pertinence and the intelligent degree of the tone quality optimization strategy can be improved, so that the tone quality optimization effect is improved. Finally, when the target audio after the optimization processing is played, the wireless earphone can present higher tone quality matching degree, and the audio playing requirement is better realized.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic structural diagram of a sound quality optimization system of a wireless earphone according to an embodiment of the present application;
fig. 2 is a flow chart of a method for optimizing sound quality of a wireless earphone according to an embodiment of the present application;
fig. 3 is a flowchart of another method for optimizing sound quality of a wireless headset according to an embodiment of the present application;
fig. 4 is a schematic functional unit diagram of a sound quality optimizing device of a wireless earphone according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application 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, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
The terms first, second and the like in the description and in the claims of the present application and in the above-described figures, are used for distinguishing between different objects and not for describing a particular sequential order. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed steps or elements but may include other steps or elements not listed or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the present application. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.
At present, although the wireless earphone gets rid of the earphone wire, the wireless earphone is indeed superior to the wired earphone in terms of convenience and intelligence. But also because the wireless earphone does not have earphone wires as a carrier for audio transmission, the stability of the wireless earphone in terms of signal transmission and the anti-interference performance are inferior to those of the wired earphone, so that the tone quality of the wireless earphone is poor and needs to be improved.
In view of the above problems, an embodiment of the present application provides a method for optimizing sound quality of a wireless earphone, which is applied to a terminal. The following detailed description refers to the accompanying drawings.
First, please refer to the schematic structure diagram of the wireless earphone sound quality optimization system 100 shown in fig. 1, which includes a terminal 110 and a wireless earphone 120.
The terminal 110 may include various handheld devices (e.g., smart phones, tablet computers, etc.), vehicle-mounted devices, wearable devices (smart watches, smart bracelets, wireless headsets, augmented reality/virtual reality devices, smart glasses), computing devices or other processing devices connected to a wireless modem, and various forms of User Equipment (UE), mobile Stations (MS), terminals (terminal devices), etc. having a wireless communication function. For convenience of description, the above-mentioned terminals are collectively referred to as electronic devices.
The wireless earphone 120 is replaced by an electric wave, and is connected from the audio outlet of the terminal 110 to the transmitting end, and then is sent to the earphone of the receiving end by the transmitting end through the electric wave, and the receiving end is a radio. There are three known types of targeted wireless headsets: the first is Bluetooth earphone, the second is infrared earphone, and the third is 2.4G.
The wireless headset 120 referred to in embodiments of the present application may be a true wireless stereo (True Wireless Stereo, TWS) headset. Compared with the traditional wired earphone, the TWS earphone adopts Bluetooth connection and transmission, and is small in size, good in tone quality and rich in functions. The left earphone and the right earphone of the TWS earphone are independent of each other and are not connected through a cable, and wireless separation of left and right channels can be achieved.
The earphone of this application embodiment can be the intelligent earphone that contains artificial intelligence chip, and still can include microprocessor in the intelligent earphone, microprocessor and artificial intelligence chip in the intelligent earphone interconnect communication through dedicated channel, but microprocessor independent control intelligent earphone work, microprocessor also can control intelligent earphone work under artificial intelligence chip's direction, and artificial intelligence chip can export some intelligent control strategies for microprocessor, directs microprocessor better work. The microprocessor can construct a microprocessor software platform, the artificial intelligent chip can construct an artificial intelligent chip software platform, the microprocessor software platform and the artificial intelligent chip software platform are two mutually independent software platforms, and the artificial intelligent chip software platform is in communication connection with the microprocessor software platform.
The mobile terminal can control the microprocessor to enter the sleep state from the wake-up state by sending a sleep instruction to the microprocessor of any one of the pair of intelligent headphones (the pair of intelligent headphones comprises two paired headphones), and when the microprocessor of the intelligent headphone is in the sleep state, the audio playing function of the intelligent headphone is disabled. The mobile terminal may also instruct the artificial intelligence chip to notify the microprocessor to enter the awake state from the sleep state by sending an awake instruction to the artificial intelligence chip of the smart headset. In some possible implementations, the artificial intelligence chip may be in an awake state all the time under normal power. In some possible embodiments, the microprocessor in the sleep state can only receive instructions from the artificial intelligence chip, i.e., the dedicated channel between the microprocessor and the artificial intelligence chip is not closed at this time, but all other communication channels of the microprocessor are closed, and the microprocessor in the sleep state can only receive instructions from the artificial intelligence chip, i.e., the microprocessor in the sleep state can only be woken up by the artificial intelligence chip. When the artificial intelligent chip wakes up the microprocessor in the dormant state and fails, the artificial intelligent chip can be switched into the working mode of the microprocessor to replace the microprocessor to control the intelligent earphone to work, and when the artificial intelligent chip is switched into the working mode of the microprocessor, the audio playing function of the intelligent earphone can normally run under the support of the artificial intelligent chip.
The technical solution of the embodiment of the present application may be implemented based on the communication system with the architecture shown in fig. 1 by way of example or the deformed architecture thereof.
Referring to fig. 2, fig. 2 is a flowchart of a method for optimizing sound quality of a wireless earphone according to an embodiment of the present application, where the method may include, but is not limited to, the following steps:
201. and acquiring the characteristic information and the audio source information of the current audio in the wireless earphone.
Specifically, the wireless earphone and the terminal are in communication connection, and the connection mode can be Bluetooth connection, wireless high-fidelity WIFI connection, LTE connection and the like. The terminal can acquire the audio currently played in the wireless earphone in real time or according to a certain period, and further acquire the characteristic information and the audio source information of the audio according to the audio. The characteristic information comprises any one or more of transmission rate, signal strength, delay degree and packet loss rate, and the audio source information comprises local input or external input. Local input such as audio files stored by the local terminal or played by the local terminal APP, and external input such as audio files when the local terminal and other terminals are in video, voice or conversation.
202. And determining a tone quality optimization strategy for the current audio according to the characteristic information of the current audio and the audio source information.
In particular, it can be understood that the sound quality optimization strategies determined for different characteristic information or source information of the current audio are different. Such as where the current audio source is a local input, tone adjustment, tone beautification, sound ray processing, mixing processing, etc. may be more emphasized in optimizing sound quality. For another example, the current audio source is an external input, so that noise removal and continuity of sound may be more emphasized in sound quality optimization, signal delay and packet loss rate may be reduced, and the like.
203. And carrying out optimization processing on the current audio according to the tone quality optimization strategy to obtain optimized target audio, and sending the optimized target audio to the wireless earphone.
Specifically, after determining the tone quality optimization strategy, the terminal can perform optimization processing on the current audio according to the tone quality optimization strategy, and the processing mode can adopt a pre-trained neural network model to perform intelligent processing to obtain the target audio after optimization processing. The sending mode can be real-time sending or sending the optimized target audio to the wireless earphone according to a period with short interval, wherein the period can ensure the continuity of information transmission.
In the embodiment of the application, the terminal in communication connection with the wireless earphone determines the sound quality optimization strategy for the current audio through acquiring the characteristic information and the audio source information of the current audio of the wireless earphone. The pertinence and the intelligent degree of the tone quality optimization strategy are improved, so that the tone quality optimization effect is improved. Finally, when the target audio after the optimization processing is played, the wireless earphone can present higher tone quality matching degree, and the audio playing requirement is better ensured.
In accordance with the embodiment shown in fig. 2, please refer to fig. 3, fig. 3 is a flow chart of another method for optimizing sound quality of a wireless earphone according to an embodiment of the present application, which includes:
301. and acquiring the characteristic information and the audio source information of the current audio in the wireless earphone.
Step 301 is referred to the aforementioned step 201, and will not be described herein.
302. And when the current audio is determined to be the local input audio according to the audio source information, acquiring the ear canal information of the current user, and obtaining the ear canal map of the current user according to the ear canal information of the current user.
Specifically, it may be understood that when it is determined that the current audio is the local input audio, the sound quality optimization strategy is known, the sound quality is improved, and the ear canal information of the current user may be obtained, because there is a large difference between ear canals of different users, and the outer ear refers to the ear portion that can be seen from the outside of the human body, that is, the auricle and the outer ear canal. The middle ear consists of the tympanic membrane, middle ear cavity and ossicular chain. The inner ear is located within the temporal osseous part, including the semicircular canal, vestibule, and cochlea. The individual components of the ear canal have different structures and functions and the ear canal information is different for different users. Therefore, after the ear canal information of the current user is acquired, the ear canal map of the current user can be further obtained. Facilitating subsequent determination of the timbre optimization strategy.
303. And determining a first optimization strategy aiming at the current audio according to the characteristic information and the ear canal map of the current user, and taking the first optimization strategy as the tone quality optimization strategy.
Specifically, after the terminal acquires the characteristic information of the current audio and the ear canal map of the current user, the terminal can determine a first optimization strategy for the current audio, and the first optimization strategy is used as a tone quality optimization strategy.
304. And carrying out optimization processing on the current audio according to the tone quality optimization strategy to obtain optimized target audio, and sending the optimized target audio to the wireless earphone.
Step 304 is referred to the aforementioned step 203, and will not be described herein.
Therefore, when the current audio is the local input audio, the auditory canal information of the current user is obtained, and the sound quality optimization strategy is determined according to the current auditory canal information and the characteristic information of the current audio, so that the intelligent degree of the sound quality optimization strategy is higher, and the sound quality optimization effect is improved.
In one possible example, the optimizing the current audio according to the sound quality optimization policy to obtain the optimized target audio includes: performing frequency equalization processing on the current audio according to the ear canal map of the current user to obtain frequency-equalized audio; acquiring the transmission rate included in the characteristic information of the current audio, and judging whether the transmission rate meets a transmission rate threshold; if not, carrying out low-noise amplification processing on the audio subjected to the frequency equalization processing to obtain audio subjected to the low-noise amplification processing, and taking the audio subjected to the low-noise amplification processing as target audio.
Specifically, it can be understood that different ear canal maps correspond to different ear canal situations, and the sensitivity degrees of the different ear canal situations to different frequencies of high, medium, low, etc. in the same audio are different. Therefore, when the above sound quality optimization strategy is adopted to perform optimization processing on the current audio, frequency equalization processing is required to be performed on the current audio, that is, the frequency equalization processing is performed on different frequency components of high, medium, low and the like in the current audio, so that the tone of the sound source is beautified. And the defect of sound can be made up through the adjustment of frequency, the quality of audio signals is improved, and the basic requirement of frequency balance is achieved.
When the frequency equalization processing is carried out on the current audio, environment comprehensive parameters can be introduced, and the processing process is completed through a frequency equalization processing model. And performing frequency equalization processing on the current audio according to the ear canal map of the current user to obtain frequency-equalized audio. The environment comprehensive parameters include the noise type, noise frequency, etc. of the current environment. Noise types such as wind noise, human noise, and other types of noise, etc. The frequency equalization processing model is shown in the following formula:
Figure BDA0004010290200000071
where M represents the audio after the frequency equalization process,
Figure BDA0004010290200000072
For the initial frequency of the current audio, m is m audio files contained in the training sample data set, and the value range of i is more than or equal to 1 and less than or equal to m and alpha i Weight coefficient representing ear canal map E i The value B is the value after the vectorization representation of the auditory meatus map i Weight coefficient representing environment comprehensive parameter, C i And the value of the environment comprehensive parameters after vectorization representation is represented.
In addition, when it is determined that the transmission rate included in the feature information of the current audio does not meet the transmission rate threshold, in order to improve stability of audio signal transmission, low-noise amplification processing is required to be performed on the audio subjected to the frequency equalization processing, the audio subjected to the low-noise amplification processing is obtained, and the audio subjected to the low-noise amplification processing is used as the target audio. The noise coefficient of the low-noise amplifier is smaller than 0.7dB, and the gain range of the low-noise amplifier is 15dB-25dB. The high-performance low-noise amplifier is adopted, so that the signal-to-noise ratio of the current audio signal is greatly reduced, and the tone quality of the current audio is improved.
When the terminal optimizes the local audio, the terminal performs frequency equalization processing on the current audio aiming at the ear canal map of the current user, thereby beautifying the tone of the sound source in a targeted manner and achieving the effect of frequency equalization. And moreover, by adopting the low-noise amplifier, the interference caused by other signals can be reduced while the transmission rate of the audio signal is amplified, and the transmission stability is further improved.
In one possible example, the obtaining the ear canal information of the current user, and obtaining the ear canal map of the current user according to the ear canal information of the current user, includes: playing pre-stored ultrasonic waves positioned in a first frequency band; acquiring first feedback information corresponding to ultrasonic waves of the first frequency band, and drawing a first ear canal map of the current user according to the first feedback information; playing pre-stored ultrasonic waves positioned in a second frequency band; acquiring second feedback information corresponding to the ultrasonic waves of the second frequency band, and drawing a second ear canal map of the current user according to the second feedback information; and fitting and optimizing the first ear canal map and the second ear canal map to obtain the ear canal map of the current user.
Specifically, the frequency of sound waves which can be heard by human ears is 20 Hz-20000 Hz. Therefore, we call sound waves with frequencies above 20000Hz "ultrasound". Ultrasonic frequencies typically used for medical diagnostics range from 1MHz to 30MHz. The ultrasonic waves of the first frequency band and the ultrasonic waves of the second frequency band are both above 20000Hz, but are different for the frequency range. The ultrasonic detection of the ear canal information can utilize a time difference ranging method to detect the specific structures of the current user, the middle ear and the inner ear, and the ear canal information is obtained. And the accuracy of the test is improved by adjusting the frequency range of the detected ultrasonic wave and testing for multiple times. Considering that the error of the traditional ultrasonic ranging is large, the accuracy of the test result may be affected. Therefore, by analyzing the reason of the ultrasonic ranging error, the measuring time difference is improved to microsecond level, and after the acoustic wave propagation speed is compensated by adopting various types of temperature sensors, the precision of the first feedback information and the second feedback information in the ultrasonic test of the auditory canal is improved, and the measuring precision is reduced to millimeter level.
Therefore, when the ultrasonic wave is used for acquiring the auditory canal information of the current user, the accuracy of the feedback information is improved by utilizing the ultrasonic waves of different frequency bands, so that the auditory canal map drawn based on the feedback information is more accurate, the accuracy of ultrasonic wave measurement can be improved by utilizing the temperature sensor, and the error of auditory canal measurement is reduced to the millimeter level. The validity of the tone quality optimization strategy determined based on the auditory canal map is further improved, and the tone quality optimization effect is improved.
In one possible example, the determining a sound quality optimization strategy for the current audio according to the characteristic information and the audio source information of the current audio includes: acquiring the category of the current audio when the current audio is determined to be the external input audio according to the audio source information; acquiring any one or more of transmission rate, signal strength, delay degree and packet loss rate of the characteristic information of the current audio, and determining transmission stability according to the characteristic information; and determining a second optimization strategy aiming at the current audio according to the category of the current audio and the transmission stability, and taking the second optimization strategy as the tone quality optimization strategy.
Specifically, when determining a tone quality optimization strategy for a current audio according to characteristic information and audio source information of the current audio, the terminal determines that the current audio is an audio input from an external terminal according to the audio source information, and the audio corresponds to a category video call, a voice call and a mobile communication. And acquiring any one or more of transmission rate, signal strength, delay degree and packet loss rate of the characteristic information of the current audio, and comprehensively weighting and calculating the transmission stability of the current audio according to the characteristic information. For example, the stability value is 1-10, and the stability is good if the external input audio frequency is greater than or equal to 8 and the stability is good if the local input audio frequency is greater than or equal to 6. And determining a second optimization strategy aiming at the current audio according to the category and the transmission stability of the current audio, and taking the second optimization strategy as a tone quality optimization strategy.
Therefore, aiming at the current audio input by the external end, a tone quality optimization strategy is formulated according to different types of the audio and the transmission stability determined according to the characteristic information, so that the pertinence of tone quality optimization is improved, and the tone quality optimization effect is improved.
In one possible example, the determining a second optimization strategy for the current audio according to the class of the current audio and the transmission stability, using the second optimization strategy as the timbre optimization strategy includes: determining a transmission stability threshold according to the category of the current audio; determining a stability difference value to be lifted according to the transmission stability threshold and the transmission stability; and determining a second optimization strategy aiming at the current audio according to the stability difference value to be promoted, and taking the second optimization strategy as the tone quality optimization strategy.
Specifically, a mapping relation table of the audio class and the transmission stability threshold is preset, so that the corresponding transmission stability threshold can be determined according to the current audio class. Or the corresponding transmission stability threshold value can be obtained from the cloud in real time according to the category of the current audio. For example, the current audio is the audio corresponding to the video call, the transmission stability threshold is 8, and the value of the transmission stability of the current audio is 6, and the stability difference to be improved is 2 through calculation. Further, a second optimization strategy for the current audio is determined according to the stability difference value to be lifted, wherein the second optimization strategy can be to lift the transmitting power of the terminal so as to lift the communication distance between the terminal and the wireless earphone; or if the wireless earphone is connected with the terminal through the WIFI, a connection switching instruction can be sent to the wireless earphone, the wireless earphone is instructed to switch the WIFI connection into the Bluetooth connection, and interference of WIFI signals is reduced.
Therefore, the stability difference value to be lifted is determined through the transmission stability threshold value and the transmission stability, and the tone quality optimization strategy is determined according to the stability difference value to be lifted, so that the tone quality of the current audio can be effectively improved through improving the transmission stability of the current audio.
In one possible example, the optimizing the current audio according to the sound quality optimization policy to obtain the optimized target audio includes: the compression strategy included in the tone quality optimization strategy is obtained, and the current audio is compressed according to the compression strategy to obtain compressed audio; acquiring a signal amplification strategy included in the tone quality optimization strategy, and performing signal amplification processing on a level signal lower than a level signal threshold value in the compressed audio according to the signal amplification strategy to obtain a first smoothed audio; and obtaining a signal reduction strategy included in the tone quality optimization strategy, carrying out signal reduction processing on a level signal higher than a level signal threshold value in the compressed audio according to the signal reduction strategy to obtain second smoothed audio, and taking the second smoothed audio as a target audio.
In a specific implementation, when the current audio is optimized according to the tone quality optimization strategy, both the local input audio and the external input audio can be processed according to the strategy, and the current audio can also be differentiated according to the different optimization strategies. Taking the current audio as an external input audio as an example, the tone quality optimization strategies comprise a compression strategy, a signal amplification strategy, a signal reduction strategy and the like. The current audio is compressed, and part of information of the current audio is lost in the compression process, so that a pre-trained neural network can be adopted to determine a compression strategy, and the loss of key information is reduced. In addition, in order to reduce distortion and noise, the level signal higher than the level signal threshold in the audio after the compression processing can be subjected to signal reduction processing, so that the audio after the second smoothing processing is obtained, and the audio effect is improved. And carrying out signal amplification processing on a level signal lower than a level signal threshold value in the compressed audio.
In addition, volume control can be performed on the signals of all the input channels so as to achieve volume balance; a filter is arranged in the input channel and is used for eliminating certain noise in the current audio signal; the delayed reverberation processing of the audio signal is included to produce a certain reverberation effect on the audio signal.
Therefore, the current audio frequency is optimized according to the tone quality optimization strategy, the dynamic range of the audio frequency signal can be effectively compressed or limited, the relative variation range between the maximum level and the minimum level of the signal is reduced, and the purposes of reducing distortion, and the like are achieved.
Referring to fig. 4 again, a functional unit diagram of a device 400 for optimizing sound quality of a wireless earphone according to an embodiment of the present invention is shown, where the device 400 for optimizing sound quality of a wireless earphone according to an embodiment of the present invention may be a built-in device of an electronic device or may also be an external device of the electronic device.
In one implementation manner of the apparatus of the embodiment of the present invention, the apparatus includes:
an obtaining unit 410, configured to obtain characteristic information and audio source information of a current audio in the wireless headset;
a determining unit 420, configured to determine a sound quality optimization strategy for the current audio according to the characteristic information of the current audio and the audio source information;
and the processing unit 430 is configured to perform optimization processing on the current audio according to the tone quality optimization policy, obtain an optimized target audio, and send the optimized target audio to the wireless earphone.
In one possible example, in the aspect of determining a sound quality optimization strategy for the current audio according to the characteristic information of the current audio and the audio source information, the determining unit 420 is specifically configured to obtain ear canal information of a current user when determining that the current audio is local input audio according to the audio source information, and obtain an ear canal map of the current user according to the ear canal information of the current user; and determining a first optimization strategy aiming at the current audio according to the characteristic information and the ear canal map of the current user, and taking the first optimization strategy as the tone quality optimization strategy.
In one possible example, in the aspect of optimizing the current audio according to the sound quality optimization policy to obtain the optimized target audio, the processing unit 430 is specifically configured to perform frequency equalization processing on the current audio according to the ear canal map of the current user to obtain the frequency-equalized audio; acquiring the transmission rate included in the characteristic information of the current audio, and judging whether the transmission rate meets a transmission rate threshold; if not, carrying out low-noise amplification processing on the audio subjected to the frequency equalization processing to obtain audio subjected to the low-noise amplification processing, and taking the audio subjected to the low-noise amplification processing as target audio.
In one possible example, in the aspect of acquiring the ear canal information of the current user and obtaining the ear canal map of the current user according to the ear canal information of the current user, the acquiring unit 410 is specifically configured to play a pre-stored ultrasonic wave located in the first frequency band; acquiring first feedback information corresponding to ultrasonic waves of the first frequency band, and drawing a first ear canal map of the current user according to the first feedback information; playing pre-stored ultrasonic waves positioned in a second frequency band; acquiring second feedback information corresponding to the ultrasonic waves of the second frequency band, and drawing a second ear canal map of the current user according to the second feedback information; and fitting and optimizing the first ear canal map and the second ear canal map to obtain the ear canal map of the current user.
In one possible example, in the aspect of determining a sound quality optimization strategy for the current audio according to the feature information and the audio source information of the current audio, the determining unit 420 is specifically configured to obtain a category of the current audio when determining that the current audio is external input audio according to the audio source information; acquiring any one or more of transmission rate, signal strength, delay degree and packet loss rate of the characteristic information of the current audio, and determining transmission stability according to the characteristic information; and determining a second optimization strategy aiming at the current audio according to the category of the current audio and the transmission stability, and taking the second optimization strategy as the tone quality optimization strategy.
In one possible example, in the determining a second optimization strategy for the current audio according to the class of the current audio and the transmission stability, the determining unit 420 is specifically configured to determine a transmission stability threshold according to the class of the current audio, with the second optimization strategy being the timbre optimization strategy; determining a stability difference value to be lifted according to the transmission stability threshold and the transmission stability; and determining a second optimization strategy aiming at the current audio according to the stability difference value to be promoted, and taking the second optimization strategy as the tone quality optimization strategy.
In one possible example, in the aspect of optimizing the current audio according to the timbre optimization policy to obtain the optimized target audio, the processing unit 430 is specifically configured to obtain a compression policy included in the timbre optimization policy, and compress the current audio according to the compression policy to obtain the compressed audio; acquiring a signal amplification strategy included in the tone quality optimization strategy, and performing signal amplification processing on a level signal lower than a level signal threshold value in the compressed audio according to the signal amplification strategy to obtain a first smoothed audio; and obtaining a signal reduction strategy included in the tone quality optimization strategy, carrying out signal reduction processing on a level signal higher than a level signal threshold value in the compressed audio according to the signal reduction strategy to obtain second smoothed audio, and taking the second smoothed audio as a target audio.
In some embodiments, the sound quality optimization device of the wireless earphone can further comprise an input-output interface, a communication interface, a power supply and a communication bus.
According to the embodiment of the application, the function units of the tone quality optimization device of the wireless earphone can be divided according to the method example, for example, each function unit can be divided corresponding to each function, and two or more functions can be integrated in one processing unit. The integrated units may be implemented in hardware or in software functional units. It should be noted that, in the embodiment of the present application, the division of the units is schematic, which is merely a logic function division, and other division manners may be implemented in actual practice.
Referring to fig. 5 again, a schematic structural diagram of an electronic device according to an embodiment of the present invention includes a power supply module and other structures, and includes a processor 501, a storage device 502, and a communication interface 503. Data may be interacted between the processor 501, the storage device 502, and the communication interface 503.
The storage device 502 may include volatile memory (RAM), such as random-access memory (RAM); the storage device 502 may also include a non-volatile memory (non-volatile memory), such as a flash memory (flash memory), a Solid State Drive (SSD), etc.; the storage device 502 may also include a combination of the types of memory described above. The communication interface 503 is an interface for performing data interaction between internal devices of the electronic device, for example: between the memory device 502 and the processor 501.
The processor 501 may be a central processing unit 501 (central processing unit, CPU). In one embodiment, the processor 501 may also be a graphics processor 501 (Graphics Processing Unit, GPU). The processor 501 may also be a combination of a CPU and a GPU. In one embodiment, the storage device 502 is used to store program instructions. The processor 501 may call the program instructions to perform the following steps:
acquiring characteristic information and audio source information of current audio in the wireless earphone;
determining a tone quality optimization strategy for the current audio according to the characteristic information of the current audio and the audio source information;
and carrying out optimization processing on the current audio according to the tone quality optimization strategy to obtain optimized target audio, and sending the optimized target audio to the wireless earphone.
In one possible example, in the aspect of determining a sound quality optimization strategy for the current audio according to the characteristic information of the current audio and the audio source information, the processor 501 is specifically configured to obtain ear canal information of a current user when determining that the current audio is local input audio according to the audio source information, and obtain an ear canal map of the current user according to the ear canal information of the current user; and determining a first optimization strategy aiming at the current audio according to the characteristic information and the ear canal map of the current user, and taking the first optimization strategy as the tone quality optimization strategy.
In one possible example, in the aspect of optimizing the current audio according to the sound quality optimization policy to obtain the optimized target audio, the processor 501 is specifically configured to perform frequency equalization on the current audio according to the ear canal map of the current user to obtain the frequency-equalized audio; acquiring the transmission rate included in the characteristic information of the current audio, and judging whether the transmission rate meets a transmission rate threshold; if not, carrying out low-noise amplification processing on the audio subjected to the frequency equalization processing to obtain audio subjected to the low-noise amplification processing, and taking the audio subjected to the low-noise amplification processing as target audio.
In one possible example, in the aspect of acquiring the ear canal information of the current user and obtaining the ear canal map of the current user according to the ear canal information of the current user, the processor 501 is specifically configured to play a pre-stored ultrasonic wave located in the first frequency band; acquiring first feedback information corresponding to ultrasonic waves of the first frequency band, and drawing a first ear canal map of the current user according to the first feedback information; playing pre-stored ultrasonic waves positioned in a second frequency band; acquiring second feedback information corresponding to the ultrasonic waves of the second frequency band, and drawing a second ear canal map of the current user according to the second feedback information; and fitting and optimizing the first ear canal map and the second ear canal map to obtain the ear canal map of the current user.
In one possible example, in the aspect of determining a sound quality optimization strategy for the current audio according to the characteristic information and the audio source information of the current audio, the processor 501 is specifically configured to obtain a category of the current audio when determining that the current audio is external input audio according to the audio source information; acquiring any one or more of transmission rate, signal strength, delay degree and packet loss rate of the characteristic information of the current audio, and determining transmission stability according to the characteristic information; and determining a second optimization strategy aiming at the current audio according to the category of the current audio and the transmission stability, and taking the second optimization strategy as the tone quality optimization strategy.
In one possible example, in the determining a second optimization strategy for the current audio according to the class of the current audio and the transmission stability, the processor 501 is specifically configured to determine a transmission stability threshold according to the class of the current audio, with the second optimization strategy being the timbre optimization strategy; determining a stability difference value to be lifted according to the transmission stability threshold and the transmission stability; and determining a second optimization strategy aiming at the current audio according to the stability difference value to be promoted, and taking the second optimization strategy as the tone quality optimization strategy.
In one possible example, in the aspect of optimizing the current audio according to the timbre optimization policy to obtain the optimized target audio, the processor 501 is specifically configured to obtain a compression policy included in the timbre optimization policy, and compress the current audio according to the compression policy to obtain the compressed audio; acquiring a signal amplification strategy included in the tone quality optimization strategy, and performing signal amplification processing on a level signal lower than a level signal threshold value in the compressed audio according to the signal amplification strategy to obtain a first smoothed audio; and obtaining a signal reduction strategy included in the tone quality optimization strategy, carrying out signal reduction processing on a level signal higher than a level signal threshold value in the compressed audio according to the signal reduction strategy to obtain second smoothed audio, and taking the second smoothed audio as a target audio.
The present application also provides a computer storage medium storing a computer program for electronic data exchange, the computer program causing a computer to execute some or all of the steps of any one of the methods described in the method embodiments above.
Embodiments of the present application also provide a computer program product or computer program comprising computer instructions stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions to cause the computer device to perform part or all of the steps of any of the methods as described in the method embodiments above.
Those skilled in the art will appreciate that implementing all or part of the above-described methods in accordance with the embodiments may be accomplished by way of a computer program stored on a computer readable storage medium, which when executed may comprise the steps of the embodiments of the methods described above. 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 above disclosure is only a few examples of the present invention, and it is not intended to limit the scope of the present invention, but it is understood by those skilled in the art that all or a part of the above embodiments may be implemented and equivalents thereof may be modified according to the scope of the present invention.

Claims (10)

1. A method for optimizing sound quality of a wireless headset, the method comprising:
acquiring characteristic information and audio source information of current audio in the wireless earphone;
determining a tone quality optimization strategy for the current audio according to the characteristic information of the current audio and the audio source information;
and carrying out optimization processing on the current audio according to the tone quality optimization strategy to obtain optimized target audio, and sending the optimized target audio to the wireless earphone.
2. The method of claim 1, wherein the determining a sound quality optimization strategy for the current audio based on the characteristic information of the current audio and the audio source information comprises: when the current audio is determined to be the local input audio according to the audio source information, acquiring the ear canal information of the current user, and acquiring the ear canal map of the current user according to the ear canal information of the current user;
and determining a first optimization strategy aiming at the current audio according to the characteristic information and the ear canal map of the current user, and taking the first optimization strategy as the tone quality optimization strategy.
3. The method of claim 1, wherein optimizing the current audio according to the timbre optimization strategy to obtain the optimized target audio comprises:
performing frequency equalization processing on the current audio according to the ear canal map of the current user to obtain frequency-equalized audio;
acquiring the transmission rate included in the characteristic information of the current audio, and judging whether the transmission rate meets a transmission rate threshold;
if not, carrying out low-noise amplification processing on the audio subjected to the frequency equalization processing to obtain audio subjected to the low-noise amplification processing, and taking the audio subjected to the low-noise amplification processing as target audio.
4. The method according to claim 2, wherein the obtaining the ear canal information of the current user and obtaining the ear canal map of the current user according to the ear canal information of the current user includes:
playing pre-stored ultrasonic waves positioned in a first frequency band;
acquiring first feedback information corresponding to ultrasonic waves of the first frequency band, and drawing a first ear canal map of the current user according to the first feedback information;
playing pre-stored ultrasonic waves positioned in a second frequency band;
Acquiring second feedback information corresponding to the ultrasonic waves of the second frequency band, and drawing a second ear canal map of the current user according to the second feedback information;
and fitting and optimizing the first ear canal map and the second ear canal map to obtain the ear canal map of the current user.
5. The method of claim 1, wherein the determining a sound quality optimization strategy for the current audio based on the characteristic information and audio source information of the current audio comprises:
acquiring the category of the current audio when the current audio is determined to be the external input audio according to the audio source information;
acquiring any one or more of transmission rate, signal strength, delay degree and packet loss rate of the characteristic information of the current audio, and determining transmission stability according to the characteristic information;
and determining a second optimization strategy aiming at the current audio according to the category of the current audio and the transmission stability, and taking the second optimization strategy as the tone quality optimization strategy.
6. The method of claim 5, wherein the determining a second optimization strategy for the current audio based on the class of the current audio and the transmission stability, the second optimization strategy being the timbre optimization strategy, comprises:
Determining a transmission stability threshold according to the category of the current audio;
determining a stability difference value to be lifted according to the transmission stability threshold and the transmission stability;
and determining a second optimization strategy aiming at the current audio according to the stability difference value to be promoted, and taking the second optimization strategy as the tone quality optimization strategy.
7. The method according to any one of claims 1-6, wherein optimizing the current audio according to the timbre optimization strategy to obtain the optimized target audio comprises:
the compression strategy included in the tone quality optimization strategy is obtained, and the current audio is compressed according to the compression strategy to obtain compressed audio;
acquiring a signal amplification strategy included in the tone quality optimization strategy, and performing signal amplification processing on a level signal lower than a level signal threshold value in the compressed audio according to the signal amplification strategy to obtain a first smoothed audio;
and obtaining a signal reduction strategy included in the tone quality optimization strategy, carrying out signal reduction processing on a level signal higher than a level signal threshold value in the compressed audio according to the signal reduction strategy to obtain second smoothed audio, and taking the second smoothed audio as a target audio.
8. An electronic device comprising a processor, a memory for storing one or more programs and configured to be executed by the processor, the programs comprising instructions for performing the steps in the method of any of claims 1-7.
9. A computer-readable storage medium, characterized in that a computer program for electronic data exchange is stored, wherein the computer program causes a computer to perform the method according to any one of claims 1-7.
10. A computer program product, characterized in that the computer program product causes a computer to perform the method according to any of claims 1-7.
CN202211650405.0A 2021-01-22 2021-01-22 Sound quality optimization method of wireless earphone, related equipment, medium and program product Pending CN116193311A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211650405.0A CN116193311A (en) 2021-01-22 2021-01-22 Sound quality optimization method of wireless earphone, related equipment, medium and program product

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211650405.0A CN116193311A (en) 2021-01-22 2021-01-22 Sound quality optimization method of wireless earphone, related equipment, medium and program product
CN202110086949.8A CN112969115B (en) 2021-01-22 2021-01-22 Tone quality optimization method of wireless earphone and related equipment

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN202110086949.8A Division CN112969115B (en) 2021-01-22 2021-01-22 Tone quality optimization method of wireless earphone and related equipment

Publications (1)

Publication Number Publication Date
CN116193311A true CN116193311A (en) 2023-05-30

Family

ID=76271266

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202110086949.8A Active CN112969115B (en) 2021-01-22 2021-01-22 Tone quality optimization method of wireless earphone and related equipment
CN202211650405.0A Pending CN116193311A (en) 2021-01-22 2021-01-22 Sound quality optimization method of wireless earphone, related equipment, medium and program product

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN202110086949.8A Active CN112969115B (en) 2021-01-22 2021-01-22 Tone quality optimization method of wireless earphone and related equipment

Country Status (1)

Country Link
CN (2) CN112969115B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114006890B (en) * 2021-10-26 2024-02-06 深圳Tcl新技术有限公司 Data transmission method, device, storage medium and terminal device
CN117395181B (en) * 2023-12-12 2024-02-13 方图智能(深圳)科技集团股份有限公司 Low-delay multimedia audio transmission detection method and system based on Internet of things

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DK1368986T3 (en) * 2001-03-02 2012-02-27 3Shape As Method of modeling custom made earpieces
US9572981B2 (en) * 2012-04-03 2017-02-21 Vanderbilt University Methods and systems for customizing cochlear implant stimulation and applications of same
CN104078050A (en) * 2013-03-26 2014-10-01 杜比实验室特许公司 Device and method for audio classification and audio processing
US10355658B1 (en) * 2018-09-21 2019-07-16 Amazon Technologies, Inc Automatic volume control and leveler
CN109246515B (en) * 2018-10-09 2019-10-29 王青云 A kind of intelligent earphone and method promoting personalized sound quality function
CN111182125B (en) * 2018-11-13 2021-07-30 深圳市知赢科技有限公司 Prompting method for playing tone quality of wireless earphone, mobile terminal and storage medium

Also Published As

Publication number Publication date
CN112969115A (en) 2021-06-15
CN112969115B (en) 2022-12-02

Similar Documents

Publication Publication Date Title
WO2020057419A1 (en) Audio control method and device, and terminal
CN109068217B (en) Method and device for enhancing side tone of in-ear earphone and in-ear earphone
TW201227718A (en) Intelligibility control using ambient noise detection
CN112969115B (en) Tone quality optimization method of wireless earphone and related equipment
CN109314814B (en) Active noise reduction method and earphone
WO2023070792A1 (en) Volume balancing method and device for talk-on doorbell, and readable storage medium
EP4270987A1 (en) Audio signal processing method and system for suppressing echo
CN111901737A (en) Hearing aid parameter self-adaption method based on intelligent terminal
CN112947886A (en) Method and device for protecting user hearing and electronic equipment
CN114333886A (en) Audio processing method and device, electronic equipment and storage medium
CN113096677B (en) Intelligent noise reduction method and related equipment
CN113259801B (en) Horn noise reduction method and related device of intelligent earphone
WO2023197474A1 (en) Method for determining parameter corresponding to earphone mode, and earphone, terminal and system
CN205195930U (en) Headset
CN218162834U (en) Sound box system
CN116055951B (en) Signal processing method and electronic equipment
WO2023093113A1 (en) Mode switching method and apparatus, and audio playing device and computer-readable medium
US11265642B1 (en) Method for improving electrical endurance of batteries of wireless headphones and the wireless headphones
CN113873382A (en) Headset control method, headset, and computer-readable storage medium
WO2020220271A1 (en) Memory, acoustic unit and audio processing method and apparatus therefor, device and system
US20210112350A1 (en) Calibration for self fitting and hearing devices
CN102361491B (en) Cellphone with function of automatically equalizing and adjusting incoming call sound and method
CN110611524A (en) Bluetooth data information transmission method and device
WO2024098895A1 (en) Audio processing method and apparatus, and audio playback device and storage medium
CN116744169B (en) Earphone device, sound signal processing method and wearing fit testing method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication