WO2012065506A1 - Relay selection method and relay control system - Google Patents

Relay selection method and relay control system Download PDF

Info

Publication number
WO2012065506A1
WO2012065506A1 PCT/CN2011/081343 CN2011081343W WO2012065506A1 WO 2012065506 A1 WO2012065506 A1 WO 2012065506A1 CN 2011081343 W CN2011081343 W CN 2011081343W WO 2012065506 A1 WO2012065506 A1 WO 2012065506A1
Authority
WO
WIPO (PCT)
Prior art keywords
relay
node
service
relay service
control system
Prior art date
Application number
PCT/CN2011/081343
Other languages
French (fr)
Chinese (zh)
Inventor
王炜
胡永生
孟昱
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2012065506A1 publication Critical patent/WO2012065506A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/54Store-and-forward switching systems 
    • H04L12/56Packet switching systems
    • H04L12/5691Access to open networks; Ingress point selection, e.g. ISP selection

Definitions

  • the present invention relates to network communication technologies, and in particular, to a relay selection method and a relay control system. Background technique
  • each node serves as a client to obtain services from other nodes, and also serves as a server to other nodes.
  • 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
  • relay technology is needed to implement the NAT/firewall traversal function to help the peer 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 necessary to apply the relay technology in the packet data network. Strip transmission paths to improve network service quality.
  • the relay technology refers to a technique in which a packet is forwarded by a relay node by adding one or more relay nodes to a packet packet transmission path.
  • the advantages of overlay network-based relay technology are:
  • the relay technology can implement the NAT/firewall traversal function, which provides data transfer function when the two parties cannot directly establish a connection.
  • the relay technology can provide the IPv4/IPv6 protocol conversion function, that is, protocol conversion and data transfer function when the communication parties use different IP protocols.
  • the relay technology can change the data transmission path. That is, when the default path cannot meet the quality of service requirements, the quality of service can be improved by adding a relay and changing the data transmission path. This The quality of service includes transmission delay, packet loss rate, transmission bandwidth, and delay jitter.
  • the relay technology can provide multiple optional transmission paths, that is, when the default path is unreliable, when the transmission fails, the service continuity can be ensured by quickly switching the transmission path.
  • FIG. 1 is a schematic diagram of a group organization structure of the prior art. As shown in FIG. 1 , the group may include both a relay node and a common network enjoying relay services in the network.
  • the nodes, such as group 110 in FIG. 1, include both relay nodes 111, 112 and normal network nodes 113, 114.
  • the relay system measures the quality of service of the link between the relay groups, and the measurement content may include return delay (RTT), delay jitter, bandwidth, and the like.
  • FIG. 2 is a schematic flowchart of an existing group-based relay selection method. As shown in FIG. 2, the method includes:
  • Step 201 The first network node (source node) needs to use the relay service to communicate with the second network node (the destination node), and the first network node sends the address of the communication party to the relay control node to request the relay resource.
  • Step 202 After receiving the address information of the first and second network nodes, the relay control node obtains the group IDs of the first and second network nodes by using the network address and the group correspondence. Selecting one or more candidate groups according to the group ID of the communication parties and the quality of service measurement information between the groups (which can be measured in advance and stored in the relay control node) or network topology information, In the list of candidate relay groups.
  • Step 203 When the candidate relay group list includes multiple relays or multiple groups, the relay control node may request the group agent to perform actual measurement on the actual service quality information, and then narrow the candidate. The range of relay nodes to determine the final relay node.
  • Step 204 The relay control node interacts with the selected relay node A to reserve a relay resource.
  • Step 205 The relay control node returns the information of the relay node A to the first network node.
  • Step 206 The first network node and the second network node establish communication through the relay node A.
  • the group measurement record granularity used for the relay selection reference is generally coarse, and can only serve as a reference for relay selection. Further measurement is often required during the relay selection process, which results in a longer selection process and a certain network bandwidth. Further, when the number of groups is large and the group measurement data is large, the relay selection process often needs to traverse all possible relay groups for selection, and the calculation amount is very large.
  • Group policies configured through the network lack flexibility in practical applications. Since the network status is subject to change, groups grouped by network address often cannot reflect the actual network status of the user. When the group partition is too large, users in the same group may have different network environments. Even if the same relay is used, the quality of service obtained may vary greatly. In this case, it is inevitable that relaying is required. After the group is selected, the quality of service of individual nodes and relays is measured separately in the group, and the measurement consumption is huge. Summary of the invention
  • the main objective of the embodiments of the present invention is to provide a relay selection method and a relay control system, which can reduce the calculation amount of relay selection, save the relay selection time and system resources, and thereby improve the relay selection efficiency.
  • a relay selection method includes:
  • the relay control system collects relay service information to form a relay service history record
  • the relay control system processes the relay service history record to obtain a valid relay service History
  • the relay control system selects the relay node based on the valid relay service history record.
  • the relay service history record includes one or more of the following: a relay node involved in the relay service, a source node, an address/group ID of the destination node, a quality of service information of the relay service, and a time stamp of the relay service .
  • the relay service history record further includes one or more of the following: a relay node, a source node, and an access mode of the destination node involved in the relay service; and a service type of the relay service.
  • the quality of service is the quality of service between the source node and the destination node, or the quality of service between the source node/destination node and the relay node.
  • the quality of service is manifested by one or more of the following: delay, Delay jitter, bandwidth, and packet loss rate.
  • the relay control system collects relay service information as:
  • the relay control system obtains the relay service information that is actively reported by the relay node, the source node, or the destination node, or
  • the relay control system requests relay service information from the relay node, the source node, or the destination node, or
  • the relay control system requests relay service information from other network information servers, or the relay control system acquires relay service information actively pushed by other network information servers.
  • the relay control system saves the relay service information as: the relay control node in the relay control system is a single centralized server, and the relay service information is stored in the server, the related disk array or the network storage; After there are multiple peer-to-peer relay control nodes in the control system, the relay service information is distributed on different relay control nodes in a distributed storage manner.
  • the relay control system processes the relay service history record, and obtaining a valid relay service history record includes one or more of the following:
  • the relay control system selects the relay node according to the valid relay service history record as:
  • the source address/group ID and the destination address/group ID in the valid relay service history record are the same as the source address/group ID and the destination address/group ID respectively involved in the user requesting the relay service.
  • the relay service history records the relay node described in the relay service history record as a candidate relay node.
  • the method further includes: the relay control system adjusts the group classification information according to the relay service history, specifically:
  • the group is subdivided into a plurality of groups; when nodes in different groups use the same relay node When the difference in the obtained quality of service is not greater than a preset value, the different groups are merged.
  • a relay control system comprising: a relay service information collection module, a relay service history record formation module, a relay service history record processing module, and a relay node selection module; wherein the relay service information collection module is configured For collecting relay service information;
  • the relay service history record forming module is configured to form a relay service history record according to the relay service information collected by the relay service information collection module;
  • the relay service history processing module is configured to process a relay service history record formed by the relay service history forming module to obtain a valid relay service history record; and the relay node selection module is configured to be When the user applies for the relay service, the relay node is selected according to the effective relay service history recorded by the relay service history processing module.
  • the relay service information collection module collects the relay service information as:
  • the relay control system acquires the relay service actively reported by the relay node, the source node, or the destination node. Information, or,
  • the relay control system requests relay service information from the relay node, the source node, or the destination node, or
  • the relay control system requests relay service information from other network information servers, or the relay control system acquires relay service information actively pushed by other network information servers.
  • the relay service history forming module forms the relay service information as: storing the relay service information on the server, the related disk array or the network storage, or storing the relay service information in a distributed storage manner.
  • the relay service history processing module processes the relay service history record, and obtaining a valid relay service history record includes one or more of the following:
  • the relay node selection module selects the relay node according to the effective relay service history record processed by the relay service history processing module:
  • the source address/group ID and the destination address/group ID in the valid relay service history record are the same as the source address/group ID and the destination address/group ID respectively involved in the user requesting the relay service.
  • the relay service history records the relay node described in the relay service history record as a candidate relay node.
  • the system further includes a group classification information adjustment module, configured to adjust the group classification information according to the relay service history record, specifically:
  • the group is subdivided into multiple groups; when nodes in different groups use the same relay
  • the different groups are merged.
  • the relay selection method and the relay control system utilize the relay service calendar
  • the history record assists the relay selection.
  • the relay selection can directly make a judgment according to the historical history, the end-to-end quality of service measurement is not required, thereby reducing the signaling of the relay selection. And bandwidth consumption, but also speed up the relay selection speed.
  • the amount of calculation required according to the past history selection is smaller than traversing all possible relay groups, and the calculation amount of the relay selection algorithm can be reduced; in addition, the group of nodes (including the relay node and the source destination node) Groups can be dynamically optimized based on historical records so that group settings and actual network conditions can be more consistent.
  • FIG. 1 is a schematic diagram of a group organization structure of the prior art
  • FIG. 2 is a schematic flow chart of an existing group-based relay selection method
  • FIG. 3 is a schematic flowchart of a relay selection method according to an embodiment of the present invention.
  • FIG. 4 is a schematic flowchart of a method for collecting service quality information according to an embodiment of the present invention
  • FIG. 5 is a schematic flowchart of another method for collecting service quality information according to an embodiment of the present invention
  • FIG. 6 is a schematic diagram of another method for collecting service quality according to an embodiment of the present invention
  • FIG. 7 is a schematic flowchart of relay selection using a relay service history record according to an embodiment of the present invention
  • FIG. 8 is a schematic structural diagram of a relay selection system according to an embodiment of the present invention. detailed description
  • the basic idea of the invention is to use relay service history records to assist in relay selection.
  • the relay control node In practical applications, the relay control node often performs a large number of relay selection tasks, and many of the communication source destination nodes have similar network conditions. Therefore, a successful relay selection can provide a reference for subsequent relay selection of similar requests. This can greatly reduce the time, bandwidth and computational consumption of the relay selection; on the other hand, even if the network address is different, the user may still be in the same physical network, and these users can belong to the same group, so that Reduce the number of groups and increase the efficiency of relay selection.
  • FIG. 3 is a schematic flowchart of a relay selection method according to an embodiment of the present invention. As shown in FIG. 3, the method includes :
  • Step 301 The relay control system collects relay service information to form a relay service history record.
  • each relay service history record corresponds to one relay service
  • the relay service history record may include one or more of the following: a relay node, a source node, and an address/group ID of the destination node involved in the relay service.
  • the quality of service information of the relay service may include one or more of the following: a relay node, a source node, and an address/group ID of the destination node involved in the relay service.
  • the quality of service information of the relay service the timestamp of the relay service, where the quality of service can be embodied by one or more of the following: delay, delay jitter, bandwidth, packet loss rate, etc.
  • the quality of service can be It is the quality of service from end to end (between source node and destination node), and it can also be the quality of service between the end (source node/destination node) and the relay node.
  • the service time ratio is long, the service quality measurement value and the specific
  • the relay service history record may further include one or more of the following: a relay node, a source node, and an access mode of the destination node involved in the relay service; a service type of the relay service; Information following the service history (corresponding to the case where multiple relay nodes are used by this service).
  • the relay service information may be stored in a specific history database, and the specific storage manner may adopt multiple manners, when the relay control system
  • the relay service information can be stored in the server, the related disk array or the network storage; when there are multiple peer relay control nodes in the relay control system, The service information can be distributed on different relay control nodes in a distributed storage manner.
  • the specific implementation can implement storage and query by using a distributed hash table.
  • Step 302 The relay control system processes the relay service history record described in step 301. Filter out valid relay service history (for example, records with better quality of service) for subsequent relay selection.
  • the manner in which the relay control system processes the relay service history may be implemented by a single centralized server or by multiple distributed servers.
  • the specific processing may include at least one or more of the following, but is not limited to:
  • Delete expired history based on the timestamp of the history.
  • the system may set a specific expiration time limit to delete the expired history record
  • the history records are classified and aggregated based on relevant information in the history.
  • the system may classify the history according to one or more combinations of the first network node, the IP address of the second network node, the network segment, the group ID, and the access mode, and will have the same source group and destination.
  • the history of the group (or other information) is placed in a class; the system can also classify or further subdivide the history according to the type of the business, the time period of the business, etc.; for the same type of record, the system can perform data compression , merge relevant information to save storage space;
  • the system can only retain valid history (such as records whose quality of service exceeds a certain minimum threshold) to save storage space.
  • Step 303 When the user applies for the relay service, the relay control system selects the relay node according to the valid relay service history record.
  • the relay control system can directly use the relay described in the relay service history record as the candidate relay node.
  • FIG. 4 is a schematic flowchart of a method for collecting service quality information according to an embodiment of the present invention.
  • the service quality information collection is the same.
  • the method specifically includes:
  • Step 401 The first network node and the second network node establish a data link through the relay node A to perform a certain service.
  • Step 402 The relay node A counts the service quality of the service during the service process, and records the service.
  • the quality of service statistics may be completed by the relay node A or by the first network node or the second network node.
  • the statistical record can be aggregated to the relay node A, or the first network node or the second network node.
  • Step 403 After the service is completed, the relay node A reports the recorded quality of service information of the service to the relay control node.
  • the service quality information may also be reported to the relay control node by the first network node or the second network node, and the service quality information report may be reported to the relay control node after the service is completed or during the service progress, and the quality of service record may be once. It can also be reported in multiple times.
  • relay service information that is, other parameters that should be included in the relay service history record
  • other relay service information may also be collected and reported.
  • FIG. 5 is a schematic flowchart of another method for collecting service quality information according to an embodiment of the present invention.
  • a relay control node actively requests a relay node A to perform service quality measurement.
  • the method includes:
  • Step 501 The relay control node requests the relay node A for its quality of service history from the first network node (source node) to the second network node (destination node).
  • the relay control node may also request relay node information (ie, other parameters that should be included in the relay service history) to the relay node A at the same time.
  • Step 502 The relay node A does not have an associated quality of service history, and then establishes a data link to the first network node and the second network node to perform service quality measurement.
  • the relay control node may notify the first network node and the second network node to prepare a quality of service measurement.
  • the relay control node may also establish a link of the first network node to the second network node in the relay node A through the control channel.
  • Step 503 The relay node A sends the obtained quality of service history to the relay control node.
  • FIG. 6 is a schematic flowchart of a method for collecting service quality information according to an embodiment of the present invention.
  • a relay control node requests a service quality record from another network information server (which may be a physical entity or a logical entity) through other interfaces.
  • the method includes:
  • Step 601 The relay control node needs the service quality history information between the certain groups, and the relay control node determines that the network information server A can provide related information (the determination process can be through DNS query, database query or static configuration, etc.) In a plurality of manners, the relay control node fills in the service quality information request and sends it to the network information server A according to the range of the required information.
  • the relay control node may also obtain other relay service information (ie, other parameters that should be included in the relay service history) to other network information servers.
  • other relay service information ie, other parameters that should be included in the relay service history
  • Step 602 The network information server A obtains corresponding network service quality information.
  • the network information server A may choose to initiate the quality of service measurement or query the own database to obtain the relevant information.
  • Step 603 The network information server A returns the quality of service record information according to the requirements of the relay control node.
  • Network Information Server A can be other relay control nodes, routers or other network devices that can obtain quality of service information.
  • the process shown in Figure 6 describes that the relay control node actively requests the quality of service history from other nodes.
  • the process of recording, in actual applications, other nodes can also actively push the quality of service history to the required relay control node.
  • other nodes network information servers
  • FIG. 7 is a schematic flowchart of relay selection using a relay service history record according to an embodiment of the present invention. As shown in FIG. 7, the method includes:
  • Step 701 The first network node (source node) needs to use the relay service to communicate with the second network node (the destination node), and the first network node sends the address of the communication party to the relay control node by using the relay service request. Request a relay resource.
  • the relay service request may be initiated by the first or second network node, or may be forwarded by other service entities.
  • Step 702 After receiving the address information of the first network node and the second network node, the relay control node queries the history database, and the query may be based on the address, network segment, group ID, service type, or access of the source destination node.
  • the method queries for the query; the database query returns one or more valid relay service history records, and the relay control node determines that the relay (relay node A) used in the relay service history record can carry the current service (for example, its source)
  • the destination group is consistent with the new application).
  • the relay control node may use the original relay selection algorithm to determine the candidate group based on the inter-group measurement result and perform further measurement.
  • Step 703 The relay control node interacts with the selected relay node A to reserve a relay resource.
  • the relay control node may also select a plurality of qualified relay nodes at the same time and perform resource reservation.
  • Step 704 The relay control node returns the information of the relay node A to the first network node.
  • Step 705 The first network node and the second network node establish communication through the relay node A. It can be seen that the use of history in the relay selection process can reduce measurement information and selection. Choose algorithm delay.
  • the relay control system may also adjust the group classification information (the correspondence between the group and the network address) according to the relay service history record, and the nodes in the group use the same relay node but obtain a very different difference.
  • the system can automatically subdivide the group into groups. When nodes in different groups use the same relay node, they will always get the same quality of service. These groups can be combined.
  • the specific implementation of group segmentation and group combination is as follows:
  • Group subdivision Suppose there are multiple history records with approximate timestamps, and there are two addresses in the first second network node and the relay node address triplet. The third address is inconsistent but in the same group. in. For example, there are multiple history records that have the same relay node address, a second network node address, and the first network node has the same group ID (but the address is different). If the quality of service information at this time indicates that the quality of service difference of the nodes is not less than a certain threshold (preset value), the system will try to subdivide the group to which the first network node belongs, that is, the first network node with the same quality of service. Address (or access method) categorizes the original group into two or more subgroups. If the classification fails, the system can choose to mark the group non-use history for selection, or choose not to process.
  • a certain threshold preset value
  • Group merging If the system analyzes two groups, the service quality of the related history is almost the same under similar conditions, that is, the difference of the QoS is not greater than the preset value, the system can merge the two groups. . For example, suppose that group A and group B each have multiple history records, and the system checks that all of the first second network node and the relay node address group ID triplet are identical, and the third is a group. A or group B records, if the quality of service provided by these records is basically the same, and the number of records exceeds a certain limit, the system can consider that group A and group B are equivalent, and merge group A and group B.
  • the system includes: a source node, a relay node, a destination node, and a relay control system.
  • the source node wants to communicate with the destination node, if the network Quality problem or source/destination node is in NAT/firewall After that, direct communication cannot meet the needs of users. Then the source node or the destination node can request communication through one or more relay nodes.
  • the relay node is responsible for the data information between the destination nodes of the transit source. At the same time, the relay node is controlled by the relay control system.
  • the relay control system accepts the relay request of the source destination node, and at the same time, the relay control system is responsible for selecting an appropriate relay node and maintaining the network measurement information necessary for the relay node selection algorithm.
  • the relay control system further includes: a relay service information collection module, a relay service history record formation module, a relay service history record processing module, and a relay node selection module;
  • the relay service information collection module is configured to collect relay service information
  • the relay service history record forming module is configured to form a relay service history record according to the relay service information collected by the relay service information collection module;
  • the relay service history processing module is configured to process a relay service history record formed by the relay service history forming module to obtain a valid relay service history record; and the relay node selection module is configured to be When the user applies for the relay service, the relay node is selected according to the effective relay service history recorded by the relay service history processing module.
  • the relay service information collection module collects the relay service information as:
  • the relay control system obtains the relay service information that is actively reported by the relay node, the source node, or the destination node, or
  • the relay control system requests relay service information from the relay node, the source node, or the destination node, or
  • the relay control system requests relay service information from other network information servers, or the relay control system acquires relay service information actively pushed by other network information servers.
  • the relay service history forming module forms the relay service information as: storing the relay service information in the server, the related disk array or the network storage, or the relay service letter The information is stored in a distributed storage manner.
  • the relay service history processing module processes the relay service history record, and obtaining a valid relay service history record includes one or more of the following:
  • the relay node selection module selects the relay node according to the effective relay service history record processed by the relay service history processing module:
  • the source address/group ID and the destination address/group ID in the valid relay service history record are the same as the source address/group ID and the destination address/group ID respectively involved in the user requesting the relay service.
  • the relay service history records the relay node described in the relay service history record as a candidate relay node.
  • the system further includes a group classification information adjustment module, configured to adjust the group classification information according to the relay service history record, specifically:
  • the group is subdivided into a plurality of groups; when nodes in different groups use the same relay node When the difference in the obtained quality of service is not greater than a preset value, the different groups are merged.
  • the relay control system can be implemented by a single server or by multiple physical entities.
  • the relay node and the source destination node can also be combined with other network entities.
  • the present invention only describes the interaction between logical entities, and its signaling flow and implementation can be used for a variety of different network architectures.

Landscapes

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

Abstract

Disclosed is a relay selection method. A relay control system collects a piece of relay service information, and forms a relay service history record. The relay control system processes the relay service history record, and acquires an effective relay service history record. When a user requests for a relay service, the relay control system selects a relay node on the basis of the effective relay service history record. Correspondingly disclosed is the relay control system. In the present invention, as a judgment can be made directly on the basis of previous history records during a relay selection, the need for a peer-to-peer service quality assessment is obviated, channel and bandwidth consumption for the relay selection is thereby reduced, and the speed of the relay selection is also accelerated.

Description

一种中继选择方法及中继控制系统 技术领域  Relay selection method and relay control system
本发明涉及网络通讯技术, 尤其涉及一种中继选择方法及中继控制系 统。 背景技术  The present invention relates to network communication technologies, and in particular, to a relay selection method and a relay control system. Background technique
随着网络技术的发展, 多媒体业务(包括 VoIP业务、 视频点播 /直播、 软件下载等)在分组数据网中得到迅速普及。 尤其是在基于对等网技术的 网络中, 每个节点既作为客户端从其他节点获取服务, 同时也作为服务器 给其他节点提供服务。 当对等节点位于网络地址转换(NAT )设备或防火 墙设备之后时, 通信双方无法直接建立连接, 这时, 就需要使用中继技术 来实现 NAT/防火墙穿越功能, 帮助对等节点建立直接连接。 进一步地, 由 于分组数据网是采用尽最大努力 (best effort ) 的方式来传输数据包, 其服 务质量很难达到多媒体业务的需求, 因此, 在分组数据网中有必要应用中 继技术, 尝试多条传输路径来提高网络服务质量。  With the development of network technologies, multimedia services (including VoIP services, video on demand/live broadcast, software downloads, etc.) have rapidly spread in packet data networks. Especially in a network based on peer-to-peer technology, each node serves as a client to obtain services from other nodes, 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. In this case, relay technology is needed to implement the NAT/firewall traversal function to help the peer establish a direct connection. Further, 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 necessary to apply the relay technology in the packet data network. Strip transmission paths to improve network service quality.
中继技术是指通过在分组数据包传递路径上增加一个或多个中继节 点, 由中继节点来进行数据包转发的技术。 与传统的 IP路由技术相比, 基 于叠加网的中继技术的优势在于:  The relay technology refers to a technique in which a packet is forwarded by a relay node by adding one or more relay nodes to a packet packet transmission path. Compared to traditional IP routing technologies, the advantages of overlay network-based relay technology are:
中继技术可以实现 NAT/防火墙穿越功能, 即在通信双方无法直接建 立连接的时候提供数据中转功能。  The relay technology can implement the NAT/firewall traversal function, which provides data transfer function when the two parties cannot directly establish a connection.
中继技术可以提供 IPv4/IPv6协议转换功能, 即在通信双方使用不同 IP协议时进行协议转换和数据中转功能。  The relay technology can provide the IPv4/IPv6 protocol conversion function, that is, protocol conversion and data transfer function when the communication parties use different IP protocols.
-中继技术可以改变数据传输路径, 即当默认路径无法满足服务质量要 求时, 可以通过增加中继, 改变数据传输路径的方式来提高服务质量。 这 里的服务质量包括传输时延、 丟包率、 传输带宽、 时延抖动等。 中继技术可以提供多个可选的传输路径, 即当默认路径不可靠, 传输 失败时, 可以通过快速切换传输路径来保证业务连续性。 - The relay technology can change the data transmission path. That is, when the default path cannot meet the quality of service requirements, the quality of service can be improved by adding a relay and changing the data transmission path. This The quality of service includes transmission delay, packet loss rate, transmission bandwidth, and delay jitter. The relay technology can provide multiple optional transmission paths, that is, when the default path is unreliable, when the transmission fails, the service continuity can be ensured by quickly switching the transmission path.
鉴于中继技术的这些优点, 中继技术在分组数据网中得到了广泛应用。 但是, 中继技术需要使用合适的中继节点才能够提高传输的服务质量, 错误的中继节点往往会严重影响服务质量。 中继选择算法需要从海量的候 选中继节点中选择出合适的节点, 目前的选择方法往往基于中继群组来进 行, 其基本思想是: 将中继节点和普通网络节点根据其 IP网段或网络拓朴 预先分配到特定群组中, 图 1 为现有技术的群组组织结构示意图, 如图 1 所示, 群组中可以同时包含中继节点和网络中享受中继服务的普通网络节 点,如图 1 中的群组 110就同时包含中继节点 111、112和普通网络节点 113、 114。 中继系统测量中继群组间的链路的服务质量, 其测量内容可以包括往 返时延(RTT )、 时延抖动、 带宽等。  In view of these advantages of relay technology, relay technology is widely used in packet data networks. However, the relay technology needs to use a suitable relay node to improve the quality of service of the transmission. The wrong relay node often seriously affects the quality of service. The relay selection algorithm needs to select suitable nodes from a large number of candidate relay nodes. The current selection method is often based on relay groups. The basic idea is: to make relay nodes and common network nodes according to their IP network segments. Or the network topology is pre-assigned to a specific group. FIG. 1 is a schematic diagram of a group organization structure of the prior art. As shown in FIG. 1 , the group may include both a relay node and a common network enjoying relay services in the network. The nodes, such as group 110 in FIG. 1, include both relay nodes 111, 112 and normal network nodes 113, 114. The relay system measures the quality of service of the link between the relay groups, and the measurement content may include return delay (RTT), delay jitter, bandwidth, and the like.
图 2为现有基于群组的中继选择方法流程示意图, 如图 2所示, 该方 法包括:  FIG. 2 is a schematic flowchart of an existing group-based relay selection method. As shown in FIG. 2, the method includes:
步驟 201 : 第一网络节点(源节点)需要使用中继业务来和第二网络节 点 (目的节点)进行通信, 第一网络节点将通信双方的地址发送给中继控 制节点来请求中继资源。  Step 201: The first network node (source node) needs to use the relay service to communicate with the second network node (the destination node), and the first network node sends the address of the communication party to the relay control node to request the relay resource.
步驟 202: 中继控制节点收到第一、 第二网络节点的地址信息后, 利用 网络地址和群组对应关系得到第一、 第二网络节点的群组 ID。 根据通信双 方的群组 ID和群组之间的服务质量测量信息(可以预先测量后存储在中继 控制节点中)或网络拓朴信息, 选择出合适一个或多个的候选群组, 放入 候选中继群组列表中。  Step 202: After receiving the address information of the first and second network nodes, the relay control node obtains the group IDs of the first and second network nodes by using the network address and the group correspondence. Selecting one or more candidate groups according to the group ID of the communication parties and the quality of service measurement information between the groups (which can be measured in advance and stored in the relay control node) or network topology information, In the list of candidate relay groups.
步驟 203: 当候选中继群组列表中包含多个中继或多个群组时, 中继控 制节点可以要求群组代理对实际服务质量信息进行实际测量, 再缩小候选 中继节点的范围, 确定最终的中继节点。 Step 203: When the candidate relay group list includes multiple relays or multiple groups, the relay control node may request the group agent to perform actual measurement on the actual service quality information, and then narrow the candidate. The range of relay nodes to determine the final relay node.
步驟 204: 中继控制节点和被选中的中继节点 A进行交互, 预留中继 资源。  Step 204: The relay control node interacts with the selected relay node A to reserve a relay resource.
步驟 205: 中继控制节点将中继节点 A的信息返回给第一网络节点。 步驟 206: 第一网络节点和第二网络节点通过中继节点 A建立起通信。 但是, 现有技术流程中存在以下缺陷:  Step 205: The relay control node returns the information of the relay node A to the first network node. Step 206: The first network node and the second network node establish communication through the relay node A. However, the following drawbacks exist in the prior art process:
1 )在步驟 202和 203中, 用于中继选择参考的群组测量记录粒度一般 比较粗, 对中继选择只能起到参考作用。 中继选择过程中往往需要进行进 一步的测量, 从而会导致选择过程耗时较长, 并且耗费一定的网络带宽。 进一步地, 当群组数量巨大, 群组测量数据较多时, 中继选择过程往往需 要遍历所有可能的中继群组进行选择, 计算量十分巨大。  1) In steps 202 and 203, the group measurement record granularity used for the relay selection reference is generally coarse, and can only serve as a reference for relay selection. Further measurement is often required during the relay selection process, which results in a longer selection process and a certain network bandwidth. Further, when the number of groups is large and the group measurement data is large, the relay selection process often needs to traverse all possible relay groups for selection, and the calculation amount is very large.
2 )通过网络配置的群组策略在实际应用中缺乏灵活性。 由于网络状态 容易发生变化, 依据网络地址划分的群组往往不能反映用户的实际网络状 况。 当群组划分过大时, 处于同一群组内的用户可能拥有不同的网络环境, 即使使用同一中继, 其获取的服务质量也可能差别很大, 这时, 不可避免 地需要在进行中继群组选择后, 在群组内再对单个节点和中继的服务质量 进行单独测量, 测量消耗巨大。 发明内容  2) Group policies configured through the network lack flexibility in practical applications. Since the network status is subject to change, groups grouped by network address often cannot reflect the actual network status of the user. When the group partition is too large, users in the same group may have different network environments. Even if the same relay is used, the quality of service obtained may vary greatly. In this case, it is inevitable that relaying is required. After the group is selected, the quality of service of individual nodes and relays is measured separately in the group, and the measurement consumption is huge. Summary of the invention
有鉴于此, 本发明实施例的主要目的在于提供一种中继选择方法及中 继控制系统, 能够减少中继选择的计算量, 节省中继选择时间及系统资源, 从而提高中继选择效率。  In view of this, the main objective of the embodiments of the present invention is to provide a relay selection method and a relay control system, which can reduce the calculation amount of relay selection, save the relay selection time and system resources, and thereby improve the relay selection efficiency.
为达到上述目的, 本发明实施例的技术方案是这样实现的:  To achieve the above objective, the technical solution of the embodiment of the present invention is implemented as follows:
一种中继选择方法, 包括:  A relay selection method includes:
中继控制系统采集中继服务信息, 形成中继服务历史记录;  The relay control system collects relay service information to form a relay service history record;
中继控制系统对所述中继服务历史记录进行处理, 获取有效的中继服 务历史记录; The relay control system processes the relay service history record to obtain a valid relay service History
用户申请中继服务时, 中继控制系统根据所述有效的中继服务历史记 录选择中继节点。  When the user applies for the relay service, the relay control system selects the relay node based on the valid relay service history record.
所述中继服务历史记录包含以下一项或多项: 中继服务涉及的中继节 点、 源节点、 目的节点的地址 /群组 ID; 中继服务的服务质量信息; 中继服 务的时间戳。  The relay service history record includes one or more of the following: a relay node involved in the relay service, a source node, an address/group ID of the destination node, a quality of service information of the relay service, and a time stamp of the relay service .
所述中继服务历史记录还包括以下一项或多项: 中继服务涉及的中继 节点、 源节点、 目的节点的接入方式; 中继业务的业务类型。  The relay service history record further includes one or more of the following: a relay node, a source node, and an access mode of the destination node involved in the relay service; and a service type of the relay service.
所述服务质量为源节点与目的节点之间的服务质量, 或者, 为源节点 / 目的节点到中继节点间的服务质量, 所述服务质量通过以下一项或多项来 体现: 时延、 时延抖动、 带宽、 丟包率。  The quality of service is the quality of service between the source node and the destination node, or the quality of service between the source node/destination node and the relay node. The quality of service is manifested by one or more of the following: delay, Delay jitter, bandwidth, and packet loss rate.
所述中继控制系统采集中继服务信息为:  The relay control system collects relay service information as:
中继控制系统获取中继节点、 源节点或目的节点主动上报的中继服务 信息, 或者,  The relay control system obtains the relay service information that is actively reported by the relay node, the source node, or the destination node, or
中继控制系统向中继节点、 源节点或目的节点请求中继服务信息, 或 者,  The relay control system requests relay service information from the relay node, the source node, or the destination node, or
中继控制系统向其他网络信息服务器请求中继服务信息, 或者, 中继控制系统获取其他网络信息服务器主动推送的中继服务信息。 所述中继控制系统保存中继服务信息为: 中继控制系统中的中继控制 节点是单一集中式服务器, 则将中继服务信息存储在本服务器上、 相关磁 盘阵列或网络存储中; 中继控制系统中有多台对等的中继控制节点, 则将 中继服务信息采用分布式存储方式分散在不同的中继控制节点上。  The relay control system requests relay service information from other network information servers, or the relay control system acquires relay service information actively pushed by other network information servers. The relay control system saves the relay service information as: the relay control node in the relay control system is a single centralized server, and the relay service information is stored in the server, the related disk array or the network storage; After there are multiple peer-to-peer relay control nodes in the control system, the relay service information is distributed on different relay control nodes in a distributed storage manner.
所述中继控制系统对所述中继服务历史记录进行处理, 获取有效的中 继服务历史记录包括以下一项或多项:  The relay control system processes the relay service history record, and obtaining a valid relay service history record includes one or more of the following:
根据历史记录的时间戳, 删除已过期的历史记录; 对历史记录进行分类、 聚合; Delete expired history based on the timestamp of the history; Sort and aggregate historical records;
在同一类历史记录中, 保留和歸选最佳服务质量的记录。  Keep records of the best quality of service in the same type of history.
所述用户申请中继服务时, 中继控制系统根据所述有效的中继服务历 史记录选择中继节点为:  When the user applies for the relay service, the relay control system selects the relay node according to the valid relay service history record as:
所述有效的中继服务历史记录中存在源地址 /群组 ID和目的地址 /群组 ID分别与所述用户申请中继服务涉及的源地址 /群组 ID和目的地址 /群组 ID 相同的中继服务历史记录, 则选择所述中继服务历史记录中记载的中继节 点作为候选中继节点。  The source address/group ID and the destination address/group ID in the valid relay service history record are the same as the source address/group ID and the destination address/group ID respectively involved in the user requesting the relay service. The relay service history records the relay node described in the relay service history record as a candidate relay node.
该方法还包括: 中继控制系统根据中继服务历史记录调整群组分类信 息, 具体为:  The method further includes: the relay control system adjusts the group classification information according to the relay service history, specifically:
当群组中节点使用相同中继节点而获得的服务质量的差值不小于预设 值时, 将所述群组细分为多个群组; 当不同群组中节点使用相同中继节点 而获得的服务质量的差值不大于预设值时, 将所述不同群组合并。  When the difference in quality of service obtained by the nodes in the group using the same relay node is not less than a preset value, the group is subdivided into a plurality of groups; when nodes in different groups use the same relay node When the difference in the obtained quality of service is not greater than a preset value, the different groups are merged.
一种中继控制系统, 包括: 中继服务信息采集模块、 中继服务历史记 录形成模块、 中继服务历史记录处理模块和中继节点选择模块; 其中, 所述中继服务信息采集模块, 设置为采集中继服务信息;  A relay control system, comprising: a relay service information collection module, a relay service history record formation module, a relay service history record processing module, and a relay node selection module; wherein the relay service information collection module is configured For collecting relay service information;
所述中继服务历史记录形成模块, 设置为根据所述中继服务信息采集 模块采集的中继服务信息, 形成中继服务历史记录;  The relay service history record forming module is configured to form a relay service history record according to the relay service information collected by the relay service information collection module;
所述中继服务历史记录处理模块, 设置为对中继服务历史记录形成模 块形成的中继服务历史记录进行处理, 获取有效的中继服务历史记录; 所述中继节点选择模块, 设置为在用户申请中继服务时, 根据所述中 继服务历史记录处理模块处理后的有效的中继服务历史记录选择中继节 点。  The relay service history processing module is configured to process a relay service history record formed by the relay service history forming module to obtain a valid relay service history record; and the relay node selection module is configured to be When the user applies for the relay service, the relay node is selected according to the effective relay service history recorded by the relay service history processing module.
所述中继服务信息采集模块采集中继服务信息为:  The relay service information collection module collects the relay service information as:
中继控制系统获取中继节点、 源节点或目的节点主动上报的中继服务 信息, 或者, The relay control system acquires the relay service actively reported by the relay node, the source node, or the destination node. Information, or,
中继控制系统向中继节点、 源节点或目的节点请求中继服务信息, 或 者,  The relay control system requests relay service information from the relay node, the source node, or the destination node, or
中继控制系统向其他网络信息服务器请求中继服务信息, 或者, 中继控制系统获取其他网络信息服务器主动推送的中继服务信息。 所述中继服务历史记录形成模块形成中继服务信息为: 将中继服务信 息存储在本服务器上、 相关磁盘阵列或网络存储中, 或者, 将中继服务信 息采用分布式存储方式存储。  The relay control system requests relay service information from other network information servers, or the relay control system acquires relay service information actively pushed by other network information servers. The relay service history forming module forms the relay service information as: storing the relay service information on the server, the related disk array or the network storage, or storing the relay service information in a distributed storage manner.
所述中继服务历史记录处理模块对中继服务历史记录进行处理, 获取 有效的中继服务历史记录包括以下一项或多项:  The relay service history processing module processes the relay service history record, and obtaining a valid relay service history record includes one or more of the following:
根据历史记录的时间戳, 删除已过期的历史记录;  Delete expired history based on the timestamp of the history;
对历史记录进行分类、 聚合;  Sort and aggregate historical records;
在同一类历史记录中, 保留和歸选最佳服务质量的记录。  Keep records of the best quality of service in the same type of history.
所述中继节点选择模块在用户申请中继服务时, 根据所述中继服务历 史记录处理模块处理后的有效的中继服务历史记录选择中继节点为:  When the user applies for the relay service, the relay node selection module selects the relay node according to the effective relay service history record processed by the relay service history processing module:
所述有效的中继服务历史记录中存在源地址 /群组 ID和目的地址 /群组 ID分别与所述用户申请中继服务涉及的源地址 /群组 ID和目的地址 /群组 ID 相同的中继服务历史记录, 则选择所述中继服务历史记录中记载的中继节 点作为候选中继节点。  The source address/group ID and the destination address/group ID in the valid relay service history record are the same as the source address/group ID and the destination address/group ID respectively involved in the user requesting the relay service. The relay service history records the relay node described in the relay service history record as a candidate relay node.
该系统还包括群组分类信息调整模块, 设置为根据中继服务历史记录 调整群组分类信息, 具体的:  The system further includes a group classification information adjustment module, configured to adjust the group classification information according to the relay service history record, specifically:
当群组中节点使用相同中继节点而获得的服务质量的差值不 d、于预设 值时, 将所述群组细分为多个群组; 当不同群组中节点使用相同中继节点 而获得的服务质量的差值不大于预设值时, 将所述不同群组合并。  When the difference in quality of service obtained by the nodes in the group using the same relay node is not d, at a preset value, the group is subdivided into multiple groups; when nodes in different groups use the same relay When the difference in quality of service obtained by the node is not greater than a preset value, the different groups are merged.
本发明实施例所述的中继选择方法及中继控制系统, 利用中继服务历 史记录来辅助中继选择, 通过本发明实施例, 由于中继选择时可以直接依 据过往的历史记录做出判断, 不需要再进行端到端的服务质量测量, 从而 减少了中继选择的信令和带宽消耗, 同时也加快了中继选择速度。 进一步 地, 根据过往历史记录选择所需要的计算量比遍历所有可能的中继群组要 小, 可以减少中继选择算法的计算量; 另外, 节点 (包括中继节点和源目 的节点) 的群组可以依据历史记录进行动态优化, 这样群组的设置和实际 网络状况可以更加相符。 附图说明 The relay selection method and the relay control system according to the embodiment of the present invention utilize the relay service calendar The history record assists the relay selection. According to the embodiment of the present invention, since the relay selection can directly make a judgment according to the historical history, the end-to-end quality of service measurement is not required, thereby reducing the signaling of the relay selection. And bandwidth consumption, but also speed up the relay selection speed. Further, the amount of calculation required according to the past history selection is smaller than traversing all possible relay groups, and the calculation amount of the relay selection algorithm can be reduced; in addition, the group of nodes (including the relay node and the source destination node) Groups can be dynamically optimized based on historical records so that group settings and actual network conditions can be more consistent. DRAWINGS
图 1为现有技术的群组组织结构示意图;  1 is a schematic diagram of a group organization structure of the prior art;
图 2为现有基于群组的中继选择方法流程示意图;  2 is a schematic flow chart of an existing group-based relay selection method;
图 3为本发明实施例所述的中继选择方法的流程示意图;  3 is a schematic flowchart of a relay selection method according to an embodiment of the present invention;
图 4为本发明实施例一种采集服务质量信息的方法流程示意图; 图 5为本发明实施例另一种采集服务质量信息的方法流程示意图; 图 6为本发明实施例再一种采集服务质量信息的方法流程示意图; 图 7 为本发明实施例使用中继服务历史记录进行中继选择的流程示意 图;  4 is a schematic flowchart of a method for collecting service quality information according to an embodiment of the present invention; FIG. 5 is a schematic flowchart of another method for collecting service quality information according to an embodiment of the present invention; FIG. 6 is a schematic diagram of another method for collecting service quality according to an embodiment of the present invention; Schematic diagram of a method flow of information; FIG. 7 is a schematic flowchart of relay selection using a relay service history record according to an embodiment of the present invention;
图 8为本发明实施例所述的中继选择系统结构示意图。 具体实施方式  FIG. 8 is a schematic structural diagram of a relay selection system according to an embodiment of the present invention. detailed description
本发明的基本思想是: 利用中继服务历史记录来辅助中继选择。  The basic idea of the invention is to use relay service history records to assist in relay selection.
在实际应用中, 中继控制节点往往会进行大量的中继选择工作, 其中 不少的通信源目的节点是拥有相近的网络情况的。 因此, 一次成功的中继 选择可以给后续的类似请求的中继选择提供参考。 这样可以大大减少中继 选择的时间、 带宽和计算量的消耗; 另一方面, 即使网络地址有一定差别, 用户可能仍处于同一物理网络中, 这些用户可以归入同一群组, 这样可以 减少群组数目, 增加中继选择效率。 In practical applications, the relay control node often performs a large number of relay selection tasks, and many of the communication source destination nodes have similar network conditions. Therefore, a successful relay selection can provide a reference for subsequent relay selection of similar requests. This can greatly reduce the time, bandwidth and computational consumption of the relay selection; on the other hand, even if the network address is different, the user may still be in the same physical network, and these users can belong to the same group, so that Reduce the number of groups and increase the efficiency of relay selection.
基于上述考量, 本发明实施例提出一种基于中继服务历史记录的中继 选择方法, 图 3为本发明实施例所述的中继选择方法的流程示意图, 如图 3 所示, 该方法包括:  Based on the above considerations, the embodiment of the present invention provides a relay selection method based on a relay service history record. FIG. 3 is a schematic flowchart of a relay selection method according to an embodiment of the present invention. As shown in FIG. 3, the method includes :
步驟 301: 中继控制系统采集中继服务信息, 形成中继服务历史记录。 一般的, 每条中继服务历史记录对应一次中继服务, 中继服务历史记 录可以包含下一项或多项: 中继服务涉及的中继节点、 源节点、 目的节点 的地址 /群组 ID; 中继服务的服务质量信息; 中继服务的时间戳, 其中, 服 务质量可以通过以下一项或多项来体现: 时延、 时延抖动、 带宽、 丟包率 等, 另外, 服务质量可以是端到端(源节点、 目的节点之间)的服务质量, 也可以是端 (源节点 /目的节点)到中继节点间的服务质量。 当服务时间比 较长时, 还可以在单个服务质量历史记录里保留多个时间点的服务质量测 量值和具体测量时间点。  Step 301: The relay control system collects relay service information to form a relay service history record. Generally, each relay service history record corresponds to one relay service, and the relay service history record may include one or more of the following: a relay node, a source node, and an address/group ID of the destination node involved in the relay service. The quality of service information of the relay service; the timestamp of the relay service, where the quality of service can be embodied by one or more of the following: delay, delay jitter, bandwidth, packet loss rate, etc. In addition, the quality of service can be It is the quality of service from end to end (between source node and destination node), and it can also be the quality of service between the end (source node/destination node) and the relay node. When the service time ratio is long, the service quality measurement value and the specific measurement time point of multiple time points can be retained in a single quality of service history.
需要说明的是, 中继服务历史记录还可以包含以下一项或多项: 中继 服务涉及的中继节点、 源节点、 目的节点的接入方式; 中继业务的业务类 型; 其他相关的中继服务历史记录的信息 (对应本次服务使用了多个中继 节点的情况)。  It should be noted that the relay service history record may further include one or more of the following: a relay node, a source node, and an access mode of the destination node involved in the relay service; a service type of the relay service; Information following the service history (corresponding to the case where multiple relay nodes are used by this service).
需要说明的是, 在中继控制系统获取了服务质量信息等中继服务信息 以后, 可以将中继服务信息存储在特定的历史记录数据库中, 具体存储方 式可以采取多种方式, 当中继控制系统中的中继控制节点是单一集中式服 务器时, 中继服务信息可以存储在本服务器上、 相关磁盘阵列或网络存储 中; 当中继控制系统中有多台对等的中继控制节点时, 中继服务信息可以 采用分布式存储方式分散在不同的中继控制节点上, 其具体的实现可以采 用分布式哈希表的方式来实现存储和查询。  It should be noted that after the relay control system obtains the relay service information such as the service quality information, the relay service information may be stored in a specific history database, and the specific storage manner may adopt multiple manners, when the relay control system When the relay control node is a single centralized server, the relay service information can be stored in the server, the related disk array or the network storage; when there are multiple peer relay control nodes in the relay control system, The service information can be distributed on different relay control nodes in a distributed storage manner. The specific implementation can implement storage and query by using a distributed hash table.
步驟 302:中继控制系统对步驟 301所述的中继服务历史记录进行处理, 筛选出有效的中继服务历史记录(例如, 服务质量较好的记录) 用于后续 中继选择。 Step 302: The relay control system processes the relay service history record described in step 301. Filter out valid relay service history (for example, records with better quality of service) for subsequent relay selection.
这里, 中继控制系统对中继服务历史记录进行处理的方式可以由单一 的集中式服务器实现, 或者由多台分布式服务器实现。 具体的处理可以包 括以下至少一项或多项, 但不限于:  Here, the manner in which the relay control system processes the relay service history may be implemented by a single centralized server or by multiple distributed servers. The specific processing may include at least one or more of the following, but is not limited to:
根据历史记录的时间戳, 删除已过期的历史记录。 具体的, 系统可以 设定特定的过期时限, 将已失效的历史记录删除;  Delete expired history based on the timestamp of the history. Specifically, the system may set a specific expiration time limit to delete the expired history record;
根据历史记录中相关的信息对历史记录进行分类、 聚合。 例如, 系统 可以根据第一网络节点、 第二网络节点的 IP地址、 网段、 群组 ID和接入 方式中的一个或多个组合来对历史记录进行分类, 将拥有相同源群组和目 的群组(或其他信息)的历史记录放在一类中; 系统也可以根据业务类型、 业务进行的时间段等信息对历史记录进行分类或进一步细分; 对同一类记 录, 系统可以进行数据压缩, 合并相关信息以节约存储空间;  The history records are classified and aggregated based on relevant information in the history. For example, the system may classify the history according to one or more combinations of the first network node, the IP address of the second network node, the network segment, the group ID, and the access mode, and will have the same source group and destination. The history of the group (or other information) is placed in a class; the system can also classify or further subdivide the history according to the type of the business, the time period of the business, etc.; for the same type of record, the system can perform data compression , merge relevant information to save storage space;
在同一类历史记录中, 保留和歸选最佳服务质量的记录。 例如, 系统 可以只保留有效的历史记录(如服务质量超过某个最低门限的记录) 以节 约存储空间。  Keep records of the best quality of service in the same type of history. For example, the system can only retain valid history (such as records whose quality of service exceeds a certain minimum threshold) to save storage space.
步驟 303: 当用户申请中继服务时, 中继控制系统根据所述有效的中继 服务历史记录选择中继节点。  Step 303: When the user applies for the relay service, the relay control system selects the relay node according to the valid relay service history record.
具体的,如果存在有效的中继服务历史记录,且其源地址 /群组 ID和目 的地址 /群组 ID分别与所述用户申请中继服务涉及的源地址 /群组 ID和目的 地址 /群组 ID相同,则中继控制系统可以直接使用该条中继服务历史记录中 记载的中继作为候选中继节点。  Specifically, if there is a valid relay service history record, and the source address/group ID and the destination address/group ID are respectively associated with the source address/group ID and the destination address/group involved in the user requesting the relay service. If the group ID is the same, the relay control system can directly use the relay described in the relay service history record as the candidate relay node.
需要说明的是, 步驟 301 中, 中继服务信息采集可以采取多种方式, 图 4为本发明实施例一种采集服务质量信息的方法流程示意图, 该实施例 中, 服务质量信息采集是同中继业务同时进行的, 当中继节点 A为第一、 第二网络节点提供中继服务时, 同时对本次业务的服务质量进行测量, 并 在服务结束后上报服务质量信息给中继控制节点, 如图 4所示, 该方法具 体包括: It should be noted that, in step 301, the relay service information collection may take multiple manners. FIG. 4 is a schematic flowchart of a method for collecting service quality information according to an embodiment of the present invention. In this embodiment, the service quality information collection is the same. After the service is carried out simultaneously, when the relay node A is the first, When the second network node provides the relay service, the service quality of the current service is measured, and the service quality information is reported to the relay control node after the service ends. As shown in FIG. 4, the method specifically includes:
步驟 401 : 第一网络节点和第二网络节点通过中继节点 A建立数据链 路, 进行某项业务。  Step 401: The first network node and the second network node establish a data link through the relay node A to perform a certain service.
步驟 402: 中继节点 A在业务进行过程中, 统计业务的服务质量, 并 进行记录。  Step 402: The relay node A counts the service quality of the service during the service process, and records the service.
这里, 服务质量统计可以由中继节点 A完成, 也可以由第一网络节点 或第二网络节点完成。 该统计记录可以汇总给中继节点 A, 或者第一网络 节点或第二网络节点。  Here, the quality of service statistics may be completed by the relay node A or by the first network node or the second network node. The statistical record can be aggregated to the relay node A, or the first network node or the second network node.
步驟 403: 在业务完成之后, 中继节点 A将业务的记录的服务质量信 息上报给中继控制节点。  Step 403: After the service is completed, the relay node A reports the recorded quality of service information of the service to the relay control node.
这里, 服务质量信息也可以由第一网络节点或第二网络节点上报给中 继控制节点, 服务质量信息上报可以在业务完成之后或在业务进行中上报 给中继控制节点, 服务质量记录可以一次上报, 也可以分多次上报。  Here, the service quality information may also be reported to the relay control node by the first network node or the second network node, and the service quality information report may be reported to the relay control node after the service is completed or during the service progress, and the quality of service record may be once. It can also be reported in multiple times.
需要说明的是, 除服务质量之外, 在上述采集并上报服务质量信息的 过程中, 也可以同时采集其他中继服务信息 (即中继服务历史记录中应包 含的其他参数)并上报。  It should be noted that, in addition to the quality of service, in the process of collecting and reporting the service quality information, other relay service information (that is, other parameters that should be included in the relay service history record) may also be collected and reported.
图 5 为本发明实施例另一种采集服务质量信息的方法流程示意图, 该 实施例中, 中继控制节点主动要求中继节点 A进行服务质量测量, 如图 5 所示, 该方法包括:  FIG. 5 is a schematic flowchart of another method for collecting service quality information according to an embodiment of the present invention. In this embodiment, a relay control node actively requests a relay node A to perform service quality measurement. As shown in FIG. 5, the method includes:
步驟 501: 中继控制节点向中继节点 A请求其从第一网络节点 (源节 点)到第二网络节点 (目的节点) 的服务质量历史记录。  Step 501: The relay control node requests the relay node A for its quality of service history from the first network node (source node) to the second network node (destination node).
这里, 除服务质量之外, 中继控制节点也可以同时向中继节点 A请求 中继服务信息 (即中继服务历史记录中应包含的其他参数)。 步驟 502: 中继节点 A没有相关的服务质量历史记录, 则建立到第一 网络节点和第二网络节点的数据链接, 进行服务质量测量。 Here, in addition to the quality of service, the relay control node may also request relay node information (ie, other parameters that should be included in the relay service history) to the relay node A at the same time. Step 502: The relay node A does not have an associated quality of service history, and then establishes a data link to the first network node and the second network node to perform service quality measurement.
本步驟之前, 可选的, 中继控制节点可以通知第一网络节点和第二网 络节点准备服务质量测量。 可选地, 中继控制节点也可以先通过控制信道, 建立起第一网络节点经中继节点 A中转到第二网络节点的链路。  Before this step, optionally, the relay control node may notify the first network node and the second network node to prepare a quality of service measurement. Optionally, the relay control node may also establish a link of the first network node to the second network node in the relay node A through the control channel.
步驟 503: 中继节点 A将获取的服务质量历史记录发送给中继控制节 点。  Step 503: The relay node A sends the obtained quality of service history to the relay control node.
这里, 服务质量信息也可以由第一网络节点或第二网络节点上报。 图 6为本发明实施例再一种采集服务质量信息的方法流程示意图, 该 实施例中, 中继控制节点通过其他接口, 向其他网络信息服务器 (可以是物 理实体或逻辑实体)请求服务质量记录, 如图 6所示, 该方法包括:  Here, the quality of service information may also be reported by the first network node or the second network node. FIG. 6 is a schematic flowchart of a method for collecting service quality information according to an embodiment of the present invention. In this embodiment, a relay control node requests a service quality record from another network information server (which may be a physical entity or a logical entity) through other interfaces. As shown in FIG. 6, the method includes:
步驟 601: 中继控制节点需要某些群组之间的服务质量历史记录信息, 且中继控制节点判断网络信息服务器 A可以提供相关信息(该判断过程可 以通过 DNS查询, 数据库查询或静态配置等多种方式), 则中继控制节点 根据所需信息的范围, 填写服务质量信息请求并发送给网络信息服务器 A。  Step 601: The relay control node needs the service quality history information between the certain groups, and the relay control node determines that the network information server A can provide related information (the determination process can be through DNS query, database query or static configuration, etc.) In a plurality of manners, the relay control node fills in the service quality information request and sends it to the network information server A according to the range of the required information.
这里, 除服务质量之外, 中继控制节点也可以向其他网络信息服务器 获取其他中继服务信息 (即中继服务历史记录中应包含的其他参数)。  Here, in addition to the quality of service, the relay control node may also obtain other relay service information (ie, other parameters that should be included in the relay service history) to other network information servers.
步驟 602: 网络信息服务器 A获取相应的网络服务质量信息。 网络信 息服务器 A 可以选择发起服务质量测量或者查询自身数据库获取相关信 步驟 603: 网络信息服务器 A根据中继控制节点的要求返回服务质量 记录信息。  Step 602: The network information server A obtains corresponding network service quality information. The network information server A may choose to initiate the quality of service measurement or query the own database to obtain the relevant information. Step 603: The network information server A returns the quality of service record information according to the requirements of the relay control node.
网络信息服务器 A可以是其他中继控制节点, 路由器或其它可以获取 服务质量信息的网络设备。  Network Information Server A can be other relay control nodes, routers or other network devices that can obtain quality of service information.
图 6所示流程描述了中继控制节点主动向其他节点请求服务质量历史 记录的流程, 在实际应用中, 其他节点也可以将服务质量历史记录主动推 送给需要的中继控制节点, 当然, 其他节点 (网络信息服务器)还可以同 时推送其他中继服务信息给需要的中继控制节点。 The process shown in Figure 6 describes that the relay control node actively requests the quality of service history from other nodes. The process of recording, in actual applications, other nodes can also actively push the quality of service history to the required relay control node. Of course, other nodes (network information servers) can also push other relay service information to the required ones at the same time. Following the control node.
图 7 为本发明实施例使用中继服务历史记录进行中继选择的流程示意 图, 如图 7所示, 该方法包括:  FIG. 7 is a schematic flowchart of relay selection using a relay service history record according to an embodiment of the present invention. As shown in FIG. 7, the method includes:
步驟 701: 第一网络节点 (源节点) 需要使用中继业务来和第二网络 节点 (目的节点)进行通信, 第一网络节点将通信双方的地址通过中继服 务请求发送给中继控制节点来请求中继资源。  Step 701: The first network node (source node) needs to use the relay service to communicate with the second network node (the destination node), and the first network node sends the address of the communication party to the relay control node by using the relay service request. Request a relay resource.
这里, 中继服务请求可以由第一或第二网络节点发起, 也可以由其他 业务实体代为转发。  Here, the relay service request may be initiated by the first or second network node, or may be forwarded by other service entities.
步驟 702:中继控制节点收到第一网络节点和第二网络节点的地址信息 后, 查询历史记录数据库, 查询时可以根据源目的节点的地址、 网段、 群 组 ID、 业务类型或接入方式等进行查询; 数据库查询返回一条或多条有效 的中继服务历史记录, 中继控制节点判断中继服务历史记录中使用的中继 (中继节点 A ) 可以承载本次服务(例如其源目的群组与新的申请一致)。  Step 702: After receiving the address information of the first network node and the second network node, the relay control node queries the history database, and the query may be based on the address, network segment, group ID, service type, or access of the source destination node. The method queries for the query; the database query returns one or more valid relay service history records, and the relay control node determines that the relay (relay node A) used in the relay service history record can carry the current service (for example, its source) The destination group is consistent with the new application).
这里, 如果中继控制节点没有查询到有效的中继服务历史记录, 中继 控制节点可以用原中继选择算法, 根据群组间测量结果确定候选群组, 并 进行进一步测量。  Here, if the relay control node does not query the valid relay service history record, the relay control node may use the original relay selection algorithm to determine the candidate group based on the inter-group measurement result and perform further measurement.
步驟 703: 中继控制节点和被选中的中继节点 A进行交互, 预留中继 资源。  Step 703: The relay control node interacts with the selected relay node A to reserve a relay resource.
在步驟 702和步驟 703 中, 中继控制节点也可以同时选中多个符合条 件的中继节点, 并进行资源预留。  In step 702 and step 703, the relay control node may also select a plurality of qualified relay nodes at the same time and perform resource reservation.
步驟 704: 中继控制节点将中继节点 A的信息返回给第一网络节点。 步驟 705: 第一网络节点和第二网络节点通过中继节点 A建立起通信。 可以看出, 在中继选择过程中使用历史记录, 可以减少测量信息和选 择算法时延。 Step 704: The relay control node returns the information of the relay node A to the first network node. Step 705: The first network node and the second network node establish communication through the relay node A. It can be seen that the use of history in the relay selection process can reduce measurement information and selection. Choose algorithm delay.
需要说明的是, 中继控制系统还可以根据中继服务历史记录来调整群 组分类信息(群组与网络地址的对应关系), 当群组中节点使用相同中继节 点却获得差异非常大的服务质量时, 系统可以自动将群组细分为多个群组。 当不同群组中节点使用相同中继节点总是会得到同样的服务质量, 这些群 组可以合并, 群组细分和群组合并的具体实施方式如下:  It should be noted that the relay control system may also adjust the group classification information (the correspondence between the group and the network address) according to the relay service history record, and the nodes in the group use the same relay node but obtain a very different difference. When the quality of service is available, the system can automatically subdivide the group into groups. When nodes in different groups use the same relay node, they will always get the same quality of service. These groups can be combined. The specific implementation of group segmentation and group combination is as follows:
群组细分: 假设有多条历史记录拥有近似的时间戳, 且在第一第二网 络节点和中继节点地址三元组中有两个地址一致, 第三个地址不一致但是 在同一群组中。 例如, 有多条历史记录拥有相同的中继节点地址, 第二网 络节点地址, 且第一网络节点的群组 ID相同 (但是地址不同)。 如果这时 的服务质量信息显示这些节点的服务质量差别不小于某一阈值(预设值), 系统将尝试对第一网络节点所属群组进行细分, 即将服务质量相同的第一 网络节点的地址(或接入方式) 归类, 将原群组分为两个或多个子群组。 如果分类失败, 系统可以选择标记该群组不可使用历史记录进行选择, 或 选择不做处理。  Group subdivision: Suppose there are multiple history records with approximate timestamps, and there are two addresses in the first second network node and the relay node address triplet. The third address is inconsistent but in the same group. in. For example, there are multiple history records that have the same relay node address, a second network node address, and the first network node has the same group ID (but the address is different). If the quality of service information at this time indicates that the quality of service difference of the nodes is not less than a certain threshold (preset value), the system will try to subdivide the group to which the first network node belongs, that is, the first network node with the same quality of service. Address (or access method) categorizes the original group into two or more subgroups. If the classification fails, the system can choose to mark the group non-use history for selection, or choose not to process.
群组合并: 如果系统分析某两个群组, 其相关历史记录的服务质量在 相似条件下几乎一致, 即服务质量的差值不大于预设值, 则系统可以将这 两个群组进行合并。 例如, 假设群组 A和群组 B各有多条历史记录, 系统 检查所有第一第二网络节点和中继节点地址群组 ID三元组中有两个一致, 且第三个为群组 A或群组 B的记录, 如果这些记录提供的服务质量基本一 致, 且记录数量超过一定限度, 系统可认为群组 A和群组 B等同, 并合并 群组 A和群组 B。  Group merging: If the system analyzes two groups, the service quality of the related history is almost the same under similar conditions, that is, the difference of the QoS is not greater than the preset value, the system can merge the two groups. . For example, suppose that group A and group B each have multiple history records, and the system checks that all of the first second network node and the relay node address group ID triplet are identical, and the third is a group. A or group B records, if the quality of service provided by these records is basically the same, and the number of records exceeds a certain limit, the system can consider that group A and group B are equivalent, and merge group A and group B.
图 8为本发明中继选择系统结构示意图, 如图 8所示, 该系统包括: 源节点、 中继节点、 目的节点和中继控制系统, 源节点希望同目的节点进 行通讯时,如果由于网络质量问题或者源节点 /目的节点处于 NAT/防火墙之 后, 直接通讯无法满足用户的需求。 则源节点或目的节点可以请求通过一 个或多个中继节点来进行通讯。 中继节点负责中转源目的节点之间的数据 信息。 同时, 中继节点是受到中继控制系统所控制的。 中继控制系统接受 源目的节点的中继请求, 同时, 中继控制系统负责选择合适的中继节点, 并维护中继节点选择算法所必需的网络测量信息。 8 is a schematic structural diagram of a relay selection system according to the present invention. As shown in FIG. 8, the system includes: a source node, a relay node, a destination node, and a relay control system. When the source node wants to communicate with the destination node, if the network Quality problem or source/destination node is in NAT/firewall After that, direct communication cannot meet the needs of users. Then the source node or the destination node can request communication through one or more relay nodes. The relay node is responsible for the data information between the destination nodes of the transit source. At the same time, the relay node is controlled by the relay control system. The relay control system accepts the relay request of the source destination node, and at the same time, the relay control system is responsible for selecting an appropriate relay node and maintaining the network measurement information necessary for the relay node selection algorithm.
具体的, 中继控制系统进一步包括: 中继服务信息采集模块、 中继服 务历史记录形成模块、 中继服务历史记录处理模块和中继节点选择模块; 其中,  Specifically, the relay control system further includes: a relay service information collection module, a relay service history record formation module, a relay service history record processing module, and a relay node selection module;
所述中继服务信息采集模块, 设置为采集中继服务信息;  The relay service information collection module is configured to collect relay service information;
所述中继服务历史记录形成模块, 设置为根据所述中继服务信息采集 模块采集的中继服务信息, 形成中继服务历史记录;  The relay service history record forming module is configured to form a relay service history record according to the relay service information collected by the relay service information collection module;
所述中继服务历史记录处理模块, 设置为对中继服务历史记录形成模 块形成的中继服务历史记录进行处理, 获取有效的中继服务历史记录; 所述中继节点选择模块, 设置为在用户申请中继服务时, 根据所述中 继服务历史记录处理模块处理后的有效的中继服务历史记录选择中继节 点。  The relay service history processing module is configured to process a relay service history record formed by the relay service history forming module to obtain a valid relay service history record; and the relay node selection module is configured to be When the user applies for the relay service, the relay node is selected according to the effective relay service history recorded by the relay service history processing module.
所述中继服务信息采集模块采集中继服务信息为:  The relay service information collection module collects the relay service information as:
中继控制系统获取中继节点、 源节点或目的节点主动上报的中继服务 信息, 或者,  The relay control system obtains the relay service information that is actively reported by the relay node, the source node, or the destination node, or
中继控制系统向中继节点、 源节点或目的节点请求中继服务信息, 或 者,  The relay control system requests relay service information from the relay node, the source node, or the destination node, or
中继控制系统向其他网络信息服务器请求中继服务信息, 或者, 中继控制系统获取其他网络信息服务器主动推送的中继服务信息。 所述中继服务历史记录形成模块形成中继服务信息为: 将中继服务信 息存储在本服务器上、 相关磁盘阵列或网络存储中, 或者, 将中继服务信 息采用分布式存储方式存储。 The relay control system requests relay service information from other network information servers, or the relay control system acquires relay service information actively pushed by other network information servers. The relay service history forming module forms the relay service information as: storing the relay service information in the server, the related disk array or the network storage, or the relay service letter The information is stored in a distributed storage manner.
所述中继服务历史记录处理模块对中继服务历史记录进行处理, 获取 有效的中继服务历史记录包括以下一项或多项:  The relay service history processing module processes the relay service history record, and obtaining a valid relay service history record includes one or more of the following:
根据历史记录的时间戳, 删除已过期的历史记录;  Delete expired history based on the timestamp of the history;
对历史记录进行分类、 聚合;  Sort and aggregate historical records;
在同一类历史记录中, 保留和歸选最佳服务质量的记录。  Keep records of the best quality of service in the same type of history.
所述中继节点选择模块在用户申请中继服务时, 根据所述中继服务历 史记录处理模块处理后的有效的中继服务历史记录选择中继节点为:  When the user applies for the relay service, the relay node selection module selects the relay node according to the effective relay service history record processed by the relay service history processing module:
所述有效的中继服务历史记录中存在源地址 /群组 ID和目的地址 /群组 ID分别与所述用户申请中继服务涉及的源地址 /群组 ID和目的地址 /群组 ID 相同的中继服务历史记录, 则选择所述中继服务历史记录中记载的中继节 点作为候选中继节点。  The source address/group ID and the destination address/group ID in the valid relay service history record are the same as the source address/group ID and the destination address/group ID respectively involved in the user requesting the relay service. The relay service history records the relay node described in the relay service history record as a candidate relay node.
该系统还包括群组分类信息调整模块, 设置为根据中继服务历史记录 调整群组分类信息, 具体的:  The system further includes a group classification information adjustment module, configured to adjust the group classification information according to the relay service history record, specifically:
当群组中节点使用相同中继节点而获得的服务质量的差值不小于预设 值时, 将所述群组细分为多个群组; 当不同群组中节点使用相同中继节点 而获得的服务质量的差值不大于预设值时, 将所述不同群组合并。  When the difference in quality of service obtained by the nodes in the group using the same relay node is not less than a preset value, the group is subdivided into a plurality of groups; when nodes in different groups use the same relay node When the difference in the obtained quality of service is not greater than a preset value, the different groups are merged.
在实际实现中, 中继控制系统可以由一台单独的服务器实现, 也可以 由多台物理实体合作实现。 中继节点和源目的节点 (源节点和目的节点) 也可以和其他网络实体合设。 本发明只描述了逻辑实体之间的交互, 其信 令流程和实现可以用于多种不同的网络架构。  In actual implementation, the relay control system can be implemented by a single server or by multiple physical entities. The relay node and the source destination node (source node and destination node) can also be combined with other network entities. The present invention only describes the interaction between logical entities, and its signaling flow and implementation can be used for a variety of different network architectures.
以上所述, 仅为本发明的较佳实施例而已, 并非用于限定本发明的保 护范围。  The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention.

Claims

权利要求书 Claim
1、 一种中继选择方法, 其中, 该方法包括: A relay selection method, wherein the method comprises:
中继控制系统采集中继服务信息, 形成中继服务历史记录;  The relay control system collects relay service information to form a relay service history record;
中继控制系统对所述中继服务历史记录进行处理, 获取有效的中继服 务历史记录;  The relay control system processes the relay service history record to obtain a valid relay service history record;
用户申请中继服务时, 中继控制系统根据所述有效的中继服务历史记 录选择中继节点。  When the user applies for the relay service, the relay control system selects the relay node based on the valid relay service history record.
2、 根据权利要求 1所述的方法, 其中, 所述中继服务历史记录包含以 下一项或多项: 中继服务涉及的中继节点、 源节点、 目的节点的地址 /群组 ID; 中继服务的服务质量信息; 中继服务的时间戳。  2. The method according to claim 1, wherein the relay service history record comprises one or more of the following: a relay node, a source node, and an address/group ID of the destination node involved in the relay service; Service quality information following the service; timestamp of the relay service.
3、 根据权利要求 2所述的方法, 其中, 所述中继服务历史记录还包括 以下一项或多项: 中继服务涉及的中继节点、 源节点、 目的节点的接入方 式; 中继业务的业务类型。  3. The method according to claim 2, wherein the relay service history record further comprises one or more of the following: a relay node, a source node, and an access mode of the destination node involved in the relay service; Business type of business.
4、 根据权利要求 1所述的方法, 其中, 所述服务质量为源节点与目的 节点之间的服务质量, 或者, 为源节点 /目的节点到中继节点间的服务质量, 所述服务质量通过以下一项或多项来体现: 时延、 时延抖动、 带宽、 丟包 率。  4. The method according to claim 1, wherein the quality of service is a quality of service between a source node and a destination node, or a quality of service between a source node/destination node and a relay node, the quality of service It is manifested by one or more of the following: delay, delay jitter, bandwidth, packet loss rate.
5、 根据权利要求 1所述的方法, 其中, 所述中继控制系统采集中继服 务信息为:  5. The method according to claim 1, wherein the relay control system collects relay service information as:
中继控制系统获取中继节点、 源节点或目的节点主动上报的中继服务 信息, 或者,  The relay control system obtains the relay service information that is actively reported by the relay node, the source node, or the destination node, or
中继控制系统向中继节点、 源节点或目的节点请求中继服务信息, 或 者,  The relay control system requests relay service information from the relay node, the source node, or the destination node, or
中继控制系统向其他网络信息服务器请求中继服务信息, 或者, 中继控制系统获取其他网络信息服务器主动推送的中继服务信息。 The relay control system requests relay service information from other network information servers, or The relay control system acquires relay service information actively pushed by other network information servers.
6、 根据权利要求 1所述的方法, 其中, 所述中继控制系统保存中继服 务信息为: 中继控制系统中的中继控制节点是单一集中式服务器, 则将中 继服务信息存储在本服务器上、 相关磁盘阵列或网络存储中; 中继控制系 统中有多台对等的中继控制节点, 则将中继服务信息采用分布式存储方式 分散在不同的中继控制节点上。  6. The method according to claim 1, wherein the relay control system saves the relay service information as: the relay control node in the relay control system is a single centralized server, and the relay service information is stored in On the server, in the relevant disk array or network storage; in the relay control system, there are multiple peer-to-peer relay control nodes, and the relay service information is distributed on different relay control nodes in a distributed storage manner.
7、 根据权利要求 2所述的方法, 其中, 所述中继控制系统对所述中继 服务历史记录进行处理, 获取有效的中继服务历史记录包括以下一项或多 项:  7. The method according to claim 2, wherein the relay control system processes the relay service history record, and obtaining a valid relay service history record comprises one or more of the following:
根据历史记录的时间戳, 删除已过期的历史记录;  Delete expired history based on the timestamp of the history;
对历史记录进行分类、 聚合;  Sort and aggregate historical records;
在同一类历史记录中, 保留和歸选最佳服务质量的记录。  Keep records of the best quality of service in the same type of history.
8、 根据权利要求 2所述的方法, 其中, 所述用户申请中继服务时, 中 继控制系统根据所述有效的中继服务历史记录选择中继节点为:  8. The method according to claim 2, wherein, when the user applies for a relay service, the relay control system selects the relay node according to the valid relay service history record as:
所述有效的中继服务历史记录中存在源地址 /群组 ID和目的地址 /群组 ID分别与所述用户申请中继服务涉及的源地址 /群组 ID和目的地址 /群组 ID 相同的中继服务历史记录, 则选择所述中继服务历史记录中记载的中继节 点作为候选中继节点。  The source address/group ID and the destination address/group ID in the valid relay service history record are the same as the source address/group ID and the destination address/group ID respectively involved in the user requesting the relay service. The relay service history records the relay node described in the relay service history record as a candidate relay node.
9、 根据权利要求 1至 8任一项所述的方法, 其中, 该方法还包括: 中 继控制系统根据中继服务历史记录调整群组分类信息, 具体为:  The method according to any one of claims 1 to 8, wherein the method further comprises: the relay control system adjusting the group classification information according to the relay service history, specifically:
当群组中节点使用相同中继节点而获得的服务质量的差值不小于预设 值时, 将所述群组细分为多个群组; 当不同群组中节点使用相同中继节点 而获得的服务质量的差值不大于预设值时, 将所述不同群组合并。  When the difference in quality of service obtained by the nodes in the group using the same relay node is not less than a preset value, the group is subdivided into a plurality of groups; when nodes in different groups use the same relay node When the difference in the obtained quality of service is not greater than a preset value, the different groups are merged.
10、 一种中继控制系统, 其中, 该系统包括: 中继服务信息采集模块、 中继服务历史记录形成模块、 中继服务历史记录处理模块和中继节点选择 模块; 其中, 10. A relay control system, wherein the system comprises: a relay service information collection module, a relay service history record formation module, a relay service history record processing module, and a relay node selection. Module; among them,
所述中继服务信息采集模块, 设置为采集中继服务信息;  The relay service information collection module is configured to collect relay service information;
所述中继服务历史记录形成模块, 设置为根据所述中继服务信息采集 模块采集的中继服务信息, 形成中继服务历史记录;  The relay service history record forming module is configured to form a relay service history record according to the relay service information collected by the relay service information collection module;
所述中继服务历史记录处理模块, 设置为对中继服务历史记录形成模 块形成的中继服务历史记录进行处理, 获取有效的中继服务历史记录; 所述中继节点选择模块, 设置为在用户申请中继服务时, 根据所述中 继服务历史记录处理模块处理后的有效的中继服务历史记录选择中继节 点。  The relay service history processing module is configured to process a relay service history record formed by the relay service history forming module to obtain a valid relay service history record; and the relay node selection module is configured to be When the user applies for the relay service, the relay node is selected according to the effective relay service history recorded by the relay service history processing module.
11、 根据权利要求 10所述的系统, 其中, 所述中继服务信息采集模块 采集中继服务信息为:  11. The system according to claim 10, wherein the relay service information collection module collects relay service information as:
中继控制系统获取中继节点、 源节点或目的节点主动上报的中继服务 信息, 或者,  The relay control system obtains the relay service information that is actively reported by the relay node, the source node, or the destination node, or
中继控制系统向中继节点、 源节点或目的节点请求中继服务信息, 或 者,  The relay control system requests relay service information from the relay node, the source node, or the destination node, or
中继控制系统向其他网络信息服务器请求中继服务信息, 或者, 中继控制系统获取其他网络信息服务器主动推送的中继服务信息。 The relay control system requests relay service information from other network information servers, or the relay control system acquires relay service information actively pushed by other network information servers.
12、 根据权利要求 10所述的系统, 其中, 所述中继服务历史记录形成 模块形成中继服务信息为: 将中继服务信息存储在本服务器上、 相关磁盘 阵列或网络存储中, 或者, 将中继服务信息采用分布式存储方式存储。 The system according to claim 10, wherein the relay service history forming module forms the relay service information as: storing the relay service information in the server, the related disk array or the network storage, or The relay service information is stored in a distributed storage manner.
13、 根据权利要求 10所述的系统, 其中, 所述中继服务历史记录处理 模块对中继服务历史记录进行处理, 获取有效的中继服务历史记录包括以 下一项或多项:  13. The system according to claim 10, wherein the relay service history processing module processes the relay service history record, and the valid relay service history record includes one or more of the following:
根据历史记录的时间戳, 删除已过期的历史记录;  Delete expired history based on the timestamp of the history;
对历史记录进行分类、 聚合; 在同一类历史记录中, 保留和歸选最佳服务质量的记录。 Sort and aggregate historical records; Keep records of the best quality of service in the same type of history.
14、 根据权利要求 10所述的系统, 其中, 所述中继节点选择模块在用 户申请中继服务时, 根据所述中继服务历史记录处理模块处理后的有效的 中继服务历史记录选择中继节点为:  The system according to claim 10, wherein the relay node selection module selects a valid relay service history record after processing by the relay service history processing module when the user applies for the relay service. Following the node is:
所述有效的中继服务历史记录中存在源地址 /群组 ID和目的地址 /群组 ID分别与所述用户申请中继服务涉及的源地址 /群组 ID和目的地址 /群组 ID 相同的中继服务历史记录, 则选择所述中继服务历史记录中记载的中继节 点作为候选中继节点。  The source address/group ID and the destination address/group ID in the valid relay service history record are the same as the source address/group ID and the destination address/group ID respectively involved in the user requesting the relay service. The relay service history records the relay node described in the relay service history record as a candidate relay node.
15、 根据权利要求 10至 14任一项所述的系统, 其中, 该系统还包括 群组分类信息调整模块, 设置为根据中继服务历史记录调整群组分类信息, 具体的:  The system according to any one of claims 10 to 14, wherein the system further comprises a group classification information adjustment module, configured to adjust the group classification information according to the relay service history record, specifically:
当群组中节点使用相同中继节点而获得的服务质量的差值不 d、于预设 值时, 将所述群组细分为多个群组; 当不同群组中节点使用相同中继节点 而获得的服务质量的差值不大于预设值时, 将所述不同群组合并。  When the difference in quality of service obtained by the nodes in the group using the same relay node is not d, at a preset value, the group is subdivided into multiple groups; when nodes in different groups use the same relay When the difference in quality of service obtained by the node is not greater than a preset value, the different groups are merged.
PCT/CN2011/081343 2010-11-17 2011-10-26 Relay selection method and relay control system WO2012065506A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010549107.3 2010-11-17
CN2010105491073A CN102469017A (en) 2010-11-17 2010-11-17 Relay selection method and relay control system

Publications (1)

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

Family

ID=46072214

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/081343 WO2012065506A1 (en) 2010-11-17 2011-10-26 Relay selection method and relay control system

Country Status (2)

Country Link
CN (1) CN102469017A (en)
WO (1) WO2012065506A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104168629B (en) * 2013-05-17 2019-01-08 电信科学技术研究院 Discovery method, terminal and the adjacent service communication system of adjacent service relay node
US9451524B2 (en) * 2013-08-28 2016-09-20 Google Inc. Wireless networking with flexibly-ordered relayers
CN104486739B (en) * 2014-11-20 2019-03-22 南京酷派软件技术有限公司 Determine the method and system of subsidiary communications terminal
CN110784549A (en) * 2019-11-01 2020-02-11 深圳市网心科技有限公司 Network node selection method and device, first network node and storage medium
CN110868459B (en) * 2019-11-01 2021-11-02 腾讯科技(深圳)有限公司 Data transmission method, device, terminal and storage medium
CN117412324A (en) * 2022-07-08 2024-01-16 大唐移动通信设备有限公司 Information processing method, device and readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101287268A (en) * 2007-04-13 2008-10-15 中兴通讯股份有限公司 Method for updating connection relation of wireless relay station
WO2009140179A1 (en) * 2008-05-15 2009-11-19 Telcordia Technologies, Inc. An inter-local peer group (lpg) routing method
CN101674220A (en) * 2008-05-07 2010-03-17 北京理工大学 Forwarding history-based asynchronous rooting algorithm

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101287268A (en) * 2007-04-13 2008-10-15 中兴通讯股份有限公司 Method for updating connection relation of wireless relay station
CN101674220A (en) * 2008-05-07 2010-03-17 北京理工大学 Forwarding history-based asynchronous rooting algorithm
WO2009140179A1 (en) * 2008-05-15 2009-11-19 Telcordia Technologies, Inc. An inter-local peer group (lpg) routing method

Also Published As

Publication number Publication date
CN102469017A (en) 2012-05-23

Similar Documents

Publication Publication Date Title
Egilmez et al. OpenQoS: An OpenFlow controller design for multimedia delivery with end-to-end Quality of Service over Software-Defined Networks
Haßlinger et al. Content delivery and caching from a network provider’s perspective
Chanda et al. Content based traffic engineering in software defined information centric networks
US8626875B2 (en) Stream server selection based on feedback information from a client
Zhang et al. Universal IP multicast delivery
WO2012065506A1 (en) Relay selection method and relay control system
WO2012116614A1 (en) Network traffic volume distribution method, network node, and system
WO2012171169A1 (en) Communications method and load balancer
WO2012065531A1 (en) Method, device, and system for implementing relay selection
Alzoubi et al. Anycast cdns revisited
WO2013076637A1 (en) Managing multicast streams at a router in a remote multicast replication network (rmr)
Cui et al. AQoSM: scalable qos multicast provisioning in Diff-Serv networks
Sharma et al. Aggregating bandwidth for multihomed mobile collaborative communities
Jia et al. Distributed admission control for anycast flows
Egilmez et al. Openqos: Openflow controller design and test network for multimedia delivery with quality of service
Banchuen et al. An SDN framework for video conference in inter-domain network
KR20130033253A (en) Overlay multicast system and its method to provide multiple content distribution in distributed content nodes
Hua et al. Redundancy control through traffic deduplication
Raheel et al. Energy efficient technique for P2P multisource video streaming in mobile ad hoc networks to improve QoE
Cheng et al. Implementation and performance measurement of an island multicast protocol
Novotný et al. Large-scale RTCP feedback optimization
Poderys Scalable Streaming Multimedia Delivery using Peer-to-Peer Communication
Van et al. MS-CCN: Multi-source content centric networking
Chai et al. A distributed interdomain control system for information-centric content delivery
Lambrinos et al. An adaptive live media streaming architecture

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: 11841775

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: 11841775

Country of ref document: EP

Kind code of ref document: A1