WO2017166932A1 - 一种业务服务状态判定的方法及装置 - Google Patents

一种业务服务状态判定的方法及装置 Download PDF

Info

Publication number
WO2017166932A1
WO2017166932A1 PCT/CN2017/073554 CN2017073554W WO2017166932A1 WO 2017166932 A1 WO2017166932 A1 WO 2017166932A1 CN 2017073554 W CN2017073554 W CN 2017073554W WO 2017166932 A1 WO2017166932 A1 WO 2017166932A1
Authority
WO
WIPO (PCT)
Prior art keywords
service
pseudowire
control word
peer
status
Prior art date
Application number
PCT/CN2017/073554
Other languages
English (en)
French (fr)
Inventor
刘小花
何忠勇
李旭
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2017166932A1 publication Critical patent/WO2017166932A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis

Definitions

  • the present disclosure relates to the field of communications, such as methods and apparatus relating to service service state determination in the field of packet transmission.
  • the service service status refers to that the service is in normal working or abnormal working state. How to determine whether the service is normal, and how to quickly determine the cause of the fault when the service is in an abnormal state is a problem that needs to be solved in the service service state determination method.
  • PTN Packet Transport Network
  • the existing method needs to be based on the MPLS-TP (Multi-Protocol Label Switching Transport Profile) OAM (Operation, Administration and Maintenance) technology or BFD ( Bidirectional Fast Detection (Bidirectional Fast Detection) technology performs PW status detection.
  • the method indicates the service on/off state by an alarm under the pseudowire detection point.
  • both OAM and BFD detection impose higher requirements on device processing performance, and the network bandwidth occupancy rate also increases; and the detection period of the method requires 3.5 transmission periods, that is, if the service is in A fault occurs within 3.5 cycles, and this method cannot accurately reflect the service status.
  • the present disclosure has been made in order to provide a method and apparatus for determining a service service state that solves the above problems.
  • a method for determining a service service status is provided, which is applied to an operator edge PE device, and the method includes:
  • the pseudowire control word is set to carry the service service status abnormality information, and the pseudowire is sent to the peer PE device connected to the PE device.
  • a pseudowire message that controls the word is set to carry the service service status abnormality information, and the pseudowire is sent to the peer PE device connected to the PE device.
  • an apparatus for determining a service service status is provided for an operator edge PE device, the device comprising:
  • the abnormality determining unit is configured to determine whether the service service status of the access side of the PE device is abnormal.
  • the processing unit is configured to: when the abnormality determining unit determines that the service service state is abnormal, set the pseudowire control word to carry the service service state abnormality information, and send the information to the peer PE device connected to the PE device.
  • the pseudowire line controls the pseudowire message of the word.
  • Embodiments of the present disclosure also provide a non-transitory computer readable storage medium storing computer executable instructions arranged to perform the above method.
  • An embodiment of the present disclosure further provides an electronic device, including:
  • At least one processor At least one processor
  • the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to cause the at least one processor to perform the method described above.
  • the method for determining the service state of the service based on the PW control word proposed by the present disclosure does not need to be configured with OAM or BFD, and can directly determine the state of the PW control word, save network bandwidth, improve detection efficiency, and achieve positive technical effects.
  • FIG. 1A and 1B are flowcharts of a method for determining a service service status provided by the present disclosure
  • FIG. 2 is a schematic diagram of a format of a PW control word defined in RFC4385;
  • FIG. 3 is a schematic diagram of a fault of the access side los of the local PE device in the present disclosure
  • FIG. 4 is another schematic diagram of the access side los fault of the local PE device in the present disclosure.
  • FIG. 5 is a schematic diagram of a linkdown failure of an access side of a local PE device in the disclosure
  • FIG. 6 is a schematic diagram of a failure of an aggregation port on an access side of a local PE device in the present disclosure
  • FIG. 7 is a schematic diagram of a failure of a physical port on the access side of the local PE device but the number of received packets is less than a threshold;
  • FIG. 8 is a schematic diagram of a fault that a physical port on the access side of the local PE device is normal but no packet is received;
  • FIG. 10 is a structural block diagram of an apparatus for determining a service service status according to the present disclosure.
  • FIG. 11 is a schematic structural diagram of an electronic device provided by the present disclosure.
  • the embodiment of the present disclosure proposes a method for determining the state of the service service, and more specifically, a method for determining the state of the service service based on the PW control word.
  • PW OAM or BFD must be configured to save network resources, reduce system implementation complexity, and improve detection accuracy.
  • the method for determining the service service status provided by the disclosure may be applied to an operator edge PE device. As shown in FIG. 1A and FIG. 1B, the following steps may be included:
  • Step S101 determining that the service service status of the access side of the PE device is abnormal.
  • Step S102 the pseudowire control word is set to carry the service service state abnormality information, and the pseudowire message including the pseudowire control word is sent to the peer PE device connected to the PE device;
  • Step S103 When receiving the pseudowire packet sent by the peer PE device, determine the service status according to the pseudowire control word of the pseudowire packet.
  • each PE device uses its own as a reference to determine itself as the local end, and the PE device connected thereto is defined as the opposite end.
  • the service service status abnormality of the PE device access side includes, but is not limited to, a PE device access side los failure, a PE device access side linkdown failure, and a PE device access side aggregation port failure failure.
  • the physical port of the PE is normal but the number of received packets is less than the threshold and the physical port of the PE is normal but no packets are received.
  • the setting the pseudowire control word to carry the service service status abnormality information may include:
  • the field is set according to the set relationship between the type of the service service state exception and the bit bit of the field.
  • the present disclosure sets the set state of the pseudowire control word to correspond to the type of the different service service state exception, thereby implementing the transmission of the abnormal information.
  • the setting method does not need to make too many changes to the pseudowire control word, and the operation is simple and easy, and the amount of transmitted data is not increased, and the occupation of the network bandwidth is reduced.
  • the field for carrying the service service status exception information may be First nibble (the first half of the control word in the MPLS encapsulation). ) 4 bits and 4 flags in the Flags field. Of course, Use pseudowires to control other extension bits in the word.
  • the service status of the service is determined according to the pseudo line control word of the pseudo line message.
  • the type of the service service state abnormality is determined according to the set relationship between the type of the service service state exception and the bit position of the field.
  • the pseudowire control word may be set to carry the service service state abnormality information, and then the N peer PE devices connected to the PE device continuously send N control words with the pseudowire control word.
  • the current path when the packet sent by the peer PE device is not received within the set time period, the current path may be determined to be unavailable, and the current service interruption is determined. That is, the PE device in the present disclosure also determines the service service status according to the state of receiving the packet from the peer PE device.
  • the method for determining the service state based on the PW control word proposed in the present disclosure does not need to be configured with OAM or BFD, and can directly determine the state of the PW control word, thereby saving network bandwidth and improving detection efficiency.
  • FIGS. 3 through 9 Several application examples of the present disclosure are given below in conjunction with FIGS. 3 through 9 to more clearly illustrate the implementation of the present disclosure.
  • the application scenario of the application example is that the PE device access side los fault, as shown in FIG. 3 and FIG. 4, is a schematic diagram of the PE device access side los fault.
  • the implementation of the method of the present disclosure is:
  • Step 1 The local PE device determines that the access side los is faulty.
  • Step 2 The local PE device continuously sends five pseudowire packets with pseudowire control words to the peer PE device.
  • Step 3 The peer PE device detects that the local PE device sends a pseudowire packet in the current service path.
  • Step 4 The peer PE device extracts the pseudowire control word of the pseudowire packet, and obtains the specified in the pseudowire control word.
  • Step 5 The peer PE device considers that the current path is unavailable according to the status of the First nibble value and the Flags field, and determines that the current service is interrupted.
  • the application scenario of the application example is that the link-down of the PE device is faulty (the Ethernet port is not connected), as shown in Figure 5, which is a schematic diagram of the linkdown fault of the PE device access side.
  • the implementation of the method of the present disclosure is:
  • Step 1 The local PE device determines the linkdown fault on the access side.
  • Step 2 The local PE device continuously sends five pseudowire packets with pseudowire control words to the peer PE device.
  • Step 3 The peer PE device detects that the local PE device sends a pseudowire packet in the current service path.
  • Step 5 The peer PE device considers that the current path is unavailable according to the status of the First nibble value and the Flags field, and determines that the current service is interrupted.
  • the application scenario of the application example is that the PE device access side aggregation port fails.
  • Figure 6 it is a schematic diagram of the PE device access side aggregation port failure.
  • the implementation of the method of the present disclosure is:
  • Step 1 The local PE device determines that the access side aggregation port fails.
  • Step 2 The local PE device continuously sends five pseudowire packets with pseudowire control words to the peer PE device.
  • Step 3 The peer PE device detects that the local PE device sends a pseudowire packet in the current service path.
  • Step 5 The peer PE device considers the current path according to the state of the First nibble value and the Flags field. Not available, determine the current business interruption.
  • the application scenario of the application example is that the physical port of the PE device is normal but the number of received packets is less than the threshold. As shown in Figure 7, the physical port of the PE is normal but the number of received packets is less than the threshold.
  • the implementation of the method of the present disclosure is:
  • Step 1 The local PE device determines that the physical port of the device is normal but the number of received packets is less than the threshold.
  • Step 3 The local PE device sends the encapsulated pseudowire packet to the peer PE device.
  • Step 4 The peer PE device detects that the local PE device sends a pseudowire packet on the current service path.
  • Step 6 The peer PE device considers that the current service is abnormal according to the status of the First nibble value and the Flags field, and determines that the current service is abnormal.
  • the application scenario of the application example is that the physical port of the PE device is normal but the packet is faulty. As shown in Figure 8, the physical port of the PE is normal but the packet is faulty.
  • the implementation of the method of the present disclosure is:
  • Step 1 The local PE device determines that the physical port on the access side of the device is normal but fails to receive the packet.
  • Step 2 The local PE device continuously sends five pseudowire packets with pseudowire control words to the peer PE device.
  • the 2nd bit position of the Flags field is set to 1;
  • Step 3 The peer PE device detects that the local PE device sends a pseudowire packet in the current service path.
  • Step 5 The peer PE device considers that the current service is abnormal according to the status of the First nibble value and the Flags field, and determines that the current service is abnormal.
  • the application scenario of the application example is an internal network fault, as shown in FIG. 9 , in which the internal fault of the network occurs.
  • the packet sent by the local PE device to the peer PE device cannot be delivered.
  • the peer PE device does not receive the packet from the local PE device within a certain period of time.
  • the current path is unavailable and the current service is interrupted.
  • the embodiment of the present disclosure further provides a device for determining a service service state.
  • the device may be integrated into a PE device as a separate component, or may be a collection of cell modules after function update of an existing cell module in the PE device.
  • the device in the embodiment of the present disclosure includes:
  • the abnormality determining unit 1010 is configured to determine whether the service service status of the access side of the PE device is abnormal.
  • the processing unit 1020 is configured to: when the abnormality determining unit 1010 determines that the service service status is abnormal, set the pseudowire control word to carry the service service status abnormality information, and send the information to the peer PE device connected to the PE device.
  • the pseudowire message of the pseudowire control word ; and when receiving the pseudowire message sent by the peer PE device, determining the service service state according to the pseudowire control word of the pseudowire message.
  • the processing unit 1020 sets the pseudowire control word to carry the service service status abnormality information, which is not limited to being implemented as follows:
  • the field is set and processed to carry the service service status abnormality information according to the set relationship between the type of the abnormal service service state and the bit position of the field.
  • the field may be, but is not limited to, the First nibble and Flags fields of the pseudowire control word.
  • the processing unit 1020 may be configured to send a pseudowire control word to the peer PE device connected to the PE device, and then continuously send N control words with the pseudowire line. Pseudo-line message; the N is a positive integer greater than or equal to 2.
  • the processing unit 1020 may determine whether the specified field of the pseudowire control word is set when receiving the pseudowire packet sent by the peer PE device, and determine the service when the specified field is set.
  • the service status is abnormal, and the type of the service service status abnormality is determined according to the set relationship between the type of the service service status exception and the bit position of the field.
  • the processing unit 1020 may determine that the current path is unavailable when it is determined that the packet sent by the peer PE device is not received within the set time period, and determine that the current service is interrupted.
  • the processing unit 1020 may include:
  • the pseudowire packet receiving detection module is configured to detect whether a pseudowire packet sent by the peer device is received; if the pseudowire packet is not received, the pseudowire control word state detecting module does not work.
  • the pseudowire control word state detecting module is configured to: when the pseudowire packet receiving detection module detects that the pseudowire packet is received, determine whether the pseudowire control word state is set for the received pseudowire packet, and different pseudo The line control word set state represents different business service states.
  • the service state determination module determines the state of the pseudowire control word detected by the pseudowire control word state detection module, and determines the state of the different pseudowire control words to be the corresponding service service state; When the line packet receiving and detecting module detects that the pseudowire packet is not received within a certain period of time, the service service state determining module determines that the service is in an interrupted state.
  • Embodiments of the present disclosure also provide a non-transitory computer readable storage medium storing computer executable instructions arranged to perform the method of any of the above embodiments.
  • the embodiment of the present disclosure further provides a schematic structural diagram of an electronic device.
  • the electronic device includes:
  • At least one processor 110 which is exemplified by a processor 110 in FIG. 11; and a memory 111, may further include a communication interface 112 and a bus 113.
  • the processor 110, the communication interface 112, and the memory 111 can complete communication with each other through the bus 113.
  • Communication interface 112 can be used for information transfer.
  • the processor 110 can invoke logic instructions in the memory 111 to perform the methods of the above-described embodiments.
  • logic instructions in the memory 111 described above can be implemented in the form of software functional units. And when sold or used as a stand-alone product, it can be stored on a computer readable storage medium.
  • the memory 111 is a computer readable storage medium and can be used to store software programs, computer executable programs, and program instructions/modules corresponding to the methods in the embodiments of the present disclosure.
  • the processor 110 executes the function application and the data processing by executing the software program, the instruction and the module stored in the memory 111, that is, the business service state determination method in the above method embodiment.
  • the memory 111 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to use of the terminal device, and the like. Further, the memory 111 may include a high speed random access memory, and may also include a nonvolatile memory.
  • the technical solution of the embodiments of the present disclosure may be embodied in the form of a software product stored in a storage medium, including one or more instructions for causing a computer device (which may be a personal computer, a server, or a network) The device or the like) performs all or part of the steps of the method described in the embodiments of the present disclosure.
  • the foregoing storage medium may be a non-transitory storage medium, including: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and the like.
  • the device for determining the service state based on the PW control word in the present disclosure does not need to be configured with OAM or BFD, and can directly determine the state of the PW control word, thereby saving network bandwidth and improving detection efficiency.
  • the program may be stored in a computer readable storage medium, and the storage medium may include: ROM, RAM, disk or CD.
  • the method and device for determining the service status of the present disclosure need not be configured with OAM or BFD, and can directly determine the state of the PW control word, save network bandwidth, and improve detection efficiency.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

本公开提供了一种业务服务状态判定的方法及装置,所述方法应用于运营商边缘PE设备,包括:在确定出本PE设备接入侧的业务服务状态异常时,设置伪线控制字,使其携带业务服务状态异常信息,并向与本PE设备连接的对端PE设备发送带有所述伪线控制字的伪线报文。本公开提出的基于PW控制字判定业务服务状态的方法,无需配置OAM或者BFD,可直接根据PW控制字状态判定,节省网络带宽,提高检测效率。

Description

一种业务服务状态判定的方法及装置 技术领域
本公开涉及通信领域,例如涉及分组传输领域的业务服务状态判定的方法及装置。
背景技术
在PTN(Packet Transport Network,分组传送网)网络中,业务服务状态指业务处于正常工作或者异常工作状态。如何判定业务是否正常,以及当业务处于异常状态时,如何快速判断故障产生原因,是业务服务状态判定方法需要解决的问题。
对于业务服务状态的判定,目前已有的方法,需要基于MPLS-TP(Multi-Protocol Label Switching Transport Profile,多协议标签交换传送应用)OAM(Operation,Administration and Maintenance,操作管理维护)技术或者BFD(Bidirectional Fast Detection,双向转发检测)技术进行PW状态检测。该方法通过伪线检测点下的告警来指示业务通断状态。然而,通常情况下,无论是OAM还是BFD检测都会对设备处理性能提出更高要求,对网络带宽占用率也会增大;且该方法检测周期需要3.5个发送周期,也就是说,如果业务在3.5个周期内发生故障,用此方法不能准确反映业务状态。
因此,如何在无需配置OAM或者BFD的情况下,能够有效的检测业务服务状态,同时减少网络带宽占用率,提高检测准确率,成为本公开所要解决的技术问题。
发明内容
鉴于上述问题,提出了本公开以便提供一种解决上述问题的业务服务状态判定的方法及装置。
依据本公开的一个方面,提供一种业务服务状态判定的方法,应用于运营商边缘PE设备,所述方法包括:
在确定出本PE设备接入侧的业务服务状态异常时,设置伪线控制字,使其携带业务服务状态异常信息,并向与本PE设备连接的对端PE设备发送带有所述伪线控制字的伪线报文。
依据本公开的另一个方面,提供一种业务服务状态判定的装置,应用于运营商边缘PE设备,所述装置包括:
异常确定单元,被配置为确定本PE设备接入侧的业务服务状态是否异常;
处理单元,被配置为在所述异常确定单元确定出业务服务状态异常时,设置伪线控制字,使其携带业务服务状态异常信息,并向与本PE设备连接的对端PE设备发送带有所述伪线控制字的伪线报文。
本公开实施例还提供了一种非暂态计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为执行上述方法。
本公开实施例还提供了一种电子设备,包括:
至少一个处理器;以及
与所述至少一个处理器通信连接的存储器;其中,
所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器执行上述的方法。
本公开有益效果如下:
本公开提出的基于PW控制字判定业务服务状态的方法,无需配置OAM或者BFD,可直接根据PW控制字状态判定,节省网络带宽,提高检测效率,取得了积极的技术效果。
上述说明仅是本公开技术方案的概述,为了能够更清楚了解本公开的技术手段,而可依照说明书的内容予以实施,并且为了让本公开的上述和其它特征和优点能够更明显易懂,以下特举本公开的实施方式。
附图概述
通过阅读下文实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出实施方式,而并不认为是对本公 开的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:
图1A和图1B为本公开提供的一种业务服务状态判定的方法的流程图;
图2为RFC4385中定义的PW控制字格式示意图;
图3为本公开中本端PE设备接入侧los故障示意图;
图4为本公开中本端PE设备接入侧los故障另一示意图;
图5为本公开中本端PE设备接入侧linkdown故障示意图;
图6为本公开中本端PE设备接入侧聚合端口失效故障示意图;
图7为本公开中本端PE设备接入侧物理端口正常但接收报文个数少于阈值故障示意图;
图8为本公开中本端PE设备接入侧物理端口正常但接收不到报文故障示意图;
图9为本公开中网络内部故障示意图;
图10为本公开提供的一种业务服务状态判定的装置的结构框图;以及
图11是本公开提供的电子设备的结构示意图。
具体实施方式
下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。
为了解决通过配置OAM或者BFD检测业务服务状态判定方法存在的问题,本公开实施例提出了一种业务服务状态判定的方法,确切的说,是基于PW控制字的业务服务状态判定的方法,旨在克服相关技术中必须配置PW OAM或者BFD的方式,以节省网络资源,减小系统实现复杂度,提高检测精度。
本公开提供的业务服务状态判定的方法,可以应用于运营商边缘PE设备, 如图1A、图1B所示,可以包括如下步骤:
步骤S101,确定出本PE设备接入侧的业务服务状态异常;
步骤S102,设置伪线控制字,使其携带业务服务状态异常信息,并向与本PE设备连接的对端PE设备发送包含有所述伪线控制字的伪线报文;以及
步骤S103,当接收到对端PE设备发送的伪线报文时,根据该伪线报文的伪线控制字,对业务服务状态进行判定。
本实施例中,本端和对端是一个相对的概念,分组传送网络中,各PE设备均以自身为参考基准,确定自身为本端,而与其连接的PE设备则定义为对端。
另外,需要指出的是,上述步骤S102和S103不具备严格的顺序关系。
下面给出几个实施方式,用以细化和优化本公开所述方法的功能,以使本公开方案的实施更方便,准确。需要说明的是,在不冲突的情况下,如下特征可以互相任意组合。
在本公开的一个实施例中,PE设备接入侧的业务服务状态异常包括但不限于为:PE设备接入侧los故障、PE设备接入侧linkdown故障、PE设备接入侧聚合端口失效故障、PE设备物理端口正常但接收报文个数少于阈值、以及PE设备物理端口正常但接收不到报文。
在本公开的一个实施例中,所述设置伪线控制字,使其携带业务服务状态异常信息,可以包括:
确定预先指定的伪线控制字中用于携带业务服务状态异常信息的字段;
按设定的业务服务状态异常的类型与所述字段各比特bit位的置位关系,对所述字段进行置位处理。
也就是说,本公开设置伪线控制字的置位状态,使其对应不同的业务服务状态异常的类型,从而实现异常信息的发送。该置位方式,无需对伪线控制字做过多的改动,操作简单、易行,且不会增加传输数据量,减少网络带宽的占用。
如图2所示,为RFC4385中定义的PW控制字格式,在本公开的一个实施例中,用于携带业务服务状态异常信息的字段可以为First nibble(MPLS封装中控制字的前半个字节)4个bits位及标记Flags字段4个bits位,当然也可以 利用伪线控制字里的其他扩展位。
本公开实施例中,当业务服务状态异常信息通过对伪线控制字置位方式下发时,本公开实施例中,根据该伪线报文的伪线控制字,对业务服务状态进行判定,可以包括:
判断伪线控制字的指定字段是否置位;
当所述指定字段置位时,判定出业务服务状态异常,并根据设定的业务服务状态异常的类型与所述字段各bit位的置位关系,确定出业务服务状态异常的类型。
在本公开的一个实施例中,可以设置伪线控制字,使其携带业务服务状态异常信息后,向与本PE设备连接的对端PE设备连续发送N个带有所述伪线控制字的伪线报文;所述N为大于等于2的正整数,例如N取5。
本公开实施例中,当在设定的时间段内未接收到所述对端PE设备发送的报文时,可以认定当前路径不可用,判断出当前业务中断。即,本公开中PE设备还根据从对端PE设备的收包状态判定业务服务状态。
综上所述,可知本公开提出的基于PW控制字判定业务服务状态的方法,无需配置OAM或者BFD,可直接根据PW控制字状态判定,节省了网络带宽,提高了检测效率。
下面结合图3至图9给出本公开的几个应用示例,用以更清楚的阐述本公开的实施过程。
应用示例一
该应用示例的应用场景为PE设备接入侧los故障,如图3、4所示,为PE设备接入侧los故障的示意图。在该场景下,本公开所述方法的实施过程为:
步骤1,本端PE设备确定出接入侧los故障;
步骤2,本端PE设备连续发送5个带伪线控制字的伪线报文至对端PE设备;其中,在进行伪线报文封装时,设置伪线控制字First nibble=0001(binary),并将Flags字段最低bit位置1;
步骤3,对端PE设备检测到当前业务路径上本端PE设备发送伪线报文;
步骤4,对端PE设备提取伪线报文的伪线控制字,得到伪线控制字中指定 字段的状态为:First nibble=0001(binary)且Flags字段最低bit位置1。
步骤5,对端PE设备根据First nibble值和Flags字段的状态认为当前路径不可用,判断当前业务中断。
应用示例二
该应用示例的应用场景为PE设备接入侧linkdown故障(Ethernet端口未连接),如图5所示,为PE设备接入侧linkdown故障的示意图。在该场景下,本公开所述方法的实施过程为:
步骤1,本端PE设备确定出接入侧linkdown故障;
步骤2,本端PE设备连续发送5个带伪线控制字的伪线报文至对端PE设备;其中,在进行伪线报文封装时,设置伪线控制字First nibble=0001(binary),并将Flags字段第3个bit位置1;
步骤3,对端PE设备检测到当前业务路径上本端PE设备发送伪线报文;
步骤4,对端PE设备提取伪线报文的伪线控制字,得到伪线控制字中指定字段的状态为:First nibble=0001(binary)且Flags字段第3个bit位置1;
步骤5,对端PE设备根据First nibble值和Flags字段的状态认为当前路径不可用,判断当前业务中断。
应用示例三
该应用示例的应用场景为PE设备接入侧聚合端口失效故障,如图6所示,为PE设备接入侧聚合端口失效故障的示意图。在该场景下,本公开所述方法的实施过程为:
步骤1,本端PE设备确定出接入侧聚合端口失效故障;
步骤2,本端PE设备连续发送5个带伪线控制字的伪线报文至对端PE设备;其中,在进行伪线报文封装时,设置伪线控制字First nibble=0001(binary),并将Flags字段第2个bit位置1;
步骤3,对端PE设备检测到当前业务路径上本端PE设备发送伪线报文;
步骤4,对端PE设备提取伪线报文的伪线控制字,得到伪线控制字中指定字段的状态为:First nibble=0001(binary)且Flags字段第2个bit位置1;
步骤5,对端PE设备根据First nibble值和Flags字段的状态认为当前路径 不可用,判断当前业务中断。
应用示例四
该应用示例的应用场景为PE设备物理端口正常但接收报文个数少于阈值故障,如图7所示,为PE设备物理端口正常但接收报文个数少于阈值故障的示意图。在该场景下,本公开所述方法的实施过程为:
步骤1,本端PE设备确定出设备物理端口正常但接收报文个数少于阈值故障;
步骤2,本端PE设备将收到的报文进行伪线报文封装,并在伪线报文封装时,保持伪线控制字First nibble=0000(binary),设置Flags字段最高bit位置1;
步骤3,本端PE设备将封装得到的伪线报文发送至对端PE设备;
步骤4,对端PE设备检测到当前业务路径上本端PE设备发送伪线报文;
步骤5,对端PE设备提取伪线报文的伪线控制字,得到伪线控制字中指定字段的状态为:First nibble=0000(binary)且Flags字段最高bit位置1;
步骤6,对端PE设备根据First nibble值和Flags字段的状态认为当前业务非正常,判断当前业务异常。
应用示例五
该应用示例的应用场景为PE设备物理端口正常但接收不到报文故障,如图8所示,为PE设备物理端口正常但接收不到报文故障的示意图。在该场景下,本公开所述方法的实施过程为:
步骤1,本端PE设备确定出设备接入侧物理端口正常但接收不到报文故障;
步骤2,本端PE设备连续发送5个带伪线控制字的伪线报文至对端PE设备;其中,在进行伪线报文封装时,设置伪线控制字First nibble=0000(binary),并将Flags字段第2个bit位置1;
步骤3,对端PE设备检测到当前业务路径上本端PE设备发送伪线报文;
步骤4,对端PE设备提取伪线报文的伪线控制字,得到伪线控制字中指定字段的状态为:First nibble=0000(binary),并将Flags字段第2个bit位置1;
步骤5,对端PE设备根据First nibble值和Flags字段的状态认为当前业务非正常,判断当前业务异常。
应用示例六
该应用示例的应用场景为网络内部故障,如图9所示,在该场景下,由于网络内部故障。本端PE设备向对端PE设备发送的报文无法送达,对端PE设备在一定时间内没有收到从本端PE设备发送的报文,认为当前路径不可用,判断当前业务中断。
需要指出的是,上述应用示例一至应用示例五中的字段置位方式只是一种示例,本领域技术人员可以根据自身需求,灵活的设定置位与异常类型的对应关系,本公开不对置位方式以及对应关系做唯一限定。
本公开实施例还提供一种业务服务状态判定的装置,该装置可以作为独立的部件集成在PE设备内,可以是对PE设备内已有单元模块进行功能更新后的单元模块集合。如图10所示,本公开实施例所述装置包括:
异常确定单元1010,被配置为确定本PE设备接入侧的业务服务状态是否异常;
处理单元1020,被配置为在异常确定单元1010确定出业务服务状态异常时,设置伪线控制字,使其携带业务服务状态异常信息,并向与本PE设备连接的对端PE设备发送带有所述伪线控制字的伪线报文;以及当接收到对端PE设备发送的伪线报文时,根据该伪线报文的伪线控制字,对业务服务状态进行判定。
基于上述结构框架,下面给出在上述结构下的几个实施方式,用以细化和优化本公开所述装置的功能,以使本公开方案的实施更方便,准确。涉及如下内容:
本实施例中,处理单元1020,设置伪线控制字,使其携带业务服务状态异常信息,不限于为通过如下方式实现:
确定预先指定的伪线控制字中用于携带业务服务状态异常信息的字段;
按设定的业务服务状态异常的类型与所述字段各bit位的置位关系,对所述字段进行置位处理,使其携带业务服务状态异常信息。
其中,字段可以但不限于为伪线控制字的First nibble和Flags字段。
本实施例中,处理单元1020,可以设置伪线控制字,使其携带业务服务状态异常信息后,向与本PE设备连接的对端PE设备连续发送N个带有所述伪线控制字的伪线报文;所述N为大于等于2的正整数。
本实施例中,处理单元1020,可以当接收到对端PE设备发送的伪线报文时,判断其伪线控制字的指定字段是否置位,当所述指定字段置位时,判定出业务服务状态异常,并根据设定的业务服务状态异常的类型与所述字段各bit位的置位关系,确定出业务服务状态异常的类型。
本实施例中,处理单元1020,可以在确定出在设定的时间段内未接收到对端PE设备发送的报文时,认定当前路径不可用,判断出当前业务中断。
在本公开的一个实施例中,处理单元1020可以包括:
伪线报文接收检测模块,被配置为检测是否接收到对端设备发送的伪线报文;如果没有收到伪线报文,则伪线控制字状态检测模块不工作。
伪线控制字状态检测模块,被配置为当伪线报文接收检测模块检测到接收到伪线报文时,对收到的伪线报文判断伪线控制字状态是否置位,不同的伪线控制字置位状态代表不同的业务服务状态。
业务服务状态判定模块,一方面根据伪线控制字状态检测模块检测到的伪线控制字置位状态,将不同的伪线控制字置位状态判定为相应的业务服务状态;另一方面当伪线报文接收检测模块检测到一定时间内收不到伪线报文时,业务服务状态判定模块判断业务为中断状态。
本公开实施例还提供了一种非暂态计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为执行上述任一实施例中的方法。
本公开实施例还提供了一种电子设备的结构示意图。参见图11,该电子设备包括:
至少一个处理器(processor)110,图11中以一个处理器110为例;和存储器(memory)111,还可以包括通信接口(Communications Interface)112和总线113。其中,处理器110、通信接口112、存储器111可以通过总线113完成相互间的通信。通信接口112可以用于信息传输。处理器110可以调用存储器111中的逻辑指令,以执行上述实施例的方法。
此外,上述的存储器111中的逻辑指令可以通过软件功能单元的形式实现 并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。
存储器111作为一种计算机可读存储介质,可用于存储软件程序、计算机可执行程序,如本公开实施例中的方法对应的程序指令/模块。处理器110通过运行存储在存储器111中的软件程序、指令以及模块,从而执行功能应用以及数据处理,即实现上述方法实施例中的业务服务状态判定方法。
存储器111可包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序;存储数据区可存储根据终端设备的使用所创建的数据等。此外,存储器111可以包括高速随机存取存储器,还可以包括非易失性存储器。
本公开实施例的技术方案可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括一个或多个指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本公开实施例所述方法的全部或部分步骤。而前述的存储介质可以是非暂态存储介质,包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等多种可以存储程序代码的介质,也可以是暂态存储介质。
综上所述,可知本公开提出的基于PW控制字判定业务服务状态的装置,无需配置OAM或者BFD,可直接根据PW控制字状态判定,节省了网络带宽,提高了检测效率。
本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是其与其他实施例的不同之处。对于装置实施例而言,由于其基本相似与方法实施例,所以,描述的比较简单,相关之处参见方法实施例的部分说明即可。
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:ROM、RAM、磁盘或光盘等。
总之,以上所述仅为本公开的实施例而已,并非用于限定本公开的保护范 围。凡在本公开实施例范围之内,所作的任何修改、等同替换、改进等,均应包含在本公开的保护范围之内。
工业实用性
本公开提供的业务服务状态判定的方法及装置无需配置OAM或者BFD,可直接根据PW控制字状态判定,节省网络带宽,提高检测效率。

Claims (15)

  1. 一种业务服务状态判定的方法,应用于运营商边缘设备PE,所述方法包括:
    在确定出本PE设备接入侧的业务服务状态异常时,设置伪线控制字,使其携带业务服务状态异常信息,并向与本PE设备连接的对端PE设备发送带有所述伪线控制字的伪线报文。
  2. 如权利要求1所述的方法,其中,所述设置伪线控制字,使其携带业务服务状态异常信息,包括:
    确定预先指定的伪线控制字中用于携带业务服务状态异常信息的字段;
    按设定的业务服务状态异常的类型与所述字段各bit位的置位关系,对所述字段进行置位处理。
  3. 如权利要求2所述的方法,其中,所述字段包括:伪线控制字的First nibble和Flags字段。
  4. 如权利要求1所述的方法,其中,所述向与本PE设备连接的对端PE设备发送带有所述伪线控制字的伪线报文,包括:
    向与本PE设备连接的对端PE设备连续发送N个带有所述伪线控制字的伪线报文;所述N为大于等于2的正整数。
  5. 如权利要求1至4任一项所述的方法,还包括:当接收到对端PE设备发送的伪线报文时,根据该伪线报文的伪线控制字,对业务服务状态进行判定。
  6. 如权利要求5所述的方法,其中,所述根据该伪线报文的伪线控制字,对业务服务状态进行判定,包括:
    判断伪线控制字的指定字段是否置位;
    当所述指定字段置位时,判定出业务服务状态异常,并根据设定的业务服 务状态异常的类型与所述字段各bit位的置位关系,确定出业务服务状态异常的类型。
  7. 如权利要求1所述的方法,还包括:
    当在设定的时间段内未接收到所述对端PE设备发送的报文时,认定当前路径不可用,判断出当前业务中断。
  8. 一种业务服务状态判定的装置,应用于运营商边缘PE设备,所述装置包括:
    异常确定单元,被配置为确定本PE设备接入侧的业务服务状态是否异常;
    处理单元,被配置为在所述异常确定单元确定出业务服务状态异常时,设置伪线控制字,使其携带业务服务状态异常信息,并向与本PE设备连接的对端PE设备发送带有所述伪线控制字的伪线报文。
  9. 如权利要求8所述的装置,其中,所述处理单元,被配置为确定预先指定的伪线控制字中用于携带业务服务状态异常信息的字段,按设定的业务服务状态异常的类型与所述字段各bit位的置位关系,对所述字段进行置位处理,使其携带业务服务状态异常信息。
  10. 如权利要求9所述的装置,其中,所述字段包括:伪线控制字的First nibble和Flags字段。
  11. 如权利要求8所述的装置,其中,所述处理单元,被配置为向与本PE设备连接的对端PE设备连续发送N个带有所述伪线控制字的伪线报文;所述N为大于等于2的正整数。
  12. 如权利要求8至11任一项所述的装置,其中,所述处理单元还被配置为:当接收到对端PE设备发送的伪线报文时,根据该伪线报文的伪线控制字,对业务服务状态进行判定。
  13. 如权利要求12所述的装置,其中,所述处理单元,被配置为当接收到对端PE设备发送的伪线报文时,判断其伪线控制字的指定字段是否置位,当所述指定字段置位时,判定出业务服务状态异常,并根据设定的业务服务状态异常的类型与所述字段各bit位的置位关系,确定出业务服务状态异常的类型。
  14. 如权利要求8所述的装置,其中,所述处理单元,还被配置为当在设定的时间段内未接收到所述对端PE设备发送的报文时,认定当前路径不可用,判断出当前业务中断。
  15. 一种非暂态计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为执行权利要求1-7中任一项的方法。
PCT/CN2017/073554 2016-03-29 2017-02-15 一种业务服务状态判定的方法及装置 WO2017166932A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610184746.1A CN107241206B (zh) 2016-03-29 2016-03-29 一种业务服务状态判定的方法、装置及存储介质
CN201610184746.1 2016-03-29

Publications (1)

Publication Number Publication Date
WO2017166932A1 true WO2017166932A1 (zh) 2017-10-05

Family

ID=59963385

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/073554 WO2017166932A1 (zh) 2016-03-29 2017-02-15 一种业务服务状态判定的方法及装置

Country Status (2)

Country Link
CN (1) CN107241206B (zh)
WO (1) WO2017166932A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115065614A (zh) * 2022-06-22 2022-09-16 杭州云合智网技术有限公司 Vpws多活的业务连通性的识别方法

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101141330A (zh) * 2007-10-23 2008-03-12 华为技术有限公司 一种为lsp隧道建立bfd检测的方法、系统及设备
CN103716247A (zh) * 2012-09-29 2014-04-09 中兴通讯股份有限公司 Tdm业务的传输方法及装置
CN104811324A (zh) * 2014-01-24 2015-07-29 中兴通讯股份有限公司 伪线保护方法、装置及节点

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101170446B (zh) * 2007-12-03 2010-07-28 华为技术有限公司 一种进行许可证管理的方法、服务器、客户端和系统
US8107386B2 (en) * 2008-02-07 2012-01-31 Cisco Technology, Inc. VPLS N-PE redundancy using pseudo wire fast failover
US8792510B2 (en) * 2010-03-17 2014-07-29 Futurewei Technologies, Inc. System and method for pseudowire packet cache and re-transmission
CN102164051B (zh) * 2011-05-18 2013-11-06 西安交通大学 面向业务的故障检测与定位方法
CN102611631A (zh) * 2012-04-12 2012-07-25 中兴通讯股份有限公司 一种伪线场景下协议报文保护方法、装置及系统
CN102932285B (zh) * 2012-10-26 2015-10-21 华为技术有限公司 报文封装方法、解析方法及装置
CN104062967B (zh) * 2013-03-20 2016-12-28 广州汽车集团股份有限公司 启停系统的故障诊断方法及装置
US9215136B2 (en) * 2013-06-27 2015-12-15 Cisco Technology, Inc. Aggregated delivery of tunnel fault messages on common ethernet segments
CN103825760B (zh) * 2014-02-25 2017-06-06 新华三技术有限公司 一种基于ospf协议建立邻居关系的方法和装置

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101141330A (zh) * 2007-10-23 2008-03-12 华为技术有限公司 一种为lsp隧道建立bfd检测的方法、系统及设备
CN103716247A (zh) * 2012-09-29 2014-04-09 中兴通讯股份有限公司 Tdm业务的传输方法及装置
CN104811324A (zh) * 2014-01-24 2015-07-29 中兴通讯股份有限公司 伪线保护方法、装置及节点

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115065614A (zh) * 2022-06-22 2022-09-16 杭州云合智网技术有限公司 Vpws多活的业务连通性的识别方法
CN115065614B (zh) * 2022-06-22 2023-10-13 杭州云合智网技术有限公司 Vpws多活的业务连通性的识别方法

Also Published As

Publication number Publication date
CN107241206B (zh) 2022-02-18
CN107241206A (zh) 2017-10-10

Similar Documents

Publication Publication Date Title
CN110149220B (zh) 一种管理数据传输通道的方法及装置
US8886831B2 (en) System and methodology for fast link failover based on remote upstream failures
US9692697B2 (en) Control channel establishing method, forwarding point, and controller
US8341231B2 (en) Systems and methods for processing heartbeat messages
WO2017054547A1 (zh) 双向转发检测的方法和装置
US10862735B2 (en) Method and apparatus for implementing operation, administration, and maintenance function
WO2014018297A1 (en) System and method using rsvp hello suppression for graceful restart capable neighbors
CN107465613B (zh) 链路聚合接口通信状态切换方法及装置
CN104980293B (zh) 一种oam报文快速发送和检测处理的方法及装置
EP3029883A1 (en) Network protection method and apparatus, next-ring node, and system
US9059899B2 (en) Method and system for interrupt throttling and prevention of frequent toggling of protection groups in a communication network
US20140050092A1 (en) Load sharing method and apparatus
CN107294856B (zh) 确定拓扑变化的方法、设备及系统
US20160344617A1 (en) Shutdown response system
WO2016124117A1 (zh) 一种sdn中的链路保护方法、交换设备及网络控制器
CN103825819A (zh) 一种报文发送及接收方法、装置
WO2015109734A1 (zh) 伪线保护方法、装置及节点
WO2017000096A1 (zh) 一种链路恢复方法和网络设备
EP2858302B1 (en) Connectivity check method of service stream link, related apparatus and system
CN102546304B (zh) 一种检测双向转发检测的方法、设备和系统
CN106330699B (zh) 一种组播链路的切换方法、装置及路由设备
EP2787699A1 (en) Data transmission method, device, and system
WO2017166932A1 (zh) 一种业务服务状态判定的方法及装置
WO2017206785A1 (zh) 一种网元、保护倒换方法及其系统、存储介质
CN112073285B (zh) 一种误码通告的方法及相关设备

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

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

Ref document number: 17772963

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 17772963

Country of ref document: EP

Kind code of ref document: A1