Earphone recording method and device, earphone equipment and readable storage medium

The headset device receives and detects the audio signals of the mobile terminal, and performs real-time recording processing when receiving recording instructions, which solves the problem of difficulty in recording by smartphones such as IOS devices and achieves high-quality recording effects.

CN119450286APending Publication Date: 2025-02-14SHENZHEN KAICHUANG FUTURE TECHNOLOGY CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411373970.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-29
Publication Date
2025-02-14

AI Technical Summary

Technical Problem

Some smartphones, especially IOS devices, do not support native recording software, making it difficult to record calls, and even if paid recording software is used, the recording effect is poor.

Method used

Receive the audio signal sent by the mobile terminal through the headset device, detect whether the audio signal is call audio, and record it when the recording command is received, and perform real-time recording processing during the recording process, including spectrum analysis, filtering processing and echo suppression, to Improve recording quality.

Benefits of technology

It realizes recording without recording software through headphone devices, which is suitable for various mobile terminals, and significantly improves the recording quality through real-time recording processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119450286A_ABST
    Figure CN119450286A_ABST
Patent Text Reader

Abstract

The invention is suitable for the technical field of earphones, and provides an earphone recording method and device, earphone equipment and a readable storage medium. The earphone recording method comprises the following steps: receiving an audio signal sent by a mobile terminal; detecting the audio signal; when it is detected that the audio signal is call audio and a recording instruction is received, recording the call audio, and performing real-time recording processing in the recording process to obtain a recording file; and storing the recording file. According to the embodiment of the invention, recording can be realized through the earphone equipment, recording software is not needed for recording, and the method is suitable for various types of mobile terminals. In addition, real-time recording processing is carried out in the recording process, and the recording quality can be effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of earphone technology, and in particular relates to an earphone recording method, apparatus, earphone device and readable storage medium. Background Art

[0002] With the rapid development of mobile communication technology, smartphones have been widely used in daily life. People are increasingly accustomed to using smartphones for voice calls. In many application scenarios, users need to record the content of calls. However, in related technologies, some smartphones, such as IOS devices, do not support native recording software, so it is difficult to perform recording operations on such devices. In addition, for some smartphones, even if users purchase paid recording software to record, the final recording file still has the problem of poor recording effect. Summary of the invention

[0003] The embodiments of the present application provide an earphone recording method, apparatus, earphone device and readable storage medium, which can solve the problem in the related art that some smart devices are difficult to record calls, and even if they can record, the recording effect is poor.

[0004] In a first aspect, an embodiment of the present application provides an earphone recording method, which is applied to an earphone device in an earphone recording system. The earphone recording system also includes a mobile terminal, and the mobile terminal is connected to the earphone device via Bluetooth. The method includes:

[0005] receiving an audio signal sent by a mobile terminal;

[0006] Detecting audio signals;

[0007] When the audio signal is detected as a call audio and a recording instruction is received, the call audio is recorded, and real-time recording processing is performed during the recording process to obtain a recording file;

[0008] Save the recording file.

[0009] In a second aspect, an embodiment of the present application provides an earphone recording device, which is applied to an earphone device in an earphone recording system. The earphone recording system also includes a mobile terminal, and the mobile terminal is connected to the earphone device via Bluetooth. The device includes:

[0010] A receiving module, used for receiving an audio signal sent by a mobile terminal;

[0011] A detection module, used for detecting audio signals;

[0012] The recording module is used to record the call audio when the audio signal is detected to be a call audio and a recording instruction is received, and perform real-time recording processing during the recording process to obtain a recording file;

[0013] The storage module is used to store recording files.

[0014] In a third aspect, an embodiment of the present application provides a headphone device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the headphone recording method when executing the computer program.

[0015] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the steps of the above-mentioned headphone recording method are implemented.

[0016] In a fifth aspect, an embodiment of the present application provides a computer program product, which, when executed on a headphone device, enables the headphone device to execute the headphone recording method described above.

[0017] The beneficial effect of the embodiment of the present application compared with the prior art is that the embodiment of the present application receives the audio signal sent by the mobile terminal and detects the audio signal. When the audio signal is detected to be a call audio and a recording instruction is received, the call audio is recorded, and real-time recording processing is performed during the recording process to obtain a recording file and store the recording file. The embodiment of the present application can realize recording through a headphone device, and does not need to be recorded through recording software, and is applicable to various types of mobile terminals. In addition, real-time recording processing during the recording process can effectively improve the recording quality. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art 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 paying creative labor.

[0019] Figure 1 It is a schematic diagram of the implementation flow of the headphone recording method provided in an embodiment of the present application.

[0020] Figure 2 It is a structural schematic diagram of the headphone recording method and device provided in an embodiment of the present application.

[0021] Figure 3 It is a structural schematic diagram of the earphone device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0022] In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work are protected by the present application.

[0023] It should be noted that the terms "include", "comprises" and "have" and any variations thereof in the specification and claims of the present application and the above-mentioned drawings are intended to cover non-exclusive inclusions. For example, a process, method, terminal, product or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or devices. In the claims, specification and drawings of the present application, relational terms such as "first" and "second" are merely used to distinguish one entity / operation / object from another entity / operation / object, and do not necessarily require or imply any such real-time relationship or order between these entities / operations / objects.

[0024] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0025] With the rapid development of mobile communication technology, smartphones have been widely used in daily life. People are increasingly accustomed to using smartphones for voice calls. In many application scenarios, users need to record the content of calls. However, in related technologies, some smartphones, such as IOS devices, do not support native recording software, so it is difficult to perform recording operations on such devices. In addition, for some smartphones, even if users purchase paid recording software to record, the final recording file still has the problem of poor recording effect.

[0026] In view of this, the embodiment of the present application can realize recording through the earphone device, without the need for recording through recording software, and is applicable to various types of mobile terminals. In addition, real-time recording processing is performed during the recording process, which can effectively improve the recording quality.

[0027] In order to illustrate the technical solution of the present application, a specific embodiment is provided below for illustration.

[0028] Figure 1 A schematic diagram of the implementation process of a headphone recording method provided in an embodiment of the present application is shown, and the method can be applied to a headphone device in a headphone recording system. The headphone recording system may also include a mobile terminal, and the mobile terminal is connected to the headphone device via Bluetooth. Among them, the headphone device is a wearable device with audio receiving, playing and recording functions, which has functions such as data processing and Bluetooth connection. The mobile terminal can be a portable device such as a smart phone or a tablet computer, which has functions such as data processing, network communication and Bluetooth connection. Specifically, the above-mentioned headphone recording method may include the following steps S101 to S104.

[0029] It should be understood that a typical application scenario of the embodiment of the present application is to provide an earphone recording function for an iOS device. Generally speaking, an iOS device cannot record independently, so for an iOS device, it cannot record by itself to obtain a recording file. Based on this, for an iOS device, the embodiment of the present application uses an earphone device to record, solving the problem that an iOS device cannot record during a call.

[0030] Step S101: receiving an audio signal sent by a mobile terminal.

[0031] In an embodiment of the present application, the earphone device may receive an audio signal from the mobile terminal via a Bluetooth connection.

[0032] Step S102: Detect the audio signal.

[0033] In the implementation manner of the present application, after receiving the audio signal, the headset device can analyze the received audio signal through the processor inside the headset device to determine whether it is a call audio, which can be achieved by identifying a specific audio format, frequency characteristics or a specific trigger signal.

[0034] Step S103, when it is detected that the audio signal is a call audio and a recording instruction is received, the call audio is recorded, and real-time recording processing is performed during the recording process to obtain a recording file.

[0035] In an embodiment of the present application, the headphone device can receive a recording instruction from the user. Specifically, it can be implemented through a physical button on the headset, an interactive interface with a mobile terminal (such as a touch screen), or through voice control. Once the call audio is detected and a recording instruction is received, the headphone device can start recording the audio signal, and during the recording process, the headphone device can process the audio signal in real time to improve the recording quality. Specifically, it can include noise reduction, echo suppression, etc.

[0036] Step S104, storing the recording file.

[0037] In an embodiment of the present application, after the recording is completed, the processed audio data is saved as a recording file and stored in the internal memory of the headphone device.

[0038] It should be understood that in the embodiment of the present application, a memory is provided in the headphone device, and the memory can store recording files and other data.

[0039] The beneficial effect of the embodiment of the present application compared with the prior art is that the embodiment of the present application receives the audio signal sent by the mobile terminal and detects the audio signal. When the audio signal is detected to be a call audio and a recording instruction is received, the call audio is recorded, and real-time recording processing is performed during the recording process to obtain a recording file and store the recording file. The embodiment of the present application can realize recording through a headphone device, and does not need to be recorded through recording software, and is applicable to various types of mobile terminals. In addition, real-time recording processing during the recording process can effectively improve the recording quality.

[0040] In some implementations of the present application, the above-mentioned real-time recording processing during the recording process may specifically include steps S401 to S404.

[0041] Step S401, performing spectrum analysis on the call audio to obtain a corresponding spectrum signal.

[0042] Step S402: filter the spectrum signal to obtain a filtered spectrum signal.

[0043] Step S403: reconstruct the filtered spectrum signal to obtain a reconstructed audio file.

[0044] Step S404: post-process the reconstructed audio file to obtain a denoised audio file.

[0045] In an embodiment of the present application, the headphone device can use the FFT algorithm to perform a fast Fourier transform on the call audio, convert the time domain signal into a frequency domain signal, and analyze the spectrum to identify the amplitude and phase information of different frequency components. Then design a filter (such as a low-pass, high-pass, band-pass or band-stop filter), and the type and parameters of the filter can be selected according to requirements. The filter is applied to the spectrum signal to remove or weaken unnecessary frequency components. The IFFT algorithm can then be used to convert the filtered spectrum signal back to a time domain signal to obtain a reconstructed audio file. And a noise reduction algorithm (such as spectral subtraction, Wiener filtering, etc.) is applied to post-process the reconstructed audio file to further reduce residual noise.

[0046] The embodiments of the present application can effectively remove background noise in call audio through spectrum analysis and filtering processing, improve the clarity and intelligibility of speech, and thus enhance the user experience.

[0047] In some implementations of the present application, the above-mentioned real-time recording processing during the recording process may further include steps S501 to S503.

[0048] Step S501: Calculate the echo path of the headphone device.

[0049] During headphone recording or phone calls, echo is generated because the sound is captured again by the microphone after being emitted from the speaker. The echo path refers to the physical path of the sound from the speaker to the microphone, including delays and attenuation caused by factors such as air propagation and reflections inside the device.

[0050] In an embodiment of the present application, the headphone device may use an adaptive filter (such as a minimum mean square error LMS algorithm or a normalized minimum mean square error NLMS algorithm) to estimate the echo path. Specifically, the coefficients of the filter may be continuously adjusted so that the filter output is as close as possible to the echo signal received by the microphone. In addition, in some cases, the echo path may also be estimated by acoustic modeling.

[0051] Step S502: predicting an echo signal according to the echo path.

[0052] In an embodiment of the present application, after the echo path is estimated, the headphone device can use the current or previous speaker output signal as input to predict the echo signal to be received at the microphone through the echo path model (ie, adaptive filter or acoustic model).

[0053] Step S503: subtract the echo signal from the call audio to obtain an audio file after echo processing.

[0054] In an implementation manner of the present application, the earphone device may subtract the predicted echo signal from the original call audio received by the microphone to obtain an audio file after echo processing.

[0055] The implementation manner of the present application can significantly improve the recording quality by calculating and eliminating echoes in real time, making the call audio clearer and more natural.

[0056] In some specific implementations of the present application, the above-mentioned real-time recording processing during the recording process may specifically include step S601 and step S602.

[0057] Step S601, identifying a call environment corresponding to the call audio according to the call audio.

[0058] The call environment refers to the physical environment in which the call is made, such as a quiet office, a noisy street, or a car.

[0059] In the implementation of the present application, the headset device can use speech recognition technology or environmental sound analysis algorithm to identify the current call environment. Specifically, it can analyze the frequency distribution, volume change, specific noise pattern and other features in the audio signal, and compare these features with the corresponding preset environment template features to determine the closest environment type (such as quiet environment, noisy environment, indoor environment, outdoor environment, etc.).

[0060] Step S602, adjusting the recording parameters according to the call environment, and performing real-time recording processing according to the adjusted recording parameters.

[0061] Among them, recording parameters are settings used to control the recording quality during the recording process, such as gain (volume), frequency response (sound clarity), noise suppression level, etc.

[0062] In an embodiment of the present application, after identifying the call environment, the headphone device can automatically adjust the recording parameters according to a preset adjustment algorithm. Exemplarily, in a noisy environment, the level of noise suppression can be increased to reduce background noise. In a quiet environment, more attention can be paid to maintaining the original clarity of the sound and reducing unnecessary audio processing. Specific adjustment parameters may include gain (increasing or lowering the volume), equalizer settings (adjusting the sound intensity of different frequencies), compression (controlling dynamic range), etc. The headphone device can apply the adjusted recording parameters to instantly process the call audio captured in real time. The processing process may include noise suppression, echo cancellation, automatic gain control, sound beautification, etc. to improve the clarity and audibility of the recording.

[0063] The implementation method of the present application can significantly reduce the impact of environmental noise on recording quality by real-time identification of the call environment and adjustment of recording parameters, making the recording clearer and purer, so that users can obtain a relatively consistent, high-quality call recording experience whether in a noisy street or a quiet library.

[0064] In some specific implementations of the present application, after the recording file is stored, the following steps may also be included:

[0065] When the read command is received, the recording file is transmitted to the mobile terminal via Bluetooth.

[0066] In an embodiment of the present application, the headphone device can monitor a read instruction from a user or a mobile terminal. Specifically, this can be achieved by the user operating a specific button on the headset, clicking a button in the application interface on the mobile terminal, or sending a specific command to the headphone device. Once the read instruction is received, the headphone device can search for and prepare the recording file to be transmitted. Specifically, the file can be retrieved from the internal storage, encrypted (if necessary), and the data packet to be sent via Bluetooth can be prepared, and the recording file can be sent as a data packet to the mobile terminal. The mobile terminal can receive these data packets and reassemble them into a complete recording file.

[0067] The implementation method of the present application can transmit recording files wirelessly via Bluetooth, and users can easily transfer recording content from the headphone device to the mobile terminal for viewing, editing or sharing without the need for physical connection or additional equipment.

[0068] In some specific implementations of the present application, the above-mentioned detection of the audio signal may specifically include the following steps:

[0069] Continuously monitor the status of the classic Bluetooth audio channel in the headset device and determine whether the classic Bluetooth audio channel is transmitting call audio.

[0070] In an embodiment of the present application, the headphone device can continuously check the status of the classic Bluetooth audio channel, specifically by monitoring relevant events or state changes in the Bluetooth protocol stack. By checking the data stream or status flag in the audio channel, it can be determined whether the call audio is currently being transmitted. For example, if a specific synchronization signal or encoding mode is detected in the audio stream, it can be considered that a call is in progress, that is, the audio signal received by the headphone device at this time is the call audio.

[0071] In some specific implementations of the present application, the headphone device further includes a recording button, and the above method may further include the following steps:

[0072] When the recording button is triggered, a recording instruction is generated.

[0073] In the implementation of the present application, a recording button may be provided on the headset, and when the user presses or touches the recording button, a recording instruction may be generated to start recording. This design is suitable for scenarios where it is inconvenient to operate the recording through a mobile terminal and where quick recording is required.

[0074] Specifically, the headphone device can continuously monitor the status of the recording button. When the recording button is pressed, an electrical signal or interrupt signal is generated, and the headphone device generates a recording instruction to trigger the start of the recording function. Afterwards, the recording instruction can be sent to the module or subsystem responsible for the recording function. The module will start the microphone, configure the recording parameters and start capturing the audio signal. During the recording process, the audio signal will be digitized, processed and stored.

[0075] Figure 2 The structure diagram of an earphone recording device provided by an embodiment of the present application is shown. The earphone recording device 2 can be applied to an earphone device in an earphone recording system. The earphone recording system also includes a mobile terminal, and the mobile terminal is connected to the earphone device via Bluetooth. Specifically, the earphone recording device 2 can include:

[0076] The receiving module 201 is used to receive an audio signal sent by a mobile terminal;

[0077] A detection module 202, used to detect the audio signal;

[0078] The recording module 203 is used to record the call audio when the audio signal is detected to be a call audio and a recording instruction is received, and perform real-time recording processing during the recording process to obtain a recording file;

[0079] The storage module 204 is used to store recording files.

[0080] The beneficial effect of the embodiment of the present application compared with the prior art is that the embodiment of the present application receives the audio signal sent by the mobile terminal and detects the audio signal. When the audio signal is detected to be a call audio and a recording instruction is received, the call audio is recorded, and real-time recording processing is performed during the recording process to obtain a recording file and store the recording file. The embodiment of the present application can realize recording through a headphone device, and does not need to be recorded through recording software, and is applicable to various types of mobile terminals. In addition, real-time recording processing during the recording process can effectively improve the recording quality.

[0081] In some embodiments of the present application, the recording module 203 is further used to: perform spectral analysis on the call audio to obtain a corresponding spectral signal; filter the spectral signal to obtain a filtered spectral signal; reconstruct the filtered spectral signal to obtain a reconstructed audio file; and post-process the reconstructed audio file to obtain a noise-reduced audio file.

[0082] In some embodiments of the present application, the recording module 203 is further used to: calculate the echo path of the earphone device; predict the echo signal according to the echo path; and subtract the echo signal from the call audio to obtain an audio file after echo processing.

[0083] In some implementations of the present application, the recording module 203 is further used to: identify a call environment corresponding to the call audio based on the call audio; adjust recording parameters according to the call environment, and perform real-time recording processing according to the adjusted recording parameters.

[0084] In some embodiments of the present application, the headphone recording device 2 further includes a transmission module, which is used to transmit the recording file to the mobile terminal via Bluetooth when a read instruction is received.

[0085] In some implementations of the present application, the detection module 202 is further configured to: continuously monitor the status of the classic Bluetooth audio channel in the headset device, and determine whether the classic Bluetooth audio channel is transmitting call audio.

[0086] In some implementations of the present application, the headphone device includes a recording button, and the headphone recording device 2 further includes a generating module for generating a recording instruction when the recording button is triggered.

[0087] like Figure 3 FIG. 3 is a schematic diagram of an earphone device provided in an embodiment of the present application. The earphone device 3 may include: a processor 301, a memory 302, and a computer program 303 stored in the memory 302 and executable on the processor 301, such as an earphone recording program. When the processor 301 executes the computer program 303, the steps in the above-mentioned earphone recording embodiments are implemented, such as Figure 1 Alternatively, when the processor 301 executes the computer program 303, the functions of each module / unit in the above-mentioned device embodiments are implemented, for example Figure 2 The receiving module 201 , the detecting module 202 , the recording module 203 , and the storing module 204 are shown.

[0088] The computer program may be divided into one or more modules / units, one or more modules / units are stored in the memory 302 and executed by the processor 301 to complete the present application. One or more modules / units may be a series of computer program instruction segments capable of completing specific functions, and the instruction segments are used to describe the execution process of the computer program in the headphone device.

[0089] The headset device may include, but is not limited to, a processor 301 and a memory 302. Those skilled in the art will appreciate that Figure 3 It is only an example of a headphone device and does not constitute a limitation of the headphone device. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the headphone device may also include input and output devices, network access devices, buses, etc.

[0090] The processor 301 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0091] The memory 302 may be an internal storage unit of the headset device, such as a hard disk or memory of the headset device. The memory 302 may also be an external storage device of the headset device, such as a plug-in hard disk equipped on the headset device, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. Further, the memory 302 may also include both an internal storage unit of the headset device and an external storage device. The memory 302 is used to store computer programs and other programs and data required by the headset device. The memory 302 may also be used to temporarily store data that has been output or is to be output.

[0092] It should be noted that, for the convenience and brevity of description, the structure of the above-mentioned earphone device can also refer to the specific description of the structure in the method embodiment, which will not be repeated here.

[0093] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0094] An embodiment of the present application also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the steps in the above-mentioned headphone recording method can be implemented.

[0095] An embodiment of the present application provides a computer program product. When the computer program product runs on a mobile terminal, the mobile terminal can implement the steps in the above-mentioned headphone recording method when executing the computer program product.

[0096] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0097] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0098] In the embodiments provided in the present application, it should be understood that the disclosed device / headphone equipment and method can be implemented in other ways. For example, the device / headphone device embodiments described above are merely schematic. For example, the division of modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0099] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0100] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0101] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.

[0102] The above-described embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application is described in detail with reference to the aforementioned embodiments, a person of ordinary skill in the art should understand that the technical solutions described in the aforementioned embodiments can still be modified, or some of the technical features can be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application.

Claims

1. A headphone recording method, characterized in that: The headphone device is applied to a headphone recording system, the headphone recording system further comprising a mobile terminal, the mobile terminal being connected to the headphone device via Bluetooth, and the method comprising: receiving an audio signal sent by the mobile terminal; detecting the audio signal; When it is detected that the audio signal is a call audio and a recording instruction is received, the call audio is recorded, and real-time recording processing is performed during the recording process to obtain a recording file; The recording file is stored.

2. The headphone recording method according to claim 1, wherein: The real-time recording process during the recording process includes: Performing spectrum analysis on the call audio to obtain a corresponding spectrum signal; Performing filtering on the spectrum signal to obtain a filtered spectrum signal; Reconstructing the filtered spectrum signal to obtain a reconstructed audio file; The reconstructed audio file is post-processed to obtain a noise-reduced audio file.

3. The headphone recording method according to claim 1, wherein: The real-time recording process during the recording process includes: Calculating an echo path of the headphone device; predicting an echo signal according to the echo path; The echo signal is subtracted from the call audio to obtain an audio file after echo processing.

4. The headphone recording method according to claim 1, wherein: The real-time recording process during the recording process includes: identifying a call environment corresponding to the call audio according to the call audio; The recording parameters are adjusted according to the call environment, and real-time recording processing is performed according to the adjusted recording parameters.

5. The headphone recording method according to claim 1, wherein: After storing the recording file, the method further includes: When the read instruction is received, the recording file is transmitted to the mobile terminal via Bluetooth.

6. The headphone recording method according to claim 1, wherein: The detecting the audio signal comprises: Continuously monitor the status of the classic Bluetooth audio channel in the headset device, and determine whether the classic Bluetooth audio channel is transmitting call audio.

7. The headphone recording method according to claim 1, wherein: The headphone device includes a recording button, and the method further includes: When the recording button is triggered, a recording instruction is generated.

8. An earphone recording device, characterized in that: A headphone device used in a headphone recording system, wherein the headphone recording system further comprises a mobile terminal, wherein the mobile terminal is connected to the headphone device via Bluetooth, and the device comprises: A receiving module, used for receiving an audio signal sent by the mobile terminal; A detection module, used for detecting the audio signal; A recording module, for recording the call audio when it is detected that the audio signal is a call audio and a recording instruction is received, and performing real-time recording processing during the recording process to obtain a recording file; The storage module is used to store the recording file.

9. An earphone device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the earphone recording method according to any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the headphone recording method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Noise reduction earphone, conversation terminal, noise reduction control method and recording method

    CN109195044A

  • Bluetooth headset, Bluetooth headset control system and method, and storage medium

    CN112770209A

  • Recording method, earphone cabin, earphone and storage medium

    CN116939415A

  • Recording earphone

    CN205961381U