CN106325803B - Audio data transmission system embedded with control command word and method thereof - Google Patents
Audio data transmission system embedded with control command word and method thereof Download PDFInfo
- Publication number
- CN106325803B CN106325803B CN201510344652.1A CN201510344652A CN106325803B CN 106325803 B CN106325803 B CN 106325803B CN 201510344652 A CN201510344652 A CN 201510344652A CN 106325803 B CN106325803 B CN 106325803B
- Authority
- CN
- China
- Prior art keywords
- audio data
- control command
- audio
- data
- 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.)
- Active
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 72
- 238000000034 method Methods 0.000 title claims abstract description 15
- 238000001514 detection method Methods 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 4
- 238000013461 design Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
Landscapes
- Signal Processing For Digital Recording And Reproducing (AREA)
- Compression, Expansion, Code Conversion, And Decoders (AREA)
Abstract
The invention provides an audio data transmission system embedded with control command words and a method thereof, which are used in the technical field of electronic information and comprise the following steps: the system comprises a processor, an audio data decoding chip and an audio data bus, wherein the processor inputs audio data and control commands respectively; embedding a control command into the audio data through a control command embedding module to obtain audio transmission data; the audio data bus is used for transmitting audio transmission data in the processor to the audio data decoding chip; the audio data decoding chip is provided with a control instruction decoding module which is used for extracting control commands from the audio transmission data and reading the control commands. The invention does not need to additionally arrange a special control bus decoding module, greatly saves the whole volume of a chip and meets the miniaturization requirement of mobile terminal equipment.
Description
Technical Field
The invention relates to the technical field of electronic information, in particular to an audio data transmission system embedded with control command words and an audio data transmission method embedded with the control command words.
Background
The audio decoding chip is widely applied to various audio devices, such as smart phones, tablet computers, vehicle-mounted sound equipment, professional HIFI devices, recording devices and the like. The current central processing unit adopts a special control bus to transmit control command words for the control of the audio decoding chip, so that the wiring of the special control bus is required to be added in the design of the audio system, and a special control bus decoding module is required to be designed in the audio decoding chip to restore the control command words. Therefore, the existing audio data transmission system needs to add a set of control bus decoding module and control bus on the basis of the audio decoding chip and the audio data bus, so that the overall design complexity of the system is increased, and the layout area of the audio system is increased. Along with the rapid development of mobile terminal equipment, miniaturization becomes the primary embodiment of product competitiveness increasingly, and obviously, the existing audio decoding chip has not gradually satisfied the miniaturization requirement of the mobile terminal equipment.
Disclosure of Invention
In view of the foregoing, it is an object of the present invention to provide an audio data transmission system embedded with a control command word, comprising: a processor, an audio data decoding chip and an audio data bus,
the processor includes: the system comprises an audio data input module, a control command input module and a control command embedding module, wherein the control command embedding module is respectively connected with the audio data input module and the control command input module;
the audio data input module is used for inputting audio data;
the control command input module is used for inputting control commands;
the control command embedding module is used for extracting control commands and audio data, and embedding the control commands into the audio data to obtain audio transmission data;
the audio data bus is arranged between the processor and the audio data decoding chip and is used for transmitting audio transmission data in the processor to the audio data decoding chip;
the audio data decoding chip includes:
and the control instruction decoding module is used for extracting a control command from the audio transmission data and reading the control command.
Further, the audio data decoding chip further includes:
the control command detection module is used for detecting whether a control command exists in the audio transmission data, and if so, the control command decoding module is driven;
and the audio data decoding module is used for extracting audio data in the audio transmission data.
Further, the audio data bus is: I2S bus.
The invention relates to an audio data transmission method embedded with a control command word, which comprises the following steps:
respectively inputting audio data and control commands;
embedding a control command into the audio data to obtain audio transmission data;
transmitting audio transmission data to the audio data decoding chip;
and extracting a control command from the audio transmission data of the audio data decoding chip, and reading the control command.
Further, the interpretation of the control command includes:
and controlling the audio data decoding chip according to the interpreted control command.
Further, the embedding the control command into the audio data to obtain audio transmission data includes:
the control command consists of more than one control word, all the control words are sequentially embedded into the samples with the corresponding number of the audio data, so that one control word is embedded into a preset position of one sample of the audio data, and audio transmission data are obtained.
Further, the extracting the control command from the audio transmission data of the audio data decoding chip and before reading the control command includes:
and reading the audio transmission data, judging whether a control command exists in the audio transmission data of the audio data decoding chip, and if so, extracting the control command.
Further, the reading of the audio transmission data includes:
and extracting the audio data from the audio transmission data of the audio data decoding chip.
Further, the control command includes: and playing the mode selection control instruction.
Further, the controlling the audio data decoding chip according to the interpreted control command includes:
and selecting a corresponding playing mode to play the extracted audio data according to the playing mode selection control instruction in the interpreted control command.
According to the invention, the control command word is embedded into the audio data, the audio data is transmitted to the audio data decoding chip through the audio transmission data, and the control command is interpreted by the control command decoding module in the audio data decoding chip, so that a special control bus decoding module is not required to be additionally arranged, the whole volume of the chip is greatly saved, and the miniaturization requirement of mobile terminal equipment is met.
The foregoing description is only an overview of the present invention, and is intended to be implemented in accordance with the teachings of the present invention, as well as the following detailed description of the preferred embodiments, together with the accompanying drawings, in order to make the above and other objects, features and advantages of the present invention more readily apparent.
Drawings
FIG. 1 is a schematic diagram of a logic structure of an audio data transmission system embedded with control command words according to the present invention;
FIG. 2 is a schematic diagram of another logic structure of an audio data transmission system embedded with control command words according to the present invention;
FIG. 3 is a schematic workflow diagram of the audio data transmission method of the present invention embedded with control command words;
fig. 4 is a schematic diagram of another workflow of the audio data transmission method of the present invention embedded with control command words.
Detailed Description
The invention will be described in further detail with reference to the accompanying drawings and specific examples.
Referring to fig. 1 to 2, an embodiment of the present invention provides an audio data transmission system embedded with a control command word, including:
a processor 1, an audio data decoding chip 3 and an audio data bus 2,
the processor 1 includes: an audio data input module 101, a control command input module 102, and a control command embedding module 103 connected to the audio data input module 101 and the control command input module 102, respectively;
the audio data input module 101 is configured to input audio data;
the control command input module 102 is configured to input a control command;
the control command embedding module 103 is configured to extract a control command and audio data, and embed the control command into the audio data to obtain audio transmission data;
the audio data bus 2 is arranged between the processor 1 and the audio data decoding chip 3 and is used for transmitting audio transmission data in the processor 1 to the audio data decoding chip 3;
the audio data decoding chip 3 includes:
the control instruction decoding module 301 is configured to extract a control command from the audio transmission data, and interpret the control command.
Further, the audio data decoding chip 3 further includes:
a control command detection module 302, where the control command detection module 302 is configured to detect whether a control command exists in the audio transmission data, and if so, drive the control command decoding module 301;
the audio data decoding module 303, the audio data decoding module 303 is configured to extract audio data in the audio transmission data.
Further, the audio data bus 2 is: I2S bus (Inter-IC Sound bus, integrated circuit built-in audio bus).
Referring to fig. 3, a method for transmitting audio data embedded with control command words according to an embodiment of the present invention will be described, which includes:
401. inputting audio data and control commands
The processor inputs the audio data and the control command respectively;
402. embedding control commands
Embedding a control command into the audio data to obtain audio transmission data;
403. transmitting audio transmission data
Transmitting audio transmission data from the processor to the audio data decoding chip through an audio data bus;
404. extracting control commands
And extracting a control command from the audio transmission data of the audio data decoding chip, and reading the control command.
For easy understanding, the present invention will be described with reference to fig. 4, which is a method for transmitting audio data embedded with control command words, comprising:
501. inputting audio data and control commands
The processor inputs the audio data and the control command respectively;
502. embedding control commands
Embedding a control command into the audio data to obtain audio transmission data; the specific embedding process is as follows: the control command consists of more than one control word, all the control words are sequentially embedded into the samples with the corresponding number of the audio data, so that one control word is embedded into a preset position of one sample of the audio data, and audio transmission data are obtained. For example: a control word 56 bits long is embedded into 56 samples of audio data, the 16 th bit of each of the 56 samples corresponding to one bit of the 56-bit control word, the control word being embedded in this location, which is hardly audible to the user. Therefore, the control command can be embedded without affecting the audio experience of the user.
503. Transmitting audio transmission data
Transmitting audio transmission data from the processor to the audio data decoding chip through an audio data bus; the audio data bus includes: I2S bus, S/PDIF (Sony/Philips Digital Interconnect Format), etc.;
504. reading audio transmission data
Reading the audio transmission data transmitted to the audio data decoding chip;
505. judging whether there is a control command
Judging whether a control command exists in audio transmission data of an audio data decoding chip, if so, extracting the control command in 506; if not, then 504 continues to read the audio transmission data in the audio data decoding chip;
506. extracting control commands
And when the judging result is that the control command exists, extracting the control command from the audio transmission data of the audio data decoding chip, and reading the control command.
507. Extracting audio data
After the audio transmission data are read, extracting audio data from the audio transmission data of the audio data decoding chip;
508. control audio data decoding chip
Controlling the audio data decoding chip according to the interpreted control command, wherein the control command comprises: a play mode selection control instruction; the audio data decoding chip selects a PCM (Pulse Code Modulation ) playing mode or a DSD (Direct Stream Digital, direct bit stream digital coding) playing mode to play the extracted audio data according to the playing mode selection control instruction.
The present invention is not limited to the embodiments described above, but is capable of modification and variation in all embodiments without departing from the scope of the present invention, and the present invention is not limited to the embodiments described above.
Claims (7)
1. An audio data transmission system embedded with control command words, comprising: a processor, an audio data decoding chip and an audio data bus, characterized in that,
the processor includes: the system comprises an audio data input module, a control command input module and a control command embedding module, wherein the control command embedding module is respectively connected with the audio data input module and the control command input module;
the audio data input module is used for inputting audio data;
the control command input module is used for inputting control commands;
the control command embedding module is used for extracting control commands and audio data, and embedding the control commands into the audio data to obtain audio transmission data;
the audio data bus is arranged between the processor and the audio data decoding chip and is used for transmitting audio transmission data in the processor to the audio data decoding chip;
the audio data decoding chip includes:
the control instruction decoding module is used for extracting a control command from the audio transmission data and reading the control command;
the audio data decoding chip further includes:
the control command detection module is used for detecting whether a control command exists in the audio transmission data, and if so, the control command decoding module is driven;
and the audio data decoding module is used for extracting audio data in the audio transmission data.
2. The audio data transmission system of claim 1, wherein the audio data bus is: I2S bus.
3. A method of transmitting audio data embedded with a control command word, comprising:
respectively inputting audio data and control commands;
embedding a control command into the audio data to obtain audio transmission data;
transmitting audio transmission data to the audio data decoding chip;
extracting a control command from audio transmission data of an audio data decoding chip, and reading the control command;
the interpretation of the control command comprises the following steps:
controlling the audio data decoding chip according to the read control command;
the embedding the control command into the audio data to obtain audio transmission data includes:
the control command consists of more than one control word, all the control words are sequentially embedded into the samples with the corresponding number of the audio data, so that one control word is embedded into a preset position of one sample of the audio data, and audio transmission data are obtained.
4. The audio data transmission method of embedding control command words according to claim 3, wherein the steps of extracting the control command from the audio transmission data of the audio data decoding chip and interpreting the control command include:
and reading the audio transmission data, judging whether a control command exists in the audio transmission data of the audio data decoding chip, and if so, extracting the control command.
5. The audio data transmission method of embedding a control command word as claimed in claim 4, wherein the reading of the audio transmission data includes, after:
and extracting the audio data from the audio transmission data of the audio data decoding chip.
6. The audio data transmission method of embedding a control command word as claimed in claim 5, wherein the control command includes: and playing the mode selection control instruction.
7. The method for transmitting audio data embedded with control command words according to claim 6, wherein controlling the audio data decoding chip according to the interpreted control command comprises:
and selecting a corresponding playing mode to play the extracted audio data according to the playing mode selection control instruction in the read control command.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510344652.1A CN106325803B (en) | 2015-06-19 | 2015-06-19 | Audio data transmission system embedded with control command word and method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510344652.1A CN106325803B (en) | 2015-06-19 | 2015-06-19 | Audio data transmission system embedded with control command word and method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106325803A CN106325803A (en) | 2017-01-11 |
CN106325803B true CN106325803B (en) | 2024-01-16 |
Family
ID=57728785
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510344652.1A Active CN106325803B (en) | 2015-06-19 | 2015-06-19 | Audio data transmission system embedded with control command word and method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106325803B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101807946A (en) * | 2009-11-11 | 2010-08-18 | 瑞士电子有限公司 | 2.4G wireless audio device working method |
CN103200263A (en) * | 2013-04-02 | 2013-07-10 | 上海山景集成电路股份有限公司 | Intelligent terminal, Bluetooth audio playing device and interactive method and interactive system for intelligent terminal and Bluetooth audio playing device |
CN104615403A (en) * | 2015-01-07 | 2015-05-13 | 大唐移动通信设备有限公司 | Audio output device |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1916866A (en) * | 2005-08-18 | 2007-02-21 | 鸿富锦精密工业(深圳)有限公司 | Bus monitoring system and method for audio video systems |
US20090030535A1 (en) * | 2007-07-23 | 2009-01-29 | Solid State System Co., Ltd. | Audio playback apparatus and nethid based on a general spi interface |
-
2015
- 2015-06-19 CN CN201510344652.1A patent/CN106325803B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101807946A (en) * | 2009-11-11 | 2010-08-18 | 瑞士电子有限公司 | 2.4G wireless audio device working method |
CN103200263A (en) * | 2013-04-02 | 2013-07-10 | 上海山景集成电路股份有限公司 | Intelligent terminal, Bluetooth audio playing device and interactive method and interactive system for intelligent terminal and Bluetooth audio playing device |
CN104615403A (en) * | 2015-01-07 | 2015-05-13 | 大唐移动通信设备有限公司 | Audio output device |
Also Published As
Publication number | Publication date |
---|---|
CN106325803A (en) | 2017-01-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20190244619A1 (en) | Electronic device and voice recognition method thereof | |
CN111433737B (en) | Electronic device and control method thereof | |
US8160733B2 (en) | Audio system for an information handling system | |
CN104361021B (en) | Method for identifying web page coding and device | |
CN107678988A (en) | A kind of multifunctional serial port device and implementation method | |
US20190230728A1 (en) | Wireless communication device and communication pairing method thereof | |
CN106504759B (en) | A sound mixing processing method and terminal device | |
CN108646975A (en) | Information processing method and device | |
CN113973226B (en) | Screen recording method, device, equipment and storage medium | |
CN106325803B (en) | Audio data transmission system embedded with control command word and method thereof | |
CN105224898B (en) | The method, apparatus and equipment of radio communication | |
US20140214434A1 (en) | Method for processing sound data and circuit therefor | |
CN110726924B (en) | Chip operation method and device | |
CN104681033A (en) | Information encoding and decoding methods and electronic equipment | |
CN102361505B (en) | Electronic equipment and method for identifying external power amplification module based on MICRO-USB interface | |
CN111108755B (en) | Electronic device control system, audio output device, and method | |
US9990956B2 (en) | Recording apparatus | |
EP3707707A1 (en) | Audio stream dependency information | |
CN105573926B (en) | A kind of information processing method and electronic equipment | |
CN103647966A (en) | Field programmable gate array (FPGA) based image data detection method and device | |
KR101551968B1 (en) | Music source information provide method by media of vehicle | |
KR100922812B1 (en) | Peripheral Control Method and System | |
CN101241700A (en) | sound data processing device | |
CN104113805A (en) | Loudspeaker system and driving method thereof | |
CN201044459Y (en) | General serial bus chip |
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 | ||
CB02 | Change of applicant information |
Address after: 510700 office card position 5f-k1-35 of Youke workshop, Guangzhou Knowledge City, room 506, No. 2, Tengfei First Street, Huangpu District, Guangzhou City, Guangdong Province Applicant after: Guangzhou Ruixin Microelectronics Co.,Ltd. Address before: Room 106, building 11, No.60, West Avenue, high tech Zone, Xi'an, Shaanxi 710119 Applicant before: XI'AN RUIXIN MICROELECTRONICS Co.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |