Audio data transmission method and apparatus

US10877512B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-10877512-B2
Application numberUS-201916577786-A
CountryUS
Kind codeB2
Filing dateSep 20, 2019
Priority dateApr 2, 2019
Publication dateDec 29, 2020
Grant dateDec 29, 2020

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

The present disclosure relates to an audio data transmission method and apparatus. The method includes: determining a frequency of sampling of audio data to be processed as a clock frequency of a first clock signal; determining a clock frequency of a second clock signal according to the clock frequency of the first clock signal, a number of slots of the audio data to be processed and a preset audio data occupied bit width; determining a duration of a high level in each cycle of the first clock signal according to the clock frequency of the second clock signal and the number of slots; and outputting the processed audio data according to a pulse code modulation (PCM) timing determined by the clock frequency of the first clock signal, the clock frequency of the second clock signal and the duration of the high level in each cycle of the first clock signal.

First claim

Opening claim text (preview).

What is claimed is: 1. An audio data transmission method, applied to a sending device, the method comprising: parsing input audio data to be processed, and obtaining, for the input audio data to be processed, a frequency of sampling, a number of slots and an original bit width of audio data of each slot; determining the frequency of sampling as a clock frequency of a first clock signal; determining a clock frequency of a second clock signal according to the clock frequency of the first clock signal, the number of slots and a preset bit width occupied by audio data; determining a duration of a high level in each cycle of the first clock signal according to the clock frequency of the second clock signal and the number of slots; and outputting processed audio data according to a pulse code modulation (PCM) timing determined by the clock frequency of the first clock signal, the clock frequency of the second clock signal and the duration of the high level in each cycle of the first clock signal. 2. The method of claim 1 , wherein outputting the processed audio data according to the PCM timing determined by the clock frequency of the first clock signal, the clock frequency of the second clock signal and the duration of the high level in each cycle of the first clock signal comprises: outputting 1 bit of the processed audio data in each cycle of the second clock signal, and completing output of one frame of the processed audio data in each cycle of the first clock signal. 3. The method of claim 1 , further comprising: performing data bit width conversion on the audio data having the original bit width for each slot in the input audio data to be processed according to a preset alignment manner and the preset bit width, and obtaining the processed audio data, wherein the original bit width is less than or equal to the preset bit width. 4. The method of claim 3 , wherein performing the data bit width conversion on the audio data having the original bit width for each slot in the input audio data to be processed according to the preset alignment manner and the preset bit width and obtaining the processed audio data comprise: converting the audio data having the original bit width in each slot into audio data having the preset bit width using a left-alignment manner, wherein the audio data having the preset bit width sequentially comprises, from left to right, valid audio data having the original bit width and complementing data having a remaining bit width, the remaining bit width being equal to a difference between the preset bit width and the original bit width. 5. A non-transitory computer-readable storage medium having stored thereon instructions that, when executed by a processor, cause the processor to perform the audio data transmission method of claim 1 . 6. The non-transitory computer-readable storage medium of claim 5 , wherein the instructions further cause the processor to output 1 bit of the processed audio data in each cycle of the second clock signal, and complete output of one frame of the processed audio data in each cycle of the first clock signal. 7. An audio data transmission method, applied to a receiving device, the method comprising: receiving processed audio data, and determining a pulse code modulation (PCM) timing of the processed audio data, the PCM timing comprising a clock frequency of a first clock signal, a clock frequency of a second clock signal and a duration of a high level in each cycle of the first clock signal; determining a frequency of sampling according to the clock frequency of the first clock signal; determining a number of slots according to the clock frequency of the second clock signal and the duration of the high level in each cycle of the first clock signal; and obtaining audio data having a preset bit width occupied by audio data for each slot from the processed audio data according to the number of slots and the preset bit width. 8. The method of claim 7 , wherein receiving the processed audio data and determining the PCM timing of the processed audio data comprise: receiving 1 bit of the processed audio data in each cycle of the second clock signal, and completing reception of one frame of the processed audio data in each cycle of the first clock signal. 9. The method of claim 7 , wherein obtaining the audio data having the preset bit width for each slot from the processed audio data according to the number of slots and the preset bit width comprises: acquiring valid audio data having an original bit width from the audio data having the preset bit width for each slot according to a preset alignment manner. 10. The method of claim 9 , wherein the preset alignment manner comprises a left-alignment manner, wherein the audio data having the preset bit width sequentially comprises, from left to right, the valid audio data having the original bit width and complementing data having a remaining bit width, the remaining bit width being equal to a difference between the preset bit width and the original bit width. 11. An audio data transmission apparatus, applied to the receiving device, the apparatus comprising: a processor; and a memory configured to store instructions executable by the processor, wherein the processor is configured to perform operations of the audio data transmission method according to claim 7 . 12. The apparatus of claim 11 , wherein receiving the processed audio data and determining the PCM timing of the processed audio data comprise: receiving 1 bit of the processed audio data in each cycle of the second clock signal, and completing reception of one frame of the processed audio data in each cycle of the first clock signal. 13. The apparatus of claim 11 , wherein obtaining the audio data having the preset bit width for each slot from the processed audio data according to the number of slots and the preset bit width comprises: acquiring valid audio data having an original bit width from the audio data having the preset bit width for each slot according to a preset alignment manner. 14. The apparatus of claim 13 , wherein the preset alignment manner comprises a left-alignment manner, wherein the audio data having the preset bit width sequentially comprises, from left to right, the valid audio data having the original bit width and complementing data having a remaining bit width, the remaining bit width being equal to a difference between the preset bit width and the original bit width. 15. A non-transitory computer-readable storage medium having stored thereon instructions that, when executed by a processor, cause the processor to perform the audio data transmission method of claim 7 . 16. The non-transitory computer-readable storage medium of claim 15 , wherein the instructions further cause the processor to receive 1 bit of the processed audio data in each cycle of the second clock signal, and complete reception of one frame of the processed audio data in each cycle of the first clock signal. 17. An audio data transmission apparatus, applied to a sending device, the apparatus comprising: a processor; and a memory configured to store instructions executable by the processor, wherein the processor is configured to: parse input audio data to be processed, and obtain, for the input audio data to be processed, a frequency of sampling, a number of slots and an original bit width of audio data of each slot; determine the frequency of sampling as a clock frequency of a first clock signal; determine a clock frequency of a second clock signal according to the clock frequency of the first clock si

Assignees

Inventors

Classifications

  • H04B14/04Primary

    using pulse code modulation · CPC title

  • Regular pulse excitation · CPC title

  • 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 (in musical instruments G10H) · CPC title

  • using pulse time characteristics modulation, e.g. width, position, interval · CPC title

  • Preprocessing of received signal for synchronisation, e.g. by code conversion, pulse generation or edge detection · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US10877512B2 cover?
The present disclosure relates to an audio data transmission method and apparatus. The method includes: determining a frequency of sampling of audio data to be processed as a clock frequency of a first clock signal; determining a clock frequency of a second clock signal according to the clock frequency of the first clock signal, a number of slots of the audio data to be processed and a preset a…
Who is the assignee on this patent?
Beijing Xiaomi Mobile Software Co Ltd
What technology area does this patent fall under?
Primary CPC classification H04B14/04. Mapped technology areas include Electricity.
When was this patent published?
Publication date Tue Dec 29 2020 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).