Integrated management module, multi-audio input device management method and system and vehicle
Through the integrated management module, the microphone hardware equipment of different forms is monitored and managed, and the microphone is switched according to priority, the microphone switching and use management problems in the priorities are solved, achieving more efficient data transmission and better user experience.
Patent Information
- Application Number
- CN202411850278.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-16
- Publication Date
- 2025-04-15
AI Technical Summary
The prior art is difficult to manage the switching and use of microphone hardware devices of different forms, resulting in poor user experience and inability to wake up the system voice.
An integrated management module is designed, including a device information reading unit, a routing configuration unit, a microphone management unit and a data interface providing unit, to monitor and manage connected microphones, switch microphones according to priority, and provide unified ear return service.
By directly obtaining data from the driver node of the microphone, skipping the processing flow of Android Framework and AudioHal significantly shortens the data transmission link, reduces latency, improves the user experience, and realizes flexible decoupling of the microphone and upper-level applications.
Smart Images

Figure CN119829001A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of intelligent automobile cockpits, and in particular relates to an integrated management module, a multi-audio input device management method, a system and a vehicle. Background Art
[0002] With the continuous advancement of smart cockpit technology and the growing demand of consumers for in-car entertainment experience, the in-car karaoke function has become an important entertainment function in modern smart cockpits. In recent years, in-car karaoke technology has developed rapidly, and various forms of microphone hardware have emerged on the market, such as wired microphones, wireless microphones, in-car wireless microphones, and Bluetooth microphones and star flash microphones that may be popular in the future. These microphone hardware come from different manufacturers, each with unique technical characteristics and performance. In addition, the technical barriers and commercial cooperation restrictions of each company have led to restrictions on the use scenarios of microphones (see Figure 2 ). This restriction not only affects consumers’ experience, but also limits the further development and popularization of the in-car karaoke function.
[0003] In the prior art, there is a car karaoke system described in patent document CN215868619U (see Figure 1 ), although it can realize in-car entertainment and voice wake-up functions through wireless microphones, its application scope is limited to wireless microphones. The system does not handle the situation where multiple forms of microphones are connected at the same time, nor does it involve conflicts and solutions with the microphones of the car system when waking up the voice. This may cause users to encounter various problems during actual use, such as poor user experience and inability to wake up the system voice.
[0004] In summary, there is an urgent need in the prior art for a technical solution that can manage the switching and use of different microphone hardware devices and provide a unified ear return service for upper-layer karaoke software to solve the above problems. Summary of the invention
[0005] The object of the present invention is to provide an integrated management module, a multi-audio input device management method, a system and a vehicle to improve the flexibility and convenience of microphone hardware management.
[0006] In a first aspect, an integrated management module includes: The device information reading unit is used to read the sound card device information existing in the current system; A routing configuration unit, used to read the configuration information preset by the current system, and configure the priority of the microphone according to the configuration information and the sound card device information; The microphone management unit is used to monitor the microphone connected to the current system. If the current system has only one microphone, the driver node corresponding to the microphone is matched and opened according to the monitoring result. If the current system has multiple microphones, the driver node of the microphone with the highest priority is matched and opened according to the monitoring result. The data interface providing unit is used to provide a reading interface for upper layer applications.
[0007] Optionally, a microphone data buffer is further included, for buffering microphone data; The data interface providing unit includes a microphone data acquisition interface, and the upper-layer software calls the microphone data acquisition interface to obtain the microphone data from the microphone data buffer area and score the microphone data. The integrated management module can provide microphone data to the upper-layer software through the microphone data acquisition interface so that the upper-layer software can perform a scoring function.
[0008] Optionally, it also includes: An accompaniment data buffer area, used for buffering the accompaniment data output by the upper layer software; An accompaniment mixing unit, used for obtaining microphone data from the microphone data buffer area, and obtaining accompaniment data from the accompaniment data buffer area, mixing the microphone data and the accompaniment data and outputting the mixed data; A mixing data buffer area, used for caching the mixing data output by the accompaniment mixing unit; The data interface providing unit also includes a mixing data acquisition interface, and the upper-layer software calls the mixing data acquisition interface to obtain the mixing data from the mixing data buffer area and record the mixing data. The integrated management module can provide the upper-layer software with mixing data through the mixing data acquisition interface so that the upper-layer software can perform the recording function.
[0009] Optionally, the microphone management unit is also used to monitor the newly connected microphones in the current system in real time. If the priority of the newly connected microphone is higher than that of the original microphone, the newly connected microphone is switched to, that is, the driver node of the original microphone is turned off and the driver node of the newly connected microphone is turned on. When it is detected that a microphone with a higher priority is connected to the system, it can directly switch to the microphone with a higher priority, thereby improving the user experience.
[0010] In a second aspect, a multi-audio input device management system according to the present invention comprises a plurality of microphones, a plurality of upper layer applications, and an integrated management module according to the present invention, wherein the integrated management module is connected to each microphone and each upper layer application respectively; The integrated management module is used to monitor the microphone connected to the current system. If the current system has only one microphone, the driver node corresponding to the microphone is matched and opened according to the monitoring result. If the current system has multiple microphones, the driver node of the microphone with the highest priority is matched and opened according to the monitoring result. The integrated management module obtains the microphone data corresponding to the driver node through the driver node, and sends the microphone data to the corresponding upper layer application when detecting the upper layer application call.
[0011] Optionally, the integrated management module further includes: A microphone data buffer area, used to buffer the microphone data acquired by the driver node; The data interface providing unit of the integrated management module includes a microphone data acquisition interface; The upper layer software calls the microphone data acquisition interface to acquire microphone data from the microphone data buffer area and scores the microphone data. The integrated management module can provide microphone data to the upper layer software through the microphone data acquisition interface for the upper layer software to perform the scoring function.
[0012] Optionally, the integrated management module further includes: An accompaniment data buffer area, used for buffering the accompaniment data output by the upper layer software; An accompaniment mixing unit, used for obtaining microphone data from the microphone data buffer area, and obtaining accompaniment data from the accompaniment data buffer area, mixing the microphone data and the accompaniment data and outputting the mixed data; A mixing data buffer area, used for caching the mixing data output by the accompaniment mixing unit; The data interface providing unit also includes a mixing data acquisition interface; The upper layer software is used for outputting the accompaniment data and buffering it in the accompaniment data buffer area; The integrated management module obtains microphone data from the microphone data buffer area, and obtains accompaniment data from the accompaniment data buffer area, performs mixing processing on the microphone data and the accompaniment data and outputs the mixed data, and caches the output mixed data in the mixed data buffer area; The upper layer software calls the mixing data acquisition interface to obtain the mixing data from the mixing data buffer area and records the mixing data. The integrated management module can provide the upper layer software with mixing data through the mixing data acquisition interface so that the upper layer software can perform the recording function.
[0013] Optionally, the microphone management unit of the integrated management module is also used to monitor the newly connected microphones in the current system in real time. If the integrated management module detects that the priority of the newly connected microphone is higher than the priority of the original microphone, it switches to the newly connected microphone, that is, closes the driver node of the original microphone and opens the driver node of the newly connected microphone. When it is detected that a microphone with a higher priority is connected to the system, it can directly switch to the microphone with a higher priority, thereby improving the user experience.
[0014] In a third aspect, a multi-audio input device management method according to the present invention adopts the multi-audio input device management system according to the present invention, and the method comprises: The integrated management module monitors the microphone connected to the current system. If the current system has only one microphone, the driver node corresponding to the microphone is matched and opened according to the monitoring result. If the current system has multiple microphones, the driver node of the microphone with the highest priority is matched and opened according to the monitoring result. The integrated management module acquires microphone data corresponding to the driving node through the driving node; The upper layer application obtains the microphone data through a data interface providing unit.
[0015] Optionally, it also includes: In response to the integrated management module monitoring that a new microphone is connected to the current system, it is determined whether the priority of the newly connected microphone is higher than the priority of the original microphone; if it is higher, the microphone is switched, that is, the driver node of the newly connected microphone is turned on and the driver node of the original microphone is turned off; otherwise, the switching operation is not performed. When it is detected that a microphone with a higher priority is connected to the system, it can directly switch to the microphone with a higher priority, thereby improving the user experience.
[0016] Optionally, the upper layer application is a karaoke application.
[0017] In a fourth aspect, a vehicle according to the present invention adopts the multi-audio input device management system according to the present invention.
[0018] The present invention has the following advantages: The present invention can manage the switching and use of different microphone hardware devices. Since the integrated management module directly obtains microphone data from the driver node of the microphone and processes the microphone data, and then sends it to the upper application. The conventional link is that the upper application obtains microphone data from the driver node after passing through the processing flow of Android Framework and AudioHal. That is, after adopting the integrated management module, the data link of the microphone transmission directly skips the processing flow of AndroidFramework and AudioHal compared with the conventional technology, significantly shortens the data transmission link, effectively reduces the delay, and thus improves the user experience. In addition, the processes of Android Framework and AudioHal are also used to manually configure the matching relationship between the upper application and the microphone. Now that these configuration steps are skipped, flexible decoupling is achieved between the upper application and the microphone hardware, that is, any microphone can be seamlessly matched with the upper application. Therefore, users no longer need to purchase multiple microphones or specific membership services of upper applications for different software and hardware environments. Such optimization makes the system more flexible and compatible, and improves the convenience and satisfaction of user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.
[0020] Figure 1 It is one of the principle block diagrams of the prior art; Figure 2 This is the second principle block diagram of the prior art; Figure 3 It is a principle block diagram of the integrated management module described in the embodiment of the present application.
[0021] Figure 4 is a principle block diagram of the multi-audio input device management system described in an embodiment of the present application; Figure 5 is a comparison diagram of the data link in the embodiment of the present application and the existing data link; Figure 6 is a flowchart of the multi-audio input device management method described in an embodiment of the present application; Figure 7 is a flow chart of a data transmission processing link in an embodiment of the present application; Figure 8 It is a flowchart of device monitoring and switching in an embodiment of the present application. DETAILED DESCRIPTION
[0022] The following will describe the embodiments of the present invention with reference to the accompanying drawings and preferred embodiments. Those skilled in the art can understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be understood that the preferred embodiments are only for illustrating the present invention, not for limiting the scope of protection of the present invention.
[0023] like Figure 3 As shown, in an embodiment of the present application, an integrated management module includes a device information reading unit, a routing configuration unit, a microphone management unit and a data interface providing unit. Among them, the device information reading unit is used to read the sound card device information existing in the current system. The routing configuration unit is used to read the configuration information preset by the current system, and configure the priority of the microphone according to the configuration information and the sound card device information. The microphone management unit is used to monitor the microphone connected to the current system. If the current system has only one microphone, the driver node corresponding to the microphone is matched and opened according to the monitoring results. If the current system has multiple microphones, the driver node of the microphone with the highest priority is matched and opened according to the monitoring results. The data interface providing unit is used to provide a reading interface for the upper layer application.
[0024] like Figure 5 As shown, in the embodiment of the present application, the integrated management module directly obtains the microphone data from the driver node of the microphone and processes the microphone data, and then sends it to the upper application. The conventional link is that the upper application obtains the microphone data from the driver node after the processing flow of Android Framework and AudioHal. That is, after adopting the integrated management module, the data link transmitted by the microphone directly skips the processing flow of AndroidFramework and AudioHal compared with conventional technology, significantly shortens the data transmission link, effectively reduces the delay, and thus improves the user experience. In addition, the processes of Android Framework and AudioHal are also used to manually configure the matching relationship between the upper application and the microphone. Now that these configuration steps have been skipped, flexible decoupling has been achieved between the upper application and the microphone hardware, that is, any microphone can be seamlessly matched with the upper application. Therefore, users no longer need to purchase multiple microphones or specific membership services for upper applications for different hardware and software environments. Such optimization makes the system more flexible and compatible, and improves the convenience and satisfaction of the user experience.
[0025] like Figure 3As shown, in a possible embodiment, an integrated management module further includes a microphone data buffer area for caching microphone data. The data interface providing unit includes a microphone data acquisition interface, and the upper-layer software calls the microphone data acquisition interface to obtain microphone data from the microphone data buffer area and scores the microphone data. The integrated management module can provide microphone data to the upper-layer software through the microphone data acquisition interface for it to perform a scoring function.
[0026] like Figure 3 As shown, in a possible embodiment, an integrated management module further includes an accompaniment data buffer, an accompaniment mixing unit and a mixing data buffer. The accompaniment data buffer is used to cache the accompaniment data output by the upper-layer software. The accompaniment mixing unit is used to obtain microphone data from the microphone data buffer, and to obtain accompaniment data from the accompaniment data buffer, to mix the microphone data and the accompaniment data and to output the mixing data. The mixing data buffer is used to cache the mixing data output by the accompaniment mixing unit. The data interface providing unit also includes a mixing data acquisition interface, and the upper-layer software calls the mixing data acquisition interface to obtain the mixing data from the mixing data buffer, and records the mixing data. The integrated management module can provide the upper-layer software with mixing data through the mixing data acquisition interface, so that the upper-layer software can perform the recording function.
[0027] like Figure 3 As shown, in a possible embodiment, an integrated management module, the microphone management unit is also used to monitor the newly connected microphone of the current system in real time. If the priority of the newly connected microphone is higher than the priority of the original microphone, the newly connected microphone is switched to, that is, the driver node of the original microphone is turned off and the driver node of the newly connected microphone is turned on. When it is detected that a microphone with a higher priority is connected to the system, it can directly switch to the microphone with a higher priority, thereby improving the user experience.
[0028] In a possible embodiment, the device information reading unit reads the sound card device information by accessing the / proc / asound / cards file. A series of files under the / proc / asound / directory are standard files used by the ALSA subsystem (Advanced Linux Sound System) in the Linux system to store sound card device information. By accessing these files, the device information reading unit can obtain the sound card device information in a standardized manner without the need for specific adaptation for different sound cards or drivers. The contents of the directory files under / proc / asound / are dynamically updated, reflecting the status of the current sound card device of the system. Therefore, the device information reading unit can read the latest sound card device information in real time to ensure that the system can accurately identify and manage the sound card device. By directly accessing the / proc / asound / cards file, the device information reading unit does not need to rely on additional libraries or tools to obtain the sound card device information. This reduces the complexity and dependency of the system and improves the stability and reliability of the system. Accessing the / proc / asound / cards file is a simple and direct way to obtain the sound card device information. The device information reading unit can be easily integrated into the system and is relatively simple to implement. This reduces development costs and time, allowing the system to be launched faster. The file set under the / proc / asound directory contains detailed information about the sound card device, such as the sound card model, manufacturer, driver version, driver node, and node parameter information.
[0029] In a possible embodiment, the routing configuration unit sets the routing of the audio stream by reading the audio routing rules in the configuration file pre-set in the development adaptation phase. It is highly flexible and configurable, compatible with widely supported Linux audio systems; easy to manage and maintain, the routing can be adjusted by modifying the configuration file without restarting; supports complex rules and conditional judgments to achieve personalized audio control; optimizes the audio stream path to improve processing efficiency and quality; is compatible with a variety of audio devices and scenarios, and provides a seamless switching experience. These advantages make the routing configuration unit an efficient, convenient and personalized key component in the Linux audio system.
[0030] like Figure 4As shown, in an embodiment of the present application, a multi-audio input device management system includes multiple microphones (such as microphone X, microphone Y and microphone Z), multiple upper-layer applications (such as karaoke application A, karaoke application B and karaoke application C), and an integrated management module as in the embodiment of the present application, and the integrated management module is connected to each microphone and each upper-layer application respectively. The integrated management module is used to monitor the microphone connected to the current system. If the current system has only one microphone, the driver node corresponding to the microphone is matched and opened according to the monitoring results. If the current system has multiple microphones, the driver node of the microphone with the highest priority is matched and opened according to the monitoring results. The integrated management module obtains the microphone data corresponding to the driver node through the driver node, and sends the microphone data to the corresponding upper-layer application when the upper-layer application call is detected. Adding an integrated management module to the system and managing each microphone through the integrated management module can provide a unified ear return service for the karaoke application.
[0031] like Figure 3 and Figure 4 As shown, in a possible embodiment, a multi-audio input device management system, the upper-layer software calls the microphone data acquisition interface to obtain microphone data from the microphone data buffer area and scores the microphone data. The integrated management module can provide the upper-layer software with mixing data through the mixing data acquisition interface so that the upper-layer software can perform a recording function.
[0032] like Figure 3 and Figure 4 As shown, in a possible embodiment, a multi-audio input device management system, the upper-level software is used to output accompaniment data and cache it in the accompaniment data cache area. The integrated management module obtains microphone data from the microphone data cache area, and obtains accompaniment data from the accompaniment data cache area, mixes the microphone data and the accompaniment data and outputs the mixed data, and caches the output mixed data in the mixed data cache area. The upper-level software calls the mixed data acquisition interface to obtain the mixed data from the mixed data cache area, and records the mixed data. When it is detected that the system has a higher priority microphone connected, it can directly switch to the high-priority microphone, thereby improving the user experience.
[0033] like Figure 3 and Figure 4 As shown, in a possible embodiment, the microphone management unit of the integrated management module is also used to monitor the newly connected microphones of the current system in real time. If the integrated management module detects that the priority of the newly connected microphone is higher than the priority of the original microphone, it switches to the newly connected microphone, that is, closes the driver node of the original microphone and opens the driver node of the newly connected microphone. When it is detected that a microphone with a higher priority is connected to the system, it can directly switch to the microphone with a higher priority, thereby improving the user experience.
[0034] like Figure 6 As shown, in an embodiment of the present application, a method for managing multiple audio input devices adopts the multiple audio input device management system in the embodiment of the present application, and the method includes: The integrated management module monitors the microphone connected to the current system. If the current system has only one microphone, the driver node corresponding to the microphone is matched and opened according to the monitoring results. If the current system has multiple microphones, the driver node of the microphone with the highest priority is matched and opened according to the monitoring results.
[0035] The integrated management module obtains microphone data corresponding to the driving node through the driving node.
[0036] The upper layer application obtains the microphone data through the data interface providing unit.
[0037] In a possible embodiment, a method for managing multiple audio input devices further includes: In response to the integrated management module monitoring that a new microphone is connected to the current system, it determines whether the priority of the newly connected microphone is higher than the priority of the original microphone; if it is, the microphone switching operation is performed, that is, the driving node of the newly connected microphone is turned on and the driving node of the original microphone is turned off; otherwise, the switching operation is not performed.
[0038] In a possible embodiment, when a new microphone is connected, the plug-in and unplug-out events of the microphone device are sent in the form of broadcast. When the system monitors the microphone connection broadcast and the system sound card driver is updated, it is determined whether the microphone needs to be switched according to the configuration, that is, whether the priority of the microphone is higher than the priority of the original microphone. If it is higher, it means that switching is required, and the driver node of the new microphone is opened to replace the original driver node for reading and writing, and then the resources of the original driver node are released. The system can automatically monitor the plug-in and unplug events of the microphone device and intelligently determine whether the microphone needs to be switched. This greatly simplifies the user's manual operation and improves the system's automated management level. At the same time, it ensures the continuity and stability of the audio input and avoids audio interruptions caused by equipment replacement.
[0039] In a possible embodiment, the upper layer application is a karaoke application.
[0040] like Figure 7 The data transmission and processing process in the embodiment of the present application is shown as follows: Step 11: Start by loading the XML configuration file (including information such as microphone priority and audio parameters).
[0041] Step 12: Select input and output devices and driver nodes, and save corresponding configuration parameters and other information.
[0042] Step 13: Set up the mixer and initialize cache, algorithm library and other resources.
[0043] Step 14: Read the microphone data and perform algorithms, resampling, volume adjustment, etc.
[0044] Step 15: Determine whether the microphone data needs to be saved. If not, proceed to step 16; if necessary, cache a copy of the microphone data, wait for reading, and proceed to step 16.
[0045] Step 16: Determine whether there is an accompaniment. If not, proceed to step 18. If so, read the accompaniment, process the volume, perform algorithm processing and volume processing on the microphone data, and mix it with the accompaniment.
[0046] Step 17: Determine whether the mixed audio data needs to be saved. If so, cache a copy of the mixed audio data, wait for reading, and proceed to step 18. Otherwise, directly proceed to step 18.
[0047] Step 18: Play the data out through the output node.
[0048] Step 19: Determine whether the process is finished. If not, return to step 14 and start the next round of data reading until the end instruction is received. If yes, release resources such as the driver node and memory, and the process ends.
[0049] like Figure 8 As shown, the specific process of microphone monitoring and switching in the embodiment of the present application is as follows: Step 21: Start, initialize the module, load the XML configuration file, and go to step 22; at the same time, start the broadcast, listen to the system broadcast of device changes, if the broadcast of device changes is received, go to step 24.
[0050] Step 22: Get the current system sound card driver information and select the device according to the configuration.
[0051] Step 23: Set up the mixer and open the driver node.
[0052] Step 24: Determine whether to update the microphone. If so, close the previous driver node, restore the mixer settings, then open the new driver node and set it, and go to step 25; if not, go to step 25.
[0053] Step 25: Perform data processing.
[0054] Step 26: Determine whether an end instruction is received, if not, return to step 24, if so, proceed to step 27.
[0055] Step 27: Release the driver node, memory and other resources, and the process ends.
[0056] In an embodiment of the present application, a vehicle adopts a multi-audio input device management system as in the embodiment of the present application.
[0057] The above embodiments are preferred implementation modes of the present invention, but the implementation modes of the present invention are not limited to the above embodiments. Any other changes, modifications, substitutions, combinations, and simplifications that do not deviate from the spirit and principles of the present invention should be equivalent replacement methods and are included in the protection scope of the present invention.
Claims
1. An integrated management module, characterized in that: include: The device information reading unit is used to read the sound card device information existing in the current system; A routing configuration unit, used to read the configuration information preset by the current system, and configure the priority of the microphone according to the configuration information and the sound card device information; The microphone management unit is used to monitor the microphone connected to the current system. If the current system has only one microphone, the driver node corresponding to the microphone is matched and opened according to the monitoring result. If the current system has multiple microphones, the driver node of the microphone with the highest priority is matched and opened according to the monitoring result. The data interface providing unit is used to provide a reading interface for upper layer applications.
2. The integrated management module according to claim 1, characterized in that: Also included is a microphone data buffer area for caching microphone data; The data interface providing unit includes a microphone data acquisition interface. The upper-layer software calls the microphone data acquisition interface to acquire the microphone data from the microphone data buffer area and scores the microphone data.
3. The integrated management module according to claim 2, characterized in that: Also includes: An accompaniment data buffer area, used for buffering the accompaniment data output by the upper layer software; An accompaniment mixing unit, used for obtaining microphone data from the microphone data buffer area, and obtaining accompaniment data from the accompaniment data buffer area, mixing the microphone data and the accompaniment data and outputting the mixed data; A mixing data buffer area, used for caching the mixing data output by the accompaniment mixing unit; The data interface providing unit further includes a mixing data acquisition interface, and the upper layer software calls the mixing data acquisition interface to acquire the mixing data from the mixing data buffer area and records the mixing data.
4. The integrated management module according to claim 1, characterized in that: The microphone management unit is also used to monitor the newly connected microphone of the current system in real time. If the priority of the newly connected microphone is higher than the priority of the original microphone, the newly connected microphone is switched, that is, the driver node of the original microphone is closed and the driver node of the newly connected microphone is opened.
5. A multi-audio input device management system, characterized in that: comprising a plurality of microphones, a plurality of upper layer applications, and the integrated management module as claimed in claim 1, wherein the integrated management module is connected to each microphone and each upper layer application respectively; The integrated management module is used to monitor the microphone connected to the current system. If the current system has only one microphone, the driver node corresponding to the microphone is matched and opened according to the monitoring result. If the current system has multiple microphones, the driver node of the microphone with the highest priority is matched and opened according to the monitoring result. The integrated management module obtains the microphone data corresponding to the driver node through the driver node, and sends the microphone data to the corresponding upper layer application when detecting the call of the upper layer application.
6. The multi-audio input device management system according to claim 5, characterized in that: The integrated management module also includes: A microphone data buffer area, used to buffer the microphone data acquired by the driver node; The data interface providing unit of the integrated management module includes a microphone data acquisition interface; The upper layer software calls the microphone data acquisition interface to acquire microphone data from the microphone data buffer area, and scores the microphone data.
7. The multi-audio input device management system according to claim 6, characterized in that: The integrated management module also includes: An accompaniment data buffer area, used for buffering the accompaniment data output by the upper layer software; An accompaniment mixing unit, used for obtaining microphone data from the microphone data buffer area, and obtaining accompaniment data from the accompaniment data buffer area, mixing the microphone data and the accompaniment data and outputting the mixed data; A mixing data buffer area, used for caching the mixing data output by the accompaniment mixing unit; The data interface providing unit also includes a mixing data acquisition interface; The upper layer software is used for outputting the accompaniment data and buffering it in the accompaniment data buffer area; The integrated management module obtains microphone data from the microphone data buffer area, and obtains accompaniment data from the accompaniment data buffer area, performs mixing processing on the microphone data and the accompaniment data and outputs the mixed data, and caches the output mixed data in the mixed data buffer area; The upper layer software calls the mixing data acquisition interface to acquire the mixing data from the mixing data buffer area, and records the mixing data.
8. The multi-audio input device management system according to claim 5, characterized in that: The microphone management unit of the integrated management module is also used to monitor the newly connected microphone of the current system in real time. If the integrated management module detects that the priority of the newly connected microphone is higher than the priority of the original microphone, it switches to the newly connected microphone, that is, closes the driver node of the original microphone and opens the driver node of the newly connected microphone.
9. A method for managing multiple audio input devices, characterized in that: Using the multi-audio input device management system as claimed in any one of claims 5 to 8, the method comprises: The integrated management module monitors the microphone connected to the current system. If the current system has only one microphone, the driver node corresponding to the microphone is matched and opened according to the monitoring result. If the current system has multiple microphones, the driver node of the microphone with the highest priority is matched and opened according to the monitoring result. The integrated management module acquires microphone data corresponding to the driving node through the driving node; The upper layer application obtains the microphone data through a data interface providing unit.
10. The multi-audio input device management method according to claim 9, characterized in that: Also includes: In response to the integrated management module monitoring that a new microphone is connected to the current system, determining whether the priority of the newly connected microphone is higher than the priority of the original microphone; If it is higher, the microphone is switched, that is, the driver node of the newly connected microphone is turned on and the driver node of the original microphone is turned off; Otherwise, no switching operation is performed.
11. The multi-audio input device management method according to claim 9, characterized in that: The upper layer application is a karaoke application.
12. A vehicle, characterized in that: A multi-audio input device management system as described in any one of claims 5 to 8 is adopted.
Citation Information
Patent Citations
Vehicle-mounted karaoke system
CN215868619U