Seed enquiring method of P2P system and P2P server

A technology of a P2P server and a query method, which is applied in the field of network communication to achieve the effect of good resource interaction and enhanced effect.

Inactive Publication Date: 2008-01-02
TENCENT TECH (SHENZHEN) CO LTD
View PDF0 Cites 40 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] The present invention provides a seed query method and a P2P server in a P2P system, which are used to solve the problem that in the prior art, when a P2P server performs a seed query, it only selects from the corresponding resource-providing clients the same region as the client that initiates the query request. client problem

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Seed enquiring method of P2P system and P2P server
  • Seed enquiring method of P2P system and P2P server
  • Seed enquiring method of P2P system and P2P server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0041] Please refer to Fig. 3, which is a flow chart of the first preferred embodiment of the seed query method in the P2P system of the present invention, and its main implementation process is:

[0042] Step S20, the client logs in to the P2P server, and the P2P server records the address information logged in by the client and the characteristic information of the resources it can provide, and determines and records the operator and region information it belongs to according to the address information logged in by the client;

[0043] The address information of the login client recorded by the P2P server is the client's external network IP address and port number, as well as the internal network IP address and port number.

[0044] Step S21 , a client currently logged into the P2P server sends a seed query request to the P2P server, and the request carries characteristic information of the resource requested by the client.

[0045]Step S22: After receiving the query request...

Embodiment 2

[0052] Please refer to Fig. 4, this figure is the flowchart of the second preferred embodiment of the seed query method in the P2P system of the present invention, and its main implementation process is:

[0053] Step S30, the client obtains the NAT type of the network where it is located through the STUN test;

[0054] The client obtains the NAT type of the network where it is located by using the common STUN test method in the prior art, which will not be repeated here. The obtained test results have five possibilities, the first is public network; the second is fully transparent NAT; the third is IP restricted NAT; the fourth is IP and port restricted NAT; the fifth is symmetric NAT .

[0055] Step S31, the client logs in to the P2P server, and informs the P2P server of the NAT type of the network where it is located when logging in, and the P2P server records the NAT type of the network where the client is logged in, the login address information and the characteristic in...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a seed inquire method and a relative P2P server in P2P system, for resolving the problem of prior art which P2P server can only select, inquire and request the client with same domain of initial client from the resource provider when in seed inquire. The method comprises that client initializes seed inquire request to a P2P server, while the request carries the character information of the resource requested by the client, the P2P server according to the character information searches the address of the client which can provide relative share resource, in same local network of the initialize client, to be feedback to the initialize client, the initialize client according to received address builds connection with relative client, to intercommunicate resource. The P2P server comprise a memory unit, a seed inquire unit, and a seed information provider. The invention can improve resource intercommunication between clients in P2P system.

Description

technical field [0001] The invention relates to the field of network communication, in particular to a seed query method and a P2P server in a P2P system. Background technique [0002] P2P system (Peer-To-Peer) is a distributed system in which participants in the system share some of their resources (content and services), and these shared resources can be directly accessed by other peer nodes (Peer) without going through intermediate entities. Each node in the system is both a resource provider and a resource acquirer, and its status is equal. Each node provides services for other nodes and also enjoys the services provided by other nodes. [0003] Please refer to Figure 1, which is a schematic diagram of the basic architecture of a P2P system in the prior art, mainly including a P2P server and several clients, wherein the role of the P2P server is to be responsible for maintaining the state information of all clients in the system and providing each client with Other cli...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04L12/28H04L12/46
Inventor 宋洋吴波方斌林实立
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products