Network audio transmission device and method
By using dual network modules and dual network transmission paths in network audio transmission equipment, dual network redundant backup is realized, and connected to external CPUs through serial ports or SPIs, providing external CPU control and encryption functions, solving the shortcomings of existing devices in terms of reliability, security and ease of use, and achieving high reliability, security and ease of use network audio transmission.
Patent Information
- Application Number
- CN202510178361.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-18
- Publication Date
- 2025-06-06
AI Technical Summary
Existing network audio transmission equipment has shortcomings in reliability, security and ease of use, especially when the network module fails, the audio stream is interrupted and cannot effectively protect sensitive audio content.
A network audio transmission device is designed, using dual network modules and dual network transmission paths. Each network module has an independent PHY module and MAC module to realize dual network redundant backup. At the same time, the external CPU is connected to the external CPU through the serial port or SPI, and the external CPU control and encryption function of the network audio transmission module is realized.
It improves the reliability of network audio transmission data, ensures that the transmission of audio streams is still guaranteed when a certain network is disconnected; enhances the security of network audio data transmission, and protects audio content through end-to-end encryption; simplifies circuit design and embedded software development, and improves the ease of use of equipment.
Smart Images

Figure CN120110618A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of network audio transmission, and in particular to a network audio transmission device and method. Background Art
[0002] Network audio transmission technology achieves efficient transmission of audio signals through the Internet, which can not only meet the growing demand for audio content, but also provide more flexible and convenient audio services. With the rapid development of Internet technology and the deepening of digital transformation, network audio transmission technology has become an indispensable part of the modern communication field. It not only solves the distance, quality and cost limitations of traditional audio transmission methods, but also greatly expands the application scenarios and market potential of audio through digital and networking innovations. In addition, with the breakthrough of audio codec technology, audio data can be better compressed and restored, improving transmission efficiency and sound quality.
[0003] The advantages of network audio transmission technology are its efficiency, real-time and flexibility. Efficiency is reflected in the ability to achieve fast data transmission while maintaining high-quality audio. Real-time means that the transmission of audio signals on the network can ensure that sound information will not be lost due to delays, which is especially important for live performances, broadcasts and other occasions with high real-time requirements. Flexibility is reflected in the ability of network audio technology to adapt to a variety of application scenarios, from music production to live performances, from broadcasting to film post-production, and can provide customized solutions.
[0004] At present, network audio transmission solutions focus more on the networking of audio data and the delay of audio transmission. However, with the gradual advancement of audio transmission networking, the reliability and security of audio data transmission and the ease of use of network audio transmission modules are also facing a series of challenges. First of all, the reliability of audio data transmission requires the system to maintain the continuity and stability of the audio stream under various network conditions, ensuring that the audio data is not lost or damaged during transmission. Secondly, security issues involve the confidentiality of audio data during transmission, especially when transmitting sensitive or private audio content, measures must be taken to prevent data from being accessed or tampered with by unauthorized people. Finally, the ease of use of the network audio transmission module is equally important for users and developers, and it affects the user experience and development efficiency of the product.
[0005] The audio data transmission network path in the related technology is single, and once the network module fails, the entire audio stream will be interrupted. In order to improve reliability, some technologies use dual network communication interface designs, but they do not solve the problem of network communication failure caused by network module failure; and their network audio transmission equipment cannot effectively protect sensitive or private audio content from unauthorized access or tampering. Summary of the invention
[0006] The present invention provides a network audio transmission device and method, which solve the problems of insufficient reliability, security and usability of related network audio transmission equipment.
[0007] In order to achieve the above objectives, this application adopts the following technical solutions: In a first aspect, a network audio transmission device is provided, comprising: A network audio transmission chip, comprising a first MAC module, a second MAC module, an I2S / TDM digital audio module, a data processing module, an encryption module and a peripheral communication module; wherein the peripheral communication module is configured to selectively connect to an external CPU via a serial port or SPI to realize the external CPU control and communication functions; One of the input ends of the network audio transmission chip is connected to an analog-to-digital conversion module, and one of the output ends is connected to a digital-to-analog conversion module; The network audio transmission chip is connected to a network module, and the network module includes a two-way network transmission path; each of the network transmission paths includes a network interface and a corresponding PHY module; the PHY module is connected to a corresponding MAC module to achieve a two-way communication connection; The network audio transmission chip is also connected to an external interface device through the peripheral communication module to achieve a two-way communication connection.
[0008] In a first possible implementation of the first aspect, the analog audio signal of the received audio input device is converted into a digital audio signal through the analog-to-digital conversion module and received through the I2S / TDM digital audio module, the received digital audio signal is transmitted to the data processing module for processing and network packaging into network audio data, and the packaged network audio data is copied and transmitted to the first MAC module and the second MAC module respectively, the first MAC module and the second MAC module transmit the network audio data to the first network interface and the second network interface respectively through the corresponding first PHY module and the second PHY module, thereby realizing the sending of dual backup of network audio.
[0009] Based on the first possible implementation method of the first aspect, in the second possible implementation method of the first aspect, the network audio data is transmitted from the first network interface and the second network interface to the first PHY module and the second PHY module respectively, and then transmitted to the first MAC module and the second MAC module. The first MAC module and the second MAC module transmit the data to the data processing module and then unpack it, convert it into a digital audio signal and transmit it to the I2S / TDM digital audio module. The I2S / TDM digital audio module converts the digital audio signal into an analog audio signal and transmits it to an external analog audio receiving device.
[0010] In a third possible implementation of the first aspect, the external CPU may selectively read and modify module information of the network transmission module, read and modify network audio stream information, and read and modify network audio routing information through the network audio transmission chip.
[0011] In a fourth possible implementation manner of the first aspect, the external CPU may selectively communicate with the external device interface through the network audio transmission chip to read and control the status of the external device.
[0012] In a fifth possible implementation manner of the first aspect, information sent by an external device is received through a designated port of the network module, and the network audio transmission chip unpacks the data and transmits the data to the external CPU through the serial port or SPI.
[0013] In a sixth possible implementation of the first aspect, the external CPU sends the network data to be sent to the network audio transmission chip through the serial port or SPI, and the network audio transmission chip performs network packaging and sends it to the network through the designated port of the network module to which it belongs.
[0014] In a second aspect, a network audio transmission method is provided, which performs network audio transmission based on the network audio transmission device as described in the first aspect, comprising the following steps: Network audio sending: receiving an analog audio signal from an audio input device, and converting the analog audio signal into a digital audio signal through an analog-to-digital conversion process; In response to the digital audio signal, data processing is performed and the digital audio signal is packaged into network audio data suitable for network transmission; The network audio data is copied and transmitted to the first MAC module and the second MAC module respectively, and the network audio dual backup is sent through the PHY modules and network interfaces corresponding to the first MAC module and the second MAC module respectively; Network audio reception: Receive network audio data through the first network interface and the second network interface, and send the data to the corresponding first MAC module and the second MAC module through the corresponding PHY module; In response to the network audio data, perform data processing and unpack the data into a digital audio signal; Convert the digital audio signal into an analog audio signal through digital-to-analog conversion processing, and output the analog audio signal to an analog audio receiving device; External CPU controls the network audio transmission device: Connect to external CPU via serial port or SPI; The external CPU can selectively read and modify the module information of the network transmission module, read and modify the network audio stream information, and read and modify the network audio routing information; External CPU controls external devices: Communicate and connect with the external device of the network audio transmission device through the external device interface; The external CPU can selectively read and control the status of external devices; External CPU network data reception: Receive information sent by external devices through the designated port of the network module; In response to the information sent by the external device, the data is unpacked and then transmitted to the external CPU via the serial port or SPI; External CPU network data transmission: Receive the network data to be sent by the external CPU through the serial port or SPI; In response to the network data to be sent by the external CPU, the network data is packaged and sent through a designated port of the corresponding network module.
[0015] In a first possible implementation manner of the second aspect, when data is packaged, if an encryption function is enabled, encryption is performed while the data is packaged.
[0016] Based on the first possible implementation manner of the second aspect, in a second possible implementation manner of the second aspect, when data is unpacked, if the encryption function is enabled, decryption is performed while the data is unpacked.
[0017] The network audio transmission device of the present invention has the following advantages: The network audio transmission device and method of the present application have the following advantages: 1. It has dual network modules and two independent network communication modules from network interface to PHY module and then to MAC module. Each network can transmit network audio data and control data at the same time, realizing dual network redundant backup and improving the reliability of network audio transmission data.
[0018] 2. It has an external communication control function. It can realize external CPU control and communication functions by connecting with external CPU through serial port and SPI. The external CPU control function can realize the control of network audio transmission chip and its external devices. The external CPU communication function can also communicate with the outside through the network module of network audio transmission chip. The external communication control function makes it unnecessary for the external CPU to add peripheral devices and network communication interface, which simplifies the circuit design and embedded software development. The external CPU does not need to add peripheral devices and network communication interface, which reduces the difficulty of circuit design and embedded software development and improves the usability of the equipment.
[0019] 3. It has a network audio transmission encryption function, which can perform symmetric encryption or asymmetric encryption, and can adopt internal or external key generation methods. The encryption function realizes the encryption of audio data before it is converted into network data and the decryption after receiving the network audio data, ensuring that the data is in an encrypted state during the entire network transmission process, realizing end-to-end encryption, and improving the security of network audio data transmission.
[0020] The network audio transmission method corresponding to the network audio transmission device of the present invention can achieve the same technical effect, and will not be described again here to avoid repetition. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 A structural block diagram of a network audio transmission device provided in an embodiment of the present application; Figure 2 A structural block diagram of a network audio transmission chip provided in an embodiment of the present application; Figure 3 A schematic diagram of an external control communication function provided in an embodiment of the present application; Figure 4 A schematic diagram of implementing a network audio transmission encryption function provided in an embodiment of the present application.
[0022] Reference numerals: Network audio transmission chip 100; first MAC module 101; second MAC module 102; I2S / TDM digital audio module 103; data processing module 104; encryption module 105; peripheral communication module 106; analog-to-digital conversion module 200; digital-to-analog conversion module 300; network module 400. DETAILED DESCRIPTION
[0023] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined purpose, the technical solutions in the embodiments of the present application are clearly described. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field belong to the scope of protection of the present application.
[0024] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the terms used in this way are interchangeable where appropriate, so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0025] The description of the method flow in the specification of the present application and the steps of the flowchart in the drawings of the present specification do not have to be strictly executed according to the step numbers, and the method steps can be executed in a different order. Moreover, some steps can be omitted, multiple steps can be combined into one step, and / or one step can be decomposed into multiple steps.
[0026] The network audio transmission device and method provided in the embodiments of the present application are described in detail below in conjunction with the accompanying drawings and preferred embodiments.
[0027] First, the application scenario of the network audio transmission method of the embodiment of the present application is described in detail.
[0028] While pursuing efficient transmission, network audio transmission technology must also take into account reliability, security and ease of use to meet the growing market demand and user expectations.
[0029] In the related art, although a technology of adopting a dual network communication interface design to improve the reliability of audio transmission is proposed, when the network module is broken, the transmission of network audio data will also be disconnected. In addition, the network audio transmission interface described in the related art is usually only responsible for audio data transmission, not for control data transmission, and the network connection interface is only responsible for transmitting control data, not for transmitting audio data.
[0030] The present invention proposes a network audio transmission module, which has a dual network module, each network module has a separate PHY module and a MAC module, and each network can transmit network audio data and control data at the same time, realizing true network audio transmission redundant backup, ensuring that when a certain network is disconnected, the transmission of audio stream and control information stream is still guaranteed, thereby improving the reliability of network audio data transmission; the present invention can communicate with an external CPU through a serial port or SPI to realize the control of the network audio transmission module and its external devices, and can also realize the function of the external CPU to communicate with the outside through the network audio transmission module, thereby improving the ease of use of the network audio transmission module; in addition, the module described in the present invention also has a network encryption module, which can improve the security of network audio data transmission.
[0031] See also Figure 1-2 , the present application embodiment provides a network audio transmission device, such as Figure 1-2 As shown, the network audio transmission device of the embodiment of the present application includes: The network audio transmission chip 100 includes a first MAC module 101, a second MAC module 102, an I2S / TDM digital audio module 103, a data processing module 104, an encryption module 105 and a peripheral communication module 106; wherein the peripheral communication module 106 is configured to be selectively connected to an external CPU via a serial port or SPI to realize external CPU control and communication functions.
[0032] One of the input ends of the network audio transmission chip 100 is connected to an analog-to-digital conversion module 200, and one of the output ends is connected to a digital-to-analog conversion module 300; The network audio transmission chip 100 is connected to a network module 400, which includes a dual-channel network transmission path; each network transmission path includes a network interface and a corresponding PHY module; the PHY module is connected to the corresponding MAC module and realizes a two-way communication connection; a structure for dual backup sending and / or receiving of network audio can be formed through the dual-channel network transmission path.
[0033] The network audio transmission chip 100 is also connected to an external interface device through the peripheral communication module 106 to achieve a two-way communication connection; the external interface device includes but is not limited to I2C, SPI, GPIO, USB|, serial port and other interfaces, which can be connected to external CPU, buttons, indicator lights, display screens, USB encryption KEY and other devices.
[0034] Furthermore, the dual-path network transmission path includes a first network transmission path and a second network transmission path; the first network transmission path includes a first network interface, the first network interface is connected to a first PHY module, and the first PHY module is bidirectionally communicatively connected to the first MAC module; the second network transmission path includes a second network interface, the second network interface is connected to a second PHY module, and the second PHY module is bidirectionally communicatively connected to the second MAC module.
[0035] The network audio transmission device receives analog audio from audio input devices (such as microphones, mixers, music players, etc.) and converts it into network audio signals and sends them out through the network. The specific process is as follows: The received analog audio signal is converted into a digital audio signal through the analog-to-digital conversion module 200 and received through the I2S / TDM digital audio module 103 of the network audio transmission chip 100, and transmitted to the data processing module 104 for processing and network packaging into network audio data, and the packaged network data is copied and transmitted to the first MAC module 101 and the second MAC module 102 respectively, and the first MAC module 101 and the second MAC module 102 transmit the network audio data to the first network interface and the second network interface respectively through the corresponding first PHY module and the second PHY module, thereby realizing the sending of dual backup of network audio.
[0036] The network audio transmission device receives network audio data and converts the network audio signal into analog audio and outputs it to the analog audio receiving device (such as speakers, amplifiers, etc.). The specific process is as follows: The network audio data is transmitted from the first network interface and the second network interface to the first PHY module and the second PHY module respectively, and then transmitted to the first MAC module 101 and the second MAC module 102 of the network audio transmission chip 100. The first MAC module 101 and the second MAC module 102 transmit the data to the data processing module 104, unpack it, convert it into a digital audio signal and transmit it to the I2S / TDM digital audio module 103. The I2S / TDM digital audio module 103 converts the digital audio signal into an analog audio signal and transmits it to an external analog audio receiving device.
[0037] like Figure 3 As shown, the network audio transmission chip 100 is connected to an external CPU via a serial port or SPI to realize external CPU control and communication functions. The external CPU control function includes the external CPU controlling the network audio transmission device and controlling the external device. The external CPU's control over the network audio transmission device specifically means that the external CPU can read and modify the module information of the network transmission module, read and modify the network audio stream information, and read and modify the network audio routing information through the network audio transmission chip 100.
[0038] The external CPU's control over the external device specifically refers to: the external CPU communicates with the external device interface through the network audio transmission chip 100 to achieve status reading and control of the external device.
[0039] The external CPU communication function means that the external CPU is connected to the network audio transmission device through the serial port or SPI to realize the external CPU network data reception and transmission. The external CPU network data reception specifically refers to: receiving information sent by an external device through a designated port of the network module 400, and the network audio transmission chip 100 unpacks the data and transmits it to the external CPU through a serial port or SPI.
[0040] External CPU network data transmission specifically means that the external CPU sends the network data to be sent to the network audio transmission chip 100 through the serial port or SPI, and the network audio transmission chip 100 performs network packaging and sends it to the network through the designated port of the network module 400 to which it belongs.
[0041] The network audio transmission device has a network audio transmission encryption function, which realizes end-to-end encryption of network audio transmission. Figure 4 As shown, the network transmission module receives the analog audio data of the analog audio sending device, converts it into digital audio data, encrypts it, and packages it into network data for network transmission. The network transmission module at the receiving end unpacks the network data after receiving it, decrypts it, and converts it into digital audio. Finally, the digital audio is converted into analog audio data and input into the analog audio receiving device. The audio data is encrypted before being converted into network data, and decrypted after receiving the network audio data, ensuring that the data is in an encrypted state during the entire network transmission process, realizing end-to-end encryption and improving the security of network audio data transmission.
[0042] The encryption and decryption of digital audio data can be performed by symmetric encryption or asymmetric encryption. The encryption and decryption keys of digital audio data can be generated by the internal network audio transmission chip of the network transmission module. The encryption module can also be configured as an external key generation module, which can be an external CPU or a USB encryption KEY.
[0043] The external CPU communicates with the network audio transmission device through SPI or a serial port, and the external CPU can control the network audio transmission device and the peripheral devices of the network audio transmission device (such as a serial port, an I2C interface, a screen, buttons, etc.) through SPI or a serial port. In addition, the design can also transmit some commands or data of the external CPU to the network audio transmission device through SPI or a serial port and then transmit them out through the network interface of the network audio transmission device. The network audio transmission device can also be used to transmit commands or data received through the network to the external CPU through SPI or a serial port. Based on this, the advantage of the present application is that the connection between SPI and a serial port is simple, and it is easy to integrate the external CPU with the network audio transmission device to which the present invention belongs. The external CPU does not need to add peripheral devices (such as a serial port, an I2C interface, a screen, buttons, etc.) and a network communication interface, which simplifies the circuit design and embedded software development work. In the specific implementation, the user can also customize whether to encrypt, the encryption method can choose symmetric encryption or asymmetric encryption, the encryption key can choose to be generated by internal software or external hardware, and the external hardware key can be selected but not limited to be generated in the form of an external CPU or a USB encryption KEY.
[0044] The present application embodiment provides a network audio transmission method, and the network audio transmission method of the present application embodiment includes: Network audio sending: Step S11, receiving an analog audio signal from an audio input device, and converting the analog audio signal into a digital audio signal through analog-to-digital conversion processing.
[0045] Step S12, in response to the digital audio signal, performing data processing and packaging the digital audio signal into network audio data suitable for network transmission.
[0046] Optionally, if encryption is enabled, the data is encrypted while being packaged. The encryption method can be symmetric or asymmetric, and the key generation method can be internal or external hardware generation.
[0047] Step S13, the network audio data is copied and transmitted to the first MAC module 101 and the second MAC module 102 respectively, and the network audio dual backup is sent through the PHY modules and network interfaces corresponding to the first MAC module 101 and the second MAC module 102 respectively.
[0048] Network audio reception: Step S21 , receiving network audio data through the first network interface and the second network interface, and sending the data to the corresponding first MAC module 101 and the second MAC module 102 through the corresponding PHY module.
[0049] Step S22, in response to the network audio data, perform data processing and unpack the data into a digital audio signal.
[0050] Optionally, if encryption is enabled, decryption is performed while the data is being unpacked.
[0051] Step S23, converting the digital audio signal into an analog audio signal through a digital-to-analog conversion process, and outputting the analog audio signal to an analog audio receiving device.
[0052] External CPU controls the network audio transmission device: Step S31, connecting to an external CPU via a serial port or SPI.
[0053] Step S32, the external CPU can selectively read and modify the module information of the network transmission module, read and modify the network audio stream information, and read and modify the network audio routing information.
[0054] External CPU controls external devices: Step S41: communicating and connecting with an external device of the network audio transmission apparatus through an external device interface.
[0055] Step S42, the status of the external device can be selectively read and controlled by the external CPU.
[0056] External CPU network data reception: Step S51 : receiving information sent by an external device through a designated port of the network module 400 .
[0057] Step S52, in response to the information sent by the external device, the data is unpacked and transmitted to the external CPU via the serial port or SPI.
[0058] Optionally, if encryption is enabled, decryption is performed while the data is being unpacked.
[0059] External CPU network data transmission: Step S61, receiving network data to be sent by an external CPU through a serial port or SPI.
[0060] Step S62 , in response to the network data to be sent by the external CPU, the network data is packaged and sent through a designated port of the corresponding network module 400 .
[0061] Optionally, if encryption is enabled, the data is encrypted while it is being packaged.
[0062] The network audio transmission device and method of the present application have the following advantages: 1. It has dual network modules 400, two independent network communication modules from network interface to PHY module and then to MAC module. Each network can transmit network audio data and control data at the same time, realizing dual network redundant backup and improving the reliability of network audio transmission data.
[0063] 2. It has an external communication control function, which can realize external CPU control and communication functions by connecting with an external CPU through a serial port and SPI. The external CPU control function can realize the control of the network audio transmission chip 100 and its external devices, and the external CPU communication function can also communicate with the outside through the network module 400 of the network transmission audio transmission chip. The external communication control function eliminates the need for the external CPU to add peripheral devices and network communication interfaces, which simplifies circuit design and embedded software development. The external CPU does not need to add peripheral devices and network communication interfaces, which reduces the difficulty of circuit design and embedded software development and improves the ease of use of the device.
[0064] 3. It has a network audio transmission encryption function, which can perform symmetric encryption or asymmetric encryption, and can adopt internal or external key generation methods. The encryption function realizes the encryption of audio data before it is converted into network data and the decryption after receiving the network audio data, ensuring that the data is in an encrypted state during the entire network transmission process, realizing end-to-end encryption, and improving the security of network audio data transmission.
[0065] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0066] It can be understood that the embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific embodiments, which are merely illustrative and not restrictive, and those skilled in the art are aware that various changes or equivalent replacements can be made to these features and embodiments without departing from the spirit and scope of the present invention. In addition, those of ordinary skill in the art can modify these features and embodiments to adapt to specific circumstances and materials without departing from the spirit and scope of the present invention under the inspiration or teaching of the present application. Therefore, the present invention is not limited by the specific embodiments disclosed herein, and all embodiments falling within the scope of the claims of the present application belong to the scope protected by the present invention.
Claims
1. A network audio transmission device, characterized in that: include: A network audio transmission chip, comprising a first MAC module, a second MAC module, an I2S / TDM digital audio module, a data processing module, an encryption module, and a peripheral communication module; wherein the peripheral communication module is configured to selectively connect to an external CPU via a serial port or SPI to realize the control and communication functions of the external CPU; One of the input ends of the network audio transmission chip is connected to an analog-to-digital conversion module, and one of the output ends is connected to a digital-to-analog conversion module; The network audio transmission chip is connected to a network module, and the network module includes a two-way network transmission path; each of the network transmission paths includes a network interface and a corresponding PHY module; the PHY module is connected to a corresponding MAC module to achieve a two-way communication connection; The network audio transmission chip is also connected to an external interface device through the peripheral communication module to achieve a two-way communication connection.
2. The network audio transmission device according to claim 1, characterized in that: The analog audio signal of the received audio input device is converted into a digital audio signal through the analog-to-digital conversion module and received through the I2S / TDM digital audio module, the received digital audio signal is transmitted to the data processing module for processing and network packaging into network audio data, and the packaged network audio data is copied and transmitted to the first MAC module and the second MAC module respectively, the first MAC module and the second MAC module transmit the network audio data to the first network interface and the second network interface respectively through the corresponding first PHY module and the second PHY module, so as to realize the sending of dual backup of network audio.
3. The network audio transmission device according to claim 2, characterized in that: The network audio data is transmitted from the first network interface and the second network interface to the first PHY module and the second PHY module respectively, and then transmitted to the first MAC module and the second MAC module. The first MAC module and the second MAC module unpack the data after transmitting it to the data processing module, convert it into a digital audio signal and transmit it to the I2S / TDM digital audio module. The I2S / TDM digital audio module converts the digital audio signal into an analog audio signal and transmits it to an external analog audio receiving device.
4. The network audio transmission device according to claim 1, characterized in that: The external CPU can selectively read and modify the module information of the network transmission module, read and modify the network audio stream information, and read and modify the network audio routing information through the network audio transmission chip.
5. The network audio transmission device according to claim 1, characterized in that: The external CPU can selectively communicate with the external device interface through the network audio transmission chip to achieve status reading and control of the external device.
6. The network audio transmission device according to claim 1, characterized in that: The information sent by the external device is received through the designated port of the network module, and the network audio transmission chip unpacks the data and transmits it to the external CPU through the serial port or SPI.
7. The network audio transmission device according to claim 1, characterized in that: The external CPU sends the network data to be sent to the network audio transmission chip through the serial port or SPI, and the network audio transmission chip performs network packaging and sends the data to the network through the designated port of the network module to which it belongs.
8. A network audio transmission method, characterized in that: The network audio transmission device according to any one of claims 1 to 7 is used to perform network audio transmission, comprising the following steps: Network audio sending: receiving an analog audio signal from an audio input device, and converting the analog audio signal into a digital audio signal through an analog-to-digital conversion process; In response to the digital audio signal, data processing is performed and the digital audio signal is packaged into network audio data suitable for network transmission; The network audio data is copied and transmitted to the first MAC module and the second MAC module respectively, and the network audio dual backup is sent through the PHY modules and network interfaces corresponding to the first MAC module and the second MAC module respectively; Network audio reception: Receive network audio data through the first network interface and the second network interface, and send the data to the corresponding first MAC module and the second MAC module through the corresponding PHY module; In response to the network audio data, perform data processing and unpack the data into a digital audio signal; Convert the digital audio signal into an analog audio signal through digital-to-analog conversion processing, and output the analog audio signal to an analog audio receiving device; External CPU controls the network audio transmission device: Connect to external CPU via serial port or SPI; The external CPU can selectively read and modify the module information of the network transmission module, read and modify the network audio stream information, and read and modify the network audio routing information; External CPU controls external devices: Communicate and connect with the external device of the network audio transmission device through the external device interface; The external CPU can selectively read and control the status of external devices; External CPU network data reception: Receive information sent by external devices through the designated port of the network module; In response to the information sent by the external device, the data is unpacked and then transmitted to the external CPU via the serial port or SPI; External CPU network data transmission: Receive the network data to be sent by the external CPU through the serial port or SPI; In response to the network data to be sent by the external CPU, the network data is packaged and sent through a designated port of the corresponding network module.
9. The network audio transmission method according to claim 8, characterized in that: When data is packaged, if the encryption function is enabled, the data will be encrypted while being packaged.
10. The network audio transmission method according to claim 9, characterized in that: When data is unpacked, if the encryption function is enabled, the data is decrypted while being unpacked.