CN-121999753-A - Audio TDM interface channel expansion method and device
Abstract
The application belongs to the technical field of data processing, and discloses an audio TDM interface channel expansion method and device, wherein the method comprises the steps that an audio synthesis module acquires audio input data; the audio synthesis module processes the audio input data to obtain combined data, the audio synthesis module sends the combined data to the TDM interface, the TDM interface receives the combined data and sends the combined data to the audio decomposition module, and the audio decomposition module receives and processes the combined data to obtain audio output data. The application can properly combine the acquired audio input data through the audio synthesis module and then send the combined audio input data to the TDM interface, and the combined audio input data is transmitted to the audio decomposition module through the TDM interface to decompose the audio so as to obtain the audio output data, thereby realizing the expansion of channels by the TDM interface, realizing the parallel transmission of multiple paths of audio data without adding additional physical interfaces, and greatly saving the hardware cost.
Inventors
- MA QICHENG
- YAO LIHUA
- RAN GUANGWEI
- LIU QI
- WANG HUAFENG
Assignees
- 广州星河智动汽车科技有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20251226
Claims (10)
- 1. A method for expanding an audio TDM interface channel, the method comprising: the audio synthesis module acquires audio input data; The audio synthesis module processes the audio input data to obtain combined data; The audio synthesis module sends the combined data to a TDM interface; The TDM interface receives the combined data and sends the combined data to an audio decomposition module; and the audio decomposition module receives and processes the combined data to obtain audio output data.
- 2. The audio TDM interface channel expansion method of claim 1, wherein said TDM interface comprises 4 multichannel TDM interface controllers.
- 3. The method of claim 2, wherein the audio input data has an audio bit number less than or equal to the audio bit number transmitted by the TDM interface, and the audio output data has an audio bit number less than or equal to the audio bit number transmitted by the TDM interface.
- 4. The method of claim 3, wherein the audio synthesis module processes the audio input data to obtain combined data, comprising: The audio synthesis module arranges the audio input data according to the input sequence to obtain arranged audio input data; And the audio synthesis module sequentially synthesizes the arranged audio input data according to the audio bit number transmitted by each multichannel TDM interface controller to obtain combined data.
- 5. The method of claim 4, wherein the number of audio bits transmitted by each of the multi-channel TDM interface controllers is 8, 16,32 or 64.
- 6. The method of claim 5, wherein the audio decomposition module receives and processes the combined data to obtain audio output data, comprising: the audio decomposition module receives the combined data, and decomposes the combined data according to the audio bit number transmitted by each multichannel TDM interface controller corresponding to the audio synthesis module to obtain audio output data.
- 7. The audio TDM interface channel expansion method according to claim 1, further comprising: The audio synthesis module is arranged in a main control chip, and the audio decomposition module is arranged in a second control chip.
- 8. An audio TDM interface channel expansion device, the device comprising: the system comprises an audio synthesis module, a TDM interface, a data processing module and a data processing module, wherein the audio synthesis module is used for acquiring audio input data, processing the audio input data to obtain combined data, and sending the combined data to the TDM interface; The TDM interface is used for receiving the combined data and sending the combined data to the audio decomposition module; And the audio decomposition module is used for receiving and processing the combined data to obtain audio output data.
- 9. The audio TDM interface channel expansion device of claim 8, wherein said TDM interface comprises 4 multichannel TDM interface controllers.
- 10. The apparatus of claim 9, wherein the audio input data has an audio bit number less than or equal to an audio bit number transmitted by the TDM interface, and wherein the audio output data has an audio bit number less than or equal to an audio bit number transmitted by the TDM interface.
Description
Audio TDM interface channel expansion method and device Technical Field The present application relates to the field of data processing technologies, and in particular, to a method and an apparatus for expanding an audio TDM interface channel. Background TDM is a technique for multiplexing a plurality of audio signals into a single channel, and sequential transmission of multi-channel audio data is achieved by dividing time into a plurality of slots (also referred to as channels), each signal being transmitted in a different time slot. In order to provide abundant and high-quality audio experience for drivers and passengers, the automobile research and development starts to pay more attention to the improvement of sound quality, attach importance to the audio demands of users in different scenes, increase the number of loudspeakers, increase the sound effects of high-quality stereo surround sound, heavy bass, HIFI sound quality and the like, and the demands require a main control chip to support more audio output and input channel numbers, so that the multichannel audio processing capability is more and more important to enterprises, and the use of a TDM interface for audio data transmission becomes a key point. The current master control chip can support one or more TDM interfaces, and the TDM interfaces can reach 16 channels, 32 channels and other multiple channels. However, the use of multiple TDM interfaces increases the difficulty of designing the hardware circuit board, and the number of TDM interfaces and the requirements on chip performance are correspondingly increased by the receiving end chip, which increases the hardware cost, and some of the master control chips include TDM8 or TDM16, but not TDM32, which has limitation in application. Therefore, how to extend the TDM interface channel becomes a problem to be solved. Disclosure of Invention The application provides an audio TDM interface channel expansion method and device, which can properly combine acquired audio input data through an audio synthesis module and then send the combined audio input data to a TDM interface, and the combined audio input data is transmitted to an audio decomposition module through the TDM interface to decompose audio so as to obtain audio output data, so that the TDM interface realizes channel expansion, realizes parallel transmission of multiple paths of audio data on the premise of not adding an additional physical interface, greatly saves hardware cost, further improves the processing efficiency of the audio input data, reduces power consumption, and can be widely applied to various audio processing fields such as a multimedia system. In a first aspect, an embodiment of the present application provides a method for expanding an audio TDM interface channel, where the method includes: the audio synthesis module acquires audio input data; the audio synthesis module processes the audio input data to obtain combined data; the audio synthesis module sends the combined data to the TDM interface; the TDM interface receives the combined data and sends the combined data to the audio decomposition module; The audio decomposition module receives and processes the combined data to obtain audio output data. Further, the TDM interface includes 4 multi-channel TDM interface controllers. Further, the audio bit number of the audio input data is smaller than or equal to the audio bit number transmitted by the TDM interface, and the audio bit number of the audio output data is smaller than or equal to the audio bit number transmitted by the TDM interface. Further, the audio synthesis module processes the audio input data to obtain combined data, including: the audio synthesis module arranges the audio input data according to the input sequence to obtain arranged audio input data; And the audio synthesis module sequentially synthesizes the arranged audio input data according to the audio bit number transmitted by each multichannel TDM interface controller to obtain the combined data. Further, the audio bit number transmitted by each multichannel TDM interface controller is 8 bits, 16 bits, 32 bits or 64 bits. Further, the audio decomposition module receives and processes the combined data to obtain audio output data, including: The audio decomposition module receives the combined data, and decomposes the combined data according to the audio bit numbers transmitted by each multichannel TDM interface controller corresponding to the audio synthesis module to obtain audio output data. Further, the method further comprises: the audio synthesis module is arranged in the main control chip, and the audio decomposition module is arranged in the second control chip. In a second aspect, an embodiment of the present application provides an audio TDM interface channel expansion device, where the device includes: The audio synthesis module is used for acquiring audio input data; processing the audio input data to obtain combined data, and sending