Web Application Communication Protocol Adaptation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current web applications lack the ability to determine the appropriate protocol for establishing communication sessions with remote entities, particularly when terminals use the SIP protocol, leading to inefficiencies in communication service implementation.
Innovation Solution
A process is developed to establish and process communication sessions between a web application in a terminal and an entity, involving a web transport protocol like WebSocket, and switching to the SIP protocol when necessary, using a system with a terminal, connection server, management server, and transmission server to handle signaling messages and media flows, with specific modules for processing requests and determining session identifiers.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If web applications use a single web transport protocol for communication, then the implementation is simple and consistent, but compatibility with terminals using different protocols (such as SIP) is lost
Solution Approach 1:
The patent introduces a gateway as an intermediary component that translates between web transport protocols (WebSocket, SSE) and traditional communication protocols (SIP). The gateway receives signaling messages from web applications, determines the appropriate protocol for the target entity, and forwards messages accordingly. This mediator approach enables protocol compatibility without requiring web applications to implement multiple protocols directly, thus resolving the contradiction between adaptability and complexity.
2Adaptability or versatility
If web applications implement multiple communication protocols directly, then protocol compatibility is achieved, but the complexity of the web application increases
Solution Approach 1:
The gateway serves as an external intermediary that handles protocol translation and routing logic, allowing web applications to maintain simple implementations using only web transport protocols. The gateway's protocol determination module analyzes message content and routing information to select appropriate protocols, eliminating the need for web applications to directly implement multiple protocols while preserving protocol compatibility.
Solution Approach 2:
The patent segments the communication system into distinct functional components: web applications handling user interface and web protocol communication, and gateways handling protocol translation and routing. This segmentation allows each component to specialize in specific protocols, simplifying the web application's role while maintaining overall system compatibility through the gateway's multi-protocol capabilities.
3Productivity
If the system automatically determines the appropriate protocol for each communication target, then communication efficiency is improved, but the system complexity increases
Solution Approach 1:
The gateway's protocol determination module implements self-service by automatically analyzing incoming signaling messages, extracting routing information, and selecting appropriate protocols without external intervention. The system uses built-in logic to examine message content and determine whether to use WebSocket, Server-Sent Events, or traditional SIP protocols, enabling efficient automatic protocol selection while keeping the determination mechanism contained within the gateway rather than distributed across multiple components.
Data Source
Figure 1
Figure 2~4
Figure 5
AI summary
The invention relates to a method for establishing a communication session between a web application instance (W) installed on a terminal (TA) and a called entity (TB). The establishment method is adapted to send a first request to establish a communication session between the application instance (W) and the called entity (TB), the first request being formulated according to a first protocol, to receive a response indicating that the first request could not be delivered, and to send a second request to establish the communication session formulated according to a second protocol. The invention also relates to a method for processing a request to establish a communication session adapted to receive the first request, transmit the response to the first request, and receive the second request.The invention also relates to a terminal (TA), respectively a connection server (SW), implementing the establishment method, respectively processing.