HTTP Two-Way Communication via GET POST Methods
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current communication systems using HTTP struggle with latency issues in real-time two-way data communication, particularly in high-traffic internet scenarios, where immediate response is necessary for applications like video conferencing and VoIP, due to the port-dependent limitations of WebSockets and the lack of inherent support for full-duplex communication in HTTP.
Innovation Solution
A communication system that employs a combination of GET and POST HTTP methods to establish a two-way real-time communication link, optimizing the maximum segment size (MSS) based on the weakest network link's MTU, using chunked transfer encoding to facilitate efficient data exchange, and optionally tunneling through the CONNECT method for enhanced security and load balancing, allowing for real-time, full-duplex communication without additional software or hardware configurations.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Speed
If WebSockets are used for real-time two-way communication, then communication speed is improved, but port dependency and firewall interference worsen
Solution Approach 1:
The patent makes HTTP protocol capable of supporting full-duplex communication by combining GET and POST methods, allowing a single protocol to serve both traditional request-response patterns and real-time bidirectional communication needs without requiring separate WebSocket protocol or specific port configurations
Solution Approach 2:
The server acts as an intermediary that receives data from one client via POST, stores it temporarily, and forwards it to another client via GET responses, enabling indirect real-time communication that works through standard HTTP firewalls and proxies without requiring port-dependent WebSocket connections
2Device complexity
If HTTP request-response model is used, then protocol simplicity is improved, but real-time two-way communication capability worsens
Solution Approach 1:
The patent merges the functionality of separate request and response channels by using GET requests for data retrieval and POST requests for data submission within the same HTTP protocol framework, creating a unified full-duplex communication path that maintains protocol simplicity while enabling bidirectional real-time exchange
Solution Approach 2:
The system dynamically switches between GET and POST methods based on communication direction needs, with clients able to initiate either type of request depending on whether they need to retrieve data or send data, making the protocol adaptable for real-time interaction without increasing inherent protocol complexity
3Productivity
If data is transmitted in large blocks, then transmission efficiency is improved, but network latency and packet loss worsen
Solution Approach 1:
The patent segments data transmissions into appropriately sized chunks that balance efficiency and latency, using HTTP's chunked transfer encoding to divide large data payloads into manageable segments that can be transmitted and acknowledged progressively, reducing overall latency while maintaining good transmission efficiency
Data Source
Figure 1
Figure 2
Figure 3
AI summary
A method (S1 to S4), system and software product for establishing a communication link via a communication system which is operable to support HTTP-based communication are provided. The method includes: (a) using the system to establish a two-way real-time communication link between two nodes of the system by employing a combination of GET and POST methods associated with HTTP; and (b) TCP/IP and/or UDP tunnelling the two-way communication link by employing a CONNECT method associated with HTTP. The communication system is of advantage in that the system is capable of providing two-way, full-duplex communication, either unencrypted or encrypted, by utilizing the known HTTP transfer protocol in such a way that extra configurations are not necessary in software or hardware firewalls and/or in anti-virus software applications executing in the communication system.