CN103179191B - P2P network control device and P2P network managing and control system - Google Patents
P2P network control device and P2P network managing and control system Download PDFInfo
- Publication number
- CN103179191B CN103179191B CN201310049444.XA CN201310049444A CN103179191B CN 103179191 B CN103179191 B CN 103179191B CN 201310049444 A CN201310049444 A CN 201310049444A CN 103179191 B CN103179191 B CN 103179191B
- Authority
- CN
- China
- Prior art keywords
- resource
- node
- request
- service
- user node
- 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.)
- Expired - Fee Related
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention provides a kind of P2P network control device and P2P network managing and control system, the service request of the registration request that adds P2P service coverage net, resource issue, resource query and resource request that described device sends user node in IMS network is carried out authentication, if authentication success sends described service request to the P2P service coverage net corresponding with the type of service of request; User node is added and exits the upper strata nerve of a covering of P2P service coverage net and management and control is carried out in the behavior of content resource nerve of a covering; The network optimization information providing according to network optimization service unit returns to the resource node list row optimization of the user node of request resource to P2P nerve of a covering, and the resource node list after optimizing is returned to described user node, thereby ISP can effectively be supervised P2P service coverage net, user node and service traffics by the P2P network control device of disposing, and then P2P service coverage net can be runed in order.
Description
Technical field
The present invention relates to computer networking technology, relate in particular to a kind of P2P network control device and P2P netNetwork managing and control system.
Background technology
Equity (peer-to-peer is called for short P2P) network is a kind of for the i.e. individual's meter of different user nodeWithout the direct swap data of trunking or service between calculation machine (personalcompute, be called for short PC)Technology, in P2P network, all user nodes are all in reciprocity status, and the each user in network savesPoint can serve as client, can provide resource and service to other user node as server again. CurrentIn internet, there is the service of a large amount of P2P of use technology, as bit stream (BitTorrent), electric mule(eMule), QQ, Skype, Internet video client (PPLive) etc., the core of above P2P serviceTarget centroid is the effect of better bringing into play user node, efficiently utilize user node CPU ability, shareResources etc., improve traditional client and the server clothes of (Client/Server is called for short C/S) greatlyBusiness pattern, connects thereby make all user nodes all can set up P2P, and can connect according to P2P realThe resource-sharing of existing user node, more participates in network activity user node, thereby improvesThe resource sharing capability of user node.
Due in existing P2P network, each P2P content supplier/service provider (ContentProvider/ServiceProvider, is called for short CP/SP) oneself a P2P service coverage net all can be provided,This causes the quantity of P2P service coverage net many, and each P2P service coverage net is distributed organization, because ofThis, ISP's (InternetServiceProvider is called for short ISP) will provide a large amount of for this reasonNetwork support, thereby make user node can arbitrarily access the P2P business that P2PCP/SP provides,But, because P2P service coverage net does not mate with the network topology of ISP bearer network, cause current ISP againLack P2P service coverage net is carried out to the effectively mechanism of supervision, thereby make the operation of P2P service coverage netConfusion, in " state of anarchy ".
Summary of the invention
The object of the present invention is to provide a kind of P2P network control device and P2P network managing and control system, fromAnd realize ISP, P2P service coverage net is carried out to effective management and control.
First aspect of the present invention is to provide a kind of P2P network control device, described P2P network management and control dressPut by the ISP of ISP and dispose, comprising:
Receiver module, the registration request sending for receiving IMS network user node, described user nodeRegistration request comprise that the IP address of user node, status information and the user node of user node askThe type of service of the P2P service coverage net of registration;
Distribution module, if for determine according to the status information of described user node described user node meet withCorresponding first pre-conditioned of the type of service of described user node institute request registration, according to user nodeIP address is that described user node distributes the unique ID of the overall situation;
Registering modules, for adding ID, the IP ground of the user node that comprises described request registration at registration tableThe list item of the type of service of location, request registration;
Sending module, for by the registration request of described user node to the type of service of described request registrationSuper node corresponding to the ID with described user node in corresponding P2P service coverage net sends, so that instituteStating super node adds the IP address of the user node of described request registration and the type of service of request registration toIn list item corresponding to the ID of the user node user node list of self-management and described request registration.
Another aspect of the present invention is to provide a kind of P2P network managing and control system, comprises P2P as aboveNetwork control device and resource management apparatus, described resource management apparatus comprises:
Receiver module, issues and disappears for receiving the resource of the user node that described P2P network control device sendsBreath, described resource gives out information and comprises IP, the ID of the user node of asking issue resource, the money that request is issuedThe resource name in source, type of service;
Memory module, for giving out information according to described resource at the resources bank storage resources letter of local managementBreath, described resource information comprises the resource name of the resource of request issue, corresponding type of service;
Sending module, for returning to resource information storage success message to described P2P network control device.
Adopt the beneficial effect of the invention described above technical scheme to be: in embodiments of the present invention, to pass through ISPThe P2P network control device of disposing, what user node in IMS network was sent adds P2P service coverageThe service request of registration request, resource issue, resource query and the resource request of net is carried out authentication, if mirrorWeigh successfully and described service request is sent to the P2P service coverage net corresponding with the type of service of request;User node is added and exits the upper strata nerve of a covering of P2P service coverage net and the row of content resource nerve of a coveringFor carrying out management and control; The network optimization information providing according to network optimization service unit is returned P2P nerve of a coveringOptimize to the resource node list row of the user node of request resource, and by the resource node list after optimizingReturn to described user node, thus make ISP can by dispose P2P network control device to P2PService coverage net, user node and service traffics are effectively supervised, and then make P2P service coverage netCan run in order.
Brief description of the drawings
The structural representation of a kind of P2P network control device that Fig. 1 provides for the embodiment of the present invention one;
The structural representation of a kind of P2P network control device that Fig. 2 provides for the embodiment of the present invention two;
The structural representation of a kind of P2P network managing and control system that Fig. 3 provides for the embodiment of the present invention three;
The structural representation of a kind of P2P network managing and control system that Fig. 4 provides for the embodiment of the present invention four;
A kind of P2P network managing and control system deployment schematic diagram that Fig. 5 provides for the embodiment of the present invention five.
Detailed description of the invention
The structural representation of a kind of P2P network control device that Fig. 1 provides for the embodiment of the present invention one, asShown in Fig. 1, described device can comprise:
Receiver module 101, the registration request sending for receiving IMS network user node;
It should be noted that, the P2P network control device in the present embodiment is disposed by ISP, its toolBody can be peer application server (Peer-to-PeerApplicationServer is called for short P2PAS),And communicate by network and P2P service coverage net and IMS network.
In embodiments of the present invention, when the user node in IMS network wishes to add P2P service coverage netTime, can send registration request, the receiver module of P2P network control device to P2P network control deviceReceive the registration request that user node sends, wherein, the registration request of user node can comprise userThe P2P business of the IP address of node, the status information of user node and user node institute request registration is coveredThe type of service of cover net, wherein, the status information of the user node of request registration can be request registrationThe current status information of user node, as locating of the current bandwidth of the user node of request registration, CPUThe size of reason speed, memory space etc.; The business of the P2P service coverage net of user node institute request registrationType comprises downloading service type, demand (telecommunication) service type, live broadcast service type and session service type.
Distribution module 102, if for determining described user node according to the status information of described user nodeMeet and that the type of service of described user node institute request registration is corresponding is first pre-conditioned, according to useThe IP address of family node is that described user node distributes the unique ID of the overall situation;
In embodiments of the present invention, first pre-conditionedly can be and the business of user node institute request registrationThe required bandwidth of user node corresponding to type, the information such as processing speed, the size of memory space of CPU,Therefore, when P2P network control device receives after the registration request of user node, to the note of user nodeAuthentication is carried out in volume request, for instance, if the processing speed of the current C PU that user node sends be CP,The size of memory space is that SC, bandwidth are BD, be defined as in order consider the factor set CP,SC, BD}, if P2P service coverage net corresponding to the default type of service with request registration is first pre-If the first threshold of condition limits collection for { CPthreshold,SCthreshold,BDthreshold, screening meet default withFirst of user node corresponding to the type of service of request registration is pre-conditionedly:
CP≥CPthresholdAnd SC >=SCthresholdAnd BD >=BDthreshold;
Only have when the size of the processing speed of the current C PU of the user node of request registration, memory space,Bandwidth is all more than or equal to first threshold and limits collection, is that user node distributes the overall situation only by distribution moduleOne ID. In the present embodiment, distribution module is that the unique ID of the overall situation that user node distributes can beDistribution module carries out according to the IP address of user node the cryptographic Hash obtaining after Hash operation, for instance,Hash operation can be specifically that (SecureHashAlgorithm-1 is called for short the SHA first editionSHA-1), the SHA second edition (SecureHashAlgorithm-2, be called for short SHA-2) or,The hash algorithms such as Message Digest Algorithm 5 (MessageDigestAlgorithm-5 is called for short MD5).
Registering modules 103, in registration table, add the user node that comprises request registration ID, IP address,The list item of the type of service of request registration;
In embodiments of the present invention, when the user node that distribution module is request registration distributes after ID, registrationModule can be registered to user node the P2P corresponding with the type of service of user node institute request registrationID, the IP of user node that the user node that service coverage net is request registration by distribution module distributesThe list item of the type of service of address, institute's request registration adds registration table to; Otherwise do not add. Need explanation, the registration table described in the present embodiment can be the registration table of user node, is storing user nodeRelevant information, as the corresponding relation of the type of service of the ID of user node, IP address and institute's request registrationList item.
Sending module 104, if for determining described user node according to the status information of described user nodeMeet and that the type of service of described user node institute request registration is corresponding is first pre-conditioned, by described useThe registration request of family node is in the P2P service coverage net corresponding with the type of service of described request registrationThe super node corresponding with the ID of user node sends, so that the super node in P2P service coverage net willThe IP address of the user node of request registration and the type of service of request registration are added the user of self-management toIn node listing in the list item corresponding with the ID of the user node of request registration, thereby make request registrationUser node is successfully registered in the P2P service coverage net corresponding with the type of service of request registration.
In embodiments of the present invention, the P2P network control device of disposing by ISP, in IMS networkThe registration request that adds P2P service coverage net that user node sends carries out authentication, if authentication success willThe registration request that user node sends is sent out to the P2P service coverage net corresponding with the type of service of request registrationSend, the super node in P2P service coverage net is only successfully used P2P network control device authenticationThe IP address of family node and the type of service of request registration add to self-management user node list withIn list item corresponding to the ID of the user node of described request registration, thereby make the ISP can be by disposingP2P network control device is effectively supervised P2P service coverage net, and then P2P business is coveredCover net can be runed in order.
The structural representation of a kind of P2P network control device that Fig. 2 provides for the embodiment of the present invention two, thisEmbodiment is on the basis of the network of P2P shown in Fig. 1 control device structure, further, P2P network pipeControl device can also comprise super node statistical module 201, super node selection module 202 and registrationShow more new module 203, wherein:
Super node statistical module 201, for adding up the quantity of P2P service coverage net super node;
Super node is selected module 202, if for the quantity of described P2P service coverage net super nodeIf do not reach predetermined threshold value and determine that according to the status information of described user node described user node meetsBecome the second pre-conditioned of super node in described P2P service coverage net, can determine user nodeFor the candidate's super node in the nerve of a covering of upper strata;
Sending module 103 can also be used for, and the super node in registered P2P service coverage net is sent outSend the message that allows to add upper strata nerve of a covering;
Registration table is new module 203 more: for the IP address at registration table and described candidate's super node,In list item corresponding to the type of service of ID, request registration, add and be used for representing that described candidate's super node is for superThe mark of level node.
Owing to constantly joining in P2P service coverage net along with user node, if current P2P business is coveredIn cover net, exist a large amount of super nodes to exit or the quantity of user node and the quantity of super node betweenWhen ratio is excessive, be difficult to maintain the normal operation of P2P service coverage net, therefore, in the invention processIn example, P2P network control device can regularly be added up P2P service coverage by super node statistical moduleThe quantity of super node in net, if the quantity of current super node does not reach pre-in P2P service coverage netIf the threshold value of super node number or P2P service coverage net in the quantity of active user's node and superThe ratio of the quantity of node is greater than default ratio, can select module according to user by super nodeThe size of the current bandwidth of node, the processing speed of CPU, memory space, online hours, contribution degree etc.Status information is selected a part of status information to reach to become P2P business to cover in registered user nodeIn cover net, second of super node the pre-conditioned user node is as candidate's super node, in the present embodiment,The online hours of user node, contribution degree information can be that P2P network control device is according to the user of recordThe resource of time, issue and the resource of request etc. of rolling off the production line on node Information Statistics draw. SecondThe pre-conditioned Second Threshold restriction collection corresponding with type of service and the scoring threshold value of comprising. For instance, ifThe processing speed of the current C PU of the registered user node obtaining is that the size of CP, memory space isSC, bandwidth are that BD, contribution degree are that CB, online hours are AG, be defined as in order consider because ofSubclass CP, SC, BD, CB, AG}, if the default type of service with request registration corresponding theTwo pre-conditioned Second Thresholds limit collection for CP 'threshold,SC’threshold,BD’threshold,CB’threshold,AG’threshold, the corresponding weight sets of considering the factor is defined as { ωCP,ωSC,ωBD,ωCB,ωAG},0<ω< 1, and be Score with the second pre-conditioned corresponding scoring threshold value, screening meets default noting with requestThe method of the second pre-conditioned super node corresponding to the type of service of volume is that super node is as userThe processing speed of the current C PU of node, the size of memory space, bandwidth, contribution degree, online hours are allBe more than or equal to Second Threshold and limit collection, i.e. CP CP 'threshold、SC>SC’threshold、BD>BD’threshold、CB>CB’threshold、AG>AG’threshold, and (CP × ωCP+SC×ωSC+BD×ωBD+CB×ωCB+AG×ωAG) > Score, if reach, represent that the candidate that this user node can be used as in the nerve of a covering of upper strata surpassesLevel node, is then sent and allows to the super node in registered P2P service coverage net by sending moduleAdd the message of upper strata nerve of a covering, thereby make the super node in registered P2P service coverage net canThink candidate's super node distributing user node, configuration routing table and upgrade local routing table and upper strata is coveredThe routing table of other super node in cover net, so that candidate's super node becomes super in the nerve of a covering of upper strataNode; In embodiments of the present invention, allow to add in the message of upper strata nerve of a covering and can comprise that candidate is superIP address, ID and the corresponding type of service of node. When adding upper strata nerve of a covering, candidate's super node becomesAfter super node, P2P network control device can also by registration table more new module in registration table with timeSelect in list item corresponding to the type of service of IP address, ID, request registration of super node and add for representingCandidate's super node is the mark of super node.
Due to content resource nerve of a covering and the use business of each super node institute management and control in P2P service coverage netDifference, can have influence on to a certain extent the state of super node itself, therefore, further,On the basis of above-described embodiment, P2P network control device can also pass through receiver module 101, periodicallyReceive ID separately, IP address, status information and institute that in P2P service coverage net, super node sendsThe type of service that belongs to P2P service coverage net, wherein, status information can be super node current C PUThe size of processing speed, memory space, bandwidth, contribution degree, online hours etc.; If there is super jointThe status information of point do not reach with this super node under the type of service of P2P service coverage net corresponding theTwo is pre-conditioned, and super node selects module can also be used for according to the status information of this super node trueFixed this super node do not meet become under super node in P2P service coverage net second of super node pre-If condition, determines that this super node is super node to be exited; And super to waiting to exit by sending moduleOther super node in level node and P2P service coverage net sends respectively and exits exiting of upper strata nerve of a coveringMessage, wherein, exits the IP ground that can comprise super node to be exited in the exit message of upper strata nerve of a coveringLocation, ID, wait to exit super joint thereby other super node in P2P service coverage net can be taken overThe user node list that point is managed, and upgrade local routing table, so that super node to be exited is exited to P2PService coverage net and become common user node. When super node to be exited exits P2P service coverage netAfter, registration table more new module can also be used for, in registration table with the IP address of super node to be exited,In list item corresponding to the type of service of ID, request registration, delete be used for representing described in super node to be exited beThe mark of super node, and super node to be exited is present in registration table as domestic consumer's node.
In embodiments of the present invention, form upper strata nerve of a covering by qualified super node after screening, andSuper node in the nerve of a covering of upper strata is organized according to structured way, by structural P 2 P algorithm asChord, Pastry, CAN etc. carry out Dynamic Maintenance; Periodically by P2P network control device simultaneouslyStatus information to the super node in the nerve of a covering of upper strata is monitored, and does not meet thereby can filter outThe super node that in layer nerve of a covering, super node requires, and exited upper strata nerve of a covering, therefore, makeP2P service coverage net can effectively move.
Further, P2P network control device can also comprise the first authentication module 204, in the present inventionIn embodiment, when the user node in registered P2P service coverage net is wished the service coverage at P2PWhile issuing resource in net, can send resource to P2P network control device and give out information, P2P networkControl device receives by receiver module the resource issue that in P2P service coverage net, user node sends and disappearsBreath, wherein, resource gives out information and can comprise IP, ID, the request of asking the user node of issuing resourceThe resource name of the resource of issuing, corresponding type of service, Resource Properties information etc., wherein, resource belongs toProperty information can be the size of resource, burst situation or the coded system of resource etc. of resource. P2P netThe user node that network control device is issued resource by the first authentication module to request carries out authentication, if thisGround do not exist in blacklist resource give out information in request issue the IP of user node of resource or ID withAnd list item corresponding to type of service, authentication success; If exist resource to give out information in Local Black listIn issue with request the list item that the IP of user node of resource or ID and type of service are corresponding, authentication is lostLose, if failed authentication, the user node that does not allow request to issue resource is issued this resource; If mirrorWeigh successfully, by sending module, successful authentication resource given out information and is transmitted to resource management apparatus,So that resource management apparatus storage resource request is issued resource information or the statistics hot resource of resource, wherein, moneySource information can comprise the resource name of the resource of request issue, corresponding type of service and Resource PropertiesInformation etc. And by sending module by successful authentication resource give out information to request issue resource industryThe super joint corresponding to resource name of the resource of issuing with request in P2P service coverage net corresponding to business typePoint sends, and in the present embodiment, the super node in P2P service coverage net is based on structural P 2 P routeAlgorithm stores has the resource information corresponding with resource name, for instance, and the resource corresponding with resource nameInformation can be that resource name is carried out to the resource ID after Hash operation, thereby makes P2P service coverage netIn the super node money of issuing with request that request is issued to the user node of resource adds self-management toIn content resource nerve of a covering corresponding to the resource name in source and type of service, so that the use of resource is issued in requestFamily node becomes the resource node in corresponding contents resource nerve of a covering.
In embodiments of the present invention, when resource is issued in request by super node in P2P service coverage netUser node adds to self-management corresponding with resource name and the type of service of resource request issueAfter in content resource nerve of a covering, can also return to resource to P2P network control device and issue successfully and disappearBreath, P2P network control device receives by receiver module the resource that this super node returns and issues successfullyMessage, and return to resource by sending module to the user node of request issue resource and issue success message,Wherein, resource is issued IP, ID, the request that success message can comprise the user node of request issue resourceThe type of service of the resource name of the resource of issuing and correspondence etc.
Further, in embodiments of the present invention, as the user in registered P2P service coverage netWhen node wishes to search resource in P2P service coverage net, can send to P2P network control deviceResource query request, P2P network control device is received in P2P service coverage net and is used by receiver moduleResource query request that family node sends, wherein, resource query request can comprise requesting query resourceThe keyword of the resource name of IP, the ID of user node, the resource of requesting query, corresponding type of service;P2P network control device also reflects to the user node of requesting query resource by the first authentication modulePower, if in Local Black list, do not exist in resource query request with the user node of requesting query resourceThe list item that IP or ID and type of service are corresponding, authentication success; If there is resource in Local Black listThe list item corresponding with the IP of the user node of requesting query resource or ID and type of service in inquiry request,Failed authentication, if failed authentication does not respond to the user node of request resource; If mirrorWeigh successfully, the resource query request by sending module, the user node of requesting query resource being sent turnsIssue resource management apparatus, so that return and ask after the resources bank of resource management apparatus inquiry local managementThe resource name list that the keyword of the resource name of the resource of inquiry, corresponding type of service match.In the present embodiment, P2P network control device receive by receiver module that resource management apparatus returns withThe resource name row that the keyword of the resource name of the resource of requesting query, corresponding type of service matchTable, wherein, resource name list can comprise the resource name of the resource of at least one and requesting queryThe resource name that keyword, corresponding type of service match; P2P network control device is by sendingModule returns to resource name list the user node of requesting query resource.
Further, when the user node in registered P2P service coverage net is wished the business at P2PIn nerve of a covering, when request resource, can send resource request message to P2P network control device, wherein,Resource request message can comprise the resource name of the resource of IP, ID, the request of the user node of request resourceThe type of service of title, correspondence; In the present embodiment, the resource name of the resource of request can be request moneyA resource of selecting the resource name list that the user node in source sends from P2P network control deviceTitle. P2P network control device receives the resource of the user node transmission of request resource by receiver moduleRequest message, and by sending module by resource request message to corresponding with the type of service of resource of requestP2P service coverage net in the super node corresponding with resource name send so that P2P service coverage netIn super node return to the resource node row corresponding with the resource name of the resource of asking and type of serviceTable, in embodiments of the present invention, the receiver module of P2P network control device specifically can also be used for, and connectsReceiving the resource node that the super node corresponding with the type of service of resource of request and resource name return is listed asTable; Sending module specifically can also be used for, and sends resource node list to the user node of request resource,So that user node can according to resource node list Gains resources, become resource node so that described withThe super node that the type of service of the resource of described request and resource name are corresponding saves the user of request resourcePoint adds resource name self-management and resource described request and content money corresponding to type of service toIn the nerve of a covering of source; Sending module specifically can also be used for, in the resource request message that user node is sentResource name, the corresponding type of service of the resource of request send to resource management apparatus, so that described moneyHot resource in the resources bank of source control device statistics local management. It should be noted that hot resourceCan be resource management apparatus according to the resource in the resources bank of local management, within a period of time, add upThe number of times of user node request and issue resource comes forward resource in sequence from high to low. At thisIn inventive embodiments, resource node list can comprise the resource name, the business that have with the resource of askingThe IP address of the resource node of resource corresponding to type, and each resource node belongs to the resource of askingThe content resource nerve of a covering of the super node management that type of service and resource name are corresponding.
Further, P2P network control device can also comprise resource node selection module 205, canBe used for according to the IP of the IP address of the user node of request resource and the each resource node of resource node listIn the difference Gains resources node listing of address, the resource preferred value of the relative user node of each resource node, determinesIn resource node list, resource preferred value meets pre-conditioned resource node; Sending module specifically canBe used for, return to the resource node list after optimization to the user node of request resource, wherein, after optimizationResource node list comprises that the definite resource preferred value of resource node selection module meets pre-conditioned resourceNode.
In embodiments of the present invention, super node according to resource to the content resource in P2P service coverage netNerve of a covering manages, and the resource node of the resource that the type of service of holding is identical with resource name is commonForm a content resource nerve of a covering, and by a super node in the nerve of a covering of upper strata, it has been managedReason, the metadata information of record management content resource nerve of a covering, for example, can cover by content resourceNet (ContentResourceOverlay is called for short CRO) list item managing content resource nerve of a covering, record managementThe metadata information of resource, concrete, the metadata information of resource can comprise the resource that this resource is correspondingTitle, type of service and form IP address and the money of each resource node of this content resource nerve of a coveringSource attribute etc. It should be noted that, the user node in the present embodiment refers to the node that sends service request,User node need first be registered to P2P service coverage net, then can pass through the request of P2P network control deviceResource in P2P service coverage net; When a user node gets after resource, be added into and obtainThe content resource nerve of a covering that the resource name of the resource of getting and type of service are corresponding, and become resource node,And a resource node also can be used as common user node by P2P network control device request P2POther resources in service coverage net.
Concrete, when the user node in registered P2P service coverage net wishes to exit P2P businessWhen nerve of a covering, can send the request of exiting P2P service coverage net, P2P to P2P network control deviceNetwork control device can receive the request of exiting P2P service coverage net by receiver module, wherein,The request of exiting P2P service coverage net can comprise the user node that request exits ID, IP address,User node is asked the type of service of the P2P service coverage net exiting etc.; Then upgrade by registration tableModule asks that the ID of the user node exiting with request in registration table, IP address, user node move backType of service in list item corresponding to the type of service of the P2P service coverage net going out is set to sky, to represent thisUser node is registered but leaves at present the user node of P2P service coverage net. And pass through sending moduleThe user node exiting to request returns to the success message that exits P2P service coverage net.
In the above-described embodiments, if the user node that request is exited is at least one content resource nerve of a coveringIn resource node, P2P network control device can also by sending module by resource node sendThe request of exiting P2P service coverage net to the super joint of above-mentioned at least one the content resource nerve of a covering of managementPoint sends, thereby makes this super node to upgrade self-management according to the request of exiting of resource nodeThe metadata information of content resource nerve of a covering, for example, by the IP address of this resource node from self-managementIn the metadata information of content resource nerve of a covering, delete.
If the user node that request is exited is the super node at least one P2P service coverage net,The request of exiting P2P service coverage net can also comprise the user node row of this super node self-managementThe metadata information of table, routing table and content resource nerve of a covering, therefore, P2P network control device canBy sending module by the request of exiting P2P service coverage net at least one P2P service coverage netOther super node sends, so that other super node in P2P service coverage net exits request is superThe level user node list of node administration and the metadata information of content resource network add self-management toIn the metadata information of user node list and content resource network, and upgrade local routing table, therebyAfter super node in the nerve of a covering of upper strata is left, P2P service coverage net can maintain normal operation.And registration table more new module specifically can also be used for, the IP of the super node exiting with request in registration tableIn list item corresponding to type of service that address, ID, request are exited, delete for representing that request is exited superNode is the mark of super node, and the type of service in corresponding list item in registration table is set to sky.
Further, P2P network control device can also comprise the second authentication module 206, if notedVolume P2P service coverage net in user node wish with P2P service coverage net in other user nodeWhile carrying out session, can also send session request to P2P network control device, wherein, session requestIn can comprise ID, the IP address of user node, the object user node of the user node of queued sessionID; P2P network control device can receive this session request by receiver module, and by theTwo authentication module are carried out authentication to the session request of user node, if do not exist in Local Black list and askAsk IP or ID and the list item corresponding to type of service of the user node of session, authentication success, otherwiseFailed authentication, if failed authentication does not respond to the user node initiating a session request; IfAuthentication success, by sending module by successful authentication session request in P2P service coverage net with orderSuper node corresponding to the ID of user node send so that corresponding with the ID of object user node superThe IP ground that level node is corresponding with the ID of object user node according to the user node list query of self-managementLocation, and return to IP corresponding to the ID with object user node inquiring to P2P network control deviceAddress; P2P network control device can also receive and the ID of object user node by receiver moduleIP address corresponding to the ID with object user node that corresponding super node returns, then by sendingModule sends the IP address corresponding with the ID of object user node to the user node initiating a session request,So that the user node initiating a session request can be according to the IP address corresponding with the ID of object user nodeSet up the session connection with object user node.
Because P2P service coverage net is different from the type of message protocol using in IMS network, as IMSWhat in network, user node sent is that (SessionInitiationProtocol is called for short conversation initialized protocolSIP) message, and in P2P service coverage net user node send be HTTPThe message of (hypertexttransportprotocol is called for short HTTP), and in P2P service coverage netSuper node be according to resource location with find agreement (REsourceLOcationAndDiscovery,RELOAD) message is carried out route, and therefore, the present invention is in order to realize ISP to P2P service coverage netCarry out effective management and control, in the P2P network control device providing at the above-mentioned arbitrary embodiment of the present invention, also canTo comprise: the first protocol conversion module 207 and second protocol modular converter 208, wherein, the first agreementThe message conversion that modular converter is used for the Session Initiation Protocol that IMS network user node is sent is RELOADThe message of agreement, particularly, for the registration of the Session Initiation Protocol of IMS network user node transmission is askedAsk the registration request that is converted to RELOAD agreement; Sending module specifically can be for, if according to userThe status information of node determines that user node meets and the type of service pair of described user node institute request registrationThat answers is first pre-conditioned, by the registration request of described RELOAD agreement to described request registrationSuper node corresponding to the ID with described user node in P2P service coverage net corresponding to type of service sent outSend. The http protocol of second protocol modular converter for P2P service coverage net user node is sentMessage conversion be the message of RELOAD agreement, particularly, for by P2P service coverage net userThe resource of the http protocol that node sends gives out information or resource request message is converted to RELOAD agreementResource give out information or resource request message; Sending module specifically can be for, and authentication is successfulThe resource of RELOAD agreement give out information or resource request message to the money of resource of issuing with described requestSuper node in P2P service coverage net corresponding to source name and type of service sends, thereby saves for userPoint is provided to the access of different P2P service coverage nets.
The structural representation of a kind of P2P network managing and control system that Fig. 3 provides for the embodiment of the present invention three, asShown in Fig. 3, described P2P network managing and control system can comprise in the embodiment that above-mentioned Fig. 1, Fig. 2 are correspondingThe P2P network control device 100 and the resource management apparatus 200 that provide, wherein, the management and control of P2P networkDevice 100 detailed description can be referring to the related content in embodiment corresponding to Fig. 1, Fig. 2, hereinRepeat no more; And resource management apparatus 200 specifically can comprise:
Receiver module 301: for receive P2P network control device send user node resource issueMessage, wherein, resource gives out information and can comprise IP, the ID, corresponding of the user node of issuing resourceThe resource name of the resource that type of service, request are issued;
Memory module 302, for giving out information according to resource at the resources bank storage resources of local managementInformation, wherein, resource information comprises the resource name of the resource of request issue, corresponding type of service;
Sending module 303, for returning to resource information storage success message to P2P network control device.
Further, resource management apparatus 200 can also comprise enquiry module 304, and receiver module alsoCan be for, receive the resource query request of the user node that P2P network control device sends, wherein,Resource query request comprises the money of the resource of IP, ID, the requesting query of the user node of requesting query resourceThe keyword of source name, corresponding type of service; Enquiry module for, inquiry this locality and requesting queryThe keyword, the resource name that corresponding type of service matches of resource name of resource; Sending moduleCan also be used for, return to the resource name list inquiring to P2P network control device, wherein, resourceName list can comprise at least one and the keyword of the resource name of the resource of requesting query, correspondingThe resource name that type of service matches, so that P2P network control device returns to resource name listThe user node of requesting query resource.
Further, resource management apparatus 200 can also comprise statistical module 305, and receiver module alsoCan be for, receive the resource request message of the user node that described P2P network control device sends, instituteState resource request message and comprise the resource name of resource of request and corresponding type of service; Statistical moduleFor, the resource of user node sending according to P2P network control device gives out information and resource requestMessage, the hot resource in the resources bank of statistics local management, for instance, when receiver module receivesWhen the resource of the user node that P2P network control device sends gives out information, can issue and disappear according to resourceThe resource name of the resource that in breath, user node request is issued and corresponding type of service statistics local managementThe issue number of times of corresponding resource in resources bank, when receiver module receive P2P network control device sendWhen the resource request message of user node, according to the resource of user node request in resource request messageThe request number of times of corresponding resource in the resources bank of resource name and corresponding type of service statistics local management,And by the issue number of times of resource corresponding with resource name and type of service in the resources bank of local management and pleaseAsk number of times to merge statistics, the resource in the resources bank after statistics is classified also according to type of serviceSequence, determines that all resource names under same type of service come default by number of times sequence from high to lowResource name before figure place is hot resource; Or, also can not consider type of service, only add up resourceThe issue number of times of the resource that in storehouse, same resource name is corresponding and the cumulative number of request number of times, and determine moneyThe resource name that in storehouse, source, all resource names come before default figure place by number of times sequence is from high to low heatDoor resource; Sending module can also be used for, and returns to the hot resource of statistics to P2P network control device,So that hot resource is returned to the user node in P2P service coverage net by P2P network control device.
The structural representation of a kind of P2P network managing and control system that Fig. 4 provides for the embodiment of the present invention four, thisEmbodiment is on the basis of the network of P2P shown in Fig. 3 managing and control system, and further, the management and control of P2P network isSystem can also comprise network state information sniffer 300 and network optimization service unit 400:
Wherein, network state information sniffer 300, for according to default network area partition strategyObtain ISP network state information, wherein, network state information comprises with any network area in networkCorresponding PID is source PID, taking other network areas in network respectively corresponding PID as object PID,From described source PID to the link information between described object PID, specifically, link information can beTime delay between link, hop count, path available bandwidth, autonomous system (AutonomousSystem,Be called for short AS) pass through the information such as number, IP address field. For instance, in embodiments of the present invention, defaultNetwork area partition strategy can be that the ISP region of network being carried out according to administrative region is divided, as existingHave in network using the network in an administrative province as an AS territory, by one's duty each an administrative provinceThe network in administrative area is divided into respectively the network area identifier of provider's definition(Provider-DefinedNetworkLocationIdentifier is called for short PID) territory, i.e. AS territoryInside comprise multiple PID territory,
And each PID territory can corresponding at least one IP address field, i.e. the collection of IP address, Ke YitongCross IP address and subnet mask and represent, concrete corresponding relation is as shown in table 1 below:
In the present embodiment, network optimization service unit 400 can also comprise that division table in network area is definiteModule 401 and link cost computing module 402, wherein, table determination module 401 is divided in network area canFor gather the corresponding relation between AS, PID and IP address field according to ISP network state informationAnd generating network region division table, division table in network area can comprise AS, PID and IP groundCorresponding relation between the section of location, as shown in Table 1. 402 of link cost computing modules can be for rootDivide table and link information according to default algorithm, network area, calculate source PID between object PIDLink cost value, and being stored in link cost table, wherein, link cost table can comprise source PID,Object PID and the link cost value from source PID to object PID; For instance, if network state letterThe source PID that breath sniffer obtains is delay to the time delay of link between object PIDi,j, hop count ishopsi,j, path available bandwidth is available_bandwidthi,jAnd AS to pass through number be as_pathi,j,Can calculate respectively each source PID to the link cost value between object PID by following formula:
Wherein, i is the label that source PID is corresponding, and j is the label that object PID is corresponding, and α is that path can be usedThe adjustment factor of bandwidth, 0≤α≤1; β is the adjustment factor in path delay, β >=1; γ is that AS passes throughAdjust the factor, γ > 1; And add in link cost table, wherein, link cost table is as shown in table 2 below:
The resource node in P2P network control device selects module specifically can also be used for, according to networkEach money in the IP address of the user node of the definite request resource of region division table and resource node listThe IP address of source node corresponding PID respectively, by link cost table with each resource in resource node listThe PID that node is corresponding is source PID to the link cost value taking PID corresponding to user node as object PIDAs the resource preferred value of the relatively described user node of each resource node, return to resource node to user nodeIn list, resource preferred value reaches predetermined threshold value or resource preferred value comes default in sequence from high to lowResource node before figure place.
Preferably, in embodiments of the present invention, resource node selects module to draw according to network areaSubmeter, by the each resource node in resource node list according to from different strokes of the band of position of user nodeBe divided into three regions and select respectively, as being positioned at same PID and user node with user nodeBe positioned at the different PID of same AS and be positioned at the different PID of different AS from user node; And according toThe pre-conditioned of each region selects qualified resource node to return to user node from this region,For example, select with user node be positioned at same PID and meet the first subconditional resource node, with useFamily node is positioned at the different PID of same AS and meets the second subconditional resource node and user nodeBe positioned at the different PID of different AS and meet the 3rd subconditional resource node and return to user node. NeedBe noted that in the present embodiment, described the first sub-condition can be that resource preferred value is from high to lowIn sequence, coming the resource node before default figure place in this region, for example, can be a%, the second sub-barPart can be that resource preferred value comes the resource before default figure place in this region in sequence from high to lowNode, for example, can be b%, and the 3rd sub-condition can be that resource preferred value is in sequence from high to lowComing the resource node before default figure place in this region, for example, can be c%. AndA%+b%+c%=100%. Wherein, the first sub-condition, the second sub-condition and the 3rd subconditional concreteValue is relevant with flow localized degree, can arrange flexibly according to the demand of concrete enforcement, thisEmbodiment does not limit it. For example, if ISP wishes to realize the flow localized effect of PID level,Can suitably improve the value of the first sub-condition a; If ISP wishes to realize the flow localized effect of AS levelReally, can suitably improve so the value of the first sub-condition a and the second sub-condition b.
In the embodiment of the present invention, P2PAS can determine resource node from multizone respectively, thereby to resourceNode listing is optimized, and to avoid the generation of the excessive localized phenomenon of flow, and provides more for userGood business experience.
Further, in P2P network managing and control system, can also comprise at least one super node, wherein,At least one super node is deployed in described P2P service coverage net in advance by ISP.
A kind of P2P network managing and control system deployment schematic diagram that Fig. 5 provides for the embodiment of the present invention five, as figureShown in 5, top is that the super node of being disposed by source server, caching server, user terminal and ISP is total toWith the P2P service coverage net of composition, be IMS network below, mid portion is the P2P that ISP disposesAS, resource management apparatus and flow optimization relevant apparatus, P2PAS as core apparatus by network withP2P service coverage net and IMS network and other devices communicate, thereby can realize ISP coupleP2P service coverage net is effectively supervised.
In the present embodiment, the receiver module 101 shown in Fig. 1, Fig. 2, distribution module 102, registrationModule 103, sending module 104, super node statistical module 201, super node select module 202,Registration table more new module 203, the first authentication module 204, resource node is selected module 205, the second authenticationModule 206, the first protocol conversion module 207 and second protocol modular converter 208 can be deployed inIn P2PAS shown in Fig. 5, the P2P network control device that embodiment of the present invention provides is equivalent to Fig. 5Shown P2PAS; Receiver module 301 shown in Fig. 3, memory module 302, sending module 303,305 of enquiry module 304 and statistical modules can be deployed in the resource management apparatus shown in Fig. 5;Table determination module 401 is divided in network area shown in Fig. 4 and 402 of link cost computing modules can portionBe deployed in the network optimization service unit shown in Fig. 5 the network state information sniffer shown in Fig. 4With the network state information sniffer shown in Fig. 5 can be identical, each part mentioned above realize principle and skillIt is similar that art effect is also described in the embodiment corresponding with Fig. 1 to Fig. 4, repeats no more herein. NeedIllustrate that the optimisation strategy management devices shown in Fig. 5 can be adjusted chain according to the optimisation strategy of ISPThe link cost algorithm of road cost computing module and resource node selection module are carried out node selecting methodParameter arranges; Super node in the service coverage of P2P shown in Fig. 5 net can be to be deployed in advance by ISPIn described P2P service coverage net, the P2PClient in the service coverage of P2P shown in Fig. 5 net refers toThe user node of registration, P2PPeer is the super node filtering out from registered user node.
Finally it should be noted that: above each embodiment is only in order to technical scheme of the present invention to be described, but not rightIts restriction; Although the present invention is had been described in detail with reference to aforementioned each embodiment, this area commonTechnical staff is to be understood that: its technical scheme that still can record aforementioned each embodiment is modified,Or some or all of technical characterictic is wherein equal to replacement; And these amendments or replacement, andDo not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.
Claims (15)
1. a P2P network control device, is characterized in that, described P2P network control device is by interconnectedNet service provider ISP disposes, and comprising:
Receiver module, the registration request sending for receiving IP Multimedia System IMS network user node,The registration request of described user node comprises the IP address of user node, status information and the use of user nodeThe type of service of the P2P service coverage net of family node institute request registration;
Distribution module, if for determine according to the status information of described user node described user node meet withCorresponding first pre-conditioned of the type of service of described user node institute request registration, according to user nodeIP address is that described user node distributes the unique ID of the overall situation;
Registering modules, for adding ID, the IP ground of the user node that comprises described request registration at registration tableThe list item of the type of service of location, request registration;
Sending module, for by the registration request of described user node to the type of service of described request registrationSuper node corresponding to the ID with described user node in corresponding P2P service coverage net sends, so that instituteStating super node adds the IP address of the user node of described request registration and the type of service of request registration toIn list item corresponding to the ID of the user node user node list of self-management and described request registration.
2. device according to claim 1, is characterized in that, also comprises:
Super node statistical module, for adding up the quantity of P2P service coverage net super node;
Super node is selected module, if do not reach for the quantity of described P2P service coverage net super nodeIf predetermined threshold value and the status information according to described user node determine described user node meet become described inIn P2P service coverage net, second of super node is pre-conditioned, determines that described user node is that upper strata coversCandidate's super node in net;
Described sending module also for, send and allow to the super node in registered P2P service coverage netAdd the message of upper strata nerve of a covering, describedly allow to add the message of upper strata nerve of a covering to comprise that described candidate is superIP address, ID and the corresponding type of service of node, so that in described registered P2P service coverage netSuper node be described candidate's super node distributing user node, configuration routing table upgrade local routingThe routing table of other super node in table and upper strata nerve of a covering;
Described device also comprises:
Registration table is new module more, for the IP address at registration table and described candidate's super node, ID, pleaseAsk in list item corresponding to the type of service registered and add for representing what described candidate's super node was super nodeMark.
3. device according to claim 2, is characterized in that,
Described receiver module also for, periodically receive each that in P2P service coverage net, each super node sendsFrom the type of service of ID, IP address, status information and affiliated P2P service coverage net;
Described super node select module also for, if according to a super node in described each super nodeStatus information determine that a described super node does not meet and become P2P service coverage under described super nodeIn net, second of super node is pre-conditioned, determines that a described super node is super node to be exited;
Described sending module also for, to other in super node described to be exited and P2P service coverage netSuper node sends respectively the exit message that exits upper strata nerve of a covering, described in described exit message comprises, waits to move backGo out IP address, the ID of super node, so that other super node in described P2P service coverage net is taken over instituteState the user node of super node management to be exited, and upgrade local routing table;
Described registration table more new module also for, in registration table with described in super node to be exited IP address,In list item corresponding to the type of service of ID, request registration, delete be used for representing described in super node to be exited for superThe mark of level node.
4. device according to claim 1, is characterized in that,
Described receiver module also for, receive the resource that user node in described P2P service coverage net sends and send outCloth message, and resource name and the content money corresponding to type of service of the resource issued of reception and described requestThe resource that super node in the nerve of a covering of source returns is issued success message, and described resource gives out information or described moneySource is issued success message and is comprised that request issues the money of the resource that IP, ID, the request of the user node of resource issueSource name and corresponding type of service;
Described device also comprises: the first authentication module, if do not exist and ask issue for Local Black listThe list item that the IP of the user node of resource or ID and type of service are corresponding, authentication success, otherwise authenticationFailure;
Described sending module also for, successful described authentication resource is given out information and is transmitted to resource management dressPut, so that described resource management apparatus storage resources information or statistics hot resource information, described resource informationComprise the resource name of the resource of request issue, corresponding type of service; Successful described authentication resource is sent outCloth message is sent out with request in P2P service coverage net corresponding to the type of service of the resource of issuing with described requestThe super node that the resource name of the resource of cloth is corresponding sends, so that super in described P2P service coverage netThe user node that resource is issued in request by node adds money self-management and resource described request issue toIn content resource nerve of a covering corresponding to source name and type of service; And the user who issues resource to described requestNode returns to resource and issues success message.
5. device according to claim 4, is characterized in that,
Described receiver module also for, receive the resource that user node in described P2P service coverage net sends and look intoAsk request, described resource query request comprises IP, ID, the requesting query of the user node of requesting query resourceThe keyword, corresponding type of service of resource name of resource;
Described the first authentication module also for, if in Local Black list, do not exist in described resource query request withThe list item that the IP of the user node of requesting query resource or ID and type of service are corresponding, authentication success,Otherwise failed authentication;
Described sending module also for, successful described authentication resource query request is transmitted to described resource pipeReason device, so that return with described request and inquire about after the resources bank of described resource management apparatus inquiry local managementThe keyword, the resource name list that corresponding type of service matches of resource name of resource;
Described receiver module also for, receive that described resource management apparatus returns and money described request inquiryThe resource name list that the keyword of the resource name in source, corresponding type of service match, described resource nameClaim list to comprise at least one and the keyword of the resource name of the resource of described request inquiry, corresponding businessThe resource name of type matching;
Described sending module also for, described resource name list is returned to the user joint of requesting query resourcePoint.
6. device according to claim 5, is characterized in that,
Described receiver module also for, receive the resource request message of described user node, described resource requestMessage comprises the resource name of the resource of IP, ID, the request of the user node of request resource, corresponding industryBusiness type; And receive type of service and the super joint corresponding to resource name of the resource of described and described requestThe resource node list that point returns;
Described sending module also for, by described resource request message to the resource name of the resource of described requestClaim and P2P service coverage net corresponding to type of service in super node transmission so that described P2P business is coveredSuper node in cover net returns to the resource joint corresponding with the resource name of the resource of described request and type of servicePoint list, described resource node list comprises the IP address of each resource node, described each resource node belongs toThe content resource of the super node management that the type of service of the resource of described and described request and resource name are correspondingNerve of a covering; And send described resource node list to the user node of described request resource, so that described useFamily node according to described resource node list Gains resources, become resource node so that described and described requestThe type of service of resource and super node corresponding to resource name by the user node of request resource add to fromIn content resource nerve of a covering corresponding to the resource name of resource barrel reason and described request and type of service;And by the resource name of the resource of described user node request, corresponding type of service to resource management apparatusSend, so that the hot resource in the resources bank of described resource management apparatus statistics local management.
7. device according to claim 6, is characterized in that, also comprises:
Resource node select module, for according to the IP address of the user node of described request resource and described inIn resource node list, in the IP address of each resource node difference Gains resources node listing, each resource node is relativeThe resource preferred value of described user node, determines that in described resource node list, resource preferred value meets default barThe resource node of part;
Described sending module specifically for, return to resource after optimization joint to the user node of described request resourcePoint list, the resource node list after described optimization comprises that the definite resource of described resource node selection module is excellentFirst value meets pre-conditioned resource node.
8. device according to claim 2, is characterized in that,
Described receiver module also for, receive the P2P that exits that user node in described P2P service coverage net sendsThe request of service coverage net, described in exit P2P service coverage net request comprise the user that described request exitsThe ID of node, IP address, user node are asked the type of service of the P2P service coverage net exiting;
Described registration table more new module also for, by the ID of the user node exiting with described request in registration table,IP address, user node are asked the industry in list item corresponding to the type of service of the P2P service coverage net exitingBusiness type is set to sky;
Described sending module also for, the user node exiting to described request returns and exits P2P service coverageThe success message of net; Or,
If the user node that described request exits is the resource node at least one content resource nerve of a covering,Also for the request of exiting P2P service coverage net that described resource node is sent to management described at least oneThe super node of content resource nerve of a covering sends, so that described super node upgrades the content resource of self-managementThe metadata information of nerve of a covering; Or,
If the user node that described request exits is the super node of at least one P2P service coverage net, willThe described request of exiting P2P service coverage net is super to other in described at least one P2P service coverage netNode sends, so that other super node in described at least one P2P service coverage net is asked describedAsk the user node list of the super node management of exiting and the metadata information of content resource nerve of a covering to add toIn the user node list of self-management and the metadata information of content resource nerve of a covering and upgrade local routingTable, described in exit P2P service coverage net request also comprise super node self-management user node list,The metadata information of routing table and content resource nerve of a covering; Described registration table more new module also for, registrationTable corresponding to type of service that the IP address of the super node exiting with described request in table, ID, request are exitedIn, delete the mark for representing that user node that described request exits is super node, and by described correspondenceList item in type of service be set to sky.
9. device according to claim 1, is characterized in that,
Described receiver module also for, receive the meeting that in P2P service coverage net, registered user node sendsWords requests, described session request comprise ID, the user node of the user node of queued session IP address,The ID of object user node;
Described device also comprises: the second authentication module, if do not exist and described request for Local Black listThe list item that the IP of the user node of session or ID and type of service are corresponding, authentication success, otherwise authenticationFailure;
Described sending module also for, by successful described authentication session request in P2P service coverage net withThe super node that the ID of described object user node is corresponding sends so that with the ID of described object user nodeCorresponding super node is looked into according to the ID of described object user node in the user node list of self-managementAsk the IP address of described object user node;
Described receiver module also for, receive the super node corresponding with the ID of described object user node returnWith the IP address of described object user node;
Described sending module also for, send described object user node to the user node of described request sessionIP address so that the user node of described request session is built according to the IP address of described object user nodeStand the session connection with described object user node.
10. according to the device described in claim 4 or 6, it is characterized in that the use in described IMS networkThe registration request that family node sends is deferred to the registration request of Session initiation protocol SIP; Described P2P business is coveredThe resource that in cover net, user node sends gives out information or resource request message is deferred to HTTPHTTP; Described device also comprises:
The first protocol conversion module, turns for the SIP registration request that the user node of IMS network is sentBe changed to resource location and the registration request of finding agreement RELOAD;
Second protocol modular converter, for the HTTP resource that P2P service coverage net user node is sentGive out information or resource request message is converted to RELOAD resource and gives out information or resource request message;
Described sending module specifically for, if determine described user joint according to the status information of described user nodePoint meets corresponding with the type of service of described user node institute request registration first pre-conditioned, described in generalRELOAD registration request in the P2P service coverage net corresponding with the type of service of described request registration withThe super node corresponding to ID of described user node sends; Or,
Successful described authentication RELOAD resource is given out information or resource request message to described issueOr super node in the resource name of resource of request and P2P service coverage net corresponding to type of service is sent outSend.
11. 1 kinds of P2P network managing and control systems, is characterized in that, comprise as claim 1~10 any oneDescribed P2P network control device and resource management apparatus, described resource management apparatus comprises:
Receiver module, issues and disappears for receiving the resource of the user node that described P2P network control device sendsBreath, described resource gives out information and comprises IP, the ID of the user node of asking issue resource, the money that request is issuedThe resource name in source, type of service;
Memory module, for giving out information according to described resource at the resources bank storage resources letter of local managementBreath, described resource information comprises the resource name of the resource of request issue, corresponding type of service;
Sending module, for returning to resource information storage success message to described P2P network control device.
12. P2P network managing and control systems according to claim 11, is characterized in that described resource pipeReason device also comprises enquiry module,
Described receiver module also for, receive the resource of the user node that described P2P network control device sendsInquiry request, described resource query request comprises that IP, ID, the request of the user node of requesting query resource look intoThe keyword of the resource name of the resource of asking, corresponding type of service;
Described enquiry module is used for, the resource of the resource of inquiry and requesting query in the resources bank of local managementThe resource name that the keyword of title, corresponding type of service match;
Described sending module also for, return to the resource name row that inquire to described P2P network control deviceTable, described resource name list comprises the key of resource name of the resource that at least one and described request inquire aboutThe resource name that word, corresponding type of service match, so that described P2P network control device is by described moneySource name list returns to the user node of requesting query resource.
13. P2P network managing and control systems according to claim 12, is characterized in that described resource pipeReason device also comprises statistical module,
Described receiver module also for, receive the resource of the user node that described P2P network control device sendsRequest message, described resource request message comprises the resource name of resource of request and corresponding type of service;
Described statistical module is used for, and the resource of the user node sending according to described P2P network control device is sent outCloth message and resource request message, the hot resource in the resources bank of statistics local management;
Described sending module also for, return to the hot resource of statistics to described P2P network control device, withMake described P2P network control device that described hot resource is returned to the user's joint in P2P service coverage netPoint.
14. according to the P2P network managing and control system described in claim 11~13 any one, it is characterized in that,Also comprise network state information sniffer and network optimization service unit:
Described network state information sniffer, for obtaining ISP according to default network area partition strategyNetwork state information, described network state information comprises with provider corresponding to any network area in networkThe network area identifier PID of definition is source PID, distinguishes corresponding PID with other network areas in networkFor object PID, from described source PID to the link information between described object PID;
Described network optimization service unit also comprises that network area division table determination module and link cost calculate mouldPiece:
Table determination module is divided in described network area, for gathering autonomy according to described ISP network state informationTable, described net are divided in corresponding relation between system AS, PID and IP address field generating network regionDivision table in network region comprises the corresponding relation between described AS, PID and IP address field;
Described link cost computing module, for dividing table and institute according to default algorithm, described network areaState link information, calculate described source PID to the link cost value between described object PID, and be stored in chainIn the cost table of road, described link cost table comprises source PID, object PID and from source PID to object PIDLink cost value;
Resource node in described P2P network control device select module specifically for, according to described network areaIn the IP address of the user node of the definite described request resource of territory division table and described resource node list, respectively provideThe IP address of source node corresponding PID respectively, by described link cost table with each money in resource node listThe PID that source node is corresponding is source PID to the link generation taking PID corresponding to described user node as object PIDBe worth the resource preferred value as the relatively described user node of each resource node in resource node list, determine instituteState in resource node list resource preferred value and reach predetermined threshold value or resource preferred value in sequence from high to lowCome default figure place resource node before.
15. P2P network managing and control systems according to claim 14, is characterized in that, also comprise at leastA super node, described at least one super node is deployed in described P2P service coverage net in advance by ISPIn.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310049444.XA CN103179191B (en) | 2013-02-07 | 2013-02-07 | P2P network control device and P2P network managing and control system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310049444.XA CN103179191B (en) | 2013-02-07 | 2013-02-07 | P2P network control device and P2P network managing and control system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103179191A CN103179191A (en) | 2013-06-26 |
CN103179191B true CN103179191B (en) | 2016-05-25 |
Family
ID=48638809
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310049444.XA Expired - Fee Related CN103179191B (en) | 2013-02-07 | 2013-02-07 | P2P network control device and P2P network managing and control system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103179191B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105959347B (en) * | 2016-04-20 | 2019-04-12 | 中国工程物理研究院计算机应用研究所 | A kind of digital collaborative simulation system communication means based on P2P network |
CN106255197B (en) * | 2016-08-10 | 2019-12-31 | 北京邮电大学 | User access method of distributed soft switching system |
CN108924206B (en) * | 2018-06-26 | 2021-07-16 | 郑州云海信息技术有限公司 | Cluster event synchronization method, device and equipment of distributed system |
CN109067863B (en) * | 2018-07-25 | 2021-03-05 | 上海点融信息科技有限责任公司 | Method, apparatus and storage medium for managing node identification of blockchain node |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101895576A (en) * | 2010-07-09 | 2010-11-24 | 浙江省公众信息产业有限公司 | P2P distributed streaming media live broadcast method with small-startup time delay |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7792915B2 (en) * | 2003-06-04 | 2010-09-07 | Sony Computer Entertainment Inc. | Content distribution overlay network and methods for operating same in a P2P network |
-
2013
- 2013-02-07 CN CN201310049444.XA patent/CN103179191B/en not_active Expired - Fee Related
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101895576A (en) * | 2010-07-09 | 2010-11-24 | 浙江省公众信息产业有限公司 | P2P distributed streaming media live broadcast method with small-startup time delay |
Non-Patent Citations (2)
Title |
---|
基于IMS的P2P网络电视系统架构的研究;石利军;《信息科技辑》;20120515;全文 * |
基于IP多媒体子系统的P2P_IPTV架构;王珊;《信息科技辑》;20081015;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN103179191A (en) | 2013-06-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Lawey et al. | BitTorrent content distribution in optical networks | |
US9432452B2 (en) | Systems and methods for dynamic networked peer-to-peer content distribution | |
CN101841553A (en) | Method, user node and server for requesting location information of resources on network | |
CN113453038B (en) | Effectiveness optimal collaborative cache management method under CDN-P2P hybrid architecture | |
CN101557423A (en) | System and method for realizing streaming media content service | |
CN101938508A (en) | Method and system for shortening time delay in peer-to-peer network streaming media live broadcast system | |
CN101217565B (en) | A network organization method of classification retrieval in peer-to-peer network video sharing system | |
CN103179191B (en) | P2P network control device and P2P network managing and control system | |
CN103096177A (en) | Video on demand (VOD) method, system, agent node and media server | |
Li et al. | Cooperative caching in a content centric network for video stream delivery | |
Hammami et al. | Hybrid live P2P streaming protocol | |
CN101291321B (en) | Method and system for publishing content, method and system for searching content | |
CN102947821A (en) | Indexing server and method therefor | |
Oechsner et al. | Pushing the performance of biased neighbor selection through biased unchoking | |
Sina et al. | CaR-PLive: Cloud-assisted reinforcement learning based P2P live video streaming: a hybrid approach | |
Rocha et al. | On client interactive behaviour to design peer selection policies for BitTorrent-like protocols | |
CN101369915B (en) | P2P operating network resource management system | |
Alghazawy et al. | A scheme for maximal resource utilization in peer-to-peer live streaming | |
Ayyasamy et al. | A qos-aware intelligent replica management architecture for content distribution in peer-to-peer overlay networks | |
Ma et al. | A cloud‐assisted publish/subscribe service for time‐critical dissemination of bulk content | |
Liang et al. | Enabling broadcast of user-generated live video without servers | |
CN110139126A (en) | Mobile video system resource share method based on user mutual behavior perception | |
Lareida et al. | RB-tracker: A fully distributed, replicating, network-, and topology-aware P2P CDN | |
Huang et al. | A distributed trust model based on reputation management of peers for P2P VoD services | |
Barwar et al. | Network performance analysis of startup buffering for live streaming in p2p vod systems for mesh-based topology |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20160525 Termination date: 20170207 |