Peer-to-Peer Chat via Distributed Hash Table Routing
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Peer-to-peer networks lack the capability for users to engage in collaborative chat interactions due to the requirement of an intermediary server for typical chat applications.
Innovation Solution
A system and method that enable peers to connect and communicate directly by using a communication server to share connection information, allowing peers to join advertisement rooms and chat rooms without an intermediary server, utilizing distributed hash table IDs to determine closest peers and establish connections for message exchange.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of operation
If an intermediary server is used for chat applications, then chat functionality can be implemented, but the peer-to-peer network loses direct communication capability
Solution Approach 1:
The patent extracts and removes the intermediary server from the chat system, allowing peers to communicate directly through peer-to-peer connections. The communication server's role is minimized to only providing initial connection information, while actual chat communication occurs without server intervention.
Solution Approach 2:
The patent introduces a minimal intermediary mechanism in the form of a communication server that only facilitates initial connection establishment by providing connection information. Once connected, peers communicate directly without requiring continuous server mediation, thus reducing server dependency while maintaining ease of operation.
2Device complexity
If peers connect directly without intermediary server, then server dependency is reduced, but connection establishment becomes more complex
Solution Approach 1:
The communication server performs preliminary action by pre-providing connection information to peers before they need to establish direct connections. This advance preparation simplifies the connection establishment process, as peers only need to retrieve and use the pre-provided connection information rather than performing complex discovery procedures.
3Ease of operation
If chat rooms require intermediary server, then message routing is simplified, but peer-to-peer communication capability is lost
Solution Approach 1:
The patent removes the intermediary server from the message routing process, enabling peers to route messages directly to each other using their connection information. This extraction of the server from the communication flow maintains peer-to-peer communication capability while simplifying the overall system architecture.
Data Source
AI summary
A peer in a peer-to-peer network joins an advertisement room having an associated identifier. A joining peer identifies a peer closest to the advertisement room. In various embodiments, the peer that is closest to the advertising room is the peer having a discreet hash table ID closest to the advertisement room identifier. The joining peer requests from the closest peer information about peers that the closest peer knows to be part of the advertisement room. The closest peer provides the joining peer with connection information for those peers, and the joining peer establishes connections with the peers. Peers in the advertisement room provide advertisements for chat rooms. To join a chat room, a peer determines which of its peers in the advertisement room is the closest peer to the chat room, based on the chat room identifier, and informs that peer that it is now part of the chat room.


