Digital audio distribution system and digital audio distribution method

By performing silent sampling and segmented conversion packaging in the digital audio distribution system, the DC bias component in the audio data is eliminated, solving the problems of demanding hardware requirements and complex control logic, and achieving stability and high-quality broadcasting during audio switching.

CN119946503BActive Publication Date: 2025-10-03广州市迪士普音响科技有限公司
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510137280.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-02-07
Publication Date
2025-10-03
Estimated Expiration
2045-02-07

AI Technical Summary

Technical Problem

The existing digital audio distribution system has stringent requirements on hardware conditions and control logic, resulting in poor implementation in actual scenarios, especially when switching the audio input end, it is easy to produce impact sound.

Method used

The audio input module is used to perform silent sampling and segmented conversion packaging to generate an audio data packet containing a silent flag. The DC bias component is eliminated through the audio distribution processing module to output clean audio data and avoid impact sound.

Benefits of technology

Effectively eliminate the DC bias component in digital audio data, improve the stability and broadcasting effect during audio switching, and simplify hardware requirements and control logic.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119946503B_ABST
    Figure CN119946503B_ABST
Patent Text Reader

Abstract

The present application provides a digital audio distribution system and a digital audio distribution method, and the digital audio distribution method is applied to a digital audio distribution system, wherein the digital audio distribution system includes an audio input module, an audio distribution processing module and an audio output module, wherein one end of the audio distribution processing module is connected to multiple audio input modules respectively, and the other end is connected to multiple audio output modules respectively. The audio input module can silently sample analog audio data and then perform analog-to-digital conversion, so that the conversion result only contains a DC bias component. Therefore, the audio distribution processing module can eliminate the DC bias component in the digital audio data converted from the analog audio data based on the conversion result, obtain clean output audio data, and transmit the output audio data to the corresponding audio output module for driving output, so as to avoid impact sound during audio switching, thereby improving the implementation effect of the digital audio distribution system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of audio processing technology, and in particular to a digital audio distribution system and a digital audio distribution method. Background Art

[0002] In a multi-input, multi-output (MIMO) digital audio distribution system, analog audio data must be converted from analog to digital at the audio input before it can be output. During this conversion process, the DC bias voltage serves as a critical reference point, resulting in a DC bias component being superimposed on the converted digital audio data. Furthermore, the DC bias voltages at different audio inputs vary, resulting in different digital audio data after the same analog audio data is converted from different audio inputs.

[0003] Therefore, when the same audio output switches between different audio inputs, the difference in the DC bias component carried in the digital audio data as the audio data switches causes transient level changes, which in turn produces a noticeable percussive sound. To this end, current digital audio distribution systems typically add a mute circuit to the audio output to implement a brief mute when the input switches to avoid the percussive sound, or strictly require that the digital-to-analog conversion modules of all audio inputs have a consistent DC bias voltage. However, these two solutions place very stringent requirements on the hardware conditions of the digital audio distribution system, and the control logic is relatively complex, resulting in poor implementation of digital audio distribution systems in actual scenarios. Summary of the Invention

[0004] The purpose of this application is to solve at least one of the above-mentioned technical defects, especially the technical defects that the existing technology has very stringent requirements on the hardware conditions of the digital audio distribution system and the control logic is relatively complex, resulting in poor implementation effect of the digital audio distribution system in actual scenarios.

[0005] The present application provides a digital audio distribution system, the system comprising an audio input module, an audio distribution processing module and an audio output module;

[0006] One end of the audio distribution processing module is connected to the multiple audio input modules respectively, and the other end is connected to the multiple audio output modules respectively;

[0007] The audio input module is used to perform silent sampling on the continuously input analog audio data to obtain silent audio data, and to perform segmented conversion and packaging on the analog audio data based on the silent audio data to generate an audio data packet; wherein the audio data packet includes a silent flag bit;

[0008] The audio distribution processing module is used to determine a mute flag in a received audio data packet, and eliminate a DC bias component in the audio data packet based on the mute flag to obtain output audio data, and transmit the output audio data to a corresponding audio output module;

[0009] The audio output module is used to drive the output of received output audio data.

[0010] Optionally, the audio input module includes a front-end mute module, an analog-to-digital conversion module and a data packaging module;

[0011] The front-end mute module is used to sample the analog audio data when receiving the input analog audio data, and perform a mute operation on the sampling result to obtain mute audio data;

[0012] The analog-to-digital conversion module is used to perform analog-to-digital conversion on the silent audio data and the analog audio data to generate digital audio data;

[0013] The data packaging module is used to sequentially package the digital audio data in sections to obtain audio data packets.

[0014] Optionally, the data packaging module is used to sequentially package the digital audio data to obtain an audio data packet, including:

[0015] The data packaging module determines an output channel number of the digital audio data, segments the digital audio data according to a preset frequency to obtain digital segmented audio, and determines a mute flag corresponding to each digital segmented audio, so as to package the audio data packet corresponding to each digital segmented audio based on the output channel number and each mute flag.

[0016] Optionally, the process of the data packing module packing the audio data packet corresponding to each digital segmented audio based on the output channel number and each mute flag bit includes:

[0017] For each digital segmented audio, the data packaging module compresses the digital segmented audio to obtain an audio compression package, and packages the mute flag of the digital segmented audio, the output channel number and the audio compression package according to a preset format to generate an audio data packet.

[0018] Optionally, the audio distribution processing module is configured to eliminate a DC bias component in the audio data packet based on the mute flag to obtain output audio data, comprising:

[0019] The audio distribution processing module decompresses the audio data packet to obtain a mute flag and digital segmented audio, and determines the audio type of the digital segmented audio based on the mute flag;

[0020] When the audio type is determined to be silent digital audio, the audio distribution processing model performs voltage averaging calculation on the digital segmented audio and uses the calculation result as the DC bias component of the analog audio data;

[0021] When the audio type is determined to be normal digital audio, the audio distribution processing model subtracts the digital segmented audio from the DC offset component to obtain output audio data.

[0022] Optionally, the process of the audio distribution processing module confirming the audio type of the digital segmented audio based on the silence flag includes:

[0023] When the mute flag is 1, the audio allocation processing module confirms that the audio type of the digital segmented audio is mute digital audio;

[0024] When the mute flag is 0, the audio allocation processing module determines that the audio type of the digital segmented audio is normal digital audio.

[0025] Optionally, the process of the audio distribution processing module for transmitting the output audio data to the corresponding audio output module includes:

[0026] The audio distribution processing module decompresses the audio data packet to obtain the output channel number, and identifies the audio output module corresponding to the output channel number, so as to transmit the output audio data to the audio output module.

[0027] The present application also provides a digital audio distribution method, which is applied to the digital audio distribution system described in any one of the above embodiments. The method includes:

[0028] Performing silent sampling on the analog audio data continuously inputted into the audio input module to obtain silent audio data, and performing segmented conversion and packaging on the analog audio data based on the silent audio data to generate an audio data packet; wherein the audio data packet includes a silent flag bit;

[0029] Determining a mute flag in a received audio data packet through the audio distribution processing module, and eliminating a DC bias component in the audio data packet based on the mute flag to obtain output audio data;

[0030] The output audio data is transmitted to the corresponding audio output module for driving output.

[0031] Optionally, the performing segmented conversion and packaging on the analog audio data based on the silent audio data to generate an audio data packet includes:

[0032] Performing analog-to-digital conversion on the silent audio data and the analog audio data to generate digital audio data, and determining an output channel number of the digital audio data;

[0033] Segmenting the digital audio data according to a preset frequency to obtain digital segmented audio, and determining a mute flag corresponding to each digital segmented audio;

[0034] The audio data packet corresponding to each digital segmented audio is obtained by packaging based on the output channel number and each mute flag bit.

[0035] Optionally, eliminating a DC bias component in the audio data packet based on the mute flag to obtain output audio data includes:

[0036] decompressing the audio data packet to obtain a mute flag and digital segmented audio, and determining an audio type of the digital segmented audio based on the mute flag;

[0037] When it is determined that the audio type is silent digital audio, performing voltage average calculation on the digital segmented audio, and using the calculation result as the DC bias component of the analog audio data;

[0038] When it is determined that the audio type is normal digital audio, the digital segmented audio is subtracted from the DC offset component to obtain output audio data.

[0039] It can be seen from the above technical solutions that the embodiments of the present application have the following advantages:

[0040] The present application provides a digital audio distribution system and a digital audio distribution method, which are applied to a digital audio distribution system. The digital audio distribution system includes an audio input module, an audio distribution processing module, and an audio output module. The audio distribution processing module is connected to multiple audio input modules at one end and to multiple audio output modules at the other end. Each module performs a corresponding function to enable the digital audio distribution system to eliminate the DC offset component in the digital audio data converted from analog audio data before the audio is output, thereby avoiding the generation of impact sound when the audio switches. For example, the audio input module can perform silent sampling on the continuously input analog audio data to obtain silent audio data, and then segmentally convert and package the analog audio data based on the silent audio data to generate audio data packets, so that the audio data packets corresponding to the silent audio data only contain the DC offset component. Therefore, the audio distribution processing module can eliminate the DC offset component in all audio data packets based on the audio data packets corresponding to the silent audio data, obtain clean output audio data, and transmit the output audio data to the corresponding audio output module for driving output, thereby avoiding the generation of impact sound when the audio switches, thereby improving the implementation effect of the digital audio distribution system. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0042] Figure 1 A schematic diagram of the structure of a digital audio distribution system provided in an embodiment of the present application;

[0043] Figure 2 A schematic diagram of the structure of an audio data module provided in an embodiment of the present application;

[0044] Figure 3 A flowchart of a digital audio distribution method provided in an embodiment of the present application;

[0045] Figure 4 A flowchart of an audio data packet generation process provided in an embodiment of the present application;

[0046] Figure 5 A schematic flow chart of a DC bias component elimination process provided in an embodiment of the present application. DETAILED DESCRIPTION

[0047] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0048] When the same audio output switches between different audio inputs, the difference in the DC bias component carried in the digital audio data as the audio data switches causes transient level changes, which in turn produces a noticeable percussive sound. To this end, current digital audio distribution systems typically add a mute circuit to the audio output to implement a brief mute when the input switches to avoid the percussive sound, or strictly require that the digital-to-analog conversion modules of all audio inputs have a consistent DC bias voltage. However, these two solutions place very stringent requirements on the hardware conditions of the digital audio distribution system, and the control logic is relatively complex, resulting in poor implementation of digital audio distribution systems in actual scenarios.

[0049] Based on this, this application proposes the following technical solutions, please refer to the following for details:

[0050] In one embodiment, Figure 1 As shown, Figure 1 This is a structural diagram of a digital audio distribution system provided in an embodiment of the present application. The present application provides a digital audio distribution system, including an audio input module, an audio distribution processing module, and an audio output module. Specifically, it includes the following:

[0051] One end of the audio distribution processing module is connected to the multiple audio input modules respectively, and the other end is connected to the multiple audio output modules respectively.

[0052] The audio input module is used to perform silent sampling on the continuously input analog audio data to obtain silent audio data, and to perform segmented conversion and packaging on the analog audio data based on the silent audio data to generate an audio data packet; wherein the audio data packet includes a silent flag.

[0053] The audio distribution processing module is used to determine the mute flag in the received audio data packet, and eliminate the DC bias component in the audio data packet based on the mute flag to obtain output audio data, and transmit the output audio data to the corresponding audio output module.

[0054] The audio output module is used to drive the output of the received output audio data.

[0055] In this embodiment, Figure 1As shown, the digital audio distribution system of the present application is mainly composed of three modules connected in sequence, namely, an audio input module, an audio distribution processing module and an audio output module; among them, multiple audio input modules and audio output modules are respectively provided according to actual application requirements, so that different audios can be switched and broadcasted in different audio output modules during the broadcasting process; in addition, each module in the system performs corresponding functions, thereby forming a multi-input and multi-output digital audio distribution system.

[0056] First, the audio input module can receive analog audio signals from different audio sources and convert them into digital audio signals. Once a new analog audio signal is received, the audio input module can first use silent sampling technology to collect a section of analog audio data for silent processing to obtain corresponding silent audio data. Then, the audio input module can segment and package the analog audio data continuously received based on the silent audio data to generate audio data packets, that is, convert it from the form of analog audio signals to the form of digital audio signals. Therefore, the audio data packets here are all superimposed with DC bias components, while the audio data corresponding to the silent audio data only contains DC bias components and does not contain other audio information, so it can provide a reference benchmark for the processing of other audio data packets.

[0057] Secondly, the audio distribution processing module further processes all audio data packets. By comparing the DC offset component in the audio packets corresponding to the silent audio data, the audio distribution processing module accurately removes the DC offset component in each audio packet, thereby restoring a pure audio signal. During this process, the digital audio distribution system processes and corrects each audio packet individually, ensuring the final output audio data is high-quality and free of noise and unnecessary interference.

[0058] Finally, the audio output module receives and plays the clean audio data processed by the audio distribution processing module. This module drives and outputs high-quality audio signals based on specific needs and scenarios, ensuring accurate transmission within the device or system. As can be seen, since the DC offset component is effectively eliminated by the audio distribution processing module, there is no sudden thump or noise during audio switching, significantly improving broadcast quality and stability.

[0059] In the above embodiment, the digital audio distribution system includes an audio input module, an audio distribution processing module, and an audio output module, wherein one end of the audio distribution processing module is connected to multiple audio input modules respectively, and the other end is connected to multiple audio output modules respectively. Each module performs a corresponding function to enable the digital audio distribution system to eliminate the DC bias component in the digital audio data converted from the analog audio data before the audio is output, thereby avoiding the generation of impact sound when the audio switches. For example, the audio input module can perform silent sampling on the continuously input analog audio data to obtain silent audio data, and then segmentally convert and package the analog audio data based on the silent audio data to generate audio data packets, so that the audio data packets corresponding to the silent audio data only contain the DC bias component; therefore, the audio distribution processing module can eliminate the DC bias component in all audio data packets based on the audio data packets corresponding to the silent audio data, obtain clean output audio data, and transmit the output audio data to the corresponding audio output module for driving output, thereby avoiding the generation of impact sound when the audio switches, thereby improving the implementation effect of the digital audio distribution system.

[0060] In one embodiment, Figure 2 As shown, Figure 2 A schematic diagram of the structure of an audio data module provided in an embodiment of the present application; Figure 2 In the example, the audio input module may include a front-end mute module, an analog-to-digital conversion module, and a data packaging module; specifically, the following:

[0061] The front-end mute module is used to sample the analog audio data when receiving input analog audio data, and perform a mute operation on the sampling result to obtain mute audio data.

[0062] The analog-to-digital conversion module is used to perform analog-to-digital conversion on silent audio data and analog audio data to generate digital audio data.

[0063] The data packing module is used to pack the digital audio data in sections in sequence to obtain audio data packets.

[0064] In this embodiment, Figure 2 As shown, in order to achieve more refined and efficient audio data processing, the present application can further divide the audio input module into three modules, which are connected in the order of the front-end mute module, analog-to-digital conversion module, and data packaging module. Each module has its own independent function, and they work together to complete the complete audio input process, providing a reliable foundation for subsequent audio processing.

[0065] The front-end mute sampling module is the primary component of the entire audio input module, responsible for sampling and muting the incoming analog audio data. When an analog audio signal is transmitted from an external device or source, the front-end mute sampling module monitors the signal in real time and samples the analog audio data at preset intervals. The sampled data is muted to extract the mute audio data as a reference signal, providing a pure reference signal for the incoming analog audio data. This effectively reflects the characteristics of the DC bias component to be superimposed during subsequent conversion processes.

[0066] The analog-to-digital conversion module is a crucial component for converting analog signals to digital signals. It's primarily responsible for converting the silent audio data generated by the front-end silent sampling module, as well as the input analog audio data. During the analog-to-digital conversion process, the module uses a DC bias voltage as a reference point. The resulting audio data after digital-to-analog conversion has a DC bias component superimposed on the original audio, ultimately generating high-fidelity digital audio data. This lays the foundation for digital processing, enabling the system to store and process continuous analog audio signals in a discrete, digitized form.

[0067] The data packaging module is primarily responsible for further organizing and processing the digital audio data generated by the analog-to-digital conversion module. After the digital signal is generated, the data packaging module segments the digital audio data according to predefined rules and encapsulates it into audio data packets. This audio data packet encapsulation uses a sequential packaging method to ensure data integrity and timing consistency. Each audio data packet contains the complete audio segment information while preserving the characteristics of silent audio data, allowing subsequent modules to perform unified DC offset correction and processing on the audio data packets.

[0068] In one embodiment, the data packaging module is used to sequentially package the digital audio data to obtain an audio data packet, which may include:

[0069] The data packaging module determines the output channel number of the digital audio data, and segments the digital audio data according to a preset frequency to obtain digital segmented audio, and determines the mute flag corresponding to each digital segmented audio, so as to package the audio data packet corresponding to each digital segmented audio based on the output channel number and each mute flag.

[0070] In this embodiment, when packaging digital audio data, the data packaging module can divide the continuously input audio data into multiple segments of digital segmented audio, and then combine the output channel number and the mute flag of each segment of digital segmented audio to encapsulate each segment of data into an independent audio data packet. Therefore, the data packaging module can obtain the audio data packet corresponding to each digital segmented audio based on the output channel number and each mute flag, thereby realizing the structured organization of the digital audio data and providing clear guidance and optimized interface for subsequent module processing.

[0071] The output channel number refers to the identification information corresponding to the output channel, which is used to indicate the output channel to which the audio data belongs. In this application, it can refer to the audio output module to be assigned. The mute flag refers to the identification information of whether the digital segmented audio is in a mute state.

[0072] Specifically, the data packaging module can first determine the output channel number of the digital audio data. This output channel number can be dynamically and automatically generated according to the system configuration rules or the source of the audio data, providing a clear path mapping for multi-channel audio processing. The data packaging module can then select the corresponding segmentation frequency according to the system transmission and processing efficiency requirements to segment the continuous digital audio data, and cut it in sequence to obtain multiple segments of digital segmented audio. Each segment of data contains an audio signal sampled within a specific time range. This not only ensures the temporal continuity of the data, but also provides a basic unit for subsequent mute flag judgment and data packaging operations.

[0073] In addition, the data packing module also needs to assign a corresponding mute flag to each segment of digital segmented audio, which is mainly achieved by analyzing the signal characteristics of the segmented audio data. Here, the data packing module can determine whether it is in a mute state by detecting the signal amplitude and spectrum characteristics of the audio data. If the data amplitude of the segmented audio is close to zero and there is a lack of significant energy components in the spectrum, it is judged as a mute feature and a corresponding mute flag is assigned to it; if the signal amplitude or spectrum characteristics show obvious non-mute features, the flag will indicate a non-mute state. Through the setting of the mute flag, this application can provide an important basis for subsequent modules to quickly identify silent digital audio and to specifically process DC bias.

[0074] In one embodiment, the process of the data packaging module packaging the audio data packet corresponding to each digital audio segment based on the output channel number and each mute flag bit may include:

[0075] For each digital segmented audio, the data packaging module compresses the digital segmented audio to obtain an audio compression package, and packages the mute flag, output channel number and audio compression package of the digital segmented audio according to a preset format to generate an audio data packet.

[0076] In this embodiment, when packaging the digital segmented audio, the data packaging module can first compress the digital segmented audio to obtain an audio compression package, and then package the mute flag, output channel number and audio compression package of the digital segmented audio according to a preset format to generate a standardized audio data packet.

[0077] It can be understood that the digital packaging module can reduce the storage space and transmission bandwidth requirements of the digital segmentation module through data compression processing, thereby improving the system's operating efficiency and transmission performance; the data compression processing here can be implemented using a compression algorithm to convert the original digital segmented audio into a smaller audio compression package that is easier to process and transmit.

[0078] Specifically, during the packaging process, the data packaging module can follow a unified packaging protocol or a preset data format standard to encapsulate the mute flag, output channel number, and audio compression package in a predetermined order or hierarchical structure. Each audio data packet contains this key information, which not only ensures the integrity and consistency of the data structure, but also facilitates the subsequent audio distribution processing module or audio output module to parse and use it. In this way, the data packaging module can convert segmented audio data into standardized audio data packets, providing a basic guarantee for the efficient operation and seamless audio switching of the entire digital audio distribution system.

[0079] In one embodiment, the process of the audio distribution processing module for eliminating the DC offset component in the audio data packet based on the mute flag to obtain output audio data may include:

[0080] The audio distribution processing module decompresses the audio data packet to obtain a mute flag and digital segmented audio, and confirms the audio type of the digital segmented audio based on the mute flag.

[0081] When the audio type is determined to be silent digital audio, the audio distribution processing model performs voltage average calculation on the digital segmented audio and uses the calculation result as the DC bias component of the analog audio data.

[0082] When the audio type is confirmed to be normal digital audio, the audio distribution processing model subtracts the digital segmented audio from the DC offset component to obtain output audio data.

[0083] In this embodiment, when eliminating the DC bias component in the audio data packet, the audio distribution processing module can first decompress the audio data packet to obtain the mute flag and digital segmented audio, and confirm the audio type of the digital segmented audio based on the mute flag, and then use a method corresponding to the audio type to eliminate the DC bias component, thereby obtaining clean output audio data.

[0084] Specifically, when the audio type is silent digital audio, the audio distribution processing module can count and average the voltage data in the silent digital audio, and calculate the average voltage value representing the DC bias of the audio segment, that is, the DC bias component in the analog audio data continuously input this time; when the audio type is normal digital audio, the audio distribution processing module can further process the digital segmented audio based on the DC bias component calculated previously, including subtracting the corresponding DC bias component from the digital segmented audio to eliminate the DC bias introduced by the analog-to-digital conversion node, and restore pure audio data without DC bias. Through this method, the digital audio distribution system of the present application can dynamically adapt to the bias characteristics of different input audio data, ensuring that the calculation result of the DC bias component has high accuracy.

[0085] In one embodiment, the process of the audio distribution processing module confirming the audio type of the digital segmented audio based on the silence flag may include:

[0086] When the mute flag is 1, the audio distribution processing module determines that the audio type of the digital segmented audio is mute digital audio.

[0087] When the mute flag is 0, the audio distribution processing module determines that the audio type of the digital segmented audio is normal digital audio.

[0088] In this embodiment, the audio distribution processing module uses the value of the mute flag to determine the specific type of each digital segmented audio, thus providing a basis for subsequent audio data processing steps. For example, when the mute flag is 1, the audio distribution processing module will determine that the type of the digital segmented audio is mute digital audio. At this time, the amplitude of the audio signal is zero, and it only contains the DC offset component introduced during the analog audio conversion process, which serves as a reference for the system to process other audio data. When the mute flag is 0, the audio distribution processing module will determine that the type of the digital segmented audio is normal digital audio. At this time, it contains the actual audio data and the DC offset component introduced during the audio conversion process, which is the core data that the system needs to process and output.

[0089] In one embodiment, the process of the audio distribution processing module transmitting the output audio data to the corresponding audio output module may include:

[0090] The audio distribution processing module decompresses the audio data packet to obtain the output channel number, and confirms the audio output module corresponding to the output channel number, so as to transmit the output audio data to the audio output module.

[0091] In this embodiment, after receiving the audio data packet, the audio distribution processing module may first parse the data packet to obtain the output channel number, and then confirm the audio output module corresponding to the output channel number to transmit the output audio data to the audio output module.

[0092] Specifically, after obtaining the output channel number of the audio data packet, the audio distribution processing module can match the output channel number with the configured audio output module according to a preset channel mapping table and confirm the audio output module corresponding to the output channel number based on the matching result. Next, the audio distribution processing module can generate corresponding instructions based on the scheduling logic built into the digital audio distribution system to transmit the processed output audio data to the matched audio output module for playback. During the transmission process, the audio distribution processing module also monitors the integrity and accuracy of the audio data in real time to ensure that the audio signal is not lost, delayed, or distorted during transmission.

[0093] In one embodiment, Figure 3 As shown, Figure 3 This is a flow chart of a digital audio distribution method provided by the present application. The present application also provides a digital audio distribution method, which is applied to the digital audio distribution system described in any one of the above embodiments, and specifically includes the following:

[0094] S110: Performing silent sampling on the analog audio data continuously inputted into the audio input module to obtain silent audio data, and performing segmented conversion and packaging on the analog audio data based on the silent audio data to generate an audio data packet; wherein the audio data packet includes a silent flag.

[0095] S120: Determine the mute flag in the received audio data packet through the audio distribution processing module, and eliminate the DC bias component in the audio data packet based on the mute flag to obtain output audio data.

[0096] S130: Transmit the output audio data to the corresponding audio output module for driving output.

[0097] In this embodiment, the digital audio distribution system can perform silent sampling on the analog audio data continuously input into the audio input module to obtain silent audio data, and perform segmented conversion and packaging on the analog audio data based on the silent audio data to generate an audio data packet containing a silent flag; then the silent flag in the received audio data packet can be determined through the audio distribution processing module, and the DC bias component in the audio data packet can be eliminated based on the silent flag to obtain output audio data, so that the output audio data can be transmitted to the corresponding audio output module for driven output.

[0098] Specifically, once there is analog audio data input from different audio sources, the digital audio distribution system can first use silent sampling technology to collect a segment of silent audio data to provide a reference benchmark for subsequent audio data processing, ensuring that the DC bias component can be accurately eliminated during the audio signal conversion process; then the segment of analog audio data can be collected normally, and its row segmentation conversion and packaging can be performed based on the silent audio data to generate an audio data packet. The audio data packets obtained by the conversion and packaging here are all superimposed with a DC bias component; therefore, the digital audio distribution system needs to determine the silent flag in the received audio data packet through the audio distribution processing module, and eliminate the DC bias component in the audio data packet based on the silent flag to obtain clean output audio data, so that the output audio data can be transmitted to the corresponding audio output module for driving output, so that there will be no sudden impact sound or noise when the audio is switched, greatly improving the broadcasting effect and stability.

[0099] It should be noted that, unlike the analog audio data obtained through normal acquisition, the audio data packet obtained by directly converting and packaging the silent audio data only contains a DC bias component.

[0100] In the above embodiment, the digital audio distribution method is applied to a digital audio distribution system, which includes an audio input module, an audio distribution processing module, and an audio output module. The audio distribution processing module is connected to multiple audio input modules at one end and to multiple audio output modules at the other end. Each module performs a corresponding function to enable the digital audio distribution system to eliminate the DC offset component in the digital audio data converted from the analog audio data before the audio is output, thereby avoiding the generation of impact sound when the audio switches. For example, the audio input module can perform silent sampling on the continuously input analog audio data to obtain silent audio data, and then segmentally convert and package the analog audio data based on the silent audio data to generate audio data packets, so that the audio data packets corresponding to the silent audio data only contain the DC offset component. Therefore, the audio distribution processing module can eliminate the DC offset component in all audio data packets based on the audio data packets corresponding to the silent audio data, obtain clean output audio data, and transmit the output audio data to the corresponding audio output module for driving output, thereby avoiding the generation of impact sound when the audio switches, thereby improving the implementation effect of the digital audio distribution system.

[0101] In one embodiment, Figure 4 As shown, Figure 4 A flowchart of an audio data packet generation process provided in an embodiment of the present application; Figure 4 In step S110, the process of performing segmented conversion and packaging on the analog audio data based on the silent audio data to generate an audio data packet may include:

[0102] S111: Perform analog-to-digital conversion on the silent audio data and the analog audio data to generate digital audio data, and determine the output channel number of the digital audio data.

[0103] S112: Segment the digital audio data according to a preset frequency to obtain digital segmented audio, and determine a mute flag corresponding to each digital segmented audio.

[0104] S113: Packing the audio data packet corresponding to each digital audio segment based on the output channel number and each mute flag bit.

[0105] In this embodiment, when the digital audio distribution system performs segmented conversion and packaging on analog audio data, it can first perform analog-to-digital conversion on the silent audio data and the analog audio data to generate digital audio data, and determine the output channel number of the digital audio data. Then, the digital audio data is segmented according to a preset frequency to obtain digital segmented audio, and the silent flag corresponding to each digital segmented audio is determined. Finally, based on the output channel number and each silent flag, the audio data packet corresponding to each digital segmented audio can be packaged.

[0106] It is understood that each audio data packet in this application contains a mute flag, an output channel number, and compressed digital segmented audio. The mute flag indicates whether the digital segmented audio is a mute segment, providing a quick basis for subsequent audio processing methods to determine; the output channel number clarifies the transmission target and ownership of the audio data, ensuring that the data can be accurately routed to the designated audio output module or path; and the compressed digital segmented audio is the core data portion with a reduced size after compression, containing the main information of the digital segmented audio.

[0107] In one embodiment, Figure 5 As shown, Figure 5 A schematic diagram of a flow chart of a DC bias component elimination process provided in an embodiment of the present application; Figure 5 In step S120, the process of eliminating the DC bias component in the audio data packet based on the mute flag to obtain the output audio data may include:

[0108] S121: Decompress the audio data packet to obtain a mute flag and digital segmented audio, and determine the audio type of the digital segmented audio based on the mute flag.

[0109] S122: When it is determined that the audio type is silent digital audio, voltage averaging calculation is performed on the digital segmented audio, and the calculation result is used as a DC bias component of the analog audio data.

[0110] S123: When it is determined that the audio type is normal digital audio, the digital segmented audio is subtracted from the DC bias component to obtain output audio data.

[0111] In this embodiment, when the digital audio distribution system eliminates the DC bias component of the audio data packet, it can first decompress the audio data packet to obtain the mute flag and the digital segmented audio, and then confirm the audio type of the digital segmented audio based on the mute flag. Then, the digital audio distribution system can use a method corresponding to the audio type to eliminate the DC bias component in the digital segmented audio.

[0112] Specifically, when the digital audio distribution system confirms that the audio type is silent digital audio, it can perform a voltage average calculation on the digital segmented audio and use the calculated result as the DC offset component of the analog audio data, which is used as a reference value for subsequent processing. The digital audio distribution system can then continue to process subsequent audio data packets. When it confirms that the subsequent audio data packet is normal digital audio, it can subtract the digital segmented audio in the audio packet from the previously calculated DC offset component to obtain clean output audio data. In this way, the digital audio distribution system can dynamically adapt to the bias characteristics of different input audio, ensuring that the calculated DC offset component has a high degree of accuracy.

[0113] Finally, it should be noted that, in this document, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article, or device comprising the element.

[0114] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The various embodiments can be combined as needed, and the same or similar parts can be referenced to each other.

[0115] The above description of the disclosed embodiments is intended to enable one skilled in the art to implement or use the present application. Various modifications to these embodiments will be readily apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application is not limited to the embodiments shown herein, but is intended to conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A digital audio distribution system, characterized in that: The system includes an audio input module, an audio distribution processing module and an audio output module; One end of the audio distribution processing module is connected to the multiple audio input modules respectively, and the other end is connected to the multiple audio output modules respectively; The audio input module is used to perform silent sampling on the continuously input analog audio data to obtain silent audio data, and to perform segmented conversion and packaging on the analog audio data based on the silent audio data to generate an audio data packet; wherein the audio data packet includes a silent flag bit; The audio distribution processing module is used to determine a mute flag in a received audio data packet, and eliminate a DC bias component in the analog audio data based on the mute flag to obtain output audio data, and transmit the output audio data to a corresponding audio output module; The audio output module is used to drive the output of the received output audio data; The audio distribution processing module is configured to eliminate the DC bias component in the analog audio data based on the mute flag to obtain output audio data, including: The audio distribution processing module decompresses the audio data packet to obtain a mute flag and digital segmented audio, and determines the audio type of the digital segmented audio based on the mute flag; When the audio type is determined to be silent digital audio, the audio distribution processing module performs voltage averaging calculation on the digital segmented audio and uses the calculation result as the DC bias component of the analog audio data; When the audio type is determined to be normal digital audio, the audio distribution processing module subtracts the digital segmented audio from the DC offset component to obtain output audio data.

2. The digital audio distribution system according to claim 1, wherein: The audio input module includes a front-end mute module, an analog-to-digital conversion module and a data packaging module; The front-end mute module is used to sample the analog audio data when receiving the input analog audio data, and perform a mute operation on the sampling result to obtain mute audio data; The analog-to-digital conversion module is used to perform analog-to-digital conversion on the silent audio data and the analog audio data to generate digital audio data; The data packaging module is used to sequentially package the digital audio data in sections to obtain audio data packets.

3. The digital audio distribution system according to claim 2, wherein: The data packaging module is used to package the digital audio data in sequence to obtain an audio data packet, including: The data packaging module determines an output channel number of the digital audio data, segments the digital audio data according to a preset frequency to obtain digital segmented audio, and determines a mute flag corresponding to each digital segmented audio, so as to package the audio data packet corresponding to each digital segmented audio based on the output channel number and each mute flag.

4. The digital audio distribution system according to claim 3, wherein: The process of the data packaging module packaging the audio data packet corresponding to each digital segmented audio based on the output channel number and each mute flag bit includes: For each digital segmented audio, the data packaging module compresses the digital segmented audio to obtain an audio compression package, and packages the mute flag of the digital segmented audio, the output channel number and the audio compression package according to a preset format to generate an audio data packet.

5. The digital audio distribution system according to claim 1, wherein: The process of the audio distribution processing module confirming the audio type of the digital segmented audio based on the silence flag includes: When the mute flag is 1, the audio allocation processing module confirms that the audio type of the digital segmented audio is mute digital audio; When the mute flag is 0, the audio allocation processing module determines that the audio type of the digital segmented audio is normal digital audio.

6. The digital audio distribution system according to claim 1, wherein: The process of the audio distribution processing module for transmitting the output audio data to the corresponding audio output module includes: The audio distribution processing module decompresses the audio data packet to obtain the output channel number, and identifies the audio output module corresponding to the output channel number, so as to transmit the output audio data to the audio output module.

7. A digital audio distribution method, applied to the digital audio distribution system according to any one of claims 1 to 6, characterized in that: The method comprises: Performing silent sampling on the analog audio data continuously inputted into the audio input module to obtain silent audio data, and performing segmented conversion and packaging on the analog audio data based on the silent audio data to generate an audio data packet; wherein the audio data packet includes a silent flag bit; Determining a mute flag in a received audio data packet through the audio distribution processing module, and eliminating a DC bias component in the analog audio data based on the mute flag to obtain output audio data; Transmitting the output audio data to the corresponding audio output module for driving output; The step of eliminating a DC bias component in the analog audio data based on the mute flag to obtain output audio data includes: decompressing the audio data packet to obtain a mute flag and digital segmented audio, and determining an audio type of the digital segmented audio based on the mute flag; When it is determined that the audio type is silent digital audio, performing voltage average calculation on the digital segmented audio, and using the calculation result as the DC bias component of the analog audio data; When it is determined that the audio type is normal digital audio, the digital segmented audio is subtracted from the DC offset component to obtain output audio data.

8. The digital audio distribution method according to claim 7, wherein: The step of performing segmented conversion and packaging on the analog audio data based on the silent audio data to generate an audio data packet includes: Performing analog-to-digital conversion on the silent audio data and the analog audio data to generate digital audio data, and determining an output channel number of the digital audio data; Segmenting the digital audio data according to a preset frequency to obtain digital segmented audio, and determining a mute flag corresponding to each digital segmented audio; The audio data packet corresponding to each digital segmented audio is obtained by packaging based on the output channel number and each mute flag bit.

Citation Information

Patent Citations

  • Audio driving circuit and method, chip and audio playing equipment

    CN116614746A

  • Audio signal muting apparatus, and digital signal conversion apparatus equipped with same

    WO2018186526A1