Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for coding audio data

An audio data and coding method technology, applied in the field of data processing, can solve the problems of reducing system resource utilization, occupying system resources, increasing system resource overhead and pressure, etc., to reduce data volume, improve transmission efficiency, and ensure real-time performance. Effect

Inactive Publication Date: 2015-07-22
WUXI TVMINING MEDIA SCI & TECH
View PDF18 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the multi-thread coding method increases the overhead and pressure of system resources. If there are idle threads in the multi-thread, it will also occupy system resources and reduce the utilization of system resources.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for coding audio data
  • Method and device for coding audio data
  • Method and device for coding audio data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] The preferred embodiments of the present invention will be described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described here are only used to illustrate and explain the present invention, and are not intended to limit the present invention.

[0041] figure 1 Shown is a flow chart of a method for encoding audio data in an embodiment of the present invention, the method includes the following steps S11-S12:

[0042] Step S11, when using at least two concurrent encoding threads to perform AAC-ELD encoding on the PCM audio data frame, monitor the CPU usage of the terminal in real time.

[0043] Step S12, when it is detected that the CPU usage rate is greater than or equal to the first preset threshold and there are lingering PCM audio data frames, add at least one encoding thread to at least two concurrent encoding threads to utilize the added at least one encoding thread The thread AAC-ELD encodes the ling...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method and a device for coding audio data. The method includes monitoring CPU (central processing unit) utilization rates of local terminals in real time when AAC-ELD (advanced audio coding-enhanced low display) coding is carried out on pulse code modulation (PCM) audio data frames in pulses by the aid of at least two concurrent coding threads; adding at least one coding thread into the concurrent coding threads when the monitored CPU utilization rates are higher than or equal to first preset threshold values and the PCM audio data frames are detained. AAC-ELD coding can be carried out on the detained PCM audio data frames by the aid of the added coding threads. The method and the device have the advantage that the purpose of reducing the overhead and stress of system resources can be achieved on the premise that real-time coding is guaranteed.

Description

technical field [0001] The invention relates to the technical field of data processing, in particular to an audio data encoding method and device. Background technique [0002] One goal of audio data encoding is to compress the audio signal to a desired limited amount of information while maintaining as much of the original sound quality as possible. Usually, PCM (Pulse Code Modulation, Pulse Code Modulation) can be used to encode audio data, and the continuously changing analog signal is converted into digital code through three steps of sampling, quantization and encoding. Its biggest advantage is good sound quality, but its biggest disadvantage is It's just big. [0003] AAC (Advanced Audio Coding, Advanced Audio Coding)-ELD (Enhanced Low Delay, Enhanced Low Delay) is a communication codec based on the common audio codec AAC (mainly used in mainstream music download and streaming platforms). AAC-ELD provides CD-like audio quality for video calls and telephony at very lo...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G10L19/02G10L19/20
Inventor 张金良
Owner WUXI TVMINING MEDIA SCI & TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products