VOIP Call State Handling for Simultaneous Phone Calls
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing mobile phones fail to support simultaneous use of telephone calls and VOIP calls, with existing systems failing to allow both to be used simultaneously.
Innovation Solution
Implement a method and apparatus to allow both a VOIP call to be used simultaneously.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If the system checks the actual telephone call state before allowing VOIP call initiation, then call state accuracy is improved, but VOIP call establishment is blocked when telephone call is active
Solution Approach 1:
Instead of returning the actual call state (busy when telephone call active) to the VOIP application, the system inverts the logic by always returning 'not busy' status. This allows the VOIP application to establish calls regardless of telephone call state, resolving the contradiction between accurate state reporting and call establishment capability.
Solution Approach 2:
The system introduces an intermediary layer between the call state query and the VOIP application. This intermediary (the processing module) decouples the actual call state from the VOIP application's decision-making, allowing the application to operate independently without being constrained by the underlying telephone call state.
2Adaptability or versatility
If the system allows VOIP call establishment regardless of telephone call state, then VOIP call availability is improved, but audio resource conflicts occur
Solution Approach 1:
The system performs preliminary audio resource allocation when the VOIP call is established. The audio processing module proactively configures audio resources and sets up mixing parameters before the actual call begins, preventing conflicts from occurring during call operation. This includes pre-configuring the audio mixer to handle multiple call streams simultaneously.
Solution Approach 2:
The system implements dynamic audio resource management that adapts to real-time call conditions. The audio processing module dynamically adjusts audio routing, mixing, and prioritization based on which calls are active, allowing flexible resource allocation that prevents conflicts while maintaining both calls operational.
3Loss of information
If the system notifies the VOIP application of incoming telephone calls, then call notification accuracy is improved, but VOIP call continuity is interrupted
Solution Approach 1:
The system extracts the call notification function from the standard call flow. Instead of notifying the VOIP application of incoming telephone calls (which would interrupt it), the system separates the notification path, allowing telephone calls to be handled independently without affecting VOIP call continuity. The VOIP application operates in isolation from telephone call events.
4Adaptability or versatility
If the system implements simultaneous call support with audio mixing, then call functionality is improved, but system complexity increases
Solution Approach 1:
The system implements a universal audio processing module that handles multiple call types (VOIP and telephone) through a single unified architecture. The audio mixer and resource management functions serve both call types simultaneously, reducing overall system complexity compared to having separate processing paths for each call type.
Data Source
Figure 1~2
Figure 3~4
Figure 5~6
AI summary
The embodiments of the present disclosure provide a call processing method, a storage medium, and an electronic device. The call processing method includes: in response to determining a voice over Internet protocol (VOIP) call needs to be initiated through a first application on a terminal, receiving(100; 200) a call state query request message sent by the first application, where the call state query request message is used to request querying whether the terminal is engaged in a telephone call; and always sending(102; 202), to the first application, a response message used to indicate that the terminal is not engaged in a telephone call, so that the first application establishes the VOIP call with a first peer device based on the response message.