[go: up one dir, main page]

CN102821115B - A kind of method and apparatus of point-to-point P2P transfer resource - Google Patents

A kind of method and apparatus of point-to-point P2P transfer resource Download PDF

Info

Publication number
CN102821115B
CN102821115B CN201110151909.3A CN201110151909A CN102821115B CN 102821115 B CN102821115 B CN 102821115B CN 201110151909 A CN201110151909 A CN 201110151909A CN 102821115 B CN102821115 B CN 102821115B
Authority
CN
China
Prior art keywords
information
node
resource providing
resource
providing 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.)
Active
Application number
CN201110151909.3A
Other languages
Chinese (zh)
Other versions
CN102821115A (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.)
Honor Device Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201110151909.3A priority Critical patent/CN102821115B/en
Publication of CN102821115A publication Critical patent/CN102821115A/en
Application granted granted Critical
Publication of CN102821115B publication Critical patent/CN102821115B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

本发明公开了一种点对点P2P传输资源的方法,包括接收资源请求节点或者目录服务器发送的获取参考信息请求;根据所述获取参考信息请求,获取位于无线网络的资源提供节点的无线状态信息;发送所述无线状态信息至所述资源请求节点或者目录服务器,使得所述资源请求节点或者目录服务器根据所述无线状态信息对所述资源提供节点进行选择,产生推荐所述资源请求节点使用的资源提供节点。本发明的P2P传输资源的方法可以选择符合要求的资源提供节点作为下载对象,进而使得有位于无线网络的节点参与的P2P业务性能较高。

The invention discloses a method for point-to-point P2P resource transmission, which includes receiving a request for obtaining reference information sent by a resource requesting node or a directory server; according to the request for obtaining reference information, obtaining wireless state information of a resource providing node located in a wireless network; sending The wireless status information is sent to the resource requesting node or the directory server, so that the resource requesting node or the directory server selects the resource providing node according to the wireless status information, and generates a resource provider recommended for the resource requesting node. node. The P2P resource transmission method of the present invention can select a qualified resource providing node as a download object, thereby making the performance of the P2P service participated by nodes located in the wireless network higher.

Description

一种点对点P2P传输资源的方法和装置A method and device for peer-to-peer P2P resource transmission

技术领域 technical field

本发明涉及通信领域,特别涉及一种点对点(Peer-to-Peer,P2P)传输资源的方法和装置。The present invention relates to the communication field, in particular to a method and device for peer-to-peer (Peer-to-Peer, P2P) resource transmission.

背景技术 Background technique

点对点计算是指不同系统之间通过直接交换,实现计算机资源和服务共享、进行信息处理的过程。这里,资源可以是处理器、缓存和磁盘空间等,服务包括信息交换、数据计算等。P2P模式与传统客户端访问资源服务器模式的关键区别在于节点(Peer)与节点在通信过程中,可以摒弃资源服务器的角色,完成节点与节点的直接通信来获得共享资源或服务。Peer-to-peer computing refers to the process of sharing computer resources and services and processing information through direct exchange between different systems. Here, resources may be processors, caches, and disk space, etc., and services include information exchange, data calculation, etc. The key difference between the P2P mode and the traditional client access resource server mode is that the node (Peer) can abandon the role of the resource server during the communication process, and complete the direct communication between nodes to obtain shared resources or services.

在P2P系统中,每一个节点都是平等的参与者,承担服务使用者和服务提供者两个角色。资源的所有权和控制权被分散到网络的每一个节点中。服务使用者和服务提供者之间进行直接通信,可充分利用网络带宽,减少网络的拥塞状况,使得包括各种计算资源和存储资源在内的资源有效利用率大大提高。同时由于没有中央节点的集中控制,系统的伸缩性较强,也能避免单点故障,提高系统的容错性能。In the P2P system, each node is an equal participant, taking on two roles of service user and service provider. The ownership and control of resources are distributed to every node in the network. Direct communication between service users and service providers can make full use of network bandwidth, reduce network congestion, and greatly improve the effective utilization of resources including various computing resources and storage resources. At the same time, because there is no centralized control of the central node, the scalability of the system is strong, and it can also avoid single point failures and improve the fault tolerance of the system.

P2P网络包括3种不同的结构,分别是集中式P2P,全分布式P2P和混合式P2P。集中式P2P要求各节点都登录到中心服务器上,通过中心服务器保存并维护所有对等端的共享文件目录信息;分布式P2P采用一种完全分布式的信息共享技术,每一个节点在作为服务器端的同时也是客户端,每个节点仅知道与它直接相连的节点,如果其他节点不响应该节点的ping或回复查询,这台节点就不会看到其它节点。P2P networks include 3 different structures, namely centralized P2P, fully distributed P2P and hybrid P2P. Centralized P2P requires all nodes to log in to the central server, and the central server saves and maintains the shared file directory information of all peers; distributed P2P adopts a completely distributed information sharing technology, and each node acts as a server. It is also a client. Each node only knows the nodes directly connected to it. If other nodes do not respond to the node's ping or reply to the query, this node will not see other nodes.

混合式P2P网络结合了集中式和分布式P2P网络的优点,在设计思想和处理能力上都得到了进一步的优化。网络中节点之间的交互主要分为节点和目录服务器(Tracker)之间的交互以及节点和节点之间的交互:资源请求节点向tracker发出请求,以获取拥有所需内容的资源提供节点列表;节点之间交换各自拥有的内容信息,既作为资源请求节点从其它节点获取下载的内容,同时也作为资源提供节点向其它节点上传自己所拥有的资源。The hybrid P2P network combines the advantages of centralized and distributed P2P networks, and has been further optimized in terms of design ideas and processing capabilities. The interaction between nodes in the network is mainly divided into the interaction between the node and the directory server (Tracker) and the interaction between nodes: the resource requesting node sends a request to the tracker to obtain a list of resource providing nodes with the required content; Nodes exchange their own content information, not only as a resource request node to obtain downloaded content from other nodes, but also as a resource provider node to upload its own resources to other nodes.

随着移动互联网的飞速发展,目前在移动终端上已经开始应用P2P软件。并且随着移动网络的继续发展,以及后续4G无线网络的部署,移动终端P2P客户端会得到大规模的应用,越来越多的移动终端会参与到P2P的资源交互上来。With the rapid development of the mobile Internet, P2P software has begun to be applied on mobile terminals. And with the continuous development of mobile networks and the subsequent deployment of 4G wireless networks, mobile terminal P2P clients will be widely used, and more and more mobile terminals will participate in P2P resource interaction.

但是,目前的P2P传输资源的方法没有考虑无线终端节点引入后对网络以及P2P业务性能的影响,并不能够合理的选择位于无线网络的节点作为资源提供节点来提供资源,因此,使得有位于无线网络的节点参与的P2P业务的性能较低。However, the current method of P2P resource transmission does not consider the impact of wireless terminal nodes on the network and P2P service performance, and cannot reasonably select nodes located in the wireless network as resource providing nodes to provide resources. The performance of the P2P service that the nodes of the network participate in is relatively low.

发明内容 Contents of the invention

为了解决有位于无线网络的节点参与的P2P业务性能较低的问题,本发明的多个方面提供了P2P传输资源的方法、信息服务器和网络设备。In order to solve the problem of low performance of P2P services with nodes located in the wireless network, various aspects of the present invention provide a P2P resource transmission method, an information server and a network device.

本发明的一个方面提供了一种点对点P2P传输资源的方法,所述方法包括:接收资源请求节点或者目录服务器发送的获取参考信息请求;根据所述获取参考信息请求,获取位于无线网络的资源提供节点的无线状态信息;发送所述无线状态信息至所述资源请求节点或者目录服务器,使得所述资源请求节点或者目录服务器根据所述无线状态信息对所述资源提供节点进行选择,产生推荐所述资源请求节点使用的资源提供节点。One aspect of the present invention provides a method for point-to-point P2P resource transmission. The method includes: receiving a request for obtaining reference information sent by a resource requesting node or a directory server; wireless state information of the node; sending the wireless state information to the resource requesting node or directory server, so that the resource requesting node or directory server selects the resource providing node according to the wireless state information, and generates the recommended The resource providing node used by the resource requesting node.

本发明的另一个方面提供了一种信息服务器,所述信息服务器包括:第一接收模块,用于接收资源请求节点或者目录服务器目录服务器发送的获取参考信息请求;第一处理模块,用于根据所述第一接收模块收到的获取参考信息请求,获取位于无线网络的资源提供节点的无线状态信息;第一发送模块,用于发送所述第一处理模块获取的所述无线状态信息至所述资源请求节点或者目录服务器,使得所述资源请求节点或者目录服务器根据所述无线状态信息对所述资源提供节点进行选择,产生推荐所述资源请求节点使用的资源提供节点。Another aspect of the present invention provides an information server. The information server includes: a first receiving module, configured to receive a request for obtaining reference information sent by a resource requesting node or a directory server; a first processing module, configured to The reference information acquisition request received by the first receiving module acquires the wireless state information of the resource providing node located in the wireless network; the first sending module is configured to send the wireless state information obtained by the first processing module to the wireless state information obtained by the first processing module The resource requesting node or the directory server, so that the resource requesting node or the directory server selects the resource providing node according to the wireless state information, and generates a resource providing node recommended for the resource requesting node to use.

本发明的另一个方面提供了一种点对点P2P传输资源的方法,所述方法包括:接收信息服务器根据获取参考信息请求发送的位于无线网络的资源提供节点的无线状态信息;根据所述无线状态信息对所述资源提供节点进行选择,产生推荐资源请求节点使用的资源提供节点。Another aspect of the present invention provides a method for peer-to-peer P2P resource transmission, the method comprising: receiving the wireless state information of the resource providing node located in the wireless network sent by the information server according to the request for obtaining reference information; according to the wireless state information The resource providing node is selected to generate a resource providing node recommended for use by the resource requesting node.

本发明的另一个方面提供了一种网络设备,所述网络设备包括:第二接收模块,用于接收信息服务器根据获取参考信息请求发送的位于无线网络的资源提供节点的无线状态信息;第二处理模块,用于根据所述第二接收模块收到的所述无线状态信息对所述资源提供节点进行选择,产生推荐资源请求节点使用的资源提供节点。Another aspect of the present invention provides a network device, and the network device includes: a second receiving module, configured to receive wireless state information of a resource providing node located in a wireless network sent by an information server according to a request for obtaining reference information; A processing module, configured to select the resource providing node according to the wireless state information received by the second receiving module, and generate a resource providing node recommended for use by the resource requesting node.

上述各方面提供的P2P传输资源的方法、信息服务器和网络设备由于获取了位于无线网络的资源提供节点的状态信息,根据包括该状态信息的节点选择参考信息来选择该资源提供节点,因此可以选择符合要求的资源提供节点作为下载对象,进而使得有位于无线网络的节点参与的P2P业务性能较高。The P2P resource transmission method, information server, and network device provided by the above aspects can select the resource providing node according to the node selection reference information including the state information because they have acquired the status information of the resource providing node located in the wireless network, so they can select The resource providing nodes that meet the requirements are used as downloading objects, so that the performance of the P2P service that the nodes located in the wireless network participate in is relatively high.

附图说明 Description of drawings

图1是本发明一个实施例所提供的一种P2P传输资源的方法的流程图;FIG. 1 is a flowchart of a method for P2P resource transmission provided by an embodiment of the present invention;

图2是本发明另一个实施例所提供的一种P2P传输资源的方法的流程图;FIG. 2 is a flow chart of a method for P2P resource transmission provided by another embodiment of the present invention;

图3a是本发明又一个实施例所提供的一种P2P传输资源的方法的流程图;Fig. 3a is a flowchart of a P2P resource transmission method provided by another embodiment of the present invention;

图3b是本发明又一个实施例所提供的一种P2P传输资源的方法的流程图;Fig. 3b is a flowchart of a P2P resource transmission method provided by another embodiment of the present invention;

图4a是本发明再一个实施例所提供的一种P2P传输资源的方法的流程图;Fig. 4a is a flowchart of a P2P resource transmission method provided by another embodiment of the present invention;

图4b是本发明再一个实施例所提供的一种P2P传输资源的方法的流程图;Fig. 4b is a flowchart of a P2P resource transmission method provided by another embodiment of the present invention;

图5是本发明一个实施例所提供的一种信息服务器的结构示意图;Fig. 5 is a schematic structural diagram of an information server provided by an embodiment of the present invention;

图6是本发明一个实施例所提供的一种网络设备的结构示意图。Fig. 6 is a schematic structural diagram of a network device provided by an embodiment of the present invention.

具体实施方式 Detailed ways

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

首先对下面将要提供的本发明各个实施例通用的应用场景进行介绍。在下面的各个实施例中,资源请求节点为希望下载某一资源的节点,资源提供节点为具有该资源的节点。资源请求节点可以位于有线网络中,也可以位于无线网络中。资源提供节点可以包括位于有线网络中的资源提供节点和/或位于无线网络中的资源提供节点。First, common application scenarios of various embodiments of the present invention to be provided below are introduced. In each of the following embodiments, a resource requesting node is a node that wishes to download a certain resource, and a resource providing node is a node that has the resource. The resource requesting node may be located in a wired network or a wireless network. The resource providing node may include a resource providing node located in a wired network and/or a resource providing node located in a wireless network.

请参照图1,图1是本发明一个实施例所提供的一种P2P传输资源的方法的流程图。该方法包括:Please refer to FIG. 1 . FIG. 1 is a flowchart of a method for P2P resource transmission provided by an embodiment of the present invention. The method includes:

步骤S11、接收资源请求节点或者目录服务器发送的获取参考信息请求。Step S11, receiving a reference information acquisition request sent by a resource requesting node or a directory server.

步骤S12、根据所述获取参考信息请求,获取位于无线网络的资源提供节点的无线状态信息。Step S12 , according to the request for obtaining reference information, obtain wireless status information of resource providing nodes located in the wireless network.

步骤S13、发送所述无线状态信息至所述资源请求节点或者目录服务器,使得所述资源请求节点或者目录服务器根据所述无线状态信息对所述资源提供节点进行选择,产生推荐所述资源请求节点使用的资源提供节点。Step S13, sending the wireless state information to the resource requesting node or directory server, so that the resource requesting node or directory server selects the resource providing node according to the wireless state information, and recommends the resource requesting node The resource provider node used.

请参照图2,图2是本发明另一个实施例所提供的一种P2P传输资源的方法的流程图。该方法包括:Please refer to FIG. 2 . FIG. 2 is a flowchart of a method for P2P resource transmission provided by another embodiment of the present invention. The method includes:

步骤S21、接收信息服务器根据获取参考信息请求发送的位于无线网络的资源提供节点的无线状态信息;Step S21, receiving the wireless state information of the resource providing node located in the wireless network sent by the information server according to the request for obtaining reference information;

步骤S22、根据所述无线状态信息对所述资源提供节点进行选择,产生推荐资源请求节点使用的资源提供节点。Step S22: Select the resource providing node according to the wireless state information, and generate a resource providing node recommended for use by the resource requesting node.

位于无线网络的资源提供节点相对于位于有线网络的节点而言,其网络的资源更加有限,小区的负载状态也因时段、地域等的差异发生较大的变化,而且,位于无线网络的资源提供节点与有线网络中的资源提供节点不同,具有移动性、电池容量有限等特点,同时上传下载能力也随着无线信道状况的改变而不断变化。上述实施例所提供的P2P传输资源的方法由于获取了位于无线网络的资源提供节点的无线状态信息,根据包括该无线状态信息来选择该资源提供节点,因此可以选择符合要求的资源提供节点作为下载对象,进而使得有位于无线网络的节点参与的P2P业务性能较高。Compared with the nodes located in the wired network, the resource providing nodes located in the wireless network have more limited network resources, and the load status of the cell also changes greatly due to differences in time periods and regions. Moreover, the resource providing nodes located in the wireless network Different from the resource providing nodes in the wired network, the nodes have the characteristics of mobility and limited battery capacity, and the upload and download capabilities also change with the changes of the wireless channel conditions. The method for P2P resource transmission provided by the above embodiments obtains the wireless status information of the resource providing node located in the wireless network, and selects the resource providing node according to the wireless status information, so that the resource providing node that meets the requirements can be selected as the downloading node. Object, and then make the P2P business performance that the nodes located in the wireless network participate in higher.

请参照图3a,图3a是本发明又一个实施例所提供的一种P2P传输资源的方法的流程图。在本实施例的应用场景中,包括资源请求节点、目录服务器和信息服务器。该资源请求节点可以是位于有线或无线网络中的网络终端。该方法包括:Please refer to FIG. 3a, which is a flowchart of a P2P resource transmission method provided by another embodiment of the present invention. In the application scenario of this embodiment, resource request nodes, directory servers and information servers are included. The resource requesting node may be a network terminal located in a wired or wireless network. The method includes:

步骤S31、目录服务器向信息服务器发送获取参考信息请求。Step S31, the directory server sends a request for obtaining reference information to the information server.

在本实施例的一个实现方式中,当资源请求节点希望下载一个资源时,该资源请求节点首先向该目录服务器发送资源请求。该目录服务器上保存着拥有该资源的资源提供节点的列表,为了获得对拥有该资源的资源提供节点进行选择的参考信息,该目录服务器向该信息服务器发送获取参考信息请求,该获取参考信息请求中包括了拥有该资源的资源提供节点的列表。该信息服务器接收该目录服务器发送的获取参考信息请求。In an implementation of this embodiment, when a resource requesting node wishes to download a resource, the resource requesting node first sends a resource request to the directory server. The directory server stores a list of resource providing nodes that own the resource. In order to obtain reference information for selecting a resource providing node that owns the resource, the directory server sends a request for obtaining reference information to the information server. The request for obtaining reference information contains a list of resource provider nodes that own the resource. The information server receives the request for obtaining reference information sent by the directory server.

在本实施例的另一个实现方式中,目录服务器还可以先将该获取参考信息请求发回该资源请求节点,然后由资源请求节点将该获取参考信息请求转发至该目录服务器。In another implementation of this embodiment, the directory server may first send the request for obtaining reference information back to the resource requesting node, and then the resource requesting node forwards the request for obtaining reference information to the directory server.

步骤S32、该信息服务器根据所述获取参考信息请求,获取位于无线网络的资源提供节点的无线状态信息。Step S32, the information server obtains the wireless state information of the resource providing node located in the wireless network according to the request for obtaining reference information.

在本实施例的一个实现方式中,该信息服务器根据该获取参考信息请求,获取该参考信息请求中每一个资源提供节点的无线状态信息,该无线状态信息用于指示该资源提供节点的状态和/或该资源提供节点所在无线网络的状态。该资源提供节点的无线无线状态信息可以向OAM(OperationAdministrationandMaintenance,操作管理维护)服务器获取。In an implementation of this embodiment, the information server obtains the wireless state information of each resource providing node in the reference information request according to the obtaining reference information request, and the wireless state information is used to indicate the state and /or the resource provides the status of the wireless network where the node is located. The wireless wireless state information of the resource providing node may be acquired from an OAM (Operation Administration and Maintenance, operation management and maintenance) server.

在本实施例的一个实现方式中,该资源提供节点的无线状态信息包括该资源提供节点所在网络的小区分布拓扑信息、该资源提供节点所在小区的状态信息和该资源提供节点的节点状态信息中的至少一种。该资源提供节点所在小区的状态信息用于指示该资源提供节点所在小区的负荷状态,该资源提供节点的节点状态信息用于指示该资源提供节点的提供资源的能力。该资源提供节点所在网络的小区分布拓扑信息指示了无线网络的小区和/或基站的分布。该资源提供节点的该无线状态信息所包括的上述三种信息都会影响到该资源提供节点向该资源请求节点上载资源的能力。因此,优选的,该无线状态信息包括该资源提供节点所在网络的小区分布拓扑信息、该资源提供节点所在小区的状态信息和该资源提供节点的节点状态信息。当然,上述三种信息只是示范性的,本实施例的无线状态信息并不限于上述三种信息。In an implementation of this embodiment, the wireless status information of the resource providing node includes cell distribution topology information of the network where the resource providing node is located, status information of the cell where the resource providing node is located, and node status information of the resource providing node. at least one of . The status information of the cell where the resource providing node is located is used to indicate the load status of the cell where the resource providing node is located, and the node status information of the resource providing node is used to indicate the ability of the resource providing node to provide resources. The cell distribution topology information of the network where the resource providing node is located indicates the distribution of cells and/or base stations of the wireless network. The above three types of information included in the wireless status information of the resource providing node will all affect the ability of the resource providing node to upload resources to the resource requesting node. Therefore, preferably, the wireless status information includes cell distribution topology information of the network where the resource providing node is located, status information of the cell where the resource providing node is located, and node status information of the resource providing node. Certainly, the above three kinds of information are only exemplary, and the wireless state information in this embodiment is not limited to the above three kinds of information.

在本实施例的另一个实现方式中,该资源提供节点所在网络的小区分布拓扑信息包括该资源提供节点所在小区与该资源请求节点所在小区之间的距离;该资源提供节点所在小区的状态信息包括小区资源利用率、小区用户准入概率和接入成功率中的至少一个参数;该资源提供节点的节点状态信息包括该资源提供节点的移动速率、中心边缘属性、用户优先级、电池电量和接入能力中的至少一个参数。上述每种信息所包含的参数都是示范性的,每种信息还可以包括其他的参数。In another implementation of this embodiment, the cell distribution topology information of the network where the resource providing node is located includes the distance between the cell where the resource providing node is located and the cell where the resource requesting node is located; the status information of the cell where the resource providing node is located Including at least one parameter of cell resource utilization, cell user access probability, and access success rate; the node status information of the resource providing node includes the resource providing node’s mobility rate, center-edge attributes, user priority, battery power and At least one parameter in the access capability. The parameters included in each of the above information are exemplary, and each of the information may also include other parameters.

无线网络的小区或基站分布在网络规划和部署时已经确定,有其固有的特点,资源提供节点所在网络的小区分布拓扑信息可以直接从OAM服务器中获取,获取小区分布拓扑信息的复杂度远远低于有线网络中获取网络拓扑信息的复杂度。The cell or base station distribution of the wireless network has been determined during network planning and deployment, and has its inherent characteristics. The cell distribution topology information of the network where the resource provider node is located can be obtained directly from the OAM server, and the complexity of obtaining the cell distribution topology information is far from It is lower than the complexity of obtaining network topology information in a wired network.

小区资源利用率可以包括功率资源利用率,以及在WCDMA系统情况下的码资源利用率或者在LTE系统情况下的RB(ResourceBlock,资源块)资源利用率。小区资源利用率、小区用户准入概率和接入成功率可以直接从OAM服务器获取。The cell resource utilization rate may include power resource utilization rate, and code resource utilization rate in the case of WCDMA system or RB (ResourceBlock, resource block) resource utilization rate in the case of LTE system. The cell resource utilization rate, cell user access probability and access success rate can be obtained directly from the OAM server.

该移动速率、中心边缘属性、用户优先级、电池电量和接入能力可以直接从OAM服务器、RNC(RadioNetworkController,无线网络控制器)或演进基站(eNB)获取。其中,中心边缘属性是用于指示用户是中心用户还是边缘用户,具体可以根据用户的路损、SINR(SignaltoInterferenceplusNoiseRatio,信号与干扰和噪声比)或RSRP(Referencesignalreceivedpower,参考符号接收功率)等信息判断用户的中心边缘属性。The mobility rate, center-edge attribute, user priority, battery power and access capability can be obtained directly from the OAM server, RNC (Radio Network Controller, radio network controller) or evolved base station (eNB). Among them, the center-edge attribute is used to indicate whether the user is a center user or an edge user. Specifically, the user can be judged according to the user's path loss, SINR (Signal to Interference plus Noise Ratio, signal to interference and noise ratio) or RSRP (Reference signal received power, reference symbol received power) and other information. The center edge property of .

在本实施例的另一个实现方式中,该资源提供节点的无线状态信息是由多种信息按照预设的状态信息权重进行加权所得到的状态信息加权结果,所述多种信息可以包括所述资源提供节点所在网络的小区分布拓扑信息、所述资源提供节点所在小区的状态信息和所述资源提供节点的节点状态信息。具体而言,信息服务器可以先获取该多种信息,然后按照公式(一)对该多种信息进行加权:In another implementation of this embodiment, the wireless state information of the resource providing node is a state information weighted result obtained by weighting various types of information according to preset state information weights, and the various types of information may include the The cell distribution topology information of the network where the resource providing node is located, the status information of the cell where the resource providing node is located, and the node status information of the resource providing node. Specifically, the information server may first obtain the various types of information, and then weight the various types of information according to formula (1):

Peer_Value=Value_cellmap*Va+Value_cell*Vb+Value_UE*Vc......公式(一)Peer_Value=Value_cellmap*Va+Value_cell*Vb+Value_UE*Vc...Formula (1)

Peer_Value表示状态信息加权结果,Value_cellmap表示该资源提供节点所在网络的小区分布拓扑信息的值,Value_cell表示该资源提供节点所在小区的状态信息的值,Value_UE表示该资源提供节点的节点状态信息的值,Va,Vb,Vc分别为该资源提供节点所在网络的小区分布拓扑信息、该资源提供节点所在小区的状态信息和该资源提供节点的节点状态信息对应的状态信息权值。Peer_Value represents the weighted result of the state information, Value_cellmap represents the value of the cell distribution topology information of the network where the resource provides the node, Value_cell represents the value of the state information of the cell where the resource provides the node, Value_UE represents the value of the node state information of the resource providing node, Va, Vb, and Vc are respectively the cell distribution topology information of the network where the resource providing node is located, the state information of the cell where the resource providing node is located, and the state information weights corresponding to the node state information of the resource providing node.

在本实施例的另一个实现方式中,每种信息可以为该信息所包含的多个参数的加权结果。具体而言,信息服务器可以先按照公式(二)分别对每种信息所包含的参数进行加权:In another implementation manner of this embodiment, each type of information may be a weighted result of multiple parameters included in the information. Specifically, the information server may weight the parameters included in each type of information according to formula (2):

Value_cellmap=V1*v1+V2*v2+...+Vn*vnValue_cellmap=V1*v1+V2*v2+...+Vn*vn

Value_cell=V1’*v1’+V2’*v2’+...+Vn’*vn’......公式(二)Value_cell=V1'*v1'+V2'*v2'+...+Vn'*vn'...Formula (2)

Value_UE=V1”*v1”+V2”*v2”+...+Vn”*vn”Value_UE=V1"*v1"+V2"*v2"+...+Vn"*vn"

v1,v2,...,vn为该资源提供节点所在网络的小区分布拓扑信息包含的各参数的权值,V1,V2,...,Vn为该资源提供节点所在网络的小区分布拓扑信息包含的各参数的值;v1’,v2’,...,vn’为该资源提供节点所在小区的状态信息所包含的各参数的权值,V1’,V2’,...,Vn’为该资源提供节点所在小区的状态信息所包含的各参数的值;v1”,v2”,...,vn”为该资源提供节点的节点状态信息所包含参数的权值,V1”,V2”,...,Vn”为该资源提供节点的节点状态信息所包含参数的值。例如,在本实现方式中,该资源提供节点所在网络的小区分布拓扑信息包括该资源提供节点所在小区与该资源请求节点所在小区之间的距离参数;该资源提供节点所在小区的状态信息包括小区资源利用率、小区用户准入概率和接入成功率参数的加权结果;该资源提供节点的节点状态信息包括移动速率、中心边缘属性、用户优先级、电池电量和接入能力参数的加权结果。在此之后,信息服务器再按照公式(一)计算得到Peer_Value。V1, v2, ..., vn provide the resource with the weight of each parameter contained in the cell distribution topology information of the network where the node is located, and V1, V2, ..., Vn provide the resource with the cell distribution topology information of the network where the node is located The value of each parameter included; v1', v2', ..., vn' is the weight of each parameter contained in the state information of the cell where the resource provides the node, V1', V2', ..., Vn' Provide the value of each parameter contained in the state information of the cell where the node is located for the resource; v1", v2", ..., vn" provide the weight of the parameters contained in the node state information of the node for the resource, V1", V2 ", ..., Vn" provides the value of the parameter contained in the node status information of the node for this resource. For example, in this implementation, the cell distribution topology information of the network where the resource providing node is located includes the distance parameter between the cell where the resource providing node is located and the cell where the resource requesting node is located; the status information of the cell where the resource providing node is located includes The weighted results of resource utilization, cell user access probability, and access success rate parameters; the node status information of the resource providing node includes the weighted results of mobility rate, center-edge attributes, user priority, battery power, and access capability parameters. After that, the information server calculates the Peer_Value according to the formula (1).

步骤S33、信息服务器发送所述无线状态信息至所述目录服务器,使得所述目录服务器根据所述无线状态信息对所述资源提供节点进行选择,产生推荐所述资源请求节点使用的资源提供节点。Step S33 , the information server sends the wireless state information to the directory server, so that the directory server selects the resource providing node according to the wireless state information, and generates a resource providing node recommended for the resource requesting node to use.

在本实施例的一个实现方式中,该信息服务器将该无线状态信息发送至该目录服务器,该目录服务器根据该无线状态信息,选择符合要求的资源提供节点作为推荐该资源请求节点使用的推荐资源提供节点,并将该选出的推荐资源提供节点发送给该资源请求节点。在本实施例的另一个实现方式中,该信息服务器将该无线状态信息先发送至该资源请求节点,然后由该资源请求节点将该无线状态信息转发给该目录服务器,该目录服务器根据该无线状态信息,选择符合要求的资源提供节点作为推荐该资源请求节点使用的推荐资源提供节点。In an implementation of this embodiment, the information server sends the wireless state information to the directory server, and the directory server selects a resource providing node that meets the requirements as a recommended resource for the resource requesting node according to the wireless state information providing node, and sending the selected recommended resource providing node to the resource requesting node. In another implementation of this embodiment, the information server first sends the wireless state information to the resource requesting node, and then the resource requesting node forwards the wireless state information to the directory server, and the directory server transmits the wireless state information according to the wireless State information, select a resource providing node that meets the requirements as a recommended resource providing node recommended for the resource requesting node.

在本实施例的一个实现方式中,如果该资源提供节点的无线状态信息包含资源提供节点所在网络的小区分布拓扑信息,则可以根据该资源提供节点所在网络的小区分布拓扑信息优先选择资源请求节点所在的小区或同站小区中的资源提供节点作为建议使用的资源提供节点,进而利用本地交换获取所需的资源。In an implementation of this embodiment, if the wireless state information of the resource providing node includes the cell distribution topology information of the network where the resource providing node is located, the resource requesting node may be preferentially selected according to the cell distribution topology information of the network where the resource providing node is located The resource provider node in the cell or the same station cell is the recommended resource provider node, and then uses local switching to obtain the required resources.

在本实施例的另一个实现方式中,如果该资源提供节点的无线状态信息包含该资源提供节点所在小区的负荷状态,则优先选择负荷较低的小区内的资源提供节点作为建议使用的资源提供节点。In another implementation of this embodiment, if the wireless state information of the resource providing node includes the load status of the cell where the resource providing node is located, the resource providing node in the cell with a lower load is preferentially selected as the recommended resource providing node. node.

在本实施例的另一个实现方式中,如果该资源提供节点的无线状态信息包含该资源提供节点的节点状态信息,则优先选择提供资源的能力较好的资源提供节点作为建议使用的资源提供节点,例如选择上载速率较快的资源提供节点作为建议使用的资源提供节点。例如,如果该资源提供节点的节点状态信息包含移动速率,则由于移动速率过高的终端其信道环境变化较快,可能造成较大的速率波动,同时会引起频繁的切换,可能引起P2P通信的中断,因此优先选择移动速率较低的资源提供节点。再例如,如果该资源提供节点的节点状态信息包含用户的中心边缘属性,由于中心用户能获得更高的上行速率,因此优先选择中心用户的资源提供节点。又例如,如果该资源提供节点的节点状态信息包含用户优先级,由于用户优先级指示用户在无线网络中的QoS(QualityofService,服务质量)属性,在同等情况下优先级高的用户可以优先获取无线资源,因此选择用户优先级高的资源提供节点。又例如,如果该资源提供节点的节点状态信息包含用户电池电量,则优先选择用户电池电量充足的资源提供节点。又例如,如果该资源提供节点的节点状态信息包含用户接入能力信息,则如果用户有多种接入能力,比如WIFI(WirelessFidelity,无线保真)、D2D(DevicetoDevice)等,则优先选择具有多种接入能力的资源提供节点。In another implementation of this embodiment, if the wireless status information of the resource providing node includes the node status information of the resource providing node, the resource providing node with better ability to provide resources is preferentially selected as the recommended resource providing node , such as selecting a resource provider node with a faster upload rate as the recommended resource provider node. For example, if the node state information of the resource providing node includes the mobile rate, the channel environment of the terminal with too high mobile rate changes rapidly, which may cause large rate fluctuations, and at the same time cause frequent switching, which may cause P2P communication failures. Therefore, the resource provider node with a lower mobile rate is preferred. For another example, if the node status information of the resource providing node includes the user's center-edge attribute, since the center user can obtain a higher uplink rate, the resource providing node of the center user is preferentially selected. For another example, if the node status information of the resource providing node includes user priority, since the user priority indicates the user's QoS (Quality of Service, Quality of Service) attribute in the wireless network, under the same circumstances, users with high priority can preferentially obtain wireless resources, so the resource provider node with high user priority is selected. For another example, if the node state information of the resource providing node includes the battery power of the user, then the resource providing node with sufficient battery power of the user is preferentially selected. For another example, if the node status information of the resource providing node includes user access capability information, then if the user has multiple access capabilities, such as WIFI (Wireless Fidelity, Wireless Fidelity), D2D (Device to Device), etc., it is preferred to select A resource providing node with access capability.

如果该资源提供节点的无线状态信息包含的信息多于一种,则可以按照预定的策略,共同参考该多种信息选择推荐资源提供节点。类似的,如果该多种信息种的任意一个所包含的参数多于一个,则可以按照预定的策略,共同参考该多个参数选择推荐资源提供节点。If the wireless state information of the resource providing node contains more than one kind of information, the recommended resource providing node can be selected by referring to the multiple kinds of information together according to a predetermined strategy. Similarly, if any one of the various types of information contains more than one parameter, the recommended resource providing node can be selected by referring to the multiple parameters together according to a predetermined strategy.

在本实施例的另一个实现方式中,如果所述资源提供节点的无线状态信息是由多种信息按照预设的状态信息权重进行加权所得到的状态信息加权结果,那么所述目录服务器根据所述无线状态信息对所述资源提供节点进行选择,产生推荐所述资源请求节点使用的资源提供节点具体是:选择所述状态信息加权结果优于一个预设阈值的资源提供节点,或者从所述状态信息加权结果中选择一个预定数量的最优的资源提供节点,作为推荐资源提供节点。In another implementation of this embodiment, if the wireless state information of the resource providing node is the state information weighted result obtained by weighting various types of information according to the preset state information weight, then the directory server according to the The wireless state information selects the resource providing node, and generating a resource providing node recommended for the resource requesting node is: selecting a resource providing node whose weighted result of the state information is better than a preset threshold, or selecting a resource providing node from the resource requesting node A predetermined number of optimal resource providing nodes are selected from the state information weighted results as recommended resource providing nodes.

具体而言,设定一个阈值Peer_Value_threshold,将每个资源提供节点的Peer_Value与该Peer_Value_threshold进行比较,如果一个该资源提供节点的Peer_Value低于该Peer_Value_threshold,则该资源提供节点不能作为推荐资源提供节点;如果有多个该资源提供节点的Peer_Value不低于该Peer_Value_threshold,则根据需要的资源提供节点的个数,选择Peer_Value值较优的资源提供节点作为推荐资源提供节点。或者,也可以设定一个预定数量N,选择Peer_Value最优的前N个资源提供节点作为推荐资源提供节点。Specifically, set a threshold Peer_Value_threshold, compare the Peer_Value of each resource providing node with the Peer_Value_threshold, if the Peer_Value of a resource providing node is lower than the Peer_Value_threshold, then the resource providing node cannot be used as a recommended resource providing node; if If there are multiple resource providing nodes whose Peer_Value is not lower than the Peer_Value_threshold, then according to the number of required resource providing nodes, select the resource providing node with better Peer_Value value as the recommended resource providing node. Alternatively, a predetermined number N may also be set, and the top N resource providing nodes with the best Peer_Value are selected as recommended resource providing nodes.

请参照图3b,图3b是本发明又一个实施例所提供的一种P2P传输资源的方法的流程图。在本实施例的方法与图3a所对应的实施例的方法基本相同,其主要区别在于,本实施例的方法还包括:Please refer to FIG. 3b. FIG. 3b is a flowchart of a P2P resource transmission method provided by another embodiment of the present invention. The method in this embodiment is basically the same as the method in the embodiment corresponding to Fig. 3a, the main difference is that the method in this embodiment also includes:

步骤S32’:根据所述获取参考信息请求,获取策略信息和/或能力信息,其中,所述策略信息用于指示网络供应商设定的网络使用策略;所述能力信息用于指示网络供应商的服务能力。Step S32': Obtain policy information and/or capability information according to the request for obtaining reference information, wherein the policy information is used to indicate the network use policy set by the network provider; the capability information is used to indicate the network provider service capabilities.

该信息服务器还根据该获取参考信息请求,获取策略信息和/或能力信息。该策略信息用于指示网络供应商设定的网络使用策略。例如,有些网络供应商可能会封堵P2P网络,而有些网络供应商的策略是允许P2P应用使用网络资源。还有其它的一些网络策略:例如对业务流量的控制策略、精细化或粗放型的链路使用策略等。The information server also acquires policy information and/or capability information according to the request for acquiring reference information. The policy information is used to indicate the network usage policy set by the network provider. For example, some network providers may block P2P networks, while some network providers' policy is to allow P2P applications to use network resources. There are other network policies: such as business flow control policies, fine-grained or extensive link usage policies, and so on.

该能力信息用于指示网络供应商的服务能力。例如,网络供应商可能会在网络中提供不同等级的资源服务器,信息服务器就可以提供这些资源服务器作为资源提供节点来为P2P加速。The capability information is used to indicate the service capability of the network provider. For example, the network provider may provide different levels of resource servers in the network, and the information server can provide these resource servers as resource providing nodes to accelerate P2P.

在具有步骤S32’的情况下,本实施例的方法利用步骤S33’替换图3a所对应的实施例中的步骤S33:In the case of having step S32', the method of this embodiment utilizes step S33' to replace step S33 in the embodiment corresponding to Fig. 3a:

步骤S33’、信息服务器发送所述无线状态信息、以及所述策略信息和/或能力信息至所述目录服务器,使得所述目录服务器根据所述无线状态信息、以及所述策略信息和/或能力信息对所述资源提供节点进行选择,产生推荐所述资源请求节点使用的资源提供节点。Step S33', the information server sends the wireless state information, and the policy information and/or capability information to the directory server, so that the directory server The information selects the resource providing node, and generates a resource providing node recommended for the resource requesting node to use.

请参照图4a,图4a是本发明再一个实施例所提供的一种P2P传输资源的方法的流程图。在本实施例的应用场景中,包括资源请求节点和信息服务器,目录服务器在本应用场景中是可选的。该资源请求节点可以是位于网络中的网络终端。该方法包括:Please refer to FIG. 4a. FIG. 4a is a flow chart of a P2P resource transmission method provided by another embodiment of the present invention. In the application scenario of this embodiment, resource request nodes and information servers are included, and the directory server is optional in this application scenario. The resource requesting node may be a network terminal located in the network. The method includes:

步骤S41、资源请求节点向信息服务器发送获取参考信息请求。Step S41, the resource requesting node sends a request for obtaining reference information to the information server.

在本实施例的一个实现方式中,资源请求节点希望下载一个资源,信息服务器接收资源请求节点发送的获取参考信息请求,该获取参考信息请求中包括了拥有该资源的资源提供节点的列表。如果有目录服务器,则该拥有该资源的资源提供节点的列表可以由该资源请求节点预先从目录服务器上获得;如果没有目录服务器,则该资源请求节点基于分布式哈希表(DistributedHashTable,DHT)进行分布式的资源查找,即可以得到该拥有该资源的资源提供节点的列表。该拥有该资源的资源提供节点的列表的获得属于现有技术,这里不再赘述。In an implementation of this embodiment, the resource requesting node wishes to download a resource, and the information server receives a request for obtaining reference information sent by the resource requesting node, and the request for obtaining reference information includes a list of resource providing nodes owning the resource. If there is a directory server, the list of resource providing nodes that own the resource can be obtained from the directory server in advance by the resource requesting node; if there is no directory server, the resource requesting node is based on a distributed hash table (DistributedHashTable, DHT) By performing distributed resource search, the list of resource providing nodes that own the resource can be obtained. Obtaining the list of resource providing nodes that own the resource belongs to the prior art, and will not be repeated here.

步骤S42、所述信息服务器根据所述获取参考信息请求,获取位于无线网络的资源提供节点的无线状态信息。Step S42, the information server obtains the wireless state information of the resource providing node located in the wireless network according to the request for obtaining reference information.

步骤S43、所述信息服务器发送所述无线状态信息至所述资源请求节点,使得所述资源请求节点根据所述无线状态信息对所述资源提供节点进行选择,产生推荐所述资源请求节点使用的资源提供节点。Step S43, the information server sends the wireless state information to the resource requesting node, so that the resource requesting node selects the resource providing node according to the wireless state information, and generates a message recommending the resource requesting node to use Resource provider node.

对步骤S32和S33的实现方式可以相同或类似的应用于步骤S42和S43,这里不再赘述。The implementation of steps S32 and S33 can be applied to steps S42 and S43 in the same or similar manner, and will not be repeated here.

请参照图4b,图4b是本发明再一个实施例所提供的一种P2P传输资源的方法的流程图。在本实施例的方法与图4a所对应的实施例的方法基本相同,其主要区别在于,本实施例的方法还包括:Please refer to FIG. 4b. FIG. 4b is a flow chart of a P2P resource transmission method provided by another embodiment of the present invention. The method in this embodiment is basically the same as the method in the embodiment corresponding to Fig. 4a, the main difference is that the method in this embodiment also includes:

步骤S42’:根据所述获取参考信息请求,获取策略信息和/或能力信息,其中,所述策略信息用于指示网络供应商设定的网络使用策略;所述能力信息用于指示网络供应商的服务能力。Step S42': Obtain policy information and/or capability information according to the request for obtaining reference information, wherein the policy information is used to indicate the network use policy set by the network provider; the capability information is used to indicate the network provider service capabilities.

在具有步骤S42’的情况下,本实施例的方法利用步骤S43’替换图4a所对应实施例中的步骤S43:In the case of step S42', the method of this embodiment uses step S43' to replace step S43 in the embodiment corresponding to Figure 4a:

步骤S43’、信息服务器发送所述无线状态信息、以及所述策略信息和/或能力信息至所述资源请求节点,使得所述资源请求节点据所述无线状态信息、以及所述策略信息和/或能力信息对所述资源提供节点进行选择,产生推荐所述资源请求节点使用的资源提供节点。Step S43', the information server sends the wireless state information, and the policy information and/or capability information to the resource requesting node, so that the resource requesting node according to the wireless state information, and the policy information and/or or capability information to select the resource providing node, and generate a resource providing node recommended for the resource requesting node to use.

请参照图5,图5是本发明一个实施例所提供的一种信息服务器的结构示意图。该信息服务器50包括第一接收模块51、第一处理模块52和第一发送模块53。第一接收模块51接收资源请求节点或者目录服务器目录服务器发送的获取参考信息请求。第一处理模块52用于根据该第一接收模块51收到的获取参考信息请求,获取位于无线网络的资源提供节点的无线状态信息。第一发送模块53用于发送该第一处理模块52获取的该无线状态信息至该资源请求节点或者目录服务器,使得该资源请求节点或者目录服务器根据该无线状态信息对该资源提供节点进行选择,产生推荐该资源请求节点使用的资源提供节点。Please refer to FIG. 5 , which is a schematic structural diagram of an information server provided by an embodiment of the present invention. The information server 50 includes a first receiving module 51 , a first processing module 52 and a first sending module 53 . The first receiving module 51 receives a reference information acquisition request sent by a resource requesting node or a directory server directory server. The first processing module 52 is configured to obtain the wireless state information of the resource providing node located in the wireless network according to the request for obtaining reference information received by the first receiving module 51 . The first sending module 53 is configured to send the wireless state information obtained by the first processing module 52 to the resource requesting node or the directory server, so that the resource requesting node or the directory server selects the resource providing node according to the wireless state information, A resource providing node recommended for use by the resource requesting node is generated.

在本实施例的一个实现方式中,该第一处理模块52具体用于根据该第一接收模块51收到的获取参考信息请求,获取该资源提供节点所在网络的小区分布拓扑信息、该资源提供节点所在小区的状态信息和该资源提供节点的节点状态信息中的至少一种信息,其中,该资源提供节点所在小区的状态信息用于指示该资源提供节点所在小区的负荷状态,该资源提供节点的节点状态信息用于指示该资源提供节点的提供资源的能力。In an implementation of this embodiment, the first processing module 52 is specifically configured to obtain, according to the request for obtaining reference information received by the first receiving module 51, the cell distribution topology information of the network where the resource providing node is located, the resource providing At least one of the status information of the cell where the node is located and the node status information of the resource providing node, wherein the status information of the cell where the resource providing node is located is used to indicate the load status of the cell where the resource providing node is located, and the resource providing node The node status information of is used to indicate the ability of the resource providing node to provide resources.

在本实施例的另一个实现方式中,该第一处理模块52具体用于根据该第一接收模块51收到的获取参考信息请求,获取该资源提供节点所在网络的小区分布拓扑信息、该资源提供节点所在小区的状态信息和该资源提供节点的节点状态信息中的至少一种信息,其中,该资源提供节点所在小区的状态信息用于指示该资源提供节点所在小区的负荷状态,该资源提供节点的节点状态信息用于指示该资源提供节点的提供资源的能力,该资源提供节点所在网络的小区分布拓扑信息包括该资源提供节点所在小区与该资源请求节点所在小区之间的距离;该资源提供节点所在小区的状态信息包括小区资源利用率、小区用户准入概率和接入成功率中的至少一个;该资源提供节点的节点状态信息包括该资源提供节点的移动速率、该资源提供节点的中心边缘属性、用户优先级、该资源提供节点的电池电量和该资源提供节点的接入能力中的至少一个。In another implementation of this embodiment, the first processing module 52 is specifically configured to obtain the cell distribution topology information of the network where the resource providing node is located, the resource Provide at least one of the status information of the cell where the node is located and the node status information of the resource providing node, wherein the status information of the cell where the resource providing node is located is used to indicate the load status of the cell where the resource providing node is located, and the resource providing The node status information of the node is used to indicate the ability of the resource providing node to provide resources, and the cell distribution topology information of the network where the resource providing node is located includes the distance between the cell where the resource providing node is located and the cell where the resource requesting node is located; The state information of the cell where the providing node is located includes at least one of cell resource utilization, cell user access probability, and access success rate; the node state information of the resource providing node includes the mobility rate of the resource providing node, the resource providing node’s At least one of center-edge attributes, user priority, battery power of the resource providing node, and access capability of the resource providing node.

在本实施例的另一个实现方式中,该第一处理模块52具体用于根据该第一接收模块51收到的获取参考信息请求,获取由该资源提供节点所在网络的小区分布拓扑信息、该资源提供节点所在小区的状态信息和该资源提供节点的节点状态信息中的至少两种信息分别按照对应的信息权重进行加权所得到的状态信息加权结果,其中,该资源提供节点所在小区的状态信息用于指示该资源提供节点所在小区的负荷状态,该资源提供节点的节点状态信息用于指示该资源提供节点的提供资源的能力。In another implementation of this embodiment, the first processing module 52 is specifically configured to obtain the cell distribution topology information of the network where the resource providing node is located, the The status information of the cell where the resource providing node is located and at least two types of information in the node status information of the resource providing node are weighted according to the corresponding information weights, respectively. It is used to indicate the load status of the cell where the resource providing node is located, and the node status information of the resource providing node is used to indicate the ability of the resource providing node to provide resources.

在本实施例的另一个实现方式中,该第一处理模块52具体用于根据该第一接收模块51收到的获取参考信息请求,获取由该资源提供节点所在网络的小区分布拓扑信息、该资源提供节点所在小区的状态信息和该资源提供节点的节点状态信息中的至少两种信息分别按照对应的信息权重进行加权所得到的状态信息加权结果,其中,该资源提供节点所在小区的状态信息用于指示该资源提供节点所在小区的负荷状态,该资源提供节点的节点状态信息用于指示该资源提供节点的提供资源的能力。In another implementation of this embodiment, the first processing module 52 is specifically configured to obtain the cell distribution topology information of the network where the resource providing node is located, the The status information of the cell where the resource providing node is located and at least two types of information in the node status information of the resource providing node are weighted according to the corresponding information weights, respectively. It is used to indicate the load status of the cell where the resource providing node is located, and the node status information of the resource providing node is used to indicate the ability of the resource providing node to provide resources.

在本实施例的另一个实现方式中,该第一处理模块52具体用于根据该第一接收模块51收到的获取参考信息请求,获取策略信息和/或能力信息,该策略信息用于指示网络供应商设定的网络使用策略,该能力信息用于指示网络供应商的服务能力。该第一发送模块53具体用于发送该第一处理模块52获取的该无线状态信息、以及该策略信息和/或能力信息至该资源请求节点或者目录服务器,使得该资源请求节点或者目录服务器根据该无线状态信息、以及该策略信息和/或能力信息对该资源提供节点进行选择,产生推荐该资源请求节点使用的资源提供节点。In another implementation of this embodiment, the first processing module 52 is specifically configured to obtain policy information and/or capability information according to the request for obtaining reference information received by the first receiving module 51, and the policy information is used to indicate The network usage policy set by the network provider, the capability information is used to indicate the service capability of the network provider. The first sending module 53 is specifically configured to send the wireless status information acquired by the first processing module 52, and the policy information and/or capability information to the resource requesting node or directory server, so that the resource requesting node or directory server according to The wireless state information, and the policy information and/or capability information select the resource providing node, and generate a resource providing node recommended for the resource requesting node to use.

请参照图6,图6是本发明一个实施例所提供的一种网络设备的结构示意图。该网络设备60包括第二接收该61和第二处理该62。第二接收该61用于接收信息服务器根据获取参考信息请求发送的位于无线网络的资源提供节点的无线状态信息。第二处理该62用于根据所述第二接收该61收到的所述无线状态信息对所述资源提供节点进行选择,产生推荐资源请求节点使用的资源提供节点。Please refer to FIG. 6 , which is a schematic structural diagram of a network device provided by an embodiment of the present invention. The network device 60 includes a second receiving 61 and a second processing 62 . The second receiving step 61 is for receiving the wireless state information of the resource providing node located in the wireless network sent by the information server according to the request for obtaining reference information. The second processing step 62 is used to select the resource providing node according to the wireless state information received in the second receiving step 61, and generate a resource providing node recommended for use by the resource requesting node.

在本实施例的一个实现方式中,所述网络设备是网络终端或者目录服务器。In an implementation manner of this embodiment, the network device is a network terminal or a directory server.

在本实施例的另一个实现方式中,所述网络设备是目录服务器,所述网络设备还包括第二发送该63,用于将所述第二处理该62产生的所述推荐使用的资源提供节点发送至资源请求节点。In another implementation of this embodiment, the network device is a directory server, and the network device further includes a second sending part 63, which is used to provide the recommended resources generated by the second processing part 62 The node sends to the resource requesting node.

在本实施例的另一个实现方式中,所述第二接收该61具体用于接收信息服务器根据获取参考信息请求发送的位于无线网络的资源提供节点的无线状态信息;其中,所述资源提供节点的无线状态信息包括所述资源提供节点所在网络的小区分布拓扑信息、所述资源提供节点所在小区的状态信息和所述资源提供节点的节点状态信息中的至少一种信息,所述资源提供节点所在小区的状态信息用于指示所述资源提供节点所在小区的负荷状态,所述资源提供节点的节点状态信息用于指示所述资源提供节点的提供资源的能力。In another implementation of this embodiment, the second receiving section 61 is specifically used to receive the wireless state information of the resource providing node located in the wireless network sent by the information server according to the request for obtaining reference information; wherein, the resource providing node The wireless status information includes at least one of the cell distribution topology information of the network where the resource providing node is located, the status information of the cell where the resource providing node is located, and the node status information of the resource providing node. The status information of the cell where the resource providing node is located is used to indicate the load status of the cell where the resource providing node is located, and the node status information of the resource providing node is used to indicate the capability of the resource providing node to provide resources.

在本实施例的另一个实现方式中,所述第二接收该61具体用于接收信息服务器根据获取参考信息请求发送的位于无线网络的资源提供节点的无线状态信息;其中,所述资源提供节点的无线状态信息包括所述资源提供节点所在网络的小区分布拓扑信息、所述资源提供节点所在小区的状态信息和所述资源提供节点的节点状态信息中的至少一种信息,所述资源提供节点所在小区的状态信息用于指示所述资源提供节点所在小区的负荷状态,所述资源提供节点的节点状态信息用于指示所述资源提供节点的提供资源的能力,所述资源提供节点所在网络的小区分布拓扑信息包括所述资源提供节点所在小区与所述资源请求节点所在小区之间的距离;所述资源提供节点所在小区的状态信息包括小区资源利用率、小区用户准入概率和接入成功率中的至少一个;所述资源提供节点的节点状态信息包括所述资源提供节点的移动速率、所述资源提供节点的中心边缘属性、用户优先级、所述资源提供节点的电池电量和所述资源提供节点的接入能力信息中的至少一个。In another implementation of this embodiment, the second receiving section 61 is specifically used to receive the wireless state information of the resource providing node located in the wireless network sent by the information server according to the request for obtaining reference information; wherein, the resource providing node The wireless status information includes at least one of the cell distribution topology information of the network where the resource providing node is located, the status information of the cell where the resource providing node is located, and the node status information of the resource providing node. The status information of the cell where the resource providing node is located is used to indicate the load status of the cell where the resource providing node is located, the node status information of the resource providing node is used to indicate the ability of the resource providing node to provide resources, and the network where the resource providing node is located The cell distribution topology information includes the distance between the cell where the resource providing node is located and the cell where the resource requesting node is located; the status information of the cell where the resource providing node is located includes cell resource utilization, cell user access probability, and access success rate; the node state information of the resource providing node includes the moving rate of the resource providing node, the center edge attribute of the resource providing node, user priority, the battery power of the resource providing node and the The resource provides at least one of the access capability information of the node.

在本实施例的另一个实现方式中,所述第二接收该61具体用于接收信息服务器根据获取参考信息请求发送的位于无线网络的资源提供节点的无线状态信息;其中,所述资源提供节点的无线状态信息是由所述资源提供节点所在网络的小区分布拓扑信息、所述资源提供节点所在小区的状态信息和所述资源提供节点的节点状态信息中的至少两种信息分别按照对应的信息权重进行加权所得到的状态信息加权结果,其中,所述资源提供节点所在小区的状态信息用于指示所述资源提供节点所在小区的负荷状态,所述资源提供节点的节点状态信息用于指示所述资源提供节点的提供资源的能力。In another implementation of this embodiment, the second receiving section 61 is specifically used to receive the wireless state information of the resource providing node located in the wireless network sent by the information server according to the request for obtaining reference information; wherein, the resource providing node The wireless status information is the cell distribution topology information of the network where the resource providing node is located, the status information of the cell where the resource providing node is located, and the node status information of the resource providing node. The state information weighted result obtained by weighting the resource providing node, wherein the state information of the cell where the resource providing node is located is used to indicate the load state of the cell where the resource providing node is located, and the node state information of the resource providing node is used to indicate the load state of the cell where the resource providing node is located. The resource provisioning node's ability to provide resources.

在本实施例的另一个实现方式中,所述第二接收该61具体用于接收信息服务器根据获取参考信息请求发送的位于无线网络的资源提供节点的无线状态信息;其中,所述资源提供节点的无线状态信息是由所述资源提供节点所在网络的小区分布拓扑信息、所述资源提供节点所在小区的状态信息和所述资源提供节点的节点状态信息中的至少两种信息分别按照对应的信息权重进行加权所得到的状态信息加权结果,所述资源提供节点所在小区的状态信息用于指示所述资源提供节点所在小区的负荷状态,所述资源提供节点的节点状态信息用于指示所述资源提供节点的提供资源的能力,所述资源提供节点所在网络的小区分布拓扑信息包括所述资源提供节点所在小区与所述资源请求节点所在小区之间的距离;所述资源提供节点所在小区的状态信息为小区资源利用率、小区用户准入概率和接入成功率的加权结果;所述资源提供节点的节点状态信息为所述资源提供节点的移动速率、所述资源提供节点的中心边缘属性、用户优先级、所述资源提供节点的电池电量和所述资源提供节点的接入能力信息的加权结果。In another implementation of this embodiment, the second receiving section 61 is specifically used to receive the wireless state information of the resource providing node located in the wireless network sent by the information server according to the request for obtaining reference information; wherein, the resource providing node The wireless status information is the cell distribution topology information of the network where the resource providing node is located, the status information of the cell where the resource providing node is located, and the node status information of the resource providing node. The state information weighted result obtained by weighting, the state information of the cell where the resource providing node is located is used to indicate the load state of the cell where the resource providing node is located, and the node state information of the resource providing node is used to indicate the resource The ability of the resource providing node to provide resources, the cell distribution topology information of the network where the resource providing node is located includes the distance between the cell where the resource providing node is located and the cell where the resource requesting node is located; the status of the cell where the resource providing node is located The information is the weighted result of cell resource utilization, cell user access probability, and access success rate; the node status information of the resource providing node is the mobility rate of the resource providing node, the center edge attribute of the resource providing node, A weighted result of user priority, battery power of the resource providing node, and access capability information of the resource providing node.

在本实施例的另一个实现方式中,所述第二接收该61具体用于接收信息服务器根据获取参考信息请求发送的位于无线网络的资源提供节点的无线状态信息、以及策略信息和/或能力信息,所述策略信息用于指示网络供应商设定的网络使用策略,所述能力信息用于指示网络供应商的服务能力。所述第二处理该62具体用于根据所述第二接收该61收到的所述无线状态信息、以及策略信息和/或能力信息,对所述资源提供节点进行选择,产生推荐资源请求节点使用的资源提供节点。In another implementation of this embodiment, the second receiving step 61 is specifically used to receive the wireless state information, policy information and/or capability of the resource providing node located in the wireless network sent by the information server according to the request for obtaining reference information Information, the policy information is used to indicate the network usage policy set by the network provider, and the capability information is used to indicate the service capability of the network provider. The second processing step 62 is specifically used to select the resource providing node according to the wireless state information, policy information and/or capability information received in the second receiving step 61, and generate a recommended resource requesting node The resource provider node used.

最后需要说明的是,本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(ROM)或随机存储记忆体(RAM)等。Finally, it should be noted that those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented by instructing related hardware through computer programs, and the programs can be stored in a computer-readable In the storage medium, when the program is executed, it may include the processes of the embodiments of the above-mentioned methods. Wherein, the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM) and the like.

本发明实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用硬件和软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。上述提到的存储介质可以是只读存储器,磁盘或光盘等。上述的各装置或系统,可以执行相应方法实施例中的方法。Each functional unit in the embodiment of the present invention may be integrated into one processing module, or each unit may physically exist separately, or two or more units may be integrated into one module. The above-mentioned integrated modules can be implemented not only in the form of hardware, but also in the form of hardware and software functional modules. If the integrated modules are realized in the form of software function modules and sold or used as independent products, they can also be stored in a computer-readable storage medium. The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, and the like. Each of the above devices or systems may execute the methods in the corresponding method embodiments.

以上所述仅为本发明的较佳实施例,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。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 protection of the present invention. within range.

Claims (19)

1.一种点对点P2P传输资源的方法,其特征在于,所述方法包括:1. A method for point-to-point P2P resource transmission, characterized in that the method comprises: 接收资源请求节点或者目录服务器发送的获取参考信息请求;Receive the reference information request sent by the resource requesting node or the directory server; 根据所述获取参考信息请求,获取位于无线网络的资源提供节点的无线状态信息,所述资源提供节点的无线状态信息包括所述资源提供节点所在网络的小区分布拓扑信息、所述资源提供节点所在小区的状态信息和所述资源提供节点的节点状态信息中的至少一种信息,其中,所述资源提供节点所在小区的状态信息用于指示所述资源提供节点所在小区的负荷状态,所述资源提供节点的节点状态信息用于指示所述资源提供节点的提供资源的能力;According to the request for obtaining reference information, obtain the wireless state information of the resource providing node located in the wireless network, the wireless state information of the resource providing node includes the cell distribution topology information of the network where the resource providing node is located, the At least one of the state information of the cell and the node state information of the resource providing node, wherein the state information of the cell where the resource providing node is located is used to indicate the load status of the cell where the resource providing node is located, and the resource The node status information of the providing node is used to indicate the capability of the resource providing node to provide resources; 根据所述获取参考信息请求,获取策略信息和/或能力信息,其中,所述策略信息用于指示网络供应商设定的网络使用策略;所述能力信息用于指示网络供应商的服务能力;Acquiring policy information and/or capability information according to the request for obtaining reference information, wherein the policy information is used to indicate the network usage policy set by the network provider; the capability information is used to indicate the service capability of the network provider; 发送所述无线状态信息、以及所述策略信息和/或能力信息至所述资源请求节点或者目录服务器,使得所述资源请求节点或者目录服务器根据所述无线状态信息、以及所述策略信息和/或能力信息,对所述资源提供节点进行选择,产生推荐所述资源请求节点使用的资源提供节点。sending the wireless state information and the policy information and/or capability information to the resource requesting node or the directory server, so that the resource requesting node or the directory server according to the wireless state information and the policy information and/or or capability information, select the resource providing node, and generate a resource providing node recommended for the resource requesting node to use. 2.如权利要求1所述的方法,其特征在于,2. The method of claim 1, wherein 所述资源提供节点所在网络的小区分布拓扑信息包括所述资源提供节点所在小区与所述资源请求节点所在小区之间的距离;The cell distribution topology information of the network where the resource providing node is located includes the distance between the cell where the resource providing node is located and the cell where the resource requesting node is located; 所述资源提供节点所在小区的状态信息包括小区资源利用率、小区用户准入概率和接入成功率中的至少一个;The status information of the cell where the resource providing node is located includes at least one of cell resource utilization, cell user access probability, and access success rate; 所述资源提供节点的节点状态信息包括所述资源提供节点的移动速率、所述资源提供节点的中心边缘属性、用户优先级、所述资源提供节点的电池电量和所述资源提供节点的接入能力中的至少一个。The node status information of the resource providing node includes the moving rate of the resource providing node, the center edge attribute of the resource providing node, user priority, the battery power of the resource providing node and the access of the resource providing node at least one of the capabilities. 3.如权利要求1所述的方法,其特征在于,3. The method of claim 1, wherein, 所述资源提供节点的无线状态信息是由所述资源提供节点所在网络的小区分布拓扑信息、所述资源提供节点所在小区的状态信息和所述资源提供节点的节点状态信息中的至少两种信息分别按照对应的信息权重进行加权所得到的状态信息加权结果。The wireless status information of the resource providing node is at least two kinds of information of the cell distribution topology information of the network where the resource providing node is located, the status information of the cell where the resource providing node is located, and the node status information of the resource providing node State information weighted results obtained by weighting according to corresponding information weights respectively. 4.如权利要求3所述的方法,其特征在于,4. The method of claim 3, wherein, 所述资源提供节点所在网络的小区分布拓扑信息包括所述资源提供节点所在小区与所述资源请求节点所在小区之间的距离;The cell distribution topology information of the network where the resource providing node is located includes the distance between the cell where the resource providing node is located and the cell where the resource requesting node is located; 所述资源提供节点所在小区的状态信息为小区资源利用率、小区用户准入概率和接入成功率的加权结果;The status information of the cell where the resource providing node is located is a weighted result of cell resource utilization, cell user access probability, and access success rate; 所述资源提供节点的节点状态信息为所述资源提供节点的移动速率、所述资源提供节点的中心边缘属性、用户优先级、所述资源提供节点的电池电量和所述资源提供节点的接入能力的加权结果。The node state information of the resource providing node is the moving rate of the resource providing node, the center edge attribute of the resource providing node, user priority, the battery power of the resource providing node and the access of the resource providing node Ability-weighted results. 5.一种信息服务器,其特征在于,所述信息服务器包括:5. An information server, characterized in that the information server comprises: 第一接收模块,用于接收资源请求节点或者目录服务器发送的获取参考信息请求;The first receiving module is configured to receive a request for obtaining reference information sent by a resource requesting node or a directory server; 第一处理模块,用于根据所述第一接收模块收到的获取参考信息请求,获取位于无线网络的资源提供节点的无线状态信息,所述资源提供节点的无线状态信息包括所述资源提供节点所在网络的小区分布拓扑信息、所述资源提供节点所在小区的状态信息和所述资源提供节点的节点状态信息中的至少一种信息,其中,所述资源提供节点所在小区的状态信息用于指示所述资源提供节点所在小区的负荷状态,所述资源提供节点的节点状态信息用于指示所述资源提供节点的提供资源的能力;以及,根据所述获取参考信息请求,获取策略信息和/或能力信息,其中,所述策略信息用于指示网络供应商设定的网络使用策略;所述能力信息用于指示网络供应商的服务能力;The first processing module is configured to acquire the wireless status information of the resource providing node located in the wireless network according to the reference information acquisition request received by the first receiving module, and the wireless status information of the resource providing node includes the resource providing node At least one of the information about the distribution topology information of the cell of the network where the resource providing node is located, the status information of the cell where the resource providing node is located, and the node status information of the resource providing node, wherein the status information of the cell where the resource providing node is located is used to indicate The load status of the cell where the resource providing node is located, the node status information of the resource providing node is used to indicate the ability of the resource providing node to provide resources; and, according to the request for obtaining reference information, obtain policy information and/or Capability information, wherein the policy information is used to indicate the network usage policy set by the network provider; the capability information is used to indicate the service capability of the network provider; 第一发送模块,用于发送所述第一处理模块获取的所述无线状态信息、以及所述策略信息和/或能力信息至所述资源请求节点或者目录服务器,使得所述资源请求节点或者目录服务器根据所述无线状态信息、以及所述策略信息和/或能力信息,对所述资源提供节点进行选择,产生推荐所述资源请求节点使用的资源提供节点。A first sending module, configured to send the wireless state information and the policy information and/or capability information acquired by the first processing module to the resource requesting node or directory server, so that the resource requesting node or directory server The server selects the resource providing node according to the wireless state information and the policy information and/or capability information, and generates a resource providing node recommended for the resource requesting node to use. 6.如权利要求5所述的信息服务器,其特征在于,6. The information server according to claim 5, wherein: 所述第一处理模块中,所述资源提供节点所在网络的小区分布拓扑信息包括所述资源提供节点所在小区与所述资源请求节点所在小区之间的距离;所述资源提供节点所在小区的状态信息包括小区资源利用率、小区用户准入概率和接入成功率中的至少一个;所述资源提供节点的节点状态信息包括所述资源提供节点的移动速率、所述资源提供节点的中心边缘属性、用户优先级、所述资源提供节点的电池电量和所述资源提供节点的接入能力中的至少一个。In the first processing module, the cell distribution topology information of the network where the resource providing node is located includes the distance between the cell where the resource providing node is located and the cell where the resource requesting node is located; the status of the cell where the resource providing node is located The information includes at least one of cell resource utilization, cell user access probability, and access success rate; the node status information of the resource providing node includes the mobility rate of the resource providing node, the center edge attribute of the resource providing node , user priority, battery power of the resource providing node, and access capability of the resource providing node. 7.如权利要求5所述的信息服务器,其特征在于,7. The information server according to claim 5, wherein: 所述第一处理模块具体用于根据所述第一接收模块收到的获取参考信息请求,获取由所述资源提供节点所在网络的小区分布拓扑信息、所述资源提供节点所在小区的状态信息和所述资源提供节点的节点状态信息中的至少两种信息分别按照对应的信息权重进行加权所得到的状态信息加权结果。The first processing module is specifically configured to obtain the cell distribution topology information of the network where the resource providing node is located, the state information of the cell where the resource providing node is located, and the reference information request received by the first receiving module. The resource provides a state information weighted result obtained by weighting at least two kinds of information in the node state information of the node respectively according to the corresponding information weights. 8.如权利要求7所述的信息服务器,其特征在于,8. The information server according to claim 7, wherein: 所述第一处理模块具体用于根据所述第一接收模块收到的获取参考信息请求,获取所述状态信息加权结果,其中,所述资源提供节点所在网络的小区分布拓扑信息包括资源提供节点所在小区与所述资源请求节点所在小区之间的距离;所述资源提供节点所在小区的状态信息为小区资源利用率、小区用户准入概率和接入成功率的加权结果;所述资源提供节点的节点状态信息为所述资源提供节点的移动速率、所述资源提供节点的中心边缘属性、用户优先级、所述资源提供节点的电池电量和所述资源提供节点的接入能力的加权结果。The first processing module is specifically configured to obtain the state information weighted result according to the request for obtaining reference information received by the first receiving module, wherein the cell distribution topology information of the network where the resource providing node is located includes the resource providing node The distance between the cell where the resource requesting node is located; the state information of the cell where the resource providing node is located is the weighted result of cell resource utilization, cell user access probability, and access success rate; the resource providing node The node status information is the weighted result of the mobility rate of the resource providing node, the center edge attribute of the resource providing node, user priority, the battery power of the resource providing node and the access capability of the resource providing node. 9.一种点对点P2P传输资源的方法,其特征在于,所述方法包括:9. A method for point-to-point P2P resource transmission, characterized in that the method comprises: 接收信息服务器根据获取参考信息请求发送的位于无线网络的资源提供节点的无线状态信息,所述资源提供节点的无线状态信息包括所述资源提供节点所在网络的小区分布拓扑信息、所述资源提供节点所在小区的状态信息和所述资源提供节点的节点状态信息中的至少一种信息,其中,所述资源提供节点所在小区的状态信息用于指示所述资源提供节点所在小区的负荷状态,所述资源提供节点的节点状态信息用于指示所述资源提供节点的提供资源的能力;receiving the wireless status information of the resource providing node located in the wireless network sent by the information server according to the request for obtaining reference information, the wireless status information of the resource providing node includes the cell distribution topology information of the network where the resource providing node is located, the resource providing node at least one of the status information of the cell where the resource providing node is located and the node status information of the resource providing node, wherein the status information of the cell where the resource providing node is located is used to indicate the load status of the cell where the resource providing node is located, and the The node state information of the resource providing node is used to indicate the ability of the resource providing node to provide resources; 接收信息服务器根据获取参考信息请求发送的策略信息和/或能力信息,所述策略信息用于指示网络供应商设定的网络使用策略,所述能力信息用于指示网络供应商的服务能力;receiving policy information and/or capability information sent by the information server according to the request for obtaining reference information, the policy information is used to indicate the network usage policy set by the network provider, and the capability information is used to indicate the service capability of the network provider; 根据所述无线状态信息、以及所述策略信息和/或能力信息对所述资源提供节点进行选择,产生推荐资源请求节点使用的资源提供节点。Select the resource providing node according to the wireless state information and the policy information and/or capability information, and generate a resource providing node recommended for use by the resource requesting node. 10.如权利要求9所述的方法,其特征在于,10. The method of claim 9, wherein, 所述资源提供节点所在网络的小区分布拓扑信息包括所述资源提供节点所在小区与所述资源请求节点所在小区之间的距离;The cell distribution topology information of the network where the resource providing node is located includes the distance between the cell where the resource providing node is located and the cell where the resource requesting node is located; 所述资源提供节点所在小区的状态信息包括小区资源利用率、小区用户准入概率和接入成功率中的至少一个;The status information of the cell where the resource providing node is located includes at least one of cell resource utilization, cell user access probability, and access success rate; 所述资源提供节点的节点状态信息包括所述资源提供节点的移动速率、所述资源提供节点的中心边缘属性、用户优先级、所述资源提供节点的电池电量和所述资源提供节点的接入能力中的至少一个。The node status information of the resource providing node includes the moving rate of the resource providing node, the center edge attribute of the resource providing node, user priority, the battery power of the resource providing node and the access of the resource providing node at least one of the capabilities. 11.如权利要求9所述的方法,其特征在于,11. The method of claim 9, wherein, 所述资源提供节点的无线状态信息是由所述资源提供节点所在网络的小区分布拓扑信息、所述资源提供节点所在小区的状态信息和所述资源提供节点的节点状态信息中的至少两种信息分别按照对应的信息权重进行加权所得到的状态信息加权结果。The wireless status information of the resource providing node is at least two kinds of information of the cell distribution topology information of the network where the resource providing node is located, the status information of the cell where the resource providing node is located, and the node status information of the resource providing node State information weighted results obtained by weighting according to corresponding information weights respectively. 12.如权利要求11所述的方法,其特征在于,12. The method of claim 11, wherein, 所述资源提供节点所在网络的小区分布拓扑信息包括所述资源提供节点所在小区与所述资源请求节点所在小区之间的距离;The cell distribution topology information of the network where the resource providing node is located includes the distance between the cell where the resource providing node is located and the cell where the resource requesting node is located; 所述资源提供节点所在小区的状态信息为小区资源利用率、小区用户准入概率和接入成功率的加权结果;The status information of the cell where the resource providing node is located is a weighted result of cell resource utilization, cell user access probability, and access success rate; 所述资源提供节点的节点状态信息为所述资源提供节点的移动速率、所述资源提供节点的中心边缘属性、用户优先级、所述资源提供节点的电池电量和所述资源提供节点的接入能力的加权结果。The node state information of the resource providing node is the moving rate of the resource providing node, the center edge attribute of the resource providing node, user priority, the battery power of the resource providing node and the access of the resource providing node Ability-weighted results. 13.如权利要求9至12中任意一项所述的方法,其特征在于,所述获取参考信息请求是由所述资源请求节点或者目录服务器发送的。13. The method according to any one of claims 9 to 12, wherein the request for obtaining reference information is sent by the resource requesting node or a directory server. 14.一种网络设备,其特征在于,所述网络设备包括:14. A network device, characterized in that the network device comprises: 第二接收模块,用于接收信息服务器根据获取参考信息请求发送的位于无线网络的资源提供节点的无线状态信息;其中,所述资源提供节点的无线状态信息包括所述资源提供节点所在网络的小区分布拓扑信息、所述资源提供节点所在小区的状态信息和所述资源提供节点的节点状态信息中的至少一种信息,所述资源提供节点所在小区的状态信息用于指示所述资源提供节点所在小区的负荷状态,所述资源提供节点的节点状态信息用于指示所述资源提供节点的提供资源的能力;以及,接收信息服务器根据获取参考信息请求发送的策略信息和/或能力信息,所述策略信息用于指示网络供应商设定的网络使用策略,所述能力信息用于指示网络供应商的服务能力;The second receiving module is configured to receive the wireless state information of the resource providing node located in the wireless network sent by the information server according to the request for obtaining reference information; wherein, the wireless state information of the resource providing node includes the cell of the network where the resource providing node is located At least one of the distribution topology information, the status information of the cell where the resource providing node is located, and the node status information of the resource providing node, where the status information of the cell where the resource providing node is located is used to indicate that the resource providing node is located The load status of the cell, the node status information of the resource providing node is used to indicate the capability of the resource providing node to provide resources; and receiving the policy information and/or capability information sent by the information server according to the request for obtaining reference information, the The policy information is used to indicate the network usage policy set by the network provider, and the capability information is used to indicate the service capability of the network provider; 第二处理模块,用于根据所述第二接收模块收到的所述无线状态信息、以及策略信息和/或能力信息,对所述资源提供节点进行选择,产生推荐资源请求节点使用的资源提供节点。The second processing module is configured to select the resource providing node according to the wireless state information received by the second receiving module, policy information and/or capability information, and generate a resource providing recommended resource requesting node to use node. 15.如权利要求14所述的网络设备,其特征在于,15. The network device of claim 14, wherein: 所述第二接收模块中,所述资源提供节点所在网络的小区分布拓扑信息包括所述资源提供节点所在小区与所述资源请求节点所在小区之间的距离;所述资源提供节点所在小区的状态信息包括小区资源利用率、小区用户准入概率和接入成功率中的至少一个;所述资源提供节点的节点状态信息包括所述资源提供节点的移动速率、所述资源提供节点的中心边缘属性、用户优先级、所述资源提供节点的电池电量和所述资源提供节点的接入能力信息中的至少一个。In the second receiving module, the cell distribution topology information of the network where the resource providing node is located includes the distance between the cell where the resource providing node is located and the cell where the resource requesting node is located; the status of the cell where the resource providing node is located The information includes at least one of cell resource utilization, cell user access probability, and access success rate; the node status information of the resource providing node includes the mobility rate of the resource providing node, the center edge attribute of the resource providing node , user priority, battery power of the resource providing node, and access capability information of the resource providing node. 16.如权利要求14所述的网络设备,其特征在于,16. The network device of claim 14, wherein 所述第二接收模块,具体用于接收信息服务器根据获取参考信息请求发送的位于无线网络的资源提供节点的无线状态信息;其中,所述资源提供节点的无线状态信息是由所述资源提供节点所在网络的小区分布拓扑信息、所述资源提供节点所在小区的状态信息和所述资源提供节点的节点状态信息中的至少两种信息分别按照对应的信息权重进行加权所得到的状态信息加权结果。The second receiving module is specifically configured to receive the wireless status information of the resource providing node located in the wireless network sent by the information server according to the request for obtaining reference information; wherein, the wireless status information of the resource providing node is provided by the resource providing node A state information weighted result obtained by weighting at least two of the cell distribution topology information of the network where the resource provider node is located, the state information of the cell where the resource provider node is located, and the node state information of the resource provider node according to the corresponding information weights. 17.如权利要求16所述的网络设备,其特征在于,17. The network device of claim 16, wherein 所述第二接收模块中,所述资源提供节点所在网络的小区分布拓扑信息包括所述资源提供节点所在小区与所述资源请求节点所在小区之间的距离;所述资源提供节点所在小区的状态信息为小区资源利用率、小区用户准入概率和接入成功率的加权结果;所述资源提供节点的节点状态信息为所述资源提供节点的移动速率、所述资源提供节点的中心边缘属性、用户优先级、所述资源提供节点的电池电量和所述资源提供节点的接入能力信息的加权结果。In the second receiving module, the cell distribution topology information of the network where the resource providing node is located includes the distance between the cell where the resource providing node is located and the cell where the resource requesting node is located; the status of the cell where the resource providing node is located The information is the weighted result of cell resource utilization, cell user access probability, and access success rate; the node status information of the resource providing node is the mobility rate of the resource providing node, the center edge attribute of the resource providing node, A weighted result of user priority, battery power of the resource providing node, and access capability information of the resource providing node. 18.如权利要求14至17中任意一项所述的网络设备,其特征在于,所述网络设备是网络终端或者目录服务器。18. The network device according to any one of claims 14 to 17, wherein the network device is a network terminal or a directory server. 19.如权利要求14至17中任意一项所述的网络设备,其特征在于,所述网络设备是目录服务器,所述网络设备还包括:19. The network device according to any one of claims 14 to 17, wherein the network device is a directory server, and the network device further comprises: 第二发送模块,用于将所述第二处理模块产生的所述推荐使用的资源提供节点发送至所述资源请求节点。The second sending module is configured to send the recommended resource providing node generated by the second processing module to the resource requesting node.
CN201110151909.3A 2011-06-08 2011-06-08 A kind of method and apparatus of point-to-point P2P transfer resource Active CN102821115B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110151909.3A CN102821115B (en) 2011-06-08 2011-06-08 A kind of method and apparatus of point-to-point P2P transfer resource

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110151909.3A CN102821115B (en) 2011-06-08 2011-06-08 A kind of method and apparatus of point-to-point P2P transfer resource

Publications (2)

Publication Number Publication Date
CN102821115A CN102821115A (en) 2012-12-12
CN102821115B true CN102821115B (en) 2015-11-25

Family

ID=47304971

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110151909.3A Active CN102821115B (en) 2011-06-08 2011-06-08 A kind of method and apparatus of point-to-point P2P transfer resource

Country Status (1)

Country Link
CN (1) CN102821115B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103581317B (en) * 2013-10-31 2016-08-17 工业和信息化部电信传输研究所 A kind of method of network resources locating
CA2946630C (en) * 2014-04-22 2019-09-10 Huawei Technologies Co., Ltd. D2d communication discovery method, apparatus, and system
KR101630276B1 (en) 2014-10-21 2016-06-24 에스케이텔레콤 주식회사 Method for providing contents between terminal and recording medium recording program therfor
CN105550539B (en) * 2015-12-14 2018-07-24 深圳海棠通信技术有限公司 A kind of guard method of big data resource
CN111385315B (en) * 2018-12-27 2022-12-16 阿里巴巴集团控股有限公司 Point-to-point resource downloading method and device
CN112911728B (en) * 2021-01-29 2023-05-02 极米科技股份有限公司 Method for searching peer-to-peer terminal in tunnel direct link establishment, terminal and medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101621538A (en) * 2009-08-07 2010-01-06 中兴通讯股份有限公司 Method and system for selecting medium source nodes in peer-to-peer network
CN101662504A (en) * 2009-09-25 2010-03-03 中国电信股份有限公司 Method and system for realizing point-to-point content distribution under wireless network environment
CN101969448A (en) * 2009-06-17 2011-02-09 中国移动通信集团公司 Method, system and equipment for searching active node in P2P streaming media system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7849203B2 (en) * 2003-06-04 2010-12-07 Sony Computer Entertainment Inc. Command and control of arbitrary resources in a peer-to-peer network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101969448A (en) * 2009-06-17 2011-02-09 中国移动通信集团公司 Method, system and equipment for searching active node in P2P streaming media system
CN101621538A (en) * 2009-08-07 2010-01-06 中兴通讯股份有限公司 Method and system for selecting medium source nodes in peer-to-peer network
CN101662504A (en) * 2009-09-25 2010-03-03 中国电信股份有限公司 Method and system for realizing point-to-point content distribution under wireless network environment

Also Published As

Publication number Publication date
CN102821115A (en) 2012-12-12

Similar Documents

Publication Publication Date Title
Ahmed et al. A survey on socially aware device-to-device communications
JP5957490B2 (en) Method and apparatus for supporting device-to-device communication
US10051527B2 (en) Systems and methods for evolved packet core cluster and session handling
US12034821B2 (en) Computing aware-session management method and communication apparatus
CN102821115B (en) A kind of method and apparatus of point-to-point P2P transfer resource
CN115152319B (en) Method and apparatus for changing network configuration in a wireless communication system
CN103718576A (en) Methods and devices for content distribution
WO2021051420A1 (en) Dns cache record determination method and apparatus
WO2021189869A1 (en) Information acquisition method and apparatus
CN113132897A (en) Method, device and system for determining application example
CN107249205B (en) A kind of resource allocation methods, device and user terminal
Chandrasekaran et al. Caching on the move: Towards D2D-based information centric networking for mobile content distribution
CN102333127A (en) Resource downloading method, device and system
KR20210143563A (en) Apparatus and method for providing deterministic communication in mobile network
Wang et al. Reliable wireless connections for fast-moving rail users based on a chained fog structure
Park et al. Smart base station-assisted partial-flow device-to-device offloading system for video streaming services
US20230345347A1 (en) Method for determining mec access point and apparatus
Yen et al. Cooperative online caching in small cell networks with limited cache size and unknown content popularity
WO2015143763A1 (en) Load information transfer method, system, network elements and computer storage medium
CN114025408B (en) A kind of self-adaptive network construction, access method, device and computer equipment
Tang et al. A user‐centric cooperative edge caching scheme for minimizing delay in 5G content delivery networks
Oueis Joint communication and computation resources allocation for cloud-empowered future wireless networks
WO2022021142A1 (en) Qos parameter configuration method and apparatus, communication device, and storage medium
Yu et al. Integrated networking, caching, and computing
Wirtz et al. Interest-based cloud-facilitated opportunistic networking

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210421

Address after: Unit 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong 518040

Patentee after: Honor Device Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.

CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: Unit 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong 518040

Patentee after: Honor Terminal Co.,Ltd.

Country or region after: China

Address before: 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong

Patentee before: Honor Device Co.,Ltd.

Country or region before: China