CN101394313B - Service state monitoring method for peer-to-peer network nodes - Google Patents

Service state monitoring method for peer-to-peer network nodes Download PDF

Info

Publication number
CN101394313B
CN101394313B CN2007101219270A CN200710121927A CN101394313B CN 101394313 B CN101394313 B CN 101394313B CN 2007101219270 A CN2007101219270 A CN 2007101219270A CN 200710121927 A CN200710121927 A CN 200710121927A CN 101394313 B CN101394313 B CN 101394313B
Authority
CN
China
Prior art keywords
peer
node
service
service state
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.)
Active
Application number
CN2007101219270A
Other languages
Chinese (zh)
Other versions
CN101394313A (en
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN2007101219270A priority Critical patent/CN101394313B/en
Priority to PCT/CN2008/071195 priority patent/WO2009036663A1/en
Publication of CN101394313A publication Critical patent/CN101394313A/en
Application granted granted Critical
Publication of CN101394313B publication Critical patent/CN101394313B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to a method for monitoring the service state of a peer-to-peer network node. The method comprises the following steps: a peer node acquires trigger information of starting service state report function, and sets a node which sends the trigger information as an attention node; and the peer node monitors the change of the service state thereof, and sends the service state information which reflects the service state of the peer node to the attention node. The method realizes that each node can be timely informed of the transmitting capacity of other nodes in a peer-to-peer network, so as to timely adjust the route for acquiring peer-to-peer network service, thereby improving reliability and timeliness of service transmission, avoiding the waste of time by blindly waiting for blocked peer nodes, timely finding out and utilizing the peer nodes with excellent transmitting capacity, fully using the internet resource and increasing the network resource utilization rate.

Description

Peer network node service state method for supervising
Technical field
The present invention relates to a kind of peer network node service state method for supervising, relate in particular to a kind ofly in peer-to-peer network, the monitoring peer node provides the ability of peer-to-peer network service, the i.e. method of its service state.
Background technology
Peer-to-peer network is a kind of network that generally uses at present, is interconnected to form by a plurality of independently nodes, and these nodes are called as peer node (Peer).The ability and the mutual cooperation of each peer node contribution oneself provide peer-to-peer network service, current peer-to-peer network service mainly to comprise distributed storage service and distributed transmission service.Peer-to-peer network is not an actual physical network but a logical network; It is carried on other network; On internet (Internet), peer-to-peer network is connected through transport layer by peer node usually, is connected to form topology such as TCP; These transport layers connect the logical links that serves as peer-to-peer network, and peer-to-peer network is a stacking network (overlay networks) in essence.Peer-to-peer network can provide service for different application.Peer-to-peer network provides service by the cooperation of a plurality of peer node, and this makes it avoided the single point failure risk of traditional user terminal/server framework lower network.
A kind of typical peer network architecture example is as shown in Figure 1 in the prior art, only comprises peer node 1~6 in the peer-to-peer network of this example.In this peer-to-peer network, thereby peer node 1~6 connects each other and forms a mesh network.Actual stacking network does not have must connect between per two peer node of mandatory requirement, and promptly actual stacking network can not be a mesh network.
The peer node of forming peer-to-peer network has own independent and unique sign in peer-to-peer network, this sign is called as node identification, and node identification and this node are in the sign of bottom bearer network, and promptly the IP address is irrelevant.Peer node in the peer-to-peer network is free to add and withdraw from peer-to-peer network, and the sign of peer node in peer-to-peer network also has nothing to do with the position that peer-to-peer network enters the Internet.
Use the distributed storage service to be kept at the resource in the peer-to-peer network, in peer-to-peer network, also have oneself independently to identify, this sign is called as resource identification.In peer-to-peer network; Particularly under the structuring topology; Resource identification and node identification are positioned at same numerical space, can directly compare between them, and resource uses the distributed data base algorithm to be kept on its node identification and the immediate peer node of resource identification usually.
Peer-to-peer network can not only provide the distributed transmission service of distributed storage service and data for the application resource on the peer node, can also not have ability participate in to make up peer-to-peer network or the node of being unwilling to participate in to make up peer-to-peer network provides distributed storage and distributed transmission service for those.These nodes of not participating in making up peer-to-peer network are called as client node; Compare with peer node; Client node does not provide the distributed storage function that distributed transmitting function is not provided yet; Client node does not move the distributed data base algorithm, and client node obtains distributed storage service and the distributed transmission service that peer-to-peer network provides through peer node.The difference of essence is that peer node is a routable node on the peer-to-peer network, client node then can not be on peer-to-peer network route, promptly peer-to-peer network is transparent for client node.A client node can be linked into one or more peer node, and a peer node can provide the peer-to-peer network service for one or more client nodes.No matter what peer node a client node is linked into; Usually only there is a peer node peer-to-peer network service to be provided a moment for it; This directly links to each other with client node, and provides the peer node of peer-to-peer network service to be called the servo peer node (HostPeer) of this client node.A client node is linked into a plurality of peer node simultaneously, can guarantee that it obtains the peer-to-peer network reliability of service.In case current for after client node provides the servo peer node of service to lose efficacy, client node can select other peer node as servo peer node, continues the acceptance service.The peer network architecture example that comprises client node is as shown in Figure 2; Comprise peer node 1~6 and client node 10,20,30 in this peer-to-peer network; Wherein client node (Client-1) 10 is linked into two peer node (Peer-2) 2 simultaneously with (Peer-3) on 3, and peer node (Peer-3) 3 can be two client nodes (Client-1) 10 and (Client-2) 20 service is provided simultaneously.
In peer-to-peer network, can trigger Host Peer from the data traffic of client node and on peer-to-peer network, produce data traffic so that service to be provided, as shown in Figure 3.In the process of once service, the data flow of client node 10 is directly to send to Host Peer, i.e. peer node (Peer-2) 2, data flow a as shown in Figure 3, employing be the routing rule of internet, i.e. IP route; Host Peer is that data flow b, the c hop-by-hop on peer-to-peer network that client node 10 provides the peer-to-peer network service and produces transmits, employing be the routing rule of peer-to-peer network, promptly distributed route.Different distributed algorithms; For example " Chord ", " Pastry " etc. use different routing table and routing mechanism; But they have identical characteristics, from distributed routing table, choose exactly with purpose and identify immediate peer node sign, identify immediate peer node only if oneself be with purpose; To have next jumping of the node of this sign as distributed route; The purpose sign can be a resource identification or a node identification, because they are positioned at same numerical space, thereby the behavior on comparison and route is as broad as long.
Consider that peer-to-peer network is positioned at the fact on the internet; And peer-to-peer network self does not have stronger constraint to peer node; Current peer-to-peer network is used and is had some hidden danger, particularly as far as some real-time communications, and for example point-to-point-session initiation protocol (Point to Point-Session InitiationProtocol; Hereinafter to be referred as P2P-SIP), especially true.The inventor finds that in carrying out research process of the present invention the defective that the peer-to-peer network of prior art exists comprises two aspects at least:
First; In peer-to-peer network; Client node obtains the peer-to-peer network service through peer node; But can be simultaneously be a plurality of client node services for client node provides the Host Peer of service, this makes Host Peer very likely when the client node number increases or increases from the service request of client node, occurs congested and no longer responds the follow-up business request from client node; As shown in Figure 4, peer node (Peer-2) 2 can not forward the data flow a that client node (Client-1) 10 sends because of congested again; Another kind of situation; Host Peer can't avoid being connected owing to self or other reason and neighbor node in the peer-to-peer network break off transport layer; Connect like TCP; This moment, Host Peer can also keep the network reachability with client node, but no longer responded the service request from client node this moment, and is as shown in Figure 4.The problem that exists is; No matter which kind of situation takes place and service can't be provided in Host Peer; Its client node of serving is all known nothing this, and these client nodes also can send to Host Peer with service request, after a very long time, can not get response usually and could find that this HostPeer lost efficacy; These service request can't even can not be processed by timely processing, and this can have a strong impact on business, and particularly real-time communication is professional.
Second; In peer-to-peer network; Any one peer node all can appear in the distributed routing table of one or more other peer node; But other peer node is to understand the service state of this peer node from distributed routing table, and those do not have the peer node of this node just more can't understand the service state of this node in the distributed routing table of oneself.In peer-to-peer network; Particularly under the structuring topology; As long as network is stable; Promptly from the source peer node peer node path does not have peer node to add or withdraws from peer-to-peer network to the place, each communication of peer node peer node to the place all must be along same group of peer node of identical traversal path from the source so.The hidden danger that adopts this technical scheme to exist is: if a peer node is arranged because the congested flow of can not managing business again that causes on the path; Or because network is unusual, for example transport layer connects disconnection, and peer-to-peer network breaks away; Other peer node is not clearly informed on the path; Then in a period of time, will know nothing this, as shown in Figure 5, peer node 2 also can be sent data flow b along identical path with service traffics and given peer node 6; These service traffics can't even possibly be dropped by timely processing; While also can aggravate congested for the service traffics of congested these arrivals of node, this is unacceptable for real-time communication like the emergency communication in the P2P-SIP application scenarios.
Summary of the invention
The objective of the invention is provides a kind of peer network node service state method for supervising through some embodiment; Solve in the peer-to-peer network; Each node can't in time be understood other peer node service states; Serve insecure problem thereby cause obtaining peer-to-peer network, realize that each node can in time understand the service state that other peer node in the service transmission path provide the peer-to-peer network service.
For realizing the object of the invention, through some embodiment a kind of peer network node service state method for supervising is provided, comprising following steps:
Peer node is obtained the trigger messages of opening the service state function of reporting, and it is the concern node of self that peer node is provided with the node that sends this trigger messages;
Peer node monitors its service state and changes;
Peer node is to paying close attention to the service status information that node sends its service state of reflection;
It obtains the path of peer-to-peer network service to said concern node according to said service status information adjustment;
Wherein, said service state changes the load that comprises processor and rises or descend, or outlet bandwidth increases or reduce, or with the peer-to-peer network aborted.
Technique scheme has realized that in peer-to-peer network peer node is to paying close attention to node report self service state.Pay close attention to node; Promptly the interested node of peer node service state is sent trigger messages to peer node, to open peer node to the function of paying close attention to node report self service state, the service state of peer node; Reflect the ability that it provides the peer-to-peer network service; When the service state of peer node changes, just send the information that comprises its service state to paying close attention to node, make and pay close attention to the variation that node is known its service state.The variation of peer node service state can have multiple situation; Be mainly reflected in: peer node occurs transmitting congested or smooth and easy because of the variation of available outlet bandwidth; Perhaps peer node because of the variation of processor live load cause busy or idle; Perhaps peer node is broken off with being connected of peer-to-peer network on transport layer and the unusual disconnection that causes, or the peer node transmission bandwidth changes and the transmission that causes is congested or smooth and easy etc.These all are the concrete manifestations that peer node provides the ability of peer-to-peer network service to change, and should in time inform other nodes, so that make proper process.
Can be known that by above technical scheme technical scheme of the present invention has been properly settled in the peer-to-peer network, each node can't in time be understood other node service states, makes the low problem of professional transmission reliability in the peer-to-peer network therefore to have following advantage:
1, each node can in time be understood the service status information of other nodes, provides convenience for the path that the peer-to-peer network service is obtained in follow-up timely adjustment, can improve reliability of service transmission, promptness;
2, because avoided blindly waiting for the time of congested peer node, make the preferable peer node of transmittability then can be made full use of Internet resources, improved network resource utilization by timely discovery.
Description of drawings
Below through specific embodiment and combine accompanying drawing that the present invention is done further detailed description.
Fig. 1 is a typical peer network architecture sketch map in the prior art.
Fig. 2 is for typically comprising the peer network architecture sketch map of client node in the prior art.
Fig. 3 is the normal transmission path sketch map of data flow in the existing peer-to-peer network shown in Figure 2.
Fig. 4 is that client node is initiated traffic transmission failed path sketch map one in the existing peer-to-peer network shown in Figure 2.
Fig. 5 is that client node is initiated traffic transmission failed path sketch map two in the existing peer-to-peer network shown in Figure 2.
Fig. 6 is the flow chart of peer network node service state method for supervising specific embodiment one of the present invention.
Fig. 7 is the flow chart of peer network node service state method for supervising specific embodiment two of the present invention.
Fig. 8 is the signaling diagram of peer network node service state method for supervising specific embodiment two of the present invention.
Fig. 9 is the flow chart of peer network node service state method for supervising specific embodiment three of the present invention.
Figure 10 is the signaling diagram of peer network node service state method for supervising specific embodiment three of the present invention.
Embodiment
The core concept of peer network node service state method for supervising embodiment of the present invention is: in peer-to-peer network; The node that peer node is paid close attention to its service state triggers unlatching service state function of reporting; Carry out the peer node of peer-to-peer network services such as distributed storage service or distributed transmission service; When it provides the service ability of peer-to-peer network service, when promptly its service state changes, to the current service state of the interested concern node report of its service state oneself.
Peer network node service state method for supervising embodiment one
Be illustrated in figure 6 as the flow chart of peer network node service state method for supervising specific embodiment one of the present invention, present embodiment can be adaptable across existing peer-to-peer network, and it comprises the steps:
Steps A 1, peer node receive the trigger messages of opening the service state function of reporting, and it is the concern node of self that this peer node is provided with the node that sends this trigger messages;
Steps A 2, peer node monitor its service state and change;
Steps A 3, peer node are sent the service status information of its service state of reflection to said concern node.
In the steps A 1 in the present embodiment, the service state function of reporting of peer node is by paying close attention to node, promptly the interested node of the service state of peer node being opened through the mode of sending trigger messages.Embodiment by paying close attention to node triggering peer node unlatching service state function of reporting has a variety of; Can be explicit triggering; Also can be the triggering of implicit expression, can also be it for the node in all peer-to-peer networks of peer node default setting and pay close attention to node, then when establishing a connection each other between peer node arbitrarily; Just send trigger messages each other, opened the service state function of reporting each other.
Wherein, Explicit triggering mode can or be accepted the node of peer-to-peer network service arbitrarily for: other peer node, promptly pays close attention to node, sends special-purpose trigger messages to peer node; Be the service status information subscription request message, inform that clearly its service state of node of being paid close attention to is paid close attention to.
Perhaps can also for: pay close attention to node the service status information subscribe request be set in the parameter of other message, inform that its service state of node of being paid close attention to is paid close attention to.
Then above-mentioned steps A1 can be specially:
Steps A 1a, peer node receive the service status information subscription request message, and record sends the sign of the node of service status information subscription request message, with it as paying close attention to node, promptly to the interested node of self service state.
Perhaps steps A 1 can be specially:
Steps A 1b, peer node receive the message that is provided with the service status information subscribe request in the parameter, write down the sign of the node of this message, with it as paying close attention to node, promptly to the interested node of self service state.
Above-mentioned steps A1a or steps A 1b can further include the step of paying close attention to the selected perpetual object of node, promptly before steps A 1a, can also comprise:
Steps A 01a, concern node confirm that peer node is a key node;
Steps A 02a, concern node send the service status information subscription request message to peer node.
Similar, before steps A 1b, can also comprise:
Steps A 01b, concern node confirm that peer node is a key node;
Steps A 02b, concern node are arranged on the service status information subscribe request in the parameter of other message, send to peer node.
The triggering mode of implicit expression can be: other nodes send to the peer-to-peer network service of peer node and obtain request message.In other words, when other these peer node of node request provided the peer-to-peer network service, what promptly be equivalent to implicit expression informed that its service state of this peer node is paid close attention to.A kind of embodiment of implicit expression triggering mode, promptly the another kind of concrete way of realization of steps A 1 is:
Steps A 1c, peer node receive the message that this peer node of client node request provides peer-to-peer network service, write down the sign of this client node this moment, with it as paying close attention to node.
In the steps A 2 in the present embodiment, the embodiment that the peer node service state changes specifically can comprise following several kinds of situation:
First aspect, the load variations of the processor of peer node, promptly its traffic handing capacity changes, can be for rising or descending.For example; Peer node causes being used to provide the processor resource ratio of peer-to-peer network service because of Processing tasks is heavy; Utilance like CPU is lower than preset threshold, so its service state is busy; Be that the processor load rising reaches setting threshold, it is professional to continue to handle new peer-to-peer network services request; Perhaps the traffic handing capacity of peer node rises; For example; The current task for processing that needs of peer node is limited, thus be used to provide the processor resource ratio of peer-to-peer network service to surpass preset threshold, so its service state is idle; Service ability is superfluous, i.e. the load of its processor decline reaches setting threshold.
Second aspect, the outlet bandwidth utilance of peer node changes, and promptly its transfer capability rises or descends, and for example: the outlet bandwidth utilance has been higher than preset threshold, and its transfer capability descends, thereby the service state of this peer node is congested; Perhaps the outlet bandwidth utilance of peer node is lower than preset threshold, and its transfer capability rises, and the service state of peer node is smooth for transmission.
The third aspect, the connectedness of peer node and peer-to-peer network changes, and mainly is presented as and the peer-to-peer network aborted; For example at transport layer, on TCP, peer node was broken off with being connected suddenly of peer-to-peer network; Promptly unreachable on peer-to-peer network; But on IP network, still can reach, the service state of this peer node is for can't provide the peer-to-peer network service, promptly with the peer-to-peer network aborted at this moment.
Above-mentioned for service state changes several kinds of forms of imbody, further, the service state of peer node not only can be divided into rising, decline, unusual disconnection etc., can also be divided into: transmit several grades such as smooth, normal, slow, infeasible.When the service state of peer node is reflected in the service status information, can be to divide qualitatively, can also quantitatively divide, divide like the numerical value of employing outlet bandwidth utilance or the numerical value of cpu busy percentage etc. with grade.
The advantage of present embodiment technical scheme is; When peer node monitors its service state variation; Inform the concern node immediately, then can understand service state timely between peer node, reduced the blindness of professional transmission; Be convenient to suitable adjustment and obtain the path of peer-to-peer network service, thereby improve reliability of service transmission.Pay close attention to node and know the service state of peer node; Not only can recognize peer node excess load or occurred congestedly, avoid continuing to select this node and the transmission of the business that causes is incured loss through delay or failure that the service state that can also in time know certain peer node is for idle; Transfer capability is strong; Thereby select path reliable and that transmission is smooth to come transport service, avoided transmission path single, some peer node becomes the big problem of peer-to-peer network bottleneck possibility; Not only improve reliability of service transmission, also made full use of the resource in the peer-to-peer network.Further, in the technical scheme of present embodiment, the service state function of reporting of peer node triggers by paying close attention to node, and its service status information is only sent to paying close attention to node, and with strong points, the Internet resources that take seldom, and are practical.
Peer network node service state method for supervising embodiment two
Be illustrated in figure 7 as the flow chart of peer network node service state method for supervising specific embodiment two of the present invention; Present embodiment is that client node is linked into a plurality of peer node; Be under the application scenarios of multiple access; The flow process of carrying out between client node and the peer node in the peer-to-peer network comprises the steps:
Step B1, peer node Peer-2 receive client node Client-1 transmission; Ask it that request message of peer-to-peer network service is provided; Be " Join " message that this client node serves as Host Peer; Write down the sign of this client node Client-1, as the concern node of this peer node;
Step B2, peer node Peer-2 send acknowledge message; Promptly " Response " message representes to confirm for client node Client-1; This moment, peer node Peer-2 just impliedly was apprised of the service state of this client node Client-1 concern oneself; This request message, promptly " Join " message is opened the message that the service state function of reporting is opened for triggering peer node;
Step B3, peer node Peer-2 provide the service state of peer-to-peer network service to change;
Step B4, peer node Peer-2 send its current service state information to this client node Client-1, promptly send " Notification " message and give client node Client-1 to announce the service state of oneself;
Step B5, client node Client-1 receive service status information; Whether the service state of judging this peer node according to this service status information reaches requirement; If; Then this client node need not change the path that obtains the peer-to-peer network service, and if not, then this client node need change the path that obtains the peer-to-peer network service; This client node sends the request message that obtains the peer-to-peer network service to other peer node Peer-3; Promptly reselect and bind another peer node Peer-3 according to service status information as Host Peer, then send the information that the peer-to-peer network service is obtained in cancellation to this peer node Peer-2, promptly " Response " message is given this peer node Peer-2;
Step B6, peer node Peer-2 receive " Response " message that client node Client-1 sends.
Said process can be referring to signaling process figure shown in Figure 8.
In present embodiment step B5, the service state of judging peer node whether meet the requirements of step specifically can for: at first judge the connectedness of peer node and peer-to-peer network, judge promptly whether it breaks off unusually and can not continue to provide the peer-to-peer network service; If; Then the service state of this peer node does not reach requirement, if not, then can further judge; Or whether the service ability of directly judging peer node reaches certain threshold value; For example: whether the load of peer node processor is higher than the threshold value of setting, or whether the spendable outlet bandwidth of peer node be lower than the threshold value of setting, if; Then be provided with and judge that whether service state meets the requirements of judged result is that the service state of this peer node does not reach requirement.
In the technical scheme of present embodiment; Client node Client-1 can in time be known the service state of its HostPeer; Be not limited to the state information that service quality descends or breaks off; Can also be the service state good information, client node can be by the clear and definite service state of informing, so that take suitable processing mode so.In the present embodiment, further it obtains the path of peer-to-peer network service to client node according to the adjustment of the service state of peer node, promptly selects the most reliably Host Peer to keep business and do not interrupt or to guarantee service quality; In case descend for it provides the node capacity of peer-to-peer network service; Can in time adjust, bind other peer node again, transmit the time-delay accumulation with the service traffics of avoiding peer node to cause unusually; Even transmit the problem of interrupting, to guarantee reliability of service transmission.
After client node transmission trigger messages has been opened by the service status information reporting functions of concern node; After confirming that this peer node can not provide required service; Just break off connected binding relationship; When then this peer node detects client node and its disconnection annexation, send service status information to this client node when just stopping at its service state variation, can discharge peer node like this is the resource that reports service status information shared.
Peer network node service state method for supervising embodiment three
Be illustrated in figure 9 as the flow chart of peer network node service state method for supervising specific embodiment three of the present invention; Present embodiment is applied under the responsive application scenarios of distributed transfer delay; The flow process of carrying out between the peer node in the service transmission path in the peer-to-peer network comprises the steps:
Step C1, peer node Peer-6 receive the service status information subscription request message that peer node Peer-2 sends; Or receive that peer node Peer-2 sends; Be provided with the message of service status information subscribe request in the parameter, promptly trigger the message that peer node Peer-6 opens the service status information function of reporting, this message can be " Subscribe " message; The sign of record peer node Peer-2, it is the concern node of peer node Peer-6;
Step C2, peer node Peer-6 send acknowledge message, and promptly " Response " message representes to confirm for concern node Peer-2, and this moment, peer node Peer-6 just was apprised of the service state that peer node Peer-2 pays close attention to oneself clearly;
The service state of step C3, peer node Peer-6 changes;
Step C4, peer node Peer-6 send its service status information to peer node Peer-2, promptly send " Notification " message and give peer node Peer-2 to report the service state of oneself;
Step C5, peer node Peer-2 receive this service status information; Whether the service state of judging this peer node Peer-6 according to this service status information reaches requirement, if then need not adjust the path that obtains the peer-to-peer network service; If not; Then need adjust the path that obtains the peer-to-peer network service, this peer node Peer-2 adjusts its routing table, and the distributed transmission that is service traffics selects to use the path that gets around peer node Peer-6.
The signaling process of above-mentioned steps is shown in figure 10.
In the technical scheme of present embodiment; Pay close attention to node Peer-2 and can obtain request the node transmission service status information of oneself paying close attention to; To trigger it to oneself report service state; Whether the service state of judging certain peer node should be marked with a lot of methods by the pass, and wherein a kind of embodiment is: in the network planning, preestablish the key node of some peer node for professional transmission, then peer node can be confirmed as other peer node of appointment in the peer-to-peer network the key node of oneself; Another embodiment is: peer node is according to the transmission requirement that is provided with in the business; Carry out the detection of transmission path; Detecting can be in the peer node on its transmission path; Just determine that it is the key node of oneself, send professional transmission requests, in professional transmission requests, the service status information subscribe request can be set to this peer node; Another kind of embodiment is: peer node detects another peer node on the transmission path of its transport service; Transmission requires it to report the request of self available outlet bandwidth; Then receive and judge whether available outlet bandwidth that this peer node reports is lower than the threshold value of setting, if it is the key node in the peer-to-peer network service transmission path that this peer node then is set; Wherein, The concern node also can send and require peer node to report other parameters, like the request of cpu load, can judge in view of the above whether it is key node; Another embodiment is: peer node detects another peer node on the transmission path of its transport service; Send message to it; Can be any message of the property surveyed; Detect and judge this peer node to the response delay of this message whether greater than the threshold value of setting, if it is the key node in the peer-to-peer network service transmission path that this peer node then is set.Peer node can be passed through diagnostic tool; " traceroute " instrument like peer-to-peer network is surveyed; Key node often plays decisive role to transmission speed, therefore needs to understand the variation of its service state, and then peer node needs to send the service status information subscribe request to this peer node.After concern node transmission trigger messages has been opened the service status information reporting functions of being paid close attention to node; When definite key node no longer needs to be paid close attention to; Can also further send service status information and subscribe to the cancellation request; After peer node receives the service status information subscription cancellation request of concern node transmission, to this concern node transmission service status information, be the resource that reports service status information shared when just stopping at its service state variation with the release peer node.Peer node is known the service state of being paid close attention to node, is not limited to the state information that service quality descends or breaks off, and can also be the information that service state is good or service ability is superfluous; Paying close attention to node so can be by the clear and definite service state of informing, so that take suitable processing mode, selects the most the reliable transmission path so that guarantee service quality; In case the peer node transmittability of its concern descends; Can in time adjust routing table, select suitable transmission path, when its transmittability is recovered; Also can in time know, utilize this peer node again.
In the foregoing description two and three, client node or concern node all can be adjusted the path that self obtains the peer-to-peer network service according to the service status information that receives.For example, client node can select the another one peer node to obtain the peer-to-peer network service as its Host Peer; Other peer node can select whether service request is sent to this peer node according to the traffic handing capacity of peer node; Can also determine whether this peer node according to the transfer capability of peer node as professional forward node; Perhaps can also be when the peer node aborted; Select other nodes the peer-to-peer network service to be provided, promptly be chosen as the new route that it provides the peer-to-peer network service, can select to get around the perhaps path of the peer node of aborted of service quality decline for it; Come to obtain service, i.e. transport service from peer-to-peer network.
In the foregoing description one~three, peer node is sent in the step of service status information, not only can comprise its service state, can also further comprise the information that reflects its service state reason of changes.This technical scheme can further make pays close attention to the reason that node knows that service state changes, so that formulate the adjustment strategy of self.
In the foregoing description one~three, pay close attention to node and can oneself receive service status information with the acknowledge message sign by explicitly, can also not carry out explicit affirmation.For example,, can further carry out response,, perhaps send and obtain the message that the peer-to-peer network service path changed and inform this peer node to acknowledge receipt of service status information when paying close attention to after node receives service status information.Perhaps, the node that the report service state changes can further be provided with instruction in service status information, and the node that receives service status information with inhibition is replied, and comes further to reduce the transmission pressure of giving peer-to-peer network owing to the service state report tape.
In the foregoing description one~three; After the service state function of reporting of peer node is opened; And before peer node monitors its service state variation; Peer node can at first be sent the service status information of its current service state of reflection, then when service state has further variation, reports once more.Promptly do not wait its service state to change; Report earlier self current service state has not met transmission requirement to avoid the current service state, and has paid close attention to the situation appearance that node is not also known; Adopt technique scheme can further strengthen the continuity of peer-to-peer network service, improve service quality.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be accomplished through the relevant hardware of program command; Aforesaid program can be stored in the computer read/write memory medium; This program the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
What should explain at last is: above embodiment is only in order to explaining technical scheme of the present invention, but not to its restriction; Although with reference to previous embodiment the present invention has been carried out detailed explanation, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these are revised or replacement, do not make the spirit and the scope of the essence disengaging various embodiments of the present invention technical scheme of relevant art scheme.

Claims (17)

1. peer network node service state method for supervising is characterized in that comprising:
Peer node is obtained the trigger messages of opening the service state function of reporting, and it is the concern node of self that said peer node is provided with the node that sends said trigger messages;
Peer node monitors its service state and changes;
Peer node is sent the service status information of its service state of reflection to said concern node;
It obtains the path of peer-to-peer network service to said concern node according to said service status information adjustment;
Wherein, said service state changes the load that comprises processor and rises or descend, or outlet bandwidth increases or reduce, or with the peer-to-peer network aborted.
2. peer network node service state method for supervising according to claim 1; It is characterized in that the step that said peer node is obtained the trigger messages of opening the service state function of reporting is specially: said peer node receives the service status information subscription request message or receives the message that is provided with the service status information subscribe request in the parameter.
3. peer network node service state method for supervising according to claim 2 is characterized in that the step that said peer node receives the service status information subscribe request is specially: said concern node confirms that said peer node is a key node; Said concern node is arranged in the parameter of other message to said peer node transmission service status information subscription request message or with the service status information subscribe request, sends to said peer node; Said peer node receives this service status information subscribe request.
4. peer network node service state method for supervising according to claim 3; It is characterized in that; Said concern node confirms that said peer node is that the step of key node is specially: pay close attention to node and detect said peer node on service transmission path, confirm that then said peer node is a key node.
5. peer network node service state method for supervising according to claim 3; It is characterized in that; Said concern node confirms that said peer node is that the step of key node is specially: pay close attention to node and detect the peer node on its service transmission path; Transmission requires it to report the request of self available outlet bandwidth; Receive and judge whether available outlet bandwidth that this peer node reports is lower than the threshold value of setting, if it is the key node in the peer-to-peer network service transmission path that said peer node then is set.
6. peer network node service state method for supervising according to claim 3; It is characterized in that; Said concern node confirms that said peer node is that the step of key node is specially: pay close attention to node and detect the peer node on its service transmission path, send message to it, detect and judge this peer node to the response delay of this message whether greater than the threshold value of setting; If it is the key node in the peer-to-peer network service transmission path that said peer node then is set.
7. peer network node service state method for supervising according to claim 3; It is characterized in that said concern node confirms that said peer node is that the step of key node is specially: said concern node is confirmed as key node with the peer node of appointment in the peer-to-peer network.
8. peer network node service state method for supervising according to claim 1; It is characterized in that the step that said peer node is obtained the trigger messages of opening the service state function of reporting is specially: said peer node receives the peer-to-peer network service and obtains request message.
9. peer network node service state method for supervising according to claim 8; It is characterized in that said peer node receives the peer-to-peer network service and obtains the step of request message and be specially: said peer node receives client node and sends the message that the said peer node of request provides the peer-to-peer network service.
10. peer network node service state method for supervising according to claim 1 is characterized in that, after peer node monitors the step of its service state variation, also comprise: said peer node is sent the information of its service state reason of changes of reflection.
11. peer network node service state method for supervising according to claim 1; It is characterized in that; After peer node receives said trigger messages; And before peer node monitored its service state variation, also comprise: peer node was sent the service status information of its current service state of reflection.
12. peer network node service state method for supervising according to claim 1; It is characterized in that; After peer node gets access to the trigger messages of opening the service state function of reporting, also comprise: peer node receives the service status information subscription cancellation request of concern node transmission or detects the concern node and is connected with its disconnection; When stopping at its service state variation, peer node sends service status information to this concern node.
13. peer network node service state method for supervising according to claim 1; It is characterized in that, receive the node of said service status information, adjust its step of obtaining the peer-to-peer network service path and be specially: client node judges according to said service status information whether the service state of said peer node reaches requirement; If not; Then send a request message, promptly ask it that peer-to-peer network service is provided, thereby adjust the path that self obtains the peer-to-peer network service to other peer node.
14. peer network node service state method for supervising according to claim 1; It is characterized in that; Its step of obtaining the peer-to-peer network service path of node adjustment that receives said service status information is specially: the node that receives said service status information; Whether the service state of judging said peer node according to said service status information reaches requirement, if then select to obtain the peer-to-peer network service through the path of said peer node; If not, then select to obtain the peer-to-peer network service without the path of said peer node.
15. according to claim 13 or 14 described peer network node service state method for supervising; It is characterized in that; Judge according to said service status information whether the service state of said peer node meets the requirements of step and be specially: judge whether said peer node breaks off with peer-to-peer network unusually; If then be provided with and judge whether service state meets the requirements of judged result for denying.
16. according to claim 13 or 14 described peer network node service state method for supervising; It is characterized in that; Judge according to said service status information whether the service state of said peer node meets the requirements of step and be specially: judge whether the load of said peer node processor is higher than the threshold value of setting; If then be provided with and judge whether service state meets the requirements of judged result for denying.
17. according to claim 13 or 14 described peer network node service state method for supervising; It is characterized in that; Judge according to said service status information whether the service state of said peer node meets the requirements of step and be specially: judge whether the spendable outlet bandwidth of said peer node is lower than the threshold value of setting; If then be provided with and judge whether service state meets the requirements of judged result for denying.
CN2007101219270A 2007-09-18 2007-09-18 Service state monitoring method for peer-to-peer network nodes Active CN101394313B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN2007101219270A CN101394313B (en) 2007-09-18 2007-09-18 Service state monitoring method for peer-to-peer network nodes
PCT/CN2008/071195 WO2009036663A1 (en) 2007-09-18 2008-06-05 Method, device and system for monitoring serving state of peer-to-peer network node

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007101219270A CN101394313B (en) 2007-09-18 2007-09-18 Service state monitoring method for peer-to-peer network nodes

Publications (2)

Publication Number Publication Date
CN101394313A CN101394313A (en) 2009-03-25
CN101394313B true CN101394313B (en) 2012-04-04

Family

ID=40467506

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007101219270A Active CN101394313B (en) 2007-09-18 2007-09-18 Service state monitoring method for peer-to-peer network nodes

Country Status (2)

Country Link
CN (1) CN101394313B (en)
WO (1) WO2009036663A1 (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102075405B (en) * 2009-11-25 2013-06-05 中兴通讯股份有限公司 Service signaling transmission method and system based on subscription registration
CN102752335B (en) * 2011-04-22 2017-08-08 中兴通讯股份有限公司 Peer-to-peer overlay network interior joint overload information subscribing method and system
CN102843618B (en) * 2011-06-20 2017-09-29 中兴通讯股份有限公司 The method and device that SNCP is protected when ASON is docked with legacy network
CN103580957B (en) * 2013-11-06 2016-08-17 华北计算技术研究所 A kind of node state quick monitoring method of network without center
CN104360926A (en) * 2014-07-01 2015-02-18 山东明佳科技有限公司 Method of monitoring status of computing group
US9648066B2 (en) * 2014-08-29 2017-05-09 The Boeing Company Peer to peer provisioning of data across networks
US20160150027A1 (en) * 2014-11-25 2016-05-26 Futurewei Technologies, Inc. Method Of Handling Notification Channel Disconnection
CN104917651B (en) * 2015-06-09 2018-04-17 北京齐尔布莱特科技有限公司 The method and device of monitoring network exception
CN106850346B (en) * 2017-01-23 2020-02-07 北京京东金融科技控股有限公司 Method and device for monitoring node change and assisting in identifying blacklist and electronic equipment
CN110519121B (en) * 2019-08-09 2021-08-27 网宿科技股份有限公司 Method and device for detecting regional tasks
CN110430101B (en) * 2019-08-28 2021-09-03 杭州领智云画科技有限公司 Service index data acquisition method, device, equipment and system applied to CDN
CN111953569B (en) * 2020-08-27 2022-04-29 浪潮电子信息产业股份有限公司 State information reporting method, device, equipment and medium
US11973823B1 (en) * 2023-01-11 2024-04-30 Dell Products L.P. Offloading namespace redirection to backup clients in a scale out cluster

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1780214A (en) * 2004-11-24 2006-05-31 微软公司 Method and system for controlling access to presence information on a peer-to-peer basis
CN1933476A (en) * 2005-09-15 2007-03-21 华为技术有限公司 Subscribing method based on session sponsor protocol

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005027207A (en) * 2003-07-01 2005-01-27 Fuji Photo Film Co Ltd Peer-to-peer communication system, presence monitoring apparatus, and user terminal device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1780214A (en) * 2004-11-24 2006-05-31 微软公司 Method and system for controlling access to presence information on a peer-to-peer basis
CN1933476A (en) * 2005-09-15 2007-03-21 华为技术有限公司 Subscribing method based on session sponsor protocol

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
JP特开2005-27207A 2005.01.27

Also Published As

Publication number Publication date
CN101394313A (en) 2009-03-25
WO2009036663A1 (en) 2009-03-26

Similar Documents

Publication Publication Date Title
CN101394313B (en) Service state monitoring method for peer-to-peer network nodes
CN101304340B (en) Method and apparatus for monitoring resource condition as well as communication network
US10136415B2 (en) System, security and network management using self-organizing communication orbits in distributed networks
US8949436B2 (en) System and method for controlling peer-to-peer connections
RU2517373C2 (en) Method for switching node main/standby controllers based on content delivery network and corresponding content delivery network
EP1999894B1 (en) System and method for distributing data over a computer network
EP2501083B1 (en) Relay node, distributed network of relay node and networking method thereof
CN101965717B (en) System and method for application layer resource traffic control
CN104579961A (en) Scheduling method and device for data message
JP7092813B2 (en) Packet transmission method and equipment
CN111935314B (en) Block chain system, message transmission method and device
EP2656588A1 (en) Component, system and method for controlling communication of data of at least one application of a communications network
CN101299893B (en) Method for migration based on status transition in automatically exchanging optical network
CA2577287C (en) Systems for distributing data over a computer network and methods for arranging nodes for distribution of data over a computer network
CN107948000B (en) Method, device and system for switching main channel and standby channel
WO2023124743A1 (en) Block synchronization
CN101616061A (en) The path determines that method, path determine device and network system
JP2007067906A (en) Node apparatus
US7082136B2 (en) Methods for controlling resources in a communication network
CN102143037B (en) Message processing method and device
CN101005493A (en) Method and system for saving network node resource
CN101453387A (en) Method and apparatus for monitoring resource condition as well as communication network
CN102148847B (en) Based on the method and system of the client access peer-to-peer network of RELOAD
CN102752335A (en) Method and system for subscribing for overload information of nodes in peer-to-peer overlay network
CA2577129C (en) Systems for distributing data over a computer network and methods for arranging nodes for distribution of data over a computer network

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