Method for data communication and system thereof
First Claim
1. A system for data communication, comprising communication peers which establish connections based on network information and implement data communication through the connections, wherein the system comprises at least two super peers, andevery super peer is configured to save route information of connected communication peers or super peers, forward network information of a logged communication peer which is logically closest to the super peer according to saved rout information, forward messages among the super peers and send the network information of a destination communication peer to an origination communication peer,wherein the origination communication peer is configured to send a query for the destination communication peer to a first super peer which is physically closest to the origination communication peer, establish a connection to the destination communication peer based on the network information of the destination communication peer, and transmit data for data communication over the connection,wherein the super peer which is physically closest to the communication peer is called a physical super peer of the communication peer;
- and the super peer which is logically closest to the communication peer is called a logical super peer of the communication peer, andthe physical super peer is configured to search an ID which is closest to the ID in the network information of the logged communication peer from the saved IDs, forward the network information of the logged communication peer to the super peer corresponding to the closest ID, and the logical super peer of the communication peer is configured to receive and save the network information.
2 Assignments
0 Petitions
Accused Products
Abstract
The present invention discloses a system and method for data communication. In the system and method for data communication, a part of communication peers in the communication system are assigned as super peers, and each super peer forwards message according to its route table. When a communication peer logs in the system, network information of the logged communication peer is saved in a super peer which is logically closest to the logged communication peer through messages forwarded among every super peer. And when an origination communication peer searches for a destination communication peer, the network information of the destination communication peer is saved in a super peer which is logically closest to the destination communication peer through the message forwarded among every super peer in super peer layer. The origination communication peer establishes connection with the destination communication peer based on the network information of the destination communication peer, and implements the data communication through the connection established.
27 Citations
17 Claims
-
1. A system for data communication, comprising communication peers which establish connections based on network information and implement data communication through the connections, wherein the system comprises at least two super peers, and
every super peer is configured to save route information of connected communication peers or super peers, forward network information of a logged communication peer which is logically closest to the super peer according to saved rout information, forward messages among the super peers and send the network information of a destination communication peer to an origination communication peer, wherein the origination communication peer is configured to send a query for the destination communication peer to a first super peer which is physically closest to the origination communication peer, establish a connection to the destination communication peer based on the network information of the destination communication peer, and transmit data for data communication over the connection, wherein the super peer which is physically closest to the communication peer is called a physical super peer of the communication peer; - and the super peer which is logically closest to the communication peer is called a logical super peer of the communication peer, and
the physical super peer is configured to search an ID which is closest to the ID in the network information of the logged communication peer from the saved IDs, forward the network information of the logged communication peer to the super peer corresponding to the closest ID, and the logical super peer of the communication peer is configured to receive and save the network information. - View Dependent Claims (2, 3, 4, 5)
- and the super peer which is logically closest to the communication peer is called a logical super peer of the communication peer, and
-
6. A method for data communication, comprising:
-
assigning a part of communication peers as super peers, wherein every super peer saves route information of the connected communication peers or super peers; logging in, by a communication peer, the super peer which is physically closest to the communication peer; forwarding in turn, by every super peer, from the super peer which is physically closest to the communication peer, network information of the logged communication peer according to saved route information, until the network information of the logged communication peer is forwarded to and recorded in the super peer which is logically closest to the logged communication peer; sending, by an origination communication peer, a query for a destination communication peer to a first super peer which is physically closest to the origination communication peer; searching a second super peer which is logically closest to the destination communication peer from the first super peer; sending, by the second super peer, saved network information of the destination communication peer to the origination communication peer; and establishing, by the origination communication peer, a connection to the destination communication peer based on the network information of the destination communication peer, transmitting data for data communication over the connection; and wherein the super peer which is physically closest to the communication peer is called a physical super peer of the communication peer; and
the super peer which is logically closest to the communication peer is called a logical super peer of the communication peer, andthe processes of logging in, by a communication peer, the super peer which is physically closest to the communication peer, and forwarding in turn, by every super peer from the super peer which is physically closest to the communication peer, network information of the logged communication peer according to the saved route information, until the network information of the logged communication peer is forwarded to and recorded in the super peer which is logically closest to the logged communication peer comprises, logging in, by the communication peer, the physical super peer of the communication peer after logging in a communication system, and sending the network information of the communication peer to the physical super peer of the communication peer, searching, by the physical super peer, an ID which is closest to the ID in the network information of the logged communication peer from the saved IDs, forwarding the network information of the logged communication peer to the super peer corresponding to the closest ID, and repeating the forwarding process, by the super peer to which the network information is forwarded, until the network information is forwarded to and saved in the logical super peer of the communication peer. - View Dependent Claims (7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17)
-
Specification