P2P Relay Daemon for NVR Connection via HTTP-UDP Conversion

Resolve Bottlenecks,
Find Innovative Solutions
Generate 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

VSEngineering 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

Engineering Contradiction:
ImproveP2P communication capabilityVSAvoidport forwarding configuration
Core Design Contradiction:
Ease of operationVSDevice complexity

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.

Inventive Principle:
Principle #24Intermediary (Mediator)

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.

Inventive Principle:
Principle #35Parameter changes

2Reliability

If traditional web browser connection methods are used, then connectivity is established, but vulnerability to malicious codes and OS incompatibility occurs

Engineering Contradiction:
Improvesecurity against malicious codesVSAvoidoperating system compatibility
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

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.

Inventive Principle:
Principle #26Copying

3Productivity

If port forwarding is configured for security device access, then direct connection is possible, but system complexity and installation difficulty increase

Engineering Contradiction:
Improveconnection establishment speedVSAvoidinstallation complexity
Core Design Contradiction:
ProductivityVSEase of manufacture

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.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS9794241B2System and method for connecting to security device by means of peer-to-peer (P2P) relay demon
Publication Date: 2017.10.17 ITXSECURITY CO LTD
  • US9794241B2 patent drawing
  • US9794241B2 patent drawing
  • US9794241B2 patent drawing

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.