Bidirectional Data Exchange via Request-Response Emulation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Network security policies and devices, such as firewalls, NAT, and DPI, often restrict bidirectional data transmission, impairing applications like VoIP, multimedia streaming, and online gaming by limiting the types of network traffic that can be exchanged, especially when they only allow request and response protocols like HTTP.
Innovation Solution
The technique involves using multiple request and response data streams to emulate a single bidirectional data stream, allowing two computing devices to establish a connection and exchange data even in environments that restrict certain types of network traffic, by employing methods like STUN and TURN for NAT traversal and utilizing protocols like HTTP for request and response communication.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If network security policies and devices (firewalls, NAT, DPI) are used to secure network communication, then network security is improved, but bidirectional data transmission capability deteriorates
Solution Approach 1:
The patent introduces a server as an intermediary that receives requests from a first computing device, obtains responses from a second computing device, and forwards them back. This intermediary enables bidirectional communication between devices behind NAT firewalls by translating unidirectional request-response patterns into effective bidirectional data exchange, thus resolving the contradiction between security restrictions and communication capability.
2Adaptability or versatility
If request and response protocols (like HTTP) are used for network communication, then compatibility with network security policies is improved, but true bidirectional data flow capability deteriorates
Solution Approach 1:
The patent implements bidirectional communication through periodic request-response cycles. The system sends requests at regular intervals and processes responses accordingly, using this periodic action pattern to simulate continuous bidirectional data flow while maintaining compatibility with HTTP-based security policies that expect request-response interactions.
Solution Approach 2:
The patent segments bidirectional communication into separate request and response phases. By dividing the communication process into discrete request发送 and response receiving segments, the system can operate within request-response protocol constraints while achieving the functional equivalent of simultaneous bidirectional communication through coordinated segmentation of data exchange.
Data Source
AI summary
A method for bidirectional data exchange includes, on a network computing device, receiving a first request from a first computing device via a request and response protocol, the first request including a first-device-provided portion of a data stream. The first-device-provided portion of the data stream is sent to a second computing device. A second-device-provided portion of the data stream is received from the second computing device. A second request is received from the first computing device via the request and response protocol, the second request soliciting the second-device-provided portion of the data stream. A response to the second request is sent to the first computing device via the request and response protocol, the response including the second-device-provided portion of the data stream.


