Audio Stream Switching via Timestamp Synchronization
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current audio stream switching methods in multimedia communications are inefficient and complex, requiring data parsing and format conversion, which hampers switching efficiency and increases system complexity.
Innovation Solution
An audio stream switching method that determines synchronization relationships between audio streams based on packet timestamps and sampling frequencies, allowing for direct switching without parsing or format conversion, thereby improving efficiency and reducing complexity.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If data parsing and format conversion are performed before switching, then audio streams can be properly processed, but switching efficiency decreases and system complexity increases
Solution Approach 1:
The patent applies preliminary action by determining synchronization relationships and calculating switching points before the actual audio stream switching occurs. The switching device determines the synchronization relationship between switch-in and switch-out streams based on timestamps, and pre-calculates the switching point parameters, so that when switching is needed, the operation can be executed immediately without performing parsing and format conversion at the moment of switching.
Solution Approach 2:
The patent extracts the essential synchronization information (timestamps) from the audio streams and uses only this extracted information to determine switching points, rather than parsing and processing the entire audio data. This extraction approach allows switching decisions to be made based on minimal necessary information, improving efficiency while maintaining correctness.
2Reliability
If data parsing and format conversion are performed before switching, then audio streams can be properly processed, but system complexity increases
Solution Approach 1:
The patent extracts only the necessary timestamp information from audio packets to determine synchronization relationships and switching points. Instead of parsing entire audio data and converting formats, the system extracts minimal essential information (timestamps) to make switching decisions, significantly reducing system complexity while maintaining processing correctness.
Solution Approach 2:
The patent changes the approach from processing audio data in traditional formats to operating directly with timestamp parameters. By using timestamp-based synchronization relationship determination and switching point calculation, the system avoids complex format conversions and operates with simplified temporal parameters, reducing system complexity.
3Productivity
If timestamp-based switching is implemented, then switching efficiency improves, but synchronization precision requirements increase
Solution Approach 1:
The patent applies feedback by using timestamps from both switch-in and switch-out streams to determine their synchronization relationship. The switching device continuously monitors timestamp differences and uses this feedback to accurately determine switching points that maintain audio synchronization, ensuring precision is achieved through systematic timestamp comparison rather than arbitrary switching.
Data Source
AI summary
This application discloses an audio stream switching method and apparatus. After a switching device receives a switching instruction, the switching device determines a synchronization relationship between a switch-in stream and a switch-out stream, determines a parameter value of a switching point of the switch-in stream based on the synchronization relationship and a timestamp of a packet in the switch-in stream, and determines a timestamp of a switching point of the switch-out stream based on the synchronization relationship and a timestamp of a packet in the switch-out stream, and/or the switching device switches a packet that is in the switch-out stream and whose parameter value is greater than the parameter value of the switching point of the switch-out stream to a packet that is in the switch-in stream and whose parameter value is greater than the parameter value of the switching point of the switch-in stream.


