Distributed Voice Mixing in P2P Networks Using Super Peer Selection
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Conventional multi-channel voice mixing techniques in P2P streaming media systems suffer from result overflow issues due to quantization limits, leading to noise and discontinuous voices, especially when multiple users participate, and require high server costs for processing.
Innovation Solution
Implement a method where each peer obtains voice mixing quality parameters of super peers, prioritizes them based on hardware level, capable bandwidth, time left, and service provider identity, and selects a super peer for voice mixing, reducing server costs and bandwidth usage by distributing the mixing process among peers.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If a server is used to perform multi-channel voice mixing, then voice mixing quality can be maintained, but server costs and processing load increase significantly
Solution Approach 1:
The patent segments the centralized voice mixing function into distributed mixing operations performed by individual peers. Each peer mixes its own voice stream with received mixed streams locally, eliminating the need for a centralized server to perform all mixing operations. This segmentation distributes the processing load across multiple nodes, reducing server costs while maintaining mixing quality.
Solution Approach 2:
Each peer performs self-service by locally mixing its own voice stream with the combined streams from other peers. Instead of relying on a server to perform all mixing operations, each participant actively contributes to the mixing process by combining its audio with received streams, thereby reducing server processing requirements and costs.
2Ease of manufacture
If time domain sample value sum is used for voice mixing, then the mixing process is simple, but result overflow occurs leading to noise and discontinuous voices
Solution Approach 1:
The patent applies parameter changes by transitioning from direct time domain sample value summation to frequency domain processing using Fourier transforms. This parameter transformation allows for more controlled mixing operations where amplitude scaling and selective combination of frequency components prevent overflow while maintaining voice continuity and quality.
3Reliability
If weighting calculation method is used to reduce overflow, then voice mixing quality improves, but the upper limit of mixing persons is still constrained
Solution Approach 1:
The patent moves the mixing operation from the time domain to the frequency domain, adding a dimensional transformation that enables more participants to be mixed simultaneously. By operating in the frequency domain, the system can process and combine more voice streams without the overflow constraints that limit time domain approaches, thereby increasing adaptability to larger numbers of participants.
4Productivity
If multi-tree topology is used for P2P streaming, then peer load balance performance improves, but system complexity increases
Solution Approach 1:
The patent segments the complex multi-tree topology into simpler point-to-point connections between peers. Each peer establishes direct connections with the peers it needs to communicate with, performing local mixing operations. This segmentation eliminates the need for complex hierarchical tree structures while achieving load balance through distributed processing at each peer node.
Data Source
Figure 1~2
Figure 3~4
Figure 5~6
AI summary
Embodiments of the present invention provide a method, system and peer apparatus for implementing multi-channel voice mixing, which belongs to a network communication field. The method includes: predetermining super peers from peers according to information processing abilities of the peers; obtaining, by each peer, voice mixing quality parameters of the super peers; obtaining, by peers with voice input in the peers, priorities of the super peers according to the voice mixing quality parameters, and selecting at least one super peer for voice mixing from all the super peers according to the priorities of the super peers; mixing, by the at least one super peer for voice mixing, audio data of each peer with voice input; and publishing mixed data. The present invention selects a super peer to replace the existing server for implementing multi-channel voice mixing and publishing mixed data. Thus, server costs and bandwidth resources can be saved.