Background technology
Along with networks development, people are to the demand of network, especially to big capacity information, constantly increase as the network transmission demand of music, video file.P2P (Peer to Peer, point-to-point) technology has been broken traditional C/S (C1ient/Serve, client-server) structure, adopts equity to calculate, random choose equity point (peer), thus improve transmission performance.But under the existing situation, the P2P application apparatus can't find the peer sequence an of the best usually, causes performance to descend, and the too much flow across the territory.This one, P2P uses not only can take a large amount of network bandwidths, and often uncontrollable, has taken ISP (Internet Service Provider, Internet Service Provider's) finite element network resource greatly.So the P2P flow optimization becomes one of current hot technology.
On the whole, the P2P flow optimization can be divided into two big classes, and a class is the application layer technology, and P2P application just itself reduces the technology of cross-domain flow rate; Another kind of is interlayer cooperation technology, and just ISP and P2P use cooperation, and P2P the information that provides according to ISP is provided is carried out the peer selection, thereby carries out flow optimization, for example reduces cross-domain flow rate.Take a long view, interlayer cooperation technology has more advantage and development prospect, Xiang Guan some technical research such as P4P (Provider Portal for (P2P) Applications therewith, supplier's entrance that P2P uses) technology, Oracle-based ISP-P2P (Oracle-based internet service provider-P2P, based on the Internet Service Provider of Oracle-point-to-point) cooperation, IDIPS (ISP-Driven Informed Path Selection, the information path that ISP drives is selected) wait constantly expansion.For example, the P4P technology proposes to pass through the coordination network topological data, and ISP and P2P use win-win cooperation, select more excellent peer, thereby improves the network router efficiency.
IETF (The Internet Engineering Task Force, Internet engineering duty group) set up ALTO (Application-Layer Traffic Optimization, application layer traffic is optimized) working group, be desirable to provide a kind of general ALTO service, can provide some information should be used for carrying out than selection mode better p eer selection at random to P2P application or other.The ALTO server by collect, the phase-split network topology information optimizes the selection of P2P resource, thereby reach reduce unnecessary flow between the territory, rationally utilize network bandwidth resources, strengthen the purposes such as management to the P2P business.If the P2P network is distributed destructuring network, there is tracking server in this P2P network, peer need tabulate to tracking server request peer when starting the P2P program, by connecting the ALTO server, tracking server can obtain information such as network topology and be used for optimizing peer and select, and returns preferred peer tabulation.If the P2P network is distributed structured P2P network, there is not tracking server in this P2P network, when peer starts the P2P program, finish and select the peer tabulation, by connecting the ALTO server, peer can obtain information such as network topology and be used for optimizing peer and select.Adopt such scheme, for instance, when the user of Pekinese selects the P2P resource, can be preferentially and with the city user, just other users of Pekinese realize the exchange of file fragment; If not with the city user, then extend to the user in area far away, for example realize the exchange of file fragment with the user in Shanghai, under the necessary situation, the user in meeting and far area, for example external user realizes carrying out the exchange of file fragment.By ALTO service, above-mentioned tracking server or peer can also comprehensively judge according to user's up, download bandwidth, and to carry out effective choice, maximization improves the efficient of whole exchange.
Although the concrete scheme of various interlayer cooperation technology is different, its general character all is to provide certain information by ISP to tracking server or peer, as network topology etc., that is to say, ISP disposes relevant P2P flow optimization service according to actual conditions in the network of oneself, the granularity of deployment can determine by ISP, for instance, can dispose according to AS (Autonomous System, autonomous system) scope.When tracking server or peer carry out the peer selection, at first need to connect server or main frame that the service of P2P flow optimization is provided in each AS of each ISP, for example the ALTO server.So, how to obtain to provide in each AS of each ISP the server of P2P flow optimization service or the IP address of main frame to become a problem that must solve, that is to say, the discovery mechanism that needs a kind of P2P flow optimization service, the IP address notification of the server that the service of P2P flow optimization is provided in each different I SP network or main frame to tracking server or peer.
At present, can be used for finding that the technology of P2P flow optimization service has following two kinds: a kind of is to send Email to tracking server or peer by ISP, announcement provides the server of P2P flow optimization service or the IP address of main frame, though this realization mechanism is simple, efficient is not high.Another kind is to adopt manual type to dispose in the management database of tracking server or peer the server of P2P flow optimization service or the IP address of main frame are provided, though this realization mechanism is simple, and troublesome maintenance.The poor expandability of above-mentioned prior art, it is fast to satisfy the network renewal speed, and service is brought in constant renewal in, and uses the demand under this class situation that emerges in an endless stream.
Summary of the invention
The purpose of this invention is to provide a kind of discovery mechanism of P2P flow optimization service, efficiently find P2P flow optimization service unit rapidly, realize the service of P2P flow optimization better.
It is a kind of for the system that finds point-to-point P2P flow optimization service that one embodiment of the present of invention provide, and comprising: P2P application apparatus, P2P flow optimization service unit and information on services register device;
Described P2P flow optimization service unit is used for sending first registration message to described information on services register device, carry P2P flow optimization information on services in described first registration message, described P2P flow optimization information on services is corresponding with described P2P flow optimization service unit;
Described information on services register device is used for the described P2P flow optimization information on services of storage;
Described P2P application apparatus is used for sending inquiry request message to described information on services register device;
Described information on services register device also is used for sending query response message to described P2P application apparatus, carries described P2P flow optimization information on services in the described query response message;
Described P2P application apparatus also is used for according to described P2P flow optimization information on services, communicates with described P2P flow optimization service unit.
It is a kind of for finding P2P flow optimization service method that another embodiment of the present invention provides, and comprising:
Reception is carried P2P flow optimization information on services from first registration message of P2P flow optimization service unit in described first registration message, described P2P flow optimization information on services is corresponding with described P2P flow optimization service unit.
Store described P2P flow optimization information on services.
Reception is from the inquiry request message of P2P application apparatus.
Send query response message to described P2P application apparatus, carry described P2P flow optimization information on services in the query response message.
It is a kind of for the device of finding the service of P2P flow optimization that another embodiment of the present invention provides, and comprises communication module, memory module and enquiry module;
Described communication module is used for receiving first registration message from P2P flow optimization service unit, carries P2P flow optimization information on services in described first registration message;
Described memory module is used for the P2P flow optimization information on services that described first registration message of storage carries;
Described communication module also is used for receiving the inquiry request message from the P2P application apparatus;
Described enquiry module is used for inquiry P2P flow optimization information on services;
Described communication module also is used for sending query response message to the P2P application apparatus, carries the P2P flow optimization information on services that described enquiry module inquires in the query response message.
It is a kind of for finding P2P flow optimization service method that an embodiment more of the present invention provides, and comprising:
Send inquiry request message to the information on services register device;
Reception is carried P2P flow optimization information on services from the query response message of described information on services register device in the described query response message;
Communicate the corresponding described P2P flow optimization information on services of described P2P flow optimization service unit with P2P flow optimization service unit.
It is a kind of for the device of finding the service of P2P flow optimization that another embodiment of the present invention provides, and comprises first communication module and second communication module;
Described first communication module is used for sending inquiry request message to the information on services register device, and receives the query response message from described information on services register device, carries P2P flow optimization information on services in the described query response message;
Described second communication module is used for communicating with P2P flow optimization service unit, the corresponding described P2P flow optimization information on services of described P2P flow optimization service unit.
It is a kind of for finding P2P flow optimization service method that one embodiment of the present of invention provide, and comprising:
Start the service of P2P flow optimization;
Send registration message, carry P2P flow optimization information on services in the described registration message.
It is a kind of for the device of finding the service of P2P flow optimization that another embodiment of the present invention provides, and comprises starting module and communication module;
Described startup module is used for starting the service of P2P flow optimization;
Described communication module is used for sending registration message after described startup module starts the service of P2P flow optimization, carries P2P flow optimization information on services in the described registration message.
The discovery mechanism of the P2P flow optimization service that provides in the embodiment of the invention, can be so that the P2P application apparatus be found P2P flow optimization service unit automatically, realize easily, succinct efficient, therefore it is fast to satisfy the network renewal speed, service is brought in constant renewal in, and uses the demand under this class situation that emerges in an endless stream.
Embodiment
Launch to describe in detail below in conjunction with the drawings and specific embodiments.But it is noted that these following embodiment, only for help to understand technical scheme for example, and be not used in restriction the present invention.
Fig. 1 is the rough schematic view that is used for the system of discovery P2P flow optimization service in the one embodiment of the invention, and as shown in Figure 1, this system comprises: P2P application apparatus 102, P2P flow optimization service unit 104 and information on services register device 106.
Wherein, P2P flow optimization service unit 104 sends registration message to information on services register device 106, carries P2P flow optimization information on services in this registration message, and this P2P flow optimization information on services is corresponding with P2P flow optimization service unit 104.Information on services register device 106 these P2P flow optimization information on services of storage.
P2P application apparatus 102 sends inquiry request message to information on services register device 106.Information on services register device 106 sends query response message to P2P application apparatus 102, carries above-mentioned P2P flow optimization information on services in the query response message.
P2P application apparatus 102 communicates with P2P flow optimization service unit 104 according to above-mentioned P2P flow optimization information on services.For instance, it is mutual that P2P flow optimization service unit 104 and P2P application apparatus 102 carry out specific information on services, for example sends information such as network topologies, bandwidth to P2P application apparatus 102.
For instance, P2P application apparatus 102 is the equipment that P2P uses, the Tracker (tracking server) in the distributed non-structural P 2 P network for example, or do not have the peer in the distributed structured P2P network under the Tracker situation.For instance, P2P flow optimization service unit 104 provides the equipment of P2P flow optimization service, for example, server or main frame in the ISP network, the P2P flow optimization service that it provides can be the ALTO service, also can be the flow optimization service of other types.For instance, information on services register device 106 can be dns server, also can be LDAP (Lightweight DirectoryAccess Protocol, LDAP) server, or DHCP (Dynamic HostConfiguration Protocol DHCP) server, maybe can realize storing, other entities of query function.
Fig. 1 is rough schematic view, wherein only shows a P2P application apparatus, a flow optimization service unit and an information on services register device.In the system of the embodiment of the invention, can there be two or more respectively in P2P application apparatus, flow optimization service unit and information on services register device.
Fig. 2 is the rough schematic view that is used for the system of discovery P2P flow optimization service in the another embodiment of the present invention.Fig. 2 shows three AS:AS202, AS204 and AS206; Three P2P flow optimization service units 212,214 and 216; Information on services register device 220 and P2P application apparatus 230.Wherein AS202 and AS204 all are positioned at ISP1 (Internet Service Provider, Internet Service Provider); AS206 is positioned at ISP2.P2P flow optimization service unit 212 provides the service of P2P flow optimization for AS202, and P2P flow optimization service unit 214 provides the service of P2P flow optimization for AS204, and P2P flow optimization service unit 216 provides the service of P2P flow optimization for AS206.P2P flow optimization service unit 212,214 and 216 all adopts the mode that sends registration message that P2P flow optimization information on services is sent to information on services register device 220, that is to say, the information on services register device in this system adopts centralized architecture.Information on services register device 220 can be by the ISP self maintained have storage and the equipment of query function, also can be to be stored and the equipment of query function by having of safeguarding of trusted third party, for example can realize storing, the server of query function.
Wherein, P2P flow optimization service unit 212 sends registration message to information on services register device 220, carries P2P flow optimization information on services in this registration message, and this P2P flow optimization information on services is corresponding with P2P flow optimization service unit 212.In like manner, P2P flow optimization service unit 214 and 216 also sends registration message to information on services register device 220.For instance, P2P flow optimization information on services can comprise the title of P2P flow optimization service and the IP address of P2P flow optimization service unit, perhaps, also can comprise the title of P2P flow optimization service, the title of the ISP under the service of P2P flow optimization and the IP address of P2P flow optimization service unit.
The P2P flow optimization information on services that 220 storages of information on services register device receive.For instance, can adopt the tabulation mode to store, the mapping relations of the title of record P2P flow optimization service and the IP address of P2P flow optimization service unit, as shown in table 1, perhaps record the IP address three's of the title of title, the ISP under the service of P2P flow optimization of P2P flow optimization service and P2P flow optimization service unit mapping relations, as shown in table 2.
Table 1
| The title of P2P flow optimization service |
The IP address of P2P flow optimization service unit |
| ALTO |
172.30.79.10 |
| ALTO |
172.30.79.11 |
| ALTO |
172.30.79.12 |
Table 2
| The title of P2P flow optimization service |
The title of ISP under the service of P2P flow optimization |
The IP address of P2P flow optimization service unit |
| ALTO |
ISP1 |
172.30.79.10 |
| ALTO |
ISP1 |
172.30.79.11 |
P2P application apparatus 230 sends inquiry request message to information on services register device 220.For instance, this inquiry request message can be used for all P2P flow optimization information on services that inquiry service information register device is stored, perhaps, also can be used for the part P2P flow optimization information on services that inquiry service information register device is stored, for example carry the title of P2P flow optimization service in the inquiry request message, be used for the inquiry P2P flow optimization information on services corresponding with the title of this P2P flow optimization service.
Information on services register device 220 sends query response message to P2P application apparatus 230, carries P2P flow optimization information on services in the query response message.For instance, the P2P flow optimization information on services that carries in the query response message can be all P2P flow optimization information on services of storage in the information on services register device 220, it also can be the part P2P flow optimization information on services of storage in the information on services register device 220, for example when carrying the title of P2P flow optimization service in the inquiry request message, the P2P flow optimization information on services that carries in the query response message is corresponding with the title of this P2P flow optimization service.For instance, P2P flow optimization information on services can be the title of P2P flow optimization service and the IP address of P2P flow optimization service unit, also can be the title of P2P flow optimization service, the title of the ISP under the service of P2P flow optimization and the IP address of P2P flow optimization service unit.
P2P application apparatus 230 is according to P2P flow optimization information on services, communicates with one or more combination in the P2P flow optimization service unit 212,214,216.
For instance, when P2P application apparatus 230 is tracking server in the distributed non-structural P 2 P network, P2P application apparatus 230 can also send registration message to information on services register device 220, carry the information of P2P application apparatus 230 in this registration message, for example the title of P2P application apparatus 230 and IP address.Information on services register device 220 can be stored the information of P2P application apparatus 230, when the P2P flow optimization information on services of storage in the information on services register device 220 when changing, the P2P flow optimization information on services after changing to P2P application apparatus 230 notices according to the information of the P2P application apparatus of storage.Can find the service of P2P flow optimization efficiently like this.
Fig. 3 is the rough schematic view that is used for the system of discovery P2P flow optimization service among another embodiment of the present invention.Fig. 3 shows three AS:AS302, AS304 and AS306; Three P2P flow optimization service units 312,314 and 316; Three DNS (Domain Name System, domain name system) server 322,326 and 328; And P2P application apparatus 340.Wherein AS302 and AS304 all are positioned at ISP1; AS306 is positioned at ISP2.P2P flow optimization service unit 312 provides the service of P2P flow optimization for AS302, and P2P flow optimization service unit 314 provides the service of P2P flow optimization for AS304, and P2P flow optimization service unit 316 provides the service of P2P flow optimization for AS306.Dns server 322 is corresponding with ISP1; Dns server 326 is corresponding with ISP2; Dns server 328 is corresponding with P2P application apparatus 340.For instance, can also there be multistage dns server, for example dns server 330 is dns server 322,326 and 328 upper level dns server, example, the domain name of dns server 322 storages is chinamobile.com, the domain name of dns server 326 storages is chinaunicom.com, and the domain name of dns server 328 storages is chinatelecom.con, and the domain name of dns server 330 storages is .com.Shown in Figure 3 is the two-stage dns server, only is example herein, also can be three grades or more multistage.Again for instance, the dns server 328 of P2P application apparatus 340 correspondences can be same with dns server 322.Perhaps, the dns server 328 of P2P application apparatus 340 correspondences can be same with dns server 326.
P2P flow optimization service unit 312 sends registration message to dns server 322, carries the P2P flow optimization information on services of P2P flow optimization service unit 312 correspondences in this registration message; P2P flow optimization service unit 314 sends registration message to dns server 322, carries the P2P flow optimization information on services of P2P flow optimization service unit 314 correspondences in this registration message; P2P flow optimization service unit 316 sends registration message to dns server 326, carries the P2P flow optimization information on services of P2P flow optimization service unit 316 correspondences in this registration message.That is to say that distributed structure/architecture is adopted in the information on services registration in the system shown in Figure 3.
Dns server 322 and 326 is all stored the P2P flow optimization information on services that carries in the registration message that self receives.
P2P application apparatus 340 sends inquiry request message to the dns server corresponding with it 328, carries domain name system information in this inquiry request message, and for instance, domain name system information can be domain name, for example chinamobile.com.
Dns server 328 is according to above-mentioned domain name system information, the inquiry P2P flow optimization information on services corresponding with above-mentioned domain name system information in the P2P flow optimization information on services of self storing, if inquiry is less than, then inquiry in the upper level dns server (referring to dns server 330 in embodiment illustrated in fig. 3); If inquire, then send query response message to P2P application apparatus 340, carry the P2P flow optimization information on services corresponding with above-mentioned domain name system information in the query response message.
The corresponding P2P flow optimization of the P2P flow optimization information on services service unit that carries in P2P application apparatus 340 and the query response message communicates.
In conjunction with Fig. 3 example, be that ALTO service is example with the service of P2P flow optimization, the P2P flow optimization information on services of above-mentioned DNS storage can be the mapping relations of ALTO service and P2P flow optimization service unit, can adopt SRV RR (a Resource Recorder for specifying thelocation of services of dns server, the service position resource record) and A RR (A host addressResource Recorder host address resource record) store, concrete form can be with reference to the A RR form of RFC1034 standard definition and the SRV RR form of RFC2782 standard definition.The mapping of each DNS SRV record ALTO service name and P2P flow optimization service unit title.The title of the P2P flow optimization service unit of each A RR record startup ALTO service and the mapping of IP address information.
Be example with DNS322, the P2P flow optimization information on services that adopts DNS SRV and A RR storage in the following example shown in:
Alto.tcp.chinamobile.com.SRV 0 1 9 server1.chinamobile.com.
SRV 0 3 9 server2.chinamobile.com.
Server1 A 170.30.29.28
Server2 A 170.30.56.36
As above shown in the example, in ISP1, the domain name of ISP1 is chinamobile.com for instance, on two P2P flow optimization service units, all disposed the ALTO service, these two P2P flow optimization service units are respectively: the IP address is the server1 of 170.30.29.28, and the IP address is the server2 of 170.30.56.36.
Tcp port number 9 is monitored the startup of ALTO service on seryer1, and priority is set to 0, and weights are set to 1; Tcp port number 9 is monitored the startup of ALTO service on server2, and priority is set to 0, and weights are set to 3.The numerical value that relates in above-mentioned the setting only is used for example, and other value also can be set; In addition, it is different that seryer1 and 2 preferred value can be set to, and weights also can be set to identical.
For instance, above-mentioned P2P application apparatus 340 can be stored the domain name of ISP in advance, for example adopt the mode of tabulation to store, when sending inquiry request message, the domain name of the ISP of storage in the tabulation is packaged into the DNS name resolution request message, SRV RR and A RR in the inquiry dns server can obtain the information such as IP address that all start the server/main frame of P2P flow optimization service.
In the example, the information on services register device has adopted dns server among above-mentioned Fig. 3, also can adopt ldap server or Dynamic Host Configuration Protocol server, maybe can realize storing, other entities of query function; And, can be the ISP self maintained, also can be to be safeguarded by trusted third party.Adopting ldap server with the information on services register device is example, because ldap directory is stored data with tree-shaped hierarchical structure, similar DNS tree, and the P2P flow optimization service unit title of similar DNS storage, the DN (Distinguished Name, identification name) of ldap directory record then is used for reading single record, and the top of dating back to tree, in brief, adopt ldap server as the example class among information on services register device and above-mentioned Fig. 3 seemingly, repeat no more herein.
Fig. 4 is used for finding P2P flow optimization service method flow chart in the one embodiment of the invention, as shown in Figure 4, this method comprises:
402: receive the registration message from P2P flow optimization service unit, carry P2P flow optimization information on services in this registration message.
404: store the P2P flow optimization information on services that carries in the above-mentioned registration message.
406: receive the inquiry request message from the P2P application apparatus, inquiry P2P flow optimization information on services.
408: send query response message to the P2P application apparatus, carry P2P flow optimization information on services in the query response message.
The concrete ins and outs of method embodiment shown in Figure 4 are described in said system embodiment, repeat no more herein.
Fig. 5 is the device rough schematic view that is used for finding the service of P2P flow optimization in the one embodiment of the invention, and as shown in Figure 5, this device comprises communication module 502, memory module 504 and enquiry module 506.Wherein, communication module 502 is used for receiving the registration message from P2P flow optimization service unit, carries P2P flow optimization information on services in this registration message.Memory module 504 is used for the P2P flow optimization information on services that the above-mentioned registration message of storage carries.Communication module 502 also is used for receiving the inquiry request message from the P2P application apparatus.Enquiry module 506 is used for inquiry P2P flow optimization information on services.Communication module 502 also is used for sending query response message to the P2P application apparatus, carries the P2P flow optimization information on services that enquiry module 506 inquires in the query response message.
The concrete ins and outs of device embodiment shown in Figure 5 are described in said system embodiment, repeat no more herein.Shown in Figure 5 only is example, and wherein each module of Miao Shuing also can be integrated into one or more unit.
Fig. 6 is used for finding P2P flow optimization service method flow chart in the another embodiment of the present invention, as shown in Figure 6, this method comprises:
602-608: identical with the 402-408 in embodiment illustrated in fig. 4, repeat no more herein.
610: receive the registration message from the P2P application apparatus, the information of carrying the P2P application apparatus in this registration message; The information of storage P2P application apparatus.For instance, the information of P2P application apparatus can be title and the IP address of P2P application apparatus.
612: when P2P flow optimization information on services changes, the P2P flow optimization information on services after changing to P2P application apparatus notice according to the information of the P2P application apparatus of storage.
For instance, 610 and 612 can before 606, carry out.The concrete ins and outs of method embodiment shown in Figure 6 are described in said system embodiment, repeat no more herein.
Adopt scheme embodiment illustrated in fig. 6, can realize P2P flow optimization service efficiently.
Corresponding with method embodiment shown in Figure 6, it is a kind of for the device of finding the service of P2P flow optimization that another embodiment of the present invention also provides, on the basis of this device and device shown in Figure 5, communication module 502 also is used for receiving the registration message from the P2P application apparatus, the information of carrying the P2P application apparatus in this registration message; Memory module 504 also is used for the information of this P2P application apparatus of storage; When the P2P flow optimization information on services of storage in the memory module 504 changes, the P2P flow optimization information on services after communication module 502 also changes to P2P application apparatus notice for the information according to the P2P application apparatus of storing.
Fig. 7 is used for finding P2P flow optimization service method flow chart among another embodiment of the present invention, as shown in Figure 7, this method comprises:
702, send inquiry request message to the information on services register device.
704, reception is carried P2P flow optimization information on services from the query response message of information on services register device in the query response message.
706, communicate the corresponding above-mentioned P2P flow optimization information on services of P2P flow optimization service unit with P2P flow optimization service unit.
The concrete ins and outs of method embodiment shown in Figure 7 are described in said system embodiment, repeat no more herein.
In another embodiment of the present invention, on the basis of above-mentioned method embodiment shown in Figure 7, this method can also comprise:
Send registration message, the information of carrying the P2P application apparatus in this registration message, for example title of P2P application apparatus and IP address to the information on services register device;
When the P2P flow optimization information on services of storing in the information on services register device changes, receive the P2P flow optimization information on services from the information on services register device.
Fig. 8 is the device rough schematic view that is used for finding the service of P2P flow optimization in the one embodiment of the invention, and as shown in Figure 8, this device comprises first communication module 802 and second communication module 804.Wherein, first communication module 802 is used for sending inquiry request message to the information on services register device, and receives the query response message from the information on services register device, carries P2P flow optimization information on services in the query response message.Second communication module 804 is used for communicating with P2P flow optimization service unit, the corresponding above-mentioned P2P flow optimization information on services of P2P flow optimization service unit.
The concrete ins and outs of device embodiment shown in Figure 8 are described in said system embodiment, repeat no more herein.Shown in Figure 8 only is example, and wherein first communication module 802 and 804 can be integrated into a unit.
In another embodiment of the present invention, on the basis of above-mentioned device embodiment shown in Figure 8, in this device, first communication module 802 can also be used for sending registration message to the information on services register device, carry the information of device shown in Figure 8 in this registration message, for example the title of device shown in Figure 8 and IP address.
Fig. 9 is used for finding P2P flow optimization service method flow chart among another embodiment of the present invention, as shown in Figure 9, this method comprises:
902, start the service of P2P flow optimization;
904, send registration message to the information on services register device, carry P2P flow optimization information on services in this registration message.
The concrete ins and outs of method embodiment shown in Figure 9 are described in said system embodiment, repeat no more herein.
Figure 10 is the device rough schematic view that is used for finding the service of P2P flow optimization in the one embodiment of the invention, and as shown in figure 10, this device comprises: start module 1002 and communication module 1004.Wherein, start module 1002 and be used for starting the service of P2P flow optimization; After starting the service of P2P flow optimization, communication module 1004 is used for sending registration message, carries P2P flow optimization information on services in this registration message.
The concrete ins and outs of device embodiment shown in Figure 10 are described in said system embodiment, repeat no more herein.Shown in Figure 10 only is example, wherein starts module 1002 and communication module 1004 and can be integrated into a unit.
Part steps in the embodiment of the invention can utilize software to realize, corresponding software program can be stored in the storage medium that can read, as CD or hard disk etc.
The discovery mechanism of the P2P flow optimization service that provides in the embodiment of the invention can be realized easily so that the P2P application apparatus is found P2P flow optimization service unit automatically, and is succinct efficient.In addition, the information on services register device can divide centralized or distributed deployment according to actual conditions, implements flexibly.And, in the some embodiments of the invention, when new P2P flow optimization service starts or service when changing, P2P flow optimization information on services after the information on services register device can change to P2P application apparatus notice, therefore can realize quick renewal, can reduce transinformation, be easy to safeguard.The scheme that adopts the embodiment of the invention to provide, it is fast to satisfy the network renewal speed, and service is brought in constant renewal in, and uses the demand under this class situation that emerges in an endless stream
The above; only for the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, and anyly is familiar with the people of this technology in the disclosed technical scope of the present invention; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.