Audio File Playback Response Speed Optimization

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing audio playing technologies experience slow response times when starting to play large audio files, as they require reading and parsing all frames before playback can begin, leading to inefficient location and search processes, especially on low-speed devices.

Innovation Solution

A method and apparatus that parse audio files to obtain basic information quickly, allowing playback to start sooner, and create a frame index table for rapid location and search, enabling concurrent parsing and decoding operations.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If all frames of the audio file are read and parsed before playback, then complete file information is obtained, but playback response time increases significantly

Engineering Contradiction:
Improvefile information completenessVSAvoidplayback response time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent applies preliminary action by parsing only the necessary basic information from the first few frames of the audio file before playback starts. The frame parser extracts essential parameters (sampling rate, channel mode, frame length) from initial frames, and the control unit determines when sufficient information has been obtained to begin playback, avoiding the need to parse the entire file beforehand.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent implements partial action by selectively parsing only the minimum required frames to obtain basic playback information, rather than parsing all frames. The control unit monitors the parsing progress and triggers playback when the accumulated information is sufficient, performing less work than complete file parsing while still enabling functional playback.

Inventive Principle:
Principle #16Partial or excessive action

2Reliability

If the entire audio file is parsed to obtain complete file information, then accurate playback control is achieved, but the processing time for large files becomes unacceptably long

Engineering Contradiction:
Improveplayback control accuracyVSAvoidfile processing speed
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The system performs preliminary parsing of only the necessary initial frames to obtain basic playback parameters and control information. The control unit evaluates whether the parsed information is sufficient for accurate playback control, enabling the system to begin playback with partial information rather than waiting for complete file parsing.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent segments the file parsing process into distinct phases: initial frame parsing for basic parameters, playback execution, and optional subsequent parsing for complete information. This segmentation allows playback to proceed independently while file parsing continues in the background, improving overall system productivity.

Inventive Principle:
Principle #1Segmentation

3Measurement precision

If location and search operations traverse from the first frame to find the target position, then accurate frame positioning is achieved, but search time increases for large files

Engineering Contradiction:
Improveframe position accuracyVSAvoidsearch time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent applies preliminary action by pre-calculating and storing the cumulative time points of frame boundaries during the initial parsing phase. The frame locator uses this pre-computed information to directly determine the target frame position based on the search time parameter, eliminating the need to traverse from the first frame and significantly reducing search time while maintaining positioning accuracy.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS8626323B2Method and apparatus for playing audio files
Publication Date: 2014.01.07 HUAWEI TECH CO LTD
  • US8626323B2 patent drawing
  • US8626323B2 patent drawing
  • US8626323B2 patent drawing

AI summary

A method for playing audio files includes: parsing data frames of an audio file until basic information about file playing that meets the conditions for playing the audio file is obtained; and playing the audio file according to the basic information about file playing. A location and search method for an audio file includes: determining a frame position corresponding to a playing position in search according to a stored mapping between playing positions and frame positions when receiving input information about the playing position in search; and starting playing an audio file from the determined frame position. An apparatus for playing audio files is also disclosed. With the invention, the playing response speed of an audio file is improved to a great extent.