CN105515816B - Method and device for processing detection level information - Google Patents
Method and device for processing detection level information Download PDFInfo
- Publication number
- CN105515816B CN105515816B CN201410559786.0A CN201410559786A CN105515816B CN 105515816 B CN105515816 B CN 105515816B CN 201410559786 A CN201410559786 A CN 201410559786A CN 105515816 B CN105515816 B CN 105515816B
- Authority
- CN
- China
- Prior art keywords
- sfc oam
- service
- sfc
- information
- oam detection
- 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.)
- Expired - Fee Related
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
技术领域technical field
本发明涉及通信领域,具体而言,涉及一种检测层次信息的处理方法及装置。The present invention relates to the communication field, in particular to a processing method and device for detecting hierarchical information.
背景技术Background technique
业务功能链(Service Function Chaining,简称为SFC)是目前正在研究和标准化的一种网络技术。自从数据中心网络向叠加(Overlay)网络发展以后,网络边缘成为了虚拟网络与物理网络的分界点,其中,网络边缘可能为服务器(Server)或者架顶式(ToR)交换机,以及可能为网关(Gateway)。然而Overlay技术无法解决所有问题,在数据中心内还是存在很多中间件(Middleware),例如:防火墙/负载均衡器等,这些设备都是基于用户业务来处理的,如果通过隧道而穿越这些设备,显然是不行的。Service Function Chaining (SFC for short) is a network technology currently being researched and standardized. Since the data center network has developed into an overlay (Overlay) network, the edge of the network has become the dividing point between the virtual network and the physical network. Among them, the edge of the network may be a server (Server) or a top-of-rack (ToR) switch, and may be a gateway ( Gateway). However, Overlay technology cannot solve all problems. There are still a lot of middleware (Middleware) in the data center, such as: firewall/load balancer, etc. These devices are processed based on user services. If these devices are traversed through tunnels, obviously It is not acceptable.
数据中心的这种部署模型,要求虚拟防火墙/负载均衡器可以在网络中任意部署,也就是与网络拓扑无关;其缺陷在于:如果将流量能够灵活地通过虚拟防火墙/负载均衡器进行处理,那么将会产生虚拟防火墙/负载均衡器等新型中间件,这些虚拟防火墙/负载均衡器部署在网络的边缘,可以由标准服务器来实现。This deployment model of the data center requires that the virtual firewall/load balancer can be deployed arbitrarily in the network, that is, it has nothing to do with the network topology; its defect is that if the traffic can be flexibly processed through the virtual firewall/load balancer, then There will be new types of middleware such as virtual firewalls/load balancers that are deployed at the edge of the network and can be implemented by standard servers.
相关技术中将虚拟防火墙/负载均衡器/网关等业务处理功能称为业务功能(Service Function),而流量经过一系列的Service Function的处理,便会形成ServiceFunction Chaining,即业务功能链。In related technologies, business processing functions such as virtual firewall/load balancer/gateway are called service functions (Service Function), and traffic is processed by a series of Service Functions to form a Service Function Chaining, that is, a service function chain.
目前,相关技术中的SFC框架基本可以分为如下组件:At present, the SFC framework in related technologies can basically be divided into the following components:
1.业务叠加(Service Overlay),即各个网络边缘节点需要通信的Overlay技术;1. Service Overlay, that is, the Overlay technology that each network edge node needs to communicate;
2.通用业务控制平面(Generic Service Control Plane,简称为GSCP),即为形成Service Function Chaining的控制器;2. Generic Service Control Plane (GSCP for short), which is the controller that forms Service Function Chaining;
3.业务分类器(Service Classification),即需要进行流识别,然后对特定的流进行特定的Service Function Chaining处理;3. Service Classification, which requires flow identification, and then performs specific Service Function Chaining processing on specific flows;
4.业务功能(Service Function,简称为SF),对数据报文进行业务处理的的组件;4. Service Function (SF for short), a component that performs business processing on data packets;
5.业务功能转发器(Service Function Forwarder,简称为SFF),数据报文在业务功能链的各个节点之间传递,会在数据帧以外封装一层业务功能报文头(Network ServiceHeader,简称为NSH)。这个报文头会被业务功能节点上的业务功能转发器组件进行解析、封装和解封装。上述业务功能报文头报文格式具体如图1所示。5. Service Function Forwarder (Service Function Forwarder, referred to as SFF), the data message is transmitted between each node of the service function chain, and a layer of service function header (Network Service Header, referred to as NSH) will be encapsulated outside the data frame ). This message header will be parsed, encapsulated and decapsulated by the service function forwarder component on the service function node. The format of the above-mentioned service function packet header is specifically shown in FIG. 1 .
6.网络转发器(Network Forwarder,简称为NF),负责同一业务节点的内部多个SFFs之间的转发以及对Overlay的数据报文进行封装、解封装Overlay层;同时还能够处理不同业务节点之间的转发;6. The network forwarder (Network Forwarder, referred to as NF), is responsible for the forwarding between multiple SFFs inside the same service node, as well as encapsulating and decapsulating the Overlay data message of the Overlay layer; transfer between
7.业务功能路径(service function path,简称为SFP),图2是根据相关技术的业务功能路径的示意图。如图2所示,SFP是从分类器开始,再经过若干业务功能实例,最终达到目的地的一条业务处理路径。在某些情况下,通用业务控制平台(GSCP)无法知晓沿途经过的所有业务功能实例,例如:负荷分担场景或者业务服务等级场景等,此时,位于抽象的业务功能链SFC和真实具体的流量转发经过的有序业务实例构成的路径之间的这种业务功能链的描述,也称之为业务功能路径。一条业务功能链可能包括多个业务功能路径,不同的业务功能路径对应于不同的策略。7. A service function path (SFP for short), FIG. 2 is a schematic diagram of a service function path according to related technologies. As shown in Figure 2, SFP is a service processing path starting from the classifier, passing through several service function instances, and finally reaching the destination. In some cases, the General Service Control Platform (GSCP) cannot know all the service function instances along the way, such as: load sharing scenarios or business service level scenarios, etc. At this time, between the abstract service function chain SFC and the real specific traffic The description of this kind of service function chain between the paths formed by the forwarded ordered service instances is also called a service function path. A business function chain may include multiple business function paths, and different business function paths correspond to different strategies.
8.控制平面元数据(Dataplane Metadata),其为一大特点,元数据(Metadata)允许各个业务功能节点能够互相交换信息,从而达到特定业务处理目的。8. Control plane metadata (Dataplane Metadata), which is a major feature, metadata (Metadata) allows each service function node to exchange information with each other, so as to achieve specific service processing purposes.
综上而述,SFC是一项将网络设备业务功能和转发分离开来的技术,其实现了业务功能的独立运算和处理,提升了网络设备的转发性能。To sum up, SFC is a technology that separates network equipment service functions from forwarding. It realizes independent calculation and processing of service functions and improves the forwarding performance of network equipment.
操作、管理和维护(Operation,Administration and Maintenance,简称为OAM)技术是针对网络连通性检测、故障定位、排查的网络传输协议以及在出现故障的时能够提供保护倒换的触发机制,其包含了链路连通性检测(Connectivity Verification,简称为CV)机制、Ping机制以及Trace机制。对于不同的承载网协议,均有相应的OAM机制。例如:在以太网中存在以太OAM协议,在IP网络中存在IP OAM协议,在MPLS网络中存在MPLS OAM。Operation, Administration and Maintenance (OAM for short) technology is a network transmission protocol for network connectivity detection, fault location, and troubleshooting, as well as a trigger mechanism that can provide protection switching when a fault occurs. It includes chain A connectivity verification (Connectivity Verification, CV for short) mechanism, a Ping mechanism, and a Trace mechanism. There are corresponding OAM mechanisms for different bearer network protocols. For example: the Ethernet OAM protocol exists in the Ethernet, the IP OAM protocol exists in the IP network, and the MPLS OAM protocol exists in the MPLS network.
目前,正在讨论SFC OAM技术的技术框架和实现细节。图3是根据相关技术的SFCOAM的技术框架示意图。如图3所示,其核心思想在于诊断业务功能链或者业务功能之间的链路状况。图4是根据相关技术的一种SFC OAM报文格式的示意图。如图4所示,可以在业务功能报文头NSH中预留一个字段,用于标识是OAM报文以及OAM报文类型。图5是根据相关技术的另一种SFC OAM报文格式的示意图。如图5所示,可以在业务功能报文头NSH中预留1个比特(Bit),用于标识是OAM报文,而至于是哪种类型的OAM报文,则可以设置在业务功能报文头NSH以外的报文中。但是无论哪种方案,都无法解决SFC OAM的层次问题,即究竟是诊断业务功能链经历的业务节点之间的连通性还是业务功能链经历的业务节点上的业务功能转发器(SFF)之间的连通性、抑或是业务功能链经历的业务功能转发器(SFF)所管理的SF之间的连通性。Currently, the technical framework and implementation details of the SFC OAM technology are being discussed. Fig. 3 is a schematic diagram of a technical framework of SFCOAM according to related technologies. As shown in FIG. 3 , the core idea is to diagnose service function chains or link conditions between service functions. Fig. 4 is a schematic diagram of an SFC OAM message format according to related technologies. As shown in FIG. 4 , a field may be reserved in the NSH of the service function message header to identify the OAM message and the type of the OAM message. Fig. 5 is a schematic diagram of another SFC OAM message format according to related technologies. As shown in Figure 5, one bit (Bit) can be reserved in the NSH of the service function message header, which is used to identify the OAM message. As for the type of OAM message, it can be set in the service function message In packets other than the header NSH. However, no matter which solution is used, it is impossible to solve the hierarchical problem of SFC OAM, that is, whether to diagnose the connectivity between the service nodes experienced by the service function chain or the service function forwarder (SFF) on the service node experienced by the service function chain The connectivity of the service function chain, or the connectivity between SFs managed by the service function forwarder (SFF) experienced by the service function chain.
综上所述,现有的SFC OAM技术无法灵活定义、管理其OAM检测层次。To sum up, the existing SFC OAM technology cannot flexibly define and manage its OAM detection level.
发明内容Contents of the invention
本发明实施例提供了一种检测层次信息的处理方法及装置,以至少解决现有的SFC OAM技术无法灵活定义、管理其OAM检测层次的问题。Embodiments of the present invention provide a method and device for processing detection level information, so as to at least solve the problem that the existing SFC OAM technology cannot flexibly define and manage its OAM detection level.
根据本发明的一个方面,提供了一种检测层次信息的处理方法。According to one aspect of the present invention, a processing method for detecting hierarchical information is provided.
根据本发明实施例的检测层次信息的处理方法包括:源端业务节点确定业务功能链(SFC)操作、管理和维护(OAM)检测层次信息,并将SFC OAM检测层次信息封装在SFC OAM检测报文中,其中,SFC OAM检测层次信息用于表明在不同业务节点中属于同一层级的对等实体之间进行SFC OAM检测;源端业务节点向目的端业务节点发送SFC OAM检测报文。The processing method for detection level information according to the embodiment of the present invention includes: the source end service node determines the service function chain (SFC) operation, management and maintenance (OAM) detection level information, and encapsulates the SFC OAM detection level information in the SFC OAM detection report In this paper, the SFC OAM detection level information is used to indicate that SFC OAM detection is performed between peer entities belonging to the same level in different service nodes; the source service node sends SFC OAM detection messages to the destination service node.
优选地,源端业务节点确定SFC OAM检测层次信息包括:源端业务节点获取当前备选的多种SFC OAM检测层次;源端业务节点从多种SFC OAM检测层次中选取其中至少一种SFC OAM检测层次。Preferably, the source-end service node determines the SFC OAM detection level information includes: the source-end service node obtains a variety of SFC OAM detection levels currently available; the source-end service node selects at least one SFC OAM detection level from a variety of SFC OAM detection levels detection level.
优选地,多种SFC OAM检测层次包括以下至少之一:业务功能链经历的不同业务节点之间的SFC OAM检测层次;业务功能链经历的不同业务节点上的业务功能转发器SFF之间的SFC OAM检测层次;业务功能链经历的不同业务节点上的SFF分别管理的业务功能SF之间的SFC OAM检测层次。Preferably, multiple SFC OAM detection levels include at least one of the following: SFC OAM detection levels between different service nodes experienced by the service function chain; SFC between service function forwarders SFF on different service nodes experienced by the service function chain OAM detection level: the SFC OAM detection level between the service function SFs managed by the SFFs on different service nodes experienced by the service function chain.
优选地,SFC OAM检测层次信息封装在业务功能报文头NSH的特定比特位中或者SFC OAM检测层次信息封装在除NSH之外的其余报文头中。Preferably, the SFC OAM detection level information is encapsulated in specific bits of the service function packet header NSH or the SFC OAM detection level information is encapsulated in other packet headers except the NSH.
优选地,源端业务节点为业务分类器或者业务功能链上的其中一个业务节点。Preferably, the source service node is a service classifier or one of the service nodes on the service function chain.
优选地,目的端业务节点为业务功能链上除源端业务节点之外的其余一个业务节点或多个业务节点的组合。Preferably, the destination service node is a service node or a combination of multiple service nodes other than the source service node on the service function chain.
优选地,SFC OAM检测报文包括以下类型之一:连通性检测报文、Ping报文、Trace报文。Preferably, the SFC OAM detection message includes one of the following types: a connectivity detection message, a Ping message, and a Trace message.
根据本发明的另一方面,提供了另一种检测层次信息的处理方法。According to another aspect of the present invention, another processing method for detecting hierarchical information is provided.
根据本发明实施例的检测层次信息的处理方法包括:目的端业务节点接收来自于源端业务节点的业务功能链SFC操作、管理和维护OAM检测报文,其中,SFC OAM检测报文中携带有SFC OAM检测层次信息,SFC OAM检测层次信息用于表明在不同业务节点中属于同一层级的对等实体之间进行SFC OAM检测;目的端业务节点从SFC OAM检测报文中解析出SFCOAM检测层次信息,并根据SFC OAM检测层次信息确定待反馈的SFC OAM应答报文。The processing method for detecting hierarchical information according to the embodiment of the present invention includes: the destination service node receives the service function chain SFC operation, management and maintenance OAM detection message from the source service node, wherein the SFC OAM detection message carries SFC OAM detection level information, SFC OAM detection level information is used to indicate that SFC OAM detection is performed between peer entities belonging to the same level in different service nodes; the destination service node parses the SFC OAM detection level information from the SFC OAM detection message , and determine the SFC OAM response message to be fed back according to the SFC OAM detection level information.
优选地,目的端业务节点根据SFC OAM检测层次信息确定SFC OAM应答报文包括以下之一:当SFC OAM检测层次信息为业务功能链经历的不同业务节点之间的SFC OAM检测层次时,目的端业务节点直接处理SFC OAM检测报文,并在对SFC OAM检测报文处理完毕后,在SFC OAM应答报文中携带的信息包括以下至少之一:目的端业务节点的节点信息、目的端业务节点的连通性信息、目的端业务节点的路径信息;当SFC OAM检测层次信息为业务功能链经历的不同业务节点上的业务功能转发器SFF之间的SFC OAM检测层次时,目的端业务节点将SFC OAM检测报文转发给SFF处理SFC OAM报文,并在SFF对SFC OAM报文处理完毕后,在SFC OAM应答报文中携带的信息包括以下至少之一:目的端业务节点的SFF的连通性信息、SFF的路径信息、SFF的业务等级协议信息;当SFC OAM检测层次信息为业务功能链经历的不同SFF分别管理的业务功能SF之间的SFC OAM检测层次时,目的端业务节点将SFC OAM检测报文转发给SFF处理后,再转发给SF进行处理,直至SFF和SF对SFC OAM检测报文均处理完毕后,在SFC OAM应答报文中携带的信息包括以下至少之一:目的端业务节点的SFF管理下的SF的业务功能信息、SF的连通性信息、SF的路径信息、SF的业务等级协议信息。Preferably, the destination service node determines that the SFC OAM response message includes one of the following according to the SFC OAM detection level information: when the SFC OAM detection level information is the SFC OAM detection level between different service nodes experienced by the service function chain, the destination end The service node directly processes the SFC OAM detection message, and after processing the SFC OAM detection message, the information carried in the SFC OAM response message includes at least one of the following: node information of the destination service node, destination service node Connectivity information of the destination service node, path information of the destination service node; when the SFC OAM detection level information is the SFC OAM detection level between the service function forwarders SFF on different service nodes experienced by the service function chain, the destination service node will SFC The OAM detection message is forwarded to the SFF to process the SFC OAM message, and after the SFF finishes processing the SFC OAM message, the information carried in the SFC OAM response message includes at least one of the following: the connectivity of the SFF of the destination service node information, SFF path information, and SFF service level protocol information; when the SFC OAM detection level information is the SFC OAM detection level between the service function SFs managed by different SFFs experienced by the service function chain, the destination service node will SFC OAM After the detection message is forwarded to the SFF for processing, it is forwarded to the SF for processing. After the SFF and the SF finish processing the SFC OAM detection message, the information carried in the SFC OAM response message includes at least one of the following: destination service SF service function information, SF connectivity information, SF path information, and SF service level protocol information under the SFF management of the node.
根据本发明的又一方面,提供了一种检测层次信息的处理装置。According to still another aspect of the present invention, a processing device for detecting hierarchical information is provided.
根据本发明实施例的检测层次信息的处理装置包括:确定模块,用于确定业务功能链SFC操作、管理和维护OAM检测层次信息,并将SFC OAM检测层次信息封装在SFC OAM检测报文中,其中,SFC OAM检测层次信息用于表明在不同业务节点中属于同一层级的对等实体之间进行SFC OAM检测;发送模块,用于向目的端业务节点发送SFC OAM检测报文。The processing device for detecting level information according to an embodiment of the present invention includes: a determining module for determining the SFC operation, management and maintenance of the OAM detection level information of the service function chain, and encapsulating the SFC OAM detection level information in the SFC OAM detection message, Wherein, the SFC OAM detection level information is used to indicate that SFC OAM detection is performed between peer entities belonging to the same level in different service nodes; the sending module is used to send SFC OAM detection messages to the destination service node.
优选地,确定模块包括:获取单元,用于获取当前备选的多种SFC OAM检测层次;选取单元,用于从多种SFC OAM检测层次中选取其中一种SFC OAM检测层次。Preferably, the determination module includes: an acquisition unit, configured to acquire multiple currently available SFC OAM detection levels; a selection unit, configured to select one of the SFC OAM detection levels from the multiple SFC OAM detection levels.
优选地,多种SFC OAM检测层次包括以下至少之一:业务功能链经历的不同业务节点之间的SFC OAM检测层次;业务功能链经历的不同业务节点上的业务功能转发器SFF之间的SFC OAM检测层次;业务功能链经历的不同业务节点上的SFF分别管理的业务功能SF之间的SFC OAM检测层次。Preferably, multiple SFC OAM detection levels include at least one of the following: SFC OAM detection levels between different service nodes experienced by the service function chain; SFC between service function forwarders SFF on different service nodes experienced by the service function chain OAM detection level: the SFC OAM detection level between the service function SFs managed by the SFFs on different service nodes experienced by the service function chain.
优选地,SFC OAM检测层次信息封装在业务功能报文头NSH的特定比特位中或者SFC OAM检测层次信息封装在除NSH之外的其余报文头中。Preferably, the SFC OAM detection level information is encapsulated in specific bits of the service function packet header NSH or the SFC OAM detection level information is encapsulated in other packet headers except the NSH.
优选地,源端业务节点为业务分类器或者业务功能链上的其中一个业务节点。Preferably, the source service node is a service classifier or one of the service nodes on the service function chain.
优选地,目的端业务节点为业务功能链上除源端业务节点之外的其余一个业务节点或多个业务节点的组合。Preferably, the destination service node is a service node or a combination of multiple service nodes other than the source service node on the service function chain.
优选地,SFC OAM检测报文包括以下类型之一:连通性检测报文、Ping报文、Trace报文。Preferably, the SFC OAM detection message includes one of the following types: a connectivity detection message, a Ping message, and a Trace message.
根据本发明的另一方面,提供了另一种检测层次信息的处理装置。According to another aspect of the present invention, another processing device for detecting hierarchical information is provided.
根据本发明实施例的检测层次信息的处理装置包括:接收模块,用于接收来自于源端业务节点的业务功能链SFC操作、管理和维护OAM检测报文,其中,SFC OAM检测报文中携带有SFC OAM检测层次信息,SFC OAM检测层次信息用于表明在不同业务节点中属于同一层级的对等实体之间进行SFC OAM检测;处理模块,用于从SFC OAM检测报文中解析出SFCOAM检测层次信息,并根据SFC OAM检测层次信息确定待反馈的SFC OAM应答报文。The processing device for detecting hierarchical information according to an embodiment of the present invention includes: a receiving module, configured to receive a service function chain SFC operation, management and maintenance OAM detection message from a source service node, wherein the SFC OAM detection message carries There is SFC OAM detection level information, and the SFC OAM detection level information is used to indicate that SFC OAM detection is performed between peer entities belonging to the same level in different service nodes; the processing module is used to parse out the SFC OAM detection message from the SFC OAM detection message Layer information, and determine the SFC OAM response message to be fed back according to the SFC OAM detection layer information.
优选地,处理模块用于当SFC OAM检测层次信息为业务功能链经历的不同业务节点之间的SFC OAM检测层次时,直接处理SFC OAM检测报文,并在对SFC OAM检测报文处理完毕后,在SFC OAM应答报文中携带的信息包括以下至少之一:目的端业务节点的节点信息、目的端业务节点的连通性信息、目的端业务节点的路径信息;或者,当SFC OAM检测层次信息为业务功能链经历的不同业务节点上的业务功能转发器SFF之间的SFC OAM检测层次时,将SFC OAM检测报文转发给SFF处理SFC OAM报文,并在SFF对SFC OAM报文处理完毕后,在SFC OAM应答报文中携带的信息包括以下至少之一:目的端业务节点的SFF的连通性信息、SFF的路径信息、SFF的业务等级协议信息;或者,当SFC OAM检测层次信息为业务功能链经历的不同SFF分别管理的业务功能SF之间的SFC OAM检测层次时,将SFC OAM检测报文转发给SFF处理后,再转发给SF进行处理,直至SFF和SF对SFC OAM检测报文均处理完毕后,在SFCOAM应答报文中携带的信息包括以下至少之一:目的端业务节点的SFF管理下的SF的业务功能信息、SF的连通性信息、SF的路径信息、SF的业务等级协议信息。Preferably, the processing module is used to directly process the SFC OAM detection message when the SFC OAM detection level information is the SFC OAM detection level between different service nodes experienced by the service function chain, and after the SFC OAM detection message is processed , the information carried in the SFC OAM response message includes at least one of the following: node information of the destination service node, connectivity information of the destination service node, path information of the destination service node; or, when the SFC OAM detects hierarchical information For the SFC OAM detection level between the service function forwarders SFF on different service nodes experienced by the service function chain, the SFC OAM detection message is forwarded to the SFF to process the SFC OAM message, and the SFC OAM message is processed at the SFF Finally, the information carried in the SFC OAM response message includes at least one of the following: the connectivity information of the SFF of the destination service node, the path information of the SFF, and the service level protocol information of the SFF; or, when the SFC OAM detection level information is When the service function chain experiences the SFC OAM detection level between the service function SFs managed by different SFFs, the SFC OAM detection message is forwarded to the SFF for processing, and then forwarded to the SF for processing, until the SFF and SF check the SFC OAM detection message. After the text processing is completed, the information carried in the SFCOAM response message includes at least one of the following: the service function information of the SF under the management of the SFF of the destination service node, the connectivity information of the SF, the path information of the SF, and the service information of the SF Level agreement information.
通过本发明实施例,采用源端业务节点确定业务功能链SFC操作、管理和维护OAM检测层次信息,并将SFC OAM检测层次信息封装在SFC OAM检测报文中,其中,SFC OAM检测层次信息用于表明在不同业务节点中属于同一层级的对等实体之间进行SFC OAM检测;源端业务节点向目的端业务节点发送SFC OAM检测报文,解决了现有的SFC OAM技术无法灵活定义、管理其OAM检测层次的问题,进而能够实现灵活定义并管理OAM检测层次。Through the embodiment of the present invention, the source end service node is used to determine the SFC operation, management and maintenance OAM detection level information of the service function chain, and the SFC OAM detection level information is encapsulated in the SFC OAM detection message, wherein the SFC OAM detection level information is used It is used to indicate that SFC OAM detection is performed between peer entities belonging to the same level in different service nodes; the source service node sends SFC OAM detection messages to the destination service node, which solves the problem that the existing SFC OAM technology cannot be flexibly defined and managed The problem of its OAM detection level can realize flexible definition and management of OAM detection level.
附图说明Description of drawings
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The accompanying drawings described here are used to provide a further understanding of the present invention and constitute a part of the application. The schematic embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations to the present invention. In the attached picture:
图1是根据相关技术的业务功能报文头报文格式示意图;Fig. 1 is a schematic diagram of a message format of a service function message header according to related technologies;
图2是根据相关技术的业务功能路径的示意图;FIG. 2 is a schematic diagram of a service function path according to related technologies;
图3是根据相关技术的SFC OAM的技术框架示意图;FIG. 3 is a schematic diagram of a technical framework of SFC OAM according to related technologies;
图4是根据相关技术的一种SFC OAM报文格式的示意图;Fig. 4 is a schematic diagram of a SFC OAM message format according to the related art;
图5是根据相关技术的另一种SFC OAM报文格式的示意图;FIG. 5 is a schematic diagram of another SFC OAM message format according to related technologies;
图6是根据本发明实施例的检测层次信息的处理方法的流程图;Fig. 6 is a flowchart of a processing method for detecting hierarchical information according to an embodiment of the present invention;
图7是根据本发明优选实施例的SFC整体架构示意图;FIG. 7 is a schematic diagram of the overall architecture of the SFC according to a preferred embodiment of the present invention;
图8是根据本发明优选实施例的一种携带SFC OAM检测层次信息的SFC OAM报文格式示意图;Fig. 8 is a schematic diagram of the format of an SFC OAM message carrying SFC OAM detection level information according to a preferred embodiment of the present invention;
图9是根据本发明优选实施例的另一种携带SFC OAM检测层次信息的SFC OAM报文格式示意图;9 is a schematic diagram of another SFC OAM message format carrying SFC OAM detection level information according to a preferred embodiment of the present invention;
图10是根据本发明实施例的另一种检测层次信息的处理方法的流程图;FIG. 10 is a flow chart of another method for processing layer information detection according to an embodiment of the present invention;
图11是根据本发明优选实施例的基于层次一的业务节点之间的连通性检测机制的示意图;Fig. 11 is a schematic diagram of a connectivity detection mechanism between service nodes based on layer 1 according to a preferred embodiment of the present invention;
图12是根据本发明优选实施例的基于层次二的业务节点之间的Ping机制的示意图;Fig. 12 is a schematic diagram of a Ping mechanism between service nodes based on layer 2 according to a preferred embodiment of the present invention;
图13是根据本发明优选实施例的基于层次三的业务功能路径的Trace机制的示意图;FIG. 13 is a schematic diagram of a Trace mechanism based on a service function path at level 3 according to a preferred embodiment of the present invention;
图14是根据本发明实施例的检测层次信息的处理装置的结构框图;Fig. 14 is a structural block diagram of a processing device for detecting hierarchical information according to an embodiment of the present invention;
图15是根据本发明实施例的另一种检测层次信息的处理装置的结构框图。Fig. 15 is a structural block diagram of another processing device for detecting hierarchical information according to an embodiment of the present invention.
具体实施方式Detailed ways
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。Hereinafter, the present invention will be described in detail with reference to the drawings and examples. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other.
图6是根据本发明实施例的检测层次信息的处理方法的流程图。如图6所示,该方法可以包括以下处理步骤:Fig. 6 is a flowchart of a processing method for detecting hierarchical information according to an embodiment of the present invention. As shown in Figure 6, the method may include the following processing steps:
步骤S602:源端业务节点确定SFC OAM检测层次信息,并将SFC OAM检测层次信息封装在SFC OAM检测报文中,其中,SFC OAM检测层次信息用于表明在不同业务节点中属于同一层级的对等实体之间进行SFC OAM检测;Step S602: The source end service node determines the SFC OAM detection level information, and encapsulates the SFC OAM detection level information in the SFC OAM detection message, wherein the SFC OAM detection level information is used to indicate that objects belonging to the same level in different service nodes Perform SFC OAM detection between other entities;
步骤S604:源端业务节点向目的端业务节点发送SFC OAM检测报文。Step S604: the source service node sends the SFC OAM detection message to the destination service node.
相关技术中所提供的SFC OAM技术无法灵活定义、管理其OAM检测层次。采用如图1所示的方法,将不同业务节点之间的层次关系、或者不同业务节点的业务功能转发器之间的层次关系,抑或是不同业务节点的业务功能转发器管理下的业务功能之间的层次关系封装在SFC OAM检测报文中并告知目的端业务节点。由此解决了现有的SFC OAM技术无法灵活定义、管理其OAM检测层次的问题,进而能够实现灵活定义并管理OAM检测层次。The SFC OAM technology provided in the related art cannot flexibly define and manage its OAM detection level. Using the method shown in Figure 1, the hierarchical relationship between different service nodes, or the hierarchical relationship between service function forwarders of different service nodes, or the relationship between service functions under the management of service function forwarders of different service nodes The hierarchical relationship among them is encapsulated in the SFC OAM detection message and notified to the destination service node. Therefore, the problem that the existing SFC OAM technology cannot flexibly define and manage its OAM detection level is solved, and then the OAM detection level can be flexibly defined and managed.
优选地,在步骤S602中,源端业务节点确定SFC OAM检测层次信息可以包括以下操作:Preferably, in step S602, the determination of the SFC OAM detection level information by the source service node may include the following operations:
步骤S1:源端业务节点获取当前备选的多种SFC OAM检测层次;Step S1: The source-end service node obtains various SFC OAM detection levels currently available;
步骤S2:源端业务节点从多种SFC OAM检测层次中选取其中至少一种SFC OAM检测层次。Step S2: The source service node selects at least one SFC OAM detection level from various SFC OAM detection levels.
优选地,上述多种SFC OAM检测层次可以包括以下至少之一:Preferably, the above multiple SFC OAM detection levels may include at least one of the following:
(1)业务功能链经历的不同业务节点之间的SFC OAM检测层次;(1) SFC OAM detection level between different service nodes experienced by the service function chain;
(2)业务功能链经历的不同业务节点上的业务功能转发器SFF之间的SFC OAM检测层次;(2) SFC OAM detection levels between service function forwarders SFF on different service nodes experienced by the service function chain;
(3)业务功能链经历的不同SFF分别管理的业务功能SF之间的SFC OAM检测层次。(3) The SFC OAM detection level between the service function SFs managed by different SFFs experienced by the service function chain.
在优选实施例中,图7是根据本发明优选实施例的SFC整体架构示意图。如图7所示,在该SFC整体架构中存在以下三种SFC OAM层次:In a preferred embodiment, FIG. 7 is a schematic diagram of an overall architecture of an SFC according to a preferred embodiment of the present invention. As shown in Figure 7, there are the following three SFC OAM levels in the overall SFC architecture:
层次1:业务功能链经历的不同业务节点之间;Level 1: Between different business nodes experienced by the business function chain;
层次2:业务功能链经历的不同业务节点上的业务功能转发器SFF之间;Level 2: between service function forwarders SFF on different service nodes experienced by the service function chain;
层次3:业务功能链经历的不同业务功能转发器SFF管理的SF之间;Level 3: Between SFs managed by different service function forwarder SFFs experienced by the service function chain;
当业务功能链上发起SFC OAM检测时,业务功能链中的SFC OAM源端业务节点可以从上述三种SFC OAM层次中任意选择一种SFC OAM检测层次,然后封装在SFC OAM报文中,继而发送到目的端业务节点。When SFC OAM detection is initiated on the service function chain, the SFC OAM source service node in the service function chain can choose any SFC OAM detection level from the above three SFC OAM levels, and then encapsulate it in the SFC OAM message, and then sent to the destination service node.
优选地,上述SFC OAM检测层次信息可以封装在业务功能报文头NSH的特定比特位中或者上述SFC OAM检测层次信息还可以封装在除NSH之外的其余报文头中。Preferably, the above-mentioned SFC OAM detection level information may be encapsulated in specific bits of the service function header NSH, or the above-mentioned SFC OAM detection level information may also be encapsulated in other headers except NSH.
在优选实施例中,图8是根据本发明优选实施例的一种携带SFC OAM检测层次信息的SFC OAM报文格式示意图。如图8所示,上述SFC OAM检测层次信息可以使用专用的bits,该专用bits可以位于业务功能报文头NSH中。图9是根据本发明优选实施例的另一种携带SFC OAM检测层次信息的SFC OAM报文格式示意图。如图9所示,上述SFC OAM检测层次信息也可以位于业务功能报文头NSH以外的报文头中。In a preferred embodiment, FIG. 8 is a schematic diagram of the format of an SFC OAM message carrying SFC OAM detection level information according to a preferred embodiment of the present invention. As shown in FIG. 8, the above-mentioned SFC OAM detection level information may use dedicated bits, and the dedicated bits may be located in the NSH of the service function message header. Fig. 9 is a schematic diagram of another SFC OAM message format carrying SFC OAM detection level information according to a preferred embodiment of the present invention. As shown in FIG. 9 , the above SFC OAM detection level information may also be located in a message header other than the service function message header NSH.
在优选实施过程中,上述源端业务节点可以为业务分类器或者业务功能链上的其中一个业务节点。In a preferred implementation process, the above-mentioned source end service node may be a service classifier or one of the service nodes on the service function chain.
在优选实施过程中,上述目的端业务节点可以为业务功能链上除源端业务节点之外的其余一个业务节点或多个业务节点的组合。In a preferred implementation process, the above-mentioned destination service node may be a service node or a combination of multiple service nodes other than the source service node on the service function chain.
在优选实施过程中,上述SFC OAM检测报文可以包括但不限于以下类型之一:In a preferred implementation process, the above-mentioned SFC OAM detection message may include but not limited to one of the following types:
类型一、连通性检测(Connectivity Verification,简称为CV)报文;Type 1: Connectivity Verification (CV for short) message;
类型二、Ping报文;Type 2, Ping message;
类型三、Trace报文。Type 3, Trace message.
图10是根据本发明实施例的另一种检测层次信息的处理方法的流程图。如图10所示,该方法可以包括以下处理步骤:Fig. 10 is a flowchart of another processing method for detecting hierarchical information according to an embodiment of the present invention. As shown in Figure 10, the method may include the following processing steps:
步骤S1002:目的端业务节点接收来自于源端业务节点的SFC OAM检测报文,其中,SFC OAM检测报文中携带有SFC OAM检测层次信息,SFC OAM检测层次信息用于表明在不同业务节点中属于同一层级的对等实体之间进行SFC OAM检测;Step S1002: The destination service node receives the SFC OAM detection message from the source service node, wherein the SFC OAM detection message carries SFC OAM detection level information, and the SFC OAM detection level information is used to indicate that in different service nodes Perform SFC OAM detection between peer entities belonging to the same level;
步骤S1004:目的端业务节点从SFC OAM检测报文中解析出SFC OAM检测层次信息,并根据SFC OAM检测层次信息确定待反馈的SFC OAM应答报文。Step S1004: The destination service node parses out the SFC OAM detection level information from the SFC OAM detection message, and determines the SFC OAM response message to be fed back according to the SFC OAM detection level information.
优选地,在步骤S1004中,目的端业务节点根据SFC OAM检测层次信息确定SFC OAM应答报文可以包括以下之一:Preferably, in step S1004, the destination service node determines that the SFC OAM response message may include one of the following according to the SFC OAM detection level information:
(1)当SFC OAM检测层次信息为业务功能链经历的不同业务节点之间的SFC OAM检测层次时,目的端业务节点直接处理SFC OAM检测报文,并在对SFC OAM检测报文处理完毕后,在SFC OAM应答报文中携带的信息包括以下至少之一:目的端业务节点的节点信息、目的端业务节点的连通性信息、目的端业务节点的路径信息;(1) When the SFC OAM detection level information is the SFC OAM detection level between different service nodes experienced by the service function chain, the destination service node directly processes the SFC OAM detection message, and after processing the SFC OAM detection message , the information carried in the SFC OAM response message includes at least one of the following: node information of the destination service node, connectivity information of the destination service node, and path information of the destination service node;
(2)当SFC OAM检测层次信息为业务功能链经历的不同业务节点上的业务功能转发器SFF之间的SFC OAM检测层次时,目的端业务节点将SFC OAM检测报文转发给SFF处理SFC OAM报文,并在SFF对SFC OAM报文处理完毕后,在SFC OAM应答报文中携带的信息包括以下至少之一:目的端业务节点的SFF的连通性信息、SFF的路径信息、SFF的业务等级协议信息;(2) When the SFC OAM detection level information is the SFC OAM detection level between the service function forwarders SFF on different service nodes experienced by the service function chain, the destination service node forwards the SFC OAM detection message to the SFF to process the SFC OAM After the SFF finishes processing the SFC OAM message, the information carried in the SFC OAM response message includes at least one of the following: the connectivity information of the SFF of the destination service node, the path information of the SFF, and the service information of the SFF grade agreement information;
(3)当SFC OAM检测层次信息为业务功能链经历的不同SFF分别管理的业务功能SF之间的SFC OAM检测层次时,目的端业务节点将SFC OAM检测报文转发给SFF处理后,再转发给SF进行处理,直至SFF和SF对SFC OAM检测报文均处理完毕后,在SFC OAM应答报文中携带的信息包括以下至少之一:目的端业务节点的SFF管理下的SF的业务功能信息、SF的连通性信息、SF的路径信息、SF的业务等级协议信息。(3) When the SFC OAM detection level information is the SFC OAM detection level between the service function SFs managed by different SFFs experienced by the service function chain, the destination service node forwards the SFC OAM detection message to the SFF for processing, and then forwards it Process the SF until the SFF and SF have finished processing the SFC OAM detection message, and the information carried in the SFC OAM response message includes at least one of the following: the service function information of the SF under the management of the SFF of the destination service node , the connectivity information of the SF, the path information of the SF, and the service level protocol information of the SF.
在优选实施例中,目的端业务节点在接收到携带有SFC OAM检测层次的SFC OAM检测报文之后,从SFC OAM检测报文中解析出检测层次字段。如果该字段标识层次1,则仅返回携带有该业务节点的节点信息、连通性信息以及路径信息中至少一种信息的SFC OAM应答报文;如果该字段标识层次2,则返回携带有该业务节点的业务转发器的连通性信息以及路径信息中至少一种信息的SFC OAM应答报文;如果该字段标识层次3,则返回携带有该业务节点的业务转发器管理的业务功能的业务功能信息、连通性信息、路径信息以及业务等级协议(Service Level Agreement,简称为SLA)信息中至少一种信息的SFC OAM应答报文。In a preferred embodiment, after receiving the SFC OAM detection message carrying the SFC OAM detection level, the destination service node parses the detection level field from the SFC OAM detection message. If the field identifies level 1, only return the SFC OAM response message carrying at least one of the node information, connectivity information, and path information of the service node; if the field identifies level 2, return the SFC OAM response message carrying the service node The connectivity information of the service forwarder of the node and the SFC OAM response message of at least one information in the path information; if this field identifies level 3, return the service function information carrying the service function managed by the service forwarder of the service node An SFC OAM response message of at least one type of information among , connectivity information, path information, and service level agreement (Service Level Agreement, SLA for short) information.
下面将结合图11至图13中所示的优选实施方式对上述优选实施过程作进一步的描述。The above preferred implementation process will be further described below in conjunction with the preferred implementation shown in FIGS. 11 to 13 .
优选实施例一Preferred embodiment one
图11是根据本发明优选实施例的基于层次一的业务节点之间的连通性检测机制的示意图。如图11所示,该流程可以包括以下步骤:Fig. 11 is a schematic diagram of a connectivity detection mechanism between service nodes based on layer 1 according to a preferred embodiment of the present invention. As shown in Figure 11, the process may include the following steps:
步骤一、源端业务节点1构造携带有SFC OAM检测层次字段的SFC OAM的连通性检测报文,将其封装于Overlay层并沿着业务功能链将连通性检测报文转发至下一跳业务节点2,其中,该连通性检测报文中携带的检测层次字段值为1,即基于业务节点之间的连通性检测;Step 1. The source service node 1 constructs the SFC OAM connectivity detection message carrying the SFC OAM detection level field, encapsulates it in the Overlay layer, and forwards the connectivity detection message to the next-hop service along the service function chain Node 2, wherein the value of the detection level field carried in the connectivity detection message is 1, that is, based on the connectivity detection between service nodes;
步骤二、业务节点2接收到上述连通性检测报文,并从该连通性检测报文中解析出SFC OAM检测层次字段,发现其基于层次一;同时,发现自身运行正常,则该业务节点2将携带有SFC OAM检测层次字段的SFC OAM报文重新将其封装于Overlay层,再沿着业务功能链将连通性检测报文转发至下一跳业务节点3;Step 2, service node 2 receives the above connectivity detection message, and parses out the SFC OAM detection level field from the connectivity detection message, and finds that it is based on level 1; at the same time, it finds that it is running normally, then the service node 2 Re-encapsulate the SFC OAM message carrying the SFC OAM detection level field in the Overlay layer, and then forward the connectivity detection message to the next-hop service node 3 along the service function chain;
步骤三、业务节点3接收到上述连通性检测报文,并从该连通性检测报文中解析出SFC OAM检测层次字段,发现其基于层次一;同时,发现自身运行正常且为目的端业务节点,则生成携带有连通性信息的SFC OAM连通性检测应答报文,并将其封装于Overlay层,然后再沿着业务功能链逐跳转发连通性检测应答报文至源端业务节点1。Step 3, the service node 3 receives the above-mentioned connectivity detection message, and parses out the SFC OAM detection layer field from the connectivity detection message, and finds that it is based on layer 1; at the same time, it finds that it is running normally and is the destination service node , then generate the SFC OAM connectivity detection response message carrying the connectivity information, encapsulate it in the Overlay layer, and then forward the connectivity detection response message to the source service node 1 hop by hop along the service function chain.
优选实施例二Preferred embodiment two
图12是根据本发明优选实施例的基于层次二的业务节点之间的Ping机制的示意图。如图12所示,该方法可以包括以下步骤:Fig. 12 is a schematic diagram of a Ping mechanism between service nodes based on layer 2 according to a preferred embodiment of the present invention. As shown in Figure 12, the method may include the following steps:
步骤一、源端业务节点1构造携带有SFC OAM检测层次字段的SFC OAM的Ping报文,并将其封装于Overlay层,然后再沿着业务功能链将Ping报文转发到下一跳业务节点2,其中,携带检测层次字段值为2,即基于业务功能转发器之间的连通性检测;Step 1. The source service node 1 constructs the SFC OAM Ping message carrying the SFC OAM detection level field, encapsulates it in the Overlay layer, and then forwards the Ping message to the next-hop service node along the service function chain 2, where the field value of carrying detection level is 2, that is, based on the connectivity detection between service function transponders;
步骤二、业务节点2接收到Ping报文,并从Ping报文中解析出SFC OAM检测层次字段,发现其为基于层次二,然后,转发SFC封装报文到业务功能链经历的业务功能转发器SFF;Step 2, service node 2 receives the Ping message, and parses out the SFC OAM detection layer field from the Ping message, finds that it is based on layer 2, and then forwards the SFC encapsulated message to the service function forwarder experienced by the service function chain SFF;
步骤三、上述SFF检测自身是否运行正常;如果正常,则该业务节点2将携带有SFCOAM检测层次字段的SFC OAM报文封装于Overlay层,并沿着业务功能链将SFC OAM报文转发到下一跳业务节点3;Step 3: The above-mentioned SFF detects whether it is running normally; if it is normal, the service node 2 encapsulates the SFC OAM message carrying the SFCOAM detection level field in the Overlay layer, and forwards the SFC OAM message to the next layer along the service function chain One-hop service node 3;
步骤四、业务节点3接收到SFC OAM报文,并从SFC OAM报文中解析出SFC OAM检测层次字段,发现其为基于层次二,然后,再将SFC封装报文转发到业务功能链经历的业务功能转发器SFF;Step 4, service node 3 receives the SFC OAM message, and parses out the SFC OAM detection layer field from the SFC OAM message, finds that it is based on layer 2, and then forwards the SFC encapsulated message to the service function chain experienced Service function forwarder SFF;
步骤五、业务节点3发现自身已经是目的端业务节点,在发现本地SFF运行正常后,生成SFC OAM Ping应答报文,并将其封装于Overlay层,然后再沿着业务功能链逐跳转发上述应答报文到源端业务节点1。Step 5: Service node 3 discovers that it is already a destination service node. After finding that the local SFF is running normally, it generates an SFC OAM Ping response message, encapsulates it in the Overlay layer, and then forwards it hop by hop along the service function chain The above response message is sent to the service node 1 at the source end.
优选实施例三Preferred Embodiment Three
图13是根据本发明优选实施例的基于层次三的业务功能路径的Trace机制的示意图。如图13所示,该方法可以包括以下步骤:Fig. 13 is a schematic diagram of a Trace mechanism based on a layer-3 service function path according to a preferred embodiment of the present invention. As shown in Figure 13, the method may include the following steps:
步骤一、源端Service Classifier构造TTL值为1,将携带有SFC OAM检测层次字段的SFC OAM的Trace报文封装于Overlay层,并沿着业务功能链将Trace报文转发到下一跳业务节点1,其中,携带的检测层次字段值为3,即基于业务功能转发器管理的业务功能SF之间的连通性检测;Step 1. The source-side Service Classifier constructs a TTL value of 1, encapsulates the SFC OAM Trace message carrying the SFC OAM detection level field in the Overlay layer, and forwards the Trace message to the next-hop service node along the service function chain 1, where the value of the carried detection level field is 3, that is, based on the connectivity detection between the service function SFs managed by the service function forwarder;
步骤二、业务节点1接收到Trace报文,从该Trace报文中解析出SFC OAM检测层次字段,发现其为基于层次三,然后,再将SFC封装报文转发到业务功能链经历的业务功能转发器SFF;Step 2, service node 1 receives the Trace message, parses out the SFC OAM detection layer field from the Trace message, finds that it is based on layer 3, and then forwards the SFC encapsulated message to the service function experienced by the service function chain Transponder SFF;
步骤三、SFF将该SFC封装报文转发到该业务功能路径指定的SF,获取以下信息至少之一:SF的业务功能信息、功能处理时间信息、带宽信息、资源信息,并封装在SFC OAMTrace的应答报文中;Step 3: The SFF forwards the SFC-encapsulated message to the SF specified by the service function path, obtains at least one of the following information: SF's service function information, function processing time information, bandwidth information, resource information, and encapsulates it in the SFC OAMTrace in the response message;
步骤四、业务节点1对上述SFC OAM Trace的应答报文进行Overlay封装,并转发应答报文到Service Classifier上;Step 4, service node 1 performs Overlay encapsulation on the response message of the above-mentioned SFC OAM Trace, and forwards the response message to the Service Classifier;
步骤五、源端Service Classifier构造TTL值为2,并将携带有SFC OAM检测层次字段的SFC OAM的Trace报文封装于Overlay层,然后再沿着业务功能链转发Trace报文到下一跳业务节点1;Step 5. The source-side Service Classifier constructs a TTL value of 2, encapsulates the SFC OAM Trace message carrying the SFC OAM detection level field in the Overlay layer, and then forwards the Trace message to the next-hop service along the service function chain node 1;
步骤六、业务节点1重新进行Overlay封装,然后转发该报文到业务节点2;Step 6, service node 1 re-encapsulates the Overlay, and then forwards the message to service node 2;
步骤七、业务节点2接收到上述经过Overlay封装的报文,并从该报文中解析出SFCOAM检测层次字段,发现其基于层次三,然后,再将SFC封装报文转发到业务功能链经历的业务功能转发器SFF;Step 7. The service node 2 receives the above-mentioned Overlay-encapsulated message, and parses out the SFCOAM detection level field from the message, finds that it is based on level 3, and then forwards the SFC-encapsulated message to the service function chain experienced Service function forwarder SFF;
步骤八、SFF转发该SFC封装报文到该业务功能路径指定的SF,获取以下信息至少之一:SF的业务功能信息、功能处理时间信息、带宽信息、资源信息,并封装在SFC OAMTrace的应答报文中;Step 8: The SFF forwards the SFC encapsulated message to the SF specified by the service function path, obtains at least one of the following information: SF's service function information, function processing time information, bandwidth information, resource information, and encapsulates it in the response of the SFC OAMTrace in the message;
步骤九、业务节点2对上述SFC OAM Trace的应答报文进行Overlay封装,逐跳转发应答报文到Service Classifier上;Step 9, the service node 2 performs Overlay encapsulation on the response message of the above SFC OAM Trace, and forwards the response message to the Service Classifier hop by hop;
步骤十、源端Service Classifier构造TTL值为3,将携带有SFC OAM检测层次字段的SFC OAM的Trace报文封装于Overlay层,并沿着业务功能链将Trace报文转发到下一跳业务节点1;Step 10. The source-end Service Classifier constructs a TTL value of 3, encapsulates the SFC OAM Trace message carrying the SFC OAM detection level field in the Overlay layer, and forwards the Trace message to the next-hop service node along the service function chain 1;
步骤十一、业务节点1接收到该Trace报文,重新进行Overlay封装,然后再转发经过Overlay封装的报文到业务节点2;Step 11, service node 1 receives the Trace message, performs Overlay encapsulation again, and then forwards the message encapsulated by Overlay to service node 2;
步骤十二、业务节点2接收到该Trace报文,重新进行Overlay封装,然后再转发经过Overlay封装的报文到业务节点3;Step 12, service node 2 receives the Trace message, performs Overlay encapsulation again, and then forwards the message encapsulated by Overlay to service node 3;
步骤十三、业务节点3接收到经过Overlay封装的报文,并从上述报文中解析出SFCOAM检测层次字段,发现其基于层次三,然后,再将SFC封装报文转发到业务功能链经历的业务功能转发器SFF;Step 13: The service node 3 receives the Overlay-encapsulated message, and parses the SFCOAM detection level field from the above-mentioned message, finds that it is based on level 3, and then forwards the SFC-encapsulated message to the service function chain experienced Service function forwarder SFF;
步骤十四、SFF转发该SFC封装报文到该业务功能路径指定的SF,获取以下信息至少之一:SF的业务功能信息、功能处理时间信息、带宽信息、资源信息,然后封装在SFC OAMTrace的应答报文中;Step 14, the SFF forwards the SFC encapsulated message to the SF specified by the service function path, obtains at least one of the following information: service function information of the SF, function processing time information, bandwidth information, resource information, and then encapsulates it in the SFC OAMTrace in the response message;
步骤十五、业务节点3对上述SFC OAM Trace的应答报文进行Overlay封装,逐跳转发应答报文到Service Classifier上。Step 15: The service node 3 performs Overlay encapsulation on the response message of the above SFC OAM Trace, and forwards the response message to the Service Classifier hop by hop.
图14是根据本发明实施例的检测层次信息的处理装置的结构框图。如图14所示,该检测层次信息的处理装置可以包括:确定模块10,用于确定业务功能链SFC操作、管理和维护OAM检测层次信息,并将所述SFC OAM检测层次信息封装在SFC OAM检测报文中,其中,SFC OAM检测层次信息用于表明在不同业务节点中属于同一层级的对等实体之间进行SFCOAM检测;发送模块20,用于向目的端业务节点发送所述SFC OAM检测报文。Fig. 14 is a structural block diagram of a processing device for detecting hierarchical information according to an embodiment of the present invention. As shown in Figure 14, the processing device for the detection level information may include: a determining module 10, configured to determine the OAM detection level information of the service function chain SFC operation, management and maintenance, and encapsulate the SFC OAM detection level information in the SFC OAM In the detection message, wherein, the SFC OAM detection level information is used to indicate that SFCOAM detection is performed between peer entities belonging to the same level in different service nodes; the sending module 20 is used to send the SFC OAM detection to the destination service node message.
采用如图14所示的装置,解决了现有的SFC OAM技术无法灵活定义、管理其OAM检测层次的问题,进而能够实现灵活定义并管理OAM检测层次。Adopting the device shown in FIG. 14 solves the problem that the existing SFC OAM technology cannot flexibly define and manage its OAM detection level, and then can realize flexible definition and management of the OAM detection level.
优选地,确定模块10可以包括:获取单元(图中未示出),用于获取当前备选的多种SFC OAM检测层次;选取单元(图中未示出),用于从多种SFC OAM检测层次中选取其中一种SFC OAM检测层次。Preferably, the determination module 10 may include: an acquisition unit (not shown in the figure), used to acquire a variety of SFC OAM detection levels currently available; a selection unit (not shown in the figure), used to select from a variety of SFC OAM Select one of the SFC OAM detection levels in the detection level.
优选地,上述多种SFC OAM检测层次可以包括以下至少之一:Preferably, the above multiple SFC OAM detection levels may include at least one of the following:
(1)业务功能链经历的不同业务节点之间的SFC OAM检测层次;(1) SFC OAM detection level between different service nodes experienced by the service function chain;
(2)业务功能链经历的不同业务节点上的业务功能转发器SFF之间的SFC OAM检测层次;(2) SFC OAM detection levels between service function forwarders SFF on different service nodes experienced by the service function chain;
(3)业务功能链经历的不同SFF分别管理的业务功能SF之间的SFC OAM检测层次。(3) The SFC OAM detection level between the service function SFs managed by different SFFs experienced by the service function chain.
优选地,上述SFC OAM检测层次信息可以封装在业务功能报文头NSH的特定比特位中或者上述SFC OAM检测层次信息还可以封装在除NSH之外的其余报文头中。Preferably, the above-mentioned SFC OAM detection level information may be encapsulated in specific bits of the service function header NSH, or the above-mentioned SFC OAM detection level information may also be encapsulated in other headers except NSH.
在优选实施过程中,上述源端业务节点可以为业务分类器或者业务功能链上的其中一个业务节点。In a preferred implementation process, the above-mentioned source end service node may be a service classifier or one of the service nodes on the service function chain.
在优选实施过程中,上述目的端业务节点可以为业务功能链上除源端业务节点之外的其余一个业务节点或多个业务节点的组合。In a preferred implementation process, the above-mentioned destination service node may be a service node or a combination of multiple service nodes other than the source service node on the service function chain.
在优选实施过程中,上述SFC OAM检测报文可以包括但不限于以下类型之一:In a preferred implementation process, the above-mentioned SFC OAM detection message may include but not limited to one of the following types:
类型一、连通性检测(Connectivity Verification,简称为CV)报文;Type 1: Connectivity Verification (CV for short) message;
类型二、Ping报文;Type 2, Ping message;
类型三、Trace报文。Type 3, Trace message.
图15是根据本发明实施例的另一种检测层次信息的处理装置的结构框图。如图15所示,该检测层次信息的处理装置可以包括:接收模块30,用于接收来自于源端业务节点的SFC OAM检测报文,其中,SFC OAM检测报文中携带有SFC OAM检测层次信息,SFC OAM检测层次信息用于表明在不同业务节点中属于同一层级的对等实体之间进行SFC OAM检测;处理模块40,用于从SFC OAM检测报文中解析出SFC OAM检测层次信息,并根据SFC OAM检测层次信息确定待反馈的SFC OAM应答报文。Fig. 15 is a structural block diagram of another processing device for detecting hierarchical information according to an embodiment of the present invention. As shown in Figure 15, the processing device for the detection level information may include: a receiving module 30, configured to receive the SFC OAM detection message from the source service node, wherein the SFC OAM detection message carries the SFC OAM detection level Information, the SFC OAM detection level information is used to indicate that SFC OAM detection is performed between peer entities belonging to the same level in different service nodes; the processing module 40 is used to parse out the SFC OAM detection level information from the SFC OAM detection message, And determine the SFC OAM response message to be fed back according to the SFC OAM detection level information.
在优选实施过程中,处理模块40,用于当SFC OAM检测层次信息为业务功能链经历的不同业务节点之间的SFC OAM检测层次时,直接处理SFC OAM检测报文,并在对SFC OAM检测报文处理完毕后,在SFC OAM应答报文中携带的信息包括以下至少之一:目的端业务节点的节点信息、目的端业务节点的连通性信息、目的端业务节点的路径信息;或者,In the preferred implementation process, the processing module 40 is used to directly process the SFC OAM detection message when the SFC OAM detection level information is the SFC OAM detection level between different service nodes experienced by the service function chain, and to detect the SFC OAM After the message is processed, the information carried in the SFC OAM response message includes at least one of the following: node information of the destination service node, connectivity information of the destination service node, path information of the destination service node; or,
当SFC OAM检测层次信息为业务功能链经历的不同业务节点上的业务功能转发器SFF之间的SFC OAM检测层次时,将SFC OAM检测报文转发给SFF处理SFC OAM报文,并在SFF对SFC OAM报文处理完毕后,在SFC OAM应答报文中携带的信息包括以下至少之一:目的端业务节点的SFF的连通性信息、SFF的路径信息、SFF的业务等级协议信息;或者,When the SFC OAM detection level information is the SFC OAM detection level between the service function forwarders SFF on different service nodes experienced by the service function chain, the SFC OAM detection message is forwarded to the SFF to process the SFC OAM message, and the SFC OAM message is processed by the SFF After the SFC OAM message is processed, the information carried in the SFC OAM response message includes at least one of the following: the connectivity information of the SFF of the destination service node, the path information of the SFF, and the service level agreement information of the SFF; or,
当SFC OAM检测层次信息为业务功能链经历的不同SFF分别管理的业务功能SF之间的SFC OAM检测层次时,将SFC OAM检测报文转发给SFF处理后,再转发给SF进行处理,直至SFF和SF对SFC OAM检测报文均处理完毕后,在SFC OAM应答报文中携带的信息包括以下至少之一:目的端业务节点的SFF管理下的SF的业务功能信息、SF的连通性信息、SF的路径信息、SF的业务等级协议信息。When the SFC OAM detection level information is the SFC OAM detection level between the service function SFs managed by different SFFs experienced by the service function chain, the SFC OAM detection message is forwarded to the SFF for processing, and then forwarded to the SF for processing until the SFF After processing the SFC OAM detection message with the SF, the information carried in the SFC OAM response message includes at least one of the following: the service function information of the SF under the management of the SFF of the destination service node, the connectivity information of the SF, SF path information, SF service level protocol information.
从以上的描述中,可以看出,上述实施例实现了如下技术效果(需要说明的是这些效果是某些优选实施例可以达到的效果):采用本发明实施例所提供的技术方案,通过将不同业务节点之间的层次关系、或者不同业务节点的业务功能转发器之间的层次关系,抑或是不同业务节点的业务功能转发器管理下的业务功能之间的层次关系封装在SFC OAM检测报文中并告知目的端业务节点,进而能够实现灵活定义并管理OAM检测层次。From the above description, it can be seen that the above-mentioned embodiments achieve the following technical effects (it should be noted that these effects are the effects that some preferred embodiments can achieve): using the technical solutions provided by the embodiments of the present invention, by The hierarchical relationship between different service nodes, or the hierarchical relationship between the service function forwarders of different service nodes, or the hierarchical relationship between the service functions under the management of the service function forwarders of different service nodes are encapsulated in the SFC OAM detection report In this paper, the service node of the destination end is notified, so that the OAM detection level can be flexibly defined and managed.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that each module or each step of the above-mentioned present invention can be realized by a general-purpose computing device, and they can be concentrated on a single computing device, or distributed in a network formed by multiple computing devices Alternatively, they may be implemented in program code executable by a computing device so that they may be stored in a storage device to be executed by a computing device, and in some cases in an order different from that shown here The steps shown or described are carried out, or they are separately fabricated into individual integrated circuit modules, or multiple modules or steps among them are fabricated into a single integrated circuit module for implementation. As such, the present invention is not limited to any specific combination of hardware and software.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and changes. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.
Claims (18)
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410559786.0A CN105515816B (en) | 2014-10-20 | 2014-10-20 | Method and device for processing detection level information |
| PCT/CN2014/092070 WO2015184740A1 (en) | 2014-10-20 | 2014-11-24 | Method and device for processing detection hierarchy information |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410559786.0A CN105515816B (en) | 2014-10-20 | 2014-10-20 | Method and device for processing detection level information |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN105515816A CN105515816A (en) | 2016-04-20 |
| CN105515816B true CN105515816B (en) | 2019-12-31 |
Family
ID=54766011
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201410559786.0A Expired - Fee Related CN105515816B (en) | 2014-10-20 | 2014-10-20 | Method and device for processing detection level information |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN105515816B (en) |
| WO (1) | WO2015184740A1 (en) |
Families Citing this family (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108574582B (en) * | 2017-03-07 | 2022-05-13 | 中兴通讯股份有限公司 | Fault detection method and device |
| CN109120657B (en) * | 2017-06-23 | 2022-08-16 | 中兴通讯股份有限公司 | Service configuration method and node |
| CN109218058B (en) * | 2017-07-06 | 2021-09-14 | 中国电信股份有限公司 | Method and system for acquiring OAM information and computer readable storage medium |
| CN114363116A (en) * | 2018-04-08 | 2022-04-15 | 华为技术有限公司 | Method and device for monitoring service quality |
| CN110557343A (en) * | 2018-05-31 | 2019-12-10 | 中国电信股份有限公司 | SFC service data forwarding method and SFC network system |
| CN110493052B (en) * | 2019-08-22 | 2022-08-05 | 北京交大思诺科技股份有限公司 | Security computer platform communication architecture compatible with different communication protocols |
| CN114553727B (en) * | 2022-02-18 | 2024-08-09 | 网宿科技股份有限公司 | A data processing method and device based on content distribution network |
Family Cites Families (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101425928B (en) * | 2008-11-29 | 2011-06-22 | 中兴通讯股份有限公司 | Processing method and apparatus for maintaining entity group hierarchy |
| US8593973B2 (en) * | 2010-03-09 | 2013-11-26 | Juniper Networks, Inc. | Communicating network path and status information in multi-homed networks |
| KR101820308B1 (en) * | 2010-09-15 | 2018-01-19 | 삼성전자주식회사 | Digital broadcast transmitter, digital broadcast receiver, methods for constructing and processing streams thereof |
| EP2621129B1 (en) * | 2011-01-14 | 2016-11-09 | Huawei Technologies Co., Ltd. | Data forwarding method and router |
| JP5480189B2 (en) * | 2011-03-28 | 2014-04-23 | エヌ・ティ・ティ・コミュニケーションズ株式会社 | Network monitoring apparatus, network test method, path information management method, and program |
| CN102185711B (en) * | 2011-04-26 | 2014-12-10 | 中兴通讯股份有限公司 | Method and equipment for detecting link failure in hybrid network |
| WO2013155696A1 (en) * | 2012-04-20 | 2013-10-24 | Telefonaktiebolaget L M Ericsson (Publ) | Method to do fast traffic switchover based on server layer status |
-
2014
- 2014-10-20 CN CN201410559786.0A patent/CN105515816B/en not_active Expired - Fee Related
- 2014-11-24 WO PCT/CN2014/092070 patent/WO2015184740A1/en not_active Ceased
Also Published As
| Publication number | Publication date |
|---|---|
| CN105515816A (en) | 2016-04-20 |
| WO2015184740A1 (en) | 2015-12-10 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN105577413B (en) | Operations, Administration and Maintenance OAM message processing method and processing device | |
| US11979322B2 (en) | Method and apparatus for providing service for traffic flow | |
| CN105515816B (en) | Method and device for processing detection level information | |
| US20210273866A1 (en) | Service Chain Fault Detection Method and Apparatus | |
| JP5345942B2 (en) | Ethernet OAM in intermediate nodes of PBT network | |
| CN105245452B (en) | Multi-protocol label switching traffic engineering tunnel establishing method and equipment | |
| KR102005131B1 (en) | Expanding network functionalities for openflow based split-architecture networks | |
| WO2021170092A1 (en) | Message processing method and apparatus, and network device and storage medium | |
| US10791053B2 (en) | Service function chain SFC-based communication method, and apparatus | |
| CN105577416B (en) | A business function chain operation, management and maintenance method and node device | |
| WO2019120042A1 (en) | Method and node for transmitting packet in network | |
| WO2018210213A1 (en) | Method and device for implementing ioam packaging and storage medium | |
| US10862735B2 (en) | Method and apparatus for implementing operation, administration, and maintenance function | |
| US20140293798A1 (en) | Mpls-tp network and link trace method thereof | |
| US20200344152A1 (en) | Network Operations Reactive to Operations Data included in Seamless Bidirectional Forwarding Detection (S-BFD) Packets | |
| CN106453204B (en) | Method and device for processing data message | |
| CN102833122B (en) | Loopback detection method and system | |
| CN116057911B (en) | Load Balancing and OAM in Service Function Chaining Using Multiprotocol Label Switching | |
| CN106161065A (en) | Pretection switch processing method, device, system and the forwarding unit in path | |
| CN104270280B (en) | LSP ping and tracert system and method is realized on the router | |
| US11082540B2 (en) | Network operations including protocol processing of a packet updating an operations data field of a different protocol | |
| CN115842696B (en) | Communication method, device, and computer-readable storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for 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: 20191231 Termination date: 20201020 |
|
| CF01 | Termination of patent right due to non-payment of annual fee |