[go: up one dir, main page]

CN104301356A - A peer-to-peer network data transmission method and system - Google Patents

A peer-to-peer network data transmission method and system Download PDF

Info

Publication number
CN104301356A
CN104301356A CN201310305717.2A CN201310305717A CN104301356A CN 104301356 A CN104301356 A CN 104301356A CN 201310305717 A CN201310305717 A CN 201310305717A CN 104301356 A CN104301356 A CN 104301356A
Authority
CN
China
Prior art keywords
server
way
application server
alto
node
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201310305717.2A
Other languages
Chinese (zh)
Other versions
CN104301356B (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.)
China Mobile Communications Group Co Ltd
Original Assignee
China Mobile Communications Group 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 China Mobile Communications Group Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201310305717.2A priority Critical patent/CN104301356B/en
Publication of CN104301356A publication Critical patent/CN104301356A/en
Application granted granted Critical
Publication of CN104301356B publication Critical patent/CN104301356B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/10Flow control between communication endpoints
    • H04W28/14Flow control between communication endpoints using intermediate storage
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention provides a data transmission method and system of P2P network. The method comprises that a bidirectional P2P cache system transmits information of a bidirectional cache server to an ALTO server; the bidirectional P2P cache system records and obtains P2P hot-spot contents accessed by different WLAN access subscribers and transmits information of the hot-spot contents to a P2P application server; the P2P application server adds the bidirectional cache server to a candidate node set; when a subscriber request the node set from the P2P application server, the P2P application server transmits a request to the ALTO server; the ALTO server returns request response to the P2P application server, and transmits a node selection strategy to the P2P application server; and according to the node selection strategy, the P2P application server selects a node set from the candidate node set and returns the node set to the subscriber. Thus, the uplink flow of subscribers can be effectively reduced, and the network construction cost is effectively reduced.

Description

一种对等网络的数据传输方法和系统A peer-to-peer network data transmission method and system

技术领域technical field

本申请涉及移动通信技术领域,尤其涉及一种对等网络的数据传输方法和系统。The present application relates to the technical field of mobile communication, and in particular to a data transmission method and system of a peer-to-peer network.

背景技术Background technique

随着移动通信技术的快速发展,无线局域网(WLAN)中的对等网络(P2P)的流量发展十分迅猛,在一些省市的WLAN中,P2P流量甚至已经占到了网络总流量的80%。而在目前所使用的802.11协议中,分布式协调功能(DCF)机制是节点共享无线信道进行数据传输的基本接入方式,该模型的特性将使得WLAN中上下行共享且竞争无线信道资源。因此,高占比的P2P上行流量将加剧下行链路的拥塞,从而不仅仅会影响P2P应用自身的用户体验,还会影响WLAN中其它应用(例如,HTTP浏览等)的用户体验。所以,需要通过降低P2P上行流量的方法来缓解WLAN无线资源的拥塞情况,提高WLAN中的P2P用户的体验,尤其是其它应用的体验。With the rapid development of mobile communication technology, peer-to-peer network (P2P) traffic in wireless local area network (WLAN) develops very rapidly. In WLAN of some provinces and cities, P2P traffic has even accounted for 80% of the total network traffic. In the currently used 802.11 protocol, the Distributed Coordination Function (DCF) mechanism is the basic access method for nodes to share wireless channels for data transmission. The characteristics of this model will enable uplink and downlink sharing and competition for wireless channel resources in WLAN. Therefore, a high proportion of P2P uplink traffic will aggravate downlink congestion, which will not only affect the user experience of the P2P application itself, but also affect the user experience of other applications (eg, HTTP browsing, etc.) in the WLAN. Therefore, it is necessary to alleviate the congestion of WLAN wireless resources by reducing the P2P uplink traffic, and improve the experience of P2P users in the WLAN, especially the experience of other applications.

为了解决上述的问题,现有技术中提出了双向缓存(Cache)的概念。其中,对于破解模式的Cache而言,除了使用传统Cache分光出网请求代替网外用户或外省用户服务网内用户的功能外,还可使用分光入网消息(例如,Peerlist响应消息等),并使用Cache代替WLAN接入用户服务网内用户或外网用户(即反向Cache功能),从而降低WLAN接入用户的上行流量。In order to solve the above problems, a concept of a two-way cache (Cache) is proposed in the prior art. Among them, for the Cache in cracking mode, in addition to using the traditional Cache splitting network outbound request to replace off-network users or users in other provinces to serve in-network users, you can also use splitting into the network message (for example, Peerlist response message, etc.), and use Cache replaces WLAN access users to serve network users or external network users (that is, the reverse cache function), thereby reducing the uplink traffic of WLAN access users.

现有技术中的双向缓存技术可以在一定程度上降低WLAN接入用户的上行流量,提升WLAN接入用户使用其他业务的体验。但是,上述的双向缓存技术也还存在着如下所述的一些问题:The two-way buffering technology in the prior art can reduce the uplink traffic of WLAN access users to a certain extent, and improve the experience of WLAN access users using other services. However, the above-mentioned two-way caching technology also has some problems as follows:

1、对于采用破解模式(即P2P应用提供商不主动参与)实现的双向Cache而言:1. For the two-way cache implemented in crack mode (that is, the P2P application provider does not take the initiative to participate):

a)、在本技术中,需要新增并部署分光器及流量监控设备(DPI)设备(其中的DPI设备将用于分析出向网内WLAN用户发送或响应的P2P消息),从而必然需要增加设备投资;a) In this technology, it is necessary to add and deploy optical splitters and traffic monitoring equipment (DPI) equipment (the DPI equipment will be used to analyze the P2P messages sent or responded to WLAN users in the network), so it is necessary to increase the equipment invest;

b)、在上述双向缓存技术中,Cache将采用优先应答或者内容请求重定向的方式,将用户请求引导到Cache系统,并由Cache来服务用户。但是,现有的P2P应用可能并不支持内容请求的重定向功能,所以可能导致反向Cache的功能难以实现;而且,如果内容请求者验证响应的IP信息时,上述优先应答的方式也难以实现反向Cache的功能。b) In the above two-way caching technology, Cache will guide user requests to the Cache system by means of priority response or content request redirection, and Cache will serve users. However, existing P2P applications may not support the redirection function of content requests, so it may be difficult to realize the reverse Cache function; moreover, if the content requester verifies the IP information of the response, the above-mentioned priority response method is also difficult to realize Reverse Cache function.

2.对于采用合作模式(即P2P应用提供商主动参与)实现的双向Cache而言:2. For the two-way cache implemented in the cooperative mode (that is, the active participation of P2P application providers):

在该模式中,虽然不需要新增并部署分光器及DPI设备,但是在实际应用中,由于P2P应用提供商一般都不愿意增加新的业务策略及维护成本,也不愿意过多考虑如何降低P2P上行流量对运营商网络的影响,因此P2P应用提供商一般都不会增加新的策略以有意避免选择WlAN接入用户作为服务节,也不会主动分析WLAN接入用户拥有的内容热点,并将热点内容提前推送到Cache服务器中,因此上述的合作模式的双向Cache在实际应用中实现也具有相当大的难度,实用性较低。In this mode, although there is no need to add and deploy optical splitters and DPI devices, in practical applications, since P2P application providers are generally unwilling to add new business strategies and maintenance costs, they are also unwilling to think too much about how to reduce The impact of P2P uplink traffic on the operator's network, so P2P application providers generally do not add new policies to intentionally avoid selecting WLAN access users as service nodes, nor actively analyze content hotspots owned by WLAN access users, and Push hot content to the Cache server in advance, so the above-mentioned two-way Cache in the cooperation mode is also quite difficult to implement in practical applications, and the practicability is low.

发明内容Contents of the invention

有鉴于此,本发明提供了一种对等网络的数据传输方法和系统,从而可以有效地降低用户的上行流量,并降低网络建设成本。In view of this, the present invention provides a peer-to-peer network data transmission method and system, thereby effectively reducing user uplink traffic and reducing network construction costs.

本发明的技术方案具体是这样实现的:Technical scheme of the present invention is specifically realized like this:

一种对等网络的数据传输方法,该方法包括:A data transmission method of a peer-to-peer network, the method comprising:

双向对等网络P2P缓存系统将双向缓存服务器的信息发送给应用层传输优化ALTO服务器;The two-way peer-to-peer network P2P cache system sends the information of the two-way cache server to the application layer transmission optimization ALTO server;

双向P2P缓存系统记录并获取各个WLAN接入用户所访问的P2P热点内容,将所获取的热点内容的信息发送给P2P应用服务器;The two-way P2P caching system records and obtains the P2P hotspot content accessed by each WLAN access user, and sends the acquired hotspot content information to the P2P application server;

P2P应用服务器将双向P2P缓存系统中的双向缓存服务器加入到候选节点集中;The P2P application server adds the two-way cache server in the two-way P2P cache system to the set of candidate nodes;

当用户向P2P应用服务器请求节点集时,P2P应用服务器向ALTO服务器发送请求;When the user requests the node set from the P2P application server, the P2P application server sends the request to the ALTO server;

ALTO服务器向P2P应用服务器返回请求响应,将节点选择策略发送给P2P应用服务器;The ALTO server returns a request response to the P2P application server, and sends the node selection strategy to the P2P application server;

P2P应用服务器根据节点选择策略从候选节点集中选择节点集返回给用户。The P2P application server selects a node set from the candidate node set according to the node selection strategy and returns it to the user.

较佳的,所述双向P2P缓存系统将双向缓存服务器的信息发送给ALTO服务器包括:Preferably, the two-way P2P cache system sending the information of the two-way cache server to the ALTO server includes:

所述双向P2P缓存系统根据预设的上报策略将双向缓存服务器的信息发送给ALTO服务器。The two-way P2P cache system sends the information of the two-way cache server to the ALTO server according to a preset reporting policy.

较佳的,所述的预设的上报策略为:Preferably, the preset reporting strategy is:

上报预先确定的各个双向缓存服务器的信息。Report the predetermined information of each two-way cache server.

较佳的,所述预先确定的双向缓存服务器为双向P2P缓存系统中的部分双向缓存服务器。Preferably, the predetermined two-way cache server is part of two-way cache servers in the two-way P2P cache system.

较佳的,双向缓存服务器的信息为:Preferably, the information of the two-way cache server is:

预先确定的各个双向缓存服务器的IP地址信息和所述IP地址所对应的是双向缓存服务器的信息。The predetermined IP address information of each two-way cache server and the information corresponding to the IP address is the information of the two-way cache server.

较佳的,所述双向P2P缓存系统记录并获取各个WLAN接入用户所访问的P2P热点内容包括:Preferably, the two-way P2P caching system records and obtains the P2P hotspot content accessed by each WLAN access user including:

对于破解模式的双向P2P缓存系统,双向P2P缓存系统中的传统缓存部分记录WLAN接入用户所访问的P2P热点内容,并将所记录的热点内容的信息发送给双向P2P缓存系统中的反向缓存部分;For the two-way P2P cache system in cracking mode, the traditional cache part in the two-way P2P cache system records the P2P hotspot content accessed by WLAN access users, and sends the recorded hotspot content information to the reverse cache in the two-way P2P cache system part;

所述反向缓存部分判断传统缓存部分中是否存储有所述热点内容,如果未存储,则向P2P应用服务器请求并获取所述热点内容。The reverse cache part judges whether the hot content is stored in the traditional cache part, and if not, requests and acquires the hot content from the P2P application server.

较佳的,所述将所获取的热点内容的信息发送给P2P应用服务器包括:Preferably, the sending the acquired hot content information to the P2P application server includes:

对于破解模式的双向P2P缓存系统,所述双向P2P缓存系统定期向P2P应用服务器发送所获取的热点内容的信息。For the two-way P2P caching system in cracking mode, the two-way P2P caching system regularly sends the acquired hot content information to the P2P application server.

较佳的,所述热点内容的信息包括:Preferably, the hot content information includes:

双向P2P缓存系统中所存储的热点内容的标识、数据块的标识信息以及存储地址。The identification of the hot content stored in the two-way P2P cache system, the identification information of the data block and the storage address.

较佳的,所述双向P2P缓存系统记录并获取各个WLAN接入用户所访问的P2P热点内容包括:Preferably, the two-way P2P caching system records and obtains the P2P hotspot content accessed by each WLAN access user including:

对于合作模式的双向P2P缓存系统,P2P应用服务器将WLAN接入用户所访问的P2P热点内容推送到双向P2P缓存系统中。For the two-way P2P cache system in cooperation mode, the P2P application server pushes the P2P hotspot content accessed by the WLAN access user to the two-way P2P cache system.

较佳的,P2P应用服务器向ALTO服务器发送的请求为:Preferably, the request sent by the P2P application server to the ALTO server is:

节点属性查询请求、节点集排序请求和/或节点成本查询请求。Node attribute query request, node set sorting request and/or node cost query request.

较佳的,所述ALTO服务器向P2P应用服务器返回请求响应为:Preferably, the ALTO server returns a request response to the P2P application server as:

当P2P应用服务器向ALTO服务器发送的请求为节点属性查询请求时,所述ALTO服务器向P2P应用服务器返回扩展的节点属性查询响应;When the request sent by the P2P application server to the ALTO server is a node attribute query request, the ALTO server returns an extended node attribute query response to the P2P application server;

其中,所述扩展的节点属性查询响应中设置有用于告知P2P应用服务器其所查询的节点是否是双向缓存服务器的字段。Wherein, the extended node attribute query response is set with a field for informing the P2P application server whether the node it is querying is a two-way cache server.

较佳的,所述ALTO服务器向P2P应用服务器返回请求响应为:Preferably, the ALTO server returns a request response to the P2P application server as:

当P2P应用服务器向ALTO服务器发送的请求为节点集排序请求时,所述ALTO服务器向P2P应用服务器返回用于将节点集中的各个节点的排序结果告知P2P应用服务器的节点集排序响应。When the request sent by the P2P application server to the ALTO server is a node set sorting request, the ALTO server returns to the P2P application server a node set sorting response for informing the P2P application server of the sorting results of each node in the node set.

较佳的,所述ALTO服务器向P2P应用服务器返回请求响应为:Preferably, the ALTO server returns a request response to the P2P application server as:

当P2P应用服务器向ALTO服务器发送的请求为节点成本查询请求时,所述ALTO服务器向P2P应用服务器返回用于将所查询节点的节点成本值告知P2P应用服务器的节点成本查询响应。When the request sent by the P2P application server to the ALTO server is a node cost query request, the ALTO server returns a node cost query response for informing the P2P application server of the node cost value of the queried node to the P2P application server.

较佳的,当候选节点集中有WLAN接入用户时,所述节点选择策略为:Preferably, when there are WLAN access users in the candidate node set, the node selection strategy is:

网内固定接入的节点的选择优先级高于双向缓存服务器的选择优先级;The selection priority of nodes with fixed access in the network is higher than that of the two-way cache server;

双向缓存服务器的选择优先级高于WLAN接入用户节点和2G/3G接入用户节点的选择优先级。The selection priority of the two-way cache server is higher than that of the WLAN access user node and the 2G/3G access user node.

本发明中还提高了一种对等网络的数据传输系统,该系统包括:双向对等网络P2P缓存系统、P2P应用服务器和应用层传输优化ALTO服务器;The present invention also improves a peer-to-peer network data transmission system, which includes: a two-way peer-to-peer network P2P cache system, a P2P application server and an application layer transmission optimization ALTO server;

所述双向P2P缓存系统,用于将双向缓存服务器的信息发送给ALTO服务器;还用于记录并获取各个WLAN接入用户所访问的P2P热点内容,将所获取的热点内容的信息发送给P2P应用服务器;The two-way P2P cache system is used to send the information of the two-way cache server to the ALTO server; it is also used to record and obtain the P2P hot content accessed by each WLAN access user, and send the obtained hot content information to the P2P application server;

所述P2P应用服务器,用于将双向P2P缓存系统中的双向缓存服务器加入到候选节点集中;还用于当用户向P2P应用服务器请求节点集时,向ALTO服务器发送请求;还用于根据节点选择策略从候选节点集中选择节点集返回给用户;The P2P application server is used to add the two-way cache server in the two-way P2P cache system to the candidate node set; it is also used to send a request to the ALTO server when the user requests the node set from the P2P application server; The policy selects the node set from the candidate node set and returns it to the user;

所述ALTO服务器,用于接收双向P2P缓存系统发送的热点内容的信息;还用于向P2P应用服务器返回请求响应,将节点选择策略发送给P2P应用服务器。The ALTO server is used to receive the hot content information sent by the two-way P2P cache system; it is also used to return a request response to the P2P application server, and send the node selection strategy to the P2P application server.

较佳的,所述双向P2P缓存系统中还包括:反向缓存信息上报模块和至少一个双向缓存服务器;Preferably, the two-way P2P cache system further includes: a reverse cache information reporting module and at least one two-way cache server;

所述反向缓存信息上报模块,用于将双向缓存服务器的信息发送给ALTO服务器;The reverse cache information reporting module is used to send the information of the two-way cache server to the ALTO server;

所述双向缓存服务器,用于记录并获取各个WLAN接入用户所访问的P2P热点内容,将所获取的热点内容的信息发送给P2P应用服务器。The two-way cache server is used to record and acquire the P2P hotspot content accessed by each WLAN access user, and send the acquired information of the hotspot content to the P2P application server.

较佳的,所述ALTO服务器中还包括:缓存信息收集模块和WLAN流量优化模块;Preferably, the ALTO server also includes: a cache information collection module and a WLAN traffic optimization module;

所述缓存信息收集模块,用于接收双向P2P缓存系统发送的热点内容的信息;The cache information collection module is used to receive the hot content information sent by the two-way P2P cache system;

所述WLAN流量优化模块,用于向P2P应用服务器返回请求响应,将节点选择策略发送给P2P应用服务器。The WLAN traffic optimization module is used to return a request response to the P2P application server, and send the node selection strategy to the P2P application server.

较佳的,所述P2P应用服务器中还包括:对等网络跟踪装置P2P Tracker;所述P2PTracker中还设置有ALTO客户端;Preferably, the P2P application server also includes: a peer-to-peer network tracking device P2P Tracker; the P2PTracker is also provided with an ALTO client;

所述P2P Tracker,用于当接收到用户发送的节点集请求时,将所述节点集请求发送给ALTO客户端;还用于根据节点选择策略从候选节点集中选择节点集返回给用户;The P2P Tracker is used to send the node set request to the ALTO client when receiving the node set request sent by the user; it is also used to select the node set from the candidate node set according to the node selection strategy and return it to the user;

所述ALTO客户端,用于向ALTO服务器发送请求,接收ALTO服务器返回的请求响应和节点选择策略,将节点选择策略发送给所述P2P Tracker。The ALTO client is configured to send a request to the ALTO server, receive the request response and the node selection strategy returned by the ALTO server, and send the node selection strategy to the P2P Tracker.

本发明中还提供了一种双向对等网络P2P缓存系统,该系统包括:反向缓存信息上报模块和至少一个双向缓存服务器;The present invention also provides a two-way peer-to-peer network P2P cache system, which includes: a reverse cache information reporting module and at least one two-way cache server;

所述反向缓存信息上报模块,用于将双向缓存服务器的信息发送给ALTO服务器。The reverse cache information reporting module is used to send the information of the two-way cache server to the ALTO server.

所述双向缓存服务器,用于记录并获取各个WLAN接入用户所访问的P2P热点内容,将所获取的热点内容的信息发送给P2P应用服务器。The two-way cache server is used to record and acquire the P2P hotspot content accessed by each WLAN access user, and send the acquired information of the hotspot content to the P2P application server.

本发明中还提供了一种应用层传输优化ALTO服务器,该ALTO服务器包括:缓存信息收集模块和WLAN流量优化模块;The present invention also provides an application layer transmission optimization ALTO server, the ALTO server includes: a cache information collection module and a WLAN traffic optimization module;

所述缓存信息收集模块,用于接收双向对等网络P2P缓存系统发送的热点内容的信息;The cache information collection module is used to receive the hot content information sent by the two-way peer-to-peer network P2P cache system;

所述WLAN流量优化模块,用于向P2P应用服务器返回请求响应,将节点选择策略发送给P2P应用服务器。The WLAN traffic optimization module is used to return a request response to the P2P application server, and send the node selection strategy to the P2P application server.

本发明中还提供了一种对等网络P2P应用服务器,该P2P应用服务器包括:对等网络跟踪装置P2P Tracker;所述P2P Tracker中还设置有应用层传输优化ALTO客户端;The present invention also provides a peer-to-peer network P2P application server, the P2P application server includes: a peer-to-peer network tracking device P2P Tracker; the P2P Tracker is also provided with an application layer transmission optimization ALTO client;

所述P2P Tracker,用于当接收到用户发送的节点集请求时,将所述节点集请求发送给ALTO客户端;还用于根据节点选择策略从候选节点集中选择节点集返回给用户;The P2P Tracker is used to send the node set request to the ALTO client when receiving the node set request sent by the user; it is also used to select the node set from the candidate node set according to the node selection strategy and return it to the user;

所述ALTO客户端,用于向ALTO服务器发送请求,接收ALTO服务器返回的请求响应和节点选择策略,将节点选择策略发送给所述P2P Tracker。The ALTO client is configured to send a request to the ALTO server, receive the request response and the node selection strategy returned by the ALTO server, and send the node selection strategy to the P2P Tracker.

由上述技术方案可见,在本发明中,由于ALTO服务器在接收到P2P应用服务器发送的请求时,将向P2P应用服务器返回请求响应,将节点选择策略发送给P2P应用服务器,因此P2P应用服务器可以根据节点选择策略从候选节点集中选择节点集返回给用户,使得用户在需要从网络节点中获取相应网络资源时,可以优先选择网内固定接入的节点,其次是选择双向缓存服务器,最后才选择WLAN接入用户节点和2G/3G接入用户节点,因而可以从多个节点中优先选择跟P2P请求用户位于同一个运营商甚至同一个省的P2P节点,从而可以尽量从网内固定接入的节点和双向缓存服务器中获取所需的数据,而尽量少地从WLAN接入用户节点和2G/3G接入用户节点上获取数据,所以可以有效地降低用户的上行流量。同时,由于使用上述的方法和系统时,无需在网络中新增并部署分光器及DPI设备,从而也可有效地降低网络建设成本。It can be seen from the above technical scheme that in the present invention, since the ALTO server will return a request response to the P2P application server when receiving the request sent by the P2P application server, and send the node selection strategy to the P2P application server, the P2P application server can be based on The node selection strategy selects the node set from the candidate node set and returns it to the user, so that when the user needs to obtain the corresponding network resources from the network nodes, the node with fixed access in the network can be selected first, followed by the two-way cache server, and finally WLAN Access user nodes and 2G/3G access user nodes, so you can preferentially select P2P nodes that are located in the same operator or even the same province as the P2P requesting user from multiple nodes, so that you can try to fix the access nodes from the network as much as possible The required data is obtained from the two-way cache server, and the data is obtained from the WLAN access user node and the 2G/3G access user node as little as possible, so the user's uplink traffic can be effectively reduced. At the same time, when using the above method and system, there is no need to add and deploy optical splitters and DPI devices in the network, thereby effectively reducing network construction costs.

附图说明Description of drawings

图1为本发明实施例中的对等网络的数据传输方法的流程图。FIG. 1 is a flowchart of a data transmission method of a peer-to-peer network in an embodiment of the present invention.

图2是本发明实施例中的对等网络的数据传输系统的结构示意图。FIG. 2 is a schematic structural diagram of a peer-to-peer network data transmission system in an embodiment of the present invention.

具体实施方式Detailed ways

为使本发明的技术方案及优点更加清楚明白,以下结合附图及具体实施例,对本发明作进一步详细的说明。In order to make the technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

图1为本发明实施例中的对等网络的数据传输方法的流程图。FIG. 1 is a flowchart of a data transmission method of a peer-to-peer network in an embodiment of the present invention.

如图1所示,本发明实施例中的对等网络的数据传输方法包括如下所述步骤:As shown in Figure 1, the data transmission method of the peer-to-peer network in the embodiment of the present invention includes the following steps:

步骤101,双向对等网络缓存(P2PCache)系统将双向缓存服务器的信息发送给应用层传输优化(ALTO)服务器。In step 101, the two-way peer-to-peer caching (P2PCache) system sends the information of the two-way caching server to the application layer transport optimization (ALTO) server.

较佳的,在本发明的具体实施例中,所述双向P2PCache系统可以根据预设的上报策略将双向缓存服务器的信息发送给ALTO服务器。Preferably, in a specific embodiment of the present invention, the two-way P2PCache system can send the information of the two-way cache server to the ALTO server according to a preset reporting strategy.

其中,由于ALTO协议是由互联网工程任务组(IETF)定义的ALTO服务器和ALTO客户端之间的标准协议,因此ALTO服务器能获取网络运营商中的各个节点网络拓扑信息及任意两个节点之间的传输成本信息,所述ALTO服务器通常由运营商部署和管理;ALTO客户端,对于P2P应用而言,通常部署在P2P应用提供商提供的P2P应用服务器上,例如Tracker服务器上。Among them, since the ALTO protocol is a standard protocol between the ALTO server and the ALTO client defined by the Internet Engineering Task Force (IETF), the ALTO server can obtain the network topology information of each node in the network operator and the network topology information between any two nodes. The ALTO server is usually deployed and managed by the operator; for the P2P application, the ALTO client is usually deployed on the P2P application server provided by the P2P application provider, such as the Tracker server.

较佳的,在本发明的具体实施例中,所述的预设的上报策略可以是:上报预先确定的各个双向缓存服务器的信息。Preferably, in a specific embodiment of the present invention, the preset reporting strategy may be: reporting predetermined information of each two-way cache server.

较佳的,在本发明的技术方案中,所述双向P2PCache系统中可以设置一个或多个双向缓存服务器。因此,在本发明的较佳实施例中,所述预先确定的双向缓存服务器可以是双向P2PCache系统中所有的双向缓存服务器,也可以是双向P2PCache系统中的部分双向缓存服务器。Preferably, in the technical solution of the present invention, one or more two-way cache servers can be set in the two-way P2PCache system. Therefore, in a preferred embodiment of the present invention, the predetermined two-way cache servers may be all the two-way cache servers in the two-way P2PCache system, or part of the two-way cache servers in the two-way P2PCache system.

所以,较佳的,所述双向缓存服务器的信息可以是:预先确定的各个双向缓存服务器的IP地址信息和所述IP地址所对应的是双向缓存服务器的信息。因此,该双向缓存服务器的信息中可以包括一个或多个双向缓存服务器的IP地址信息。Therefore, preferably, the information of the two-way cache server may be: the predetermined IP address information of each two-way cache server and the information of the two-way cache server corresponding to the IP address. Therefore, the information of the two-way cache server may include IP address information of one or more two-way cache servers.

在实际应用中,上述双向缓存服务器的信息可以是双向缓存服务器与IP地址的对应关系,从而可以根据该对应关系获知某一个IP地址所对应的是双向缓存服务器。In a practical application, the information of the above-mentioned two-way cache server may be a correspondence between the two-way cache server and an IP address, so that it can be learned that a certain IP address corresponds to a two-way cache server according to the correspondence.

较佳的,在本发明的具体实施例中,可以在双向P2P缓存系统中设置一个反向缓存信息上报模块,并在ALTO服务器中设置一个缓存信息收集模块,因此,所述反向缓存信息上报模块即可将双向缓存服务器的信息发送给ALTO服务器中的缓存信息收集模块。Preferably, in a specific embodiment of the present invention, a reverse cache information reporting module can be set in the two-way P2P cache system, and a cache information collection module can be set in the ALTO server, therefore, the reverse cache information report The module can send the information of the two-way cache server to the cache information collection module in the ALTO server.

步骤102,双向P2PCache系统记录并获取各个WLAN接入用户所访问的P2P热点内容,将所获取的热点内容的信息发送给P2P应用服务器。Step 102, the two-way P2PCache system records and obtains the P2P hot content accessed by each WLAN access user, and sends the obtained hot content information to the P2P application server.

较佳的,在本发明的具体实施例中,所述双向P2PCache系统可以使用多种方式来记录并获取各个WLAN接入用户所访问的P2P热点内容,例如:Preferably, in a specific embodiment of the present invention, the two-way P2PCache system can use multiple methods to record and obtain the P2P hotspot content accessed by each WLAN access user, for example:

对于破解模式的双向P2P缓存系统,双向P2P缓存系统中的传统缓存部分记录WLAN接入用户所访问的P2P热点内容,并将所记录的热点内容的信息发送给双向P2P缓存系统中的反向缓存部分;For the two-way P2P cache system in cracking mode, the traditional cache part in the two-way P2P cache system records the P2P hotspot content accessed by WLAN access users, and sends the recorded hotspot content information to the reverse cache in the two-way P2P cache system part;

所述反向缓存部分判断传统缓存部分中是否存储有所述热点内容,如果未存储,则向P2P应用服务器请求并获取所述热点内容。The reverse cache part judges whether the hot content is stored in the traditional cache part, and if not, requests and acquires the hot content from the P2P application server.

此时,为了在后续的步骤中确保所述双向P2P缓存系统中的双向缓存服务器可以加入到P2P应用服务器中的P2P Tracker的候选节点集中,在本发明的较佳实施例中,所述将所获取的热点内容的信息发送给P2P应用服务器可以是:At this time, in order to ensure that the two-way cache server in the two-way P2P cache system can be added to the candidate node set of the P2P Tracker in the P2P application server in the subsequent steps, in a preferred embodiment of the present invention, the The acquired hot content information sent to the P2P application server can be:

对于破解模式的双向P2P缓存系统,所述双向P2P缓存系统定期向P2P应用服务器发送所获取的热点内容的信息。For the two-way P2P caching system in cracking mode, the two-way P2P caching system regularly sends the acquired hot content information to the P2P application server.

较佳的,在本发明的具体实施例中,所述热点内容的信息可以包括:Preferably, in a specific embodiment of the present invention, the hot content information may include:

双向P2P缓存系统中所存储的热点内容的标识(用于表示存储了哪些热点内容)、数据块的标识信息(用于表示存储了哪些热点内容的哪些数据块)以及存储地址(例如,所述热点内容在双向缓存服务器中的具体存放地址等)。The identification of the hot content stored in the two-way P2P cache system (used to indicate which hot content is stored), the identification information of the data block (used to indicate which data block of which hot content is stored), and the storage address (for example, the The specific storage address of the hot content in the two-way cache server, etc.).

另外,在本发明的较佳实施例中,所述双向P2PCache系统记录并获取各个WLAN接入用户所访问的P2P热点内容还可以是:In addition, in a preferred embodiment of the present invention, the two-way P2PCache system records and obtains the P2P hotspot content accessed by each WLAN access user can also be:

对于合作模式的双向P2P缓存系统,P2P应用服务器将WLAN接入用户所访问的P2P热点内容推送到双向P2P缓存系统中。For the two-way P2P cache system in cooperation mode, the P2P application server pushes the P2P hotspot content accessed by the WLAN access user to the two-way P2P cache system.

步骤103,P2P应用服务器将双向P2PCache系统中的双向缓存服务器加入到候选节点集中。Step 103, the P2P application server adds the bidirectional cache server in the bidirectional P2PCache system to the set of candidate nodes.

较佳的,在本发明的具体实施例中,所述P2P应用服务器中可以设置一个对等网络跟踪装置(P2P Tracker)。因此,所述P2P Tracker即可将双向P2PCache系统中的双向缓存服务器加入到候选节点集中。Preferably, in a specific embodiment of the present invention, a peer-to-peer network tracking device (P2P Tracker) may be set in the P2P application server. Therefore, the P2P Tracker can add the bidirectional cache server in the bidirectional P2PCache system to the set of candidate nodes.

步骤104,当用户向P2P应用服务器请求节点集时,P2P应用服务器向ALTO服务器发送请求。Step 104, when the user requests the node set from the P2P application server, the P2P application server sends the request to the ALTO server.

较佳的,在本发明的具体实施例中,P2P应用服务器向ALTO服务器发送的请求可以是:节点属性查询请求、节点集排序请求和/或节点成本查询请求。Preferably, in a specific embodiment of the present invention, the request sent by the P2P application server to the ALTO server may be: a node attribute query request, a node set sorting request and/or a node cost query request.

其中,所述节点属性查询请求用于查询所需查询的节点是否为超级节点。Wherein, the node attribute query request is used to query whether the node to be queried is a super node.

一般来说,所述超级节点可以是处理能力强、带宽较宽的节点,也可以是对网络影响较小的节点等。在本发明的技术方案中,双向缓存服务器即为一种超姐节点。因此,通过上述节点属性查询请求用即可获知某个节点是否为双向缓存服务器。Generally speaking, the super node may be a node with strong processing capability and wide bandwidth, or a node with less influence on the network. In the technical solution of the present invention, the two-way cache server is a kind of super sister node. Therefore, whether a certain node is a two-way cache server can be known through the above node attribute query request.

另外,上述的节点集排序请求可以用于请求对节点集中的各个节点进行排序。In addition, the above node set sorting request may be used to request to sort each node in the node set.

此外,由于有的P2P应用服务器中是通过节点成本来选择节点集中的节点,因此,所述节点成本查询请求可以用于查询相应节点的节点成本。In addition, since some P2P application servers select nodes in the node set through node cost, the node cost query request can be used to query the node cost of the corresponding node.

较佳的,在本发明的具体实施例中,所述P2P应用服务器中可以设置一个对等网络跟踪装置(P2P Tracker),所述P2P Tracker中还可设置一个ALTO客户端。Preferably, in a specific embodiment of the present invention, a peer-to-peer network tracking device (P2P Tracker) can be set in the P2P application server, and an ALTO client can also be set in the P2P Tracker.

其中,所述P2P Tracker用于当接收到用户发送的节点集请求时,将所述节点集请求发送给ALTO客户端;所述ALTO客户端用于向ALTO服务器发送请求,并接收ALTO服务器返回的请求响应和节点选择策略,然后将节点选择策略发送给所述P2P Tracker;所述P2P Tracker即可根据所述节点选择策略从候选节点集中选择节点集,然后将选择的节点集返回给用户。Wherein, the P2P Tracker is used for sending the node set request to the ALTO client when receiving the node set request sent by the user; the ALTO client is used for sending the request to the ALTO server and receiving the returned Request response and node selection strategy, and then send the node selection strategy to the P2P Tracker; the P2P Tracker can select a node set from the candidate node set according to the node selection strategy, and then return the selected node set to the user.

步骤105,ALTO服务器向P2P应用服务器返回请求响应,将节点选择策略发送给P2P应用服务器。Step 105, the ALTO server returns a request response to the P2P application server, and sends the node selection policy to the P2P application server.

较佳的,在本发明的具体实施例中,当候选节点集中有WLAN接入用户时,所述节点选择策略可以是:Preferably, in a specific embodiment of the present invention, when there are WLAN access users in the candidate node set, the node selection strategy may be:

网内固定接入的节点的选择优先级高于双向缓存服务器的选择优先级;双向缓存服务器的选择优先级高于WLAN接入用户节点和2G/3G接入用户节点的选择优先级。The selection priority of fixed access nodes in the network is higher than that of the two-way cache server; the selection priority of the two-way cache server is higher than that of WLAN access user nodes and 2G/3G access user nodes.

因此,根据上述节点选择策略即可优先选择网内固定接入的节点,其次是选择双向缓存服务器,最后才选择WLAN接入用户节点和2G/3G接入用户节点,从而可以从多个节点中优先选择跟P2P请求用户位于同一个运营商甚至同一个省的P2P节点。Therefore, according to the above node selection strategy, the nodes with fixed access in the network can be selected first, followed by the bidirectional cache server, and finally WLAN access user nodes and 2G/3G access user nodes are selected, so that multiple nodes can be selected Prioritize the selection of P2P nodes located in the same operator or even the same province as the P2P requesting user.

较佳的,在本发明的具体实施例中,当P2P应用服务器向ALTO服务器发送的请求为节点属性查询请求时,所述ALTO服务器向P2P应用服务器返回请求响应为:Preferably, in a specific embodiment of the present invention, when the request sent by the P2P application server to the ALTO server is a node attribute query request, the request response returned by the ALTO server to the P2P application server is:

所述ALTO服务器向P2P应用服务器返回扩展的节点属性查询响应。其中,所述扩展的节点属性查询响应中设置有新的字段,以告知P2P应用服务器其所查询的节点是否是双向缓存服务器(即超级节点)。The ALTO server returns an extended node attribute query response to the P2P application server. Wherein, a new field is set in the extended node attribute query response to inform the P2P application server whether the node it inquires is a two-way cache server (that is, a super node).

较佳的,在本发明的具体实施例中,当P2P应用服务器向ALTO服务器发送的请求为节点集排序请求时,所述ALTO服务器向P2P应用服务器返回请求响应为:Preferably, in a specific embodiment of the present invention, when the request sent by the P2P application server to the ALTO server is a node set sorting request, the request response returned by the ALTO server to the P2P application server is:

所述ALTO服务器向P2P应用服务器返回节点集排序响应,用于将节点集中的各个节点的排序结果告知P2P应用服务器。The ALTO server returns a node set sorting response to the P2P application server, which is used to inform the P2P application server of the sorting results of each node in the node set.

较佳的,在本发明的具体实施例中,当P2P应用服务器向ALTO服务器发送的请求为节点成本查询请求时,所述ALTO服务器向P2P应用服务器返回请求响应为:Preferably, in a specific embodiment of the present invention, when the request sent by the P2P application server to the ALTO server is a node cost query request, the request response returned by the ALTO server to the P2P application server is:

所述ALTO服务器向P2P应用服务器返回节点成本查询响应,用于将所查询节点的节点成本值告知P2P应用服务器。The ALTO server returns a node cost query response to the P2P application server, which is used to inform the P2P application server of the node cost value of the queried node.

较佳的,在本发明的具体实施例中,所述ALTO服务器中还可设置一个WLAN流量优化模块。其中,所述WLAN流量优化模块可以用于向P2P应用服务器返回请求响应,将节点选择策略发送给P2P应用服务器。Preferably, in a specific embodiment of the present invention, a WLAN traffic optimization module may also be set in the ALTO server. Wherein, the WLAN traffic optimization module can be used to return a request response to the P2P application server, and send the node selection strategy to the P2P application server.

步骤106,P2P应用服务器根据节点选择策略从候选节点集中选择节点集返回给用户。Step 106, the P2P application server selects a node set from the candidate node set according to the node selection policy and returns it to the user.

通过上述的步骤101~106,即可有效地降低用户的上行流量,同时也无需在网络中新增并部署分光器及DPI设备,从而也可有效地降低网络建设成本。Through the above steps 101-106, the user's uplink traffic can be effectively reduced, and at the same time, there is no need to add and deploy optical splitters and DPI devices in the network, thereby effectively reducing network construction costs.

根据本发明提供的上述方法,本发明还提供了相应的对等网络的数据传输系统,具体请参见图2。According to the above method provided by the present invention, the present invention also provides a corresponding peer-to-peer network data transmission system, please refer to FIG. 2 for details.

图2是本发明实施例中的对等网络的数据传输系统的结构示意图。FIG. 2 is a schematic structural diagram of a peer-to-peer network data transmission system in an embodiment of the present invention.

如图2所示,该对等网络的数据传输系统包括:双向P2PCache系统201、P2P应用服务器202和ALTO服务器203;As shown in Figure 2, the data transmission system of this peer-to-peer network comprises: two-way P2PCache system 201, P2P application server 202 and ALTO server 203;

其中,双向P2PCache系统201,用于将双向缓存服务器的信息发送给ALTO服务器203;还用于记录并获取各个WLAN接入用户所访问的P2P热点内容,将所获取的热点内容的信息发送给P2P应用服务器202;Among them, the two-way P2PCache system 201 is used to send the information of the two-way cache server to the ALTO server 203; it is also used to record and obtain the P2P hot content accessed by each WLAN access user, and send the obtained hot content information to the P2P application server 202;

所述P2P应用服务器202,用于将双向P2PCache系统201中的双向缓存服务器加入到候选节点集中;还用于当用户向P2P应用服务器202请求节点集时,向ALTO服务器203发送请求;还用于根据节点选择策略从候选节点集中选择节点集返回给用户;The P2P application server 202 is used to add the bidirectional cache server in the bidirectional P2PCache system 201 to the candidate node set; it is also used to send a request to the ALTO server 203 when the user requests the node set from the P2P application server 202; it is also used to According to the node selection strategy, the node set is selected from the candidate node set and returned to the user;

所述ALTO服务器203,用于接收双向P2PCache系统201发送的热点内容的信息;还用于向P2P应用服务器202返回请求响应,将节点选择策略发送给P2P应用服务器202。The ALTO server 203 is used to receive the hot content information sent by the two-way P2PCache system 201 ; it is also used to return a request response to the P2P application server 202 and send the node selection policy to the P2P application server 202 .

较佳的,在本发明的具体实施例中,所述双向P2PCache系统201中还包括:反向缓存信息上报模块和至少一个双向缓存服务器;Preferably, in a specific embodiment of the present invention, the two-way P2PCache system 201 further includes: a reverse cache information reporting module and at least one two-way cache server;

所述反向缓存信息上报模块,用于将双向缓存服务器的信息发送给ALTO服务器203;The reverse cache information reporting module is used to send the information of the two-way cache server to the ALTO server 203;

所述双向缓存服务器,用于记录并获取各个WLAN接入用户所访问的P2P热点内容,将所获取的热点内容的信息发送给P2P应用服务器202。The two-way cache server is configured to record and acquire the P2P hotspot content accessed by each WLAN access user, and send the acquired hotspot content information to the P2P application server 202 .

较佳的,在本发明的具体实施例中,所述ALTO服务器203中还包括:缓存信息收集模块和WLAN流量优化模块;Preferably, in a specific embodiment of the present invention, the ALTO server 203 further includes: a cache information collection module and a WLAN traffic optimization module;

所述缓存信息收集模块,用于接收双向P2PCache系统201发送的双向缓存服务器的的信息;The cache information collection module is used to receive the information of the two-way cache server sent by the two-way P2PCache system 201;

所述WLAN流量优化模块,用于向P2P应用服务器202返回请求响应,将节点选择策略发送给P2P应用服务器202。The WLAN traffic optimization module is configured to return a request response to the P2P application server 202 and send the node selection policy to the P2P application server 202 .

较佳的,在本发明的具体实施例中,所述P2P应用服务器202中还包括:对等网络跟踪装置(P2P Tracker);所述P2P Tracker中还设置有ALTO客户端;Preferably, in a specific embodiment of the present invention, the P2P application server 202 also includes: a peer-to-peer network tracking device (P2P Tracker); the P2P Tracker is also provided with an ALTO client;

所述P2P Tracker,用于当接收到用户发送的节点集请求时,将所述节点集请求发送给ALTO客户端;还用于根据节点选择策略从候选节点集中选择节点集返回给用户;The P2P Tracker is used to send the node set request to the ALTO client when receiving the node set request sent by the user; it is also used to select the node set from the candidate node set according to the node selection strategy and return it to the user;

所述ALTO客户端,用于向ALTO服务器203发送请求,接收ALTO服务器203返回的请求响应和节点选择策略,将节点选择策略发送给所述P2P Tracker。The ALTO client is configured to send a request to the ALTO server 203, receive the request response and the node selection strategy returned by the ALTO server 203, and send the node selection strategy to the P2P Tracker.

另外,在本发明的技术方案中,还提供了一种双向P2P缓存系统。所述双向P2P缓存系统包括:反向缓存信息上报模块和至少一个双向缓存服务器;In addition, in the technical solution of the present invention, a two-way P2P caching system is also provided. The two-way P2P cache system includes: a reverse cache information reporting module and at least one two-way cache server;

其中,所述反向缓存信息上报模块,用于将双向缓存服务器的信息发送给ALTO服务器。Wherein, the reverse cache information reporting module is configured to send the information of the two-way cache server to the ALTO server.

所述双向缓存服务器,用于记录并获取各个WLAN接入用户所访问的P2P热点内容,将所获取的热点内容的信息发送给P2P应用服务器。The two-way cache server is used to record and acquire the P2P hotspot content accessed by each WLAN access user, and send the acquired information of the hotspot content to the P2P application server.

另外,在本发明的技术方案中,还提供了一种ALTO服务器。所述ALTO服务器包括:缓存信息收集模块和WLAN流量优化模块;In addition, in the technical solution of the present invention, an ALTO server is also provided. The ALTO server includes: cache information collection module and WLAN traffic optimization module;

所述缓存信息收集模块,用于接收双向对等网络P2P缓存系统发送的热点内容的信息;The cache information collection module is used to receive the hot content information sent by the two-way peer-to-peer network P2P cache system;

所述WLAN流量优化模块,用于向P2P应用服务器返回请求响应,将节点选择策略发送给P2P应用服务器。The WLAN traffic optimization module is used to return a request response to the P2P application server, and send the node selection strategy to the P2P application server.

另外,在本发明的技术方案中,还提供了一种P2P应用服务器。所述P2P应用服务器包括:对等网络跟踪装置P2P Tracker;所述P2P Tracker中还设置有应用层传输优化ALTO客户端;In addition, in the technical solution of the present invention, a P2P application server is also provided. Described P2P application server comprises: Peer-to-peer network tracking device P2P Tracker; Also be provided with application layer transmission optimization ALTO client in described P2P Tracker;

所述P2P Tracker,用于当接收到用户发送的节点集请求时,将所述节点集请求发送给ALTO客户端;还用于根据节点选择策略从候选节点集中选择节点集返回给用户;The P2P Tracker is used to send the node set request to the ALTO client when receiving the node set request sent by the user; it is also used to select the node set from the candidate node set according to the node selection strategy and return it to the user;

所述ALTO客户端,用于向ALTO服务器发送请求,接收ALTO服务器返回的请求响应和节点选择策略,将节点选择策略发送给所述P2P Tracker。The ALTO client is configured to send a request to the ALTO server, receive the request response and the node selection strategy returned by the ALTO server, and send the node selection strategy to the P2P Tracker.

综上所述,在本发明的技术方案中,由于ALTO服务器在接收到P2P应用服务器发送的请求时,将向P2P应用服务器返回请求响应,将节点选择策略发送给P2P应用服务器,因此P2P应用服务器可以根据节点选择策略从候选节点集中选择节点集返回给用户,使得用户在需要从网络节点中获取相应网络资源时,可以优先选择网内固定接入的节点,其次是选择双向缓存服务器,最后才选择WLAN接入用户节点和2G/3G接入用户节点,因而可以从多个节点中优先选择跟P2P请求用户位于同一个运营商甚至同一个省的P2P节点,从而可以尽量从网内固定接入的节点和双向缓存服务器中获取所需的数据,而尽量少地从WLAN接入用户节点和2G/3G接入用户节点上获取数据,所以可以有效地降低用户的上行流量。同时,由于使用上述的方法和系统时,无需在网络中新增并部署分光器及DPI设备,从而也可有效地降低网络建设成本。In summary, in the technical solution of the present invention, since the ALTO server will return a request response to the P2P application server when receiving the request sent by the P2P application server, and send the node selection strategy to the P2P application server, the P2P application server According to the node selection strategy, the node set can be selected from the candidate node set and returned to the user, so that when the user needs to obtain the corresponding network resources from the network nodes, the node with fixed access in the network can be selected first, followed by the two-way cache server, and finally Select WLAN access user nodes and 2G/3G access user nodes, so you can preferentially select P2P nodes that are located in the same operator or even the same province as the P2P requesting user from multiple nodes, so that you can try to access from the network as much as possible The required data is obtained from the node and the two-way cache server, and the data is obtained from the WLAN access user node and the 2G/3G access user node as little as possible, so the user's uplink traffic can be effectively reduced. At the same time, since the above method and system are used, it is not necessary to add and deploy optical splitters and DPI devices in the network, thereby effectively reducing network construction costs.

以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明保护的范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included in the present invention. within the scope of protection.

Claims (21)

1. a data transmission method for peer-to-peer network, is characterized in that, the method comprises:
The information of two-way caching server is sent to application layer transmission optimization ALTO server by two-way Peer-to-Peer Network P2P caching system;
Two-way P2P caching system record also obtains the P2P Hot Contents that each WLAN access user accesses, and the information of obtained Hot Contents is sent to P2P application server;
Two-way caching server in two-way P2P caching system is joined both candidate nodes and concentrates by P2P application server;
When user is to P2P application server requesting node collection, P2P application server sends request to ALTO server;
ALTO server returns request response to P2P application server, and sensor selection problem strategy is sent to P2P application server;
P2P application server concentrates selection set of node to return to user according to sensor selection problem strategy from both candidate nodes.
2. method according to claim 1, is characterized in that, the information of two-way caching server sends to ALTO server to comprise by described two-way P2P caching system:
The information of two-way caching server is sent to ALTO server according to the reporting policy preset by described two-way P2P caching system.
3. method according to claim 2, is characterized in that, the described reporting policy preset is:
Report the information of each two-way caching server predetermined.
4. method according to claim 3, is characterized in that:
Described predetermined two-way caching server is the two-way caching server of part in two-way P2P caching system.
5. according to the method described in claim 3 or 4, it is characterized in that, the information of two-way caching server is:
Corresponding to the IP address information of each two-way caching server predetermined and described IP address is the information of two-way caching server.
6. method according to claim 1, is characterized in that, described two-way P2P caching system record also obtains the P2P Hot Contents that each WLAN access user accesses and comprises:
For the two-way P2P caching system cracking pattern, the P2P Hot Contents that traditional buffer unit member record WLAN access user in two-way P2P caching system is accessed, and the information of recorded Hot Contents is sent to the inverted cache part in two-way P2P caching system;
Described inverted cache part judges whether store described Hot Contents in traditional buffer memory part, if do not stored, then obtains described Hot Contents to the request of P2P application server.
7. method according to claim 6, is characterized in that, the described information by obtained Hot Contents sends to P2P application server to comprise:
For the two-way P2P caching system cracking pattern, described two-way P2P caching system regularly sends the information of the Hot Contents obtained to P2P application server.
8. the method according to claim 6 or 7, is characterized in that, the information of described Hot Contents comprises:
The mark of Hot Contents stored in two-way P2P caching system, the identification information of data block and memory address.
9. method according to claim 1, is characterized in that, described two-way P2P caching system record also obtains the P2P Hot Contents that each WLAN access user accesses and comprises:
For the two-way P2P caching system of modality for co-operation, the P2P Hot Contents that WLAN access user is accessed by P2P application server is pushed in two-way P2P caching system.
10. method according to claim 1, is characterized in that, the request that P2P application server sends to ALTO server is:
Nodal community inquiry request, set of node sequencing requests and/or node cost inquiry request.
11. methods according to claim 10, is characterized in that, described ALTO server returns request response to P2P application server and is:
When P2P application server is nodal community inquiry request to the request that ALTO server sends, described ALTO server returns the nodal community inquiry response of expansion to P2P application server;
Wherein, be provided with in the nodal community inquiry response of described expansion for informing that whether its node inquired about of P2P application server is the field of two-way caching server.
12. methods according to claim 10, is characterized in that, described ALTO server returns request response to P2P application server and is:
When P2P application server is set of node sequencing requests to the request that ALTO server sends, described ALTO server returns the set of node sequence response for the ranking results of each node in set of node being informed P2P application server to P2P application server.
13. methods according to claim 10, is characterized in that, described ALTO server returns request response to P2P application server and is:
When P2P application server is node cost inquiry request to the request that ALTO server sends, described ALTO server returns the node cost inquiry response for the node value at cost of institute's query node being informed P2P application server to P2P application server.
14. methods according to claim 1, is characterized in that, when both candidate nodes concentrate have a WLAN access user time, described sensor selection problem strategy is:
The selection priority of the node of net internal fixtion access is higher than the selection priority of two-way caching server;
The selection priority of two-way caching server is higher than the selection priority of WLAN access user node and 2G/3G access user node.
The data transmission system of 15. 1 kinds of peer-to-peer networks, is characterized in that, this system comprises: two-way Peer-to-Peer Network P2P caching system, P2P application server and application layer transmission optimization ALTO server;
Described two-way P2P caching system, for sending to ALTO server by the information of two-way caching server; Also for recording and obtaining the P2P Hot Contents that each WLAN access user accesses, the information of obtained Hot Contents is sent to P2P application server;
Described P2P application server, concentrates for the two-way caching server in two-way P2P caching system is joined both candidate nodes; Also for when user is to P2P application server requesting node collection, send request to ALTO server; Also for concentrating selection set of node to return to user according to sensor selection problem strategy from both candidate nodes;
Described ALTO server, for receiving the information of the Hot Contents that two-way P2P caching system sends; Also for returning request response to P2P application server, sensor selection problem strategy is sent to P2P application server.
16. systems according to claim 15, is characterized in that, also comprise in described two-way P2P caching system: inverted cache information reporting module and at least one two-way caching server;
Described inverted cache information reporting module, for sending to ALTO server by the information of two-way caching server;
Described two-way caching server, for recording and obtaining the P2P Hot Contents that each WLAN access user accesses, sends to P2P application server by the information of obtained Hot Contents.
17. systems according to claim 15, is characterized in that, also comprise in described ALTO server: cache information collection module and WLAN flow optimization module;
Described cache information collection module, for receiving the information of the Hot Contents that two-way P2P caching system sends;
Described WLAN flow optimization module, for returning request response to P2P application server, sends to P2P application server by sensor selection problem strategy.
18. systems according to claim 15, is characterized in that, also comprise in described P2P application server: peer-to-peer network tracking means P2P Tracker; ALTO client is also provided with in described P2P Tracker;
Described P2P Tracker, for when receiving the set of node request that user sends, sends to ALTO client by described set of node request; Also for concentrating selection set of node to return to user according to sensor selection problem strategy from both candidate nodes;
Described ALTO client, for sending request to ALTO server, the request response that reception ALTO server returns and sensor selection problem strategy, send to described P2P Tracker by sensor selection problem strategy.
19. 1 kinds of two-way Peer-to-Peer Network P2P caching systems, it is characterized in that, this system comprises: inverted cache information reporting module and at least one two-way caching server;
Described inverted cache information reporting module, for sending to ALTO server by the information of two-way caching server.
Described two-way caching server, for recording and obtaining the P2P Hot Contents that each WLAN access user accesses, sends to P2P application server by the information of obtained Hot Contents.
20. 1 kinds of application layer transmission optimization ALTO server, it is characterized in that, this ALTO server comprises: cache information collection module and WLAN flow optimization module;
Described cache information collection module, for receiving the information of the Hot Contents that two-way Peer-to-Peer Network P2P caching system sends;
Described WLAN flow optimization module, for returning request response to P2P application server, sends to P2P application server by sensor selection problem strategy.
21. 1 kinds of Peer-to-Peer Network P2P application servers, is characterized in that, this P2P application server comprises: peer-to-peer network tracking means P2P Tracker; Application layer transmission optimization ALTO client is also provided with in described P2P Tracker;
Described P2P Tracker, for when receiving the set of node request that user sends, sends to ALTO client by described set of node request; Also for concentrating selection set of node to return to user according to sensor selection problem strategy from both candidate nodes;
Described ALTO client, for sending request to ALTO server, the request response that reception ALTO server returns and sensor selection problem strategy, send to described P2P Tracker by sensor selection problem strategy.
CN201310305717.2A 2013-07-19 2013-07-19 A kind of data transmission method and system of peer-to-peer network Active CN104301356B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310305717.2A CN104301356B (en) 2013-07-19 2013-07-19 A kind of data transmission method and system of peer-to-peer network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310305717.2A CN104301356B (en) 2013-07-19 2013-07-19 A kind of data transmission method and system of peer-to-peer network

Publications (2)

Publication Number Publication Date
CN104301356A true CN104301356A (en) 2015-01-21
CN104301356B CN104301356B (en) 2019-01-01

Family

ID=52320924

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310305717.2A Active CN104301356B (en) 2013-07-19 2013-07-19 A kind of data transmission method and system of peer-to-peer network

Country Status (1)

Country Link
CN (1) CN104301356B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106549995A (en) * 2015-09-21 2017-03-29 北京广密华安科技有限公司 Information cache and the method, apparatus and system for pushing in peer-to-peer network
CN107920258A (en) * 2016-10-11 2018-04-17 中国移动通信有限公司研究院 A kind of data processing method and device
CN106549995B (en) * 2015-09-21 2019-07-16 北京广密华安科技有限公司 The method, apparatus and system of information cache and push in peer-to-peer network

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101729581A (en) * 2008-10-28 2010-06-09 华为技术有限公司 Method, system and device for realizing re-orientation in P2P network
CN101924778A (en) * 2009-06-10 2010-12-22 中国移动通信集团公司 P2P streaming media system, P2P user equipment and streaming media data transmission method
CN102299905A (en) * 2010-06-23 2011-12-28 中国移动通信集团公司 P2P streaming media resource adjusting method, apparatus thereof and system thereof
CN102333106A (en) * 2010-07-13 2012-01-25 中国移动通信集团公司 A P2P system resource scheduling method and its device and system
WO2012138817A1 (en) * 2011-04-05 2012-10-11 Interdigital Patent Holdings, Inc. Wireless peer-to-peer network topology

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101729581A (en) * 2008-10-28 2010-06-09 华为技术有限公司 Method, system and device for realizing re-orientation in P2P network
CN101924778A (en) * 2009-06-10 2010-12-22 中国移动通信集团公司 P2P streaming media system, P2P user equipment and streaming media data transmission method
CN102299905A (en) * 2010-06-23 2011-12-28 中国移动通信集团公司 P2P streaming media resource adjusting method, apparatus thereof and system thereof
CN102333106A (en) * 2010-07-13 2012-01-25 中国移动通信集团公司 A P2P system resource scheduling method and its device and system
WO2012138817A1 (en) * 2011-04-05 2012-10-11 Interdigital Patent Holdings, Inc. Wireless peer-to-peer network topology

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106549995A (en) * 2015-09-21 2017-03-29 北京广密华安科技有限公司 Information cache and the method, apparatus and system for pushing in peer-to-peer network
CN106549995B (en) * 2015-09-21 2019-07-16 北京广密华安科技有限公司 The method, apparatus and system of information cache and push in peer-to-peer network
CN107920258A (en) * 2016-10-11 2018-04-17 中国移动通信有限公司研究院 A kind of data processing method and device

Also Published As

Publication number Publication date
CN104301356B (en) 2019-01-01

Similar Documents

Publication Publication Date Title
JP5745169B2 (en) Content processing method, content processing device, and content processing system
EP2088719B1 (en) Method and device for distributing file data
CN104618506B (en) A crowdsourcing content distribution network system, method and device
Qazi et al. Optimal content caching in content‐centric networks
Jin et al. Information-centric mobile caching network frameworks and caching optimization: a survey
US9602378B2 (en) Route decision method, content delivery apparatus, and content delivery network interconnection system
CN102647357B (en) A kind of contents processing method for routing and device
CN102437964B (en) Method and device for issuing business as well as communication system
CN101626385B (en) media service method and system
CN102301682A (en) Method and system for network caching, domain name system redirection sub-system thereof
CN105847353A (en) Mobile CDN (content delivery network) content scheduling method and system for mobile communication network
CN102204324A (en) Method and device for improving access speed of mobile Internet users
RU2664480C2 (en) Method, device and system for content delivery
CN101764833B (en) Resource node information notification method and network entity device
WO2012075970A1 (en) Method, device and system for obtaining media content
Pitkänen et al. Opportunistic web access via wlan hotspots
KR20130057232A (en) Contents delivery network system having edge node and method for caching and managing contents
CN101964741B (en) Method and equipment for sending node list
CN103685344A (en) Synergetic method and system for multiple P2P (point-to-point) cache peers
JP2008522464A (en) Method and system for agent to redirect terminal request
CN104301356A (en) A peer-to-peer network data transmission method and system
KR20130033252A (en) Method and system for end-to-end qos guaranteed content delivery on service overlay network
JP5894981B2 (en) Accessing a network of nodes distributed across a communication architecture using a topology server with multiple criteria selection
CN113934916B (en) CDN service implementation methods, terminal devices, node servers, and storage media
CN108076350A (en) A kind of video service system and method based on router collaboration caching

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant