Method and apparatus for sending and receiving audio data
AssigneeZhejiang Dahua Technology Co., Ltd.
InventorsJun Yin, Zhicheng Ye, Chenge Liao, Xingming Zhang, Liquan Fu, Jiangming Zhu, Jun Wu, Jian Wu
Life of this patent
Estimating the term…
Abstract
A method and an apparatus for sending and receiving audio data, so as to solve the problem that in the prior art, a simulating audio and video transmission system is complex in cable connection structure. The audio data is overlaid at a preset position of a video blanking interval of video data, sending and receiving of audio signals are carried out, and co-cable transmission of the audio and video data can be achieved.
Claims12
A method for transmitting audio data, the method comprising:
- sampling and quantizing an analog audio signal and determining audio sampling values corresponding to the audio data to be transmitted;
- buffering the audio sampling values into a buffer area in a First Input First Output, FIFO, method;
- after a color synchronization signal of an analog video signal is detected, superimposing the audio sampling values buffered in the buffer area in video blanking intervals of the analog video signal, to obtain the analog video signal comprising an audio carrier sampled signal;
- and
- transmitting the analog video signal comprising the audio carrier sampled signal to a receiver;
- wherein buffering the audio sampling values into the buffer area comprises:
- calculating an audio duration corresponding to the audio data to be superimposed in each active row based on a frame periodicity, the total number of rows in each frame, and the number of active rows in which the audio data can be superimposed in each frame, and buffering the audio sampling values corresponding to the audio data to be transmitted in the audio duration into the buffer area;
- wherein after the color synchronization signal of the analog video signal is detected, superimposing the audio sampling values buffered in the buffer area in the video blanking intervals of the analog video signal comprises:
- outputting an audio flag reference level after the color synchronization signal of the analog video signal is detected;
- and
- determining the audio flag reference level as the zero level of the audio sampling values and superimposing the audio sampling values in the video blanking intervals of the analog video signal in accordance with the ratio of the audio sampling values to the original zero level.
A device for transmitting audio data, comprising:
- a first processor, wherein:
- the first processor is configured to execute one or more computer readable program codes to perform:
- sampling and quantizing an analog audio signal into audio sampling values corresponding to the audio data to be transmitted;
- buffering the audio sampling values as a result of sampling into a buffer area in a First Input First Output, FIFO, method;
- after a color synchronization signal of an analog video signal is detected, superimposing the audio sampling values in video blanking intervals of the analog video signal, to obtain the analog video signal comprising an audio carrier sampled signal;
- and
- transmitting the analog video signal comprising the audio carrier sampled signal to a receiver;
- wherein the first processor is configured to execute the one or more computer readable program codes to perform:
- calculating an audio duration corresponding to the audio data to be superimposed in each active row based on a frame periodicity, the total number of rows in each frame, and the number of active rows in which the audio data can be superimposed in each frame, and buffering the audio sampling values corresponding to the audio data to be transmitted in the audio duration into the buffer area;
- wherein the first processor is configured to execute the one or more computer readable program codes to perform:
- outputting an audio flag reference level after the color synchronization signal of the analog video signal is detected;
- and
- determining the audio flag reference level as the zero level of the audio sampling values and superimposing the audio sampling values in the video blanking intervals of the analog video signal in accordance with the ratio of the audio sampling values to the original zero level.
Dependencies are inferred from the claim text.