CN103200102A - Method, device and system for service routing - Google Patents

Method, device and system for service routing Download PDF

Info

Publication number
CN103200102A
CN103200102A CN2012100042113A CN201210004211A CN103200102A CN 103200102 A CN103200102 A CN 103200102A CN 2012100042113 A CN2012100042113 A CN 2012100042113A CN 201210004211 A CN201210004211 A CN 201210004211A CN 103200102 A CN103200102 A CN 103200102A
Authority
CN
China
Prior art keywords
service
peer
domain
service gateway
gateway
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2012100042113A
Other languages
Chinese (zh)
Other versions
CN103200102B (en
Inventor
胡永生
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201210004211.3A priority Critical patent/CN103200102B/en
Publication of CN103200102A publication Critical patent/CN103200102A/en
Application granted granted Critical
Publication of CN103200102B publication Critical patent/CN103200102B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本公开了一种业务路由方法、装置和系统,应用于本地对等网络域的客户端与其它的对等网络域的业务对端进行业务互通的场景,域间业务路由控制服务器收到本地对等网络域的客户端发送的涉及业务的请求后,为本次业务会话选择业务网关并向所选的业务网关下发路由策略;所选的业务网关根据下发的所述路由策略进行业务消息的转发。本发明方法、装置和系统,对涉及的对等网络本身影响小,具有扩展性、可管理性,并且配置简单;同时业务消息的路由效率高,易于实现业务网关之间的负荷均衡。

Figure 201210004211

The present invention discloses a service routing method, device and system, which are applied to the scenario where a client in a local peer-to-peer network domain communicates with service peers in other peer-to-peer network domains. The inter-domain service routing control server receives the local peer After waiting for the client in the network domain to send a service-related request, select a service gateway for this business session and issue a routing policy to the selected service gateway; the selected service gateway performs business messages according to the issued routing policy. forwarding. The method, device and system of the present invention have little impact on the involved peer-to-peer network itself, are scalable and manageable, and are simple to configure; meanwhile, the routing efficiency of service messages is high, and it is easy to realize load balance between service gateways.

Figure 201210004211

Description

一种业务路由方法、装置和系统A service routing method, device and system

技术领域 technical field

本发明涉及通信领域,具体涉及一种业务路由方法、装置和系统。The present invention relates to the communication field, in particular to a service routing method, device and system.

背景技术 Background technique

目前,对等网络(Peer-to-Peer,P2P)技术发展迅速,多种网络结构及算法的并存为互联网业务的蓬勃繁荣做出了巨大贡献,但也给P2P业务网络之间的互通造成了极大的困难。目前,互通技术已经成为制约P2P网络产业规模化的因素之一。为此,国际因特网工程任务组(IETF)P2P SIP(会话初始化协议)工作组制定了首个P2P网络协议标准RELOAD(REsource Location AndDiscovery,资源定位与发现协议),为P2P网络技术的发展做出了重大贡献。但即使统一采用RELOAD作为P2P业务网络的标准协议,在不同P2P业务网络的互通上仍然存在问题。如图1所示,对于SIP业务的应用场景,当对等网络域101的客户端103发起SIP呼叫请求时,若被叫用户不属于对等网络域101,对该SIP呼叫进行失败处理,或者发起一个传统的SIP呼叫,或者客户端103作为被叫用户归属的对等网络域102的客户端发起P2PSIP呼叫。这时,客户端103需要获知对等网络域102的配置信息、路由算法及协议等,对于客户端的这种要求在存在很多对等网络时是不现实的。At present, peer-to-peer network (Peer-to-Peer, P2P) technology is developing rapidly. The coexistence of various network structures and algorithms has made a great contribution to the prosperity of Internet services, but it has also caused problems for the intercommunication between P2P service networks. Great difficulty. At present, intercommunication technology has become one of the factors restricting the scale of the P2P network industry. To this end, the P2P SIP (Session Initiation Protocol) working group of the International Internet Engineering Task Force (IETF) formulated the first P2P network protocol standard RELOAD (REsource Location And Discovery, Resource Location and Discovery Protocol), which made a contribution to the development of P2P network technology. significant contribution. However, even if RELOAD is uniformly adopted as the standard protocol of the P2P service network, there are still problems in the intercommunication of different P2P service networks. As shown in Figure 1, for the application scenario of the SIP service, when the client 103 of the peer-to-peer network domain 101 initiates a SIP call request, if the called user does not belong to the peer-to-peer network domain 101, the SIP call is failed, or A traditional SIP call is initiated, or the client 103 initiates a P2PSIP call as a client of the peer-to-peer network domain 102 to which the called user belongs. At this time, the client 103 needs to know the configuration information, routing algorithm, and protocol of the peer-to-peer network domain 102, which is unrealistic for the client when there are many peer-to-peer networks.

为此,现有技术中提出了多层叠加网的解决方案,即选择各个对等网络中的高性能节点作为超级节点并组成一个顶层叠加网,负责不同对等网络之间的消息转发。但这样只能减轻对客户端的能力要求,而当有新的对等网络加入或离开时,所述超级节点仍然存在配置调整困难的问题,例如当对等网络的P2P路由算法协议甚至HASH(哈希)算法不同时,对等网络之间的互通将难以实现。For this reason, a multi-layer overlay network solution is proposed in the prior art, that is, high-performance nodes in each peer-to-peer network are selected as super nodes to form a top-layer overlay network, which is responsible for message forwarding between different peer-to-peer networks. But this can only reduce the ability requirements of the client, and when a new peer-to-peer network joins or leaves, the super node still has the problem of configuration adjustment difficulties, such as when the P2P routing algorithm protocol or even HASH (ha) of the peer-to-peer network When the algorithms are different, the intercommunication between peer-to-peer networks will be difficult to achieve.

发明内容 Contents of the invention

有鉴于此,本发明的主要目的在于提供一种业务路由方法、装置和系统,以解决不同对等网络之间的业务互通问题。In view of this, the main purpose of the present invention is to provide a service routing method, device and system to solve the problem of service interworking between different peer-to-peer networks.

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

一种业务路由方法,应用于本地对等网络域的客户端与其它的对等网络域的业务对端进行业务互通的场景,该方法包括:A service routing method is applied to a scenario where a client in a local peer-to-peer network domain performs service interworking with service peers in another peer-to-peer network domain, and the method includes:

域间业务路由控制服务器收到本地对等网络域的客户端发送的涉及业务的请求后,为本次业务会话选择业务网关并向所选的业务网关下发路由策略;After receiving the service-related request sent by the client in the local peer-to-peer network domain, the inter-domain service routing control server selects a service gateway for this service session and issues a routing policy to the selected service gateway;

所选的业务网关根据下发的所述路由策略进行业务消息的转发。The selected service gateway forwards the service message according to the delivered routing policy.

所述对等网络域申请业务互通功能时,向域间业务路由控制服务器上报对等网络域和部署的业务网关的相关信息。When the peer-to-peer network domain applies for a service interworking function, it reports relevant information of the peer-to-peer network domain and deployed service gateways to the inter-domain service routing control server.

所述相关信息包括:业务网关标识、业务网关配置、与其它对等网络域之间的链路状态、以及业务网关所归属的对等网络域配置信息。The related information includes: service gateway identification, service gateway configuration, link status with other peer-to-peer network domains, and configuration information of the peer-to-peer network domain to which the service gateway belongs.

所述客户端获知所述业务对端位于其它对等网络域时,向域间业务路由控制服务器发起业务路由请求,并根据域间业务路由控制服务器返回的响应向相关的业务网关发送业务请求;或者,When the client knows that the service peer is located in another peer-to-peer network domain, it initiates a service routing request to the inter-domain service routing control server, and sends a service request to the relevant service gateway according to the response returned by the inter-domain service routing control server; or,

所述客户端直接向已知的业务网关发起业务请求。The client directly initiates a service request to a known service gateway.

所述涉及业务的请求为业务路由请求,其中携带会话双方的源和目的网络的信息。The service-related request is a service routing request, which carries information about the source and destination networks of both parties in the session.

所述路由策略为转发流表,所述业务消息包括业务请求;The routing strategy is a forwarding flow table, and the service message includes a service request;

进行所述转发时,业务网关根据下发的转发流表,将业务消息转发给其它业务网关或客户端进行处理。When performing the forwarding, the service gateway forwards the service message to other service gateways or clients for processing according to the delivered forwarding flow table.

进行所述转发时,如果根据转发流表查询不到相应的报文,则向域间业务路由控制服务器进一步查询。When performing the forwarding, if no corresponding message can be queried according to the forwarding flow table, further query is made to the inter-domain service routing control server.

一种业务路由系统,应用于本地对等网络域的客户端与其它的对等网络域的业务对端进行业务互通的场景,该系统包括域间业务路由控制服务器、业务网关;其中,A service routing system, which is applied to the scenario where a client in a local peer-to-peer network domain and a service peer in another peer-to-peer network domain perform business interworking, the system includes an inter-domain service routing control server and a service gateway; wherein,

所述域间业务路由控制服务器,用于在收到本地对等网络域的客户端发送的涉及业务的请求后,为本次业务会话选择业务网关并向所选的业务网关下发路由策略;The inter-domain service routing control server is configured to select a service gateway for this service session and issue a routing policy to the selected service gateway after receiving a service-related request sent by a client in the local peer-to-peer network domain;

所选的所述业务网关,用于根据下发的所述路由策略进行业务消息的转发。The selected service gateway is used to forward service messages according to the issued routing policy.

所述对等网络域申请业务互通功能时,用于向域间业务路由控制服务器上报对等网络域和部署的业务网关的相关信息。When the peer-to-peer network domain applies for the service interworking function, it is used to report the relevant information of the peer-to-peer network domain and the deployed service gateway to the inter-domain service routing control server.

所述相关信息包括:业务网关标识、业务网关配置、与其它对等网络域之间的链路状态、以及业务网关所归属的对等网络域配置信息。The related information includes: service gateway identification, service gateway configuration, link status with other peer-to-peer network domains, and configuration information of the peer-to-peer network domain to which the service gateway belongs.

所述客户端获知所述业务对端位于其它对等网络域时,用于向域间业务路由控制服务器发起业务路由请求,并根据域间业务路由控制服务器返回的响应向相关的业务网关发送业务请求;或者,When the client knows that the service peer is located in another peer-to-peer network domain, it is used to initiate a service routing request to the inter-domain service routing control server, and send a service to the relevant service gateway according to the response returned by the inter-domain service routing control server request; or,

所述客户端用于直接向已知的业务网关发起业务请求。The client is used to directly initiate a service request to a known service gateway.

所述涉及业务的请求为业务路由请求,其中携带会话双方的源和目的网络的信息。The service-related request is a service routing request, which carries information about the source and destination networks of both parties in the session.

所述路由策略为转发流表,所述业务消息包括业务请求;The routing strategy is a forwarding flow table, and the service message includes a service request;

进行所述转发时,所述业务网关用于根据下发的转发流表,将业务消息转发给其它业务网关或客户端进行处理。When performing the forwarding, the service gateway is used to forward the service message to other service gateways or clients for processing according to the issued forwarding flow table.

进行所述转发时,如果根据转发流表查询不到相应的报文,所述业务网关用于向域间业务路由控制服务器进一步查询。When performing the forwarding, if no corresponding message can be queried according to the forwarding flow table, the service gateway is used to further inquire the inter-domain service routing control server.

一种业务路由装置,应用于本地对等网络域的客户端与其它的对等网络域的业务对端进行业务互通的场景,该装置设置于域间业务路由控制服务器中,包括业务路由控制模块、业务网关管理模块和协议控制功能模块;其中,A service routing device, which is applied to a scene where a client in a local peer-to-peer network domain and a service peer in another peer-to-peer network domain perform business interworking, the device is set in an inter-domain service routing control server, and includes a service routing control module , a service gateway management module and a protocol control function module; wherein,

所述业务路由控制模块,用于为本次业务会话选择业务网关;还根据针对业务网关的选择结果,通过协议控制功能模块提供的接口,向所选的业务网关下发路由策略;The service routing control module is used to select a service gateway for this service session; it also sends a routing strategy to the selected service gateway through the interface provided by the protocol control function module according to the selection result for the service gateway;

所述业务网关管理模块,用于为所述业务路由控制模块提供选择业务网关的依据;The service gateway management module is used to provide the basis for selecting a service gateway for the service routing control module;

所述协议控制功能模块,用于提供域间业务路由控制服务器和业务网关之间的信息交互通道。The protocol control function module is used to provide an information exchange channel between the inter-domain service routing control server and the service gateway.

所述业务路由控制模块在选择业务网关时,用于根据业务路由请求判断会话双方的源对等网络域和目的对等网络域的信息,据此为本次业务会话选择业务网关;When the service routing control module selects the service gateway, it is used to judge the information of the source peer-to-peer network domain and the destination peer-to-peer network domain of both parties in the session according to the service route request, and select the service gateway for this service session accordingly;

进行选择时的主要依据是业务网关管理模块所提供的对等网络域以及对等网络域的业务网关信息。The main basis for making the selection is the peer-to-peer network domain and the service gateway information of the peer-to-peer network domain provided by the service gateway management module.

所述业务网关管理模块,用于收集所有对等网络域的基本配置信息和部署的业务网关信息,以作为所述业务路由控制模块选择业务网关的依据;The service gateway management module is used to collect basic configuration information of all peer-to-peer network domains and deployed service gateway information as a basis for the service routing control module to select a service gateway;

收集的所述业务网关信息包括:业务网关标识、业务网关配置、与其它对等网络域之间的链路状态、以及业务网关所归属的对等网络域配置信息。The collected service gateway information includes: service gateway identifier, service gateway configuration, link status with other peer-to-peer network domains, and configuration information of the peer-to-peer network domain to which the service gateway belongs.

所述路由策略为转发流表。The routing policy is a forwarding flow table.

本发明提供的对等网络之间的业务路由方法、装置和系统,对涉及的对等网络本身影响小,具有扩展性、可管理性,并且配置简单;同时业务消息的路由效率高,易于实现业务网关之间的负荷均衡。The service routing method, device and system between peer-to-peer networks provided by the present invention have little impact on the involved peer-to-peer network itself, have scalability, manageability, and simple configuration; at the same time, the routing efficiency of service messages is high and easy to implement Load balancing between service gateways.

附图说明 Description of drawings

图1为现有技术中用于实现对等网络业务互通的网络架构示意图;FIG. 1 is a schematic diagram of a network architecture for realizing peer-to-peer network service intercommunication in the prior art;

图2为本发明实施例一的实现对等网络业务路由网络的系统结构示意图;FIG. 2 is a schematic structural diagram of a system implementing a peer-to-peer network service routing network according to Embodiment 1 of the present invention;

图3为本发明实施例二的实现对等网络业务路由的流程图;FIG. 3 is a flow chart of implementing peer-to-peer network service routing according to Embodiment 2 of the present invention;

图4为本发明实施例三的实现对等网络业务路由的消息流程图;FIG. 4 is a message flow diagram for implementing peer-to-peer network service routing according to Embodiment 3 of the present invention;

图5为本发明实施例四的实现对等网络业务路由的另一种消息流程图;FIG. 5 is another message flow diagram for implementing peer-to-peer network service routing according to Embodiment 4 of the present invention;

图6为本发明实施例五的实现对等网络域间业务路由控制服务器的装置原理图;FIG. 6 is a schematic diagram of a device implementing a peer-to-peer network inter-domain service routing control server according to Embodiment 5 of the present invention;

图7为本发明实施例的业务路由流程简图。FIG. 7 is a simplified flowchart of a service routing process according to an embodiment of the present invention.

具体实施方式 Detailed ways

在软件定义网络(Software Defined Network,SDN)技术的基础技术中,可以采用转发/控制分离架构,由外置控制面实体控制转发面设备实现各种转发逻辑,而转发面设备的主要功能就是根据转发流表等路由策略执行受控转发,具体的转发行为是标准化的:收到一条报文,取出其头部L(层)2/L3/L4相关字段值,以该字段值作为关键字查找转发流表;当匹配到一个表项后,根据表项内容中的指令集对报文字段进行变换,之后根据指示将完成变换的报文转发到逻辑端口或物理端口。In the basic technology of software-defined network (Software Defined Network, SDN) technology, the forwarding/control separation architecture can be adopted, and the external control plane entity controls the forwarding plane equipment to realize various forwarding logics, and the main function of the forwarding plane equipment is based on Routing policies such as forwarding flow tables implement controlled forwarding, and the specific forwarding behavior is standardized: when a message is received, take out the L (layer) 2/L3/L4 related field value in its header, and use the field value as a keyword to search Forwarding flow table; when an entry is matched, the packet field is transformed according to the instruction set in the entry content, and then the transformed packet is forwarded to a logical port or a physical port according to the instruction.

基于上述技术内容,可以部署受控的媒体面转发设备以作为业务网关,采用集中的域间业务路由控制服务器管理业务网关,以实现域间业务路由控制功能。Based on the above technical content, a controlled media plane forwarding device can be deployed as a service gateway, and a centralized inter-domain service routing control server is used to manage the service gateway to realize the inter-domain service routing control function.

在实际应用中,针对多种异构对等网络环境,可以设置对等网络之间的业务路由系统,包括客户端、对等网络域、域间业务路由控制服务器、业务网关等;其中,In practical applications, for a variety of heterogeneous peer-to-peer network environments, a service routing system between peer-to-peer networks can be set up, including clients, peer-to-peer network domains, inter-domain service routing control servers, and service gateways; among them,

所述对等网络域申请业务互通功能时,向域间业务路由控制服务器上报对等网络域和部署的业务网关的相关信息;When the peer-to-peer network domain applies for the service interworking function, it reports the relevant information of the peer-to-peer network domain and the deployed service gateway to the inter-domain service routing control server;

客户端与其它对等网络域的业务对端进行通信时,向域间业务路由控制服务器发起业务路由请求;When the client communicates with service peers in other peer-to-peer network domains, it initiates a service routing request to the inter-domain service routing control server;

域间业务路由控制服务器收到业务路由请求后,为本次业务会话选择合适的业务网关并向所选的业务网关下发转发流表等路由策略;After receiving the service routing request, the inter-domain service routing control server selects a suitable service gateway for this service session and sends routing policies such as forwarding flow tables to the selected service gateway;

业务网关根据下发的转发流表等路由策略,将所述业务请求转发给其它业务网关或客户端进行处理。The service gateway forwards the service request to other service gateways or clients for processing according to the delivered routing policies such as the forwarding flow table.

进一步地,所述对等网络域申请与其它对等网络域进行业务互通时,需要向域间业务路由控制服务器上报的相关信息包括,业务网关标识、业务网关配置、与其它对等网络域之间的链路状态、以及业务网关所归属的对等网络域配置信息,如节点及资源的域名、IP地址段分布等;Further, when the peer-to-peer network domain applies for business interworking with other peer-to-peer network domains, the relevant information that needs to be reported to the inter-domain service routing control server includes the service gateway identifier, service gateway configuration, and other peer-to-peer network domains. The link status between them, and the configuration information of the peer-to-peer network domain to which the service gateway belongs, such as the domain names of nodes and resources, the distribution of IP address segments, etc.;

进一步地,所述客户端获知所述业务对端位于其它对等网络域时,由客户端向域间业务路由控制服务器发起业务路由请求,并根据域间业务路由控制服务器返回的响应向相关的业务网关发送业务请求;当然,客户端也可以直接向已知的业务网关发起业务请求;Further, when the client knows that the service peer is located in another peer-to-peer network domain, the client initiates a service routing request to the inter-domain service routing control server, and reports to the relevant The service gateway sends a service request; of course, the client can also directly initiate a service request to a known service gateway;

进一步地,所述客户端与其它对等网络域的业务对端进行通信时,向域间业务路由控制服务器发起的业务路由请求,需要携带会话双方的源和目的网络的信息;Further, when the client communicates with service peers in other peer-to-peer network domains, the service routing request initiated to the inter-domain service routing control server needs to carry the information of the source and destination networks of both parties in the session;

进一步地,所述业务网关根据转发流表进行报文转发时,如果根据转发流表查询不到相应的报文,则向域间业务路由控制服务器进一步查询;Further, when the service gateway forwards the message according to the forwarding flow table, if the corresponding message cannot be queried according to the forwarding flow table, it further inquires to the inter-domain service routing control server;

可见,可以在对等网络域独立部署业务网关,这些业务网关由统一的域间业务路由控制服务器管理。当发生跨域的业务请求时,由域间业务路由控制服务器负责为会话选择合适的业务网关并向所选的业务网关下发转发流表等路由策略,该业务网关则根据所述转发流表等路由策略对所述业务请求以及后续的业务消息进行转发。It can be seen that service gateways can be independently deployed in the peer-to-peer network domain, and these service gateways are managed by a unified inter-domain service routing control server. When a cross-domain service request occurs, the inter-domain service routing control server is responsible for selecting an appropriate service gateway for the session and delivering routing policies such as forwarding flow table to the selected service gateway, and the service gateway then forwards the flow according to the forwarding flow table and other routing strategies to forward the service request and subsequent service messages.

下面结合附图及具体实施例对本发明进行详细说明。The present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.

实施例一Embodiment one

图2是实现对等网络业务路由网络的系统结构示意图。如图2所示,该系统包括对等网络域201、客户端203、域间业务路由控制服务器204、业务网关205等;其中对等网络域201是由多个对等的节点206组成的叠加网。Fig. 2 is a schematic structural diagram of a system implementing a peer-to-peer network service routing network. As shown in Figure 2, the system includes a peer-to-peer network domain 201, a client 203, an inter-domain service routing control server 204, a service gateway 205, etc.; wherein the peer-to-peer network domain 201 is a superposition of multiple peer-to-peer nodes 206 net.

为了实现多个异构的对等网络域之间的业务互通问题,所述业务网关由每个对等网络域的运营者独立部署,作为本对等网络域的业务消息出口和入口。所述域间业务路由控制服务器,负责管理所有对等网络域的业务网关、为跨域的业务路由选择合适的业务网关并向所选的业务网关下发转发流表。In order to realize the service intercommunication between multiple heterogeneous peer-to-peer network domains, the service gateway is independently deployed by the operator of each peer-to-peer network domain as the service message egress and entrance of the peer-to-peer network domain. The inter-domain service routing control server is responsible for managing service gateways in all peer-to-peer network domains, selecting a suitable service gateway for cross-domain service routing, and delivering a forwarding flow table to the selected service gateway.

对等网络域申请与其他的对等网络域互通时,需要将自身以及部署的业务网关的基本配置信息上报给域间业务路由控制服务器,以作为业务路由的路径选择的依据。具体地,对等网络域需要上报给域间业务路由控制服务器的信息包括业务网关标识、业务网关配置(端口及状态等)、与其它对等网络域之间的链路状态、以及业务网关所归属的对等网络域配置(节点及资源的域名分布等)。其中,还可以由域间业务路由控制服务器控制各业务网关之间相互进行链接层探测协议,以收集业务网关之间的链路状态,进行链接层探测协议以收集所述链路状态的具体方法类似于OpenFlow(开放流)网络的拓扑探测方法。业务网关根据已下发到本地的转发流表对业务消息执行修改/转发等操作,对于无法根据本地转发流表操作的业务消息,通过与域间业务路由控制服务器之间的控制面通道发起业务路由请求,由域间业务路由控制服务器在进一步判断后向业务网关下发新的转发流表,业务网关再根据新下发的所述转发流表进行转发。When a peer-to-peer network domain applies for interworking with other peer-to-peer network domains, it needs to report the basic configuration information of itself and the deployed service gateway to the inter-domain service routing control server as the basis for path selection of service routing. Specifically, the information that the peer-to-peer network domain needs to report to the inter-domain service routing control server includes the service gateway identifier, the service gateway configuration (port and status, etc.), the link status with other peer-to-peer network domains, and the The assigned peer-to-peer network domain configuration (domain name distribution of nodes and resources, etc.). Among them, the inter-domain service routing control server can also control the link layer detection protocol between the service gateways to collect the link status between the service gateways, and the specific method of performing the link layer detection protocol to collect the link status Similar to the topology detection method of OpenFlow (Open Flow) network. The service gateway performs operations such as modifying/forwarding business messages according to the forwarding flow table that has been delivered to the local area. For service messages that cannot be operated according to the local forwarding flow table, the service is initiated through the control plane channel with the inter-domain service routing control server. For the routing request, the inter-domain service routing control server sends a new forwarding flow table to the service gateway after further judgment, and the service gateway forwards it according to the newly issued forwarding flow table.

实施例二Embodiment two

图3是本发明实施例二的实现对等网络业务路由的流程图,该流程可以基于实施例一所示的系统实现。图3所示路程主要包括以下步骤:FIG. 3 is a flow chart of implementing peer-to-peer network service routing according to Embodiment 2 of the present invention, and this process can be realized based on the system shown in Embodiment 1. The route shown in Figure 3 mainly includes the following steps:

步骤301:对等网络域申请与其它的对等网络域业务互通,向域间业务路由控制服务器上报本网络域的相关信息;Step 301: The peer-to-peer network domain applies for service interworking with other peer-to-peer network domains, and reports relevant information of the network domain to the inter-domain service routing control server;

所述相关信息包括对等网络域的业务网关标识、业务网关配置、与其它对等网络域之间的链路状态、以及业务网关所归属的对等网络域的配置信息;The relevant information includes the service gateway identifier of the peer-to-peer network domain, the service gateway configuration, the link status with other peer-to-peer network domains, and the configuration information of the peer-to-peer network domain to which the service gateway belongs;

所述对等网络域的配置信息包括分配的域名,和/或终端的IP地址前缀等;The configuration information of the peer-to-peer network domain includes the assigned domain name, and/or the IP address prefix of the terminal, etc.;

步骤302:域间业务路由控制服务器收集所有对等网络域的配置信息、业务网关信息、不同对等网络域的业务网关之间的链路状态信息、以及对等网络域之间的业务互通协议等;Step 302: The inter-domain service routing control server collects configuration information of all peer-to-peer network domains, service gateway information, link status information between service gateways of different peer-to-peer network domains, and service interworking protocols between peer-to-peer network domains wait;

所述不同对等网络域的业务网关之间的链路状态信息,可以在对等网络域申请加入互通网络时直接上报,或者由域间业务路由控制服务器指示业务网关之间相互进行链路探测以获得;The link state information between the service gateways of different peer-to-peer network domains may be directly reported when the peer-to-peer network domains apply to join the interworking network, or the inter-domain service routing control server instructs the service gateways to perform link detection on each other to obtain;

所述对等网络域之间的业务互通协议是指对等网络域运营者之间的协定,如与哪些对等网络域互通哪些业务,以及业务优先级、计费信息等;The service interworking agreement between the peer-to-peer network domains refers to the agreement between the operators of the peer-to-peer network domains, such as which services are interoperable with which peer-to-peer network domains, as well as service priority, charging information, etc.;

步骤303:域间业务路由控制服务器根据业务路由请求中携带的业务会话的源网络域信息和目的网络域信息,选择合适的业务网关建立会话路径,并向所选的业务网关下发转发流表;Step 303: The inter-domain service routing control server selects an appropriate service gateway to establish a session path according to the source network domain information and destination network domain information of the service session carried in the service routing request, and sends a forwarding flow table to the selected service gateway ;

当发生跨网络域的业务请求时,或者客户端可以直接向域间业务路由控制服务器发起业务路由请求;或者客户端直接向本域的业务网关发起业务请求,当所述本域的业务网关本地没有相应的转发流表时,再由该业务网关向域间业务路由控制服务器发起所述业务路由请求;When a service request across network domains occurs, the client may directly initiate a service routing request to the inter-domain service routing control server; or the client may directly initiate a service request to the service gateway of the local domain. When there is no corresponding forwarding flow table, the service gateway initiates the service routing request to the inter-domain service routing control server;

步骤304:业务网关根据本地的转发流表将业务请求及后续的业务消息转发到目的对等网络域;Step 304: The service gateway forwards the service request and subsequent service messages to the destination peer-to-peer network domain according to the local forwarding flow table;

若所述业务网关的本地转发流表中没有所述业务消息的转发表项,所述业务网关向域间业务路由控制服务器发起业务路由请求,再根据域间业务路由控制服务器下发的转发流表进行业务消息的转发;If there is no forwarding entry of the service message in the local forwarding flow table of the service gateway, the service gateway initiates a service routing request to the inter-domain service routing control server, and then according to the forwarding flow issued by the inter-domain service routing control server The table forwards business messages;

所述的业务网关可以作为本对等网络域的客户端连接到本对等网络域上,也可以作为普通的媒体转发设备与本对等网络域的客户端或节点相连。The service gateway can be connected to the peer-to-peer network domain as a client of the peer-to-peer network domain, or can be connected to the client or node of the peer-to-peer network domain as a common media forwarding device.

实施例三Embodiment three

图4是本发明实施例三的实现对等网络业务路由的一种消息流程图。其中对等网络域2的业务网关B作为普通媒体转发设备连接到对等网络域2的客户端或节点上。在实际应用时,客户端发起业务请求时,首先判断业务对端是否位于本对等网络域,如果不是,客户端首先向域间业务路由控制服务器请求业务路由路径。域间业务路由控制服务器根据客户端的业务路由请求,为本次业务选择合适的业务网关,并向所选的业务网关下发转发流表以建立转发路径,还将业务网关的选择结果通知给客户端。客户端根据域间业务路由控制服务器返回的选择结果向所选的业务网关发送业务请求,业务网关根据下发的转发流表将收到的业务请求转发到目的对端网络域的客户端或节点上。具体步骤描述如下:FIG. 4 is a message flow chart for implementing peer-to-peer network service routing according to Embodiment 3 of the present invention. The service gateway B of the peer-to-peer network domain 2 is connected to the client or node of the peer-to-peer network domain 2 as a common media forwarding device. In actual application, when the client initiates a service request, it first judges whether the service peer is located in the peer-to-peer network domain. If not, the client first requests the service routing path from the inter-domain service routing control server. The inter-domain service routing control server selects the appropriate service gateway for this service according to the service routing request of the client, sends a forwarding flow table to the selected service gateway to establish a forwarding path, and notifies the client of the selection result of the service gateway end. The client sends a service request to the selected service gateway according to the selection result returned by the inter-domain service routing control server, and the service gateway forwards the received service request to the client or node in the destination peer network domain according to the issued forwarding flow table superior. The specific steps are described as follows:

步骤401:对等网络域1的客户端A发起业务请求,并且判断出业务对端是位于对等网络域2的客户端B;客户端A向域间业务路由控制服务器发起业务路由请求;Step 401: client A in peer-to-peer network domain 1 initiates a service request, and determines that the service peer is client B in peer-to-peer network domain 2; client A initiates a service routing request to the inter-domain service routing control server;

所述的业务路由请求携带必要的信息,使域间业务路由控制服务器可以获取本次业务会话双方的源对等网络域和目的对等网络域的信息,如会话双方用户的归属域名信息、客户端的地址信息等;The service routing request carries necessary information, so that the inter-domain service routing control server can obtain the information of the source peer-to-peer network domain and the destination peer-to-peer network domain of both sides of the business session, such as the attribution domain name information of the users on both sides of the session, the customer end address information, etc.;

客户端A可以通过预配置的方式,或者通过DNS(域名系统)查询的方式,获取域间业务路由控制服务器的地址信息;Client A can obtain the address information of the inter-domain service routing control server through pre-configuration or through DNS (Domain Name System) query;

步骤402:域间业务路由控制服务器收到业务路由请求,为本次业务选择对等网络域1的业务网关A和对等网络域2的业务网关B作为转发节点;Step 402: The inter-domain service routing control server receives the service routing request, and selects the service gateway A of the peer-to-peer network domain 1 and the service gateway B of the peer-to-peer network domain 2 as forwarding nodes for this service;

步骤403:域间业务路由控制服务器为本次业务向业务网关A下发转发流表;Step 403: The inter-domain service routing control server sends a forwarding flow table to service gateway A for this service;

步骤404:域间业务路由控制服务器为本次业务向业务网关B下发转发流表;Step 404: The inter-domain service routing control server sends a forwarding flow table to service gateway B for this service;

步骤405:域间业务路由控制服务器向客户端A返回业务路由响应消息,其中携带为本次业务会话所选择的业务网关A的地址信息;Step 405: The inter-domain service routing control server returns a service routing response message to client A, which carries the address information of service gateway A selected for this service session;

步骤406:客户端A向业务网关A发送业务请求;Step 406: client A sends a service request to service gateway A;

步骤407:业务网关A收到业务请求,并在本地转发流表进行匹配查找;Step 407: Service gateway A receives the service request, and performs matching search in the local forwarding flow table;

步骤408:业务网关A根据本地转发流表的查找结果,向业务网关B转发业务请求;Step 408: Service gateway A forwards the service request to service gateway B according to the search result of the local forwarding flow table;

步骤409:业务网关B收到业务请求,并在本地转发流表中进行匹配查找,获知业务请求需要转发给与业务网关B相连的对等网络域2的节点C进行处理;Step 409: Service gateway B receives the service request, and performs a matching search in the local forwarding flow table, and learns that the service request needs to be forwarded to node C in the peer-to-peer network domain 2 connected to service gateway B for processing;

步骤410:业务网关B向连接的对等网络域2的节点C发送业务请求;Step 410: Service gateway B sends a service request to node C in the connected peer-to-peer network domain 2;

步骤411:对等网络域2的节点C向业务请求的目的客户端B发生业务请求;Step 411: Node C in the peer-to-peer network domain 2 sends a service request to the destination client B of the service request;

步骤412:对等网络域2的客户端B完成业务处理,并返回响应消息;Step 412: the client B in the peer-to-peer network domain 2 completes the business processing and returns a response message;

这里,步骤411-412为所述业务消息在对等网络域2的内部处理流程,具体处理方式根据对等网络域2的P2P算法和业务机制决定,所述响应消息可能是P2P消息;Here, steps 411-412 are the internal processing flow of the service message in the peer-to-peer network domain 2, and the specific processing method is determined according to the P2P algorithm and service mechanism of the peer-to-peer network domain 2, and the response message may be a P2P message;

步骤413-415:对等网络域2的节点C将业务响应消息,经过业务网关B、业务网关A返回给客户端A。业务网关对业务响应消息的转发处理也是基于转发流表实现的。Steps 413-415: Node C in the peer-to-peer network domain 2 returns the service response message to client A via service gateway B and service gateway A. The forwarding processing of the service response message by the service gateway is also realized based on the forwarding flow table.

实施例四Embodiment Four

图5是本发明实施例四的实现对等网络业务路由的另一种消息流程图。其中,对等网络域2的业务网关B本身作为客户端连接到对等网络域2的对等节点上,即业务网关B内有对等网络客户端模块可以直接进行对等网业务处理。实际应用时,客户端发起业务时可以向某个业务网关发送业务请求,该业务网关根据本地的转发流表的查询结果进行对所述业务请求进行转发,若所述转发流表中没有所述业务请求的转发表项,则通过与域间业务路由控制服务器之间的控制面通道发起业务路由请求。域间业务路由控制服务器根据所述业务请求为本次业务选择合适的业务网关,并向所选的业务网关下发转发流表以建立转发路径。所述业务网关根据已下发的转发流表将业务请求转发到目的对端网络域的客户端或节点上。具体步骤描述如下:FIG. 5 is another message flow diagram for implementing peer-to-peer network service routing according to Embodiment 4 of the present invention. Wherein, the service gateway B of the peer-to-peer network domain 2 itself is connected to the peer node of the peer-to-peer network domain 2 as a client, that is, there is a peer-to-peer network client module in the service gateway B that can directly process peer-to-peer network services. In actual application, when a client initiates a service, it can send a service request to a certain service gateway, and the service gateway forwards the service request according to the query result of the local forwarding flow table, if there is no such service request in the forwarding flow table For the forwarding entry of the service request, the service routing request is initiated through the control plane channel with the inter-domain service routing control server. The inter-domain service routing control server selects a suitable service gateway for this service according to the service request, and sends a forwarding flow table to the selected service gateway to establish a forwarding path. The service gateway forwards the service request to the client or node in the destination peer network domain according to the delivered forwarding flow table. The specific steps are described as follows:

步骤501:对等网络域1的客户端A发起业务请求,并判断出业务对端是位于对等网络域2的客户端B;客户端A发起传统业务请求;Step 501: client A in peer-to-peer network domain 1 initiates a service request, and determines that the service peer is client B in peer-to-peer network domain 2; client A initiates a traditional service request;

步骤502:客户端A直接向业务网关A发起业务请求;Step 502: client A directly initiates a service request to service gateway A;

客户端A可以通过预配置的方式,或者通过DNS查询的方式,获取业务网关A的地址信息;Client A can obtain the address information of service gateway A through pre-configuration or through DNS query;

步骤503:业务网关A收到业务请求,在本地流表中进行匹配查询;Step 503: Service gateway A receives the service request, and performs a matching query in the local flow table;

对于本次业务的首个报文,业务网关A上一般没有相应的转发流表项;For the first packet of this service, there is generally no corresponding forwarding flow entry on service gateway A;

步骤504:业务网关A的本地转发流表中没有所述业务请求的转发表项,向域间业务路由控制服务器发起业务路由请求。域间业务路由控制服务器为本次业务选择对等网络域1的业务网关A和对等网络域2的业务网关B作为转发节点;Step 504: There is no forwarding entry for the service request in the local forwarding flow table of service gateway A, and initiates a service routing request to the inter-domain service routing control server. The inter-domain service routing control server selects the service gateway A of the peer-to-peer network domain 1 and the service gateway B of the peer-to-peer network domain 2 as forwarding nodes for this service;

所述的业务路由请求携带必要的信息,使域间业务路由控制服务器可以获取本次业务会话双方的源对等网络域和目的对等网络域的信息,如会话双方用户的归属域名信息、客户端的地址信息等;The service routing request carries necessary information, so that the inter-domain service routing control server can obtain the information of the source peer-to-peer network domain and the destination peer-to-peer network domain of both sides of the business session, such as the attribution domain name information of the users on both sides of the session, the customer end address information, etc.;

步骤505:域间业务路由控制服务器为本次业务向业务网关A下发转发流表;Step 505: The inter-domain service routing control server sends a forwarding flow table to service gateway A for this service;

步骤506:域间业务路由控制服务器为本次业务向业务网关B下发转发流表;Step 506: The inter-domain service routing control server sends a forwarding flow table to service gateway B for this service;

步骤507:业务网关A根据域间业务路由控制服务器为本次业务下发的所述转发流表,向业务网关B转发业务请求;Step 507: Service gateway A forwards the service request to service gateway B according to the forwarding flow table issued by the inter-domain service routing control server for this service;

步骤508:业务网关B收到业务请求,并在本地转发流表进行匹配查找,获知该业务消息需要进行本地处理;Step 508: Service gateway B receives the service request, and performs a matching search in the local forwarding flow table, and learns that the service message needs to be processed locally;

步骤509-510:业务网关B根据对等网络域2的内部处理机制,经过中间节点C向客户端B发起业务请求;Steps 509-510: Service gateway B initiates a service request to client B through intermediate node C according to the internal processing mechanism of peer-to-peer network domain 2;

步骤511-512,:客户端B经由中间节点C向业务网关C返回业务响应消息;Steps 511-512: client B returns a service response message to service gateway C via intermediate node C;

这里,步骤509-512的业务处理在对等网络域2的内部进行,具体的业务处理方式可以根据对等网络域2的P2P算法和业务机制决定,所述业务消息可能是P2P消息;Here, the service processing in steps 509-512 is carried out inside the P2P network domain, and the specific service processing mode can be determined according to the P2P algorithm and service mechanism of the P2P network domain 2, and the service message may be a P2P message;

步骤513-514:业务网关B将业务处理的结果,经过业务网关A返回给客户端A。业务网关A对返回业务处理结果的操作是基于转发流表实现的。Steps 513-514: Service gateway B returns the result of service processing to client A via service gateway A. The operation of service gateway A to return the service processing result is realized based on the forwarding flow table.

实施例五Embodiment five

图6是本发明实施例五的实现对等网络域间业务路由控制服务器的装置原理图。所述域间业务路由控制服务器与业务网关共同组成对等网域间业务路由系统。FIG. 6 is a schematic diagram of a device for implementing a peer-to-peer network inter-domain service routing control server according to Embodiment 5 of the present invention. The inter-domain service routing control server and the service gateway together form a peer-to-peer network inter-domain service routing system.

所述域间业务路由控制服务器主要包括业务路由控制模块、业务网关管理模块和协议控制功能模块;其中,The inter-domain service routing control server mainly includes a service routing control module, a service gateway management module and a protocol control function module; wherein,

业务路由控制模块,负责实现业务路由选择功能,根据业务路由请求判断会话双方的源对等网络域和目的对等网络域的信息,并为本次业务会话选择合适的业务网关,进行选择时的主要依据是业务网关管理模块所提供的对等网络域以及对等网络域的业务网关信息。根据针对业务网关的选择结果,业务路由控制模块通过协议控制功能模块提供的接口,向所选的业务网关下发转发流表。The service routing control module is responsible for realizing the service routing selection function, judging the information of the source peer-to-peer network domain and the destination peer-to-peer network domain of both parties in the session according to the service routing request, and selecting a suitable service gateway for this service session. The main basis is the peer-to-peer network domain and the service gateway information of the peer-to-peer network domain provided by the service gateway management module. According to the selection result for the service gateway, the service routing control module sends the forwarding flow table to the selected service gateway through the interface provided by the protocol control function module.

业务网关管理模块,负责收集所有对等网络域的基本配置信息和部署的业务网关信息,为业务路由控制模块提供选择业务网关的依据。具体地,业务网关管理模块需要收集的信息包括业务网关标识、业务网关配置(端口及状态等)、与其它对等网络域之间的链路状态、以及业务网关所归属的对等网络域配置信息(节点及资源的域名分布等)。The service gateway management module is responsible for collecting the basic configuration information of all peer-to-peer network domains and deployed service gateway information, and provides the basis for selecting a service gateway for the service routing control module. Specifically, the information that the service gateway management module needs to collect includes service gateway identification, service gateway configuration (port and status, etc.), link status with other peer-to-peer network domains, and peer-to-peer network domain configuration to which the service gateway belongs Information (domain name distribution of nodes and resources, etc.).

协议控制功能模块,用于提供域间业务路由控制服务器和业务网关之间的信息交互通道。所交互的信息主要包括通信安全验证、对等网络域信息上报、业务网关信息上报、配置、转发流表的下发与管理等。The protocol control function module is used to provide an information exchange channel between the inter-domain service routing control server and the service gateway. The exchanged information mainly includes communication security verification, peer-to-peer network domain information reporting, service gateway information reporting, configuration, delivery and management of forwarding flow tables, etc.

所述域间业务路由控制服务器和所述业务网关之间的通信协议可以是开放网络联盟(Open Networking Foundation,ONF)定义的控制与转发分离的OpenFlow协议,也可以是其它实现媒体网关控制的传统协议,如H.248、SIP等。The communication protocol between the inter-domain service routing control server and the service gateway can be the OpenFlow protocol defined by the Open Networking Foundation (ONF), which separates control and forwarding, or other traditional media gateway control protocols. Protocols, such as H.248, SIP, etc.

所述业务网关可以是传输层设备,或者是应用层设备。所述域间业务路由控制服务器和所述业务网关之间应用类似OpenFlow的协议,所述业务网关可以作为传输层设备,即业务网关仅基于本地转发流表中的指令进行报文修改和/或转发操作,并不进行任何业务相关的智能处理。若所述域间业务路由控制服务器和所述业务网关之间应用传统的媒体网关控制协议,所述业务网关可以可以作为应用层设备,在IP层之上进行一些业务智能处理,如业务报文解析、业务策略执行等。The service gateway may be a transport layer device or an application layer device. A protocol similar to OpenFlow is applied between the inter-domain service routing control server and the service gateway, and the service gateway can be used as a transport layer device, that is, the service gateway only performs message modification and/or The forwarding operation does not perform any business-related intelligent processing. If the traditional media gateway control protocol is applied between the inter-domain service routing control server and the service gateway, the service gateway can be used as an application layer device to perform some service intelligent processing on the IP layer, such as service message Analysis, business policy execution, etc.

本发明提供的对等网络之间的业务路由方法、装置和系统,对涉及的对等网络本身影响小,具有扩展性、可管理性,并且配置简单;同时业务消息的路由效率高,易于实现业务网关之间的负荷均衡。The service routing method, device and system between peer-to-peer networks provided by the present invention have little impact on the involved peer-to-peer network itself, have scalability, manageability, and simple configuration; at the same time, the routing efficiency of service messages is high and easy to implement Load balancing between service gateways.

以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention.

Claims (19)

1.一种业务路由方法,应用于本地对等网络域的客户端与其它的对等网络域的业务对端进行业务互通的场景,其特征在于,该方法包括:1. A service routing method, which is applied to the scene where the client in the local peer-to-peer network domain carries out business interworking with the service peers in other peer-to-peer network domains, it is characterized in that the method includes: 域间业务路由控制服务器收到本地对等网络域的客户端发送的涉及业务的请求后,为本次业务会话选择业务网关并向所选的业务网关下发路由策略;After receiving the service-related request sent by the client in the local peer-to-peer network domain, the inter-domain service routing control server selects a service gateway for this service session and issues a routing policy to the selected service gateway; 所选的业务网关根据下发的所述路由策略进行业务消息的转发。The selected service gateway forwards the service message according to the delivered routing policy. 2.根据权利要求1所述的方法,其特征在于,所述对等网络域申请业务互通功能时,向域间业务路由控制服务器上报对等网络域和部署的业务网关的相关信息。2. The method according to claim 1, wherein when the peer-to-peer network domain applies for the service interworking function, it reports the relevant information of the peer-to-peer network domain and the deployed service gateway to the inter-domain service routing control server. 3.根据权利要求2所述的方法,其特征在于,所述相关信息包括:业务网关标识、业务网关配置、与其它对等网络域之间的链路状态、以及业务网关所归属的对等网络域配置信息。3. The method according to claim 2, wherein the relevant information includes: service gateway identifier, service gateway configuration, link status with other peer-to-peer network domains, and the peer-to-peer domain to which the service gateway belongs Network domain configuration information. 4.根据权利要求1至3任一项所述的方法,其特征在于,4. The method according to any one of claims 1 to 3, characterized in that, 所述客户端获知所述业务对端位于其它对等网络域时,向域间业务路由控制服务器发起业务路由请求,并根据域间业务路由控制服务器返回的响应向相关的业务网关发送业务请求;或者,When the client knows that the service peer is located in another peer-to-peer network domain, it initiates a service routing request to the inter-domain service routing control server, and sends a service request to the relevant service gateway according to the response returned by the inter-domain service routing control server; or, 所述客户端直接向已知的业务网关发起业务请求。The client directly initiates a service request to a known service gateway. 5.根据权利要求1至3任一项所述的方法,其特征在于,所述涉及业务的请求为业务路由请求,其中携带会话双方的源和目的网络的信息。5. The method according to any one of claims 1 to 3, wherein the service-related request is a service routing request, which carries information about the source and destination networks of both parties in the session. 6.根据权利要求1至3任一项所述的方法,其特征在于,所述路由策略为转发流表,所述业务消息包括业务请求;6. The method according to any one of claims 1 to 3, wherein the routing strategy is a forwarding flow table, and the service message includes a service request; 进行所述转发时,业务网关根据下发的转发流表,将业务消息转发给其它业务网关或客户端进行处理。When performing the forwarding, the service gateway forwards the service message to other service gateways or clients for processing according to the delivered forwarding flow table. 7.根据权利要求6所述的方法,其特征在于,进行所述转发时,如果根据转发流表查询不到相应的报文,则向域间业务路由控制服务器进一步查询。7. The method according to claim 6, wherein when performing the forwarding, if no corresponding message can be queried according to the forwarding flow table, further query is made to the inter-domain service routing control server. 8.一种业务路由系统,应用于本地对等网络域的客户端与其它的对等网络域的业务对端进行业务互通的场景,其特征在于,该系统包括域间业务路由控制服务器、业务网关;其中,8. A service routing system, which is applied to the scene where the client in the local peer-to-peer network domain and the service counterparts in other peer-to-peer network domains perform business interworking, it is characterized in that the system includes an inter-domain service routing control server, a service Gateway; where, 所述域间业务路由控制服务器,用于在收到本地对等网络域的客户端发送的涉及业务的请求后,为本次业务会话选择业务网关并向所选的业务网关下发路由策略;The inter-domain service routing control server is configured to select a service gateway for this service session and issue a routing policy to the selected service gateway after receiving a service-related request sent by a client in the local peer-to-peer network domain; 所选的所述业务网关,用于根据下发的所述路由策略进行业务消息的转发。The selected service gateway is used to forward service messages according to the issued routing policy. 9.根据权利要求8所述的系统,其特征在于,所述对等网络域申请业务互通功能时,用于向域间业务路由控制服务器上报对等网络域和部署的业务网关的相关信息。9. The system according to claim 8, wherein when the peer-to-peer network domain applies for the service interworking function, it is used to report the relevant information of the peer-to-peer network domain and the deployed service gateway to the inter-domain service routing control server. 10.根据权利要求9所述的系统,其特征在于,所述相关信息包括:业务网关标识、业务网关配置、与其它对等网络域之间的链路状态、以及业务网关所归属的对等网络域配置信息。10. The system according to claim 9, wherein the relevant information includes: service gateway identification, service gateway configuration, link status with other peer-to-peer network domains, and the peer-to-peer domain to which the service gateway belongs Network domain configuration information. 11.根据权利要求8至10任一项所述的系统,其特征在于,11. A system according to any one of claims 8 to 10, wherein 所述客户端获知所述业务对端位于其它对等网络域时,用于向域间业务路由控制服务器发起业务路由请求,并根据域间业务路由控制服务器返回的响应向相关的业务网关发送业务请求;或者,When the client knows that the service peer is located in another peer-to-peer network domain, it is used to initiate a service routing request to the inter-domain service routing control server, and send a service to the relevant service gateway according to the response returned by the inter-domain service routing control server request; or, 所述客户端用于直接向已知的业务网关发起业务请求。The client is used to directly initiate a service request to a known service gateway. 12.根据权利要求8至10任一项所述的系统,其特征在于,所述涉及业务的请求为业务路由请求,其中携带会话双方的源和目的网络的信息。12. The system according to any one of claims 8 to 10, wherein the service-related request is a service routing request, which carries information about the source and destination networks of both parties in the session. 13.根据权利要求8至10任一项所述的系统,其特征在于,所述路由策略为转发流表,所述业务消息包括业务请求;13. The system according to any one of claims 8 to 10, wherein the routing strategy is a forwarding flow table, and the service message includes a service request; 进行所述转发时,所述业务网关用于根据下发的转发流表,将业务消息转发给其它业务网关或客户端进行处理。When performing the forwarding, the service gateway is used to forward the service message to other service gateways or clients for processing according to the delivered forwarding flow table. 14.根据权利要求13所述的系统,其特征在于,进行所述转发时,如果根据转发流表查询不到相应的报文,所述业务网关用于向域间业务路由控制服务器进一步查询。14. The system according to claim 13, wherein when performing the forwarding, if no corresponding message can be queried according to the forwarding flow table, the service gateway is used to further inquire the inter-domain service routing control server. 15.一种业务路由装置,应用于本地对等网络域的客户端与其它的对等网络域的业务对端进行业务互通的场景,其特征在于,该装置设置于域间业务路由控制服务器中,包括业务路由控制模块、业务网关管理模块和协议控制功能模块;其中,15. A service routing device, which is applied to the scenario where a client in a local peer-to-peer network domain and a service peer in another peer-to-peer network domain perform business interworking, characterized in that the device is set in an inter-domain service routing control server , including a service routing control module, a service gateway management module and a protocol control function module; wherein, 所述业务路由控制模块,用于为本次业务会话选择业务网关;还根据针对业务网关的选择结果,通过协议控制功能模块提供的接口,向所选的业务网关下发路由策略;The service routing control module is used to select a service gateway for this service session; it also sends a routing strategy to the selected service gateway through the interface provided by the protocol control function module according to the selection result for the service gateway; 所述业务网关管理模块,用于为所述业务路由控制模块提供选择业务网关的依据;The service gateway management module is used to provide the basis for selecting a service gateway for the service routing control module; 所述协议控制功能模块,用于提供域间业务路由控制服务器和业务网关之间的信息交互通道。The protocol control function module is used to provide an information exchange channel between the inter-domain service routing control server and the service gateway. 16.根据权利要求15所述的装置,其特征在于,16. The apparatus of claim 15, wherein: 所述业务路由控制模块在选择业务网关时,用于根据业务路由请求判断会话双方的源对等网络域和目的对等网络域的信息,据此为本次业务会话选择业务网关;When the service routing control module selects the service gateway, it is used to judge the information of the source peer-to-peer network domain and the destination peer-to-peer network domain of both parties in the session according to the service route request, and select the service gateway for this service session accordingly; 进行选择时的主要依据是业务网关管理模块所提供的对等网络域以及对等网络域的业务网关信息。The main basis for making the selection is the peer-to-peer network domain and the service gateway information of the peer-to-peer network domain provided by the service gateway management module. 17.根据权利要求15所述的装置,其特征在于,17. The apparatus of claim 15, wherein: 所述业务网关管理模块,用于收集所有对等网络域的基本配置信息和部署的业务网关信息,以作为所述业务路由控制模块选择业务网关的依据。The service gateway management module is used to collect basic configuration information of all peer-to-peer network domains and deployed service gateway information as a basis for the service routing control module to select a service gateway. 18.根据权利要求17所述的装置,其特征在于,18. The apparatus of claim 17, wherein: 收集的所述业务网关信息包括:业务网关标识、业务网关配置、与其它对等网络域之间的链路状态、以及业务网关所归属的对等网络域配置信息。The collected service gateway information includes: service gateway identifier, service gateway configuration, link status with other peer-to-peer network domains, and configuration information of the peer-to-peer network domain to which the service gateway belongs. 19.根据权利要求15至18任一项所述的装置,其特征在于,所述路由策略为转发流表。19. The device according to any one of claims 15 to 18, wherein the routing policy is a forwarding flow table.
CN201210004211.3A 2012-01-09 2012-01-09 A kind of service routing method, device and system Expired - Fee Related CN103200102B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210004211.3A CN103200102B (en) 2012-01-09 2012-01-09 A kind of service routing method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210004211.3A CN103200102B (en) 2012-01-09 2012-01-09 A kind of service routing method, device and system

Publications (2)

Publication Number Publication Date
CN103200102A true CN103200102A (en) 2013-07-10
CN103200102B CN103200102B (en) 2018-02-13

Family

ID=48722465

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210004211.3A Expired - Fee Related CN103200102B (en) 2012-01-09 2012-01-09 A kind of service routing method, device and system

Country Status (1)

Country Link
CN (1) CN103200102B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103532853A (en) * 2013-10-21 2014-01-22 杭州华三通信技术有限公司 Method and device for realizing heterogeneous stacking module
CN104168202A (en) * 2014-08-26 2014-11-26 华为技术有限公司 Method and device for forwarding Open Flow messages
CN104243340A (en) * 2014-09-28 2014-12-24 杭州华三通信技术有限公司 Message processing method and device in software-defined network
WO2015124026A1 (en) * 2014-02-21 2015-08-27 华为技术有限公司 Flow table entry generation method and device
CN105515975A (en) * 2015-11-24 2016-04-20 武汉烽火网络有限责任公司 Realization method and system for software defined networking based on application layer forwarding
CN105681215A (en) * 2015-12-29 2016-06-15 华为技术有限公司 Forwarding table entry generation method and controller
WO2016173233A1 (en) * 2015-04-30 2016-11-03 华为技术有限公司 Routing control method, device and system
CN106130787A (en) * 2016-07-28 2016-11-16 中国电信集团工会上海市网络操作维护中心委员会 A kind of transaction processing system based on software defined network
CN108243177A (en) * 2016-12-27 2018-07-03 中国移动通信有限公司研究院 A data transmission method and device
CN109842680A (en) * 2019-01-28 2019-06-04 南京钛佳汽车科技有限公司 It is a kind of to realize the system and method to interconnect between gateway external sensor
WO2020238418A1 (en) * 2019-05-28 2020-12-03 中兴通讯股份有限公司 Inter-domain data interaction method and apparatus

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101459650A (en) * 2007-12-15 2009-06-17 华为技术有限公司 Service routing method, service router, customer terminal equipment and service network system
CN101656765A (en) * 2009-09-14 2010-02-24 中兴通讯股份有限公司 Address mapping system and data transmission method of identifier/locator separation network
CN101677319A (en) * 2008-09-19 2010-03-24 华为技术有限公司 Method, apparatus and system for service access on the basis of XMPP protocol
CN101931999A (en) * 2010-08-31 2010-12-29 深圳市赫迪威信息技术有限公司 Service access method, portal switching server and service access system
GB2483280A (en) * 2010-09-02 2012-03-07 Skype Ltd Point-to-point communication with persistent connection to front-end server
CN103188144A (en) * 2011-12-29 2013-07-03 中兴通讯股份有限公司 System and method for achieving distributed gateway intercommunication

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101459650A (en) * 2007-12-15 2009-06-17 华为技术有限公司 Service routing method, service router, customer terminal equipment and service network system
CN101677319A (en) * 2008-09-19 2010-03-24 华为技术有限公司 Method, apparatus and system for service access on the basis of XMPP protocol
CN101656765A (en) * 2009-09-14 2010-02-24 中兴通讯股份有限公司 Address mapping system and data transmission method of identifier/locator separation network
CN101931999A (en) * 2010-08-31 2010-12-29 深圳市赫迪威信息技术有限公司 Service access method, portal switching server and service access system
GB2483280A (en) * 2010-09-02 2012-03-07 Skype Ltd Point-to-point communication with persistent connection to front-end server
CN103188144A (en) * 2011-12-29 2013-07-03 中兴通讯股份有限公司 System and method for achieving distributed gateway intercommunication

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103532853B (en) * 2013-10-21 2016-11-09 杭州华三通信技术有限公司 The implementation method of heterogeneous stacking model and device
CN103532853A (en) * 2013-10-21 2014-01-22 杭州华三通信技术有限公司 Method and device for realizing heterogeneous stacking module
US11082262B2 (en) 2014-02-21 2021-08-03 Huawei Technologies Co., Ltd. Flow entry generating method and apparatus
WO2015124026A1 (en) * 2014-02-21 2015-08-27 华为技术有限公司 Flow table entry generation method and device
US10341141B2 (en) 2014-02-21 2019-07-02 Huawei Technologies Co., Ltd. Flow entry generating method and apparatus
CN104168202B (en) * 2014-08-26 2017-10-24 华为技术有限公司 Open flows message forwarding method and device
CN104168202A (en) * 2014-08-26 2014-11-26 华为技术有限公司 Method and device for forwarding Open Flow messages
CN104243340B (en) * 2014-09-28 2017-11-10 新华三技术有限公司 Message processing method and device in a kind of software defined network
CN104243340A (en) * 2014-09-28 2014-12-24 杭州华三通信技术有限公司 Message processing method and device in software-defined network
WO2016173233A1 (en) * 2015-04-30 2016-11-03 华为技术有限公司 Routing control method, device and system
CN106209628A (en) * 2015-04-30 2016-12-07 华为技术有限公司 A kind of route control method, equipment and system
CN106209628B (en) * 2015-04-30 2019-05-28 华为技术有限公司 A kind of route control method, equipment and system
CN105515975A (en) * 2015-11-24 2016-04-20 武汉烽火网络有限责任公司 Realization method and system for software defined networking based on application layer forwarding
CN105515975B (en) * 2015-11-24 2019-01-04 武汉烽火网络有限责任公司 Software-oriented defines the realization method and system that network is forwarded based on application layer
CN105681215A (en) * 2015-12-29 2016-06-15 华为技术有限公司 Forwarding table entry generation method and controller
CN105681215B (en) * 2015-12-29 2019-02-12 华为技术有限公司 A method and controller for generating a forwarding entry
CN106130787B (en) * 2016-07-28 2020-04-24 中国电信集团工会上海市网络操作维护中心委员会 Service processing system based on software defined network
CN106130787A (en) * 2016-07-28 2016-11-16 中国电信集团工会上海市网络操作维护中心委员会 A kind of transaction processing system based on software defined network
CN108243177A (en) * 2016-12-27 2018-07-03 中国移动通信有限公司研究院 A data transmission method and device
CN108243177B (en) * 2016-12-27 2021-01-15 中国移动通信有限公司研究院 Data transmission method and device
CN109842680A (en) * 2019-01-28 2019-06-04 南京钛佳汽车科技有限公司 It is a kind of to realize the system and method to interconnect between gateway external sensor
CN109842680B (en) * 2019-01-28 2021-10-12 南京钛佳汽车科技有限公司 System and method for realizing interconnection and intercommunication between external sensors of gateway
WO2020238418A1 (en) * 2019-05-28 2020-12-03 中兴通讯股份有限公司 Inter-domain data interaction method and apparatus
US12218821B2 (en) 2019-05-28 2025-02-04 Zte Corporation Method and apparatus for inter-domain data interaction

Also Published As

Publication number Publication date
CN103200102B (en) 2018-02-13

Similar Documents

Publication Publication Date Title
CN103200102B (en) A kind of service routing method, device and system
CN105337857B (en) A kind of multi-path transmission method based on software defined network
JP5797849B2 (en) Extending the border gateway protocol for hosts to join / leave a virtual private network
CN104104614B (en) Name the software defined network controller system and its method in data network
JP5825351B2 (en) COMMUNICATION SYSTEM, CONTROL DEVICE, COMMUNICATION METHOD, AND PROGRAM
TWI548239B (en) OpenFlow switch, packet exchange method, SDN controller and data flow control method
US20110002240A1 (en) System and method for creating a transitive optimzed flow path
AlSaeed et al. Multicasting in software defined networks: A comprehensive survey
CN106789637B (en) Cross-domain service intercommunication path establishment method, controller and system
CN104468384A (en) System and method for achieving multi-service priorities
CN104106244A (en) Control device, communication system, communication method and program
CN105282191A (en) Load balancing system, controller and method
WO2012048613A1 (en) Centralized p2p system that supports nat traversal and nat traversal method
CN111435922A (en) Bandwidth sharing method
CN104506459B (en) Data pack transmission method, device and system in wisdom contract network
WO2016106649A1 (en) Cross-domain cooperative method, cooperative device and control device for network as a service business
WO2009056013A1 (en) A policy control method and system for layer two device
JP6070700B2 (en) Packet transfer system, control device, packet transfer method and program
WO2009103192A1 (en) A resource allocation method and a resource release method
Gifre et al. Experimental assessment of ABNO-driven multicast connectivity in flexgrid networks
WO2012048615A1 (en) Method and system for selecting relay nodes, and relay control node
Banchuen et al. An SDN framework for video conference in inter-domain network
CN110365549A (en) A processing method and processing system for an SPTN network
Baroncelli et al. Extending next generation network (NGN) architecture for connection-oriented transport
CN106330620A (en) A voice quality optimization method for power IMS network based on SBC rerouting

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180213

CF01 Termination of patent right due to non-payment of annual fee