[go: up one dir, main page]

WO2012065531A1 - Method, device, and system for implementing relay selection - Google Patents

Method, device, and system for implementing relay selection Download PDF

Info

Publication number
WO2012065531A1
WO2012065531A1 PCT/CN2011/082136 CN2011082136W WO2012065531A1 WO 2012065531 A1 WO2012065531 A1 WO 2012065531A1 CN 2011082136 W CN2011082136 W CN 2011082136W WO 2012065531 A1 WO2012065531 A1 WO 2012065531A1
Authority
WO
WIPO (PCT)
Prior art keywords
relay
node
candidate
network topology
information
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.)
Ceased
Application number
PCT/CN2011/082136
Other languages
French (fr)
Chinese (zh)
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Publication of WO2012065531A1 publication Critical patent/WO2012065531A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/14Relay systems
    • H04B7/15Active relay systems
    • H04B7/155Ground-based stations

Definitions

  • the present invention relates to a relay technology in the field of network and communication, and in particular, to a method, device and system for implementing relay selection. Background technique
  • multimedia services including VoIP services, video on demand/live broadcasting, software downloading, etc. have rapidly spread in packet data networks, especially in networks based on peer-to-peer technology.
  • each node obtains services from other nodes as a client, and also serves as a server to other nodes.
  • peer node When the peer node is behind a Network Address Translation (NAT) device or a firewall device, the two parties cannot establish a connection directly.
  • NAT Network Address Translation
  • the relay technology is needed to implement the NAT/firewall traversal function to help the communication parties establish a direct connection.
  • the packet data network uses the best effort to transmit data packets, the quality of service is difficult to meet the requirements of multimedia services. Therefore, it is also necessary to apply the relay technology in the packet data network, and try to use multiple transmissions.
  • the path transmits packets to improve network service quality.
  • the relay technology refers to a technique of adding one or more relay nodes to a packet data transmission path, and then performing data packet forwarding by the relay node, and reasonably selecting the relay node can improve the quality of service of the relay.
  • the relay management entity is responsible for the selection and measurement of the relay. Since the relay management entity itself needs to maintain a considerable amount of measurement information, the number of relay nodes is large and scattered in different places in the world. At the time, the maintenance and measurement workload of the relay management entity will be enormous.
  • the network topology information server is maintained by the operator, and it contains more detailed network topology information and operator policies. The function and network architecture of the network topology information server are shown in Figure 1.
  • the network topology information server provides a network topology information service for the topology information client.
  • the functional modules include: a network information service module, a network overhead information service module, Information filtering service module, node attribute service module, node overhead service module and server capability information service module.
  • the network information service module allows the topology information client to download the correspondence between the group and the IP address in the network
  • the network overhead information service module allows the topology information client to download the routing cost table between the groups
  • the information filtering service module allows The topology information client queries the network overhead between the specific group ID and the IP address or the specific group ID
  • the node attribute service module allows the topology information client to query the attributes of the specific node, such as the corresponding group ID and connection mode.
  • the node overhead service module provides a service for the topology information client to give a node priority to a given candidate node list
  • the server capability information service module provides a server capability query.
  • a network topology information server such as the Internet-based Organizational Task Force (IETF, Internet Engineering Task Force) proposed by the Application Layer Traffic Optimization Server (ALTO, Application-Layer Traffic Optimization).
  • the main purpose of the existing network topology information server is to optimize network traffic. It only supports providing network topology information for nodes, and selects appropriate peers for communication based on these network topology information.
  • the network topology information server has the topology information required for relay selection, the network topology information server does not support the selection of the relay node, and does not support the function and phase of the preferred relay node for a pair of nodes requiring communication. Corresponding interface.
  • the relay management entity can not only effectively utilize the network topology information existing in the network topology information server for relay selection, but also needs to perform network topology information measurement and data maintenance by itself.
  • the working load of the relay management entity is large, and after the network topology information is changed, the relay management entity cannot update its network topology information in time, which reduces its own working efficiency, so that it cannot accurately select the appropriate relay. , affecting business interactions between network nodes. Summary of the invention
  • the main object of the present invention is to provide a method, device, and system for implementing relay selection, so as to solve the problem that the existing relay selection method cannot effectively utilize the function of the network topology information server, and the workload of the relay management entity is The problem is too heavy.
  • the present invention provides a network topology information server for implementing relay selection, where the network topology information server stores network topology information and operator policy information, and the network topology information server includes: a relay service unit
  • the relay service unit includes a relay selection module and/or a relay sequencing module, where the relay selection module is configured to analyze the network topology information and the operator policy information according to the source node of the relay service.
  • a candidate relay group for providing the relay service, and obtaining a candidate relay group list
  • a relay sorting module configured to analyze the network topology information by using And the operator policy information, according to the address of the source node and the target node of the relay service and the belonging group information, and the candidate relay node list for providing the relay service, in the candidate relay node list
  • the candidate relay nodes perform sorting to obtain priority information of each candidate relay node.
  • the relay selection module has an interface for querying a candidate relay group based on the address of the source node and the target node or the group information of the target node.
  • the relay selection module is further configured to acquire an address of the source node and the target node or a group information from the relay management entity, and return the obtained candidate relay group list to the Relay management entity.
  • the relay selection module is further configured to: select, according to the number of candidate relay groups indicated by the relay management entity, a candidate relay group for the relay service, to obtain the candidate relay group. List.
  • the relay ranking module has an address based on the source node and the target node or the group information, and a candidate relay node list, and the candidate relay node is optimized.
  • the interface of the first level is optimized.
  • the relay sequencing module is further configured to acquire, from a relay management entity, or a relay service requesting end, an address or a group information of the source node and the target node, and a candidate relay node list, and The obtained priority information of each candidate relay node is returned to the relay management entity or the relay service requesting end.
  • the present invention also provides a system for implementing relay selection, the system comprising: a relay management entity and a network topology information server, where
  • the network topology information server stores the network topology information and the operator policy information, including: a relay service unit, where the relay service unit includes a relay selection module and/or a relay sequencing module, where
  • a relay selection module configured to select a candidate for providing the relay service according to the source node of the relay service and the address of the target node or the group information of the relay service by parsing the network topology information and the operator policy information Relay group, obtaining a candidate relay group list;
  • a relay sorting module configured to parse the network topology information and the operator policy information, according to the address of the source node and the target node of the relay service or the group information, and the obtained information for providing the relay service a candidate relay node list, sorting each candidate relay node in the candidate relay node list, and obtaining priority information of each candidate relay node;
  • a relay management entity configured to: after receiving the relay service request sent by the relay service requesting end, according to the relay service request and the priority information obtained by the relay sorting module, the candidate relaying Filtering the node list to determine a candidate relay node for providing the current relay service;
  • the relay node information obtains the candidate relay node list.
  • the relay management entity is further configured to receive a relay service request end After the relay service request containing the address of the active node and the destination node,
  • the relay management entity is further configured to send, to the relay selection module, information indicating the number of candidate relay groups.
  • the system further includes: a relay service requesting end, configured to send, to the relay management entity, a relay service request including an address of the source node and the target node; and
  • the relay management entity acquires the candidate relay node list, and sends the address of the source node and the target node or the group information to the relay sorting module, and the obtained candidate relay node list;
  • the relay management entity is further configured to send the obtained candidate relay node list to the relay service requesting end.
  • the relay service requesting end is specifically a source node of the current relay service, or a service control server or a user terminal that initiates a relay service request instead of the source node.
  • the relay management entity is a system composed of a single relay management server or a plurality of distributed relay management servers.
  • the network topology information server is a single network topology information service unit or a system composed of a plurality of distributed network topology information service units.
  • the present invention also provides a method for implementing relay selection, the method comprising:
  • the relay management entity After receiving the relay service request sent by the relay service requesting end, including the source node of the current relay service and the address of the target node, the relay management entity receives the relay service request from the network topology information server. Obtaining a candidate relay group list, selecting candidate relay nodes in the obtained candidate relay group list, and obtaining a candidate relay node list.
  • the obtaining, by the network topology information server, the candidate relay group list includes: sending, by the relay management entity, the network topology information server, including the current relay a source node of the service and an address of the target node or a candidate relay group request of the group information; the network topology information server parses the information of the network extension saved by the network according to the candidate relay group request The operator policy information is selected from the relay groups in the current network to obtain a candidate relay group list, and is returned to the relay management entity.
  • the candidate relay group request further includes information indicating the number of candidate relay groups.
  • the relay management entity selects a candidate relay node in the obtained candidate relay group list, and obtains a candidate relay node list, including: the relay management entity according to the relay service request And the candidate relay group list obtained from the network topology information server, and the candidate relay node is selected by parsing the relay node information saved by itself to obtain the candidate relay node list.
  • the relay management entity selects a candidate relay node in the obtained candidate relay group list to obtain a candidate relay node list, and further includes: the relay management entity determines that the candidate is from the candidate Whether each candidate relay node selected in the group list is invalid; if yes, the candidate relay group request is initiated again, and the network topology information server is required to feed back the candidate relay group list again; otherwise, directly Selecting a candidate relay node in the candidate relay group list to obtain a candidate relay node list.
  • the re-initiated candidate relay group request increases the number of designated candidate relay groups, or indicates that the last returned candidate relay group list is invalid.
  • the method further includes: the relay management server acquiring, from the network topology information server, the priority of each candidate relay node in the candidate relay node list Level information.
  • the relay management server acquires the priority information of each candidate relay node from the network topology information server, and the method includes: the relay management entity sending a relay node sorting request to the network topology information server Requesting the network topology information server to the candidate Sorting each candidate relay node in the relay node list, where the relay node sorting request includes an address of the active node and the target node or belonging group information, and a list of the obtained candidate relay nodes;
  • the information server parses the network extension information and the operator policy information according to the relay node ranking request, and sorts each candidate relay node in the candidate relay node list to obtain the priority of each candidate relay node. Level information, and the obtained priority information is returned to the relay management entity.
  • the method further includes: the relay management entity parsing the candidate relay node information saved by itself according to the priority information acquired from the network topology information server, and selecting the candidate Each candidate relay node in the node list is filtered to determine a relay node for providing the current relay service.
  • the present invention also provides a method for implementing relay selection, the method comprising: receiving, by a relay management entity, an address relay service that is sent by a relay service requesting end and includes a source node and a target node of a current relay service. After the request, the relay node information is parsed, the candidate relay node is selected, and the candidate relay node list is obtained; the relay management entity acquires each candidate relay in the candidate relay node list from the network topology information server.
  • a priority information of the node and filtering, according to the obtained priority information, each candidate relay node to determine a relay node for providing a current relay service; or the relay management entity obtains the candidate
  • the relay node list and the information of each candidate relay node are returned to the relay service requesting end, and the relay service requesting end obtains each candidate relay node in the candidate relay node list from the network topology information server.
  • Priority information according to the obtained priority information, screening each candidate relay node, determining that it is used for providing Relay relay node services.
  • the obtaining the priority information of the candidate relay node by using the network topology information server includes: sending, by the relay management entity, a relay node sorting request to the network topology information server, requesting the network
  • the topology information server sorts each candidate relay node in the candidate relay node list, where the relay node sorting request includes the source node and the destination node The address or the group information of the target node, and the obtained candidate relay node list; the network topology information server parses the network topology information and the operator policy information according to the relay node ordering request, Each candidate relay node in the candidate relay node list is sorted to obtain priority information of each candidate relay node; and the obtained candidate relay node priority information is returned to the relay management entity, or directly The candidate relay node list and the obtained priority information are returned to the relay service requesting end.
  • the relay service requesting end obtains the priority information of each candidate relay node from the network topology information server, and the method includes: the relay service requesting end sends a relay node sorting request to the network topology information server, requesting The network topology information server sorts each candidate relay node in the candidate relay node list, where the relay node sorting request includes the address of the source node and the target node or the group information, and the relay management.
  • the network topology information server parses its own network topology information and operator policy information according to the relay node ranking request, and is candidate among the candidate relay node list After the nodes are sorted, the priority information of each candidate relay node is obtained, and the obtained priority information is returned to the relay service requesting end.
  • the method, device and system for implementing relay selection according to the present invention by extending the function of the existing network topology information server, adding a relay service unit for processing the relay service in the network topology information server, the relay The service unit can use the information provided by the existing network topology information server to select the relay group and/or sort the candidate relay nodes, so that the network topology information server can support the preferred function of the relay node, and can Providing the corresponding interface also effectively simplifies the service quality measurement and data maintenance functions of the relay management entity, and not only enables the network topology information and the operator policy information in the network topology information server to be effectively utilized, thereby improving the network extension.
  • the utilization of the information and the operator's policy information reduces the operational burden of the relay management entity and the data maintenance burden.
  • the relay management entity can use the updated network topology information in time. Relay selection, so effectively The high relay manages the efficiency of the entity and ensures the accuracy of the relay selection.
  • FIG. 1 is a schematic structural diagram of a structure of an existing network topology information server
  • FIG. 2 is a schematic structural diagram of a system for implementing relay selection according to the present invention.
  • FIG. 3 is a schematic structural diagram of an embodiment of a system for implementing relay selection according to the present invention.
  • FIG. 4 is a schematic flowchart of implementing a relay selection method according to Embodiment 1 of the present invention.
  • FIG. 5 is a schematic flowchart of a method for implementing a relay selection according to Embodiment 2 of the present invention.
  • FIG. 6 is a schematic flowchart of a method for implementing a relay selection according to Embodiment 3 of the present invention. detailed description
  • the basic idea of the present invention is: to modify an existing network topology information server responsible for network topology information management, so that the network topology information server has a known relay node under the condition that the communication party address or group information is known.
  • the function of the relay is selected by the relay management entity responsible for relay management and the modified network topology information server, and the network topology information and the operator saved from the network topology information server are performed. Strategy information.
  • a network topology information server for implementing relay selection the network topology information server retains network topology information and operator policy information, and mainly includes: a relay service unit, where the relay service unit includes There is a relay selection module and/or a relay sequencing module, where the relay selection module is configured to analyze the network topology information and the operator policy information according to the address or the address of the source node and the target node of the relay service. Group information, selecting a candidate relay group for providing a relay service, and obtaining a candidate relay group list;
  • a relay sorting module configured to parse the network topology information and the operator policy information, according to the address of the source node and the target node of the relay service or the group information, and for providing A candidate relay node list of the relay service, and sorting the candidate relay nodes in the candidate relay node list to obtain priority information of each candidate relay node.
  • the candidate relay group list includes identification information of each candidate relay group, such as ID and the like, and may further include priority information of the relay node in each candidate relay group, or An indication of whether or not a candidate relay node needs to be sorted.
  • the address of the source node and the target node of the relay service or the group information of the destination node may specifically be the address, the ID, the group ID, and the like of the source node of the relay service, and the address, ID, and the group of the destination node. Group ID and other information.
  • the relay selection module is further configured to: acquire an address of the source node and the target node or a group information from the relay management entity, and return the obtained candidate relay group list to the relay management. Entity; selecting a candidate relay group for the relay service according to the number of candidate relay groups indicated by the relay management entity, and obtaining the candidate relay group list.
  • the relay sequencing module is further configured to: acquire, from the relay management entity, or the relay service requesting end, an address or a group information of the source node and the target node, and a candidate relay node list, and The obtained priority information of each candidate relay node is returned to the relay management entity or the relay service requesting end.
  • the foregoing relay selection module has an interface for querying a candidate relay group based on an address of the source node and the target node or the group information of the target node; the foregoing relay sorting module has an address based on the source node and the target node or The group information, the candidate relay node list, and the interface of the priority of the candidate relay node.
  • the network topology information server of the present invention also has the following functions: Obtain network topology information and operator policy information from other information channels, such as an operation and maintenance data system or a router routing table, and perform data maintenance and update.
  • the network topology information may include, but is not limited to, a network group and a correspondence relationship with each network node address, a routing cost between the groups, attribute information of the network node, and a group The adjacency relationship, the information of the links between the groups, and the routing table and link state information of the routers in the network.
  • the routing overhead between the groups may be information such as overhead, delay, bandwidth, etc. in the actual routing table;
  • the attribute information of the network node may include information such as access mode and node capability of the network node.
  • the carrier policy information may include, but is not limited to, information such as a network node selection priority, a network path selection priority, and a node black and white list.
  • the network topology information server of the present invention may also have various functional modules for implementing the following functions: downloading a group ID and node address correspondence list; downloading a group routing cost table; giving a group ID query corresponding address range; The node address queries the attribute information of the corresponding node, including the corresponding group ID of the query node, the access mode, and the like; the given source node group ID, and the candidate group ID or the list of candidate nodes, the query candidate group or the candidate node Priority; query server capabilities, etc.
  • the present invention also provides a system for implementing relay selection.
  • the system mainly includes: a relay management entity and the network topology information server, where the relay management entity is configured to receive After the relay service request from the relay service requesting end, the candidate relay node list is filtered according to the relay service request and the priority information obtained by the relay sorting module, and is determined to be used to provide current a candidate relay node of the relay service; and/or for receiving, after receiving the relay service request issued by the relay service requesting end, according to the relay service request, and the candidate obtained by the relay selection module Following the group list, the candidate relay node list is obtained by parsing the relay node information saved by itself.
  • the candidate relay node list is obtained by the relay management entity according to the relay service request sent by the relay service requesting end, and the candidate node for providing the current relay service is obtained by parsing the relay node information saved by itself. Following the identification information of the node, for example, the address, etc., the candidate relay node list may be a candidate relay node address list. In addition, you can also include various waits
  • the node attribute information such as the ID of the relay node, the access method, and the group information such as the relay group ID to which the relay node belongs are selected.
  • the relay node information saved by the relay management entity may include: information about online status information, load information, belonging group information, and relay access mode of the relay node, and the relay node information may be The management entity acquires when the relay node initiates registration, or may also report the relay node to the relay management entity.
  • the relay management entity After receiving the relay service request that is sent by the relay service requesting end and including the address of the active node and the destination node, the relay management entity is further configured to send the source node to the relay selection module. And an address of the target node or the group information to which the target node is located; and/or, sending the address of the source node and the target node or the group information to the relay sorting module, and the obtained candidate relay node list.
  • the relay management entity is further configured to send information indicating the number of candidate relay groups to the relay selection module.
  • the system further includes: a relay service requesting end, configured to send, to the relay management entity, a relay service request including an address of the source node and a target node; and, for, from the relay
  • the management entity acquires the candidate relay node list, and sends the address of the source node and the target node or the group information to the relay sorting module, and the obtained candidate relay node list.
  • the relay management entity is further configured to send the obtained candidate relay node list to the relay service requesting end.
  • the relay service requesting end may be a source node of the current relay service, or a service control server or a user terminal that initiates a relay service request instead of the source node;
  • the relay management entity is a single relay management server, Or a system composed of a plurality of distributed relay management servers;
  • the network topology information server is a single network topology information service unit, or a system composed of a plurality of distributed network topology information service units.
  • the relay management entity after receiving the relay service request, the relay management entity interacts with the network topology information server to acquire topology information for relay selection, and optimizes the relay node that actually provides the service.
  • the network topology information server is extended in the function of the original network topology information server.
  • the relay management entity is responsible for receiving the relay service request of the relay service requesting end, and managing one or more relay nodes, and maintaining the status information of the relay node, such as whether the relay node is online, whether it is overloaded, or the like.
  • the network topology information server is not responsible for maintaining related relay node information.
  • the relay management entity connects to the network topology information server as a topology information client to obtain topology information related to the relay selection.
  • the original functions of the network topology information server are still retained, and other topology information clients can still access the network topology information server to obtain services by using the original protocol.
  • the network topology information server, the relay management entity, and the relay service requesting end are all logical entities, and can be set in one and the other logical entities in an actual physical deployment.
  • the relay service requesting end may be a user terminal, a network service control server, or other network entity. When these entities are set together, the specific business message flow can be implemented through internal messages.
  • the network topology information server may be implemented by a centralized single server method, or may be implemented by a plurality of servers distributed in different locations in a distributed manner.
  • the relay management entity can perform relay selection through the network topology information server in a plurality of manners.
  • the specific implementation manner of implementing relay selection by using the apparatus and system for implementing relay selection according to the present invention will be described in detail below with reference to specific embodiments.
  • the present invention also proposes a method for implementing relay selection, and the specific implementation process will be described in detail by the following three embodiments.
  • the relay management entity receives the relay service sent by the relay service requesting end. After the request, the candidate relay group list is first obtained through the network topology information server, and the candidate relay node is selected in the obtained candidate relay group list to obtain a candidate relay node list.
  • the relay management entity may further sort the candidate relay nodes by using the network topology information server, obtain priority information of the candidate relay node, and finally determine the priority information according to the priority information of the candidate relay node. The relay node of the current relay service.
  • the process of the relay management entity completing the relay selection by using the network topology information server, as shown in FIG. 4, may specifically include the following steps:
  • Step 401 The relay service requesting end sends a relay service request to the relay management entity, and requests the relay management entity to allocate the relay.
  • the relay service request includes information of a source node and a destination node of the current relay service, service information, and other information necessary for the relay request, for example, whether or not a free relay node or the like is required.
  • the relay service requesting end may be a source network node that initiates the relay service, or a service control server that initiates a relay service request instead of the source node, or a user terminal, or other entity.
  • the relay management entity may be a single management server or a management system composed of a plurality of distributed management servers.
  • Step 402 The relay management entity, as a topology information client of the network topology information server, sends a candidate relay group request to the network topology information server, requesting the network topology information server to return a current relay service that can be used to provide the current relay service.
  • a list of candidate relay groups A list of candidate relay groups.
  • the relay group is one or more relay nodes distributed in a certain network area, and the setting of the relay group can be determined by the operator.
  • the candidate relay group request sent by the relay management entity includes the address of the active node and the target node or the group information, the number of candidate relay groups required, and other information necessary for relay selection.
  • a relay group selection blacklist derived from relay free information And other information.
  • the belonging group information here may specifically be the belonging group ID.
  • the relay management entity may directly fill in the address of the source node and the destination node of the relay service in the relay request to be sent; or, after filling in the address of the source node and the target node, according to the source node and the target
  • the correspondence between the address of the node and the group ID of the node, and the address of the source node and the target node are converted into the group ID of the source node and the target node, so that the source node and the node to which the target node belongs can be included in the request to be sent.
  • Group ID is
  • the relay management entity may query and obtain the source from the network topology information server.
  • Step 403 The network topology information server selects a candidate relay group from the relay group in the current network by parsing the network topology information and the operator policy information saved by the network topology information request according to the candidate relay group request. , obtain a candidate relay group list, and return to the relay management entity.
  • the selection algorithm specifically adopted by the network topology information server may be determined according to the specific strategy of the operator. This process is prior art and will not be described here.
  • the network topology information server may first select a candidate relay group according to the geographical scope by parsing the network topology information and the operator policy information saved by itself, and then calculate according to the routing cost table in the operator policy information.
  • the candidate relay group list is obtained following the information of the group.
  • the candidate relay group list includes identification information of each candidate relay group, such as a candidate relay group ID, and the like, and may further include priority information of each candidate relay group. Or include indication information as to whether reordering of each relay node in each relay group is required.
  • the number of candidate relay groups in the candidate relay group list may be specified by the relay management entity or determined by the network topology information server according to the operator policy. For example, the operator policy may pre-determine how many groups are returned each time, or determine the number of groups returned according to actual calculation results.
  • the distributed information between the distributed servers in the network topology information server can be shared by internal messages, and the network topology information and the operator policy information are shared.
  • the relay group selection it is also possible to complete the relay group selection by transmitting the intermediate result of the relay group, that is, the network topology information server transmits the group and the overhead information to each other, or A preliminary selection is made by a network topology information server.
  • Step 404 After obtaining the candidate relay group list from the network topology information server, the relay management entity selects candidate relays by parsing the saved relay node information according to the candidate relay group list. The node obtains the list of candidate relay nodes.
  • the candidate relay node list includes identification information of each candidate relay node, such as address information of the candidate relay node, and the candidate relay node list may specifically be an address list of the candidate relay node.
  • the node attribute information such as the ID of the relay node, the access method, and the associated relay group information may be included.
  • the belonging group information here may specifically be the belonging group ID.
  • the relay management entity may obtain the information about the group information in the relay node information by querying the network topology information server, or download the correspondence between the group information of the relay node and the own address from the network topology information server. The information is then obtained according to the address of the relay node.
  • Step 405 If the candidate relay nodes need to be sorted, the relay management entity may send a relay node sorting request to the network topology information server, requesting the network topology information service.
  • the candidate sorts the candidate relay nodes.
  • the relay node sorting request includes an address of the active node and the target node or belonging group information, and a obtained candidate relay node list.
  • the belonging group information included in the relay node sorting request is specifically the belonging group ID. Specifically, when the number of candidate relay nodes obtained by the relay management entity is large, or when the candidate relay group list returned by the network topology information server indicates that the relay node is to be sorted, the candidate relay node is needed. Sorting is performed, steps 405-407 are performed, otherwise steps 405-407 may not be performed.
  • the relay management entity may request the network topology information server to sort the relay nodes when the number of candidate relay nodes in the candidate relay node list exceeds a certain preset threshold.
  • the network topology information server parses the network topology information and the operator policy information according to the relay node ranking request, and sorts the candidate relay nodes in the candidate relay node list to obtain candidate relays. The priority information of the node, and the obtained candidate relay node priority information is returned to the relay management entity.
  • the network topology information server parses the network topology information and the operator policy information, and the process of sorting the candidate relay nodes may be: the network topology information server parses the geographical location and access of the relay node. The blacklist and whitelist in the mode, or the carrier policy information, and then sort the relay nodes according to the parsed information.
  • the network topology information server may prefer a relay node of a certain geographical location, or a relay node of a certain access mode, or a relay node preferably indicated by a black and white list in the operator policy, as a high priority.
  • Relay node may prefer a relay node of a certain geographical location, or a relay node of a certain access mode, or a relay node preferably indicated by a black and white list in the operator policy, as a high priority.
  • Relay node may prefer a relay node of a certain geographical location, or a relay node of a certain access mode, or a relay node preferably indicated by a black and white list in the operator policy, as a high priority.
  • Step 407 The relay management entity re-sends each candidate relay node in the candidate relay node list by parsing the candidate relay node information saved by the network according to the candidate relay node priority information returned by the network topology information server. Filter, determine the relay node used to provide the current relay service and perform relay resource reservation.
  • the relay node determined to provide the relay service requester with the relay service may be one or more.
  • the relay management entity may directly select the plurality of relay nodes with the highest priority to be responsible for the current relay service, or may select the relay node with better quality by performing actual measurement on the relay node with higher priority. Responsible for the current relay service.
  • the relay management entity finally determines that the relay node A provides the relay service for the communication parties, and completes the foregoing relay resource reservation by interacting with the relay node A.
  • Step 408 The relay management entity returns the information of each candidate relay node in the obtained candidate relay node list or the information of the relay node that is used to provide the current relay service to the relay service requesting end.
  • the steps 405-407 are optional steps, and may or may not be performed according to actual needs.
  • the relay management entity may return information of each relay node in the candidate relay node list to the relay service requesting end, through the candidate relay node list. Any one or more relay nodes provide current relay service; if steps 405-407 are performed, the relay management entity may return information of the relay node determined to provide the relay service to the relay service request in step 408 End, providing relay services for the source node and the target node through the determined relay node.
  • the relay selection process in this embodiment may further include: the relay management entity may select to perform quality of service measurement on a part of the relay nodes in the candidate relay node list, determine a final service quality of each relay node, and determine according to the determined Quality of service, filtering the candidate relay node list again.
  • This step may be in step 404, may be performed simultaneously with step 405 or step 406, and may also be performed between step 406 and step 407.
  • the step 404 may further include: the relay management entity determining whether each candidate relay node selected from the candidate relay group list is invalid, and if yes, returning to the step 402.
  • the candidate relay group request is initiated again, where the candidate relay group request increases the number of the designated candidate relay groups, or indicates that the last returned candidate relay group list is invalid, and the network is requested.
  • the topology information server feeds back the candidate relay group list again, and selects the candidate relay node in the candidate relay group list fed back by the network topology information server to obtain the candidate relay node list; otherwise, the relay management entity According to the candidate relay group list returned by the network topology information server, the candidate relay node is selected by parsing the relay node information saved by itself, and the candidate relay node list is obtained.
  • whether the candidate relay node is valid may be determined by the relay management entity according to the relay node information saved by itself, for example, determining whether the relay node is online, and/or whether the load is too heavy, and/or access. Whether the mode can be supported by both parties of the communication requesting the relay service.
  • the relay management entity after receiving the relay service request sent by the relay service requesting end, the relay management entity first parses its own relay node information, selects a candidate relay node, and obtains through the network topology information server. The priority information of the candidate relay node, and optionally, finally, the relay node for providing the relay service is determined according to the obtained candidate relay node priority information.
  • the process of the relay management entity completing the relay selection by using the network topology information server, as shown in FIG. 5, may specifically include the following steps:
  • Step 501 is exactly the same as step 401;
  • Step 502 The relay management entity selects the candidate relay node by parsing the information of the relay node saved by itself, obtains the candidate relay node list, and serves as the topology information client of the network topology information server to the network topology information server. Send a relay node sort request.
  • the relay management entity selects the candidate relay node by analyzing the information of the source node and the target node of the current relay service, and selects the candidate relay node to obtain the candidate relay node list, which is the same as the above embodiment.
  • the process of selecting the candidate relay node in step 404 is basically the same, except that all the relay sections managed by the relay management entity in this embodiment are different.
  • the candidate relay node is selected from the points, and the relay management entity in the first embodiment selects the candidate relay node among the relay node managed by the relay management group in the candidate relay group list.
  • the relay management entity may perform selection of the candidate relay node based on the relay node information, the address of the source node and the target node included in the relay service request, and the service information.
  • the selected candidate relay node may be a relay node managed by the relay management entity, which can be used to provide a current relay service, or all managed by the relay management entity, which can be used for all Provides some of the relay nodes in the relay node of the current relay service.
  • the relay management entity may use polling from the relay nodes capable of providing the relay service (sequentially selecting in turn) The different relay nodes) or the random selection method selects a part as a candidate relay node.
  • the candidate relay node list includes identification information of each candidate relay node, such as address information of the candidate relay node, and the candidate relay node list may specifically be an address list of the candidate relay node.
  • the node attribute information such as the ID of the relay node, the access method, and the associated relay group information may be included.
  • the relay node sorting request may include the obtained candidate relay node list, and the address or belonging group information of the source node and the target node.
  • the group information of the source node and the target node may be obtained by querying the network topology information server by the relay management entity, or downloading the correspondence between the source node and the group information of the target node and the address thereof from the network topology information server.
  • the relationship is obtained based on the address of the source node and the target node.
  • Step 503 is the same as step 406.
  • the network topology information server may directly return the candidate relay node list and the obtained candidate relay node priority information to the relay.
  • Service requester. Step 504 is exactly the same as step 407.
  • step 504 is an optional step, which may or may not be performed according to actual needs.
  • Step 505 is the same as step 408. The difference is that if step 504 is not performed, the relay management entity returns the priority information of the candidate relay node obtained through the network topology information server to the relay service requesting end.
  • the relay selection process in this embodiment may further include: the relay management entity may select to perform quality of service measurement on a part of the relay nodes in the candidate relay node list, determine a final service quality of each relay node, and determine according to the determined Quality of service, filtering the candidate relay node list again.
  • This step may be before step 502, may be performed simultaneously with step 502 or step 503, and may also be performed between step 503 and step 504.
  • the relay management entity parses its own relay node information, selects a candidate relay node, obtains a list of candidate relay nodes, and The candidate relay node list and the information of each candidate relay node are returned to the relay service requesting end; the relay service requesting end obtains the priority information of each candidate relay node in the candidate relay node list through the network topology information server. .
  • the relay management entity After receiving the relay service request sent by the relay service requesting end, the relay management entity first parses its own relay node information, obtains a list of candidate relay nodes, and lists the candidate relay nodes and each candidate. The information of the node is sent to the relay service requesting end; then, the relay service requesting end requests the network topology information server to sort the candidate relay nodes, and then the network topology information server directly sets the priority information of the candidate relay node. Return to the relay service requester.
  • the process of the relay management entity performing the relay selection by using the network topology information server may specifically include the following steps:
  • Step 601 is exactly the same as step 401;
  • Step 602 The relay management entity parses the relay node information saved by itself, selects a candidate relay node for the current relay service, obtains a candidate relay node list, and obtains a list of candidate relay nodes and each candidate relay node. The information is sent to the relay service requester.
  • Step 603 The relay service requesting end serves as a topology information client of the network topology information server, and sends a relay node sorting request to the network topology information server, requesting the network topology information server to sort the candidate relay nodes.
  • the relay node sorting request includes the candidate relay node list, the source node and the address of the target node or the group information, and the like.
  • the group information of the source node and the target node is obtained by the relay service requesting end by querying the network topology information server by the relay management server, or downloading the source node from the network topology information server by using the relay management server.
  • the correspondence between the group information of the target node and its address is obtained according to the address of itself and the peer.
  • Step 604 is the same as step 406. The difference is that the network topology information server directly returns the obtained candidate relay node priority information to the relay service requesting end.
  • Step 605 The relay service requesting end performs screening on each candidate relay node in the candidate relay node list according to the candidate relay node list and the priority information of the candidate relay node, and determines to provide The relay node of the relay service, and performs subsequent relay service operations.
  • the relay service requesting end determines that the current relay service is provided by the relay node A, and through the subsequent interaction with the relay node A, reserves the relay resources, and establishes a relay connection or the like.
  • the source node and the destination node refer to nodes that use the relay service to communicate using the relay node.
  • the address of the source node and the target node of the current relay service refers to the address of the source node and the target node of the session.

Landscapes

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

Abstract

Disclosed is a network topology information server for use in implementing a relay selection. The network topology information server holds the network topology information and the operator policy information, and comprises a relay service unit. The relay service unit comprises a relay selection module and/or a relay sequencing module. Also disclosed are a system and a method for use in implementing a relay selection. In the present invention, by an expansion of the features of an existing network topology information server, the network topology information server is allowed to support a feature of relay node preferential selection, and to provide a corresponding interface. The utilization rate of the network topology information and the operator policy information are increased greatly, and the operational load and the data maintenance load on a relay management entity are reduced greatly, and with the employment of the network topology information updated in real-time, the work efficiency of the relay management entity is increased effectively, and the accuracy of relay selection is ensured.

Description

实现中继选择的方法及装置、 系统 技术领域  Method, device and system for implementing relay selection

本发明涉及网络和通讯领域的中继技术, 尤其涉及一种实现中继选择 的方法及装置、 系统。 背景技术  The present invention relates to a relay technology in the field of network and communication, and in particular, to a method, device and system for implementing relay selection. Background technique

随着网络技术的发展, 包括 VoIP业务、 视频点播 /直播、 软件下载等的 多媒体业务在分组数据网中得到迅速普及, 尤其在基于对等网技术的网络 中。  With the development of network technologies, multimedia services including VoIP services, video on demand/live broadcasting, software downloading, etc. have rapidly spread in packet data networks, especially in networks based on peer-to-peer technology.

在基于对等网技术的网络中, 每个节点既作为客户端从其他节点获取 服务, 同时也作为服务器给其他节点提供服务。 当对等节点位于网络地址 转换( NAT , Network Address Translation )设备或防火墙设备之后时, 通信 双方无法直接建立连接, 需要使用中继技术来实现 NAT/防火墙穿越功能, 来帮助通信双方建立直接连接。  In a network based on peer-to-peer technology, each node obtains services from other nodes as a client, and also serves as a server to other nodes. When the peer node is behind a Network Address Translation (NAT) device or a firewall device, the two parties cannot establish a connection directly. The relay technology is needed to implement the NAT/firewall traversal function to help the communication parties establish a direct connection.

另外, 由于分组数据网采用尽最大努力 (best effort ) 的方式传输数据 包, 其服务质量很难达到多媒体业务的需求, 因此, 在分组数据网中也有 必要应用中继技术, 尝试采用多条传输路径传输数据包, 以提高网络服务 质量。  In addition, since the packet data network uses the best effort to transmit data packets, the quality of service is difficult to meet the requirements of multimedia services. Therefore, it is also necessary to apply the relay technology in the packet data network, and try to use multiple transmissions. The path transmits packets to improve network service quality.

中继技术是指通过在分组数据包传递路径上增加一个或多个中继节 点, 再由该中继节点进行数据包转发的技术, 合理地选择中继节点可以提 高中继的服务质量。 在现有的中继选择中, 由中继管理实体来负责中继的 选择和测量工作, 由于中继管理实体自身需要维护相当多的测量信息, 当 中继节点数量巨大, 并分散在世界不同地点时, 中继管理实体的维护和测 量工作量将十分巨大。 网络拓朴信息服务器由运营商维护, 其包含了较为详尽的网络拓朴信 息和运营商策略。 网络拓朴信息服务器的功能和网络架构如图 1 所示, 网 络拓朴信息服务器为拓朴信息客户端提供网络拓朴信息服务, 其功能模块 包括: 网络信息服务模块、 网络开销信息服务模块、 信息过滤服务模块、 节点属性服务模块、 节点开销服务模块和服务器能力信息服务模块。 其中, 网络信息服务模块允许拓朴信息客户端下载网络中群组和 IP地址的对应关 系, 网络开销信息服务模块允许拓朴信息客户端下载群组之间的路由开销 表, 信息过滤服务模块允许拓朴信息客户端查询特定群组 ID与 IP地址对 应关系或特定群组 ID之间的网络开销, 节点属性服务模块允许拓朴信息客 户端查询特定节点的属性, 如对应群组 ID、 连接方式等, 节点开销服务模 块为拓朴信息客户端提供对给定的候选节点列表给出节点优先级的服务, 服务器能力信息服务模块提供服务器能力查询。 网络拓朴信息服务器的一 个实例,如 Internet标准化组织互联网工程任务组( IETF, Internet Engineering Task Force )提出的应用层流量优化服务器( ALTO, Application-Layer Traffic Optimization )月良务器。 The relay technology refers to a technique of adding one or more relay nodes to a packet data transmission path, and then performing data packet forwarding by the relay node, and reasonably selecting the relay node can improve the quality of service of the relay. In the existing relay selection, the relay management entity is responsible for the selection and measurement of the relay. Since the relay management entity itself needs to maintain a considerable amount of measurement information, the number of relay nodes is large and scattered in different places in the world. At the time, the maintenance and measurement workload of the relay management entity will be enormous. The network topology information server is maintained by the operator, and it contains more detailed network topology information and operator policies. The function and network architecture of the network topology information server are shown in Figure 1. The network topology information server provides a network topology information service for the topology information client. The functional modules include: a network information service module, a network overhead information service module, Information filtering service module, node attribute service module, node overhead service module and server capability information service module. The network information service module allows the topology information client to download the correspondence between the group and the IP address in the network, and the network overhead information service module allows the topology information client to download the routing cost table between the groups, and the information filtering service module allows The topology information client queries the network overhead between the specific group ID and the IP address or the specific group ID, and the node attribute service module allows the topology information client to query the attributes of the specific node, such as the corresponding group ID and connection mode. Etc., the node overhead service module provides a service for the topology information client to give a node priority to a given candidate node list, and the server capability information service module provides a server capability query. An example of a network topology information server, such as the Internet-based Organizational Task Force (IETF, Internet Engineering Task Force) proposed by the Application Layer Traffic Optimization Server (ALTO, Application-Layer Traffic Optimization).

现有的网络拓朴信息服务器的主要目的是用于网络流量优化, 只支持 为节点提供网络拓朴信息, 并基于这些网络拓朴信息为节点选择合适的对 等端进行通信。 虽然网络拓朴信息服务器拥有进行中继选择所需要的拓朴 信息, 但网络拓朴信息服务器不支持对中继节点的选择, 不支持为一对需 要通讯的节点优选中继节点的功能和相对应的接口。 这样, 在中继选择过 程中, 中继管理实体不仅无法有效利用网络拓朴信息服务器中已有的网络 拓朴信息进行中继选择, 而且需要自身进行网络拓朴信息的测量和数据维 护, 造成中继管理实体的工作负担较大, 而且在网络拓朴信息改变后, 中 继管理实体也无法及时更新自身的网络拓朴信息, 降低了自身的工作效率, 以至于不能准确选择合适的中继, 影响到网络节点之间的业务交互。 发明内容 The main purpose of the existing network topology information server is to optimize network traffic. It only supports providing network topology information for nodes, and selects appropriate peers for communication based on these network topology information. Although the network topology information server has the topology information required for relay selection, the network topology information server does not support the selection of the relay node, and does not support the function and phase of the preferred relay node for a pair of nodes requiring communication. Corresponding interface. In this way, in the relay selection process, the relay management entity can not only effectively utilize the network topology information existing in the network topology information server for relay selection, but also needs to perform network topology information measurement and data maintenance by itself. The working load of the relay management entity is large, and after the network topology information is changed, the relay management entity cannot update its network topology information in time, which reduces its own working efficiency, so that it cannot accurately select the appropriate relay. , affecting business interactions between network nodes. Summary of the invention

有鉴于此, 本发明的主要目的在于提供一种实现中继选择的方法及装 置、 系统, 以解决现有中继选择方法无法有效利用网络拓朴信息服务器的 功能、 且中继管理实体工作负担又过重的问题。  In view of the above, the main object of the present invention is to provide a method, device, and system for implementing relay selection, so as to solve the problem that the existing relay selection method cannot effectively utilize the function of the network topology information server, and the workload of the relay management entity is The problem is too heavy.

为达到上述目的, 本发明的技术方案是这样实现的:  In order to achieve the above object, the technical solution of the present invention is achieved as follows:

本发明提供了一种用于实现中继选择的网络拓朴信息服务器, 该网络 拓朴信息服务器保存有网络拓朴信息和运营商策略信息, 所述网络拓朴信 息服务器包括: 中继服务单元, 该中继服务单元包含有中继选择模块和 /或 中继排序模块, 其中, 中继选择模块, 用于通过解析所述网络拓朴信息和 运营商策略信息, 根据中继服务的源节点及目标节点的地址或所属群组信 息, 选择用于提供所述中继服务的候选中继群组, 得到候选中继群组列表; 中继排序模块, 用于通过解析所述网络拓朴信息和运营商策略信息, 根据 中继服务的源节点及目标节点的地址或所属群组信息、 以及用于提供所述 中继服务的候选中继节点列表, 对所述候选中继节点列表中的候选中继节 点进行排序 , 得到各候选中继节点的优先级信息。  The present invention provides a network topology information server for implementing relay selection, where the network topology information server stores network topology information and operator policy information, and the network topology information server includes: a relay service unit The relay service unit includes a relay selection module and/or a relay sequencing module, where the relay selection module is configured to analyze the network topology information and the operator policy information according to the source node of the relay service. And selecting, by the address of the target node or the group information, selecting a candidate relay group for providing the relay service, and obtaining a candidate relay group list; and a relay sorting module, configured to analyze the network topology information by using And the operator policy information, according to the address of the source node and the target node of the relay service and the belonging group information, and the candidate relay node list for providing the relay service, in the candidate relay node list The candidate relay nodes perform sorting to obtain priority information of each candidate relay node.

在上述方案中, 所述中继选择模块, 具有基于所述源节点及目标节点 的地址或所属群组信息查询候选中继群组的接口。  In the above solution, the relay selection module has an interface for querying a candidate relay group based on the address of the source node and the target node or the group information of the target node.

在上述方案中, 所述中继选择模块, 还用于从中继管理实体获取所述 源节点及目标节点的地址或所属群组信息, 并将所得到的候选中继群组列 表返回给所述中继管理实体。  In the above solution, the relay selection module is further configured to acquire an address of the source node and the target node or a group information from the relay management entity, and return the obtained candidate relay group list to the Relay management entity.

在上述方案中, 所述中继选择模块, 还用于根据中继管理实体指示的 候选中继群组数量, 为所述中继服务选择候选中继群组, 得到所述候选中 继群组列表。  In the foregoing solution, the relay selection module is further configured to: select, according to the number of candidate relay groups indicated by the relay management entity, a candidate relay group for the relay service, to obtain the candidate relay group. List.

在上述方案中, 所述中继排序模块, 具有基于所述源节点及目标节点 的地址或所属群组信息、 以及候选中继节点列表, 查询候选中继节点的优 先级的接口。 In the above solution, the relay ranking module has an address based on the source node and the target node or the group information, and a candidate relay node list, and the candidate relay node is optimized. The interface of the first level.

在上述方案中, 所述中继排序模块, 还用于从中继管理实体、 或中继 服务请求端获取所述源节点及目标节点的地址或所属群组信息、 以及候选 中继节点列表, 并将得到的各候选中继节点的优先级信息返回给所述中继 管理实体或中继服务请求端。  In the foregoing solution, the relay sequencing module is further configured to acquire, from a relay management entity, or a relay service requesting end, an address or a group information of the source node and the target node, and a candidate relay node list, and The obtained priority information of each candidate relay node is returned to the relay management entity or the relay service requesting end.

本发明还提供了一种用于实现中继选择的系统, 所述系统包括: 中继 管理实体和网络拓朴信息服务器, 其中,  The present invention also provides a system for implementing relay selection, the system comprising: a relay management entity and a network topology information server, where

网络拓朴信息服务器保存有网络拓朴信息和运营商策略信息, 包括: 中继服务单元, 该中继服务单元包含有中继选择模块和 /或中继排序模块, 其中,  The network topology information server stores the network topology information and the operator policy information, including: a relay service unit, where the relay service unit includes a relay selection module and/or a relay sequencing module, where

中继选择模块, 用于通过解析所述网络拓朴信息和运营商策略信息, 根据中继服务的源节点及目标节点的地址或所属群组信息, 选择用于提供 所述中继服务的候选中继群组, 得到候选中继群组列表;  a relay selection module, configured to select a candidate for providing the relay service according to the source node of the relay service and the address of the target node or the group information of the relay service by parsing the network topology information and the operator policy information Relay group, obtaining a candidate relay group list;

中继排序模块, 用于通过解析所述网络拓朴信息和运营商策略信息, 根据中继服务的源节点及目标节点的地址或所属群组信息、 以及获取到的 用于提供中继服务的候选中继节点列表, 对所述候选中继节点列表中各候 选中继节点进行排序, 得到各候选中继节点的优先级信息;  a relay sorting module, configured to parse the network topology information and the operator policy information, according to the address of the source node and the target node of the relay service or the group information, and the obtained information for providing the relay service a candidate relay node list, sorting each candidate relay node in the candidate relay node list, and obtaining priority information of each candidate relay node;

中继管理实体, 用于在接收到中继服务请求端发出的中继服务请求后, 根据所述中继服务请求、 以及所述中继排序模块得到的优先级信息, 对所 述候选中继节点列表进行筛选, 确定用于提供当前中继服务的候选中继节 点;  a relay management entity, configured to: after receiving the relay service request sent by the relay service requesting end, according to the relay service request and the priority information obtained by the relay sorting module, the candidate relaying Filtering the node list to determine a candidate relay node for providing the current relay service;

和 /或, 用于在接收到中继服务请求端发出的中继服务请求后, 根据所 述中继服务请求、 以及所述中继选择模块得到的候选中继群组列表, 通过 解析自身保存的中继节点信息 , 得到所述候选中继节点列表。  And/or, after receiving the relay service request sent by the relay service requesting end, according to the relay service request and the candidate relay group list obtained by the relay selection module, saving by parsing itself The relay node information obtains the candidate relay node list.

在上述方案中, 所述中继管理实体, 还用于接收到中继服务请求端发 出的包含有源节点及目的节点的地址的中继服务请求后, In the above solution, the relay management entity is further configured to receive a relay service request end After the relay service request containing the address of the active node and the destination node,

向所述中继选择模块发送所述源节点及目标节点的地址或所属群组信 息; 和 /或, 向所述中继排序模块发送所述源节点及目标节点的地址或所属 群组信息、 以及得到的候选中继节点列表。  Sending the address of the source node and the target node or the group information to the relay selection module; and/or transmitting the address of the source node and the target node or the group information to the relay sorting module, And a list of candidate relay nodes obtained.

在上述方案中, 所述中继管理实体, 还用于向所述中继选择模块发送 用于指示候选中继群组数量的信息。  In the above solution, the relay management entity is further configured to send, to the relay selection module, information indicating the number of candidate relay groups.

在上述方案中, 所述系统还包括: 中继服务请求端, 用于向所述中继 管理实体发出包含有所述源节点及目标节点的地址的中继服务请求; 以及, 用于从所述中继管理实体获取所述候选中继节点列表, 并向所述中继排序 模块发送所述源节点及目标节点的地址或所属群组信息、 以及所获取的候 选中继节点列表; 所述中继管理实体, 还用于将所得到的候选中继节点列 表发送给所述中继服务请求端。  In the above solution, the system further includes: a relay service requesting end, configured to send, to the relay management entity, a relay service request including an address of the source node and the target node; and The relay management entity acquires the candidate relay node list, and sends the address of the source node and the target node or the group information to the relay sorting module, and the obtained candidate relay node list; The relay management entity is further configured to send the obtained candidate relay node list to the relay service requesting end.

在上述方案中, 所述中继服务请求端具体是当前中继服务的源节点、 或者代替源节点发起中继服务请求的业务控制服务器、 或者用户终端。  In the above solution, the relay service requesting end is specifically a source node of the current relay service, or a service control server or a user terminal that initiates a relay service request instead of the source node.

在上述方案中, 所述中继管理实体为单台中继管理服务器、 或多个分 布式中继管理服务器共同组成的系统。  In the above solution, the relay management entity is a system composed of a single relay management server or a plurality of distributed relay management servers.

在上述方案中, 所述网络拓朴信息服务器为单个网络拓朴信息服务单 元, 或者由多个分布式网络拓朴信息服务单元共同构成的系统。  In the above solution, the network topology information server is a single network topology information service unit or a system composed of a plurality of distributed network topology information service units.

本发明还提供了一种实现中继选择的方法, 所述方法包括:  The present invention also provides a method for implementing relay selection, the method comprising:

中继管理实体在接收到中继服务请求端发送的、 包含有当前中继服务 的源节点及目标节点的地址的中继服务请求后, 根据所述中继服务请求, 从网络拓朴信息服务器获取候选中继群组列表, 在所获取的候选中继群组 列表中选择候选中继节点, 得到候选中继节点列表。  After receiving the relay service request sent by the relay service requesting end, including the source node of the current relay service and the address of the target node, the relay management entity receives the relay service request from the network topology information server. Obtaining a candidate relay group list, selecting candidate relay nodes in the obtained candidate relay group list, and obtaining a candidate relay node list.

在上述方案中, 所述从网络拓朴信息服务器获取候选中继群组列表, 包括: 所述中继管理实体向所述网络拓朴信息服务器发送包含有当前中继 服务的源节点及目标节点的地址或所属群组信息的候选中继群组请求; 所 述网络拓朴信息服务器根据所述候选中继群组请求, 通过解析自身保存的 网络拓 4卜信息和运营商策略信息, 从当前网络中的中继群组中选出候选中 继群组, 得到候选中继群组列表, 并返回给所述中继管理实体。 In the foregoing solution, the obtaining, by the network topology information server, the candidate relay group list includes: sending, by the relay management entity, the network topology information server, including the current relay a source node of the service and an address of the target node or a candidate relay group request of the group information; the network topology information server parses the information of the network extension saved by the network according to the candidate relay group request The operator policy information is selected from the relay groups in the current network to obtain a candidate relay group list, and is returned to the relay management entity.

在上述方案中, 所述候选中继群组请求中还包括用于指示候选中继群 组数量的信息。  In the above solution, the candidate relay group request further includes information indicating the number of candidate relay groups.

在上述方案中, 所述中继管理实体在所获取的候选中继群组列表中选 择候选中继节点, 得到候选中继节点列表, 包括: 所述中继管理实体根据 所述中继服务请求、 以及从所述网络拓朴信息服务器获取到的候选中继群 组列表, 通过解析自身保存的中继节点信息, 选出候选中继节点, 得到所 述候选中继节点列表。  In the foregoing solution, the relay management entity selects a candidate relay node in the obtained candidate relay group list, and obtains a candidate relay node list, including: the relay management entity according to the relay service request And the candidate relay group list obtained from the network topology information server, and the candidate relay node is selected by parsing the relay node information saved by itself to obtain the candidate relay node list.

在上述方案中, 所述中继管理实体在所获取的候选中继群组列表中选 择候选中继节点, 得到候选中继节点列表, 还包括: 所述中继管理实体判 断从所述候选中继群组列表中选出的各候选中继节点是否均无效; 如果是 , 则再次发起候选中继群组请求, 要求所述网络拓朴信息服务器再次反馈候 选中继群组列表; 否则, 直接在所述候选中继群组列表中选择候选中继节 点, 得到候选中继节点列表。  In the foregoing solution, the relay management entity selects a candidate relay node in the obtained candidate relay group list to obtain a candidate relay node list, and further includes: the relay management entity determines that the candidate is from the candidate Whether each candidate relay node selected in the group list is invalid; if yes, the candidate relay group request is initiated again, and the network topology information server is required to feed back the candidate relay group list again; otherwise, directly Selecting a candidate relay node in the candidate relay group list to obtain a candidate relay node list.

在上述方案中, 所述再次发起的候选中继群组请求加大所指定的候选 中继群组数量、 或指明上次返回的候选中继群组列表无效。  In the above solution, the re-initiated candidate relay group request increases the number of designated candidate relay groups, or indicates that the last returned candidate relay group list is invalid.

在上述方案中, 在得到所述候选中继节点列表之后, 所述方法还包括: 所述中继管理服务器从网络拓朴信息服务器获取所述候选中继节点列表中 各候选中继节点的优先级信息。  In the above solution, after obtaining the candidate relay node list, the method further includes: the relay management server acquiring, from the network topology information server, the priority of each candidate relay node in the candidate relay node list Level information.

在上述方案中, 所述中继管理服务器从网络拓朴信息服务器获取各候 选中继节点的优先级信息, 包括: 所述中继管理实体向所述网络拓朴信息 服务器发送中继节点排序请求, 请求所述网络拓朴信息服务器对所述候选 中继节点列表中各候选中继节点进行排序, 该中继节点排序请求中包含有 源节点及目标节点的地址或所属群组信息、 以及所得到的候选中继节点列 表; 所述网络拓朴信息服务器根据所述中继节点排序请求, 解析自身的网 络拓 4卜信息和运营商策略信息, 对所述候选中继节点列表中各候选中继节 点进行排序, 得到各候选中继节点的优先级信息, 并将得到的优先级信息 返回给所述中继管理实体。 In the above solution, the relay management server acquires the priority information of each candidate relay node from the network topology information server, and the method includes: the relay management entity sending a relay node sorting request to the network topology information server Requesting the network topology information server to the candidate Sorting each candidate relay node in the relay node list, where the relay node sorting request includes an address of the active node and the target node or belonging group information, and a list of the obtained candidate relay nodes; The information server parses the network extension information and the operator policy information according to the relay node ranking request, and sorts each candidate relay node in the candidate relay node list to obtain the priority of each candidate relay node. Level information, and the obtained priority information is returned to the relay management entity.

在上述方案中, 所述方法还包括: 所述中继管理实体根据从所述网络 拓朴信息服务器获取的所述优先级信息, 通过解析自身保存的候选中继节 点信息, 对所述候选中继节点列表中各候选中继节点进行筛选, 确定用于 提供当前中继服务的中继节点。  In the above solution, the method further includes: the relay management entity parsing the candidate relay node information saved by itself according to the priority information acquired from the network topology information server, and selecting the candidate Each candidate relay node in the node list is filtered to determine a relay node for providing the current relay service.

本发明还提供了一种实现中继选择的方法, 所述方法包括: 中继管理 实体接收到中继服务请求端发送的、 包含有当前中继服务的源节点及目标 节点的地址中继服务请求后, 解析自身的中继节点信息, 选出候选中继节 点, 得到候选中继节点列表; 所述中继管理实体从网络拓朴信息服务器获 取所述候选中继节点列表中各候选中继节点的优先级信息, 并根据所获取 的优先级信息, 对各候选中继节点进行筛选, 确定用于提供当前中继服务 的中继节点; 或者, 所述中继管理实体将所得到的候选中继节点列表及各 候选中继节点的信息返回给所述中继服务请求端, 由所述中继服务请求端 从网络拓朴信息服务器获取所述候选中继节点列表中各候选中继节点的优 先级信息, 根据所获取的优先级信息, 对各候选中继节点进行筛选, 确定 为用于提供当前中继服务的中继节点。  The present invention also provides a method for implementing relay selection, the method comprising: receiving, by a relay management entity, an address relay service that is sent by a relay service requesting end and includes a source node and a target node of a current relay service. After the request, the relay node information is parsed, the candidate relay node is selected, and the candidate relay node list is obtained; the relay management entity acquires each candidate relay in the candidate relay node list from the network topology information server. a priority information of the node, and filtering, according to the obtained priority information, each candidate relay node to determine a relay node for providing a current relay service; or the relay management entity obtains the candidate The relay node list and the information of each candidate relay node are returned to the relay service requesting end, and the relay service requesting end obtains each candidate relay node in the candidate relay node list from the network topology information server. Priority information, according to the obtained priority information, screening each candidate relay node, determining that it is used for providing Relay relay node services.

在上述方案中, 所述通过网络拓朴信息服务器获取候选中继节点的优 先级信息, 包括: 所述中继管理实体向所述网络拓朴信息服务器发送中继 节点排序请求, 请求所述网络拓朴信息服务器对所述候选中继节点列表中 各候选中继节点进行排序, 该中继节点排序请求中包含有所述源节点及目 标节点的地址或所属群组信息、 以及得到的候选中继节点列表; 所述网络 拓朴信息服务器根据所述中继节点排序请求, 解析自身的网络拓朴信息和 运营商策略信息, 对所述候选中继节点列表中各候选中继节点进行排序, 得到各候选中继节点的优先级信息; 并, 将得到的候选中继节点优先级信 息返回给所述中继管理实体, 或直接将所述候选中继节点列表、 以及得到 的优先级信息返回给所述中继服务请求端。 In the foregoing solution, the obtaining the priority information of the candidate relay node by using the network topology information server includes: sending, by the relay management entity, a relay node sorting request to the network topology information server, requesting the network The topology information server sorts each candidate relay node in the candidate relay node list, where the relay node sorting request includes the source node and the destination node The address or the group information of the target node, and the obtained candidate relay node list; the network topology information server parses the network topology information and the operator policy information according to the relay node ordering request, Each candidate relay node in the candidate relay node list is sorted to obtain priority information of each candidate relay node; and the obtained candidate relay node priority information is returned to the relay management entity, or directly The candidate relay node list and the obtained priority information are returned to the relay service requesting end.

在上述方案中, 所述中继服务请求端从网络拓朴信息服务器获取各候 选中继节点的优先级信息, 包括: 中继服务请求端向网络拓朴信息服务器 发送中继节点排序请求, 请求网络拓朴信息服务器对候选中继节点列表中 各候选中继节点进行排序, 该中继节点排序请求中包含有所述源节点及目 标节点的地址或所属群组信息、 以及所述中继管理实体返回的候选中继节 点列表; 所述网络拓朴信息服务器根据所述中继节点排序请求, 解析自身 的网络拓朴信息和运营商策略信息, 对所述候选中继节点列表中的候选中 继节点进行排序, 得到各候选中继节点的优先级信息, 并将得到的优先级 信息返回给所述中继服务请求端。  In the above solution, the relay service requesting end obtains the priority information of each candidate relay node from the network topology information server, and the method includes: the relay service requesting end sends a relay node sorting request to the network topology information server, requesting The network topology information server sorts each candidate relay node in the candidate relay node list, where the relay node sorting request includes the address of the source node and the target node or the group information, and the relay management. a candidate relay node list returned by the entity; the network topology information server parses its own network topology information and operator policy information according to the relay node ranking request, and is candidate among the candidate relay node list After the nodes are sorted, the priority information of each candidate relay node is obtained, and the obtained priority information is returned to the relay service requesting end.

本发明的实现中继选择的方法及装置、 系统, 通过扩展现有的网络拓 朴信息服务器的功能, 在网络拓朴信息服务器中增加用于处理中继服务的 中继服务单元, 该中继服务单元可以利用现有网络拓朴信息服务器提供的 信息进行中继群组的选择和 /或对候选中继节点进行排序, 从而使得网络拓 朴信息服务器能够支持中继节点优选的功能, 并能够提供相应的接口, 也 使得中继管理实体的服务质量测量和数据维护功能得到有效简化, 不仅使 得网络拓朴信息服务器中的网络拓朴信息及运营商策略信息得到了有效利 用, 提高了网络拓朴信息及运营商策略信息的利用率, 减轻了中继管理实 体的运行负担以及数据维护负担, 并且在网络拓朴信息发生改变时, 中继 管理实体可以及时采用更新的网络拓朴信息来进行中继选择, 从而有效提 高中继管理实体的工作效率, 并保证中继选择的准确性。 附图说明 The method, device and system for implementing relay selection according to the present invention, by extending the function of the existing network topology information server, adding a relay service unit for processing the relay service in the network topology information server, the relay The service unit can use the information provided by the existing network topology information server to select the relay group and/or sort the candidate relay nodes, so that the network topology information server can support the preferred function of the relay node, and can Providing the corresponding interface also effectively simplifies the service quality measurement and data maintenance functions of the relay management entity, and not only enables the network topology information and the operator policy information in the network topology information server to be effectively utilized, thereby improving the network extension. The utilization of the information and the operator's policy information reduces the operational burden of the relay management entity and the data maintenance burden. When the network topology information changes, the relay management entity can use the updated network topology information in time. Relay selection, so effectively The high relay manages the efficiency of the entity and ensures the accuracy of the relay selection. DRAWINGS

图 1为现有网络拓朴信息服务器的组成结构示意图;  1 is a schematic structural diagram of a structure of an existing network topology information server;

图 2为本发明用于实现中继选择的系统的组成结构示意图;  2 is a schematic structural diagram of a system for implementing relay selection according to the present invention;

图 3 为本发明的用于实现中继选择的系统的一种实施例的组成结构示 意图;  3 is a schematic structural diagram of an embodiment of a system for implementing relay selection according to the present invention;

图 4为本发明实施例一的实现中继选择方法的流程示意图;  4 is a schematic flowchart of implementing a relay selection method according to Embodiment 1 of the present invention;

图 5为本发明实施例二的实现中继选择方法的流程示意图;  FIG. 5 is a schematic flowchart of a method for implementing a relay selection according to Embodiment 2 of the present invention;

图 6为本发明实施例三的实现中继选择方法的流程示意图。 具体实施方式  FIG. 6 is a schematic flowchart of a method for implementing a relay selection according to Embodiment 3 of the present invention. detailed description

本发明的基本思想是: 对现有的、 负责网络拓朴信息管理的网络拓朴 信息服务器进行改造, 使得网络拓朴信息服务器具备已知通信双方地址或 群组信息的条件下优选中继节点的功能; 在进行中继选择时, 由负责中继 管理的中继管理实体、 和上述改造后的网络拓朴信息服务器共同完成, 从 网络拓朴信息服务器中保存的网络拓朴信息和运营商策略信息。  The basic idea of the present invention is: to modify an existing network topology information server responsible for network topology information management, so that the network topology information server has a known relay node under the condition that the communication party address or group information is known. The function of the relay is selected by the relay management entity responsible for relay management and the modified network topology information server, and the network topology information and the operator saved from the network topology information server are performed. Strategy information.

本发明的一种用于实现中继选择的网络拓朴信息服务器, 该网络拓朴 信息服务器保存有网络拓朴信息和运营商策略信息, 主要包括: 中继服务 单元, 该中继服务单元包含有中继选择模块和 /或中继排序模块, 其中, 中继选择模块, 用于通过解析所述网络拓朴信息和运营商策略信息, 根据中继服务的源节点及目标节点的地址或所属群组信息, 选择用于提供 中继服务的候选中继群组, 得到候选中继群组列表;  A network topology information server for implementing relay selection, the network topology information server retains network topology information and operator policy information, and mainly includes: a relay service unit, where the relay service unit includes There is a relay selection module and/or a relay sequencing module, where the relay selection module is configured to analyze the network topology information and the operator policy information according to the address or the address of the source node and the target node of the relay service. Group information, selecting a candidate relay group for providing a relay service, and obtaining a candidate relay group list;

中继排序模块, 用于通过解析所述网络拓朴信息和运营商策略信息, 根据中继服务的源节点及目标节点的地址或所属群组信息、 以及用于提供 中继服务的候选中继节点列表, 对所述候选中继节点列表中的候选中继节 点进行排序 , 得到各候选中继节点的优先级信息。 a relay sorting module, configured to parse the network topology information and the operator policy information, according to the address of the source node and the target node of the relay service or the group information, and for providing A candidate relay node list of the relay service, and sorting the candidate relay nodes in the candidate relay node list to obtain priority information of each candidate relay node.

这里, 所述候选中继群组列表中包含有各候选中继群组的标识信息, 如 ID等信息,此外,还可以包含各候选中继群组中中继节点的优先级信息, 或者用于指定是否需要对候选中继节点进行排序的指示信息。  Here, the candidate relay group list includes identification information of each candidate relay group, such as ID and the like, and may further include priority information of the relay node in each candidate relay group, or An indication of whether or not a candidate relay node needs to be sorted.

这里, 中继服务的源节点及目标节点的地址或所属群组信息, 具体可 以是中继服务的源节点的地址、 ID、 所属群组 ID等信息、 以及目的节点的 地址、 ID、 所属群组 ID等信息。  Here, the address of the source node and the target node of the relay service or the group information of the destination node may specifically be the address, the ID, the group ID, and the like of the source node of the relay service, and the address, ID, and the group of the destination node. Group ID and other information.

其中, 所述中继选择模块还用于: 从中继管理实体获取所述源节点及 目标节点的地址或所属群组信息, 并将所得到的候选中继群组列表返回给 所述中继管理实体; 根据中继管理实体指示的候选中继群组数量, 为所述 中继服务选择候选中继群组, 得到所述候选中继群组列表。  The relay selection module is further configured to: acquire an address of the source node and the target node or a group information from the relay management entity, and return the obtained candidate relay group list to the relay management. Entity; selecting a candidate relay group for the relay service according to the number of candidate relay groups indicated by the relay management entity, and obtaining the candidate relay group list.

其中, 所述中继排序模块还用于: 从中继管理实体、 或所述中继服务 请求端获取所述源节点及目标节点的地址或所属群组信息、 以及候选中继 节点列表, 并将得到的各候选中继节点的优先级信息返回给所述中继管理 实体或中继服务请求端。  The relay sequencing module is further configured to: acquire, from the relay management entity, or the relay service requesting end, an address or a group information of the source node and the target node, and a candidate relay node list, and The obtained priority information of each candidate relay node is returned to the relay management entity or the relay service requesting end.

实际应用中, 上述的中继选择模块具有基于源节点及目标节点的地址 或所属群组信息查询候选中继群组的接口; 上述的中继排序模块具有, 基 于源节点及目标节点的地址或所属群组信息、 以及候选中继节点列表, 查 询候选中继节点的优先级的接口。  In an actual application, the foregoing relay selection module has an interface for querying a candidate relay group based on an address of the source node and the target node or the group information of the target node; the foregoing relay sorting module has an address based on the source node and the target node or The group information, the candidate relay node list, and the interface of the priority of the candidate relay node.

本发明的网络拓朴信息服务器同样具备以下功能: 从其他信息渠道, 如运营维护数据系统或路由器路由表等, 获取网络拓朴信息和运营商策略 信息, 并进行数据维护和更新。  The network topology information server of the present invention also has the following functions: Obtain network topology information and operator policy information from other information channels, such as an operation and maintenance data system or a router routing table, and perform data maintenance and update.

其中, 网络拓朴信息可以包含但不限于: 网络群组及其与各网络节点 地址的对应关系、 群组之间的路由开销、 网络节点的属性信息、 群组之间 的邻接关系、 群组间链路的信息、 以及网络中路由器的路由表和链路状态 信息等。 The network topology information may include, but is not limited to, a network group and a correspondence relationship with each network node address, a routing cost between the groups, attribute information of the network node, and a group The adjacency relationship, the information of the links between the groups, and the routing table and link state information of the routers in the network.

这里, 群组之间的路由开销可以是实际路由表中的开销、 时延、 带宽 等信息; 网络节点的属性信息可以包括网络节点的接入方式、 节点能力等 信息。  Here, the routing overhead between the groups may be information such as overhead, delay, bandwidth, etc. in the actual routing table; the attribute information of the network node may include information such as access mode and node capability of the network node.

其中, 运营商策略信息可以包含但不限于: 网络节点选择优先级、 网 络路径选择优先级、 节点黑白名单等信息。  The carrier policy information may include, but is not limited to, information such as a network node selection priority, a network path selection priority, and a node black and white list.

本发明的网络拓朴信息服务器同样可以具备实现以下功能的各功能 模块: 下载群组 ID和节点地址对应关系列表; 下载群组路由开销表; 给定 群组 ID查询对应的地址范围; 给定节点地址查询对应节点的属性信息, 包 括查询节点的对应群组 ID、 接入方式等等; 给定源节点群组 ID、 以及候选 群组 ID或候选节点的列表, 查询候选群组或候选节点的优先级; 查询服务 器能力等。  The network topology information server of the present invention may also have various functional modules for implementing the following functions: downloading a group ID and node address correspondence list; downloading a group routing cost table; giving a group ID query corresponding address range; The node address queries the attribute information of the corresponding node, including the corresponding group ID of the query node, the access mode, and the like; the given source node group ID, and the candidate group ID or the list of candidate nodes, the query candidate group or the candidate node Priority; query server capabilities, etc.

本发明还提供了一种实现中继选择的系统, 参照图 2所示, 该系统主 要包括: 中继管理实体和上述的网络拓朴信息服务器, 其中, 中继管理实 体, 用于在接收到中继服务请求端发出的中继服务请求后, 根据所述中继 服务请求、 以及所述中继排序模块得到的优先级信息, 对所述候选中继节 点列表进行筛选, 确定用于提供当前中继服务的候选中继节点; 和 /或, 用 于在接收到中继服务请求端发出的中继服务请求后, 根据所述中继服务请 求、 以及所述中继选择模块得到的候选中继群组列表, 通过解析自身保存 的中继节点信息, 得到所述候选中继节点列表。  The present invention also provides a system for implementing relay selection. Referring to FIG. 2, the system mainly includes: a relay management entity and the network topology information server, where the relay management entity is configured to receive After the relay service request from the relay service requesting end, the candidate relay node list is filtered according to the relay service request and the priority information obtained by the relay sorting module, and is determined to be used to provide current a candidate relay node of the relay service; and/or for receiving, after receiving the relay service request issued by the relay service requesting end, according to the relay service request, and the candidate obtained by the relay selection module Following the group list, the candidate relay node list is obtained by parsing the relay node information saved by itself.

其中, 所述候选中继节点列表由中继管理实体根据所述中继服务请求 端发出的中继服务请求, 通过解析自身保存的中继节点信息得到包含有用 于提供当前中继服务的候选中继节点的标识信息, 例如, 地址等信息, 该 候选中继节点列表可以是候选中继节点地址列表。 此外, 还可以包含各候 选中继节点的 ID、接入方式等节点属性信息、以及所属中继群组 ID等群组 信息。 The candidate relay node list is obtained by the relay management entity according to the relay service request sent by the relay service requesting end, and the candidate node for providing the current relay service is obtained by parsing the relay node information saved by itself. Following the identification information of the node, for example, the address, etc., the candidate relay node list may be a candidate relay node address list. In addition, you can also include various waits The node attribute information such as the ID of the relay node, the access method, and the group information such as the relay group ID to which the relay node belongs are selected.

这里, 所述中继管理实体所保存的中继节点信息, 可以包括: 中继节 点的在线状态信息、 负载信息、 所属群组信息、 中继接入方式等信息, 中 继节点信息可以由中继管理实体在中继节点启动登记时获取, 或者也可以 由中继节点定时上报给所述中继管理实体。  Here, the relay node information saved by the relay management entity may include: information about online status information, load information, belonging group information, and relay access mode of the relay node, and the relay node information may be The management entity acquires when the relay node initiates registration, or may also report the relay node to the relay management entity.

其中, 所述中继管理实体在接收到中继服务请求端发出的包含有源节 点及目的节点的地址的中继服务请求后, 还用于向所述中继选择模块发送 所述源节点及目标节点的地址或所属群组信息; 和 /或, 向所述中继排序模 块发送所述源节点及目标节点的地址或所属群组信息、 以及得到的候选中 继节点列表。  After receiving the relay service request that is sent by the relay service requesting end and including the address of the active node and the destination node, the relay management entity is further configured to send the source node to the relay selection module. And an address of the target node or the group information to which the target node is located; and/or, sending the address of the source node and the target node or the group information to the relay sorting module, and the obtained candidate relay node list.

这里, 中继管理实体, 还用于向所述中继选择模块发送用于指示候选 中继群组数量的信息。  Here, the relay management entity is further configured to send information indicating the number of candidate relay groups to the relay selection module.

其中, 所述系统还包括: 中继服务请求端, 用于向所述中继管理实体 发出包含有所述源节点及目标节点的地址的中继服务请求; 以及, 用于从 所述中继管理实体获取所述候选中继节点列表, 并向所述中继排序模块发 送所述源节点及目标节点的地址或所属群组信息、 以及所获取的候选中继 节点列表。  The system further includes: a relay service requesting end, configured to send, to the relay management entity, a relay service request including an address of the source node and a target node; and, for, from the relay The management entity acquires the candidate relay node list, and sends the address of the source node and the target node or the group information to the relay sorting module, and the obtained candidate relay node list.

这里, 所述中继管理实体, 还用于将所得到的候选中继节点列表发送 给所述中继服务请求端。  Here, the relay management entity is further configured to send the obtained candidate relay node list to the relay service requesting end.

这里, 所述中继服务请求端可以是当前中继服务的源节点、 或者代替 源节点发起中继服务请求的业务控制服务器、 或者用户终端; 所述中继管 理实体为单台中继管理服务器、 或多个分布式中继管理服务器共同组成的 系统; 所述网络拓朴信息服务器为单个网络拓朴信息服务单元, 或者由多 个分布式网络拓朴信息服务单元共同构成的系统。 在本发明中, 在接收到中继服务请求后, 中继管理实体同网络拓朴信 息服务器进行交互, 获取用于中继选择的拓朴信息, 对实际提供服务的中 继节点进行优选。 Here, the relay service requesting end may be a source node of the current relay service, or a service control server or a user terminal that initiates a relay service request instead of the source node; the relay management entity is a single relay management server, Or a system composed of a plurality of distributed relay management servers; the network topology information server is a single network topology information service unit, or a system composed of a plurality of distributed network topology information service units. In the present invention, after receiving the relay service request, the relay management entity interacts with the network topology information server to acquire topology information for relay selection, and optimizes the relay node that actually provides the service.

图 3是本发明的网络架构图, 其中, 网络拓朴信息服务器在原有网络 拓朴信息服务器的功能上进行了扩展。 中继管理实体负责接收中继服务请 求端的中继服务请求, 并管理一个或多个中继节点, 维护中继节点的状态 信息, 如中继节点是否上线、 是否过载等等。 网络拓朴信息服务器不负责 维护相关的中继节点信息。 当网络拓朴信息服务器用于中继选择时, 中继 管理实体作为拓朴信息客户端连接网络拓朴信息服务器获取中继选择相关 的拓朴信息。 同时, 网络拓朴信息服务器的原有功能仍然保留, 其他拓朴 信息客户端仍然可以使用原有协议接入网络拓朴信息服务器获取服务。  3 is a network architecture diagram of the present invention, wherein the network topology information server is extended in the function of the original network topology information server. The relay management entity is responsible for receiving the relay service request of the relay service requesting end, and managing one or more relay nodes, and maintaining the status information of the relay node, such as whether the relay node is online, whether it is overloaded, or the like. The network topology information server is not responsible for maintaining related relay node information. When the network topology information server is used for relay selection, the relay management entity connects to the network topology information server as a topology information client to obtain topology information related to the relay selection. At the same time, the original functions of the network topology information server are still retained, and other topology information clients can still access the network topology information server to obtain services by using the original protocol.

在本发明中, 网络拓朴信息服务器、 中继管理实体和中继服务请求端 都是逻辑实体, 在实际物理部署中可以和其他一个或两个逻辑实体合一设 置。 其中, 中继服务请求端可以是用户终端、 网络业务控制服务器或其它 网络实体。 当这些实体合一设置时, 具体的业务消息流程可以通过内部消 息实现。  In the present invention, the network topology information server, the relay management entity, and the relay service requesting end are all logical entities, and can be set in one and the other logical entities in an actual physical deployment. The relay service requesting end may be a user terminal, a network service control server, or other network entity. When these entities are set together, the specific business message flow can be implemented through internal messages.

在本发明中, 网络拓朴信息服务器可以是由集中式单服务器方式实现, 也可以由多个分布在不同地点的服务器通过分布式方式实现。  In the present invention, the network topology information server may be implemented by a centralized single server method, or may be implemented by a plurality of servers distributed in different locations in a distributed manner.

本发明中, 中继管理实体可以采用多种方式来通过上述的网络拓朴信 息服务器进行中继选择。 下面结合具体实施例, 详细说明通过本发明用于 实现中继选择的装置及系统, 实现中继选择的具体实现方式。  In the present invention, the relay management entity can perform relay selection through the network topology information server in a plurality of manners. The specific implementation manner of implementing relay selection by using the apparatus and system for implementing relay selection according to the present invention will be described in detail below with reference to specific embodiments.

另外, 基于上述的装置及系统, 本发明还提出了实现中继选择的方法, 其具体实现过程将通过下述的三个实施例做评细说明。  In addition, based on the foregoing apparatus and system, the present invention also proposes a method for implementing relay selection, and the specific implementation process will be described in detail by the following three embodiments.

实施例一  Embodiment 1

在本实施例中, 中继管理实体在收到中继服务请求端发送的中继服务 请求后, 首先通过网络拓朴信息服务器获取候选中继群组列表, 再在所获 取的候选中继群组列表中选择候选中继节点, 得到候选中继节点列表。 可 选的, 中继管理实体还可以通过网络拓朴信息服务器对候选中继节点进行 排序, 获得候选中继节点的优先级信息, 再根据候选中继节点的优先级信 息, 最终确定用于提供当前中继服务的中继节点。 In this embodiment, the relay management entity receives the relay service sent by the relay service requesting end. After the request, the candidate relay group list is first obtained through the network topology information server, and the candidate relay node is selected in the obtained candidate relay group list to obtain a candidate relay node list. Optionally, the relay management entity may further sort the candidate relay nodes by using the network topology information server, obtain priority information of the candidate relay node, and finally determine the priority information according to the priority information of the candidate relay node. The relay node of the current relay service.

本实施例中, 中继管理实体通过网络拓朴信息服务器完成中继选择的 过程, 参照图 4所示, 具体可以包括以下步驟:  In this embodiment, the process of the relay management entity completing the relay selection by using the network topology information server, as shown in FIG. 4, may specifically include the following steps:

步驟 401 , 中继服务请求端发送中继服务请求给中继管理实体,要求中 继管理实体分配中继。  Step 401: The relay service requesting end sends a relay service request to the relay management entity, and requests the relay management entity to allocate the relay.

这里, 所述中继服务请求中包含当前中继服务的源节点及目标节点的 地址、 业务信息、 以及其他中继请求必要的信息, 例如, 是否要求免费中 继节点等信息。  Here, the relay service request includes information of a source node and a destination node of the current relay service, service information, and other information necessary for the relay request, for example, whether or not a free relay node or the like is required.

这里, 中继服务请求端可以是发起中继服务的源网络节点、 或者代替 源节点发起中继服务请求的业务控制服务器、 或者用户终端, 或者是其他 实体。  Here, the relay service requesting end may be a source network node that initiates the relay service, or a service control server that initiates a relay service request instead of the source node, or a user terminal, or other entity.

这里, 中继管理实体可以是单台管理服务器, 也可以是多个分布式管 理服务器共同组成的管理系统。  Here, the relay management entity may be a single management server or a management system composed of a plurality of distributed management servers.

步驟 402 , 中继管理实体作为网络拓朴信息服务器的拓朴信息客户端, 向网络拓朴信息服务器发送候选中继群组请求, 请求网络拓朴信息服务器 返回能够用于提供当前中继服务的候选中继群组列表。  Step 402: The relay management entity, as a topology information client of the network topology information server, sends a candidate relay group request to the network topology information server, requesting the network topology information server to return a current relay service that can be used to provide the current relay service. A list of candidate relay groups.

这里, 中继群组为分布在一定网络区域内的一个或多个中继节点, 中 继群组的设置可以由运营商来确定。  Here, the relay group is one or more relay nodes distributed in a certain network area, and the setting of the relay group can be determined by the operator.

这里, 所述中继管理实体发送的候选中继群组请求中包含有源节点及 目标节点的地址或所属群组信息、 需要的候选中继群组数量、 以及其他中 继选择必要的信息, 例如, 由中继免费信息推导出的中继群组选择黑名单 等信息。 Here, the candidate relay group request sent by the relay management entity includes the address of the active node and the target node or the group information, the number of candidate relay groups required, and other information necessary for relay selection. For example, a relay group selection blacklist derived from relay free information And other information.

这里的所属群组信息具体可以是所属群组 ID。  The belonging group information here may specifically be the belonging group ID.

具体地, 中继管理实体可以在要发送的中继请求中直接填写中继服务 的源节点及目的节点的地址; 或者, 也可以在填写源节点及目标节点的地 址后, 根据源节点及目标节点的地址与其所属群组 ID的对应关系, 将源节 点及目标节点的地址转换为源节点及目标节点的所属群组 ID, 从而可以在 要发送的请求中包含源节点及目标节点的所属节点群组 ID。  Specifically, the relay management entity may directly fill in the address of the source node and the destination node of the relay service in the relay request to be sent; or, after filling in the address of the source node and the target node, according to the source node and the target The correspondence between the address of the node and the group ID of the node, and the address of the source node and the target node are converted into the group ID of the source node and the target node, so that the source node and the node to which the target node belongs can be included in the request to be sent. Group ID.

这里, 如果中继管理实体自身没有保存源节点及目标节点的地址与其 所属群组 ID的对应关系, 可选地, 在本步驟前, 中继管理实体可以向网络 拓朴信息服务器查询并获取源节点及目标节点的地址与其所属群组 ID的对 应关系。  Here, if the relay management entity does not save the correspondence between the source node and the address of the target node and the group ID to which it belongs, optionally, before this step, the relay management entity may query and obtain the source from the network topology information server. The correspondence between the address of the node and the target node and the group ID to which it belongs.

步驟 403 , 网络拓朴信息服务器根据所述候选中继群组请求, 通过解析 自身保存的网络拓 4卜信息和运营商策略信息, 从当前网络中的中继群组中 选择候选中继群组, 得到候选中继群组列表, 并返回给中继管理实体。  Step 403: The network topology information server selects a candidate relay group from the relay group in the current network by parsing the network topology information and the operator policy information saved by the network topology information request according to the candidate relay group request. , obtain a candidate relay group list, and return to the relay management entity.

这里, 通过解析所保存的网络拓朴信息和运营商策略信息, 选择候选 中继群组的过程中, 网络拓朴信息服务器具体所采用的选择算法可以依据 运营商的具体策略来定。 此过程为现有技术, 在此不再赘述。  Here, in the process of selecting the candidate relay group by parsing the saved network topology information and the operator policy information, the selection algorithm specifically adopted by the network topology information server may be determined according to the specific strategy of the operator. This process is prior art and will not be described here.

例如, 网络拓朴信息服务器可以首先通过解析自身保存的网络拓朴信 息和运营商策略信息, 按照地域范围选择出候选中继群组, 然后根据所述 运营商策略信息中的路由开销表, 计算从通信双方所属群组经过各候选中 继群组建立通信路径的路由开销, 最后选择路由开销小于某一阈值、 或路 由开销最小的一个或多个中继群组, 由该一个或多个中继群组的信息得到 所述候选中继群组列表。  For example, the network topology information server may first select a candidate relay group according to the geographical scope by parsing the network topology information and the operator policy information saved by itself, and then calculate according to the routing cost table in the operator policy information. The routing overhead of establishing a communication path from each group of the communication partner groups through each candidate relay group, and finally selecting one or more relay groups whose routing overhead is less than a certain threshold or having the smallest routing overhead, by the one or more The candidate relay group list is obtained following the information of the group.

这里, 所述候选中继群组列表中包含有各候选中继群组的标识信息, 如候选中继群组 ID等, 此外, 还可以包含各候选中继群组的优先级信息, 或包含是否需要对各中继群组中的各中继节点进行再排序的指示信息。 其中, 所述候选中继群组列表中候选中继群组的数量可以由中继管理 实体指定, 或者由网络拓朴信息服务器根据运营商策略确定。 例如, 运营 商策略中可以预先规定每次返回多少个群组, 或者按照实际计算结果决定 返回的群组数量。 Here, the candidate relay group list includes identification information of each candidate relay group, such as a candidate relay group ID, and the like, and may further include priority information of each candidate relay group. Or include indication information as to whether reordering of each relay node in each relay group is required. The number of candidate relay groups in the candidate relay group list may be specified by the relay management entity or determined by the network topology information server according to the operator policy. For example, the operator policy may pre-determine how many groups are returned each time, or determine the number of groups returned according to actual calculation results.

如果所述网络拓朴信息服务器是由多个分布式服务单元构成的, 网络 拓朴信息服务器中的各分布式服务器之间可以通过内部消息交互, 共享网 络拓朴信息和运营商策略信息的方式来共同完成上述的中继群组选择, 也 可以通过传递中继群组选择中间结果的方式, 共同完成中继群组选择, 即 网络拓朴信息服务器之间互相传递群组与开销信息, 或者由一个网络拓朴 信息服务器进行初步选择。  If the network topology information server is composed of a plurality of distributed service units, the distributed information between the distributed servers in the network topology information server can be shared by internal messages, and the network topology information and the operator policy information are shared. To complete the above-mentioned relay group selection together, it is also possible to complete the relay group selection by transmitting the intermediate result of the relay group, that is, the network topology information server transmits the group and the overhead information to each other, or A preliminary selection is made by a network topology information server.

步驟 404,中继管理实体从所述网络拓朴信息服务器获取到所述候选中 继群组列表之后, 根据该候选中继群组列表, 通过解析自身保存的中继节 点信息, 选择候选中继节点, 得到所述候选中继节点列表。  Step 404: After obtaining the candidate relay group list from the network topology information server, the relay management entity selects candidate relays by parsing the saved relay node information according to the candidate relay group list. The node obtains the list of candidate relay nodes.

其中, 候选中继节点列表中包含各候选中继节点的标识信息, 如候选 中继节点的地址信息等, 候选中继节点列表具体可以是候选中继节点的地 址列表。 此外, 还可以包含中继节点的 ID、 接入方式等节点属性信息、 以 及所属中继群组信息等。  The candidate relay node list includes identification information of each candidate relay node, such as address information of the candidate relay node, and the candidate relay node list may specifically be an address list of the candidate relay node. In addition, the node attribute information such as the ID of the relay node, the access method, and the associated relay group information may be included.

这里的所属群组信息具体可以是所属群组 ID。  The belonging group information here may specifically be the belonging group ID.

其中, 对于中继节点信息中所属群组信息, 中继管理实体可以通过向 网络拓朴信息服务器查询获得, 或者从网络拓朴信息服务器中下载中继节 点所属群组信息与自身地址的对应关系信息, 再根据中继节点的地址得到 其所属群组信息。  The relay management entity may obtain the information about the group information in the relay node information by querying the network topology information server, or download the correspondence between the group information of the relay node and the own address from the network topology information server. The information is then obtained according to the address of the relay node.

步驟 405 ,如果需要对候选中继节点进行排序, 则中继管理实体可以向 网络拓朴信息服务器发送中继节点排序请求, 请求所述网络拓朴信息服务 器对所述候选中继节点进行排序。 Step 405: If the candidate relay nodes need to be sorted, the relay management entity may send a relay node sorting request to the network topology information server, requesting the network topology information service. The candidate sorts the candidate relay nodes.

其中, 所述中继节点排序请求中包含有源节点及目标节点的地址或所 属群组信息、 以及得到的候选中继节点列表。  The relay node sorting request includes an address of the active node and the target node or belonging group information, and a obtained candidate relay node list.

这里, 中继节点排序请求中包含的所属群组信息具体为所属群组 ID。 具体地, 在中继管理实体得到的候选中继节点数量较多时, 或者网络 拓朴信息服务器返回的候选中继群组列表中指明要对中继节点进行排序 时, 则需要对候选中继节点进行排序, 执行步驟 405-407, 否则, 可以不执 行步驟 405-407。  Here, the belonging group information included in the relay node sorting request is specifically the belonging group ID. Specifically, when the number of candidate relay nodes obtained by the relay management entity is large, or when the candidate relay group list returned by the network topology information server indicates that the relay node is to be sorted, the candidate relay node is needed. Sorting is performed, steps 405-407 are performed, otherwise steps 405-407 may not be performed.

这里, 中继管理实体可以在所述候选中继节点列表中候选中继节点的 数量超过某一个预先设定的阈值时, 请求网络拓朴信息服务器对中继节点 进行排序。 步驟 406, 网络拓朴信息服务器根据中继节点排序请求, 解析自 身的网络拓朴信息和运营商策略信息, 对所述候选中继节点列表中的候选 中继节点进行排序, 得到各候选中继节点的优先级信息, 并将得到的候选 中继节点优先级信息返回给中继管理实体。  Here, the relay management entity may request the network topology information server to sort the relay nodes when the number of candidate relay nodes in the candidate relay node list exceeds a certain preset threshold. Step 406: The network topology information server parses the network topology information and the operator policy information according to the relay node ranking request, and sorts the candidate relay nodes in the candidate relay node list to obtain candidate relays. The priority information of the node, and the obtained candidate relay node priority information is returned to the relay management entity.

这里, 网络拓朴信息服务器解析自身的网络拓朴信息和运营商策略信 息, 对候选中继节点进行排序的过程, 具体可以是: 网络拓朴信息服务器 解析出中继节点的地理位置、 接入方式、 或运营商策略信息中的黑白名单, 再根据解析出的这些信息对中继节点进行排序。  Here, the network topology information server parses the network topology information and the operator policy information, and the process of sorting the candidate relay nodes may be: the network topology information server parses the geographical location and access of the relay node. The blacklist and whitelist in the mode, or the carrier policy information, and then sort the relay nodes according to the parsed information.

例如, 网络拓朴信息服务器可以优选某些特定地理位置的中继节点、 或者某种特定接入方式的中继节点、 或者优选由运营商策略中黑白名单指 明的中继节点, 作为优先级高的中继节点。  For example, the network topology information server may prefer a relay node of a certain geographical location, or a relay node of a certain access mode, or a relay node preferably indicated by a black and white list in the operator policy, as a high priority. Relay node.

步驟 407,中继管理实体根据网络拓朴信息服务器返回的候选中继节点 优先级信息, 通过解析自身保存的候选中继节点信息, 对所述候选中继节 点列表中各候选中继节点再进行筛选, 确定用于提供当前中继服务的中继 节点并进行中继资源预留。 这里, 所确定为中继服务请求端提供中继服务的中继节点可以是一个, 也可以是多个。 Step 407: The relay management entity re-sends each candidate relay node in the candidate relay node list by parsing the candidate relay node information saved by the network according to the candidate relay node priority information returned by the network topology information server. Filter, determine the relay node used to provide the current relay service and perform relay resource reservation. Here, the relay node determined to provide the relay service requester with the relay service may be one or more.

例如, 中继管理实体可以直接选取优先级最高的数个中继节点来负责 当前中继服务, 或者可以通过对优先级较高的中继节点进行实际测量后再 选取质量较好的中继节点负责当前中继服务。  For example, the relay management entity may directly select the plurality of relay nodes with the highest priority to be responsible for the current relay service, or may select the relay node with better quality by performing actual measurement on the relay node with higher priority. Responsible for the current relay service.

本实施例中, 中继管理实体最终确定由中继节点 A为通信双方提供中 继服务, 并通过与中继节点 A交互完成上述的中继资源预留。  In this embodiment, the relay management entity finally determines that the relay node A provides the relay service for the communication parties, and completes the foregoing relay resource reservation by interacting with the relay node A.

步驟 408 ,中继管理实体将得到的候选中继节点列表中各候选中继节点 的信息、 或确定用于提供当前中继服务的中继节点的信息返回给中继服务 请求端。  Step 408: The relay management entity returns the information of each candidate relay node in the obtained candidate relay node list or the information of the relay node that is used to provide the current relay service to the relay service requesting end.

本实施例中, 步驟 405-407为可选步驟, 可以根据实际需要, 执行或不 执行。  In this embodiment, the steps 405-407 are optional steps, and may or may not be performed according to actual needs.

这里, 如果不执行步驟 405-407, 则在步驟 408中, 中继管理实体可以 将候选中继节点列表中各中继节点的信息都返回给中继服务请求端, 通过 候选中继节点列表中的任意一个或多个中继节点提供当前中继服务; 如果 执行步驟 405-407, 中继管理实体可以在步驟 408中将所确定提供中继服务 的中继节点的信息返回给中继服务请求端, 通过所确定的中继节点为源节 点及目标节点提供中继服务。  Here, if steps 405-407 are not performed, in step 408, the relay management entity may return information of each relay node in the candidate relay node list to the relay service requesting end, through the candidate relay node list. Any one or more relay nodes provide current relay service; if steps 405-407 are performed, the relay management entity may return information of the relay node determined to provide the relay service to the relay service request in step 408 End, providing relay services for the source node and the target node through the determined relay node.

本实施例中的中继选择流程还可以包括: 中继管理实体可以选择对候 选中继节点列表中的部分中继节点进行服务质量测量, 确定各中继节点最 终的服务质量, 并根据所确定的服务质量, 对所述候选中继节点列表再进 行筛选。 该步驟可以处于步驟 404中, 可以与步驟 405或步驟 406同时进 行, 还可以在步驟 406与步驟 407之间进行。  The relay selection process in this embodiment may further include: the relay management entity may select to perform quality of service measurement on a part of the relay nodes in the candidate relay node list, determine a final service quality of each relay node, and determine according to the determined Quality of service, filtering the candidate relay node list again. This step may be in step 404, may be performed simultaneously with step 405 or step 406, and may also be performed between step 406 and step 407.

本实施例中, 步驟 404 中还可以包括: 中继管理实体判断从所述候选 中继群组列表中选出的各候选中继节点是否均无效, 如果是, 则返回步驟 402, 再次发起候选中继群组请求, 此时的候选中继群组请求加大所指定的 候选中继群组数量、 或指明上次返回的候选中继群组列表无效, 要求所述 网络拓朴信息服务器再次反馈候选中继群组列表, 并在网络拓朴信息服务 器再次反馈的候选中继群组列表中选出候选中继节点, 得到候选中继节点 列表; 否则, 中继管理实体根据所述网络拓朴信息服务器返回的候选中继 群组列表, 通过解析自身保存的中继节点信息, 选择候选中继节点, 得到 候选中继节点列表。 In this embodiment, the step 404 may further include: the relay management entity determining whether each candidate relay node selected from the candidate relay group list is invalid, and if yes, returning to the step 402. The candidate relay group request is initiated again, where the candidate relay group request increases the number of the designated candidate relay groups, or indicates that the last returned candidate relay group list is invalid, and the network is requested. The topology information server feeds back the candidate relay group list again, and selects the candidate relay node in the candidate relay group list fed back by the network topology information server to obtain the candidate relay node list; otherwise, the relay management entity According to the candidate relay group list returned by the network topology information server, the candidate relay node is selected by parsing the relay node information saved by itself, and the candidate relay node list is obtained.

这里, 候选中继节点是否有效, 可以由中继管理实体根据自身保存的 中继节点信息来判断, 例如, 判断所述中继节点是否在线、 和 /或负载是否 过重、 和 /或接入方式是否能够得到请求中继服务的通信双方支持等。  Here, whether the candidate relay node is valid may be determined by the relay management entity according to the relay node information saved by itself, for example, determining whether the relay node is online, and/or whether the load is too heavy, and/or access. Whether the mode can be supported by both parties of the communication requesting the relay service.

实施例二  Embodiment 2

在本实施例中, 中继管理实体在收到中继服务请求端发送的中继服务 请求后, 首先解析自身的中继节点信息, 选出候选中继节点, 再通过网络 拓朴信息服务器获取候选中继节点的优先级信息, 可选地, 最后, 再根据 获取的候选中继节点优先级信息, 确定用于提供中继服务的中继节点。  In this embodiment, after receiving the relay service request sent by the relay service requesting end, the relay management entity first parses its own relay node information, selects a candidate relay node, and obtains through the network topology information server. The priority information of the candidate relay node, and optionally, finally, the relay node for providing the relay service is determined according to the obtained candidate relay node priority information.

本实施例中, 中继管理实体通过网络拓朴信息服务器完成中继选择的 过程, 参照图 5所示, 具体可以包括以下步驟:  In this embodiment, the process of the relay management entity completing the relay selection by using the network topology information server, as shown in FIG. 5, may specifically include the following steps:

步驟 501 , 与步驟 401完全相同;  Step 501 is exactly the same as step 401;

步驟 502 , 中继管理实体通过解析自身保存的中继节点信息, 选择候选 中继节点, 得到候选中继节点列表, 并作为网络拓朴信息服务器的拓朴信 息客户端, 向网络拓朴信息服务器发送中继节点排序请求。  Step 502: The relay management entity selects the candidate relay node by parsing the information of the relay node saved by itself, obtains the candidate relay node list, and serves as the topology information client of the network topology information server to the network topology information server. Send a relay node sort request.

这里, 中继管理实体根据当前中继服务的源节点及目标节点的地址, 通过解析自身保存的中继节点信息, 选择候选中继节点, 得到候选中继节 点列表的过程, 与上述实施例一中步驟 404 中选择候选中继节点的过程基 本相同, 所不同的是, 本实施例中中继管理实体在自身管理的所有中继节 点中选择候选中继节点, 而实施例一中中继管理实体在所述候选中继群组 列表中的、 且由自身管理的中继节点中选择候选中继节点。 Here, the relay management entity selects the candidate relay node by analyzing the information of the source node and the target node of the current relay service, and selects the candidate relay node to obtain the candidate relay node list, which is the same as the above embodiment. The process of selecting the candidate relay node in step 404 is basically the same, except that all the relay sections managed by the relay management entity in this embodiment are different. The candidate relay node is selected from the points, and the relay management entity in the first embodiment selects the candidate relay node among the relay node managed by the relay management group in the candidate relay group list.

这里, 中继管理实体可以根据中继节点信息、 以及中继服务请求中包 含的源节点及目标节点的地址、 以及业务信息, 进行候选中继节点的选择。  Here, the relay management entity may perform selection of the candidate relay node based on the relay node information, the address of the source node and the target node included in the relay service request, and the service information.

这里, 所选择的候选中继节点可以是所述中继管理实体管理的、 所有 能够用于提供当前中继服务的中继节点, 也可以是所述中继管理实体管理 的、 所有能够用于提供当前中继服务的中继节点中的部分中继节点。  Here, the selected candidate relay node may be a relay node managed by the relay management entity, which can be used to provide a current relay service, or all managed by the relay management entity, which can be used for all Provides some of the relay nodes in the relay node of the current relay service.

例如, 在能够用于提供当前中继服务的中继节点数量超过所设定的阈 值时, 中继管理实体可以从所述能够提供中继服务的中继节点中, 采用轮 询 (依次轮流选择不同中继节点)或者随机选择等方式选择部分作为候选 中继节点。  For example, when the number of relay nodes that can be used to provide the current relay service exceeds the set threshold, the relay management entity may use polling from the relay nodes capable of providing the relay service (sequentially selecting in turn) The different relay nodes) or the random selection method selects a part as a candidate relay node.

这里, 候选中继节点列表中包含各候选中继节点的标识信息, 如候选 中继节点的地址信息等, 候选中继节点列表具体可以是候选中继节点的地 址列表。 此外, 还可以包含中继节点的 ID、 接入方式等节点属性信息、 以 及所属中继群组信息等。  Here, the candidate relay node list includes identification information of each candidate relay node, such as address information of the candidate relay node, and the candidate relay node list may specifically be an address list of the candidate relay node. In addition, the node attribute information such as the ID of the relay node, the access method, and the associated relay group information may be included.

这里, 中继节点排序请求可以包含所得到的候选中继节点列表、 以及 所述源节点及目标节点的地址或所属群组信息。  Here, the relay node sorting request may include the obtained candidate relay node list, and the address or belonging group information of the source node and the target node.

其中, 所述源节点及目标节点的所属群组信息可以由中继管理实体查 询网络拓朴信息服务器获得, 或者从网络拓朴信息服务器下载源节点及目 标节点的所属群组信息与其地址的对应关系, 再根据源节点及目标节点的 地址得到。  The group information of the source node and the target node may be obtained by querying the network topology information server by the relay management entity, or downloading the correspondence between the source node and the group information of the target node and the address thereof from the network topology information server. The relationship is obtained based on the address of the source node and the target node.

这里的群组信息具体可以是群组 ID。  The group information here may specifically be a group ID.

步驟 503 , 与步驟 406相同, 所不同的是, 在本实施例中, 网络拓朴信 息服务器还可以直接将所述候选中继节点列表、 以及得到的候选中继节点 优先级信息返回给中继服务请求端。 步驟 504 , 与步驟 407完全相同。 Step 503 is the same as step 406. The difference is that, in this embodiment, the network topology information server may directly return the candidate relay node list and the obtained candidate relay node priority information to the relay. Service requester. Step 504 is exactly the same as step 407.

在本实施例中, 步驟 504为可选步驟, 可以根据实际需要, 执行或不 执行。  In this embodiment, step 504 is an optional step, which may or may not be performed according to actual needs.

步驟 505 , 与步驟 408相同, 所不同的是, 如果不执行步驟 504, 中继 管理实体还将通过网络拓朴信息服务器得到的候选中继节点的优先级信息 返回给中继服务请求端。  Step 505 is the same as step 408. The difference is that if step 504 is not performed, the relay management entity returns the priority information of the candidate relay node obtained through the network topology information server to the relay service requesting end.

本实施例中的中继选择流程还可以包括: 中继管理实体可以选择对候 选中继节点列表中的部分中继节点进行服务质量测量, 确定各中继节点最 终的服务质量, 并根据所确定的服务质量, 对所述候选中继节点列表再进 行筛选。 该步驟可以处于步驟 502之前, 可以与步驟 502或步驟 503同时 进行, 还可以在步驟 503与步驟 504之间进行。  The relay selection process in this embodiment may further include: the relay management entity may select to perform quality of service measurement on a part of the relay nodes in the candidate relay node list, determine a final service quality of each relay node, and determine according to the determined Quality of service, filtering the candidate relay node list again. This step may be before step 502, may be performed simultaneously with step 502 or step 503, and may also be performed between step 503 and step 504.

实施例三  Embodiment 3

在本实施例中, 中继管理实体在收到中继服务请求端发送的中继服务 请求后, 解析自身的中继节点信息, 选出候选中继节点, 得到候选中继节 点列表, 并将候选中继节点列表及各候选中继节点的信息返回给中继服务 请求端; 中继服务请求端通过网络拓朴信息服务器获取所述候选中继节点 列表中各候选中继节点的优先级信息。  In this embodiment, after receiving the relay service request sent by the relay service requesting end, the relay management entity parses its own relay node information, selects a candidate relay node, obtains a list of candidate relay nodes, and The candidate relay node list and the information of each candidate relay node are returned to the relay service requesting end; the relay service requesting end obtains the priority information of each candidate relay node in the candidate relay node list through the network topology information server. .

具体地, 中继管理实体在收到中继服务请求端发送的中继服务请求后, 首先解析自身的中继节点信息, 得到候选中继节点列表, 并将候选中继节 点列表及各候选中继节点的信息发送给中继服务请求端; 然后, 中继服务 请求端请求网络拓朴信息服务器对候选中继节点进行排序, 之后, 网络拓 朴信息服务器直接将候选中继节点的优先级信息返回给中继服务请求端。  Specifically, after receiving the relay service request sent by the relay service requesting end, the relay management entity first parses its own relay node information, obtains a list of candidate relay nodes, and lists the candidate relay nodes and each candidate. The information of the node is sent to the relay service requesting end; then, the relay service requesting end requests the network topology information server to sort the candidate relay nodes, and then the network topology information server directly sets the priority information of the candidate relay node. Return to the relay service requester.

本实施例中, 中继管理实体通过网络拓朴信息服务器进行中继选择的 过程, 具体可以包括以下步驟:  In this embodiment, the process of the relay management entity performing the relay selection by using the network topology information server may specifically include the following steps:

步驟 601 , 与步驟 401完全相同; 步驟 602 , 中继管理实体解析自身保存的中继节点信息, 为当前中继服 务选择候选中继节点, 得到候选中继节点列表, 并将得到的候选中继节点 列表、 以及各候选中继节点的信息发送给中继服务请求端。 Step 601 is exactly the same as step 401; Step 602: The relay management entity parses the relay node information saved by itself, selects a candidate relay node for the current relay service, obtains a candidate relay node list, and obtains a list of candidate relay nodes and each candidate relay node. The information is sent to the relay service requester.

步驟 603 , 中继服务请求端作为网络拓朴信息服务器的拓朴信息客户 端, 向网络拓朴信息服务器发送中继节点排序请求, 请求网络拓朴信息服 务器对候选中继节点进行排序。  Step 603: The relay service requesting end serves as a topology information client of the network topology information server, and sends a relay node sorting request to the network topology information server, requesting the network topology information server to sort the candidate relay nodes.

这里, 所述中继节点排序请求中包含了所述候选中继节点列表、 源节 点及目标节点的地址或所属群组信息等。  Here, the relay node sorting request includes the candidate relay node list, the source node and the address of the target node or the group information, and the like.

这里, 所述源节点及目标节点的所属群组信息, 由中继服务请求端通 过中继管理服务器查询网络拓朴信息服务器获得, 或者通过中继管理服务 器从网络拓朴信息服务器下载源节点及目标节点的所属群组信息与其地址 的对应关系, 再根据自身及对端的地址获得。  Here, the group information of the source node and the target node is obtained by the relay service requesting end by querying the network topology information server by the relay management server, or downloading the source node from the network topology information server by using the relay management server. The correspondence between the group information of the target node and its address is obtained according to the address of itself and the peer.

步驟 604, 与步驟 406相同, 所不同的是, 网络拓朴信息服务器将得到 的候选中继节点优先级信息直接返回给中继服务请求端。  Step 604 is the same as step 406. The difference is that the network topology information server directly returns the obtained candidate relay node priority information to the relay service requesting end.

步驟 605 , 中继服务请求端根据所述候选中继节点列表、 以及候选中继 节点的优先级信息, 对所述候选中继节点列表中的各候选中继节点再进行 筛选, 确定用于提供中继服务的中继节点, 并进行后续的中继服务操作。  Step 605: The relay service requesting end performs screening on each candidate relay node in the candidate relay node list according to the candidate relay node list and the priority information of the candidate relay node, and determines to provide The relay node of the relay service, and performs subsequent relay service operations.

这里, 中继服务请求端确定由中继节点 A提供当前中继服务, 并通过 与中继节点 A的后续交互, 预留中继资源、 以及建立中继连接等。  Here, the relay service requesting end determines that the current relay service is provided by the relay node A, and through the subsequent interaction with the relay node A, reserves the relay resources, and establishes a relay connection or the like.

需要说明的是, 本发明中源节点和目的节点是指使用中继服务、 利用 中继节点进行通信的节点。 所述当前中继服务的源节点及目标节点的地址 是指会话的源节点及目标节点的地址。  It should be noted that, in the present invention, the source node and the destination node refer to nodes that use the relay service to communicate using the relay node. The address of the source node and the target node of the current relay service refers to the address of the source node and the target node of the session.

以上所述, 仅为本发明的较佳实施例而已, 并非用于限定本发明的保 护范围, 凡在本发明的精神和原则之内所作的任何修改、 等同替换和改进 等, 均应包含在本发明的保护范围之内。  The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included. Within the scope of protection of the present invention.

Claims

权利要求书  Claim 1、 一种用于实现中继选择的网络拓朴信息服务器, 该网络拓朴信息服 务器保存有网络拓朴信息和运营商策略信息, 其特征在于, 所述网络拓朴 信息服务器包括: 中继服务单元, 该中继服务单元包含有中继选择模块和 / 或中继排序模块, 其中,  A network topology information server for implementing relay selection, the network topology information server storing network topology information and operator policy information, wherein the network topology information server comprises: a relay a service unit, the relay service unit includes a relay selection module and/or a relay sequencing module, where 中继选择模块, 用于通过解析所述网络拓朴信息和运营商策略信息, 根据中继服务的源节点及目标节点的地址或所属群组信息, 选择用于提供 所述中继服务的候选中继群组, 得到候选中继群组列表;  a relay selection module, configured to select a candidate for providing the relay service according to the source node of the relay service and the address of the target node or the group information of the relay service by parsing the network topology information and the operator policy information Relay group, obtaining a candidate relay group list; 中继排序模块, 用于通过解析所述网络拓朴信息和运营商策略信息, 根据中继服务的源节点及目标节点的地址或所属群组信息、 以及用于提供 所述中继服务的候选中继节点列表, 对所述候选中继节点列表中的候选中 继节点进行排序, 得到各候选中继节点的优先级信息。  a relay sorting module, configured to parse the network topology information and the operator policy information, according to the address of the source node and the target node of the relay service or the group information, and the candidate for providing the relay service The relay node list sorts the candidate relay nodes in the candidate relay node list to obtain priority information of each candidate relay node. 2、 根据权利要求 1所述的用于实现中继选择的网络拓朴信息服务器, 其特征在于, 所述中继选择模块, 具有基于所述源节点及目标节点的地址 或所属群组信息查询候选中继群组的接口。  2. The network topology information server for implementing relay selection according to claim 1, wherein the relay selection module has an inquiry based on an address of the source node and the target node or a group information. The interface of the candidate relay group. 3、 根据权利要求 1或 2所述的用于实现中继选择的网络拓朴信息服务 器, 其特征在于, 所述中继选择模块, 还用于从中继管理实体获取所述源 节点及目标节点的地址或所属群组信息, 并将所得到的候选中继群组列表 返回给所述中继管理实体。  The network topology information server for implementing relay selection according to claim 1 or 2, wherein the relay selection module is further configured to acquire the source node and the target node from a relay management entity. Address or belonging group information, and return the obtained candidate relay group list to the relay management entity. 4、 根据权利要求 3所述的用于实现中继选择的网络拓朴信息服务器, 其特征在于, 所述中继选择模块, 还用于根据中继管理实体指示的候选中 继群组数量, 为所述中继服务选择候选中继群组, 得到所述候选中继群组 列表。  The network topology information server for implementing the relay selection according to claim 3, wherein the relay selection module is further configured to: according to the number of candidate relay groups indicated by the relay management entity, Selecting a candidate relay group for the relay service, and obtaining the candidate relay group list. 5、 根据权利要求 1所述的用于实现中继选择的网络拓朴信息服务器, 其特征在于, 所述中继排序模块, 具有基于所述源节点及目标节点的地址 或所属群组信息、 以及候选中继节点列表, 查询候选中继节点的优先级的 接口。 5. The network topology information server for implementing relay selection according to claim 1, wherein the relay ranking module has an address based on the source node and a target node. Or the associated group information, and the candidate relay node list, the interface of the priority of the candidate relay node. 6、 根据权利要求 1或 5所述的用于实现中继选择的网络拓朴信息服务 器, 其特征在于, 所述中继排序模块, 还用于从中继管理实体、 或中继服 务请求端获取所述源节点及目标节点的地址或所属群组信息、 以及候选中 继节点列表, 并将得到的各候选中继节点的优先级信息返回给所述中继管 理实体或中继服务请求端。  The network topology information server for implementing relay selection according to claim 1 or 5, wherein the relay ranking module is further configured to acquire from a relay management entity or a relay service requesting end. The address of the source node and the target node or the group information of the candidate node, and the candidate relay node list, and return the obtained priority information of each candidate relay node to the relay management entity or the relay service requesting end. 7、 一种用于实现中继选择的系统, 其特征在于, 所述系统包括: 中继 管理实体和网络拓朴信息服务器, 其中,  A system for implementing a relay selection, the system comprising: a relay management entity and a network topology information server, where 网络拓朴信息服务器保存有网络拓朴信息和运营商策略信息, 包括: 中继服务单元, 该中继服务单元包含有中继选择模块和 /或中继排序模块, 其中,  The network topology information server stores the network topology information and the operator policy information, including: a relay service unit, where the relay service unit includes a relay selection module and/or a relay sequencing module, where 中继选择模块, 用于通过解析所述网络拓朴信息和运营商策略信息, 根据中继服务的源节点及目标节点的地址或所属群组信息, 选择用于提供 所述中继服务的候选中继群组, 得到候选中继群组列表;  a relay selection module, configured to select a candidate for providing the relay service according to the source node of the relay service and the address of the target node or the group information of the relay service by parsing the network topology information and the operator policy information Relay group, obtaining a candidate relay group list; 中继排序模块, 用于通过解析所述网络拓朴信息和运营商策略信息, 根据中继服务的源节点及目标节点的地址或所属群组信息、 以及获取到的 用于提供中继服务的候选中继节点列表, 对所述候选中继节点列表中各候 选中继节点进行排序, 得到各候选中继节点的优先级信息;  a relay sorting module, configured to parse the network topology information and the operator policy information, according to the address of the source node and the target node of the relay service or the group information, and the obtained information for providing the relay service a candidate relay node list, sorting each candidate relay node in the candidate relay node list, and obtaining priority information of each candidate relay node; 中继管理实体, 用于在接收到中继服务请求端发出的中继服务请求后, 根据所述中继服务请求、 以及所述中继排序模块得到的优先级信息, 对所 述候选中继节点列表进行筛选, 确定用于提供当前中继服务的候选中继节 点; 和 /或, 用于在接收到中继服务请求端发出的中继服务请求后, 根据所 述中继服务请求、 以及所述中继选择模块得到的候选中继群组列表, 通过 解析自身保存的中继节点信息, 得到所述候选中继节点列表。 8、 根据权利要求 7所述的用于实现中继选择的系统, 其特征在于, 所 述中继管理实体, 还用于接收到中继服务请求端发出的包含有源节点及目 的节点的地址的中继服务请求后, a relay management entity, configured to: after receiving the relay service request sent by the relay service requesting end, according to the relay service request and the priority information obtained by the relay sorting module, the candidate relaying The node list is filtered to determine a candidate relay node for providing the current relay service; and/or, after receiving the relay service request issued by the relay service requesting end, according to the relay service request, and The candidate relay group list obtained by the relay selection module obtains the candidate relay node list by parsing the relay node information saved by itself. The system for implementing relay selection according to claim 7, wherein the relay management entity is further configured to receive an address of the active node and the destination node sent by the relay service requesting end. After the relay service request, 向所述中继选择模块发送所述源节点及目标节点的地址或所属群组信 息; 和 /或, 向所述中继排序模块发送所述源节点及目标节点的地址或所属 群组信息、 以及得到的候选中继节点列表。  Sending the address of the source node and the target node or the group information to the relay selection module; and/or transmitting the address of the source node and the target node or the group information to the relay sorting module, And a list of candidate relay nodes obtained. 9、 根据权利要求 8所述的用于实现中继选择的系统, 其特征在于, 所 述中继管理实体, 还用于向所述中继选择模块发送用于指示候选中继群组 数量的信息。  The system for implementing relay selection according to claim 8, wherein the relay management entity is further configured to send, to the relay selection module, a number indicating a candidate relay group. information. 10、 根据权利要求 7所述的用于实现中继选择的系统, 其特征在于, 所述系统还包括: 中继服务请求端, 用于向所述中继管理实体发出包含有 所述源节点及目标节点的地址的中继服务请求; 以及, 用于从所述中继管 理实体获取所述候选中继节点列表, 并向所述中继排序模块发送所述源节 点及目标节点的地址或所属群组信息、 以及所获取的候选中继节点列表; 所述中继管理实体, 还用于将所得到的候选中继节点列表发送给所述 中继服务请求端。  The system for implementing the relay selection according to claim 7, wherein the system further comprises: a relay service requesting end, configured to send the source node to the relay management entity And a relay service request of the address of the target node; and, configured to acquire the candidate relay node list from the relay management entity, and send the address of the source node and the target node to the relay sorting module or The group information and the obtained candidate relay node list; the relay management entity is further configured to send the obtained candidate relay node list to the relay service requesting end. 11、 根据权利要求 7至 10任一项所述的用于实现中继选择的系统, 其 特征在于, 所述中继服务请求端是当前中继服务的源节点、 或者代替源节 点发起中继服务请求的业务控制服务器、 或者用户终端。  The system for implementing relay selection according to any one of claims 7 to 10, wherein the relay service requesting end is a source node of a current relay service, or a relay is initiated instead of a source node. Service control server or user terminal for service request. 12、 根据权利要求 7至 10任一项所述的用于实现中继选择的系统, 其 特征在于, 所述中继管理实体为单台中继管理服务器、 或多个分布式中继 管理服务器共同组成的系统。  The system for implementing relay selection according to any one of claims 7 to 10, wherein the relay management entity is a single relay management server or a plurality of distributed relay management servers. The system consisting of. 13、 根据权利要求 7至 10任一项所述的用于实现中继选择的系统, 其 特征在于, 所述网络拓朴信息服务器为单个网络拓朴信息服务单元, 或者 由多个分布式网络拓朴信息服务单元共同构成的系统。 14、 一种实现中继选择的方法, 其特征在于, 所述方法包括: 中继管理实体在接收到中继服务请求端发送的、 包含有当前中继服务 的源节点及目标节点的地址的中继服务请求后, 根据所述中继服务请求, 从网络拓朴信息服务器获取候选中继群组列表, 在所获取的候选中继群组 列表中选择候选中继节点, 得到候选中继节点列表。 The system for implementing relay selection according to any one of claims 7 to 10, wherein the network topology information server is a single network topology information service unit, or is composed of multiple distributed networks. A system composed of topological information service units. A method for implementing a relay selection, the method comprising: the relay management entity receiving the address of the source node and the target node that are sent by the relay service requesting end and including the current relay service After the relay service request, the candidate relay group list is obtained from the network topology information server according to the relay service request, and the candidate relay node is selected in the obtained candidate relay group list to obtain the candidate relay node. List. 15、 根据权利要求 14所述实现中继选择的方法, 其特征在于, 所述当 前中继服务的源节点及目标节点的地址是指会话的源节点及目标节点的地 址。  The method for implementing relay selection according to claim 14, wherein the source node and the address of the target node of the current relay service refer to the source node of the session and the address of the target node. 16、 根据权利要求 14所述实现中继选择的方法, 其特征在于, 所述从 网络拓朴信息服务器获取候选中继群组列表, 包括:  The method for implementing the relay selection according to claim 14, wherein the obtaining the candidate relay group list from the network topology information server includes: 所述中继管理实体向所述网络拓朴信息服务器发送包含有当前中继服 务的源节点及目标节点的地址或所属群组信息的候选中继群组请求;  Sending, by the relay management entity, a candidate relay group request that includes an address of the source node and the target node of the current relay service or the group information to the network topology information server; 所述网络拓朴信息服务器根据所述候选中继群组请求, 通过解析自身 保存的网络拓 4卜信息和运营商策略信息, 从当前网络中的中继群组中选出 候选中继群组, 得到候选中继群组列表, 并返回给所述中继管理实体。  The network topology information server selects a candidate relay group from the relay group in the current network by parsing the network topology information and the operator policy information saved by the network topology information request according to the candidate relay group request. A candidate relay group list is obtained and returned to the relay management entity. 17、 根据权利要求 16所述实现中继选择的方法, 其特征在于, 所述候 选中继群组请求中还包括用于指示候选中继群组数量的信息。  The method for implementing relay selection according to claim 16, wherein the candidate relay group request further includes information for indicating the number of candidate relay groups. 18、 根据权利要求 14所述实现中继选择的方法, 其特征在于, 所述中 继管理实体在所获取的候选中继群组列表中选择候选中继节点, 得到候选 中继节点列表, 包括:  The method for implementing the relay selection according to claim 14, wherein the relay management entity selects a candidate relay node in the obtained candidate relay group list, and obtains a candidate relay node list, including : 所述中继管理实体根据所述中继服务请求、 以及从所述网络拓朴信息 服务器获取到的候选中继群组列表, 通过解析自身保存的中继节点信息, 选出候选中继节点, 得到所述候选中继节点列表。  The relay management entity selects a candidate relay node by parsing the relay node information saved by the relay service request and the candidate relay group list obtained from the network topology information server, The candidate relay node list is obtained. 19、 根据权利要求 18所述实现中继选择的方法, 其特征在于, 所述中 继管理实体在所获取的候选中继群组列表中选择候选中继节点, 得到候选 中继节点列表, 还包括: The method for implementing relay selection according to claim 18, wherein the relay management entity selects a candidate relay node in the obtained candidate relay group list to obtain a candidate. The list of relay nodes also includes: 所述中继管理实体判断从所述候选中继群组列表中选出的各候选中继 节点是否均无效; 如果是, 则再次发起候选中继群组请求, 要求所述网络 拓朴信息服务器再次反馈候选中继群组列表; 否则, 直接在所述候选中继 群组列表中选择候选中继节点, 得到候选中继节点列表。  Determining, by the relay management entity, whether each candidate relay node selected from the candidate relay group list is invalid; if yes, initiating a candidate relay group request again, requesting the network topology information server The candidate relay group list is fed back again; otherwise, the candidate relay node is directly selected in the candidate relay group list to obtain a candidate relay node list. 20、 根据权利要求 19所述实现中继选择的方法, 其特征在于, 所述再 次发起的候选中继群组请求加大所指定的候选中继群组数量、 或指明上次 返回的候选中继群组列表无效。  20. The method for implementing relay selection according to claim 19, wherein the re-initiated candidate relay group request increases the number of designated candidate relay groups, or indicates the last returned candidate. The group list is invalid. 21、 根据权利要求 14至 20任一项所述实现中继选择的方法, 其特征 在于, 在得到所述候选中继节点列表之后, 所述方法还包括:  The method for implementing the relay selection according to any one of claims 14 to 20, wherein after the obtaining the candidate relay node list, the method further includes: 所述中继管理服务器从网络拓朴信息服务器获取所述候选中继节点列 表中各候选中继节点的优先级信息。  The relay management server acquires priority information of each candidate relay node in the candidate relay node list from the network topology information server. 11、 根据权利要求 21所述实现中继选择的方法, 其特征在于, 所述中 继管理服务器从网络拓朴信息服务器获取各候选中继节点的优先级信息, 包括:  The method for implementing the relay selection according to claim 21, wherein the successor management server obtains the priority information of each candidate relay node from the network topology information server, including: 所述中继管理实体向所述网络拓朴信息服务器发送中继节点排序请 求, 请求所述网络拓朴信息服务器对所述候选中继节点列表中各候选中继 节点进行排序, 该中继节点排序请求中包含有源节点及目标节点的地址或 所属群组信息、 以及所得到的候选中继节点列表;  The relay management entity sends a relay node sorting request to the network topology information server, requesting the network topology information server to sort each candidate relay node in the candidate relay node list, and the relay node The sorting request includes an address of the active node and the target node or belonging group information, and a list of the obtained candidate relay nodes; 所述网络拓朴信息服务器根据所述中继节点排序请求, 解析自身的网 络拓 4卜信息和运营商策略信息, 对所述候选中继节点列表中各候选中继节 点进行排序, 得到各候选中继节点的优先级信息, 并将得到的优先级信息 返回给所述中继管理实体。  The network topology information server parses the network extension information and the operator policy information according to the relay node ranking request, and sorts each candidate relay node in the candidate relay node list to obtain each candidate. The priority information of the relay node is returned, and the obtained priority information is returned to the relay management entity. 23、 根据权利要求 21所述实现中继选择的方法, 其特征在于, 所述方 法还包括: 所述中继管理实体根据从所述网络拓朴信息服务器获取的所述优先级 信息, 通过解析自身保存的候选中继节点信息, 对所述候选中继节点列表 中各候选中继节点进行筛选, 确定用于提供当前中继服务的中继节点。 The method for implementing the relay selection according to claim 21, wherein the method further includes: The relay management entity filters each candidate relay node in the candidate relay node list by parsing the candidate relay node information saved by the network topology information server according to the priority information obtained from the network topology information server. , Determine the relay node that is used to provide the current relay service. 24、 一种实现中继选择的方法, 其特征在于, 所述方法包括: 中继管理实体接收到中继服务请求端发送的、 包含有当前中继服务的 源节点及目标节点的地址中继服务请求后, 解析自身的中继节点信息, 选 出候选中继节点, 得到候选中继节点列表;  A method for implementing a relay selection, the method comprising: the relay management entity receives an address relay of a source node and a target node that are sent by a relay service requesting end and includes a current relay service. After the service request, parsing the relay node information of itself, selecting the candidate relay node, and obtaining the candidate relay node list; 所述中继管理实体从网络拓朴信息服务器获取所述候选中继节点列表 中各候选中继节点的优先级信息, 并根据所获取的优先级信息, 对各候选 中继节点进行筛选, 确定用于提供当前中继服务的中继节点; 或者, 所述 中继管理实体将所得到的候选中继节点列表及各候选中继节点的信息返回 给所述中继服务请求端, 由所述中继服务请求端从网络拓朴信息服务器获 取所述候选中继节点列表中各候选中继节点的优先级信息, 根据所获取的 优先级信息, 对各候选中继节点进行筛选, 确定为用于提供当前中继服务 的中继节点。  The relay management entity acquires priority information of each candidate relay node in the candidate relay node list from the network topology information server, and filters each candidate relay node according to the obtained priority information, and determines a relay node for providing a current relay service; or the relay management entity returns the obtained candidate relay node list and information of each candidate relay node to the relay service requesting end, The relay service requesting end obtains the priority information of each candidate relay node in the candidate relay node list from the network topology information server, and performs screening on each candidate relay node according to the obtained priority information, and determines to use A relay node that provides the current relay service. 25、 根据权利要求 24所述实现中继选择的方法, 其特征在于, 所述通 过网络拓朴信息服务器获取候选中继节点的优先级信息 , 包括:  The method for implementing the relay selection according to claim 24, wherein the obtaining the priority information of the candidate relay node by using the network topology information server includes: 所述中继管理实体向所述网络拓朴信息服务器发送中继节点排序请 求, 请求所述网络拓朴信息服务器对所述候选中继节点列表中各候选中继 节点进行排序, 该中继节点排序请求中包含有所述源节点及目标节点的地 址或所属群组信息、 以及得到的候选中继节点列表;  The relay management entity sends a relay node sorting request to the network topology information server, requesting the network topology information server to sort each candidate relay node in the candidate relay node list, and the relay node The sorting request includes the address of the source node and the target node or the group information, and the obtained candidate relay node list; 所述网络拓朴信息服务器根据所述中继节点排序请求, 解析自身的网 络拓 4卜信息和运营商策略信息, 对所述候选中继节点列表中各候选中继节 点进行排序, 得到各候选中继节点的优先级信息; 并, 将得到的候选中继 节点优先级信息返回给所述中继管理实体, 或直接将所述候选中继节点列 表、 以及得到的优先级信息返回给所述中继服务请求端。 The network topology information server parses the network extension information and the operator policy information according to the relay node ranking request, and sorts each candidate relay node in the candidate relay node list to obtain each candidate. Priority information of the relay node; and returning the obtained candidate relay node priority information to the relay management entity, or directly selecting the candidate relay node The table, and the obtained priority information are returned to the relay service requester. 26、 根据权利要求 24所述实现中继选择的方法, 其特征在于, 所述中 继服务请求端从网络拓朴信息服务器获取各候选中继节点的优先级信息, 包括:  The method for implementing the relay selection according to claim 24, wherein the obtaining, by the service requesting end, the priority information of each candidate relay node from the network topology information server, includes: 中继服务请求端向网络拓朴信息服务器发送中继节点排序请求, 请求 网络拓朴信息服务器对候选中继节点列表中各候选中继节点进行排序, 该 中继节点排序请求中包含有所述源节点及目标节点的地址或所属群组信 息、 以及所述中继管理实体返回的候选中继节点列表;  The relay service requesting end sends a relay node sorting request to the network topology information server, and requests the network topology information server to sort each candidate relay node in the candidate relay node list, where the relay node sorting request includes the Address or belonging group information of the source node and the target node, and a list of candidate relay nodes returned by the relay management entity; 所述网络拓朴信息服务器根据所述中继节点排序请求, 解析自身的网 络拓 4卜信息和运营商策略信息, 对所述候选中继节点列表中的候选中继节 点进行排序, 得到各候选中继节点的优先级信息, 并将得到的优先级信息 返回给所述中继服务请求端。  The network topology information server parses the network extension information and the operator policy information according to the relay node ranking request, and sorts the candidate relay nodes in the candidate relay node list to obtain candidates. The priority information of the relay node is returned to the relay service requesting end.
PCT/CN2011/082136 2010-11-17 2011-11-14 Method, device, and system for implementing relay selection Ceased WO2012065531A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010547503.2 2010-11-17
CN201010547503.2A CN102469015B (en) 2010-11-17 2010-11-17 Realize method and device, the system of relay selection

Publications (1)

Publication Number Publication Date
WO2012065531A1 true WO2012065531A1 (en) 2012-05-24

Family

ID=46072212

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/082136 Ceased WO2012065531A1 (en) 2010-11-17 2011-11-14 Method, device, and system for implementing relay selection

Country Status (2)

Country Link
CN (1) CN102469015B (en)
WO (1) WO2012065531A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170019832A1 (en) * 2014-03-31 2017-01-19 Hiroyuki Kanda Transmission terminal, transmission system, and method for selecting relay device
WO2017026763A1 (en) * 2015-08-09 2017-02-16 Lg Electronics Inc. Method for performing realy functions at ue in wireless communication system and apparatus therefor

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103152444B (en) * 2013-03-25 2016-08-03 华为技术有限公司 The network address translation of trunking scheme and message transmitting method and device, system
US9451524B2 (en) * 2013-08-28 2016-09-20 Google Inc. Wireless networking with flexibly-ordered relayers
CN104902443B (en) * 2014-03-05 2018-10-30 华为终端有限公司 A kind of method and apparatus of communication
CN104936247B (en) * 2014-03-20 2019-04-23 中国电信股份有限公司 For the method for gravity treatment link terminal, base station and system
CN111277963B (en) 2014-11-07 2022-05-13 华为技术有限公司 A method, device and system for establishing a connection
US10530461B2 (en) * 2015-03-25 2020-01-07 Qualcomm Incorporated Relay discovery and association messages
CN109525957A (en) * 2019-01-02 2019-03-26 成都华日通讯技术有限公司 A kind of relaying election method of achievable remote data wireless transmission
JP7279416B2 (en) 2019-03-01 2023-05-23 株式会社リコー Intermediary terminal, communication system, input system, intermediary control method, and program
CN113364869B (en) * 2021-06-04 2022-07-15 杭州复杂美科技有限公司 Block chain message transmission method, equipment and storage medium
CN114422518A (en) * 2022-03-31 2022-04-29 北京奥星贝斯科技有限公司 Method and device for requesting service

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101459689A (en) * 2007-12-13 2009-06-17 阿尔卡特朗讯 Method of establishing a connection in a peer-to-peer network with network address translation (nat)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7788378B2 (en) * 2005-04-22 2010-08-31 Microsoft Corporation Apparatus and method for community relay node discovery
CN101599895B (en) * 2008-06-04 2012-07-04 华为技术有限公司 Data processing method, wideband network gateway, strategy controller device and accessing node equipment

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101459689A (en) * 2007-12-13 2009-06-17 阿尔卡特朗讯 Method of establishing a connection in a peer-to-peer network with network address translation (nat)

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
MENG ET AL.: "draft-meng-alto-realy-00: Relay Usage for ALTO in Real Time Communication", ALTO WORKINGGROUP, 20 August 2009 (2009-08-20), pages 1 - 13 *
SEEDORF, J. ET AL.: "Traffic Localization for P2P-Applications", THE ALTO APPROACH, 11 September 2009 (2009-09-11), pages 171 - 177, XP031544872 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170019832A1 (en) * 2014-03-31 2017-01-19 Hiroyuki Kanda Transmission terminal, transmission system, and method for selecting relay device
WO2017026763A1 (en) * 2015-08-09 2017-02-16 Lg Electronics Inc. Method for performing realy functions at ue in wireless communication system and apparatus therefor
US10588031B2 (en) 2015-08-09 2020-03-10 Lg Electronics Inc. Method for performing relay functions at ue in wireless communication system and apparatus therefor

Also Published As

Publication number Publication date
CN102469015B (en) 2016-04-13
CN102469015A (en) 2012-05-23

Similar Documents

Publication Publication Date Title
WO2012065531A1 (en) Method, device, and system for implementing relay selection
CN109565472B (en) Slice/service-based routing method and device in virtual network
EP3080973B1 (en) Proxy interception
EP2112788A1 (en) A method, system and nodes for p2p content sharing
WO2013040970A1 (en) Relay node selecting method and device
CN103200102B (en) A kind of service routing method, device and system
KR101501913B1 (en) Multicast quality of service module and method
KR101445047B1 (en) Confidential or protected access to a network of nodes distributed over a communication architecture with the aid of a topology server
CN111435922B (en) Bandwidth sharing method
CN106572132B (en) Distributed chain building method, device and system
CN106899641A (en) The acquisition methods of data resource, server, control device and communication system
WO2009056013A1 (en) A policy control method and system for layer two device
WO2008154848A1 (en) Method for acquiring ability information of net node between domains, net node and communication system
CN101964741B (en) A node list sending method and device
WO2012000366A1 (en) Relay method for service data and relay node system
Othman et al. Design and implementation of application based routing using openflow
JP5894981B2 (en) Accessing a network of nodes distributed across a communication architecture using a topology server with multiple criteria selection
CN114172950B (en) Identification request processing method, device, equipment and storage medium
CN111818590B (en) Wireless network path optimization method and device
CN101471954A (en) Method for implementing network service, network service entity and intelligent network system
CN102088399B (en) Flow control method of peer-to-peer (P2P) network, routing equipment and communication system
Bronzino et al. NOVN: A named-object based virtual network architecture to support advanced mobile edge computing services
JP2010113710A (en) Method of transmitting data between peers with network selection according to at least one criterion, and associated management device and communication equipment
CN115622943B (en) Data distribution method, device, system, equipment and medium
CN102904933A (en) P2P traffic grooming optimization network system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11841431

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11841431

Country of ref document: EP

Kind code of ref document: A1