CN1845524A - Peer-to-peer network system realization process using cell dynamic division technology - Google Patents

Peer-to-peer network system realization process using cell dynamic division technology Download PDF

Info

Publication number
CN1845524A
CN1845524A CN 200610081402 CN200610081402A CN1845524A CN 1845524 A CN1845524 A CN 1845524A CN 200610081402 CN200610081402 CN 200610081402 CN 200610081402 A CN200610081402 A CN 200610081402A CN 1845524 A CN1845524 A CN 1845524A
Authority
CN
China
Prior art keywords
node
district
sub
peer
network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN 200610081402
Other languages
Chinese (zh)
Inventor
马明辉
王延炯
张春红
武穆清
廖青
徐春秀
朱新宁
任春阳
魏宇欣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing University of Posts and Telecommunications
Original Assignee
Beijing University of Posts and Telecommunications
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing University of Posts and Telecommunications filed Critical Beijing University of Posts and Telecommunications
Priority to CN 200610081402 priority Critical patent/CN1845524A/en
Publication of CN1845524A publication Critical patent/CN1845524A/en
Pending legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The provided P2P method for information interaction and system share comprises: applying the unique register server in system to manage all node ID for uniqueness as well as some node information; according to performance and system state dividing all nodes into the common ones and superior ones both managed by the super ones; taking dynamic subarea management to all users. This invention improves system performance and expandability.

Description

Adopt the peer-to-peer network system implementation method of cell dynamic division technology
Technical field the present invention relates to Peer-to-Peer (P2P) peer-to-peer network technology, refers to that especially a kind of P2P of utilization network technology carries out information interaction, shared systems approach on Internet.
Background technology is made a general survey of the P2P development of internet technology, because its dependence to server service quality little, that provide for client is better than the client-server pattern to a certain extent, makes it at the recent universal great development that obtained along with broadband access.Search for and safeguard but generally adopt in the existing systems, consumed massive band width and caused resource utilization low, in fact brought great burden, become a barrier that hinders the P2P development to telecom operators based on " inundation method ".
Summary of the invention main purpose of the present invention is to provide a kind of information interaction based on the P2P network technology, shared system method.System carries out dynamic partition management with all users, has simultaneously to elect some nodes the information of sub-district is managed.When the node in the system is initiated another node of search, will search by the node that elects, changed the pattern that floods on a large scale.
Embodiment adopts the peer-to-peer network system implementation method of cell dynamic division technology to have following characteristics:
1. whole system does not need other servers except that a unique registrar of the overall situation, and adopts directed resource locate mode can reduce the propagation of search information in the network greatly.Under the situation of optimum, one query only need be done in the resource location on a node; In the worst case, also only need on three nodes, do one query respectively.
2. each node in the system all has the unique sign of system (ID), the Performance Evaluation value in network.The ID of each node by the user first when the system registry by user record, registrar is guaranteed its uniqueness of the overall situation; According to the performance of node, one co-exists in three types node in the system: ordinary node (Common Node, CN), higher-level node (Higher Node, HN), (Super Node, SN), and performance increases progressively super node successively.Quantitative proportion between each category node is determined by system design parameters, and is supported dynamically to adjust.
3. each node is preserved an adjacent IP-ID routing table according to its type, is unique instrument of other nodes of search.All kinds of node IP-ID routing table structure is all different: CN preserves the IP-ID information of its HN, SN of management, so HN preserves the IP-ID information of CN of its management and the IP-ID information of managing its SN, SN preserves the IP-ID information of all HN of the IP-ID information of all SN in the system and its management.
4. because the sub-district bound of node unique ID and SN, HN is all English alphabet, numeric string, so the reference character dictionary order can be determined the partial ordering relation of any two signs or sub-district bound: only need to press bit comparison from left to right, in the time can distinguishing partial ordering relation, can stop.
5. establishing RH, RL is respectively the upper and lower border of a HN, and ID is the unique identification of CN, and a HN manages N CN at most, and then according to lexicographic order, the CN that this HN managed is such set:
{ID i,ID j|RL<ID i≤RH(i=0,1,2L,N-1),ID j<ID j+1(j=0,1,2L,N-2),ID i≠ID j(i≠j)}。
6. the union of the sub-district of all HN of the some SN management cell range of SN administration therewith equates, and the cell range that each HN administered do not have overlapping, that is:
∪ i HN i . Area = SN . Area , ∀ HN i ∈ SN
And {  i ≠ j|HN iAreaI HN jArea=; HN i, HN j∈ SN}.
7. the CN of a HN management some when the quantity of management CN reaches the threshold value (N) of HN, will carry out the ordinary node cell splitting.The principle of division is that CN that HN managed of script is divided equally, and half CN continues management by original HN; And from second half CN, select the highest node of performance number and upgrade to HN, the CN that management is remaining.In the process of division, need safeguard that also need upgrade the routing table of the SN of management HN to the routing table of new HN.The number of node is time dependent in the network, and CN can withdraw from a large number in the sub-district in a period of time, produces the CN number situation seldom of a HN management.If adjacent two CN number sums that HN managed of a SN subordinate are less than k 1, then these two sub-districts that HN managed will be merged.
8. a plurality of HN of the same management of SN when the quantity of HN reaches the threshold value (N ') of SN, adopt and the similar method of ordinary node cell splitting, and the sub-district is divided equally.New SN node is a node of selecting best performance from the subordinate CN of first HN of this SN management, upgrades to SN.Relevant HN, SN routing table all needs to upgrade.
When node after server registration finishes, server will return in the node system IP-ID routing iinformation of a current online SN, node is kept at it in IP-ID routing table.When a node adds fashionablely, its default type is CN, and this node is the record of inquiry HN and send packet and confirm that it is online in the IP-ID routing table at first:
A. if this HN is online, then CN sends to HN with its ID.HN carries out the comparison of ID and this sub-district bound, if CN belongs to this sub-district, then IP, the id information with CN is kept in the IP-ID routing table, HN judges whether the CN quantity of being managed surpasses threshold value (N) then, if do not surpass, then CN logins successfully, otherwise after HN carried out the ordinary node cell splitting, CN finished login.If CN does not belong to this sub-district, HN searches another one HN in the IP-ID routing table, if existence and CN belong to this HN, then its IP, ID is returned to CN, and CN restarts login process; If do not exist, then the regional extent that ID and SN managed with CN compares, if CN belongs to this SN, the IP, the ID that then return SN give CN, and CN restarts login process again, does not belong to this SN as if CN, and then SN will return the correct SN of CN CN is logined again.
B. if this add ingress do not find or write down in HN not online, will get in touch with SN.SN at first will add the comparison of ID and this sub-district bound of ingress after receiving CN information.If CN belongs to this sub-district, then SN searches the HN of management CN in its IP-ID routing table, if find, then IP, the ID with HN sends to CN, and CN continues HN login from then on; If do not find HN, illustrating does not have HN to exist among the SN, then this CN is upgraded to HN.If CN does not belong to this sub-district, because the information synchronization of other SN maintenances IP, ID in SN and the system, then SN searches the SN of management CN in its IP-ID routing table, and the result is returned to CN, restarts login process.
When CN in HN, SN login when all failing, the SN that exists in will inquiry registrar system, server return to IP, the id information of the current online SN of CN, CN restarts login process.
10. when just setting up in system, without any node, only there is a registrar in the system.When first node adds system, server will be set to SN to this node this moment.
11. after each node login system, regularly send online message to upper layer node, upper layer node confirms that with this this node is in system.Upper layer node will return to lower level node online information equally after receiving the online information of lower level node.Node failure is in two kinds of situation: normally withdraw from and go offline.
A. when CN normally withdraws from, need to notify it to withdraw to its HN of management, HN is the IP-ID item of this node of deletion in the IP-ID routing table then; When CN went offline, HN behind overtime certain hour, judged that this CN logs off owing to do not receive the online information that CN sends on time, and corresponding record deletion in the IP-ID routing table.
B. when HN normally withdraws from, to in the CN of its management, select a highest node of performance number, and it will be made as HN, after the IP-ID of the HN that will withdraw from information reproduction is given new HN, the IP-ID routing table update of SN, CN that new HN is correlated with, this moment, old HN logged off.When HN goes offline, the CN of its management will can not get the online information returned from HN, and this moment, CN was with the duplicate node login process, picked up HN.In this process, because the SN of management HN also will can not receive the online information of HN, SN will at first select less one of management CN number from two HN that HN is adjacent therewith, revise the going up or lower bound of scope of its administration, make the range of management that covers the HN that goes offline.The IP-ID routing table update of corresponding C N, HN, SN also is necessary.
During the c.SN node failure, the HN of its management also can not receive the online feedback information of SN.This moment, a plurality of HN respectively selected the node of a best performance from the own CN that is managed, and through relatively, selected a highest CN of performance number as new SN again, and corresponding IP-ID routing table also will obtain upgrading.

Claims (9)

1, a kind of peer-to-peer network system implementation method that adopts cell dynamic division technology, it is characterized in that: this method is carried out the system node district dynamic according to the unique ID (English alphabet, numeric string) of node in the network and is divided, and node contains relevant for the routing table of other nodes in the network (reflecting the ID of other nodes and the corresponding relation of IP address), and system configuration belongs to half distributed structural model.
2, method according to claim 1 is characterized in that: each node in the system all has the unique sign of system (ID), the Performance Evaluation value in network.
3, method according to claim 1 is characterized in that: the scale of sub-district, promptly the number of node in sub-district is set when system initialization, can adjust according to network condition, and have the bound threshold value.
4, method according to claim 3 is characterized in that: when number of users surpasses upper bound threshold value in the sub-district, carry out the division of sub-district; , carry out the sub-district and merge during at the community user number less than the lower bound threshold value.
5, method according to claim 1 is characterized in that: node type has three kinds in the system: ordinary node (CN), higher-level node (HN), super node (SN).
6, method according to claim 5 is characterized in that: each node types determine with its Performance Evaluation refer to system in the state of sub-district relevant, the ratio of three types of number of nodes is set when system initialization, and dynamically adjusts.
7, method according to claim 5 is characterized in that: the node type in the sub-district is an ordinary node all, and is managed by higher-level node, and the higher-level node of some is managed by super node again.
8, method according to claim 1 is characterized in that: when a node is initiated other nodal informations of inquiry, at first search in the sub-district by the higher-level node of managing this sub-district, if find destination node, then finish to search.
9, method according to claim 1, it is characterized in that: when a node is initiated other nodal informations of inquiry, at first in the sub-district, search, if do not find by the higher-level node of managing this sub-district, then assist to search, finally return the positional information of destination node by super node.
CN 200610081402 2006-05-18 2006-05-18 Peer-to-peer network system realization process using cell dynamic division technology Pending CN1845524A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200610081402 CN1845524A (en) 2006-05-18 2006-05-18 Peer-to-peer network system realization process using cell dynamic division technology

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200610081402 CN1845524A (en) 2006-05-18 2006-05-18 Peer-to-peer network system realization process using cell dynamic division technology

Publications (1)

Publication Number Publication Date
CN1845524A true CN1845524A (en) 2006-10-11

Family

ID=37064439

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200610081402 Pending CN1845524A (en) 2006-05-18 2006-05-18 Peer-to-peer network system realization process using cell dynamic division technology

Country Status (1)

Country Link
CN (1) CN1845524A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008128450A1 (en) * 2007-04-19 2008-10-30 Huawei Technologies Co., Ltd. Method and system for publishing the content, method and system for querying the content
WO2009100671A1 (en) * 2008-02-05 2009-08-20 Huawei Technologies Co., Ltd. A method and apparatus for maintaining route information
CN101309282B (en) * 2008-07-10 2011-09-14 成都市华为赛门铁克科技有限公司 Method, server and system for document transmission in local area network
CN101409665B (en) * 2007-10-08 2011-09-21 华为技术有限公司 Method and apparatus for processing P2P network node route
CN101710866B (en) * 2009-12-01 2011-11-02 北京邮电大学 Method for selecting and setting super node of network
CN104283698A (en) * 2014-10-28 2015-01-14 用友优普信息技术有限公司 Device and method for sending broadcast information

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008128450A1 (en) * 2007-04-19 2008-10-30 Huawei Technologies Co., Ltd. Method and system for publishing the content, method and system for querying the content
CN101409665B (en) * 2007-10-08 2011-09-21 华为技术有限公司 Method and apparatus for processing P2P network node route
WO2009100671A1 (en) * 2008-02-05 2009-08-20 Huawei Technologies Co., Ltd. A method and apparatus for maintaining route information
US8732298B2 (en) 2008-02-05 2014-05-20 Huawei Technologies Co., Ltd. Method and apparatus for maintaining routing information
CN101309282B (en) * 2008-07-10 2011-09-14 成都市华为赛门铁克科技有限公司 Method, server and system for document transmission in local area network
CN101710866B (en) * 2009-12-01 2011-11-02 北京邮电大学 Method for selecting and setting super node of network
US8301736B2 (en) 2009-12-01 2012-10-30 Beijing University Of Posts And Telecommunications Method for selecting and configuring network supernodes
CN104283698A (en) * 2014-10-28 2015-01-14 用友优普信息技术有限公司 Device and method for sending broadcast information

Similar Documents

Publication Publication Date Title
CN108234307B (en) Network method, network device, and non-transitory computer-readable storage medium
CN108234302B (en) Maintaining consistency in a distributed operating system for network devices
US10506033B2 (en) Distributed global load-balancing system for software-defined data centers
CN106936899B (en) Configuration method of distributed statistical analysis system and distributed statistical analysis system
DE102012221041B4 (en) Enable the simultaneous presence of hosts or virtual machines with identical addresses
EP2648114B1 (en) Method, system, token conreoller and memory database for implementing distribute-type main memory database system
US7353295B1 (en) Distributed services architecture through use of a dynamic service point map
CN102148850B (en) Cluster system and service processing method thereof
EP2095248B1 (en) Consistency within a federation infrastructure
US20060190243A1 (en) Method and apparatus for data management
CN101123565B (en) P2P system and resource query method for this system
WO2018188423A1 (en) Dns server and configuration loading method, network system, and domain name resolution method and system
CN1845524A (en) Peer-to-peer network system realization process using cell dynamic division technology
BRPI0713964A2 (en) inter-proximity communication within a meeting federation
CN102968442A (en) Network map tile service aggregation method and system
CN112422309B (en) System and method for distributed service discovery, storage medium and terminal
CN102917084A (en) Automatic allocation method of IP address of node inside fat tree structure networking data center
CN105162835B (en) The service registration framework and method of automation system for the power network dispatching
US7916629B2 (en) Methods and apparatuses for processing and managing subscriber data in telecommunication network
CN101505473B (en) Method and apparatus for telecommunication network user data storage management
CN110569307A (en) MySQL read-write separation method based on ProxySQL and MGR
CN1625109A (en) Method and apparatus for virtualizing network resources
CN111274004B (en) Process instance management method and device and computer storage medium
CN111064643A (en) Node server and data interaction method and related device thereof
CN106202397A (en) A kind of method of data synchronization and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C57 Notification of unclear or unknown address
DD01 Delivery of document by public notice

Addressee: Ma Minghui

Document name: Notice of publication of application for patent for invention

C57 Notification of unclear or unknown address
DD01 Delivery of document by public notice

Addressee: Ma Minghui

Document name: Notification before expiration of term

C57 Notification of unclear or unknown address
DD01 Delivery of document by public notice

Addressee: Ma Minghui

Document name: Notification that Application Deemed to be Withdrawn

C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Open date: 20061011