Mobile Terminal Audio Codec Switching for Transmission Delay
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Conventional audio transmission methods experience significant delays due to the need for compilation, encoding, and transmission to occur after audio recording is finished, which is unsuitable for scenarios requiring swift audio transmission, leading to an unsatisfactory user experience.
Innovation Solution
A method implemented in a mobile terminal that initiates a recording session, encodes audio frames using a first audio codec, and dynamically switches to a second codec based on processing time thresholds, allowing for continuous encoding and simultaneous transmission of audio frames to a remote server.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Manufacturing precision
If audio recording is completed before encoding and transmission, then audio quality can be ensured, but significant transmission delay occurs
Solution Approach 1:
The patent applies preliminary action by pre-allocating buffer memory space before recording starts. This allows the system to immediately store incoming audio frames without waiting for encoding completion, thereby reducing transmission delay while maintaining audio quality through proper buffering management.
Solution Approach 2:
The patent segments the audio processing into distinct stages: recording, encoding, and transmission. By using a buffer to temporarily store segmented audio frames, the system can process and transmit audio data in chunks rather than waiting for complete recording, thus reducing overall transmission delay while preserving quality.
2Manufacturing precision
If a high-quality audio codec is used, then audio integrity is maintained, but processing time increases
Solution Approach 1:
The patent implements continuous encoding by pre-allocating buffer space and enabling the encoder to process audio frames as they arrive during recording. This continuous action eliminates idle time between recording and encoding, maintaining audio integrity through consistent high-quality encoding while reducing processing time delays.
Solution Approach 2:
The system performs preliminary buffer allocation before recording begins, preparing the encoding pipeline in advance. This preliminary action ensures that when audio frames arrive, they can be immediately processed by the encoder without waiting for memory allocation, thus maintaining audio integrity while minimizing processing delays.
3Device complexity
If audio encoding is performed after recording completion, then resource management is simplified, but transmission efficiency decreases
Solution Approach 1:
The patent applies preliminary action by pre-allocating buffer memory space before recording starts. This simplifies resource management by eliminating the need for dynamic memory allocation during recording, while simultaneously improving transmission efficiency by enabling immediate encoding and transmission of audio frames without waiting for recording completion.
Solution Approach 2:
The system maintains continuous useful action by enabling audio frames to be encoded and transmitted continuously during the recording process. The pre-allocated buffer ensures this continuous flow can occur without interruption, improving transmission efficiency while keeping resource management simple through the initial buffer allocation.
Data Source
AI summary
The current invention discloses methods, applications, and devices for audio transmission from a mobile terminal. After receiving an audio signal transmission request from a user, the mobile terminal may initiate a recording session to record audio signals into audio frames. During the recording session, the terminal may adjust the audio codecs used for encoding the audio frames based on the workload and the performance of the terminal. By measuring and evaluating the encoding time, the terminal may change between using a floating-point AMR audio codec and a fixed-point AMR audio codec. The encoded audio frames are transmitted to a remote server. The current invention provides a flexible and efficient approach for audio signal encoding and transmission, balancing signal integrity and encoding speed at the same time.


