CN102904933B - P2P (Peer-to-Peer) traffic dredging and optimizing network system - Google Patents
P2P (Peer-to-Peer) traffic dredging and optimizing network system Download PDFInfo
- Publication number
- CN102904933B CN102904933B CN201210361004.3A CN201210361004A CN102904933B CN 102904933 B CN102904933 B CN 102904933B CN 201210361004 A CN201210361004 A CN 201210361004A CN 102904933 B CN102904933 B CN 102904933B
- Authority
- CN
- China
- Prior art keywords
- network
- client
- application
- rsp
- regional
- 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
Links
- 238000005457 optimization Methods 0.000 claims abstract description 68
- 230000003370 grooming effect Effects 0.000 claims description 10
- 238000004891 communication Methods 0.000 claims description 7
- 238000012545 processing Methods 0.000 abstract description 14
- 238000004364 calculation method Methods 0.000 abstract description 12
- 230000007547 defect Effects 0.000 abstract description 6
- 230000002452 interceptive effect Effects 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 12
- 238000000034 method Methods 0.000 description 11
- 230000008569 process Effects 0.000 description 8
- 238000005516 engineering process Methods 0.000 description 7
- 230000005540 biological transmission Effects 0.000 description 6
- 230000006870 function Effects 0.000 description 5
- 238000011217 control strategy Methods 0.000 description 4
- 230000003993 interaction Effects 0.000 description 3
- 238000007619 statistical method Methods 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 238000004422 calculation algorithm Methods 0.000 description 2
- 230000004807 localization Effects 0.000 description 2
- 238000001824 photoionisation detection Methods 0.000 description 2
- PIGFYZPCRLYGLF-UHFFFAOYSA-N Aluminum nitride Chemical compound [Al]#N PIGFYZPCRLYGLF-UHFFFAOYSA-N 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 239000012634 fragment Substances 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000012552 review Methods 0.000 description 1
- 230000011664 signaling Effects 0.000 description 1
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
本发明提供一种P2P流量疏导优化网络系统,包括骨干网,以及与骨干网通信连接的多个城域网;骨干网包括COS和全国P2P应用服务器;城域网包括相互通信连接的多个P2P客户端、RSP和区域P2P应用服务器。该系统在骨干网和城域网分别设置COS和RSP,通过RSP收集本区域内的网络信息并进行本区域的优化计算,为P2P客户端提供本区域的优化处理结果;通过COS收集各区域的网络信息并进行全国范围的优化计算,为P2P客户端提供全国范围的优化处理结果;P2P客户端根据优化处理结果进行所申请应用业务的节点连接,避免因无序连接带来的缺陷,进行数据交互的节点是经过优化计算获得的,可充分利用本地资源,节省网络带宽,提高P2P业务质量。
The present invention provides a network system for P2P flow dredging optimization, which includes a backbone network and a plurality of metropolitan area networks communicating with the backbone network; the backbone network includes COS and national P2P application servers; the metropolitan area network includes multiple P2P Client, RSP and regional P2P application server. The system sets COS and RSP respectively on the backbone network and the metropolitan area network, collects network information in the region through RSP and performs optimization calculations in the region, and provides optimization processing results in the region for P2P clients; Network information and conduct nationwide optimization calculations to provide nationwide optimization processing results for P2P clients; P2P clients connect the nodes of the applied application business according to the optimization processing results to avoid defects caused by disorderly connections and perform data processing. The interactive nodes are obtained through optimized calculation, which can make full use of local resources, save network bandwidth, and improve P2P service quality.
Description
技术领域 technical field
本发明涉及P2P技术,尤其涉及一种P2P流量疏导优化网络系统。The present invention relates to P2P technology, in particular to a P2P flow grooming and optimization network system.
背景技术 Background technique
随着点对点(Peer-to-Peer;以下简称:P2P)技术的迅速发展,在此基础上开发的文件下载、流媒体直播、点播等业务极大的丰富了互联网的业务应用和用户的娱乐体验。With the rapid development of peer-to-peer (Peer-to-Peer; hereinafter referred to as: P2P) technology, services such as file download, live streaming, and on-demand services developed on this basis have greatly enriched Internet business applications and user entertainment experience. .
但是由于P2P技术过于强调“对等”,即每个节点之间的交换完全是无序的。例如一个北京的用户,既可能和广州的用户进行文件片段的交换,也可能和远在美国的某用户进行交换。显然,无序的交换将导致无谓的跨地区甚至是跨国的流量。现有技术中,P2P无序连接的特性会占用运营商大量的网络带宽,网络资源没有得到较好的利用。But because P2P technology puts too much emphasis on "peer-to-peer", that is, the exchange between each node is completely out of order. For example, a user in Beijing may exchange file fragments with a user in Guangzhou, or exchange with a user in the United States. Obviously, disorderly exchanges will lead to unnecessary traffic across regions or even across borders. In the prior art, the characteristic of P2P out-of-order connection will occupy a large amount of network bandwidth of the operator, and network resources are not well utilized.
发明内容 Contents of the invention
本发明针对现有技术的缺陷,提供一种P2P流量疏导优化网络系统,包括:骨干网,以及与所述骨干网通信连接的多个城域网;所述骨干网内包括中心优化服务器COS和全国P2P应用服务器;所述城域网内包括相互通信连接的多个P2P客户端、区域服务点RSP和区域P2P应用服务器;Aiming at the defects of the prior art, the present invention provides a P2P flow dredging optimization network system, including: a backbone network, and a plurality of metropolitan area networks connected to the backbone network; the backbone network includes a central optimization server COS and A national P2P application server; the metropolitan area network includes a plurality of P2P clients connected to each other, a regional service point RSP and a regional P2P application server;
其中,所述RSP用于获取所在城域网的网络信息,并生成所在城域网的区域网络策略,以及将所述网络信息上传给所述COS;所述COS用于根据各RSP上传的网络信息生成全国网络策略;所述网络信息包括所在城域网内的RSP、区域P2P应用服务器和P2P客户端的IP地址的集合,以及能够反映所在城域网内各条链路综合性能的链路信息;所述区域网络策略为所述RSP根据所在城域网的网络信息获得的区域节点排序列表,所述区域节点排序列表包括发起应用请求的P2P客户端与所在城域网中各邻居节点之间的网络连接参数值;所述全国网络策略为所述COS根据各PSR上传的网络信息获得的全国节点排序列表,所述全国节点排序列表包括发起应用请求的P2P客户端与各城域网中邻居节点之间的网络连接参数值;Wherein, the RSP is used to obtain the network information of the MAN where it is located, and generate the regional network policy of the MAN where it is located, and upload the network information to the COS; the COS is used to The information generates a national network strategy; the network information includes the collection of IP addresses of RSPs in the metropolitan area network, regional P2P application servers and P2P clients, and link information that can reflect the comprehensive performance of each link in the metropolitan area network ; The area network strategy is the area node ranking list obtained by the RSP according to the network information of the metropolitan area network where it is located, and the area node sorting list includes the relationship between the P2P client that initiates the application request and each neighbor node in the metropolitan area network where it is located The network connection parameter value; the national network policy is the national node sorting list obtained by the COS according to the network information uploaded by each PSR, and the national node sorting list includes the P2P client that initiates the application request and the neighbors in each metropolitan area network Network connection parameter values between nodes;
在所述区域P2P应用服务器和所述全国P2P应用服务器分别判断获知P2P客户端所发起的应用请求对应的应用内容不属于区域热点内容和全国热点内容后,若所述P2P客户端所在的城域网内存在能够提供所述应用内容的邻居节点,则由所述RSP在所述区域节点排序列表中获取具有最小网络连接参数值的目标邻居节点;若所述P2P客户端所在的城域网内不存在能够提供所述应用内容的邻居节点,则由所述COS在所述全国节点排序列表中获取具有最小网络连接参数值的目标邻居节点;After the regional P2P application server and the national P2P application server determine and learn that the application content corresponding to the application request initiated by the P2P client does not belong to the regional hot content and the national hot content, if the metropolitan area where the P2P client is located If there is a neighbor node in the network that can provide the application content, the RSP will obtain the target neighbor node with the smallest network connection parameter value in the regional node ranking list; if the P2P client is located in the metropolitan area network If there is no neighbor node that can provide the application content, the COS obtains the target neighbor node with the smallest network connection parameter value from the national node sorting list;
所述RSP和所述COS还用于将所述目标邻居节点的地址信息发送给所述P2P客户端,以供所述P2P客户端与所述目标邻居节点进行所述应用内容的传输。The RSP and the COS are further configured to send the address information of the target neighbor node to the P2P client, so that the P2P client can transmit the application content with the target neighbor node.
如上所述的P2P流量疏导优化网络系统中,所述城域网内还包括:In the above-mentioned P2P flow grooming optimization network system, the metropolitan area network also includes:
高速缓冲存储器Cache,分别与所述P2P客户端、所述RSP和所述区域P2P应用服务器通信连接;The high-speed cache memory Cache is respectively connected to the P2P client, the RSP and the regional P2P application server in communication;
所述高速缓冲存储器Cache中存储有所述区域P2P应用服务器发送的区域热点内容和所述全国P2P应用服务器发送的全国热点内容。The regional hot content sent by the regional P2P application server and the national hot content sent by the national P2P application server are stored in the cache.
如上所述的P2P流量疏导优化网络系统中,若所述区域P2P应用服务器判断获知所述应用内容属于区域热点内容,或者所述全国P2P应用服务器判断获知所述应用内容属于全国热点内容,则所述RSP还用于将所述高速缓冲存储器Cache的地址信息发送给所述P2P客户端,以供所述P2P客户端与所述高速缓冲存储器Cache进行所述应用内容的传输。In the above-mentioned P2P traffic grooming optimization network system, if the regional P2P application server determines that the application content belongs to the regional hot content, or the national P2P application server determines that the application content belongs to the national hot content, then the The RSP is further configured to send the address information of the cache memory Cache to the P2P client, so that the P2P client and the cache memory Cache can transmit the application content.
如上所述的P2P流量疏导优化网络系统中,所述P2P客户端包括tracker服务器或P2P用户终端。In the P2P traffic grooming optimization network system described above, the P2P client includes a tracker server or a P2P user terminal.
如上所述的P2P流量疏导优化网络系统中,所述P2P客户端还用于向DNS服务器发起域名解析请求,接收所述DNS服务器返回的所在城域网内RSP的地址信息,并根据所述地址信息向所述RSP发送接入请求。In the above-mentioned P2P traffic grooming optimization network system, the P2P client is also used to initiate a domain name resolution request to the DNS server, receive the address information of the RSP in the metropolitan area network returned by the DNS server, and according to the address The message sends an access request to the RSP.
本发明实施例提供的P2P流量疏导优化网络系统在骨干网和城域网分别设置中心优化服务器和区域服务点,通过RSP收集本区域内的网络信息并进行本区域的优化计算,为P2P客户端提供本区域的优化处理结果;通过COS收集各区域的网络信息并进行全国范围的优化计算,为P2P客户端提供全国范围的优化处理结果;P2P客户端根据优化处理结果进行所申请应用业务的节点连接,避免了现有技术中P2P无序连接特性所带来的缺陷,进行数据交互的节点是经过优化计算获得的,如此能够充分并合理地利用本地资源,节省网络带宽,提高P2P业务质量。The P2P flow dredging optimization network system provided by the embodiment of the present invention sets up a central optimization server and a regional service point in the backbone network and the metropolitan area network respectively, collects network information in the local area through the RSP and performs optimization calculation in the local area, and serves as a P2P client Provide optimization processing results in this area; collect network information in various regions through COS and perform nationwide optimization calculations, and provide nationwide optimization processing results for P2P clients; P2P clients perform application business nodes based on optimization processing results The connection avoids the defects caused by the P2P out-of-order connection characteristics in the prior art, and the nodes for data interaction are obtained through optimized calculations, so that local resources can be fully and reasonably used, network bandwidth is saved, and P2P service quality is improved.
附图说明 Description of drawings
图1为本发明P2P流量疏导优化网络系统实施例组成示意图;Fig. 1 is a schematic diagram of the composition of an embodiment of the P2P traffic grooming optimization network system of the present invention;
图2为本发明实施例P2P客户端的服务发现流程示意图;FIG. 2 is a schematic diagram of a service discovery process of a P2P client according to an embodiment of the present invention;
图3为本发明实施例P2P客户端的应用请求流程示意图;3 is a schematic diagram of an application request flow of a P2P client according to an embodiment of the present invention;
图4为本发明实施例区域Cache服务流程示意图;FIG. 4 is a schematic diagram of a regional Cache service flow in an embodiment of the present invention;
图5为本发明实施例全国Cache服务流程示意图;Fig. 5 is a schematic diagram of the national Cache service process of the embodiment of the present invention;
图6为本发明实施例优化服务流程示意图。FIG. 6 is a schematic diagram of an optimization service flow according to an embodiment of the present invention.
具体实施方式 Detailed ways
本发明各实施例针对现有技术中因P2P技术无序连接特性所带来的缺陷,提供一种适合运营商的P2P流量疏导优化系统,该系统能够根据自身网络实际状况来改进网络资源的使用效率,保障P2P的应用性能,给用户以良好体验。Various embodiments of the present invention aim at the defects caused by the out-of-order connection characteristics of P2P technology in the prior art, and provide a P2P traffic grooming optimization system suitable for operators, which can improve the use of network resources according to the actual situation of its own network Efficiency, guarantee the application performance of P2P, and give users a good experience.
图1为本发明P2P流量疏导优化网络系统实施例组成示意图,如图1所示,该系统包括骨干网1和城域网2,其中城域网2可以为多个,骨干网1和城域网2可以通过路由设备通信连接。骨干网1内包括中心优化服务器COS11和全国P2P应用服务器12,每个城域网2均可以包括P2P客户端23、区域服务点RSP21和区域P2P应用服务器22,其中P2P客户端23可以为多个,P2P客户端23、区域服务点RSP21和区域P2P应用服务器22之间通信连接。图1中的虚线表示接口信令,实线表示数据传输。Figure 1 is a schematic diagram of the composition of an embodiment of the P2P traffic grooming and optimization network system embodiment of the present invention. Network 2 can be connected through a routing device for communication. The backbone network 1 includes a central optimization server COS11 and a national P2P application server 12, and each metropolitan area network 2 can include a P2P client 23, a regional service point RSP21 and a regional P2P application server 22, wherein the P2P client 23 can be multiple , the communication connection between the P2P client 23, the regional service point RSP21 and the regional P2P application server 22. The dotted line in Figure 1 represents interface signaling, and the solid line represents data transmission.
其中,RSP21用于获取所在城域网2的网络信息,并生成所在城域网2的区域网络策略,以及将所述网络信息上传给COS11;COS11用于根据各RSP21上传的网络信息生成全国网络策略。具体地,RSP21负责进行本区域内的网络信息的收集和本区域的优化计算,并响应P2P客户端23发出的优化请求,指导P2P客户端23更优化的进行连接和数据传输。COS11负责收集各区域的网络信息和全国范围的优化计算,并将优化结果发送给RSP21以供其响应P2P客户端23发出的优化请求。P2P客户端23通过得到的优化结果进行节点选择;另外,P2P客户端23还可以具备优化服务发现能力。根据P2P应用的结构差异,P2P客户端23可以是应用的索引(tracker)服务器或是P2P用户终端。Among them, RSP21 is used to obtain the network information of the metropolitan area network 2 where it is located, and generate the regional network strategy of the metropolitan area network 2 where it is located, and upload the network information to COS11; COS11 is used to generate the national network according to the network information uploaded by each RSP21 Strategy. Specifically, RSP21 is responsible for collecting network information in the local area and optimizing calculation in the local area, and responding to the optimization request sent by the P2P client 23, guiding the P2P client 23 to perform connection and data transmission more optimally. COS11 is responsible for collecting network information of each region and nationwide optimization calculation, and sending the optimization result to RSP21 for it to respond to the optimization request sent by P2P client 23. The P2P client 23 selects nodes according to the obtained optimization results; in addition, the P2P client 23 may also have optimization service discovery capabilities. According to structural differences of P2P applications, the P2P client 23 may be an application index (tracker) server or a P2P user terminal.
P2P客户端23在以下情形需要请求系统相关服务:例如P2P节点在加入P2P覆盖网络,进行邻居节点选择时,请求优化服务提供网络信息来选择最优的邻居节点;P2P节点在进行数据传输,选择源节点或目的节点时,请求优化服务提供最优的源节点或目的节点;从优化服务申请网络提供的其他优化服务,如高速缓冲存储器cache数据加速业务等。The P2P client 23 needs to request system-related services in the following situations: For example, when a P2P node joins a P2P overlay network and selects a neighbor node, it requests an optimization service to provide network information to select the best neighbor node; When the source node or the destination node, request the optimization service to provide the optimal source node or destination node; apply for other optimization services provided by the network from the optimization service, such as cache memory cache data acceleration services, etc.
设置在城域网内的RSP可以包括以下两类接口:接口A是与城域网(即承载网络)之间的接口,实现收集的网络信息输入,可以静态输入或实时更新网络状态信息。接口B即协议接口,是与P2P客户端之间的接口,P2P客户端提交优化请求,RSP通过该接口响应P2P应用的请求,输出优化响应和结果。The RSP set in the MAN can include the following two types of interfaces: Interface A is an interface with the MAN (i.e., the bearer network), which realizes the input of collected network information, and can statically input or update network status information in real time. Interface B is the protocol interface, which is the interface with the P2P client. The P2P client submits an optimization request, and the RSP responds to the request of the P2P application through this interface, and outputs an optimization response and result.
为了便于部署和实际使用,本发明实施例提供的系统将运营商优化服务实现分为中心优化服务器(COS)和区域服务点(RSP)两个实体。COS包括以下功能模块:网络信息库、资源管理、优化决策、统计分析;其中:In order to facilitate deployment and practical use, the system provided by the embodiment of the present invention divides operator optimization service implementation into two entities, a central optimization server (COS) and a regional service point (RSP). COS includes the following functional modules: network information base, resource management, optimization decision-making, statistical analysis; among them:
a、网络信息库:主要包括以下几种:a. Network information base: mainly includes the following:
1)网络拓扑:网络拓扑的粒度分为AS级、POP级、路由器级等。1) Network topology: the granularity of network topology is divided into AS level, POP level, router level, etc.
2)链路带宽:网络链路的带宽参数,反映了链路代价。2) Link bandwidth: the bandwidth parameter of the network link, which reflects the link cost.
3)网络状态:链路的使用现状和网络性能,一般为动态参数。3) Network status: the current status of link usage and network performance, generally dynamic parameters.
4)网络使用策略:网络运营商配置的网络使用偏好。4) Network usage policy: the network usage preference configured by the network operator.
在实现时可以选择上述一种或几种网络信息。One or more of the above network information can be selected during implementation.
b、资源管理:负责综合管理优化系统中的信息资源,包括:b. Resource management: Responsible for comprehensive management and optimization of information resources in the system, including:
对收集的承载网信息进行管理,包括新建、修改、删除这类信息。Manage the collected bearer network information, including creating, modifying, and deleting such information.
对控制策略库进行管理,包括新建、修改、删除策略等操作。Manage the control strategy library, including operations such as creating, modifying, and deleting strategies.
对系统Cache的管理。Management of the system Cache.
c、优化决策:通过承载网络信息和控制策略,根据优化算法进行优化处理,生成优化策略。c. Optimizing decision-making: By carrying network information and control strategies, it performs optimization processing according to optimization algorithms to generate optimization strategies.
d、统计分析:对收集的信息和历史记录进行统计和分析,结果可用于指导策略管理以及帮助网络运营商进行流量工程。d. Statistical analysis: statistics and analysis are carried out on the collected information and historical records, and the results can be used to guide policy management and help network operators to carry out traffic engineering.
RSP包括上述的网络信息库、资源管理和统计分析功能模块外,还包括以下其他的功能模块:控制策略库、Cache管理和服务控制功能;其中:In addition to the above-mentioned network information library, resource management and statistical analysis function modules, RSP also includes the following other function modules: control strategy library, Cache management and service control functions; among them:
e、控制策略库:主要是为系统优化服务节点在接收到输入的请求时提供决策依据。如针对不同类型、不同需求和不同权限的P2P应用可以设置不同的服务策略,如开放何种网络信息,根据哪些网络信息进行优化等。运营商根据网络的状况或者网络突发情况进行设置或即时处理。e. Control strategy library: mainly to provide decision-making basis for system optimization service nodes when receiving input requests. For example, different service policies can be set for P2P applications of different types, different needs, and different permissions, such as what network information to open and what network information to optimize. Operators can set or deal with it in real time according to network conditions or network emergencies.
f、Cache管理:进行系统Cache的管理、配置工作。同时管理内容提供商在Cache中的内容上传,及用户对Cache中内容的下载。f. Cache management: manage and configure the system Cache. At the same time, it manages the uploading of the content in the Cache by the content provider and the downloading of the content in the Cache by the user.
g、服务控制:和客户端之间的接口,根据优化策略为P2P应用提供网络优化或信息服务。接收P2P应用输入的网络信息请求,输入信息可能包括请求的信息类型、P2P应用的标识、cache请求等,然后调用决策功能,返回满足策略和P2P应用需求的网络优化信息或者cache配置结果。g. Service control: The interface with the client provides network optimization or information services for P2P applications according to optimization strategies. Receive the network information request input by the P2P application. The input information may include the requested information type, P2P application identification, cache request, etc., and then call the decision function to return network optimization information or cache configuration results that meet the policy and P2P application requirements.
上述的RSP和COS分别生成区域和全国的网络策略进行优化处理,其中所根据的网络信息根据不同的实现是网络信息库中的一种或几种信息,本实施包括城域网内的RSP、区域P2P应用服务器和P2P客户端的IP地址的集合,以及能够反映所在城域网内各条链路综合性能的链路信息。链路信息是指本区域内各条链路的分值,该分值是根据运营商角度考察的带宽、拥塞程度、丢包率、链路费用等信息的综合评分,分值越小表示链路综合性能越好,可以更多的使用。同时,链路信息还应包括链路带宽占用的实时情况,定时上报中心优化服务器COS。The above-mentioned RSP and COS respectively generate regional and national network strategies for optimization processing. The network information based therein is one or several types of information in the network information base according to different implementations. This implementation includes RSP in the metropolitan area network, A collection of IP addresses of regional P2P application servers and P2P clients, and link information that can reflect the comprehensive performance of each link in the MAN. Link information refers to the score of each link in the area. The score is a comprehensive score based on information such as bandwidth, congestion level, packet loss rate, and link cost from the perspective of the operator. The smaller the score, the better the link. The better the overall performance of the road, the more it can be used. At the same time, the link information should also include the real-time status of the link bandwidth occupation, which is regularly reported to the central optimization server COS.
系统中每一个实体例如RSP、COS、P2P客户端、Cache、区域P2P应用服务器和全国P2P应用服务器均具有各自的网络标识号PID;PDistance表示PID之间的网络连接参数,该参数可以是路由开销、路由跳数、地理距离等,该参数可根据承载网络的网络信息、链路信息、运营商策略等信息通过一定的算法进行综合计算得出。相应地,所述的区域网络策略为RSP根据所在城域网的网络信息获得的区域节点排序列表,所述区域节点排序列表包括发起应用请求的P2P客户端与所在城域网中各邻居节点之间的网络连接参数值即PDistance值;所述的全国网络策略为COS根据各RSP上传的网络信息获得的全国节点排序列表,所述的全国节点排序列表包括发起应用请求的P2P客户端与各城域网中邻居节点之间的网络连接参数值即PDistance值。对应地优化选择结果为依据综合计算出的节点排序列选择PDistance值最小的节点进行连接。Each entity in the system such as RSP, COS, P2P client, Cache, regional P2P application server and national P2P application server has its own network identification number PID; PDistance indicates the network connection parameters between PIDs, which can be the routing cost , route hop count, geographical distance, etc., this parameter can be calculated comprehensively based on the network information, link information, operator policy and other information of the bearer network through a certain algorithm. Correspondingly, the regional network strategy is an area node sorting list obtained by the RSP according to the network information of the metropolitan area network where the RSP is located, and the regional node sorting list includes the relationship between the P2P client that initiates the application request and each neighbor node in the metropolitan area network where it is located. The value of the network connection parameter among them is the PDistance value; the national network strategy is a national node sorting list obtained by COS according to the network information uploaded by each RSP, and the national node sorting list includes the P2P client that initiated the application request and each city The network connection parameter value between neighboring nodes in the domain network is the PDistance value. Correspondingly, the optimal selection result is to select the node with the smallest PDistance value for connection according to the comprehensively calculated node sorting column.
具体地,区域P2P应用服务器22接收P2P客户端23发送的P2P应用请求后,要先判断应用请求对应的应用内容是否为区域热点内容,若不是,则转由全国P2P应用服务器12判断是否为全国热点内容,若也不是,则由RSP21判断所在城域网2内是否存在节点能够提供应用请求对应的应用内容,若存在,则RSP在根据本区域的网络信息而获得的区域节点排序列表中查找网络连接参数值最小的节点,并将其作为目标邻居节点;若本区域内不存在能够提供应用内容的节点,则由COS11在获得的全国节点排序列表中查找网络连接参数值最小的节点,并将其作为目标邻居节点。RSP内存储有本区域内各节点所能够提供内容的信息,并且将该信息上传给COS,COS可以获知各区域内所有节点能够提供内容的信息。在获取到目标邻居节点后,RSP将该由所述COS在所述全国节点排序列表中获取具有最小网络连接参数值的目标邻居节点的地址信息例如IP地址发送给发起P2P应用请求的P2P客户端,以供该P2P客户端与该目标邻居节点之间建立通信连接以进行所需应用内容的传输。Specifically, after the regional P2P application server 22 receives the P2P application request sent by the P2P client 23, it must first determine whether the application content corresponding to the application request is a regional hot content. Hot content, if not, then RSP21 will judge whether there is a node in the metropolitan area network 2 that can provide the application content corresponding to the application request, if so, RSP will search in the regional node sorting list obtained according to the network information of the region The node with the smallest value of the network connection parameter is used as the target neighbor node; if there is no node in the area that can provide application content, COS11 searches for the node with the smallest value of the network connection parameter in the obtained national node sorting list, and Take it as the target neighbor node. RSP stores information about the content that each node in the area can provide, and uploads the information to COS, and COS can learn the information about the content that all nodes in each area can provide. After acquiring the target neighbor node, the RSP sends the address information, such as the IP address, of the target neighbor node with the minimum network connection parameter value acquired by the COS in the national node sorting list to the P2P client that initiates the P2P application request , for establishing a communication connection between the P2P client and the target neighbor node for transmission of required application content.
本发明实施例提供的P2P流量疏导优化网络系统在骨干网和城域网分别设置中心优化服务器和区域服务点,通过RSP收集本区域内的网络信息并进行本区域的优化计算,为P2P客户端提供本区域的优化处理结果;通过COS收集各区域的网络信息并进行全国范围的优化计算,为P2P客户端提供全国范围的优化处理结果;P2P客户端根据优化处理结果进行相关业务,避免了现有技术中P2P无序连接特性所带来的缺陷,进行数据交互的节点是经过优化计算获得的,如此能够充分并合理地利用本地资源,节省网络带宽,提高P2P业务质量。The P2P flow dredging optimization network system provided by the embodiment of the present invention sets up a central optimization server and a regional service point in the backbone network and the metropolitan area network respectively, collects network information in the local area through the RSP and performs optimization calculation in the local area, and serves as a P2P client Provide optimization processing results in this area; collect network information in various regions through COS and perform nationwide optimization calculations, and provide nationwide optimization processing results for P2P clients; There are defects caused by P2P out-of-order connection characteristics in the technology, and the nodes for data interaction are obtained through optimized calculations, so that local resources can be fully and reasonably used, network bandwidth is saved, and P2P service quality is improved.
如图1所示,在上述实施例提供的P2P流量疏导优化网络系统中还可以包括高速缓冲存储器Cache24,即在每一个城域网2内均设置至少一个的Cache24,用于存储区域热点内容和全国热点内容,所述区域热点内容即为本城域网内由区域P2P应用服务器22提供的热点内容供本区域内的所有节点共享。所述全国热点内容为全国P2P应用服务器12提供的热点内容同样供本区域内的所有节点共享。Cache24分别与所在城域网2内设置的P2P客户端23、RSP21和区域P2P应用服务器22通信连接。As shown in Figure 1, in the P2P traffic dredging optimization network system that above-mentioned embodiment provides, can also comprise high-speed cache memory Cache24, promptly all arranges at least one Cache24 in each metropolitan area network 2, is used for storing area hotspot content and The national hot content, the regional hot content is the hot content provided by the regional P2P application server 22 in the local metropolitan area network for all nodes in the local area to share. The national hot content is the hot content provided by the national P2P application server 12, which is also shared by all nodes in the local area. The Cache 24 communicates with the P2P client 23 , the RSP 21 and the regional P2P application server 22 set in the MAN 2 respectively.
本发明实施例提供的系统充分结合现有的Cache技术,Cache内存储全国及本区域内的热点内容,用户在请求P2P应用时,首先选择Cache应用,从Cache上下载数据,达到Cache应用其加速分发和流量本地化的目的。本系统充分利用运营商自身的优势,可支持大量数据的同时上传和下载,也能支持网络提供的P2P应用软件和应用层的反馈。The system provided by the embodiment of the present invention is fully combined with the existing Cache technology. The hot content in the whole country and in the region is stored in the Cache. When the user requests a P2P application, he first selects the Cache application and downloads data from the Cache to achieve the acceleration of the Cache application. Distribution and traffic localization purposes. This system makes full use of the operator's own advantages, can support simultaneous uploading and downloading of a large amount of data, and can also support P2P application software and application layer feedback provided by the network.
以下结合具体流程详细介绍本发明系统中各实体所具有的功能以及在各处理流程中的信息交互情况。The functions of each entity in the system of the present invention and the information interaction in each processing flow will be introduced in detail below in conjunction with the specific flow.
图2为本发明实施例P2P客户端的服务发现流程示意图,对于本系统中的P2P客户端,需要利用机制使其发现网络中的应用优化服务端,并具体定位到其区域内的区域服务点RSP,然后通过该RSP接入该系统以获得业务服务。本系统使用域名系统(Domain Name System;简称:DNS)方式来实现此服务发现的全过程,如图2所示,该流程包括如下步骤:Figure 2 is a schematic diagram of the service discovery process of the P2P client in the embodiment of the present invention. For the P2P client in this system, it is necessary to use a mechanism to make it discover the application optimization server in the network, and specifically locate the regional service point RSP in its area , and then access the system through the RSP to obtain business services. This system uses Domain Name System (Domain Name System; DNS for short) to realize the whole process of service discovery, as shown in Figure 2, the process includes the following steps:
步骤200、P2P客户端向DNS服务器发起域名解析请求;Step 200, the P2P client initiates a domain name resolution request to the DNS server;
步骤201、DNS服务器解析域名得到所在城域网的区域服务点RSP的IP地址,并将该IP地址返回给P2P客户端;Step 201, the DNS server resolves the domain name to obtain the IP address of the regional service point RSP of the MAN, and returns the IP address to the P2P client;
步骤202、P2P客户端根据该IP地址,向RSP发出接入请求;Step 202, the P2P client sends an access request to the RSP according to the IP address;
步骤203、RSP根据P2P客户端的接入请求,判断P2P客户端是否合法,若合法,则将判断结果返回给P2P客户端,P2P客户端接入P2P流量疏导优化网络系统。Step 203 , the RSP judges whether the P2P client is legal according to the access request of the P2P client, and if so, returns the judgment result to the P2P client, and the P2P client accesses the P2P traffic grooming and optimization network system.
图3为本发明实施例P2P客户端的应用请求流程示意图,如图3所示,该流程包括如下步骤:Fig. 3 is a schematic diagram of the application request flow of the P2P client in the embodiment of the present invention. As shown in Fig. 3, the flow includes the following steps:
步骤300、P2P客户端向本区域P2P应用服务器发送应用请求;Step 300, the P2P client sends an application request to the local P2P application server;
步骤301、本区域P2P应用服务器判断该应用请求对应的应用内容是否为本区域热点内容,若是,则执行步骤302;若不是,则执行步骤304;Step 301, the P2P application server in the local area judges whether the application content corresponding to the application request is a hot content in the local area, if yes, execute step 302; if not, execute step 304;
步骤302、本区域P2P应用服务器把该应用请求发送给本区域的RSP;Step 302, the P2P application server in the local area sends the application request to the RSP in the local area;
步骤303、RSP把结果返回至用户终端,P2P客户端请求区域Cache服务;Step 303, the RSP returns the result to the user terminal, and the P2P client requests the regional Cache service;
所述的结果可以为通知P2P客户端其所请求的内容为区域热点内容,接下来可以进行区域Cache请求,以获取所需要的应用内容。P2P客户端请求区域Cache服务的具体流程可以参见图4。The result may be to notify the P2P client that the requested content is regional hot content, and then perform a regional Cache request to obtain the required application content. Refer to FIG. 4 for the specific flow of the P2P client requesting the regional Cache service.
步骤304、本区域P2P应用服务器把该应用请求发送给全国P2P应用服务器;Step 304, the regional P2P application server sends the application request to the national P2P application server;
步骤305、全国P2P应用服务器判断该应用请求对应的应用内容是否为全国热点内容,若是,则执行步骤306;若不是,则执行步骤308;Step 305, the national P2P application server judges whether the application content corresponding to the application request is national hot content, if so, execute step 306; if not, execute step 308;
步骤306、全国P2P应用服务器把该应用请求发送给本区域的RSP;Step 306, the national P2P application server sends the application request to the RSP in the region;
步骤307、RSP把结果返回至用户终端,P2P客户端请求全国Cache服务;Step 307, the RSP returns the result to the user terminal, and the P2P client requests the nationwide Cache service;
所述的结果可以为通知P2P客户端其所请求的内容为全国热点内容,接下来可以进行全国Cache请求,以获取所需要的应用内容。P2P客户端请求全国Cache服务的具体流程可以参见图5。The result may be to notify the P2P client that the requested content is national hot content, and then a national Cache request may be made to obtain the required application content. Refer to Figure 5 for the specific process of the P2P client requesting the national cache service.
步骤308、将不是热点内容的判断结果返回本区域的RSP;Step 308, return the judgment result that it is not a hot content to the RSP in this area;
步骤309、RSP将结果返回给P2P客户端,P2P客户端请求优化服务。Step 309, the RSP returns the result to the P2P client, and the P2P client requests the optimization service.
P2P客户端请求优化服务的具体流程可以参见图6。Refer to FIG. 6 for the specific flow of the P2P client requesting the optimization service.
图4为本发明实施例区域Cache服务流程示意图,如图4所示,该流程包括如下步骤:FIG. 4 is a schematic diagram of a regional Cache service flow in an embodiment of the present invention. As shown in FIG. 4 , the flow includes the following steps:
步骤400、区域P2P应用服务器把本区域热点内容上传到Cache中;Step 400, the regional P2P application server uploads the hot content in the region to the Cache;
步骤401、P2P客户端向RSP请求区域Cache服务;Step 401, the P2P client requests the regional Cache service from the RSP;
步骤402、RSP将本区域Cache的IP地址返回给P2P客户端;Step 402, RSP returns the IP address of the Cache in this area to the P2P client;
步骤403、P2P客户端连接该Cache,并请求数据;Step 403, the P2P client connects to the Cache and requests data;
步骤404、本区域的Cache向P2P客户端传输数据。Step 404, the Cache in the local area transmits data to the P2P client.
图5为本发明实施例全国Cache服务流程示意图,如图5所示,该流程包括如下步骤:Fig. 5 is a schematic diagram of the national Cache service process of the embodiment of the present invention. As shown in Fig. 5, the process includes the following steps:
步骤500、全国P2P应用服务器把全国热点内容上传到每个区域的Cache中;Step 500, the national P2P application server uploads the national hotspot content to the Cache of each region;
步骤501、P2P客户端向RSP请求全国Cache服务;Step 501, the P2P client requests the national Cache service from the RSP;
步骤502、RSP向COS进行审查;Step 502, RSP checks with COS;
步骤503、COS审查通过;Step 503, the COS review is passed;
步骤504、RSP将本区域Cache的IP地址返回给P2P客户端;Step 504, RSP returns the IP address of the Cache in this area to the P2P client;
步骤505、P2P客户端连接本区域Cache,并请求数据;Step 505, the P2P client connects to the Cache in this area, and requests data;
步骤506、本区域Cache向P2P客户端传输数据。Step 506, the local Cache transmits data to the P2P client.
图6为本发明实施例优化服务流程示意图,如图6所示,该流程包括如下步骤:Fig. 6 is a schematic diagram of an optimized service flow in an embodiment of the present invention. As shown in Fig. 6, the flow includes the following steps:
步骤600、RSP收集本区域的网络信息,并把这些信息上传到COS;Step 600, the RSP collects the network information of the local area, and uploads the information to the COS;
步骤601、P2P客户端向本区域RSP发出优化请求,例如将该P2P客户端看成一个节点,那么请求对该节点的邻居列表进行排序,即对该节点与邻居节点的PDistance值进行排序形成列表;Step 601, the P2P client sends an optimization request to the RSP in the local area, for example, the P2P client is regarded as a node, and then the neighbor list of the node is requested to be sorted, that is, the PDistance values of the node and the neighbor nodes are sorted to form a list ;
步骤602、根据P2P客户端请求的不同P2P应用情况,结合本区域的网络信息情况,本区域RSP对该节点在本区域内的邻居节点的PDistance值进行计算并形成本区域的节点排序列表,这个列表即为本区域内的网络策略;Step 602, according to the different P2P application conditions requested by the P2P client, combined with the network information in the area, the RSP in the area calculates the PDistance values of the neighbor nodes of the node in the area and forms a node sorting list in the area. The list is the network policy in this area;
步骤603、本区域RSP判断所请求的应用内容是否在本区域的节点排序列表中,若在,则执行步骤604;如不在,则执行步骤606;Step 603, the local RSP judges whether the requested application content is in the node sorting list of the local area, if yes, execute step 604; if not, execute step 606;
步骤604、本区域RSP把包含该应用内容所有邻居节点的PDistance值最小的IP地址给P2P客户端;Step 604, the RSP in this area gives the P2P client the IP address with the smallest PDistance value of all neighbor nodes containing the application content;
步骤605、P2P客户端与该节点进行数据连接和传输;Step 605, the P2P client performs data connection and transmission with the node;
步骤606、本区域RSP把该请求上传至COS;Step 606, the local RSP uploads the request to COS;
步骤607、COS结合每个RSP上传的网络信息后获取全网网络信息,根据该信息进行优化计算得出该P2P客户端与网络中邻居节点之间的PDistance值列表;Step 607, COS combines the network information uploaded by each RSP to obtain the network information of the entire network, and optimizes and calculates the list of PDistance values between the P2P client and the neighbor nodes in the network according to the information;
步骤608、COS将目标区域P2P客户端所在目标区域的RSP的IP地址返回至本区域RSP;所述的目标区域P2P客户端即为含有P2P客户端所请求的应用内容的PDistance值最小的节点;Step 608, COS returns the IP address of the RSP in the target area where the P2P client in the target area is located to the local RSP; the P2P client in the target area is the node with the smallest PDistance value containing the application content requested by the P2P client;
步骤609、本区域RSP将目标区域P2P客户端所在目标区域RSP的IP地址返回至P2P客户端;Step 609, the RSP in the local area returns the IP address of the RSP in the target area where the P2P client in the target area is located to the P2P client;
步骤610、目标区域RSP接受P2P客户端的应用请求;Step 610, the target area RSP accepts the application request of the P2P client;
步骤611、目标区域RSP将目标区域P2P客户端的IP地址返回至P2P客户端;Step 611, the target area RSP returns the IP address of the target area P2P client to the P2P client;
步骤612、P2P客户端与该目标区域P2P客户端进行数据连接和传输。Step 612, the P2P client performs data connection and transmission with the P2P client in the target area.
本发明提供的P2P流量疏导优化系统,通过在骨干网和城域网分别设置中心优化服务器和区域服务点,来分别提供本区域或全国的优化处理结果,P2P客户端根据优化处理结果进行相关业务,由于所选择的目标节点是经过优化计算获得的,因此能够避免无序连接的缺陷,并充分合理地利用网络资源,节省网络带宽,提高P2P业务质量;而且通过结合Cache技术,实现大量数据传输的本地化。The P2P flow dredging optimization system provided by the present invention provides the optimization processing results of the local area or the whole country by respectively setting the central optimization server and the regional service point in the backbone network and the metropolitan area network, and the P2P client performs related business according to the optimization processing results , because the selected target node is obtained through optimized calculation, it can avoid the defect of out-of-order connection, make full and reasonable use of network resources, save network bandwidth, and improve the quality of P2P services; and through the combination of Cache technology, a large amount of data transmission can be realized localization.
本领域普通技术人员可以理解:实现上述各方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成。前述的程序可以存储于一计算机可读取存储介质中。该程序在执行时,执行包括上述各方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps for implementing the above method embodiments can be completed by program instructions and related hardware. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps including the above-mentioned method embodiments; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other various media that can store program codes.
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than limiting them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: It is still possible to modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the various embodiments of the present invention. scope.
Claims (5)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210361004.3A CN102904933B (en) | 2012-09-25 | 2012-09-25 | P2P (Peer-to-Peer) traffic dredging and optimizing network system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210361004.3A CN102904933B (en) | 2012-09-25 | 2012-09-25 | P2P (Peer-to-Peer) traffic dredging and optimizing network system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102904933A CN102904933A (en) | 2013-01-30 |
CN102904933B true CN102904933B (en) | 2015-02-04 |
Family
ID=47576968
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210361004.3A Active CN102904933B (en) | 2012-09-25 | 2012-09-25 | P2P (Peer-to-Peer) traffic dredging and optimizing network system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102904933B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104754640B (en) * | 2013-12-26 | 2019-01-08 | 中国移动通信集团公司 | A kind of network resource scheduling method and network resource management server |
US10778781B2 (en) | 2017-05-10 | 2020-09-15 | Microsoft Technology Licensing, Llc | Contention management in communication networks |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101534204A (en) * | 2008-03-10 | 2009-09-16 | 中国网通集团宽带业务应用国家工程实验室有限公司 | Streaming media information distribution system and method thereof and user end |
CN101764832A (en) * | 2008-12-23 | 2010-06-30 | 中国网通集团宽带业务应用国家工程实验室有限公司 | Streaming media broadcast realizing method based on peer-to-peer network |
US8204791B2 (en) * | 2009-07-13 | 2012-06-19 | International Business Machines Corporation | File fragment pricing in a segmented file sharing network |
-
2012
- 2012-09-25 CN CN201210361004.3A patent/CN102904933B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101534204A (en) * | 2008-03-10 | 2009-09-16 | 中国网通集团宽带业务应用国家工程实验室有限公司 | Streaming media information distribution system and method thereof and user end |
CN101764832A (en) * | 2008-12-23 | 2010-06-30 | 中国网通集团宽带业务应用国家工程实验室有限公司 | Streaming media broadcast realizing method based on peer-to-peer network |
US8204791B2 (en) * | 2009-07-13 | 2012-06-19 | International Business Machines Corporation | File fragment pricing in a segmented file sharing network |
Non-Patent Citations (2)
Title |
---|
周巍等.基于P4P技术的互联网流量优化系统.《2009年信息通信网络技术委员会年会征文》.2009,167-171. * |
郅芬香等.基于CDN与P4P的流媒体分发技术研究.《2009全国计算机网络与通信学术会议论文集》.2009,29-32. * |
Also Published As
Publication number | Publication date |
---|---|
CN102904933A (en) | 2013-01-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
USRE49943E1 (en) | System and method for a context layer switch | |
JP5050095B2 (en) | Method, system, and node for P2P content sharing | |
US20220329514A1 (en) | Routing distribution method and controller, information routing method, and network node device | |
CN103475947B (en) | A kind of flow media distribution system based on software defined network and method | |
CN104022911B (en) | A kind of contents construction management method of pattern of fusion content distributing network | |
CN102136917B (en) | Ethernet multicast method and device | |
US20140059158A1 (en) | Method, device and system for processing content | |
CN101257396A (en) | A P2P technology-based multi-domain content distribution system and corresponding method | |
CN100514958C (en) | Control method for service sensing and its system | |
WO2012065531A1 (en) | Method, device, and system for implementing relay selection | |
CN114501161B (en) | Audio and video system, access method, route forwarding method and readable storage medium | |
CN101997891B (en) | Method, device and system for allocating P2P media stream | |
CN102594926A (en) | Heterogeneous wireless peer-to-peer (P2P) network file sharing system and file transmission acceleration method | |
CN103001892B (en) | Based on network resource allocation method and the system of cloud computing | |
Tuncer et al. | Scalable cache management for ISP-operated content delivery services | |
CN108881034A (en) | A kind of request responding method, equipment and system applied to BT system | |
CN101958827B (en) | P2P traffic-optimized network system | |
CN102904933B (en) | P2P (Peer-to-Peer) traffic dredging and optimizing network system | |
CN103685344A (en) | Synergetic method and system for multiple P2P (point-to-point) cache peers | |
KR101830760B1 (en) | Overlay multicast system and its method to provide multiple content distribution in distributed content nodes | |
CN102904916B (en) | Set up the method for point-to-point communication, index server and system | |
Mishra et al. | A review on content centric networking and caching strategies | |
Desmouceaux et al. | A content-aware data-plane for efficient and scalable video delivery | |
WO2023025295A1 (en) | Resource deployment and application data routing methods and apparatus, and storage medium | |
CN108449281B (en) | Network traffic collaborative offloading method and collaborative offloading controller |
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 |