# US 2019/0379732 A1 · Network communication method, peers, and network communication system

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2019/0379732 A1
- Document ID: US20190379732A1
- Status: Published application
- Kind: A1
- Application number: 16/027,722
- Filed: 2018-07-05
- Published: 2019-12-12
- Earliest claimed: 2018-06-07
- Inventors: Chi Guan; Khanh dinh Lai
- Web page: https://patentgrep.com/patent/US20190379732A1

## CPC

- H04L 67/1061: using node-based peer discovery mechanisms (static access to replicated servers H04L67/1006; service discovery H04L67/51)
- H04L 67/10: in which an application is distributed across nodes in the network (software deployment G06F8/60; multiprogramming arrangements G06F9/46)
- H04L 67/104: Peer-to-peer [P2P] networks
- H04L 67/1046: {Joining mechanisms}
- H04L 67/1068: {Discovery involving direct consultation or announcement among potential requesting and potential source peers}
- H04L 67/1095: Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

The present solution provides a network communication method, peers and a network communication system, the method includes establishing communication with a communication room peer, and obtaining a capacity of the communication room peer, and an IP address and a port of communication room; establishing communication with a pilot peer, obtaining an IP address and a port of the pilot peer, sending a capacity of the communication room and a total number of user peers to the pilot peer, so that the pilot peer creates a required number of communication room peers based on the capacity of the communication room and the total number of user peers; and establishing communication with the user peers, sending the IP address and the port of the communication room peer to the user peers, so that the user peers join in the corresponding communication room peer to perform communication.

## Claims

### Claim 1

A network communication method, wherein the network communication method is applied to a peer-to-peer network communication system, the peer-to-peer network communication system comprises one or more discovery peers, one or more pilot peers, one or more communication room peers and at least two user peers;
wherein, the discovery peer is configured to discover IP addresses and ports of other peers, the pilot peer is configured to create a communication room peer and to share data in the communication room peer; the communication room peer is configured to temporarily store and transmit communication data; the user peers are configured to join in a communication room to join in communication;
the network communication method comprises:
establishing communication with the communication room peer, and obtaining a capacity of the communication room peer, and an IP address and a port of the communication room;
establishing communication with the pilot peer, obtaining an IP address and a port of the pilot peer, sending the capacity of the communication room and the total number of the user peers to the pilot peer, so that the pilot peer creates a required number of communication room peers based on the capacity of the communication room and the total number of the user peers; and
establishing communication with the user peers, sending the IP address and the port of the communication room peer to the user peers, so that the user peers join in the corresponding communication room peer to perform communication.

### Claim 2 (depends on 1)

The network communication method according to claim 1, wherein said establishing communication with the communication room peer, and obtaining the capacity of the communication room peer, and the IP address and the port of communication room comprises:
sending categories of the user peers which have joined in the communication room peer to other communication room peers according to the IP address and the port of the communication room peer.

### Claim 3 (depends on 2)

The network communication method according to claim 2, wherein said establishing communication with the pilot peer, obtaining the IP address and the port of the pilot peer, sending the capacity of the communication room and the total number of the user peers to the pilot peer, so that the pilot peer creates a required number of the communication room peers based on the capacity of the communication room and the total number of the user peers comprises:
receiving a number of communication room peers created and sent by the pilot peer.

### Claim 4 (depends on 3)

The network communication method according to claim 3, wherein said establishing communication with the user peers, sending the IP address and the port of the communication room peer to the user peers, so that the user peers join in the corresponding communication room peer to perform communication comprises:
establishing a new discovery peer if the number of connected user peers exceeds the capacity of the current discovery peer, wherein the new discovery peer establishes communication with the user peers.

### Claim 5

A network communication method, wherein the network communication method is applied to a peer-to-peer network communication system and comprises:
establishing communication with one or more discovery peer;
receiving a capacity of a communication room peer and a total number of user peers sent by a discovery peer; and
establishing a required number of communication room peers according to the capacity and the total number of user peers which have joined in communication to enable the communication room peer to establish communication with the discovery peer, and send an IP address and a port of the communication room peer to the user peers, such that the user peers join in corresponding communication room and join in communication along with the communication room peer.

### Claim 6 (depends on 5)

The network communication method according to claim 5, wherein said establishing a required number of communication room peers according to the capacity and the total number of user peers which have joined in communication to enable the communication room peers to establish communication with the discovery peer, and send an IP address and a port of the communication room peer to the user peers, such that the user peers join in corresponding communication room and join in communication along with the communication room peer comprises:
sending the number of created communication room peers to the discovery peer, so that the user peers which establish communication with the discovery peer join in the corresponding communication room peer.

### Claim 7 (depends on 5)

The network communication method according to claim 5, wherein said establishing a required number of communication room peers according to the capacity and the total number of user peers which join in communication to enable the communication room peer to establish communication with the discovery peer, and send the IP address and the port of the communication room peer to the user peers, such that the user peers join in corresponding communication room and join in communication along with the communication room peer further comprises:
joining the pilot peer in a created communication room peer at the same time when the pilot peer establishes the communication room peer; and
receiving messages sent by the user peers which have joined in the communication room peer, and forwarding the messages to other communication room peers.

### Claim 8 (depends on 7)

The network communication method according to claim 7, further comprising:
synchronizing all pilot peers together and synchronizing all communication room peers together, so that one user peer resides in one communication room peer can communicate with another user peer resides in a different communication room peer.

### Claim 9 (depends on 5)

The network communication method according to claim 5, further comprising:
creating a new pilot peer if a message amount of communication room processed by the current pilot peer exceeds the capacity of the pilot peer, so that the new pilot peer creates more communication room peers and processes messages of the communication room peers.

### Claim 10

A network communication method, wherein the network communication method is applied to a peer-to-peer network communication system and comprises:
establishing communication with a discovery peer, and sending a capacity of a communication room peer to the discovery peer to enable the discovery peer to send the capacity of communication room and a total number of user peers to a pilot peer, so that the pilot peer creates a required number of communication room peers according to the capacity and the total number of the user peers;
sending an address of the communication room peer that corresponds to the user peers to the discovery peer to enable the discovery peer to send the address of the communication room peer to the user peers, so that the user peers join in the corresponding communication room peer; and
receiving messages sent by the user peers which have joined in the communication room peer, and forwarding the messages to other user peers and pilot peers which have joined in the communication room peer.

### Claim 11 (depends on 10)

The network communication method according to claim 10, wherein the step of sending communication room information that corresponds to the user peers to the discovery peer to enable the discovery peer to send the address of the communication room peer to the user peers, so that the user peers join in the corresponding communication room peer comprises:
sending a category of each of user peers which have joined in the communication room peer to the discovery peer, so that the discovery peer send the category of each of the user peers which have joined in the communication room peer to other communication room peers.

### Claim 12 (depends on 10)

The network communication method according to claim 10, wherein the step of receiving messages sent by the user peers which have joined in the communication room peer, and forwarding the messages to other user peers and pilot peers which have joined in the communication room peer comprises:
receiving, via the current communication room peer, messages of other communication room peers sent by the pilot peer and sending the messages to the user peers which have joined the current communication room peer.
