P2P Relay Daemon for NVR Connection via HTTP-UDP Conversion
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing methods for connecting to security devices like NVRs, DVRs, or IP cameras via web browsers face challenges in performing Peer-to-Peer (P2P) communication due to limitations in Transmission Control Protocol (TCP) and are vulnerable to malicious codes and incompatible with different operating systems, requiring port forwarding.
Innovation Solution
A system and method utilizing a P2P relay demon with a local web server that converts HTTP data to UDP data for P2P communication, including an authentication server and a P2P relay server, to establish resilient connections without the need for port forwarding, using HTTP connections and UDP hole punching techniques.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of operation
If TCP-based HTTP communication is used in web browsers, then web content can be accessed, but P2P communication cannot be performed and port forwarding is required
Solution Approach 1:
The patent introduces a relay server as an intermediary component that mediates between the web browser and security device. The relay server receives HTTP requests from the browser, converts them to UDP packets, and forwards them to the security device. This intermediary approach enables P2P-like direct communication benefits while eliminating the need for complex port forwarding configuration on client devices.
Solution Approach 2:
The patent changes the communication protocol parameter from TCP-based HTTP to UDP-based communication through the relay server. By transforming the data transmission mechanism from reliable connection-oriented TCP to faster connectionless UDP, the system achieves both P2P communication capability and improved performance while maintaining web browser compatibility.
2Reliability
If traditional web browser connection methods are used, then connectivity is established, but vulnerability to malicious codes and OS incompatibility occurs
Solution Approach 1:
The patent creates a virtual copy of the web server environment within the relay server. Instead of running untrusted code directly on the user's operating system, the system copies necessary web communication functions to the relay server environment, which then handles all interactions with security devices. This isolation approach enhances security while maintaining broad OS compatibility through the relay layer.
3Productivity
If port forwarding is configured for security device access, then direct connection is possible, but system complexity and installation difficulty increase
Solution Approach 1:
The relay server performs self-service by automatically managing all connection establishment processes. When a user wants to access a security device, they simply input the device address in the browser, and the relay server automatically handles UDP packet routing, connection establishment, and data transmission without requiring any port forwarding configuration or complex installation steps on the client side.
Data Source
AI summary
A system and method for connecting to a security device by means of a Peer-to-Peer (P2P) relay demon. In the present disclosure, a P2P technology is applied to a technology for connecting to a security device, such as a Network Video Recorder (NVR), Digital Video Recorder (DVR), or Internet Protocol (IP) camera, to thereby communicate with the security device in a safe and convenient way.


