Multi-tone-area microphone grabbing method and system based on vehicle-mounted sound recording equipment, vehicle and medium

By recording and comparing sound zone sound data from multiple vehicle-mounted recording devices, the problem of difficult recognition of karaoke songs by multiple singers is solved, accurate karaoke effects and better user experience are achieved, and vehicle hardware resources are used to improve karaoke entertainment. sex.

CN118692494APending Publication Date: 2024-09-24CHONGQING CHANGAN AUTOMOBILE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410803428.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-20
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

The existing karaoke solution based on the microphone recording equipment in the smart car cabin cannot accurately identify karaoke information at different locations when there are multiple singers, resulting in karaoke effects that cannot be guaranteed.

Method used

Multiple on-board recording devices are used to record sounds from different sound zones at the same time. By decomposing and comparing single-channel sound data and accompaniment audio data, the target sound data is determined, and the multi-sound zone microphone grabbing results are output to achieve accurate karaoke effects.

Benefits of technology

It significantly improves the accuracy and user experience of karaoke, adds in-car entertainment interaction methods, makes full use of vehicle hardware resources, and improves resource utilization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118692494A
    Figure CN118692494A
Patent Text Reader

Abstract

The invention relates to the technical field of intelligent driving, in particular to a multi-tone-area microphone grabbing method and system based on vehicle-mounted sound recording equipment, a vehicle and a medium. According to the invention, a plurality of vehicle-mounted sound recording devices are utilized to record sounds in different sound areas at the same time to obtain multiple paths of sound data; decomposing the multi-channel sound data according to a preset data format and a data bit depth to obtain single-channel sound data corresponding to each sound area; according to the method, the accompaniment audio data corresponding to each sound area is obtained based on the single-path sound data, and the accompaniment audio data is compared with the corresponding single-path sound data to obtain the fastest and most accurate target sound data, so that a microphone grabbing result is realized. According to the invention, based on the pickup microphones installed in multiple directions in the vehicle cabin, the single-channel sound data of different sound areas in the cabin are recorded and are independently compared with the accompaniment audio data, so that the fastest and most accurate target sound data are screened out, good karaoke experience is realized, the interaction and riding experience of a user can be enhanced, and the user experience is improved. And the utilization rate of hardware resources is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of intelligent driving technology, and in particular to a multi-zone microphone grabbing method, system, vehicle and medium based on a vehicle-mounted recording device. Background Art

[0002] With the rapid development of intelligent driving technology, in order to achieve better voice recognition effects in the car, many car smart cockpits are equipped with microphone recording devices with different numbers of sound zones, such as 2 sound zones and 4 sound zones. When the current scene is detected as a karaoke scene, these microphone recording devices can be used to record and play the singer's karaoke voice.

[0003] At present, the solution to realize the karaoke function based on the microphone recording device in the smart cockpit of the car is usually based on all the microphones in the car's smart cockpit to collect the voice information of the driver and passengers, and locate the actual position of at least one singer based on the sound information; extract the sound signal emitted from the actual position according to the sound information, and control the vehicle to play entertainment according to the karaoke information generated by the sound signal. Although this karaoke solution does not require an external handheld microphone and reduces external devices, it is necessary to locate the actual position of the singer based on the sound information and extract the sound signal emitted from the actual position to generate the karaoke information. It can be seen that if there are multiple singers, the karaoke information from different positions may not be accurately identified, resulting in the karaoke effect cannot be guaranteed.

[0004] In summary, the existing karaoke solutions based on microphone recording devices in the car's smart cockpit may not be able to accurately identify karaoke information from different locations when there are multiple singers, resulting in the inability to guarantee the karaoke effect.

[0005] Therefore, the prior art still needs to be improved and enhanced. Summary of the invention

[0006] The present application provides a multi-zone microphone grabbing method, system, vehicle and medium based on a vehicle-mounted recording device to solve the technical problem that the autonomous driving control method of the related technology cannot execute the control strategy in unfamiliar scenarios and cannot ensure the safety of driving.

[0007] To achieve the above objectives, this application adopts the following technical solutions:

[0008] The first embodiment of the present application provides a multi-zone microphone grabbing method based on a vehicle-mounted recording device, comprising the following steps:

[0009] Use several on-vehicle recording devices to record sounds from different sound zones at the same time to obtain multi-channel sound data;

[0010] Decomposing the multi-channel sound data according to a preset data format and data bit depth to obtain a single-channel sound data corresponding to each sound zone;

[0011] Based on the single-channel sound data, obtaining accompaniment audio data corresponding to each tone zone;

[0012] Compare the single-channel sound data corresponding to each tone zone with the accompaniment audio data to determine the target sound data;

[0013] Based on the target sound data and the accompaniment audio data, a multi-zone microphone grabbing result is output.

[0014] According to the above technical means, the embodiment of the present application is based on the sound pickup microphones installed in multiple positions in the vehicle cabin, recording single-channel sound data in different sound zones in the cabin, and by obtaining the accompaniment audio data matching each single-channel sound data, and comparing the single-channel sound data with the corresponding accompaniment audio data, the fastest and most accurate target sound data is screened out, and then the final karaoke effect is synthesized based on the target sound data and output. It can be seen that the present invention can not only increase the entertainment interaction mode in the car, significantly improve the user's riding experience, enable users to make more use of the in-car environment to interact, and strengthen the user's dependence on the car system, but also make full use of the vehicle's hardware resources and improve resource utilization.

[0015] Optionally, in one embodiment of the present application, the method of using a plurality of vehicle-mounted recording devices to respectively record sounds in different sound zones to obtain multi-channel sound data includes:

[0016] Based on several vehicle-mounted recording devices, create several device file nodes;

[0017] According to the preset recording parameters, each of the device file nodes is driven to simultaneously record the sound of the corresponding sound zone to obtain multi-channel sound data.

[0018] According to the above-mentioned technical means, the embodiment of the present application sets device file nodes, drives each device file node to simultaneously record the sound digital signal of the sound zone according to the preset recording parameters, and obtains multi-channel sound data. The data of all the sound pickup microphones in the cockpit can be recorded at the same time, and a multi-channel data packet composed of multi-channel sound data can be obtained to ensure the simultaneity of the arrival of multi-channel data, and store the multi-channel sound pickup microphone data in the vehicle system.

[0019] Optionally, in one embodiment of the present application, after obtaining the multi-channel sound data, the method further includes:

[0020] Preprocess the multi-channel sound data to update the multi-channel sound data, wherein the preprocessing includes but is not limited to noise reduction and echo cancellation processing.

[0021] According to the above technical means, the embodiment of the present application can achieve noise reduction and echo cancellation effects by preprocessing multi-channel sound data, and obtain clear multi-channel sound data to avoid affecting the effect of subsequent processing of each channel of sound data.

[0022] Optionally, in one embodiment of the present application, obtaining the accompaniment audio data corresponding to each sound zone based on the single-channel sound data includes:

[0023] Using a preinstalled media application to read the single-channel sound data corresponding to each audio zone, and downloading the media audio data corresponding to each single-channel sound data;

[0024] Decoding each of the media audio data respectively to obtain audio stream data corresponding to each of the single-channel sound data;

[0025] Each of the audio stream data is intercepted respectively to obtain the accompaniment audio data corresponding to each of the single-channel sound data.

[0026] According to the above-mentioned technical means, the embodiment of the present application obtains the media audio data matching each single-channel sound data according to all the single-channel sound data in each sound zone, and obtains the accompaniment audio data corresponding to each of the single-channel sound data by decoding and intercepting the media audio data, so as to lay a good foundation for accurately judging the similarity between each single-channel sound data and the corresponding accompaniment audio data later.

[0027] Optionally, in one embodiment of the present application, the step of comparing the single-channel sound data corresponding to each tone zone with the accompaniment audio data to obtain target sound data includes:

[0028] Determine the main sound data in each sound zone according to the recording time and data amplitude of each single-channel sound data;

[0029] Matching the main sound data and the accompaniment audio data corresponding to each tone zone according to a preset matching rule to obtain the similarity between the main sound data and the accompaniment audio data corresponding to each tone zone;

[0030] Based on the similarity, target sound data is determined.

[0031] According to the above-mentioned technical means, the embodiment of the present application can improve the accuracy of the fastest and most accurate target sound data determined by integrating multiple judgment rules through the time sequence of sound recording, energy analysis and information accuracy evaluation.

[0032] Optionally, in an embodiment of the present application, matching the main sound data corresponding to each tone zone with the accompaniment audio data according to a preset matching rule to obtain the similarity between the main sound data corresponding to each tone zone and the accompaniment audio data includes:

[0033] Convert each of the main sound data and the corresponding accompaniment audio data into text information respectively, and obtain the sound text information and accompaniment text information corresponding to each tone area;

[0034] Extracting keywords from the voice text information and the accompaniment text information in each tone zone to obtain voice keywords and accompaniment keywords corresponding to each tone zone;

[0035] According to the time when the keyword appears, the sound keyword and the accompaniment keyword corresponding to each tone area are matched to obtain the similarity between the main sound data and the accompaniment audio data corresponding to each tone area.

[0036] According to the above-mentioned technical means, the embodiment of the present application determines the similarity between the text information of each single-channel sound data and the text information in the corresponding accompaniment audio data by comparing the text information in each single-channel sound data with the text information in the corresponding accompaniment audio data, and compares the closeness between the time when the text information in the single-channel sound data appears and the time when the corresponding text information in the accompaniment audio data appears, and determines the accuracy of each single-channel sound data based on the similarity and time deviation, so as to accurately judge the fastest and most accurate target sound data.

[0037] Optionally, in one embodiment of the present application, the outputting of the multi-zone microphone grabbing result based on the target sound data and the accompaniment audio data includes:

[0038] Acquire a microphone grabbing mode, and determine, according to the microphone grabbing mode, a mixing method between the target sound data and the main sound data and / or the accompaniment audio data other than the target sound data;

[0039] Perform data fusion based on the mixing method to obtain mixed audio data;

[0040] Performing digital-to-analog conversion on the mixed audio data to obtain an analog audio signal;

[0041] The analog audio signal is used to drive the pre-installed vehicle-mounted playback device to output the multi-zone microphone grabbing result.

[0042] According to the above-mentioned technical means, the embodiment of the present application sets different mixing rules according to different karaoke modes, and when the karaoke mode is selected, the target sound data is mixed with the main sound data and / or accompaniment audio data other than the target sound data according to the corresponding mixing rules, so as to realize the microphone grabbing function in various karaoke modes in the car without microphone scene, so as to meet the needs of different users, enrich the entertainment function of the cockpit domain, enable users to make more use of the in-car environment to interact, strengthen the user's dependence on the car system, and improve the user experience and the degree of dependence on the cockpit domain.

[0043] The second aspect of the present application provides a multi-zone microphone grabbing system based on a vehicle-mounted recording device, including:

[0044] The data acquisition module is used to simultaneously record sounds of different sound zones using a number of vehicle-mounted recording devices to obtain multi-channel sound data;

[0045] A single-channel sound data extraction module is used to decompose the multiple-channel sound data according to a preset data format and data bit depth to obtain single-channel sound data corresponding to each sound zone;

[0046] An accompaniment audio data acquisition module, used for obtaining the accompaniment audio data corresponding to each tone zone based on the single-channel sound data;

[0047] The target sound data screening module is used to compare the single-channel sound data corresponding to each tone zone with the accompaniment audio data to determine the target sound data;

[0048] The microphone grabbing result output module is used to output the multi-zone microphone grabbing result based on the target sound data and the accompaniment audio data.

[0049] A third aspect of the present application provides a vehicle, comprising a memory, a processor, and a multi-zone microphone grabbing program based on a vehicle-mounted recording device, which is stored in the memory and can be run on the processor. When the processor executes the multi-zone microphone grabbing program based on the vehicle-mounted recording device, the steps of the multi-zone microphone grabbing method based on the vehicle-mounted recording device as described in any one of the above items are implemented.

[0050] The fourth aspect embodiment of the present application provides a computer-readable storage medium, on which is stored a multi-zone microphone grabbing program based on a vehicle-mounted recording device. When the multi-zone microphone grabbing program based on the vehicle-mounted recording device is executed by a processor, the steps of the multi-zone microphone grabbing method based on the vehicle-mounted recording device as described in any one of the above items are implemented.

[0051] Beneficial effects of this application:

[0052] 1) The present invention is based on sound pickup microphones installed at multiple positions in a vehicle cabin, and records single-channel sound data of different sound zones in the cabin. On the one hand, the main sound data of each sound zone is screened out by comparing the order of recording time and energy size of different single-channel sound data. On the other hand, the text information in each of the single-channel sound data is compared with the text information in the corresponding accompaniment audio data to determine the similarity between the text information of the two, and compare the time when the text information in the single-channel sound data appears with the time when the corresponding text information in the accompaniment audio data appears. The accuracy of each single-channel sound data is determined based on the similarity and time deviation, so as to comprehensively judge the fastest and most accurate target sound data.

[0053] 2) The present invention can set different mixing rules according to different karaoke modes, and when the karaoke mode is selected, the target sound data is mixed with the main sound data and / or accompaniment audio data other than the target sound data according to the corresponding mixing rules, so as to realize the microphone-grabbing function in multiple karaoke modes in the car without microphone scene, and each of the K modes obtains a microphone-grabbing effect based on the voice of one singer, so as to meet the needs of different users, enrich the entertainment function of the cockpit domain, enable users to make more use of the in-car environment to interact, strengthen the user's dependence on the car system, and improve the user experience and the degree of dependence on the cockpit domain.

[0054] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:

[0056] Figure 1 This is the distribution diagram of microphones and speakers in the cockpit area;

[0057] Figure 2 This is a flow chart of the multi-zone microphone grabbing method based on the vehicle-mounted recording device of this application;

[0058] Figure 3 This is a schematic diagram of the multi-zone microphone grabbing process based on the vehicle-mounted recording device of this application;

[0059] Figure 4 This is a schematic diagram of the multi-zone data admission process for this application;

[0060] Figure 5 This is a schematic diagram of the multi-zone data processing flow of this application;

[0061] Figure 6This is a schematic diagram of the single tone area data extraction process of this application;

[0062] Figure 7 This is a schematic diagram of the process of obtaining accompaniment audio data based on media application of this application;

[0063] Figure 8 This is a schematic diagram of the accompaniment audio data processing flow of this application;

[0064] Fig. 9 A schematic diagram of the comparison process of single-zone sound data and accompaniment audio data of the present application;

[0065] Fig.10 This is a schematic diagram of the mixed audio data processing flow of this application;

[0066] Fig.11 This is a schematic diagram of the audio data mixing process of this application;

[0067] Fig.12 This is a schematic diagram of the mixed audio data output process of this application;

[0068] Fig.13 This is a schematic diagram of the structure of the multi-zone microphone grabbing system based on the vehicle-mounted recording device of the present application;

[0069] Fig.14 A block diagram of the internal structure of a vehicle according to an embodiment of the present application. DETAILED DESCRIPTION

[0070] Embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.

[0071] The following describes the multi-zone microphone grabbing method, system, terminal and medium based on the vehicle-mounted recording device according to the embodiment of the present application with reference to the accompanying drawings. In response to the technical problems mentioned in the above background technology, the present application provides a multi-zone microphone grabbing method based on the vehicle-mounted recording device. In this method, several vehicle-mounted recording devices are used to simultaneously record the sounds of different sound zones to obtain multi-channel sound data; the multi-channel sound data are decomposed according to the preset data format and data bit depth to obtain the single-channel sound data corresponding to each sound zone; based on the single-channel sound data, the accompaniment audio data corresponding to each sound zone is obtained; the single-channel sound data corresponding to each sound zone is respectively compared with the corresponding accompaniment audio data to obtain the fastest and most accurate target sound data; based on the target sound data and the accompaniment audio data, the multi-zone microphone grabbing result is output. It can be seen that the present invention is based on the sound pickup microphones installed in multiple positions in the vehicle cabin, recording single-channel sound data in different sound zones in the cabin, and by obtaining the accompaniment audio data matching each single-channel sound data, and comparing the single-channel sound data with the corresponding accompaniment audio data, thereby screening out the fastest and most accurate target sound data, and then synthesizing the final karaoke effect based on the target sound data and outputting it. It can be seen that the present invention can not only increase the entertainment interaction mode in the car, significantly improve the user's riding experience, enable users to make more use of the in-car environment to interact, and strengthen the user's dependence on the car system, but also make full use of the vehicle's hardware resources and improve resource utilization.

[0072] For example, based on the sound pickup microphones installed in multiple locations in the vehicle cabin, the recording system in the cabin system is used to record the recording data from multiple locations in the vehicle and store them in the cache. In the karaoke scenario, the sound data of the user's singing is recorded through the vehicle-mounted sound pickup microphone, and the accompaniment audio data in the corresponding media audio data is downloaded from the karaoke media application. By extracting the keywords in each sentence of lyrics, the sound data of multiple recorded sound zones are compared with the lyrics keywords in the media audio data, thereby selecting a group of sound data that reaches the microphone fastest and most accurately, and then enhancing the data in the sound zone, and suppressing the sound data in other sound zones, and then mixing and outputting it with the accompaniment audio data to achieve the experience of grabbing the microphone for karaoke.

[0073] Specifically, this embodiment is applied to a vehicle in which microphones for sound pickup are pre-installed at multiple locations in the cabin (e.g. Figure 1 As shown), ensure that there are at least two or more pickup microphones in the car that can be used to record sound data. For example, pickup microphones are installed at the front driver and co-driver positions in the car, so that recording effects of different dimensions can be recorded through multi-channel pickup microphones, as well as the effectiveness of subsequent data processing, which is conducive to ensuring that media karaoke data and processed ear return sound data can be effectively output in the cockpit.

[0074] Figure 2 A schematic flow chart of a multi-zone microphone grabbing method based on a vehicle-mounted recording device provided in an embodiment of the present application.

[0075] based on Figure 2 and Figure 3 , the implementation process of the multi-zone microphone grabbing method based on the vehicle-mounted recording device of this embodiment is described in detail, including the following steps:

[0076] Step S100: using a plurality of vehicle-mounted recording devices to simultaneously record sounds in different sound zones to obtain multi-channel sound data;

[0077] Specifically, based on a plurality of vehicle-mounted recording devices, a plurality of device file nodes are created; each device file node is driven to simultaneously record the sound of a corresponding sound zone according to preset recording parameters to obtain multi-channel sound data.

[0078] like Figure 4 As shown, in the multi-zone recording module, based on the pickup microphones of multiple sound zones arranged in different positions in the vehicle cockpit, the sound analog signals picked up by the pickup microphones are converted into sound digital signals through ADC, and the Advanced Linux Sound Architecture (ALSA) system is integrated in the vehicle system to create several device file nodes. The device file nodes exposed to the user space are driven to set the acquisition parameters of the recording data, including the recording data format, the number of recording channels and the sampling rate of the recording data, etc. For example, all the sound data in the vehicle are recorded in a format with a bit depth of 16 bits, a number of channels of 2 and a sampling rate of 48KSPS, and then each device file node is driven to record the sound digital signals of the sound zones at the same time according to the preset recording parameters, and the multi-channel sound data can be obtained. The data of all the pickup microphones in the cockpit can be recorded at the same time, and a multi-channel data packet composed of the multi-channel sound data can be obtained to ensure the simultaneity of the arrival of the multi-channel data, and the multi-channel pickup microphone data is stored in the vehicle system.

[0079] In a preferred embodiment, after obtaining the multi-channel sound data in step S100, the method further includes: pre-processing the multi-channel sound data and updating the multi-channel sound data, wherein the pre-processing includes but is not limited to noise reduction and echo cancellation processing.

[0080] Specifically, since the human voice data recorded by the pickup microphone contains all the sounds in the car environment, and since the sound data is continuously played and recorded, echoes are likely to be generated, it is necessary to perform active noise reduction and echo cancellation processing on the recorded sound data, specifically, by Figure 5The recording data processing module shown performs low-pass filtering on multi-channel audio data to remove noise data in the environment, obtains noise-reduced sound data, and removes redundant echo data in the noise-reduced sound data based on the reference sound data returned by the digital audio processor to obtain clear multi-channel sound data to avoid affecting the effect of subsequent processing of each channel of sound data.

[0081] Step S200: decomposing the multi-channel sound data according to the preset data format and data bit depth to obtain the single-channel sound data corresponding to each sound zone;

[0082] Specifically, Figure 6 , the sound zone data extraction module decomposes the multi-channel data packets according to the format corresponding to the recording format set when recording the sound data, thereby extracting the single-channel sound data of each sound zone, that is, the independent audio stream of each recording device, and storing all the single-channel sound data in the buffer.

[0083] Step S300: based on the single-channel sound data, obtaining the accompaniment audio data corresponding to each tone zone;

[0084] Specifically, the pre-installed media application is used to read the single-channel sound data corresponding to each sound zone, and the media audio data corresponding to each single-channel sound data is downloaded; each media audio data is decoded respectively to obtain the audio stream data corresponding to each single-channel sound data; each audio stream data is intercepted respectively to obtain the accompaniment audio data corresponding to each single-channel sound data. It is worth noting that one or more single-channel sound data may be recorded through a single sound zone, and the downloaded media audio data is one-to-one corresponding to the single-channel sound data, that is, there is also a one-to-one corresponding relationship between the accompaniment audio data and the single-channel sound data.

[0085] The car system is pre-installed with karaoke media applications that can provide accompaniment audio data, such as Kugou Changchang, Leishi KTV, Changba and other applications. Figure 7 The media application module shown reads the local audio file or downloads the audio data corresponding to the single-channel sound data of each sound zone from the cloud, decodes the audio data, obtains a string of original audio stream data corresponding to each audio data, and extracts the accompaniment audio data that matches the single-channel sound data of the corresponding sound zone from each audio stream data. At this time, the karaoke media application will pass the accompaniment audio data to the media data processing module through the vehicle system interface to drive the vehicle system interface to pass the downloaded media data and obtain the accompaniment audio data corresponding to the single-channel sound data of each sound zone.

[0086] Step S400: Compare the single-channel sound data corresponding to each tone zone with the accompaniment audio data to determine the target sound data;

[0087] Specifically, according to the data amplitude of each single-channel sound data in each sound zone, the main sound data in each sound zone is determined; each main sound data is matched with the corresponding accompaniment audio data according to the preset matching rules to obtain the similarity corresponding to each sound zone; based on the similarity, the fastest and most accurate target sound data is obtained. That is, the fastest and most accurate target sound data is determined through energy analysis (such as calculating the energy or loudness of the audio signal) and information accuracy evaluation (such as using a machine learning model to identify sound information).

[0088] like Figure 8 and Fig. 9 As shown, the data comparison operation module determines the time sequence of the single-channel sound data of each sound zone according to the actual microphone spacing data, and determines the size of the data amplitude according to the energy of each single-channel sound data, so as to obtain the single-channel sound data with the largest data amplitude that is first recorded corresponding to each sound zone, and determines the single-channel sound data as the main sound data of the sound zone. Each sound zone corresponds to a main sound data, and the main sound data corresponding to different sound zones may be the same or different. Then, each main sound data and the corresponding accompaniment audio data are converted into text information respectively through the media data processing module to obtain the sound text information and accompaniment text information corresponding to each sound zone; according to the same keyword extraction rule (for example, extracting the keywords in the text information at the beginning of each sentence of lyrics as keywords), the sound keywords and accompaniment keywords corresponding to each sound zone are extracted and saved in the cache; the main sound data of each sound zone are matched with the corresponding accompaniment audio data according to the preset matching rule, and the similarity between the main sound data and the accompaniment audio data corresponding to each sound zone is determined; based on the similarity, the fastest and most accurate target sound data is obtained, indicating that the target sound data is the sound data that best matches the accompaniment audio data. The preset matching rule refers to the time deviation of the keyword appearance and / or the matching rate of the keyword.

[0089] The main sound data of each tone zone are matched with the corresponding accompaniment audio data according to the preset matching rules to obtain the similarity between the main sound data and the accompaniment audio data corresponding to each tone zone. The specific process includes: firstly judging whether the keywords in the main sound data corresponding to each tone zone contain the same keywords as the keywords in the corresponding accompaniment audio data, and then judging the time deviation between the matched keywords according to the time sequence of the recording of these main sound data for the main sound data, and determining the similarity between the main sound data corresponding to each tone zone and the corresponding accompaniment audio data according to the sum or mean of the time deviations between all the extracted keywords. If two or more main sound data have the same similarity, the main sound data that is recorded first can be used as the sound data that successfully grabs the microphone according to the time sequence of the recording of the main sound data of each tone zone.

[0090] It can be seen that, on the one hand, this embodiment screens out the main sound data of each sound zone by comparing the order of recording time and energy size of different single-channel sound data, and on the other hand, by comparing the text information in each single-channel sound data with the text information in the corresponding accompaniment audio data, the similarity between the text information of the two is determined, and the time when the text information in the single-channel sound data appears and the degree of proximity between the time when the corresponding text information in the accompaniment audio data appears are compared, and the accuracy of each single-channel sound data is determined according to the similarity and time deviation, so as to comprehensively judge the fastest and most accurate target sound data.

[0091] Step S500: Based on the target sound data and the accompaniment audio data, output the multi-zone microphone grabbing result.

[0092] Specifically, the target sound data is used as the sound data of successful microphone grabbing, and according to the microphone grabbing mode, the mixing method between the target sound data and the main sound data and / or accompaniment audio data other than the target sound data is determined; and data fusion is performed based on the mixing method to obtain mixed audio data.

[0093] For example, if you want to present a live, competitive karaoke mode (i.e., a microphone grabbing mode), you can merge the target sound data, other main sound data other than the target sound data, and the accompaniment audio data together as complete karaoke data. If the energy effect of other main sound data and accompaniment audio data is relatively large, in order to ensure the singing effect, this embodiment can be Fig.10The result processing module shown in the figure performs energy enhancement on the target sound data, that is, amplifies the target sound data according to a certain multiple to obtain the amplified target sound data; performs energy suppression on the main sound data other than the target sound data, that is, attenuates these data according to a certain multiple to obtain the attenuated main sound data; then mixes the amplified target sound data and the attenuated main sound data to obtain the reconstructed sound data; and through Fig.11 The data synthesis module shown mixes the reconstructed sound data with the accompaniment audio data to obtain mixed audio data; performs digital-to-analog conversion on the mixed audio data to obtain an analog audio signal; uses the analog audio signal to drive the pre-installed vehicle playback device to output the multi-zone microphone grabbing result. At this time, what the user hears is mainly the voice playback effect of one of the singers, realizing the entertainment karaoke microphone grabbing function in the car without a microphone scenario.

[0094] For another example, if you want a single, pure karaoke mode, you can merge the target sound data and the accompaniment audio data as complete karaoke data. If the energy effect of the accompaniment audio data is relatively large (i.e., the accompaniment sound is relatively loud), then in order to ensure the sound quality and sound effect of the karaoke, you can enhance the energy of the target sound data and / or suppress the energy of the accompaniment audio data before mixing to obtain mixed audio data; perform digital-to-analog conversion on the mixed audio data to obtain an analog audio signal; use the analog audio signal to drive the pre-installed car playback device to output the multi-zone microphone grabbing result. At this time, the user hears the sound playback effect of a singer, giving the user a stronger auditory experience.

[0095] As other preferred implementations, different mixing rules can be set according to different karaoke modes, and when a karaoke mode is selected, the target sound data is mixed with the main sound data and / or accompaniment audio data other than the target sound data according to the corresponding mixing rules, so as to realize the microphone grabbing function in multiple karaoke modes in the car without a microphone scene, and each of the K modes obtains a microphone grabbing effect based on the voice of one singer, so as to meet the needs of different users, enrich the entertainment function of the cockpit domain, enable users to make more use of the in-car environment to interact, strengthen the user's dependence on the car system, and improve the user experience and the degree of dependence on the cockpit domain. It should be stated that other karaoke modes can also be set according to user needs, and this embodiment will not be exhaustive, but all karaoke effects generated based on the data mixing concept of the above two K modes are within the protection scope of the present invention.

[0096] Furthermore, in order to improve the sound effect, the following Fig.10 The result processing module shown adds reverberation and vocal beautification effects to the main sound data of each sound zone, making the sound data output by the in-vehicle playback device fuller and richer, so as to bring a stronger auditory experience to the user.

[0097] The mixed audio data is converted into digital-to-analog format to obtain an analog audio signal; the analog audio signal is used to drive the vehicle-mounted playback device to output the multi-zone microphone grabbing result, specifically: Fig.12 The data output module shown will transmit the mixed audio data to the audio hardware abstraction layer (Audio HAL) in the system layer, and transmit the analog audio signal to the ALSA system through the Audio HAL, and then pass the sound data to the digital signal processor (Digital Signal Processor, DSP) through the corresponding audio driver for digital-to-analog conversion (Digital-to-Analog Converter, DAC) to obtain an analog audio signal, and use the obtained analog audio signal to drive the speakers installed in different areas of the cockpit to output to the human ear, giving the user auditory enjoyment.

[0098] In summary, the present invention is based on the sound pickup microphones installed in multiple positions in the vehicle cabin, records the sound data of different sound zones in the cabin, and then processes the recorded multi-channel sound data, analyzes the data amplitude and the order of key data for the data at the same time point, and calculates the order of recording single-channel sound data in each sound zone by measuring the actual microphone spacing in the car, and uses the actually recorded sound data and accompaniment audio data for analysis to obtain the data of each sound zone recorded by the microphone in the corresponding position, and matches the data sent by the in-car entertainment karaoke application to obtain the position data of the sound zone with the strongest amplitude and the most accurate, then amplifies the sound data picked up by the corresponding sound pickup microphone, and suppresses the data picked up in other positions, mixes them into final data for output, thereby completing the karaoke microphone grabbing function in the car without microphone scenario. It can be seen that the present invention is based on the existing hardware resources of the vehicle and can realize the karaoke microphone grabbing function without the need for additional recording equipment. It can not only increase the entertainment interaction methods in the car, significantly improve the user's riding experience, enable users to make more use of the in-car environment to interact, and enhance the user's dependence on the car system, but also make full use of the vehicle's hardware resources and improve resource utilization.

[0099] Next, a multi-zone microphone grabbing system based on a vehicle-mounted recording device according to an embodiment of the present application will be described with reference to the accompanying drawings.

[0100] like Fig.13 As shown, the multi-zone microphone grabbing system 10 based on the vehicle-mounted recording device includes: a data acquisition module 100, a single-channel sound data extraction module 200, an accompaniment audio data acquisition module 300, a target sound data screening module 400 and a microphone grabbing result output module 500.

[0101] Specifically, the data acquisition module 100 is used to simultaneously record sounds of different sound zones using a plurality of vehicle-mounted recording devices to obtain multi-channel sound data;

[0102] The single-channel sound data extraction module 200 is used to decompose the multi-channel sound data according to the preset data format and data bit depth to obtain the single-channel sound data corresponding to each sound zone;

[0103] The accompaniment audio data acquisition module 300 is used to obtain the accompaniment audio data corresponding to each tone range based on the single-channel sound data;

[0104] The target sound data screening module 400 is used to compare the single-channel sound data corresponding to each tone zone with the accompaniment audio data to determine the target sound data;

[0105] The microphone grabbing result output module 500 is used to output the multi-zone microphone grabbing result based on the target sound data and the accompaniment audio data.

[0106] In this embodiment, the data acquisition module 100 includes:

[0107] The device file node setting unit 110 is used to create a plurality of device file nodes based on a plurality of vehicle-mounted recording devices;

[0108] The multi-channel sound data acquisition unit 120 is used to drive each device file node to simultaneously record the sound of the corresponding sound zone according to the preset recording parameters to obtain multi-channel sound data.

[0109] In this embodiment, the system further includes a preprocessing module 600, which specifically performs preprocessing on the multi-channel sound data and updates the multi-channel sound data. The preprocessing includes but is not limited to noise reduction and echo cancellation processing.

[0110] In this embodiment, the accompaniment audio data acquisition module 300 includes:

[0111] The media audio data acquisition unit 310 is used to read the single-channel sound data corresponding to each audio zone using the pre-installed media application, and download the media audio data corresponding to each single-channel sound data;

[0112] The audio stream data generating unit 320 is used to decode each media audio data respectively to obtain the audio stream data corresponding to each single channel sound data;

[0113] The accompaniment audio data interception unit 330 is used to intercept each audio stream data respectively to obtain the accompaniment audio data corresponding to each single-channel sound data.

[0114] In this embodiment, the target sound data screening module 400 includes:

[0115] The main sound data screening unit 410 is used to determine the main sound data in each sound zone according to the recording time and data amplitude of each single-channel sound data;

[0116] A similarity calculation unit 420 is used to match the main sound data corresponding to each tone zone with the accompaniment audio data according to a preset matching rule to obtain the similarity between the main sound data corresponding to each tone zone and the accompaniment audio data;

[0117] The target sound data acquiring unit 430 is configured to determine the target sound data based on the similarity.

[0118] In this embodiment, the similarity calculation unit 420 includes:

[0119] The text information extraction subunit 421 is used to convert each main sound data and the corresponding accompaniment audio data into text information respectively, and obtain the sound text information and accompaniment text information corresponding to each tone area;

[0120] The keyword extraction subunit 422 is used to extract keywords from the voice text information and accompaniment text information in each tone zone, and obtain the voice keywords and accompaniment keywords corresponding to each tone zone;

[0121] The similarity solving subunit 423 is used to match the sound keyword and the accompaniment keyword corresponding to each tone zone according to the time when the keyword appears, and obtain the similarity between the main sound data and the accompaniment audio data corresponding to each tone zone.

[0122] In this embodiment, the microphone grabbing result output module 500 includes:

[0123] A mixing mode determining unit 510 is used to obtain a microphone grabbing mode and determine a mixing mode between the target sound data and the main sound data and / or accompaniment audio data other than the target sound data according to the microphone grabbing mode;

[0124] A mixed audio data generating unit 520 performs data fusion based on a mixed manner to obtain mixed audio data;

[0125] The digital-to-analog conversion unit 530 is used to perform digital-to-analog conversion on the mixed audio data to obtain an analog audio signal;

[0126] The microphone grabbing effect output unit 540 is used to drive the pre-installed vehicle-mounted playback device using an analog audio signal to output the multi-zone microphone grabbing result.

[0127] It should be noted that the aforementioned explanation of the embodiment of the multi-zone microphone grabbing method based on the vehicle-mounted recording device is also applicable to the multi-zone microphone grabbing system based on the vehicle-mounted recording device in this embodiment, and will not be repeated here.

[0128] Fig.14 A schematic diagram of the structure of a vehicle provided in an embodiment of the present application. The vehicle may include:

[0129] A memory 1401 , a processor 1402 , and a computer program stored in the memory 1401 and executable on the processor 1402 .

[0130] When the processor 1402 executes the program, the multi-zone microphone grabbing method based on the vehicle-mounted recording device provided in the above embodiment is implemented.

[0131] Furthermore, the vehicle also includes:

[0132] The communication interface 1403 is used for communication between the memory 1401 and the processor 1402 .

[0133] The memory 1401 is used to store computer programs that can be executed on the processor 1402 .

[0134] The memory 1401 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.

[0135] If the memory 1401, the processor 1402 and the communication interface 1403 are implemented independently, the communication interface 1403, the memory 1401 and the processor 402 can be connected to each other through a bus and communicate with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.14 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0136] Optionally, in a specific implementation, if the memory 1401, the processor 1402 and the communication interface 1403 are integrated on a chip, the memory 1401, the processor 1402 and the communication interface 1403 can communicate with each other through an internal interface.

[0137] The processor 1402 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.

[0138] This embodiment also provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the multi-zone microphone grabbing method based on the vehicle-mounted recording device is implemented as described above.

[0139] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or N embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0140] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of this application, "N" means at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0141] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or N executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present application includes additional implementations, in which the order shown or discussed may not be followed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.

[0142] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can read instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purpose of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or N wirings (electronic devices), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically by optically scanning the paper or other medium and then editing, interpreting or otherwise processing in a suitable manner if necessary and then storing it in a computer memory.

[0143] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above embodiment, the N steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. If implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0144] A person skilled in the art may understand that all or part of the steps in the above-mentioned embodiment method may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.

[0145] In addition, each functional unit in each embodiment of the present application may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.

[0146] The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present application. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present application.

Claims

1. Multi-zone microphone grabbing method based on vehicle-mounted recording equipment, It is characterized in that The following steps are involved: Use several on-board recording devices to record sounds from different sound zones at the same time to obtain multi-channel sound data; Decomposing the multi-channel sound data according to a preset data format and data bit depth to obtain a single-channel sound data corresponding to each sound zone; Based on the single-channel sound data, obtaining accompaniment audio data corresponding to each tone zone; Compare the single-channel sound data corresponding to each tone zone with the accompaniment audio data to determine the target sound data; Based on the target sound data and the accompaniment audio data, a multi-zone microphone grabbing result is output.

2. The multi-zone microphone grabbing method based on the vehicle-mounted recording device as claimed in claim 1, It is characterized in that The method of using a plurality of vehicle-mounted recording devices to respectively record sounds in different sound zones to obtain multi-channel sound data includes: Based on several vehicle-mounted recording devices, create several device file nodes; According to the preset recording parameters, each of the device file nodes is driven to simultaneously record the sound of the corresponding sound zone to obtain multi-channel sound data.

3. The multi-zone microphone grabbing method based on the vehicle-mounted recording device as claimed in claim 1, It is characterized in that After obtaining the multi-channel sound data, the method further includes: Preprocess the multi-channel sound data to update the multi-channel sound data, wherein the preprocessing includes but is not limited to noise reduction and echo cancellation processing.

4. The multi-zone microphone grabbing method based on the vehicle-mounted recording device as claimed in claim 1, It is characterized in that The step of obtaining the accompaniment audio data corresponding to each sound zone based on the single-channel sound data comprises: Using a preinstalled media application to read the single-channel sound data corresponding to each audio zone, and downloading the media audio data corresponding to each single-channel sound data; Decoding each of the media audio data respectively to obtain audio stream data corresponding to each of the single-channel sound data; Each of the audio stream data is intercepted respectively to obtain the accompaniment audio data corresponding to each of the single-channel sound data.

5. The multi-zone microphone grabbing method based on the vehicle-mounted recording device as claimed in claim 1, It is characterized in that The step of comparing the single-channel sound data corresponding to each tone zone with the accompaniment audio data to determine the target sound data comprises: Determine the main sound data in each sound zone according to the recording time and data amplitude of each single-channel sound data; Matching the main sound data and the accompaniment audio data corresponding to each tone zone according to a preset matching rule to obtain the similarity between the main sound data and the accompaniment audio data corresponding to each tone zone; Based on the similarity, target sound data is determined.

6. The multi-zone microphone grabbing method based on the vehicle-mounted recording device as claimed in claim 5, It is characterized in that The method of matching the main sound data corresponding to each tone zone with the accompaniment audio data according to a preset matching rule to obtain the similarity between the main sound data corresponding to each tone zone and the accompaniment audio data includes: Convert each of the main sound data and the corresponding accompaniment audio data into text information respectively, and obtain the sound text information and accompaniment text information corresponding to each tone area; Extracting keywords from the voice text information and the accompaniment text information in each tone zone to obtain voice keywords and accompaniment keywords corresponding to each tone zone; According to the time when the keyword appears, the sound keyword and the accompaniment keyword corresponding to each tone area are matched to obtain the similarity between the main sound data and the accompaniment audio data corresponding to each tone area.

7. The multi-zone microphone grabbing method based on the vehicle-mounted recording device as claimed in claim 5, It is characterized in that The outputting of the multi-zone microphone grabbing result based on the target sound data and the accompaniment audio data comprises: Acquire a microphone grabbing mode, and determine, according to the microphone grabbing mode, a mixing method between the target sound data and the main sound data and / or the accompaniment audio data other than the target sound data; Perform data fusion based on the mixing method to obtain mixed audio data; Performing digital-to-analog conversion on the mixed audio data to obtain an analog audio signal; The analog audio signal is used to drive the pre-installed vehicle-mounted playback device to output the multi-zone microphone grabbing result.

8. A multi-zone microphone grabbing system based on vehicle-mounted recording equipment, It is characterized in that include: The data acquisition module is used to simultaneously record sounds of different sound zones using a number of vehicle-mounted recording devices to obtain multi-channel sound data; A single-channel sound data extraction module is used to decompose the multiple-channel sound data according to a preset data format and data bit depth to obtain single-channel sound data corresponding to each sound zone; An accompaniment audio data acquisition module, used for obtaining the accompaniment audio data corresponding to each tone zone based on the single-channel sound data; The target sound data screening module is used to compare the single-channel sound data corresponding to each tone zone with the accompaniment audio data to determine the target sound data; The microphone grabbing result output module is used to output the multi-zone microphone grabbing result based on the target sound data and the accompaniment audio data.

9. A vehicle, It is characterized in that The vehicle includes a memory, a processor, and a multi-zone microphone grabbing program based on a vehicle-mounted recording device, which is stored in the memory and can be run on the processor. When the processor executes the multi-zone microphone grabbing program based on the vehicle-mounted recording device, the steps of the multi-zone microphone grabbing method based on the vehicle-mounted recording device as described in any one of claims 1-7 are implemented.

10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a multi-zone microphone grabbing program based on a vehicle-mounted recording device. When the multi-zone microphone grabbing program based on the vehicle-mounted recording device is executed by the processor, the steps of the multi-zone microphone grabbing method based on a vehicle-mounted recording device as described in any one of claims 1-7 are implemented.