Audio processing method and charging box
By obtaining ambient sound data in the charging box and combining the voice data of Bluetooth headphones for noise reduction processing, the problem of high noise in voice communication of Bluetooth headphones is solved, and the call quality and clarity are improved.
Patent Information
- Application Number
- CN202311183209.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-13
- Publication Date
- 2025-03-14
AI Technical Summary
In voice communication, Bluetooth headphones have low microphone data, which leads to high noise, affecting call quality.
By setting up a microphone in the charging box, ambient voice data is obtained, and noise reduction is performed in combination with the voice data transmitted by Bluetooth headsets, it is transmitted to the terminal device to improve call clarity.
It effectively reduces the impact of environmental noise on call quality and improves the clarity of voice communication.
Smart Images

Figure CN119629530A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of audio processing technology, and in particular to an audio processing method and a charging box. Background Art
[0002] Bluetooth headsets provide a lot of convenience for current work and life, including providing users with voice communication and music output functions. Among them, when a user makes a voice call through a Bluetooth headset, the Bluetooth headset and the mobile phone are connected to each other through Bluetooth. Specifically, the microphone data on the single-sided headset is picked up, noise reduction is performed on it, and then uploaded to the remote end to realize the voice call.
[0003] However, most of the current Bluetooth headsets are in-ear Bluetooth headsets. The microphone on the Bluetooth headset can pick up a small amount of human voice data, resulting in the human voice obtained by the ENC (Environmental Noise Cancellation) algorithm not being clear enough. Therefore, there is noise in the audio data transmitted to the remote end, which makes the human voice heard by the other party talking to the user have a little noise and is not clear enough. Summary of the invention
[0004] The present application provides an audio processing method and a charging box, which can solve the problems of unclear communication and environmental noise affecting call quality when using Bluetooth headsets for voice communication.
[0005] The first aspect of the present application provides an audio processing method, which is applied to a charging box, and the charging box is connected to a Bluetooth headset and a terminal device via Bluetooth respectively, and the audio processing method includes:
[0006] Get the voice data transmitted by the Bluetooth headset;
[0007] Get the ambient sound data picked up by the microphone on the charging box;
[0008] Perform noise reduction processing based on voice data and ambient sound data to obtain noise reduction audio information;
[0009] The noise reduction audio information is transmitted to the terminal device.
[0010] Furthermore, the Bluetooth headset is connected to the terminal device via Bluetooth, and the noise reduction audio information includes noise reduction audio data; the step of transmitting the noise reduction audio information to the terminal device includes:
[0011] The noise reduction audio data is transmitted to the terminal device via Bluetooth headphones.
[0012] Furthermore, the noise reduction audio information includes a noise reduction level, and the audio processing method further includes:
[0013] The noise reduction level is fed back to the Bluetooth headset so that the Bluetooth headset adjusts the gain level of the feedforward microphone based on the noise reduction level; wherein the feedforward microphone is arranged in the Bluetooth headset.
[0014] Furthermore, the Bluetooth headset includes two headsets, and in response to any one of the Bluetooth headsets being connected to the charging box via Bluetooth, the step of performing noise reduction processing based on the voice data and the ambient sound data to obtain the noise reduction audio information includes:
[0015] Performing a first-level noise reduction process on the ambient sound data to filter out high-frequency noise and low-frequency noise included in the ambient sound data;
[0016] Generate first target audio data based on the voice data and the ambient sound data after the first-level noise reduction processing;
[0017] The first target audio data is subjected to noise reduction processing based on an environmental noise reduction algorithm to obtain noise reduction audio information.
[0018] Further, the Bluetooth headset includes a left headset and a right headset, the left headset is used to obtain first voice data, the first voice data is the voice data after the left headset performs a first-level noise reduction processing on the voice data, and the right headset is used to obtain second voice data, the second voice data is the voice data after the right headset performs a first-level noise reduction processing on the voice data;
[0019] In response to both the left earphone and the right earphone being connected to the charging box via Bluetooth, the step of performing noise reduction processing based on the voice data and the ambient sound data to obtain the noise reduction audio information includes:
[0020] generating second target audio data based on the first voice data and the second voice data;
[0021] The second target audio data and the ambient sound data are subjected to noise reduction processing based on an ambient noise reduction algorithm to obtain noise reduction audio information.
[0022] Furthermore, the step of obtaining the ambient sound data picked up by the microphone on the charging box includes:
[0023] Obtaining a first control instruction sent by the Bluetooth headset; wherein the first control instruction is used to indicate that the mobile terminal connected to the Bluetooth headset by Bluetooth is in a call;
[0024] Based on the first control instruction, ambient sound data is picked up by the microphone on the charging box.
[0025] Furthermore, the audio processing method further includes:
[0026] Get the opening and closing status of the charging box;
[0027] Generate a second control instruction based on the opening and closing state of the charging box;
[0028] Based on the second control instruction, the noise reduction audio data is stored locally.
[0029] Further, based on the second control instruction, the step of storing the voice data locally includes:
[0030] The noise reduction audio data is compressed based on a data compression algorithm, and the compressed noise reduction audio data is stored locally.
[0031] Furthermore, the audio processing method further includes:
[0032] Get the third control command sent by the Bluetooth headset;
[0033] Based on the third control instruction, transmitting the noise reduction audio data stored locally to the terminal device;
[0034] The noise reduction audio data stored locally is deleted based on a feedback signal from the terminal device; wherein the feedback signal from the terminal device indicates that the terminal device has completed receiving the noise reduction audio data.
[0035] The second aspect of the present application provides a charging box for executing the above-mentioned audio processing method, the charging box is connected to a Bluetooth headset and a terminal device via Bluetooth respectively, and the charging box includes:
[0036] A microphone is used to obtain ambient sound data, wherein the ambient sound data includes ambient sound data collected by the microphone;
[0037] A receiving module, used for receiving voice data transmitted by a Bluetooth headset;
[0038] A processing module, used for performing noise reduction processing based on voice data and ambient sound data to obtain noise reduction audio information;
[0039] The sending module is used to transmit the noise reduction audio information to the terminal device.
[0040] Different from the prior art, the present application receives voice data, i.e., human voice data, transmitted by a Bluetooth headset connected to the charging box via Bluetooth through a charging box, and at the same time, a microphone is provided on the charging box to obtain ambient sound data picked up by the microphone, and noise reduction processing is performed based on the acquired voice data and ambient sound data, so as to perform ambient sound noise reduction through the voice data and ambient sound data, and the noise reduction audio information obtained by the noise reduction processing is further transmitted to the terminal device, thereby reducing the ambient noise contained in the audio data uploaded to the remote end, that is, solving the problem of unclear human voice caused by noise in Bluetooth communication, improving the clarity of communication, and reducing the influence of ambient noise on call quality.
[0041] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0043] Figure 1 It is a flowchart of the first embodiment of the audio processing method of the present application;
[0044] Figure 2 yes Figure 1 Specific flow diagram of step S12;
[0045] Figure 3 yes Figure 1 A schematic diagram of a specific flow chart of the first embodiment of step S13;
[0046] Figure 4 yes Figure 1 A schematic diagram of a specific flow chart of the second embodiment of step S13;
[0047] Figure 5 yes Figure 1 A specific flow chart of step S14 in an embodiment;
[0048] Figure 6 is a flowchart of the second embodiment of the audio processing method of the present application;
[0049] Figure 7 is a flowchart of the third embodiment of the audio processing method of the present application;
[0050] Figure 8 is a flowchart of a fourth embodiment of the audio processing method of the present application;
[0051] Fig. 9 This is a first structural schematic diagram of an embodiment of a charging box of the present application;
[0052] Fig.10 This is a second structural diagram of an embodiment of a charging box of the present application. DETAILED DESCRIPTION
[0053] In order to enable those skilled in the art to better understand the technical solution of the present application, the audio processing method and charging box provided by the present application are further described in detail below in conjunction with the accompanying drawings and specific implementation methods. It can be understood that the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of this application.
[0054] The terms "first", "second", etc. in this application are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.
[0055] The present application provides an audio processing method to solve the problems of unclear communication and environmental noise affecting the call quality when using Bluetooth headsets for voice communication in the prior art. The audio processing method of the present application can be specifically performed by a headset component, see Fig. 9 , Fig. 9 This is a first structural diagram of an embodiment of the charging box of the present application. Fig. 9 As shown, the charging box 10 is provided with a microphone, specifically a first microphone 11, and the charging box 10 is connected to the Bluetooth headset 30 and the terminal device 20 via Bluetooth. Optionally, the Bluetooth headset 30 and the charging box 10 of this embodiment are connected via Bluetooth via CIS (multiple audio streams) of LE Audio (low-power Bluetooth audio). Optionally, the terminal device 20 of this embodiment can be a user's mobile phone or other communication device, etc.
[0056] Specifically, the Bluetooth headset 30 is provided with a second microphone 33 for collecting audio data. In particular, the second microphone 33 is used to collect human voice data generated by the user during voice communication, for example, the user's reply information to the other party of the communication, etc.
[0057] Optionally, generally speaking, the Bluetooth headset 30 includes a left headset 31 and a right headset 32, and the left headset 31 and the right headset 32 are both provided with a second microphone 33. Further, the number of the second microphones 33 on the left headset 31 and the right headset 32 may be greater than one. For example, in one embodiment, the left headset 31 and the right headset 32 are both provided with two second microphones 33, one of which may be a feedforward microphone, and the other may be a feedback microphone. Alternatively, in other embodiments, the left headset 31 and the right headset 32 are both provided with a plurality of second microphones 33.
[0058] The charging box 10 is provided with a first microphone 11 for collecting audio data. In particular, the first microphone 11 is used to collect ambient sound data of the user during voice communication. Since the user can wear the Bluetooth headset 30 in different occasions, and the environment in which the user is located is different depending on the occasion, the ambient sound data collected by the charging box 10 through the first microphone 11 includes different contents. For example, when the user is in a relatively quiet office, the ambient sound data collected includes a small amount of ambient noise and more voice data, and the voice data is the user's reply information to the other party of the communication, etc.; when the user is in a relatively noisy outdoor environment, the ambient sound data collected includes a large amount of ambient noise.
[0059] In some possible implementations, the audio processing method may also be implemented by a processor calling computer-readable instructions stored in a memory.
[0060] Combination Fig. 9 , see further Figure 1 , Figure 1 1 is a flowchart of the first embodiment of the audio processing method of the present application. Specifically, the audio processing method of the embodiment of the present disclosure may include the following steps:
[0061] Step S11: Acquire the voice data transmitted by the Bluetooth headset.
[0062] Among them, the Bluetooth headset 30 is used to collect voice data, wherein the voice data includes human voice data collected by the Bluetooth headset 30 through the second microphone 33 arranged thereon, and the charging box 10 realizes Bluetooth connection with the Bluetooth headset 30 through CIS (multiple audio streams) of LE Audio (low-power Bluetooth audio) to receive the voice data.
[0063] Step S12: Obtain the ambient sound data picked up by the microphone on the charging box.
[0064] The charging box 10 is used to collect ambient sound data, wherein the ambient sound data includes ambient sound data collected by the charging box 10 through a first microphone 11 arranged thereon.
[0065] Optionally, the present application also provides an embodiment for implementing step S12 to obtain the ambient sound data picked up by the first microphone 11 on the charging box 10. Figure 2 , Figure 2 yes Figure 1 The specific flow diagram of step S12 in FIG. Specifically, the following steps are included:
[0066] Step S121: Acquire a first control instruction sent by the Bluetooth headset.
[0067] Among them, the first control instruction is used to represent that the mobile terminal 20 connected to the Bluetooth headset 30 is in a call, that is, the user is making a voice call through the mobile terminal 20, and using the Bluetooth headset 30 to answer the voice information of the other party of the conversation, or outputting the reply voice information through the Bluetooth headset 30 and sending it to the mobile terminal 20 to realize the voice call. Therefore, it is necessary to perform noise reduction processing on the voice data. At this time, the Bluetooth headset 30 sends the first control instruction to the charging box 10 via Bluetooth to make it execute the corresponding program.
[0068] Step S122: Based on the first control instruction, ambient sound data is picked up by the microphone on the charging box.
[0069] Among them, when the charging box 10 receives the first control instruction sent by the Bluetooth headset 30, the ambient sound data is picked up by the microphone on the charging box 10, and specifically the ambient sound data is picked up by the first microphone 11.
[0070] Optionally, step S11 and step S12 of the above embodiment can be executed simultaneously, that is, the Bluetooth headset 30 sends voice data and a first control instruction at the same time, and the charging box 10 receives the voice data and picks up the ambient sound data based on the first control instruction at the same time; or step S11 is executed first and then step S12 is executed, that is, the Bluetooth headset 30 first sends voice data to the charging box 10, and in response to the charging box 10 receiving the voice data, the Bluetooth headset 30 further sends the first control instruction to the charging box 10, and the charging box 10 further picks up the ambient sound data based on the first control instruction.
[0071] Optionally, before executing step S11 and / or step S12, the charging box 10 of this embodiment may also send a control instruction to the Bluetooth headset 30, and the control instruction is used to prompt the Bluetooth headset 30 that the Bluetooth headset 30 has been successfully connected to the charging box 10. Based on the control instruction, the Bluetooth headset 30 can package the collected voice data and send it to the charging box 10, and / or send the first control instruction to the charging box 10. After receiving the control instruction sent by the charging box 10, the Bluetooth headset 30 compresses the voice data according to a certain compression format, and sends the compressed voice data to the charging box 10.
[0072] Step S13: performing noise reduction processing based on the voice data and the ambient sound data to obtain noise reduction audio information.
[0073] Among them, after the charging box 10 obtains voice data through step S11 and obtains ambient sound data through step S12, it performs ambient sound noise reduction processing based on the two to obtain clearer human voice information, that is, noise reduction audio information.
[0074] Optionally, the present application also provides an embodiment for implementing step S13 to obtain noise reduction audio information. In which, since the Bluetooth headset 30 includes two earphones, that is, the Bluetooth headset 30 includes a left earphone 31 and a right earphone 32, in response to any earphone of the Bluetooth headset 30 being connected to the charging box 10 by Bluetooth, that is, the user is in single-ear mode, the following is executed. Figure 3 Please continue to refer to the steps shown. Figure 3 , Figure 3 yes Figure 1 The specific flow chart of the first embodiment of step S13 in FIG. Specifically, the following steps are included:
[0075] Step S131: performing primary noise reduction processing on the ambient sound data to filter out high-frequency noise and low-frequency noise included in the ambient sound data.
[0076] Among them, the charging box 10 can collect the ambient sound data through the first microphone 11, which may include most of the ambient sound data and a small part of the human voice data, that is, the charging box 10 can also collect human voice data, so the charging box 10 performs a first-level noise reduction process on the ambient sound data to filter out the high-frequency noise and low-frequency noise included in the ambient sound data. Among them, the first-level noise reduction process used in this embodiment can be a conventional noise reduction process, which is not limited here.
[0077] Optionally, the charging box 10 of this embodiment may be provided with multiple first microphones 11, wherein the order of acquiring the ambient sound data may be determined based on the hardware of the multiple first microphones 11 themselves, that is, the ambient sound data is collected in sequence by the first microphones 11 sorted according to the hardware.
[0078] Step S132: Generate first target audio data based on the voice data and the ambient sound data after the first-level noise reduction processing.
[0079] Among them, the charging box 10 receives the voice data sent by the Bluetooth headset 30, and generates the first target audio data based on the voice data and the ambient sound data after the first-level noise reduction processing. Specifically, the voice data and the ambient sound data after the first-level noise reduction processing can be packaged to form complete frame data.
[0080] Optionally, before the Bluetooth headset 30 sends the voice data to the charging box 10, data packaging processing is required. Therefore, after the charging box 10 receives the voice data, it is necessary to perform corresponding decompression operations and then further execute step S132.
[0081] Step S133: performing noise reduction processing on the first target audio data based on an environmental noise reduction algorithm to obtain noise reduction audio information.
[0082] Among them, the charging box 10 performs noise reduction processing on the first target audio data based on the environmental noise reduction algorithm (ie, the ENC uplink noise reduction algorithm) to obtain noise reduction audio information.
[0083] Optionally, the present application also provides an embodiment for implementing step S13 to obtain noise reduction audio information. In this embodiment, the left earphone 31 in the Bluetooth headset 30 is used to obtain first voice data, and the first voice data is the voice data after the left earphone 31 performs a first-level noise reduction process on the voice data, and the right earphone 32 in the Bluetooth headset 30 is used to obtain second voice data, and the second voice data is the voice data after the right earphone 32 performs a first-level noise reduction process on the voice data. Among them, the first-level noise reduction process used in this embodiment can be a conventional noise reduction process, which is not limited here.
[0084] In response to the left earphone 31 and the right earphone 32 being connected to the charging box 10 by Bluetooth, that is, the user is in binaural mode, the charging box 10 executes the following steps: Figure 4 Please continue to Figure 4 , Figure 4 yes Figure 1 The specific flow chart of the second embodiment of step S13 in FIG. Specifically, the following steps are included:
[0085] Step S134: Generate second target audio data based on the first voice data and the second voice data.
[0086] Among them, the charging box 10 is connected to the left earphone 31 and the right earphone 32 via Bluetooth respectively. The charging box 10 receives the first voice data sent by the left earphone 31 and the second voice data sent by the right earphone 32, and further generates the second target audio data based on the first voice data and the second voice data. Specifically, the first voice data and the second voice data can be packaged to form complete frame data.
[0087] Optionally, before the left earphone 31 sends the first voice data to the charging box 10, data packaging processing is required, so after the charging box 10 receives the first voice data, a corresponding decompression operation is required; at the same time, before the right earphone 32 sends the second voice data to the charging box 10, data packaging processing is required, so after the charging box 10 receives the second voice data, a corresponding decompression operation is required; after the charging box 10 obtains the decompressed first voice data and second voice data, step S134 is further executed.
[0088] Step S135: performing noise reduction processing on the second target audio data and the ambient sound data based on an ambient noise reduction algorithm to obtain noise-reduced audio information.
[0089] Among them, the charging box 10 performs noise reduction processing on the second target audio data and the ambient sound data based on the environmental noise reduction algorithm (ie, the ENC uplink noise reduction algorithm) to obtain noise reduction audio information.
[0090] Optionally, this embodiment can determine the main earphone and the auxiliary earphone according to the wearing order of the left earphone 31 and the right earphone 32, and then determine the data synchronization time and the communication order with the charging box 10. Alternatively, this embodiment can also determine whether to switch the communication target based on the wearing order of the left earphone 31 and the right earphone 32.
[0091] Based on the above embodiments, the audio processing method of the present application can be applied to different modes of users wearing the Bluetooth headset 30, and has strong applicability.
[0092] After the charging box 10 completes step S131-step S132, or completes step S133-step S135, the charging box 10 further transmits the acquired noise reduction audio information to the terminal device 20, that is, executes step S14.
[0093] Step S14: Transmit the noise reduction audio information to the terminal device.
[0094] The charging box 10 transmits the noise reduction audio information to the terminal device 20 via Bluetooth, so that the other party who is talking to the user using the terminal device 20 can obtain the noise reduction audio information, that is, listen to the user's voice.
[0095] Optionally, the present application also provides an embodiment for implementing step S14 to transmit the noise reduction audio information to the terminal device 20. Please continue to refer to Figure 5 , Figure 5 yes Figure 1 The specific flow diagram of step S14 in the embodiment of FIG. 1 includes the following steps:
[0096] Step S141: transmitting the noise reduction audio data to the terminal device via the Bluetooth headset.
[0097] Among them, in this embodiment, the Bluetooth headset 30 is connected to the terminal device 20 via Bluetooth. The noise reduction audio information includes noise reduction audio data, and the charging box 10 first transmits the noise reduction audio data to the Bluetooth headset 30 via Bluetooth, and then further transmits the noise reduction audio data to the terminal device 20 via Bluetooth through the Bluetooth headset 30.
[0098] The audio processing method of this embodiment picks up ambient sound data through the first microphone 11 of the charging box 10, and picks up voice data through the second microphone 33 on the Bluetooth headset 30, and performs corresponding noise reduction processing on the ambient sound data and voice data based on different wearing modes of the Bluetooth headset 30, and finally obtains noise reduction audio information after double noise reduction processing, thereby effectively reducing the ambient noise contained in the audio data uploaded to the remote end, solving the problem of unclear human voice caused by noise in Bluetooth communication, improving the clarity of communication, and reducing the influence of ambient noise on call quality.
[0099] Furthermore, the charging box 10 can also compress the noise reduction audio data based on a data compression algorithm, and store the compressed noise reduction audio data locally. Optionally, the data compression algorithm described in this embodiment can be an OPUS (sound coding format) compression method.
[0100] On the other hand, when the user uses a Bluetooth headset to make a call, the Bluetooth headset will automatically switch to transparency mode, or the user will switch to transparency mode on his own initiative, so that external sounds can enter the Bluetooth headset, avoiding danger caused by the user's inability to observe the surrounding environment. However, the ambient noise heard by the user will affect the call quality.
[0101] Optionally, the present application also provides another audio processing method to solve the problem that the ambient noise affects the call quality when using Bluetooth headsets for voice communication. Fig. 9 , see further Figure 6 , Figure 6 1 is a flow chart of the second embodiment of the audio processing method of the present application. Specifically, the audio processing method of the embodiment of the present disclosure may include the following steps:
[0102] Step S11: Acquire the voice data transmitted by the Bluetooth headset.
[0103] Step S12: Obtain the ambient sound data picked up by the microphone on the charging box.
[0104] Step S13: performing noise reduction processing based on the voice data and the ambient sound data to obtain noise reduction audio information.
[0105] Among them, step S11 to step S13 are as described in the above-mentioned step S11 to step S13, and will not be repeated here.
[0106] Step S15: Feedback the noise reduction level to the Bluetooth headset, so that the Bluetooth headset adjusts the gain level of the feedforward microphone based on the noise reduction level.
[0107] In this embodiment, the noise reduction audio information includes the noise reduction level. Optionally, a feedforward microphone (not shown) is provided on the Bluetooth headset 30. Optionally, in one embodiment, the feedforward microphone may be one of the plurality of second microphones 33.
[0108] The Bluetooth headset 30 collects voice data through the second microphone 33, and the Bluetooth headset 30 calculates the current environmental noise level based on the voice data. Specifically, the Bluetooth headset 30 can determine the current environmental noise level by the decibel value of the acquired external environmental noise. For example, 45dB-60dB is the first level, 60dB-80dB is the second level, and 80dB or more is the third level, and so on.
[0109] The Bluetooth headset 30 sends the calculated ambient noise level to the charging box 10 via Bluetooth, and the charging box 10 stores the ambient noise level.
[0110] When the charging box 10 receives new voice data sent by the Bluetooth headset 30, the stored ambient noise level can be fed back to the Bluetooth headset 30 so that the Bluetooth headset 30 adjusts the gain level of the feedforward microphone based on the ambient noise level, that is, reduces the amount of ambient volume picked up by the feedforward microphone.
[0111] At the same time, when the charging box 10 receives new voice data sent by the Bluetooth headset 30, it can also use the EQ (Equalizer) algorithm to enhance the human voice, and feed the enhanced human voice data back to the Bluetooth headset 30 for playback.
[0112] The audio processing method of this embodiment can solve the problem of environmental noise affecting call quality when using Bluetooth headsets for voice communication by combining reducing the picked-up ambient volume and enhancing the human voice.
[0113] On the other hand, application scenarios in which users wear Bluetooth headsets for communication may include conference communications. Therefore, when users conduct conference communications, data recording is required when discussing key points of the conference.
[0114] Optionally, the present application also provides another audio processing method, which can directly record data when wearing a Bluetooth headset 30. Fig. 9 , see further Figure 7 , Figure 7 1 is a flowchart of the third embodiment of the audio processing method of the present application. Specifically, the audio processing method of the embodiment of the present disclosure may include the following steps:
[0115] Step S21: Obtain the opening and closing status of the charging box.
[0116] Among them, a detection circuit or a corresponding control circuit may be provided in the charging box 10 to detect the switch state of the charging box 10.
[0117] Step S22: Generate a second control instruction based on the opening and closing state of the charging box.
[0118] The second control instruction includes a start instruction and a stop instruction. Specifically, when it is detected that the charging box 10 changes from a closed state to an open state, the detection circuit or the control circuit generates a start instruction, and the charging box 10 records the noise reduction audio data from the current moment; when it is detected that the charging box 10 changes from an open state to a closed state, the detection circuit or the control circuit generates a stop instruction, and the charging box 10 stops recording.
[0119] Step S23: Based on the second control instruction, the noise reduction audio data is stored locally.
[0120] The duration of the detection of the opening state of the charging box 10 is the total time for the charging box 10 to record the noise reduction audio data, and all the noise reduction audio data recorded in this time period needs to be stored. Specifically, the charging box 10 compresses the noise reduction audio data based on the data compression algorithm, and stores the compressed noise reduction audio data locally.
[0121] This embodiment detects the opening and closing status of the charging box 10 to achieve real-time recording of important meeting information, while reducing the amount of data that needs to be stored and improving the speed of subsequent sorting of data information.
[0122] Optionally, the present application also provides another audio processing method, which can send the noise reduction audio data stored locally in the charging box 10 to a terminal device 20 with a larger memory data volume for storage, thereby preventing the noise reduction audio data stored in the charging box 10 from being lost.
[0123] Combination Figure 7 and Fig. 9 , see further Figure 8 , Figure 8 1 is a flowchart of the fourth embodiment of the audio processing method of the present application. Specifically, the audio processing method of the embodiment of the present disclosure may include the following steps:
[0124] Step S24: Acquire the third control instruction sent by the Bluetooth headset.
[0125] Among them, in this embodiment, the charging box 10 and the Bluetooth headset 30 are connected by Bluetooth, and the Bluetooth headset 30 and the terminal device 20 are connected by Bluetooth. When the user sends a signal to the Bluetooth headset 30 through the terminal device 20, so that the Bluetooth headset 30 sends a Bluetooth connection instruction to the charging box 10 based on the signal, the charging box 10 and the terminal device 20 that are not in the Bluetooth connection state realize Bluetooth connection.
[0126] Specifically, the user clicks on the APP (Application) in the terminal device 20, and there is a corresponding function button in the APP, such as reading and storing data. At this time, the user clicks the function button, causing the terminal device 20 to send a signal to the Bluetooth headset 30 to connect to the charging box 10 via Bluetooth and perform subsequent operations.
[0127] Step S25: Based on the third control instruction, the noise reduction audio data stored locally is transmitted to the terminal device.
[0128] Among them, the third control instruction of this embodiment is the above-mentioned Bluetooth connection instruction. The charging box 10 realizes Bluetooth connection with the terminal device 20 based on the third control instruction, and transmits the noise reduction audio data stored locally to the terminal device 20.
[0129] Step S26: deleting the noise reduction audio data stored locally based on the feedback signal from the terminal device.
[0130] The feedback signal from the terminal device 20 indicates that the terminal device 20 has completed receiving the noise reduction audio data. When the charging box 10 receives the feedback signal from the terminal device 20, the noise reduction audio data stored locally can be deleted.
[0131] In this embodiment, the noise reduction audio data stored locally in the charging box 10 is sent to the terminal device 20 by the user clicking on the APP of the terminal device 20. The terminal device 20 has a larger memory data volume, which can prevent the noise reduction audio data stored in the charging box 10 from being lost, while saving the storage data volume of the charging box 10.
[0132] This application also provides another charging box, combined with Fig. 9 , see further Fig.10 , Fig.10 1 is a second structural diagram of an embodiment of a charging box of the present application. The charging box 10 of this embodiment can execute the audio processing method described in any of the above embodiments. Fig.10 As shown, the charging box 10 of this embodiment may be provided with a microphone 101 , a receiving module 102 , a processing module 103 and a sending module 104 .
[0133] Specifically, the microphone 101 of this embodiment can be the first microphone 11 described in any of the above embodiments, and the microphone 101 is used to obtain ambient sound data, wherein the ambient sound data includes ambient sound data collected by the microphone 101. The receiving module 102 is used to receive voice data transmitted by the Bluetooth headset 30, specifically, voice data collected by the Bluetooth headset 30 through the second microphone 33.
[0134] The processing module 103 is connected to the microphone 101 and the receiving module 102 respectively, and the processing module 103 is used to perform noise reduction processing based on the voice data and the ambient sound data to obtain noise reduction audio information.
[0135] The sending module 104 is connected to the processing module 103 and is connected to the terminal device 20 via Bluetooth. The sending module 104 is used to transmit the noise reduction audio information to the terminal device 20 .
[0136] The above are merely embodiments of the present application and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. An audio processing method, applied to a charging box, wherein the charging box is connected to a Bluetooth headset and a terminal device via Bluetooth, and characterized in that: The audio processing method comprises: Acquire voice data transmitted by the Bluetooth headset; Acquire ambient sound data picked up by the microphone on the charging box; Perform noise reduction processing based on the voice data and the ambient sound data to obtain noise reduction audio information; The noise reduction audio information is transmitted to the terminal device.
2. The audio processing method according to claim 1, characterized in that: The Bluetooth headset is connected to the terminal device via Bluetooth, and the noise reduction audio information includes noise reduction audio data; and the step of transmitting the noise reduction audio information to the terminal device includes: The noise reduction audio data is transmitted to the terminal device via the Bluetooth headset.
3. The audio processing method according to claim 1, characterized in that: The noise reduction audio information includes a noise reduction level, and the audio processing method further includes: The noise reduction level is fed back to the Bluetooth headset so that the Bluetooth headset adjusts the gain level of the feedforward microphone based on the noise reduction level; wherein the feedforward microphone is arranged on the Bluetooth headset.
4. The audio processing method according to claim 1, characterized in that: The Bluetooth headset includes two headsets, and in response to any one of the Bluetooth headsets being connected to the charging box via Bluetooth, the step of performing noise reduction processing based on the voice data and the ambient sound data to obtain noise reduction audio information includes: Performing a first-level noise reduction process on the ambient sound data to filter out high-frequency noise and low-frequency noise included in the ambient sound data; Generate first target audio data based on the voice data and the ambient sound data after the primary noise reduction processing; The first target audio data is subjected to noise reduction processing based on an environmental noise reduction algorithm to obtain the noise reduction audio information.
5. The audio processing method according to claim 1, characterized in that: The Bluetooth headset comprises a left headset and a right headset, the left headset is used to obtain first voice data, the first voice data is the voice data after the left headset performs a first-level noise reduction process on the voice data, and the right headset is used to obtain second voice data, the second voice data is the voice data after the right headset performs a first-level noise reduction process on the voice data; In response to the left earphone and the right earphone being connected to the charging box via Bluetooth, the step of performing noise reduction processing based on the voice data and the ambient sound data to obtain noise reduction audio information includes: generating second target audio data based on the first voice data and the second voice data; The second target audio data and the ambient sound data are subjected to noise reduction processing based on an ambient noise reduction algorithm to obtain the noise reduction audio information.
6. The audio processing method according to claim 1, characterized in that: The step of obtaining the ambient sound data picked up by the microphone on the charging box includes: Obtaining a first control instruction sent by the Bluetooth headset; wherein the first control instruction is used to indicate that the mobile terminal connected to the Bluetooth headset by Bluetooth is in a call; Based on the first control instruction, the ambient sound data is picked up by the microphone on the charging box.
7. The audio processing method according to claim 2, characterized in that: The audio processing method further comprises: Obtaining the opening and closing status of the charging box; Generate a second control instruction based on the opening and closing state of the charging box; Based on the second control instruction, the noise reduction audio data is stored locally.
8. The audio processing method according to claim 7, characterized in that: The step of storing the voice data locally based on the second control instruction includes: The noise reduction audio data is compressed based on a data compression algorithm, and the compressed noise reduction audio data is stored locally.
9. The audio processing method according to claim 8, characterized in that: The audio processing method further comprises: Obtaining a third control instruction sent by the Bluetooth headset; Based on the third control instruction, transmitting the noise reduction audio data stored locally to the terminal device; The noise reduction audio data stored locally is deleted based on a feedback signal from the terminal device; wherein the feedback signal from the terminal device indicates that the terminal device has completed receiving the noise reduction audio data.
10. A charging box, used to execute the audio processing method according to any one of claims 1 to 9, characterized in that: The charging box is connected to the Bluetooth headset and the terminal device via Bluetooth respectively, and the charging box includes: A microphone, used to obtain ambient sound data, wherein the ambient sound data includes the ambient sound data collected by the microphone; A receiving module, used for receiving voice data transmitted by the Bluetooth headset; A processing module, configured to perform noise reduction processing based on the voice data and the ambient sound data to obtain noise reduction audio information; A sending module is used to transmit the noise reduction audio information to the terminal device.