+

CN103067295A - Method, device and system for service transmission - Google Patents

Method, device and system for service transmission Download PDF

Info

Publication number
CN103067295A
CN103067295A CN2013100019427A CN201310001942A CN103067295A CN 103067295 A CN103067295 A CN 103067295A CN 2013100019427 A CN2013100019427 A CN 2013100019427A CN 201310001942 A CN201310001942 A CN 201310001942A CN 103067295 A CN103067295 A CN 103067295A
Authority
CN
China
Prior art keywords
data flow
service
business data
destination node
sign
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.)
Pending
Application number
CN2013100019427A
Other languages
Chinese (zh)
Inventor
林程勇
龚钧
刘恩慧
李贺军
于志强
于德雷
胡士辉
李凤凯
丁万夫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN2013100019427A priority Critical patent/CN103067295A/en
Publication of CN103067295A publication Critical patent/CN103067295A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明提供一种业务传输的方法、装置与系统,方法包括:当接收到业务节点发送的业务数据流时,根据业务数据流中的业务特征标识获取业务数据流的目的业务标识;根据目的业务标识获取业务数据流的目的节点标识;根据目的节点标识向目的节点发送业务数据流。根据本实施例的业务传输的方法、装置与系统,根据业务数据流中的业务特征标识确定目的业务,再根据目的业务确定相应的目的节点,然后将该业务数据流发送至目的节点。这样,减轻了各业务节点的负担,而且易于业务的扩展。

Figure 201310001942

The present invention provides a method, device and system for service transmission. The method includes: when receiving a service data flow sent by a service node, obtaining the target service identifier of the service data flow according to the service feature identifier in the service data flow; Identify and obtain the destination node identifier of the service data flow; send the service data flow to the destination node according to the destination node identifier. According to the service transmission method, device and system of this embodiment, the target service is determined according to the service feature identifier in the service data flow, and then the corresponding destination node is determined according to the target service, and then the service data flow is sent to the destination node. In this way, the burden of each service node is lightened, and it is easy to expand the service.

Figure 201310001942

Description

业务传输的方法、装置与系统Method, device and system for service transmission

技术领域technical field

本发明涉及业务承载传输技术,尤其涉及一种业务传输的方法、装置与系统。The present invention relates to service bearer transmission technology, in particular to a service transmission method, device and system.

背景技术Background technique

在SDN(Software Defined Network,软件定义网络)架构下,通常会部署大量的业务,多个业务之间通常会出现业务合作关系。具体地,SDN架构通常包括多个业务节点,每个业务节点处理一个或多个业务。Under the SDN (Software Defined Network, software-defined network) architecture, a large number of services are usually deployed, and business cooperation usually occurs between multiple services. Specifically, the SDN architecture usually includes multiple service nodes, and each service node processes one or more services.

为了支持SDN下多业务处理,现有技术中,通常预先定义各业务数据流的传输路径。但是这样会导致在各业务节点中存储大量的业务数据流的转发的路径信息,而且还要进行相应的查找工作,降低了业务节点处理业务数据流的效率。In order to support multi-service processing under the SDN, in the prior art, the transmission path of each service data flow is usually pre-defined. However, this will cause a large amount of forwarding path information of the service data flow to be stored in each service node, and corresponding search work will be performed, which reduces the efficiency of the service node in processing the service data flow.

发明内容Contents of the invention

本发明提供一种业务传输的方法、装置与系统,以解决现有技术中业务节点需要进行大量的查找工作降低处理业务的效率的问题。The present invention provides a service transmission method, device and system to solve the problem in the prior art that service nodes need to perform a large amount of search work and reduce the efficiency of service processing.

本发明第一个方面提供一种业务传输的方法,包括:A first aspect of the present invention provides a service transmission method, including:

当接收到业务节点发送的业务数据流时,根据所述业务数据流中的业务特征标识获取所述业务数据流的目的业务标识;When receiving the service data flow sent by the service node, acquiring the destination service identifier of the service data flow according to the service feature identifier in the service data flow;

根据所述目的业务标识获取所述业务数据流的目的节点标识;Acquiring the destination node identifier of the service data flow according to the destination service identifier;

向所述目的节点标识对应的目的节点发送所述业务数据流。Sending the service data flow to the destination node corresponding to the destination node identifier.

根据第一方面,在第一种可能的实现方式中,所述业务特征标识包括以下至少一种:所述业务数据流的源业务标识、用户标识和所述业务数据流的标识,所述用户标识为所述业务数据流的起始发送端的标识。According to the first aspect, in a first possible implementation manner, the service feature identifier includes at least one of the following: a source service identifier of the service data flow, a user identifier, and an identifier of the service data flow, and the user The identifier is the identifier of the initial sender of the service data flow.

结合第一方面或第一种可能的实现方式,在第二种可能的实现方式中,所述根据所述业务数据流中的业务特征标识获取所述业务数据流的目的业务标识,包括:With reference to the first aspect or the first possible implementation manner, in the second possible implementation manner, the acquiring the destination service identifier of the service data flow according to the service characteristic identifier in the service data flow includes:

根据所述业务数据流中的业务特征标识,在预设的业务标识列表中获取所述业务数据流的目的业务标识;Acquiring the target service identifier of the service data flow from a preset service identifier list according to the service feature identifier in the service data flow;

所述根据所述目的业务标识获取所述业务数据流的目的节点标识包括:The obtaining the destination node identifier of the service data flow according to the destination service identifier includes:

根据所述目的业务标识,在预设的业务节点列表中获取所述业务数据流的目的节点标识;Acquiring the destination node identifier of the service data flow from a preset service node list according to the destination service identifier;

向所述目的节点标识对应的目的节点发送所述业务数据流包括:Sending the service data flow to the destination node corresponding to the destination node identifier includes:

根据所述目的节点标识对应的目的节点在预设的路径表中查找传输路径;Searching for a transmission path in a preset path table according to the destination node corresponding to the destination node identifier;

根据所述传输路径向所述目的节点发送所述业务数据流。sending the service data flow to the destination node according to the transmission path.

根据第三种可能的实现方式,在第三种可能的实现方式中,还包括:According to the third possible implementation manner, in the third possible implementation manner, it also includes:

每隔预设时间,更新所述业务标识列表、所述业务节点列表和所述路径表。The service identifier list, the service node list and the path table are updated every preset time.

结合第一方面或第一种可能的实现方式,在第五种可能的实现方式中,所述根据所述目的业务标识获取所述业务数据流的目的节点标识包括:With reference to the first aspect or the first possible implementation manner, in a fifth possible implementation manner, the obtaining the destination node identifier of the service data flow according to the destination service identifier includes:

当根据所述目的业务标识获取到多个目的节点标识时,随机选取其中一个作为所述业务数据流的目的节点标识,或者根据负载均衡原理选择其中一个作为所述业务数据流的目的节点标识,或者将所述多个目的节点标识均作为所述业务数据流的目的节点标识。When multiple destination node identifiers are obtained according to the destination service identifier, randomly select one of them as the destination node identifier of the service data flow, or select one of them as the destination node identifier of the service data flow according to the load balancing principle, Alternatively, all the multiple destination node identifiers are used as destination node identifiers of the service data flow.

结合第一方面或第一种可能的实现方式至第四种可能实现的方式,在第五种可能的实现方式中,还包括:In combination with the first aspect or the first possible implementation manner to the fourth possible implementation manner, the fifth possible implementation manner further includes:

当根据所述目的业务标识未获取所述业务数据流的目的节点标识时,向路由器或者网络发送所述业务数据流。When the destination node identifier of the service data flow is not obtained according to the destination service identifier, the service data flow is sent to a router or a network.

本发明第二方面提供一种业务传输的方法,包括:The second aspect of the present invention provides a method for service transmission, including:

接收业务传输的装置发送的业务数据流;receiving the service data flow sent by the device for service transmission;

当处理完所述业务数据流之后,在所述业务数据流中封装业务特征标识,并向所述业务传输的装置发送所述业务数据流,所述业务特征标识用于使所述业务传输的装置根据所述业务数据流中的业务特征标识获取所述业务数据流的目的业务标识,根据所述目的业务标识获取所述业务数据流的目的节点标识,并向所述目的节点标识对应的目的节点发送所述业务数据流。After processing the service data stream, encapsulate the service feature identifier in the service data stream, and send the service data stream to the service transmission device, the service feature identifier is used to enable the service transmission The device obtains the destination service identifier of the service data flow according to the service characteristic identifier in the service data flow, obtains the destination node identifier of the service data flow according to the destination service identifier, and identifies the corresponding destination node to the destination node The node sends the service data flow.

根据第二方面,在第一种可能的实现方式中,所述业务特征标识包括以下至少一种:所述业务数据流的源业务标识、用户标识和所述业务数据流的标识,所述源业务标识为所述业务数据流对应当前业务节点的业务标识,所述用户标识为所述业务数据流的起始发送端的标识。According to the second aspect, in the first possible implementation manner, the service feature identifier includes at least one of the following: a source service identifier of the service data flow, a user identifier, and an identifier of the service data flow, and the source The service identifier is the service identifier of the current service node corresponding to the service data flow, and the user identifier is the identifier of the initial sender of the service data flow.

本发明第三方面提供一种业务传输的装置,包括:A third aspect of the present invention provides a device for service transmission, including:

第一获取模块,用于当接收到业务节点发送的业务数据流时,根据所述业务数据流中的业务特征标识获取所述业务数据流的目的业务标识;The first acquiring module is configured to acquire the destination service identifier of the service data flow according to the service feature identifier in the service data flow when receiving the service data flow sent by the service node;

第二获取模块,用于根据所述目的业务标识获取所述业务数据流的目的节点标识;A second acquiring module, configured to acquire the destination node identifier of the service data flow according to the destination service identifier;

发送模块,用于向所述目的节点标识对应的目的节点发送所述业务数据流。A sending module, configured to send the service data flow to the destination node corresponding to the destination node identifier.

根据第二方面,在第一种可能的实现方式中,所述第一获取模块具体用于:According to the second aspect, in a first possible implementation manner, the first obtaining module is specifically configured to:

当接收到业务节点发送的业务数据流时,根据所述业务数据流中的业务特征标识,在预设的业务标识列表中获取所述业务数据流的目的业务标识;When the service data flow sent by the service node is received, according to the service characteristic identifier in the service data flow, the destination service identifier of the service data flow is acquired in the preset service identifier list;

所述第二获取模块具体用于:The second acquisition module is specifically used for:

根据所述目的业务标识,在预设的业务节点列表中获取所述业务数据流的目的节点标识;Acquiring the destination node identifier of the service data flow from a preset service node list according to the destination service identifier;

所述发送模块具体用于:The sending module is specifically used for:

根据所述目的节点标识对应的目的节点在预设的路径表中查找传输路径;Searching for a transmission path in a preset path table according to the destination node corresponding to the destination node identifier;

根据所述传输路径向所述目的节点发送所述业务数据流。sending the service data flow to the destination node according to the transmission path.

根据第一种可能的实现方式中,在第二种可能的实现方式中,还包括:According to the first possible implementation, in the second possible implementation, it also includes:

更新模块,用于每隔预设时间,更新所述业务标识列表、所述业务节点列表和所述路径表。An updating module, configured to update the service identification list, the service node list and the routing table at preset intervals.

根据第三方面,在第三种可能的实现方式中,所述第二获取模块具体用于:According to the third aspect, in a third possible implementation manner, the second acquiring module is specifically configured to:

当根据所述目的业务标识获取到多个目的节点标识时,随机选取其中一个作为所述业务数据流的目的节点标识,或者根据负载均衡原理选择其中一个作为所述业务数据流的目的节点标识,或者将所述多个目的节点标识均作为所述业务数据流的目的节点标识。When multiple destination node identifiers are obtained according to the destination service identifier, randomly select one of them as the destination node identifier of the service data flow, or select one of them as the destination node identifier of the service data flow according to the load balancing principle, Alternatively, all the multiple destination node identifiers are used as destination node identifiers of the service data flow.

结合第三方面或第一种可能的实现方式或第二种可能实现的方式或第三种可能实现的方式,在第四种可能的实现方式中,所述发送模块还用于当根据所述目的业务标识未获取所述业务数据流的目的节点标识时,向路由器或者网络发送所述业务数据流。With reference to the third aspect or the first possible implementation manner or the second possible implementation manner or the third possible implementation manner, in a fourth possible implementation manner, the sending module is further configured to When the destination service identifier does not obtain the destination node identifier of the service data flow, send the service data flow to a router or a network.

本发明第四方面提供一种业务节点,包括:A fourth aspect of the present invention provides a service node, including:

接收模块,用于接收业务传输的装置发送的业务数据流;A receiving module, configured to receive the service data stream sent by the device for service transmission;

处理模块,用于当处理完所述业务数据流之后,在所述业务数据流中封装业务特征标识,并向所述业务传输的装置发送所述业务数据流,所述业务特征标识用于使所述业务传输的装置根据所述业务数据流中的业务特征标识获取所述业务数据流的目的业务标识,根据所述目的业务标识获取所述业务数据流的目的节点标识,并相所述目的节点标识对应的目的节点发送所述业务数据流。A processing module, configured to encapsulate a service feature identifier in the service data flow after processing the service data flow, and send the service data flow to the service transmission device, and the service feature identifier is used to use The device for service transmission obtains the destination service identifier of the service data flow according to the service characteristic identifier in the service data flow, obtains the destination node identifier of the service data flow according to the destination service identifier, and compares the destination The destination node corresponding to the node identifier sends the service data flow.

本发明第五方面提供一种业务传输的系统,包括如上所述任一项所述的业务传输的装置,还包如上所述的业务节点。A fifth aspect of the present invention provides a system for service transmission, including the service transmission device described in any one of the above, and also includes the above service node.

由上述技术方案可知,本发明提供的业务传输的方法、装置与系统,根据业务数据流中的业务特征标识确定目的业务,再根据目的业务确定相应的目的节点,然后将该业务数据流发送至目的节点。这样,减轻了各业务节点的负担,而且易于业务的扩展。It can be seen from the above technical solution that the service transmission method, device and system provided by the present invention determine the target service according to the service feature identifier in the service data flow, and then determine the corresponding destination node according to the target service, and then send the service data flow to destination node. In this way, the burden of each service node is lightened, and it is easy to expand the service.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description These are some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained according to these drawings without any creative effort.

图1为根据本发明一实施例的业务传输的方法的流程示意图;FIG. 1 is a schematic flowchart of a method for service transmission according to an embodiment of the present invention;

图2A为根据本发明另一实施例的业务传输的方法的流程示意图;FIG. 2A is a schematic flowchart of a method for service transmission according to another embodiment of the present invention;

图2B为根据本发明又一实施例的业务传输的结构示意图;FIG. 2B is a schematic structural diagram of service transmission according to another embodiment of the present invention;

图3为根据本发明再一实施例的业务传输的方法的流程示意图;FIG. 3 is a schematic flowchart of a method for service transmission according to yet another embodiment of the present invention;

图4为根据本发明又一实施例的业务传输的装置的结构示意图;FIG. 4 is a schematic structural diagram of an apparatus for service transmission according to yet another embodiment of the present invention;

图5为根据本发明另一实施例的业务传输的装置的结构示意图;FIG. 5 is a schematic structural diagram of an apparatus for service transmission according to another embodiment of the present invention;

图6为根据本发明又一实施例的业务传输的装置的结构示意图;FIG. 6 is a schematic structural diagram of an apparatus for service transmission according to yet another embodiment of the present invention;

图7为根据本发明再一实施例的业务传输的装置的结构示意图;FIG. 7 is a schematic structural diagram of a device for service transmission according to yet another embodiment of the present invention;

图8为根据本发明又一实施例的业务传输的装置的结构示意图。Fig. 8 is a schematic structural diagram of an apparatus for service transmission according to yet another embodiment of the present invention.

具体实施方式Detailed ways

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

实施例一Embodiment one

本实施例提供一种业务传输的方法,其适用于包括多业务的网络架构,尤其是SDN架构。本实施例的执行主体是业务传输的装置。该业务传输的装置用于根据业务节点发送的业务数据流的业务特征标识获取该业务数据流所要达到的目的节点,并向目的节点发送业务数据流。举例来说,该业务传输的装置具体可以是服务器或者计算机,类似地,业务节点也可是服务器或者计算机。本实施例中的业务可以是缓存业务、防火墙业务、应用加速业务、加密业务和解密业务等等,在此不做限定。每一个业务节点都可以对应一个或多个业务,具体可以根据实际需要进行设定。This embodiment provides a method for service transmission, which is applicable to a network architecture including multiple services, especially an SDN architecture. The executor of this embodiment is an apparatus for service transmission. The device for service transmission is used to obtain the destination node to be reached by the service data flow according to the service feature identifier of the service data flow sent by the service node, and send the service data flow to the destination node. For example, the service transmission device may specifically be a server or a computer, and similarly, the service node may also be a server or a computer. The services in this embodiment may be caching services, firewall services, application acceleration services, encryption services, decryption services, etc., which are not limited here. Each service node can correspond to one or more services, which can be set according to actual needs.

如图1所示,为根据本实施例的业务传输的方法的流程示意图。As shown in FIG. 1 , it is a schematic flowchart of a method for service transmission according to this embodiment.

步骤101,当接收到业务节点发送的业务数据流时,根据业务数据流中的业务特征标识获取业务数据流的目的业务标识。Step 101, when receiving a service data flow sent by a service node, obtain a destination service identifier of the service data flow according to a service feature identifier in the service data flow.

当业务节点发起一个业务或处理完一个业务时,将该业务的业务数据流发送到业务传输的装置。业务传输的装置接收到该业务数据流时,根据业务数据流自身携带的业务特征标识查找目的业务标识。业务特征标识可以包括以下至少一种:业务数据流的源业务标识、用户标识和业务数据流的标识,其中用户标识为业务数据流的起始发送端的标识,即生成该业务数据流的客户端的标识。具体可以根据实际需要进行设定。只要能够根据业务特征标识获取到该业务数据流的目的业务标识即可。这里的业务数据流的源业务标识指的是业务节点对该业务数据流执行的操作所对应的标识,能够想象到的是,该源业务标识也就是该业务节点数据流到达该业务节点的业务标识。When a service node initiates a service or finishes processing a service, it sends the service data flow of the service to the service transmission device. When the service transmission device receives the service data flow, it searches for the target service identifier according to the service characteristic identifier carried by the service data flow itself. The service feature identifier may include at least one of the following: the source service identifier of the service data flow, the user identifier, and the identifier of the service data flow, wherein the user identifier is the identifier of the initial sender of the service data flow, that is, the client that generates the service data flow logo. Specifically, it can be set according to actual needs. It is sufficient as long as the destination service identifier of the service data flow can be obtained according to the service characteristic identifier. The source service identifier of the service data flow here refers to the identifier corresponding to the operation performed by the service node on the service data flow. It is conceivable that the source service identifier is the service that the data flow of the service node reaches the service node logo.

步骤102,根据目的业务标识获取业务数据流的目的节点标识。Step 102, obtain the destination node identifier of the service data flow according to the destination service identifier.

业务传输的装置根据目的业务标识获取该业务数据流对应的的目的节点标识,即能够处理该业务数据流的目的节点标识。目的节点标识可以是业务节点的MAC(Media Access Control,介质访问控制)地址、IP地址、MPLS(multi-protocol labelswitching,多协议标签交换)标签或VLAN(Virtual Local Area Network,虚拟局域网)值。The device for service transmission acquires the destination node identifier corresponding to the service data flow according to the destination service identifier, that is, the destination node identifier capable of processing the service data flow. The destination node identifier can be the MAC (Media Access Control, Media Access Control) address, IP address, MPLS (multi-protocol label switching, multi-protocol label switching) label or VLAN (Virtual Local Area Network, virtual local area network) value of the service node.

步骤103,向目的节点标识对应的目的节点发送业务数据流。Step 103, sending the service data flow to the destination node corresponding to the destination node identifier.

根据本实施例的业务传输的方法,业务传输的装置接收业务节点处理完业务数据流,并根据业务数据流中的业务特征标识确定目的业务,再根据目的业务确定相应的目的节点,然后将该业务数据流发送至目的节点。这样,各业务节点无需关心需要将业务数据流发送至哪里,查询以及转发操作由业务传输的装置完成,减轻了各业务节点的负担,提高了各业务节点处理业务的效率。而且,通过业务数据流的目的业务标识来获取业务数据流的目的节点标识,易于业务的扩展。According to the service transmission method of this embodiment, the service transmission device receives the service node to process the service data flow, and determines the destination service according to the service characteristic identifier in the service data flow, and then determines the corresponding destination node according to the destination service, and then the The service data flow is sent to the destination node. In this way, each service node does not need to care about where the service data stream needs to be sent, and the query and forwarding operations are completed by the service transmission device, which reduces the burden of each service node and improves the efficiency of each service node's service processing. Moreover, acquiring the destination node identifier of the service data flow through the destination service identifier of the service data flow facilitates service expansion.

实施例二Embodiment two

本实施例基于实施例一提供一种业务传输的方法。This embodiment provides a service transmission method based on the first embodiment.

如图2A所示,为根据本实施例的业务传输方法的流程示意图。As shown in FIG. 2A , it is a schematic flowchart of a service transmission method according to this embodiment.

步骤201,当接收到业务节点发送的业务数据流时,根据业务数据流中的业务特征标识,在预设的业务标识列表中获取业务数据流的目的业务标识。Step 201, when receiving the service data flow sent by the service node, according to the service characteristic identifier in the service data flow, obtain the destination service identifier of the service data flow in the preset service identifier list.

业务特征标识包括以下标识中的至少一种:源业务标识、用户标识、该业务数据流的标识。源业务标识为业务节点在将该业务数据流发送至业务传输的装置之前封装入业务数据流的标识,该源业务标识可以是业务节点处理完成接收到的业务数据流之后生成的业务的标识。举例来说,当业务特征标识包括源业务标识和用户标识时,业务传输的装置可以首先根据源业务标识在预设的业务标识列表中获取到与该源业务标识对应的目的业务标识,当业务传输的装置获取到多个目的业务标识时,再根据用户标识进一步确定目的业务标识,以此类推,直至业务传输的装置确定出唯一的目的业务标识为止。The service characteristic identifier includes at least one of the following identifiers: a source service identifier, a user identifier, and an identifier of the service data flow. The source service identifier is the identifier that the service node encapsulates into the service data flow before sending the service data flow to the service transmission device. The source service identifier may be the identifier of the service generated after the service node processes the received service data flow. For example, when the service feature identifier includes the source service identifier and the user identifier, the device for service transmission may first obtain the destination service identifier corresponding to the source service identifier from the preset service identifier list according to the source service identifier. When the transmission device obtains multiple destination service identifiers, it further determines the destination service identifier according to the user identifier, and so on until the service transmission device determines a unique destination service identifier.

步骤202,根据目的业务标识,在预设的业务节点列表中获取业务数据流的目的节点标识。Step 202, according to the destination service identifier, obtain the destination node identifier of the service data flow in the preset service node list.

业务传输的装置根据获取的目的业务标识,在业务节点列表中查找对应的目的节点标识。当查找出多个目的节点标识时,业务传输的装置可以随机选取其中一个作为业务数据流的目的节点标识,或者根据负载均衡(Load Balance)原理选择其中一个作为业务数据流的目的节点标识。负载均衡原理属于现有技术,用于平衡各个业务节点之间的负担,将业务数据流首先发送到负载较轻的业务节点上进行处理,有利于提升业务数据流处理的效率,具体不再赘述。还可以是,业务传输的装置将该多个目的节点标识作为业务数据流的目的节点标识,即业务传输的装置向所查询到的多个目的业务标识均发送业务数据流。The device for service transmission searches for the corresponding destination node identifier in the service node list according to the acquired destination service identifier. When multiple destination node identifiers are found, the service transmission device can randomly select one of them as the destination node identifier of the service data flow, or select one of them as the destination node identifier of the service data flow according to the Load Balance principle. The principle of load balancing belongs to the existing technology, which is used to balance the load among various business nodes. The business data flow is first sent to the business node with light load for processing, which is conducive to improving the efficiency of business data flow processing, and the details will not be repeated. . It is also possible that the service transmission device uses the multiple destination node identifiers as the destination node identifiers of the service data flow, that is, the service transmission device sends the service data flow to all the queried multiple destination service identifiers.

步骤203,根据目的节点标识对应的目的节点在预设的路径表中查找传输路径,并根据传输路径向目的节点发送业务数据流。In step 203, the destination node corresponding to the destination node identifier searches for a transmission path in a preset path table, and sends the service data flow to the destination node according to the transmission path.

路径表中包括各业务节点之间的传输路径,该路径表具体可以是路由表、MAC(Media Access Control)表或者是标签转发表等。具体地,业务传输的装置如果能够直接向目的节点发送该业务数据流,则直接发送,如果需要经过其它业务节点中转该业务数据流,可以将该传输路径封装在该业务数据流中由各业务节点进行转发,也可以将传输路径下发至位于传输路径上的各业务节点,以使各业务节点在接收到该业务数据流之后根据传输路径进行转发,具体不再赘述。The routing table includes the transmission paths between service nodes, and the routing table can specifically be a routing table, a MAC (Media Access Control) table, or a label forwarding table. Specifically, if the service transmission device can directly send the service data flow to the destination node, it will send it directly. If the service data flow needs to be transferred through other service nodes, the transmission path can be encapsulated in the service data flow by each service For forwarding by the node, the transmission path may also be issued to each service node on the transmission path, so that each service node forwards the service data flow according to the transmission path after receiving the service data stream, and details will not be repeated here.

需要指出的是,上述的业务标识列表、业务节点列表和传输路径列表均可以存储在查询列表中,也可以单独存储在其它存储中。It should be pointed out that the above-mentioned service identifier list, service node list and transmission path list can all be stored in the query list, or can be stored separately in other stores.

可选地,每隔预设时间,业务传输的装置更新业务标识列表、业务节点列表和路径表。能够想象到的是,当业务节点发生变化时,也可以立即对上述各表的内容进行更新。Optionally, the device for service transmission updates the service identification list, the service node list and the routing table every preset time. It is conceivable that when the service node changes, the contents of the above tables can also be updated immediately.

可选地,当根据目的业务标识未获取业务数据流的目的节点标识时,向路由器或网络发送业务数据流。当业务传输的装置不能获取到目的节点标识时,说明该业务数据流已经被处理完,需要将该业务数据流发送至路由器或者网络中。Optionally, when the destination node identifier of the service data flow is not obtained according to the destination service identifier, the service data flow is sent to the router or the network. When the service transmission device cannot obtain the destination node identifier, it means that the service data flow has been processed, and the service data flow needs to be sent to the router or the network.

根据本实施例的业务传输的方法,通过设置三级列表,即业务标识列表、业务节点列表和路径表,有利于业务的更新,即当业务发生变化时,根据业务变化的具体内容更新相应的表,操作简单便捷。例如,当业务标识发生变化时,只需要更新业务标识列表和业务节点列表即可,当业务节点列表发生变化时,只需要更新业务节点列表和路径表即可,有利于业务的扩展和收缩。According to the service transmission method of this embodiment, by setting three-level lists, namely the service identification list, service node list and route table, it is beneficial to the update of the service, that is, when the service changes, the corresponding service is updated according to the specific content of the service change. table, easy to operate. For example, when the service identifier changes, only the service identifier list and the service node list need to be updated, and when the service node list changes, only the service node list and the routing table need to be updated, which is conducive to business expansion and contraction.

实施例三Embodiment three

本实施例基于上述实施例提供一种具体的业务传输的方法。This embodiment provides a specific service transmission method based on the foregoing embodiments.

如图2B所示,为根据本实施例的业务传输的方法的结构示意图。As shown in FIG. 2B , it is a schematic structural diagram of the method for service transmission according to this embodiment.

首先,网络中的业务数据流可以先进入路由器210。该路由器210中预设有流表,该流表用于给业务数据流封装目的业务标识和目的节点的标识。路由器210根据该流表查找到该数据流的转发头数据信息,在该业务数据流中封装转发头数据信息,其中包括业务特征标识具体是sid=1,userid=1,flowid=1。其中sid为源业务标识,userid为用户标识,flowid为业务数据流标识,将该业务数据流发送至的第一个业务节点211。通过流表查询到业务节点211的IP地址为192.168.1.100。First, service data streams in the network may first enter the router 210 . A flow table is preset in the router 210, and the flow table is used for encapsulating a destination service identifier and a destination node identifier for a service data flow. The router 210 finds the forwarding header data information of the data flow according to the flow table, and encapsulates the forwarding header data information in the service data flow, including service feature identifiers specifically sid=1, userid=1, and flowid=1. Wherein, sid is the source service identifier, userid is the user identifier, and flowid is the identifier of the service data flow, and the first service node 211 to send the service data flow to. The IP address of the service node 211 is found to be 192.168.1.100 through the query of the flow table.

业务节点211接收到该业务数据流之后,进行处理,并将sid更改为处理后的目的业务标识,即sid=2,并将处理后的业务数据流发送至业务传输的装置220。业务传输的装置220根据该业务数据流的业务特征标识,即sid=2,userid=11,flowid=1,在业务传输的装置220中预设的业务标识列表中查询到该业务数据流对应的目的业务标识为3,根据该目的业务标识3在预设的业务节点列表中查询到该业务数据流下一个将要发送至的业务节点的IP为192.168.1.101。After receiving the service data flow, the service node 211 processes it, changes the sid to the processed target service identifier, ie sid=2, and sends the processed service data flow to the service transmission device 220 . The service transmission device 220 searches the service identification list preset in the service transmission device 220 according to the service feature identifier of the service data flow, that is, sid=2, userid=11, flowid=1, and finds the corresponding service data flow The destination service ID is 3, and according to the destination service ID 3, it is found in the preset service node list that the IP of the next service node to which the service data flow will be sent is 192.168.1.101.

接着,业务传输的装置220根据预设的路径表,将该业务数据流发送至第二个业务节点212,该业务节点212即为业务传输的装置220根据目的业务标识3查找到的目的节点。业务节点212接收到该业务数据流之后,进行处理,并将sid更改为处理后的目的业务标识,即sid=3。这样,该而业务数据流的业务特征标识变为:sid=3,userid=192.168.1.101,flowid=1。Next, the service transmission device 220 sends the service data stream to the second service node 212 according to the preset route table, and the service node 212 is the destination node found by the service transmission device 220 according to the destination service identifier 3 . After receiving the service data flow, the service node 212 processes it, and changes the sid to the processed target service identifier, that is, sid=3. In this way, the service characteristic identifier of the service data flow becomes: sid=3, userid=192.168.1.101, flowid=1.

接着,业务节点212向业务传输的装置220发送处理后的业务数据流,业务传输的装置220根据业务数据流中的业务特征标识在预设的目的业务类表中查找不到该业务数据流对应的目的业务标识,则可以将该业务数据流中的转发头信息去掉,并根据默认设置,将该业务数据流直接发送至网络或者封装预设的特别转发头发送至路由器210。Next, the service node 212 sends the processed service data flow to the service transmission device 220, and the service transmission device 220 cannot find the corresponding service data flow in the preset destination service class table according to the service characteristic identifier in the service data flow. If the destination service identifier is specified, the forwarding header information in the service data flow can be removed, and according to the default setting, the service data flow can be directly sent to the network or sent to the router 210 by encapsulating a preset special forwarding header.

实施例四Embodiment four

本实施例提供一种业务传输的方法,其所适用的网络架构与上述实施例一致,在此不再赘述。本实施例的执行主体为业务节点。This embodiment provides a method for service transmission, and the applicable network architecture is the same as that of the foregoing embodiments, and details are not repeated here. The execution subject of this embodiment is a service node.

如图3所示,为根据本实施例的业务传输的方法的流程示意图。As shown in FIG. 3 , it is a schematic flowchart of the method for service transmission according to this embodiment.

步骤301,接收业务传输的装置发送的业务数据流。Step 301, receiving a service data stream sent by a service transmission device.

本实施例的业务传输的装置即为实施例一或实施例二中的业务传输的装置。该业务数据流可以是由业务传输的装置直接发送的,也可是由业务传输的装置发送并经过其它业务节点转发的。The device for service transmission in this embodiment is the device for service transmission in Embodiment 1 or Embodiment 2. The service data flow may be directly sent by the service transmission device, or may be sent by the service transmission device and forwarded by other service nodes.

步骤302,当处理完业务数据流之后,在业务数据流中封装业务特征标识,并向业务传输的装置发送业务数据流,业务特征标识用于使业务业务传输的装置根据业务数据流中的业务特征标识获取业务数据流的目的业务标识,根据目的业务标识获取业务数据流的目的节点标识,并向目的节点标识对应的目的节点发送业务数据流。Step 302, after processing the service data flow, encapsulate the service feature identifier in the service data flow, and send the service data flow to the device for service transmission, the service feature identifier is used to make the device for service service transmission according to the service in the service data flow The feature identifier obtains the destination service identifier of the service data flow, obtains the destination node identifier of the service data flow according to the destination service identifier, and sends the service data flow to the destination node corresponding to the destination node identifier.

业务传输的装置如何将业务数据流发送至目的节点与实施例一或实施例二的操作一致,在此不再赘述。How the device for service transmission sends the service data flow to the destination node is consistent with the operation of Embodiment 1 or Embodiment 2, and will not be repeated here.

其中,业务特征标识可以包括以下至少一种:业务数据流的源业务标识、用户标识和业务数据流的标识,其中,用户标识为业务数据流的起始发送端的标识,即生成该业务数据流的客户端的标识。Wherein, the service feature identifier may include at least one of the following: the source service identifier of the service data flow, the user identifier, and the identifier of the service data flow, wherein the user identifier is the identifier of the initial sender of the service data flow, that is, the service data flow is generated The ID of the client.

根据本实施例的业务传输的方法,业务节点在处理完业务数据流之后,将该业务数据流发送至业务传输的装置,由业务传输的装置进行查找目的节点的操作,并将业务数据流发送至目的节点,不仅减轻了业务节点的负担,而且通过业务传输的装置的统一管理,便于业务以及业务节点的更新。According to the service transmission method of this embodiment, after the service node processes the service data flow, it sends the service data flow to the service transmission device, and the service transmission device performs the operation of searching for the destination node, and sends the service data flow To the destination node, it not only reduces the burden of the service node, but also facilitates the update of the service and the service node through the unified management of the service transmission device.

实施例五Embodiment five

本实施例提供一种业务传输的装置,用于执行实施例一的业务传输的方法。This embodiment provides a device for service transmission, which is used to execute the method for service transmission in the first embodiment.

如图4所示为,为根据本实施例的业务传输的方法的流程示意图。该业务传输的装置400包括第一获取模块401、第二获取模块402和发送模块403。As shown in FIG. 4 , it is a schematic flowchart of the method for service transmission according to this embodiment. The service transmission apparatus 400 includes a first obtaining module 401 , a second obtaining module 402 and a sending module 403 .

其中,第一获取模块401用于当接收到业务节点600发送的业务数据流时,根据业务数据流中的业务特征标识获取业务数据流的目的业务标识;第二获取模块402用于根据第一获取模块401获取到的目的业务标识获取业务数据流的目的节点标识;发送模块403用于向第二获取模块402获取到的目的节点标识对应的目的节点发送业务数据流。Wherein, the first acquiring module 401 is used to acquire the destination service identifier of the service data flow according to the service feature identifier in the service data flow when receiving the service data flow sent by the service node 600; The destination service identifier obtained by the obtaining module 401 obtains the destination node identifier of the service data flow; the sending module 403 is configured to send the service data flow to the destination node corresponding to the destination node identifier obtained by the second obtaining module 402 .

本实施例的业务传输的方法的具体操作方式与实施例一一致,在此不再赘述。The specific operation mode of the service transmission method in this embodiment is the same as that in Embodiment 1, and will not be repeated here.

本实施例的业务传输的装置400接收业务节点600处理完业务数据流,并根据业务数据流中的业务特征标识确定目的业务,再根据目的业务确定相应的目的节点,然后将该业务数据流发送至目的节点。这样,各业务节点无需关心需要将业务数据流发送至哪里,查询以及转发操作由业务传输的装置400完成,减轻了各业务节点的负担,提高了各业务节点处理业务的效率。而且,通过业务数据流的目的业务标识来获取业务数据流的目的节点标识,易于业务的扩展。The service transmission device 400 of this embodiment receives the service node 600 after processing the service data flow, and determines the target service according to the service feature identifier in the service data flow, and then determines the corresponding destination node according to the target service, and then sends the service data flow to the destination node. In this way, each service node does not need to care about where the service data flow needs to be sent, and the query and forwarding operations are completed by the service transmission device 400, which reduces the burden of each service node and improves the efficiency of each service node in processing services. Moreover, acquiring the destination node identifier of the service data flow through the destination service identifier of the service data flow facilitates service expansion.

实施例六Embodiment six

本实施例基于实施例五提供一种业务传输的装置。This embodiment provides a service transmission device based on the fifth embodiment.

如图5所示,本实施例的业务传输的装置400同样包括第一获取模块401、第二获取模块402和发送模块403。As shown in FIG. 5 , the service transmission apparatus 400 of this embodiment also includes a first obtaining module 401 , a second obtaining module 402 and a sending module 403 .

其中,第二获取模块402具体用于:Wherein, the second obtaining module 402 is specifically used for:

当根据目的业务标识获取到多个目的节点标识时,随机选取其中一个作为业务数据流的目的节点标识,或者根据负载均衡原理选择其中一个作为业务数据流的目的节点标识,或者将多个目的节点标识均作为业务数据流的目的节点标识。When multiple destination node identifiers are obtained according to the destination service identifier, one of them is randomly selected as the destination node identifier of the service data flow, or one of them is selected as the destination node identifier of the service data flow according to the load balancing principle, or multiple destination nodes The identification is used as the destination node identification of the service data flow.

或者是,第一获取模块401具体用于当接收到业务节点600发送的业务数据流时,根据业务数据流中的业务特征标识,在预设的业务标识列表中获取业务数据流的目的业务标识;第二获取模块402具体用于根据目的业务标识,在预设的业务节点列表中获取业务数据流的目的节点标识;发送模块403具体用于根据目的节点标识对应的目的节点在预设的路径表中查找传输路径,根据传输路径向目的节点发送业务数据流。Alternatively, the first acquiring module 401 is specifically configured to acquire the destination service identifier of the service data flow in the preset service identifier list according to the service characteristic identifier in the service data flow when receiving the service data flow sent by the service node 600 The second acquisition module 402 is specifically used to obtain the destination node identifier of the service data flow in the preset service node list according to the destination service identifier; the sending module 403 is specifically used to obtain the destination node corresponding to the destination node identifier on the preset path Look up the transmission path in the table, and send the service data flow to the destination node according to the transmission path.

更为具体的,当第二获取模块402根据目的业务标识获取到多个目的节点标识时,第二获取模块402随机选取其中一个作为业务数据流的目的节点标识,或者根据负载均衡原理选择其中一个作为业务数据流的目的节点标识,或者将多个目的节点标识均作为业务数据流的目的节点标识。More specifically, when the second acquiring module 402 acquires multiple destination node identifiers according to the destination service identifier, the second acquiring module 402 randomly selects one of them as the destination node identifier of the service data flow, or selects one of them according to the principle of load balancing As the destination node identifier of the service data flow, or multiple destination node identifiers are used as the destination node identifier of the service data flow.

可选地,本实施例的业务传输的装置400还包括更新模块501,该更新模块501用于每隔预设时间,更新业务标识列表、业务节点列表和路径表。预设时间可以根据实际需要进行设定,例如10分钟、1小时或者1周等等,在此不再赘述。能够想象到的是,还可以在当目的业务标识、目的节点标识发生改变时,实时地更新业务标识列表、业务节点列表或者路径表中的相关内容。Optionally, the service transmission apparatus 400 of this embodiment further includes an updating module 501, which is configured to update the service identification list, the service node list, and the route table at preset intervals. The preset time can be set according to actual needs, such as 10 minutes, 1 hour, or 1 week, etc., which will not be repeated here. It is conceivable that when the destination service identifier and the destination node identifier change, relevant content in the service identifier list, service node list or route table may be updated in real time.

可选地,本实施例的业务传输的装置400的发送模块403还用于当根据目的业务标识未获取业务数据流的目的节点标识时,向路由器或者网络发送业务数据流。Optionally, the sending module 403 of the service transmission apparatus 400 in this embodiment is further configured to send the service data flow to a router or a network when the destination node identifier of the service data flow is not obtained according to the destination service identifier.

本实施例的业务传输的装置400的操作方法与实施例二或实施例三的一致,在此不再赘述。The operation method of the service transmission apparatus 400 in this embodiment is the same as that in Embodiment 2 or Embodiment 3, and will not be repeated here.

根据本实施例的业务传输的装置400,通过预先设置的三级列表,即业务标识列表、业务节点列表和路径表查找业务数据流对应的目的节点,有利于业务的更新,即当业务发生变化时,根据业务变化的具体内容更新相应的表,操作简单便捷。例如,当业务标识发生变化时,只需要更新业务标识列表和业务节点列表即可,当业务节点列表发生变化时,只需要更新业务节点列表和路径表即可,有利于业务的扩展和收缩。According to the service transmission device 400 of this embodiment, the destination node corresponding to the service data flow is searched through the preset three-level list, that is, the service identification list, the service node list and the routing table, which is conducive to the update of the service, that is, when the service changes , the corresponding table is updated according to the specific content of the business change, and the operation is simple and convenient. For example, when the service identifier changes, it is only necessary to update the service identifier list and the service node list;

实施例七Embodiment seven

本实施例提供一种业务节点,用于执行上述任一实施例的业务传输的方法。This embodiment provides a service node, configured to perform the service transmission method in any of the foregoing embodiments.

如图6所示,为根据本实施例的业务节点600的结构示意图。该业务节点600包括接收模块601和处理模块602。As shown in FIG. 6 , it is a schematic structural diagram of a service node 600 according to this embodiment. The service node 600 includes a receiving module 601 and a processing module 602 .

其中,接收模块601用于接收业务传输的装置400发送的业务数据流;处理模块602用于当处理完业务数据流之后,在业务数据流中封装业务特征标识,并向业务传输的装置400发送业务数据流,业务特征标识用于使业务传输的装置400根据业务数据流中的业务特征标识获取业务数据流的目的业务标识,根据目的业务标识获取业务数据流的目的节点标识,并向目的节点标识对应的目的节点发送业务数据流。Among them, the receiving module 601 is used to receive the service data flow sent by the service transmission device 400; the processing module 602 is used to encapsulate the service feature identifier in the service data flow after processing the service data flow, and send it to the service transmission device 400 The service data flow, the service feature identifier is used to enable the service transmission device 400 to obtain the destination service identifier of the service data flow according to the service characteristic identifier in the service data flow, obtain the destination node identifier of the service data flow according to the destination service identifier, and send the service data to the destination node Identify the corresponding destination node to send the service data flow.

其中,业务特征标识包括以下至少一种:业务数据流的源业务标识、用户标识和业务数据流的标识,源业务标识为业务数据流对应当前业务节点的业务标识,用户标识为业务数据流的起始发送端的标识,即生成该业务数据流的客户端的标识。Wherein, the service feature identification includes at least one of the following: the source service identification of the service data flow, the user identification and the identification of the service data flow, the source service identification is the service identification of the service data flow corresponding to the current service node, and the user identification is the service data flow The identifier of the originating sender, that is, the identifier of the client that generates the service data flow.

本实施例的业务节点600的操作方法与实施例四一致,在此不再赘述。The operation method of the service node 600 in this embodiment is consistent with that in Embodiment 4, and will not be repeated here.

根据本实施例的业务节点600,在处理完业务数据流之后,将该业务数据流发送至业务传输的装置400,由业务传输的装置400进行查找目的节点的操作,并将业务数据流发送至目的节点,不仅减轻了业务节点的负担,而且通过业务传输的装置400的统一管理,便于业务以及业务节点的更新。According to the service node 600 of this embodiment, after processing the service data flow, the service data flow is sent to the service transmission device 400, and the service transmission device 400 performs the operation of searching for the destination node, and sends the service data flow to The destination node not only reduces the burden of the service node, but also facilitates updating of services and service nodes through the unified management of the service transmission device 400 .

实施例八Embodiment eight

本实施例提供另一种业务传输的装置,用于执行实施例一、实施例二或实施例三的业务传输的方法。This embodiment provides another device for service transmission, which is used to execute the method for service transmission in Embodiment 1, Embodiment 2, or Embodiment 3.

如图7所示,为根据本实施例的业务传输的装置的结构示意图。该业务传输的装置700包括至少一个第一处理器701、第一通信总线702、第一存储器703以及至少一个第一通信接口704。As shown in FIG. 7 , it is a schematic structural diagram of an apparatus for service transmission according to this embodiment. The service transmission apparatus 700 includes at least one first processor 701 , a first communication bus 702 , a first memory 703 and at least one first communication interface 704 .

其中,第一通信总线702用于实现上述组件之间的连接并通信,第一通信接口704用于与网络设备连接并通信。该总线可以是ISA(Industry Standard Architecture,工业标准体系结构)总线、PCI(Peripheral Component,外部设备互连)总线或EISA(Extended Industry Standard Architecture,扩展工业标准体系结构)总线等。总线可以是一条或多条物理线路,当是多条物理线路时可以分为地址总线、数据总线、控制总线等。Wherein, the first communication bus 702 is used to realize connection and communication between the above components, and the first communication interface 704 is used to connect and communicate with network devices. The bus can be an ISA (Industry Standard Architecture, industry standard architecture) bus, a PCI (Peripheral Component, external device interconnection) bus, or an EISA (Extended Industry Standard Architecture, extended industry standard architecture) bus, etc. The bus can be one or more physical lines, and when there are multiple physical lines, it can be divided into address bus, data bus, control bus, etc.

其中,第一存储器703用于存储可执行程序代码,其中,第一处理器701通过读取第一存储器703中存储的可执行程序代码来运行与可执行程序代码对应的程序,以用于:Wherein, the first memory 703 is used to store executable program codes, wherein the first processor 701 executes the program corresponding to the executable program codes by reading the executable program codes stored in the first memory 703, so as to:

当接收到业务节点发送的业务数据流时,根据业务数据流中的业务特征标识获取业务数据流的目的业务标识;When receiving the service data flow sent by the service node, obtain the target service identifier of the service data flow according to the service characteristic identifier in the service data flow;

根据目的业务标识获取业务数据流的目的节点标识;Acquiring the destination node identifier of the service data flow according to the destination service identifier;

向目的节点标识对应的目的节点发送业务数据流。Send the service data flow to the destination node corresponding to the destination node identifier.

其中,业务特征标识包括以下至少一种:业务数据流的源业务标识、用户标识和业务数据流的标识,其中,用户标识为业务数据流的起始发送端的标识,即生成该业务数据流的客户端的标识。Wherein, the service characteristic identification includes at least one of the following: the source service identification of the service data flow, the user identification and the identification of the service data flow, wherein, the user identification is the identification of the initial sending end of the service data flow, that is, the user who generates the service data flow The client's ID.

可选地,第一处理器701通过读取第一存储器703中存储的可执行程序代码来运行与可执行程序代码对应的程序,以用于根据目的业务标识获取业务数据流的目的节点标识,具体可以是:当根据目的业务标识获取到多个目的节点标识时,随机选取其中一个作为业务数据流的目的节点标识,或者根据负载均衡原理选择其中一个作为业务数据流的目的节点标识,或者将多个目的节点标识均作为业务数据流的目的节点标识。Optionally, the first processor 701 runs a program corresponding to the executable program code by reading the executable program code stored in the first memory 703, so as to obtain the destination node identifier of the service data flow according to the destination service identifier, Specifically, when multiple destination node identifiers are obtained according to the destination service identifier, one of them is randomly selected as the destination node identifier of the service data flow, or one of them is selected as the destination node identifier of the service data flow according to the load balancing principle, or Multiple destination node identifiers are used as destination node identifiers of the service data flow.

可选地,第一处理器701通过读取第一存储器703中存储的可执行程序代码来运行与可执行程序代码对应的程序,以用于根据业务数据流中的业务特征标识获取业务数据流的目的业务标识,具体可以是根据业务数据流中的业务特征标识,在预设的业务标识列表中获取业务数据流的目的业务标识;相应地,第一处理器701通过读取第一存储器703中存储的可执行程序代码来运行与可执行程序代码对应的程序,以用于根据目的业务标识获取业务数据流的目的节点标识,具体可以是根据目的业务标识,在预设的业务节点列表中获取业务数据流的目的节点标识;相应地,第一处理器701通过读取第一存储器703中存储的可执行程序代码来运行与可执行程序代码对应的程序,以用于相目的节点标识对应的目的节点发送业务数据流,具体可以是根据目的节点标识对应的目的节点在预设的路径表中查找传输路径;根据传输路径向目的节点发送业务数据流。Optionally, the first processor 701 runs the program corresponding to the executable program code by reading the executable program code stored in the first memory 703, so as to obtain the service data flow according to the service characteristic identifier in the service data flow Specifically, according to the service feature identifier in the service data flow, obtain the destination service identifier of the service data flow in the preset service identifier list; correspondingly, the first processor 701 reads the first memory 703 Executable program code stored in the executable program code to run the program corresponding to the executable program code, so as to obtain the destination node identifier of the service data flow according to the destination service identifier, specifically, according to the destination service identifier, in the preset service node list Obtain the destination node identifier of the service data flow; correspondingly, the first processor 701 runs the program corresponding to the executable program code by reading the executable program code stored in the first memory 703, so as to correspond to the destination node identifier The destination node sending the service data flow may specifically search for a transmission path in a preset routing table according to the destination node corresponding to the destination node identifier; and send the service data flow to the destination node according to the transmission path.

可选地,第一处理器701通过读取第一存储器703中存储的可执行程序代码来运行与可执行程序代码对应的程序,还可以用于:每隔预设时间,更新业务标识列表、业务节点列表和路径表。Optionally, the first processor 701 runs the program corresponding to the executable program code by reading the executable program code stored in the first memory 703, and may also be used to: update the service identifier list, Business node list and routing table.

可选地,第一处理器701通过读取第一存储器703中存储的可执行程序代码来运行与可执行程序代码对应的程序,还可以用于:当根据目的业务标识未获取业务数据流的目的节点标识时,向路由器或者网络发送业务数据流。Optionally, the first processor 701 runs the program corresponding to the executable program code by reading the executable program code stored in the first memory 703, and may also be used for: when the service data flow is not obtained according to the target service identifier When the destination node is identified, the service data flow is sent to the router or the network.

本实施例的业务传输的装置700接收业务节点处理完业务数据流,并根据业务数据流中的业务特征标识确定目的业务,再根据目的业务确定相应的目的节点,然后将该业务数据流发送至目的节点。这样,各业务节点无需关心需要将业务数据流发送至哪里,查询以及转发操作由业务传输的装置700完成,减轻了各业务节点的负担,提高了各业务节点处理业务的效率。而且,通过业务数据流的目的业务标识来获取业务数据流的目的节点标识,易于业务的扩展。The service transmission device 700 of this embodiment receives the service node to process the service data flow, and determines the target service according to the service feature identifier in the service data flow, and then determines the corresponding destination node according to the target service, and then sends the service data flow to destination node. In this way, each service node does not need to care about where the service data stream needs to be sent, and the query and forwarding operations are completed by the service transmission device 700, which reduces the burden of each service node and improves the efficiency of service processing of each service node. Moreover, acquiring the destination node identifier of the service data flow through the destination service identifier of the service data flow facilitates service expansion.

实施例九Embodiment nine

本实施例提供另一种业务节点,用于执行实施例四的业务传输的方法。This embodiment provides another service node, which is used to implement the service transmission method in the fourth embodiment.

如图8所示,为根据本实施例的业务传输的装置的结构示意图。该业务节点800包括至少一个第二处理器801、第二通信总线802、第二存储器803以及至少一个第二通信接口804。As shown in FIG. 8 , it is a schematic structural diagram of an apparatus for service transmission according to this embodiment. The service node 800 includes at least one second processor 801 , a second communication bus 802 , a second memory 803 and at least one second communication interface 804 .

其中,第二通信总线802用于实现上述组件之间的连接并通信,第二通信接口804用于与网络设备连接并通信。该总线可以是ISA(Industry Standard Architecture,工业标准体系结构)总线、PCI(Peripheral Component,外部设备互连)总线或EISA(Extended Industry Standard Architecture,扩展工业标准体系结构)总线等。总线可以是一条或多条物理线路,当是多条物理线路时可以分为地址总线、数据总线、控制总线等。Wherein, the second communication bus 802 is used to realize the connection and communication between the above components, and the second communication interface 804 is used to connect and communicate with network devices. The bus can be an ISA (Industry Standard Architecture, industry standard architecture) bus, a PCI (Peripheral Component, external device interconnection) bus, or an EISA (Extended Industry Standard Architecture, extended industry standard architecture) bus, etc. The bus can be one or more physical lines, and when there are multiple physical lines, it can be divided into address bus, data bus, control bus, etc.

其中,第二存储器803用于存储可执行程序代码,其中,第二处理器801通过读取第二存储器803中存储的可执行程序代码来运行与可执行程序代码对应的程序,以用于:Wherein, the second memory 803 is used to store executable program codes, wherein the second processor 801 executes the program corresponding to the executable program codes by reading the executable program codes stored in the second memory 803, so as to:

接收业务传输的装置发送的业务数据流;receiving the service data flow sent by the device for service transmission;

当处理完业务数据流之后,在业务数据流中封装业务特征标识,并向业务传输的装置发送业务数据流,业务特征标识用于使业务传输的装置根据业务数据流中的业务特征标识获取业务数据流的目的业务标识,根据目的业务标识获取业务数据流的目的节点标识,并向目的节点标识对应的目的节点发送业务数据流。After the service data flow is processed, the service feature identifier is encapsulated in the service data flow, and the service data flow is sent to the service transmission device. The service feature identifier is used to enable the service transmission device to obtain the service according to the service feature identifier in the service data flow The destination service identifier of the data flow is to obtain the destination node identifier of the service data flow according to the destination service identifier, and send the service data flow to the destination node corresponding to the destination node identifier.

其中,业务特征标识包括以下至少一种:业务数据流的源业务标识、用户标识和业务数据流的标识,其中用户标识为业务数据流的起始发送端的标识,即生成该业务数据流的客户端的标识。Wherein, the service feature identification includes at least one of the following: the source service identification of the service data flow, the user identification and the identification of the service data flow, wherein the user identification is the identification of the initial sender of the service data flow, that is, the customer who generates the service data flow end ID.

本实施例的业务节点800在处理完业务数据流之后,将该业务数据流发送至业务传输的装置,由业务传输的装置进行查找目的节点的操作,并将业务数据流发送至目的节点,不仅减轻了业务节点的负担,而且通过业务传输的装置的统一管理,便于业务以及业务节点的更新。After the service node 800 in this embodiment processes the service data flow, it sends the service data flow to the service transmission device, and the service transmission device performs the operation of searching for the destination node, and sends the service data flow to the destination node, not only The burden of the service node is lightened, and through the unified management of the device for service transmission, it is convenient to update the service and the service node.

本发明还提供一种业务传输的系统,该业务传输的系统包括上述任一实施例描述的业务传输的装置,还包括上述任一实施例描述的业务节点。The present invention also provides a service transmission system, which includes the service transmission device described in any of the above embodiments, and further includes the service node described in any of the above embodiments.

本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps for realizing the above-mentioned method embodiments can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the It includes the steps of the above method embodiments; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other various media that can store program codes.

最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still be Modifications are made to the technical solutions described in the foregoing embodiments, or equivalent replacements are made to some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (15)

1. the method for a professional transmission is characterized in that, comprising:
When receiving the business data flow of service node transmission, obtain the purpose service identification of described business data flow according to the sign of the service feature in the described business data flow;
Obtain the destination node sign of described business data flow according to described purpose service identification;
Send described business data flow to destination node corresponding to described destination node sign.
2. the method for professional transmission according to claim 1, it is characterized in that, described service feature sign comprises following at least a: the sign of source service identification, user ID and the described business data flow of described business data flow, described user ID are the sign of the initial transmitting terminal of described business data flow.
3. the method for professional transmission according to claim 1 and 2 is characterized in that,
The described purpose service identification that obtains described business data flow according to the sign of the service feature in the described business data flow comprises:
According to the sign of the service feature in the described business data flow, in default service identification tabulation, obtain the purpose service identification of described business data flow;
The described destination node sign of obtaining described business data flow according to described purpose service identification comprises:
According to described purpose service identification, in default service node tabulation, obtain the destination node sign of described business data flow;
Described destination node to described destination node sign correspondence sends described business data flow and comprises:
In default routing table, search transmission path according to destination node corresponding to described destination node sign;
Send described business data flow according to described transmission path to described destination node.
4. the method for the transmission of the business described in according to claim 3 is characterized in that, also comprises:
Every Preset Time, upgrade described service identification tabulation, the tabulation of described service node and described routing table.
5. the method for professional transmission according to claim 1 and 2 is characterized in that, the described destination node sign of obtaining described business data flow according to described purpose service identification comprises:
When getting access to a plurality of destination node sign according to described purpose service identification, choose at random one of them as the destination node sign of described business data flow, perhaps select one of them as the destination node sign of described business data flow according to the load balancing principle, perhaps described a plurality of destination node signs are all identified as the destination node of described business data flow.
6. the method for each described professional transmission is characterized in that according to claim 1 ~ 5, also comprises:
When not obtaining the destination node sign of described business data flow according to described purpose service identification, send described business data flow to router or network.
7. the method for a professional transmission is characterized in that, comprising:
Receive the business data flow of the device transmission of professional transmission;
After handling described business data flow, the professional signature identification of encapsulation in described business data flow, and the device that transmits to described business sends described business data flow, described service feature sign is used for making the described professional device that transmits to obtain the purpose service identification of described business data flow according to the service feature sign of described business data flow, obtain the destination node sign of described business data flow according to described purpose service identification, and send described business data flow to destination node corresponding to described destination node sign.
8. the method for professional transmission according to claim 7, it is characterized in that, described service feature sign comprises following at least a: the sign of source service identification, user ID and the described business data flow of described business data flow, described source service identification is the service identification of the corresponding current business node of described business data flow, and described user ID is the sign of the initial transmitting terminal of described business data flow.
9. the device of a professional transmission is characterized in that, comprising:
The first acquisition module is used for obtaining the purpose service identification of described business data flow according to the sign of the service feature in the described business data flow when receiving the business data flow of service node transmission;
The second acquisition module is for the destination node sign of obtaining described business data flow according to described purpose service identification;
Sending module is used for sending described business data flow to destination node corresponding to described destination node sign.
10. the device of professional transmission according to claim 9 is characterized in that,
Described the first acquisition module specifically is used for:
When receiving the business data flow of service node transmission, according to the sign of the service feature in the described business data flow, in default service identification tabulation, obtain the purpose service identification of described business data flow;
Described the second acquisition module specifically is used for:
According to described purpose service identification, in default service node tabulation, obtain the destination node sign of described business data flow;
Described sending module specifically is used for:
In default routing table, search transmission path according to destination node corresponding to described destination node sign;
Send described business data flow according to described transmission path to described destination node.
11. the device of professional transmission according to claim 10 is characterized in that, also comprises:
Update module is used for every Preset Time, upgrades described service identification tabulation, the tabulation of described service node and described routing table.
12. the device of professional transmission according to claim 9 is characterized in that, described the second acquisition module specifically is used for:
When getting access to a plurality of destination node sign according to described purpose service identification, choose at random one of them as the destination node sign of described business data flow, perhaps select one of them as the destination node sign of described business data flow according to the load balancing principle, perhaps described a plurality of destination node signs are all identified as the destination node of described business data flow.
13. the device of each described professional transmission according to claim 9 ~ 12, it is characterized in that, described sending module also is used for sending described business data flow to router or network when not obtaining the destination node sign of described business data flow according to described purpose service identification.
14. a service node is characterized in that, comprising:
Receiver module is used for receiving the business data flow that the professional device that transmits sends;
Processing module, be used for after handling described business data flow, the professional signature identification of encapsulation in described business data flow, and the device that transmits to described business sends described business data flow, described service feature sign is used for making the described professional device that transmits to obtain the purpose service identification of described business data flow according to the service feature sign of described business data flow, obtain the destination node sign of described business data flow according to described purpose service identification, and send described business data flow to destination node corresponding to described destination node sign.
15. the system of a professional transmission comprises each described professional device that transmits in the claim 7 ~ 13, also comprises the described service node of claim 14.
CN2013100019427A 2013-01-04 2013-01-04 Method, device and system for service transmission Pending CN103067295A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013100019427A CN103067295A (en) 2013-01-04 2013-01-04 Method, device and system for service transmission

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013100019427A CN103067295A (en) 2013-01-04 2013-01-04 Method, device and system for service transmission

Publications (1)

Publication Number Publication Date
CN103067295A true CN103067295A (en) 2013-04-24

Family

ID=48109763

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013100019427A Pending CN103067295A (en) 2013-01-04 2013-01-04 Method, device and system for service transmission

Country Status (1)

Country Link
CN (1) CN103067295A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103795805A (en) * 2014-02-27 2014-05-14 中国科学技术大学苏州研究院 Distributed server load balancing method based on SDN
CN104579959A (en) * 2013-10-18 2015-04-29 上海贝尔股份有限公司 Method and equipment for establishing label switching path of SDN stream in MPLS network
CN104683254A (en) * 2013-11-29 2015-06-03 英业达科技有限公司 Route control method and route control device
CN105207908A (en) * 2015-09-30 2015-12-30 浪潮(北京)电子信息产业有限公司 Message processing method and system framework
CN105594180A (en) * 2014-01-29 2016-05-18 华为技术有限公司 Inter-node communication processing method and route determination node
CN105721185A (en) * 2014-12-03 2016-06-29 阿里巴巴集团控股有限公司 Information transmission method and apparatus among service nodes of computer system
CN106817315A (en) * 2015-11-27 2017-06-09 财团法人资讯工业策进会 Software defined network system and network connection routing method thereof
CN109104490A (en) * 2018-08-29 2018-12-28 北京达佳互联信息技术有限公司 Service identification management method, device, electronic equipment and storage medium
CN110138618A (en) * 2013-12-31 2019-08-16 华为技术有限公司 A kind of message processing method, apparatus and system
WO2023123902A1 (en) * 2021-12-28 2023-07-06 深圳云天励飞技术股份有限公司 Data transmission processing method in chip system, and related device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102065014A (en) * 2010-12-29 2011-05-18 中兴通讯股份有限公司 Data cell processing method and device
CN102318291A (en) * 2011-07-14 2012-01-11 华为技术有限公司 Business flow processing method, device and system
EP2466809A1 (en) * 2010-12-20 2012-06-20 Alcatel Lucent Method and network node for configuring a network for optimized transport of packet traffic

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2466809A1 (en) * 2010-12-20 2012-06-20 Alcatel Lucent Method and network node for configuring a network for optimized transport of packet traffic
WO2012084462A1 (en) * 2010-12-20 2012-06-28 Alcatel Lucent Method and network node for configuring a network for optimized transport of packet traffic
CN102065014A (en) * 2010-12-29 2011-05-18 中兴通讯股份有限公司 Data cell processing method and device
CN102318291A (en) * 2011-07-14 2012-01-11 华为技术有限公司 Business flow processing method, device and system

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104579959B (en) * 2013-10-18 2017-12-01 上海贝尔股份有限公司 The method and apparatus for establishing the label switched path of SDN streams in an mpls network
CN104579959A (en) * 2013-10-18 2015-04-29 上海贝尔股份有限公司 Method and equipment for establishing label switching path of SDN stream in MPLS network
CN104683254A (en) * 2013-11-29 2015-06-03 英业达科技有限公司 Route control method and route control device
CN110138618B (en) * 2013-12-31 2021-10-26 华为技术有限公司 Message processing method, device and system
CN110138618A (en) * 2013-12-31 2019-08-16 华为技术有限公司 A kind of message processing method, apparatus and system
CN105594180A (en) * 2014-01-29 2016-05-18 华为技术有限公司 Inter-node communication processing method and route determination node
CN105594180B (en) * 2014-01-29 2019-07-19 华为技术有限公司 Inter-node communication processing method and routing determination node
CN103795805B (en) * 2014-02-27 2017-08-25 中国科学技术大学苏州研究院 Distributed server load-balancing method based on SDN
CN103795805A (en) * 2014-02-27 2014-05-14 中国科学技术大学苏州研究院 Distributed server load balancing method based on SDN
CN105721185A (en) * 2014-12-03 2016-06-29 阿里巴巴集团控股有限公司 Information transmission method and apparatus among service nodes of computer system
CN105721185B (en) * 2014-12-03 2019-02-15 阿里巴巴集团控股有限公司 Information transferring method and its device between computer system service node
CN105207908B (en) * 2015-09-30 2018-09-18 浪潮(北京)电子信息产业有限公司 A kind of message processing method and system
CN105207908A (en) * 2015-09-30 2015-12-30 浪潮(北京)电子信息产业有限公司 Message processing method and system framework
CN106817315A (en) * 2015-11-27 2017-06-09 财团法人资讯工业策进会 Software defined network system and network connection routing method thereof
CN109104490A (en) * 2018-08-29 2018-12-28 北京达佳互联信息技术有限公司 Service identification management method, device, electronic equipment and storage medium
WO2023123902A1 (en) * 2021-12-28 2023-07-06 深圳云天励飞技术股份有限公司 Data transmission processing method in chip system, and related device

Similar Documents

Publication Publication Date Title
CN103067295A (en) Method, device and system for service transmission
KR101886291B1 (en) Flow entry configuration method, apparatus, and system
CN112422393B (en) Method for transmitting message of extensible virtual local area network, computer equipment and readable medium
US12010195B2 (en) Efficient flow management utilizing control packets
CN110999265B (en) Manage network connectivity between cloud computing service endpoints and virtual machines
RU2661768C2 (en) Arp processing method, switch device and control module
US20160301603A1 (en) Integrated routing method based on software-defined network and system thereof
US10461958B2 (en) Packet transmission method and apparatus
CN109361606B (en) Message processing system and network equipment
EP3790239B1 (en) Network access method and device for edge router
CN109361600B (en) Method and equipment for acquiring path identifier
CN106878199B (en) Configuration method and device of access information
WO2014176740A1 (en) Stream classifier, service routing trigger, and message processing method and system
CN106878194B (en) Message processing method and device
CN104756450A (en) Packet format and communication method of network node for IP routing compatibility and the network node
US12028260B2 (en) Service packet processing method, apparatus, and system
EP3965382A1 (en) Method and device for implementing service function processing
EP2815546A1 (en) Construct Large-scale DVPN
JP2020520612A (en) Packet transmission method, edge device, and machine-readable storage medium
WO2015196923A1 (en) Method for sending information and network device
WO2017063400A1 (en) Packet routing method and device based on service chain information
WO2017024818A1 (en) Method and device for processing data message
US20210112607A1 (en) Communication system and communication method
US20160134522A1 (en) Data flow processing method, device, and system
WO2022237879A1 (en) Routing obtaining method and apparatus, storage medium, and electronic apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20130424

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载