CN109119087A - A kind of Network Audio Transmission System and method based on single-chip - Google Patents
A kind of Network Audio Transmission System and method based on single-chip Download PDFInfo
- Publication number
- CN109119087A CN109119087A CN201810994880.7A CN201810994880A CN109119087A CN 109119087 A CN109119087 A CN 109119087A CN 201810994880 A CN201810994880 A CN 201810994880A CN 109119087 A CN109119087 A CN 109119087A
- Authority
- CN
- China
- Prior art keywords
- network
- audio
- data
- chip
- main control
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 53
- 238000000034 method Methods 0.000 title claims abstract description 16
- 238000012545 processing Methods 0.000 claims abstract description 38
- 230000003993 interaction Effects 0.000 claims abstract description 4
- 230000002093 peripheral effect Effects 0.000 claims description 9
- 238000003860 storage Methods 0.000 claims description 5
- 238000012958 reprocessing Methods 0.000 abstract description 2
- 230000006870 function Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 238000009826 distribution Methods 0.000 description 2
- 238000001914 filtration Methods 0.000 description 2
- 230000010365 information processing Effects 0.000 description 2
- 238000005070 sampling Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 238000007711 solidification Methods 0.000 description 1
- 230000008023 solidification Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
- G10L19/00—Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis
- G10L19/04—Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis using predictive techniques
- G10L19/16—Vocoder architecture
- G10L19/167—Audio streaming, i.e. formatting and decoding of an encoded audio signal representation into a data stream for transmission or storage purposes
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
- G10L19/00—Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis
- G10L19/008—Multichannel audio signal coding or decoding using interchannel correlation to reduce redundancy, e.g. joint-stereo, intensity-coding or matrixing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/16—Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/16—Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
- H04L69/164—Adaptation or special uses of UDP protocol
Abstract
The invention discloses a kind of Network Audio Transmission Systems based on single-chip, including main control module and network transceiving module, the main control module carries out data interaction by network interface and network transceiving module, and the main control module includes audio processing thread and business logic processing thread;The network data that the network interface receives for identification, the network data includes audio data and user data, and audio data is transmitted to audio processing thread, by user data transmission to business logic processing thread.The invention also discloses a kind of network audio transmission method based on single-chip.Network Audio Transmission System based on single-chip of the invention passes through the network data that will be received and is separated into audio data and user data, audio data enters audio processing thread, user data enters protocol stack and system handles thread, so that user data is independent of each other with audio data on network, treatment effeciency is greatly improved, reprocessing is reduced.
Description
Technical field
The present invention relates to a kind of network audio transmission fields more particularly to a kind of network audio based on single-chip to transmit system
System and method.
Background technique
Currently, network audio transmission plan includes AVB scheme, Cobranet scheme and dante scheme on the market;It is realized
Form is different, has using server, has using single-chip microcontroller.In an audio transmission system, to realize it is remote,
Characteristic as noiseless, easy wiring, network audio transmission plan are a kind of solutions of high performance-price ratio.And in the middle, the side AVB
Case and Cobranet scheme then only support 2 layer networks to communicate, and are not particularly suited for IP network, are also not suitable with modern networking requirement.
Dante scheme then meets above some low latencies, supports IP network requirement.But the program does not support application layer function
It can extend, only single audio frequency transmission function, user cannot be according to self-demand customization system, and business function, which extends function, to be needed
Multi-chip realizes that product cost is high, not integrated audio processing and codec functions, causes user to use limited.Traditional IP broadcast
System building is complicated, and server is at high cost, and network delay is generally bigger, reaches 100ms, and sample rate is generally 16K, sound quality side
Face is unsatisfactory.
Summary of the invention
For overcome the deficiencies in the prior art, one of the objects of the present invention is to provide a kind of network audios based on single-chip
Frequency Transmission system can solve the technical issues of user data is independent of each other with audio data.
The second object of the present invention is to provide a kind of network audio transmission method based on single-chip, can solve user
The technical issues of data and audio data are independent of each other.
An object of the present invention adopts the following technical scheme that realization:
A kind of Network Audio Transmission System based on single-chip, including main control module and network transceiving module, the master control
Module carries out data interaction by network interface and network transceiving module, and the main control module includes audio processing thread and industry
Business logical process thread;
The network data that the network interface receives for identification, the network data include audio data and number of users
According to, and audio data is transmitted to audio processing thread, by user data transmission to business logic processing thread.
Further, the main control module is that multicore controls chip, and the multicore control chip is for realizing network audio
Transmitting-receiving, the acquisition of I2S interface Audio, internal audio frequency processing and audio buffer management.
It further, further include memory module, the memory module is SRAM cache module, and the main control module
It is additionally provided with SD card interface, the SD card interface with external memory for connecting.
Further, FATFS file module is provided in the main control module, the FATFS file module is for reading
Audio raw data in external memory.
Further, the memory module transmission audio storage data that the main control module is used to receive are handled
Afterwards, it is exported by network interface to network transceiving module.
Further, the model SH-02780-V0.1-ENET of the main control module, the model of the memory module
ISSI-IS42S16400J-7TI, the model SMSC-LAN8710A-EZC of the network transceiving module.
Further, the main control module is additionally provided with peripheral hardware driving interface, and the peripheral hardware driving interface is outer for driving
Connect equipment.
The second object of the present invention adopts the following technical scheme that realization:
A kind of network audio transmission method based on single-chip, comprising the following steps:
Receiving step: the network data of network transceiving module transmission is received, the network data includes audio data and use
User data;
Data separating step: the network data received is separated to obtain audio data and user data;
Data processing step: being transmitted to audio processing thread for audio data and handle, by user data transmission to industry
Business logical process thread is handled.
Further, the audio data is provided with crucial sampled data.
Further, independent data packet check algorithm is arranged to network data.
Compared with prior art, the beneficial effects of the present invention are:
Network Audio Transmission System based on single-chip of the invention passes through the network data that will be received and is separated into audio
Data and user data, audio data enter audio processing thread, and user data enters protocol stack and system handles thread, so that
User data is independent of each other with audio data on network, greatly improves treatment effeciency, reduces reprocessing.
Detailed description of the invention
Fig. 1 is the structural block diagram of the Network Audio Transmission System based on single-chip of embodiment one;
Fig. 2 is the structure chart of the Network Audio Transmission System based on single-chip of embodiment one;
Fig. 3 is the circuit diagram of the main control chip of the Network Audio Transmission System based on single-chip of embodiment one;
Fig. 4 is the circuit theory of the network transceiving module of the Network Audio Transmission System based on single-chip of embodiment one
Figure;
Fig. 5 is the circuit diagram of the memory module of the Network Audio Transmission System based on single-chip of embodiment one;
Fig. 6 is the structure explanation of each functional module in the Network Audio Transmission System based on single-chip of embodiment one
Figure;
Fig. 7 is the flow chart of the network audio transmission method based on single-chip of embodiment two.
Specific embodiment
In the following, being described further in conjunction with attached drawing and specific embodiment to the present invention, it should be noted that not
Under the premise of conflicting, new implementation can be formed between various embodiments described below or between each technical characteristic in any combination
Example.
Embodiment one:
As shown in Figure 1, Figure 2, Figure 3 and Figure 4, a kind of network audio transmission system based on single-chip is present embodiments provided
System, including main control module and network transceiving module, the main control module carry out data by network interface and network transceiving module
Interaction, the main control module includes audio processing thread and business logic processing thread;The main control module is multicore control
Chip, the multicore control chip is for realizing network audio transmitting-receiving, the acquisition of I2S interface Audio, internal audio frequency processing and audio
Cache management.FATFS file module is provided in the main control module, the FATFS file module is for reading external storage
Audio raw data in device.The memory module transmission audio storage data that the main control module is used to receive are handled
Afterwards, it is exported by network interface to network transceiving module.Multithreading characteristic is handled in real time using chip multicore, passes through network bottom layer
Drive Optimization carries out data distribution and filtering, reasonable distribution network transceiver part, association by port with regard to realizing before by protocol stack
Superelevation real-time, the highly integrated network of low cost are realized in view processing part, audio effect processing part, audio transmitting-receiving process part
Audio transmission scheme supports ICP/IP protocol, supports existing 3 layer network framework, can support 8 road audio collections, 8 road IP audios are defeated
Enter, 64 tunnel difference IP audio output.
The network data that the network interface receives for identification, the network data include audio data and number of users
According to, and audio data is transmitted to audio processing thread, by user data transmission to business logic processing thread.It is carrying out specifically
Information processing when, the data received are divided into the data of two kinds of forms, in this case, easily facilitate improve information at
The efficiency of reason can more reasonably distribute the resource of information processing.
It as shown in Figure 3 and Figure 5, further include memory module, the memory module is SRAM cache module, and the master
Control module is additionally provided with SD card interface, and the SD card interface with external memory for connecting.The wherein SDIO- in main control module
DATA2, SDIO-DATA3, SDIO-CS, MMCO-3.3V, SDIO-CLK, GND, SDIO-DATA0, SDIO-DATA1 and MMCO-
CD collectively constitutes SD card interface, is connected with extraneous SD card for reading the letter of the data in SD card by these interface pins
Breath.SD-ADQ0-SD-ADQ12 of main control module, SD-DQ13/BA0, SD-DQ13/BA1 and SD-DQ15 successively with memory module
In DQ0-DQ15 connect, to complete the reading of data.
The model SH-02780-V0.1-ENET of the main control module, the model ISSI- of the memory module
IS42S16400J-7TI, the model SMSC-LAN8710A-EZC of the network transceiving module.The main control module is also set up
There is peripheral hardware driving interface, the peripheral hardware driving interface is for driving external equipment.
Since existing network audio scheme can not meet low cost, low delay, high scalability, a kind of low cost height of the present invention
The single-chip multi-core network transmission plan of level of integrated system uses the parallel real-time of height of 16 core pieces, autonomous invention IP network
Audio transmission protocol-love passs think of audio protocols, compares solidification relative to existing audio protocols and does not support a variety of coded formats simultaneously,
Multi-sampling rate etc., the agreement dual-purpose multichannel, multi-sampling rate, a variety of coded formats support the IP network that now haves three layers, mixed using 8 tunnels
Sound processing technique, band ADPCM encoding and decoding, and by 16 core piece bring improved efficiencies, realize high definition 48K16bit most
The PCM audio data of low 3.5 millisecond time-delay transmits, and can interconnect with various peripheral hardwares, supports logic of business functions extension, including serial ports
Screen driving, the various interface alternation functions such as cell phone application control.Realize that low delay, high definition audio, highly integrated network audio are kept pouring in
Transmission scheme.
As shown in fig. 6, chip is received and dispatched by multiple threads network audio, I2S interface Audio is acquired, at internal audio frequency
Reason, audio buffer management receive and dispatch UDP network audio data to network.Chip have built-in protocol stack core, network data,
User handles core and deals with, and realizes audio and instructs control is independent mutually to separate, formation high real-time, low delay, high-performance, energy
64 road 48K16bit high definition audios are sent simultaneously.Make audio processing using one of thread, be integrated with audio mixing, encoding and decoding are adopted
Sample rate conversion, high bass processing, meets daily voice applications demand.
This chip network transmission plan has as follows a little: integrated audio mixing and ADPCM encoding and decoding;With low delay, high definition
48K16bit audio, real-time network data transmission process;And it supports user interface to expand, peripheral expansion is supported, to realize
Customizable.
Embodiment two:
As shown in fig. 7, present embodiments providing a kind of network audio transmission method based on single-chip, including following step
It is rapid:
S1: the network data of network transceiving module transmission is received, the network data includes audio data and user data;
Audio data in the network data is provided with crucial sampled data.Independent data packet is arranged to network data and examines calculation
Method.This stage only receives corresponding network data;
S2: the network data received is separated to obtain audio data and user data;Since it is provided with pair
The filtering distributing mechanism answered, so that network data is divided into audio data and user data, the step for primarily to realizing
Different data are sent in different processing threads by the separation of data;
S3: being transmitted to audio processing thread for audio data and handle, by user data transmission to business logic processing
Thread is handled.Different processing threads is set and completes corresponding data processing.Business logic processing thread connects for handling
The user data received, and the data that can be directed in FATFS file system extract processing and play management, and
Can realize other peripheral hardware drivings.The solution of the present embodiment is at low cost, delay is low, scalability is high, can satisfy big
Audio processing demand in most cases.
The above embodiment is only the preferred embodiment of the present invention, and the scope of protection of the present invention is not limited thereto,
The variation and replacement for any unsubstantiality that those skilled in the art is done on the basis of the present invention belong to institute of the present invention
Claimed range.
Claims (10)
1. a kind of Network Audio Transmission System based on single-chip, which is characterized in that including main control module and network transceiving module,
The main control module carries out data interaction by network interface and network transceiving module, and the main control module includes audio processing
Thread and business logic processing thread;
The network data that the network interface receives for identification, the network data include audio data and user data,
And audio data is transmitted to audio processing thread, by user data transmission to business logic processing thread.
2. as described in claim 1 based on the Network Audio Transmission System of single-chip, which is characterized in that the main control module is
Multicore controls chip, and the multicore control chip acquires for realizing network audio transmitting-receiving, I2S interface Audio, at internal audio frequency
Reason and audio buffer management.
3. as described in claim 1 based on the Network Audio Transmission System of single-chip, which is characterized in that further include storage mould
Block, the memory module is SRAM cache module, and the main control module is additionally provided with SD card interface, the SD card interface
For connecting with external memory.
4. as claimed in claim 3 based on the Network Audio Transmission System of single-chip, which is characterized in that in the main control module
It is provided with FATFS file module, the FATFS file module is for the audio raw data in reading external memory.
5. as claimed in claim 3 based on the Network Audio Transmission System of single-chip, which is characterized in that the main control module is used
After being handled the memory module received transmission audio storage data, is exported by network interface to network and receive and dispatch mould
Block.
6. as claimed in claim 3 based on the Network Audio Transmission System of single-chip, which is characterized in that the main control module
Model SH-02780-V0.1-ENET, the model ISSI-IS42S16400J-7TI of the memory module, the network are received
Send out the model SMSC-LAN8710A-EZC of module.
7. the Network Audio Transmission System based on single-chip as described in any one of claim 1-6, which is characterized in that institute
It states main control module and is additionally provided with peripheral hardware driving interface, the peripheral hardware driving interface is for driving external equipment.
8. a kind of network audio transmission method based on single-chip, which comprises the following steps:
Receiving step: the network data of network transceiving module transmission is received, the network data includes audio data and number of users
According to;
Data separating step: the network data received is separated to obtain audio data and user data;
Data processing step: audio data is transmitted to audio processing thread and is handled, user data transmission to business is patrolled
Processing thread is collected to be handled.
9. the network audio transmission method based on single-chip as claimed in claim 8, which is characterized in that in the network data
Audio data be provided with crucial sampled data.
10. the network audio transmission method based on single-chip as claimed in claim 8, which is characterized in that set to network data
Set independent data packet check algorithm.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810994880.7A CN109119087A (en) | 2018-08-29 | 2018-08-29 | A kind of Network Audio Transmission System and method based on single-chip |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810994880.7A CN109119087A (en) | 2018-08-29 | 2018-08-29 | A kind of Network Audio Transmission System and method based on single-chip |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109119087A true CN109119087A (en) | 2019-01-01 |
Family
ID=64861295
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810994880.7A Pending CN109119087A (en) | 2018-08-29 | 2018-08-29 | A kind of Network Audio Transmission System and method based on single-chip |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109119087A (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140156736A1 (en) * | 2012-11-30 | 2014-06-05 | Electronics And Telecommunications Research Institute | Apparatus and method for managing threads to perform divided execution of software |
CN209674875U (en) * | 2018-08-29 | 2019-11-22 | 广州市保伦电子有限公司 | A kind of Network Audio Transmission System based on single-chip |
-
2018
- 2018-08-29 CN CN201810994880.7A patent/CN109119087A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140156736A1 (en) * | 2012-11-30 | 2014-06-05 | Electronics And Telecommunications Research Institute | Apparatus and method for managing threads to perform divided execution of software |
CN209674875U (en) * | 2018-08-29 | 2019-11-22 | 广州市保伦电子有限公司 | A kind of Network Audio Transmission System based on single-chip |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103905281B (en) | FC-AE-1553 bus node card capable of interchangeably achieving functions of network controller and network terminal | |
CN202035013U (en) | Multiple E1-Ethernet protocol converter based on GFP | |
CN103226541A (en) | Embedded high-performance heterogeneous computing platform based on FPGA and ARM | |
CN107959818A (en) | The data processing method of integrated terminal and integrated terminal | |
CN209674875U (en) | A kind of Network Audio Transmission System based on single-chip | |
CN101383786B (en) | Method for implementing data interchange between optical network terminal and customer terminal using household gateway | |
CN108156137A (en) | A kind of method for converting protocol of 1553B buses and FlexRay buses | |
WO2014015665A1 (en) | Data processing method, device, and system | |
CN109119087A (en) | A kind of Network Audio Transmission System and method based on single-chip | |
CN104244085B (en) | Multimedia data transmission method and device based on field programmable gate array | |
CN204929022U (en) | Video mosaicing processing ware that shows high -definition video signal can return | |
CN108462653A (en) | The quick sending method of Protocol Control frame based on TTE | |
CN203645769U (en) | High definition digital video monitoring device based on optical fiber network | |
CN105120211B (en) | A kind of method of transmitting video data | |
CN202514004U (en) | Audio and video encoding and decoding core board of digital disc video recorder | |
CN105979227B (en) | A kind of electric power intranet and extranet integration video transmission equipment based on CPCI interface | |
CN206388240U (en) | A kind of smart travel management service system | |
CN103905921B (en) | A kind of method and electronic equipment of multi-medium data transmission | |
CN201550233U (en) | Intelligent visual intercom system | |
CN206442460U (en) | A kind of Portable HDMI video capture device based on FPGA | |
CN206650762U (en) | A kind of network video audio coder | |
CN102567083A (en) | Object transmission method, object transmission device and object transmission system applying RPC (remote procedure call) | |
CN110225289A (en) | A kind of conference terminal and interface signal conversion method | |
CN207099244U (en) | It is a kind of to support multichannel PAL video acquisitions, compression and the computer installation of transmission | |
CN204795454U (en) | A ground receiving terminal for unmanned aerial vehicle picture biography system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |