WO2016145812A1 - Method and apparatus for improving rearranging efficiency of multiplexing segments in packet transport network - Google Patents

Method and apparatus for improving rearranging efficiency of multiplexing segments in packet transport network Download PDF

Info

Publication number
WO2016145812A1
WO2016145812A1 PCT/CN2015/090173 CN2015090173W WO2016145812A1 WO 2016145812 A1 WO2016145812 A1 WO 2016145812A1 CN 2015090173 W CN2015090173 W CN 2015090173W WO 2016145812 A1 WO2016145812 A1 WO 2016145812A1
Authority
WO
WIPO (PCT)
Prior art keywords
working port
state
working
control word
multiplex section
Prior art date
Application number
PCT/CN2015/090173
Other languages
French (fr)
Chinese (zh)
Inventor
张禹
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016145812A1 publication Critical patent/WO2016145812A1/en

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/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • H04L41/0836Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability to enhance reliability, e.g. reduce downtime
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/68Pseudowire emulation, e.g. IETF WG PWE3
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/25Routing or path finding in a switch fabric
    • H04L49/256Routing or path finding in ATM switching fabrics
    • H04L49/258Grouping

Definitions

  • This application relates to, but is not limited to, the field of Packet Transport Network (PTN).
  • PTN Packet Transport Network
  • the bearer network is gradually evolving in the direction of the Internet (Internet Protocol).
  • IP Internet Protocol
  • the PTN device In order to be compatible with the existing TDM (Time Division Multiplexing) devices, the PTN device must With the ability to access the traditional Synchronous Digital Hierarchy (SDH) service, it must also be compatible with the traditional SDH protection technology. Therefore, the PTN equipment implements linear multiplex section protection. After the multiplex section protection is implemented in the PTN network, there is a big difference between the bearer mode of the service and the traditional SDH network. Therefore, when the traffic volume is relatively large, the problem of excessive switching time is likely to occur.
  • SDH Synchronous Digital Hierarchy
  • the TDM service is carried in the PTN network to implement the processing of the control word.
  • the L bit is a bit of the control word.
  • the related processing of the related technology is as follows:
  • the L bit is set, and the L bit is set to be canceled after detecting the recovery of the client signal.
  • the present invention provides a method and apparatus for improving multiplex section switching efficiency in a packet transmission network. To solve the problem of excessive switching time when the multiplex section protection is implemented in the PTN network and the traffic volume is large.
  • a method for improving switching efficiency of a multiplex section protection group in a packet transmission network comprising:
  • the pseudowire control word processing of the time division multiplexing emulation service on the working port in the multiplex section protection group is enabled, and
  • the pseudowire control word of the time division multiplexing emulation service on the non-working port in the non-working state in the multiplex section protection group is processed and disabled.
  • the method further includes:
  • the pseudowire control word processing of the time division multiplexing emulation service performs the enabling and deactivating processing, and the current state of the working port in the multiplex section protection group and the non-working port in the non-working state Polling;
  • the pseudowire control word processing of the time division multiplexing emulation service is changed.
  • the method further includes: if the current state of the working port or the non-working port is found to be unchanged by polling, maintaining pseudowire control word processing of the time division multiplexing emulation service.
  • the step of polling the current status of the working port in the multiplex section protection group and the non-working port in the non-working state includes:
  • a timer is preset, and the current state of the working port in the multiplex section protection group and the non-working port in the non-working state is polled according to the configured timing period.
  • the step of changing the pseudowire control word processing of the time division multiplexing emulation service includes:
  • the pseudowire control word processing of the time division multiplexing emulation service on the working port that is switched to the non-working state is disabled;
  • the pseudowire control word processing of the time division multiplexing emulation service on the non-working port that is switched to the working state is enabled.
  • the step of enabling the pseudowire control word processing of the time division multiplexing emulation service on the working port that is to be switched to the non-working state further includes:
  • the alarm set to the client side according to the L bit setting is eliminated.
  • a device for improving the switching efficiency of a multiplex section protection group in a packet transmission network comprising:
  • Obtain the module set to: obtain the protection status of the multiplex section protection group;
  • the enabling module is configured to: enable, according to the obtained protection state of the multiplex section protection group, the processing of the pseudowire control word of the time division multiplexing emulation service on the working port in the multiplex section protection group, and
  • the enabling module is configured to: process the pseudowire control word of the time division multiplexing emulation service on the non-working port in the non-working state in the multiplex section protection group according to the obtained protection state of the multiplex section protection group Enable.
  • the device further includes:
  • the polling module is configured to: after the enabling and disabling processing in the pseudowire control word processing of the time division multiplexing emulation service, the working port in the working state of the multiplex section protection group is in a non-working state The current state of the non-working port is polled;
  • the module is changed, and if the current state of the working port or the non-working port is changed by polling, the pseudowire control word processing of the time division multiplexing emulation service is changed.
  • the changing module includes:
  • the first switching submodule is configured to: if the working port is switched from the working state to the non-working state, the pseudowire control word processing of the time division multiplexing emulation service on the working port that is switched to the non-working state is disabled;
  • the second switching submodule is configured to: if the non-working port is switched from the non-working state to the working state, after the delay preset time, the time division multiplexing emulation service on the non-working port that is switched to the working state is switched Pseudowire control word processing is enabled.
  • the first switching submodule includes:
  • a computer readable storage medium storing computer executable instructions for performing the method of any of the above.
  • the beneficial effects of the embodiments of the present invention are: reducing the time of service interruption by providing a method for improving the switching efficiency of the multiplex section protection.
  • FIG. 1 is a schematic diagram of a method for improving multiplex section switching efficiency in a packet transmission network according to an embodiment of the present invention
  • FIG. 2 is a structural diagram of an apparatus for improving multiplex section switching efficiency in a packet transmission network according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of each processing unit and its interaction relationship for improving multiplex section switching efficiency in a packet transmission network according to an embodiment of the present invention
  • FIG. 4 is a control flow chart of improving multiplex section switching efficiency in a packet transmission network according to an embodiment of the present invention
  • FIG. 5 is a flowchart of an operation for improving multiplex section switching efficiency in a packet transmission network according to an embodiment of the present invention.
  • FIG. 1 is a schematic diagram of a method for improving multiplex section switching efficiency in a packet transmission network according to an embodiment of the present invention. As shown in FIG. 1 , the steps are as follows:
  • Step S101 Acquire a protection state of the multiplex section protection group.
  • Step S102 According to the protection state of the obtained multiplex section protection group, the multiplex section protection group is The pseudowire control word processing of the time division multiplexing emulation service on the working port is enabled.
  • Step S103 According to the obtained protection state of the multiplex section protection group, the pseudowire control word of the time division multiplexing emulation service on the non-working port in the non-working state in the multiplex section protection group is processed and disabled.
  • step S102 and step S103 may be exchanged or may be performed synchronously.
  • Step S104 After the enabling and de-enabling processing is performed on the pseudowire control word processing of the time division multiplexing emulation service, the working port in the working state of the multiplex section protection group and the non-working port in the non-working state The current state is polled.
  • step S104 the step of polling the current state of the working port in the multiplex section protection group and the non-working port in the non-working state includes:
  • a timer is preset, and the current state of the working port in the multiplex section protection group and the non-working port in the non-working state is polled according to the configured timing period.
  • Step S105 If it is found through polling that the current state of the working port or the non-working port has changed, the pseudowire control word processing of the time division multiplexing emulation service is changed.
  • step S105 the method further includes: if the current state of the working port or the non-working port is found to be unchanged by polling, maintaining pseudowire control word processing of the time division multiplexing emulation service.
  • the steps of changing the pseudowire control word processing of the time division multiplexing emulation service include:
  • the pseudowire control word processing of the time division multiplexing emulation service on the working port that is switched to the non-working state is disabled;
  • the pseudowire control word processing of the time division multiplexing emulation service on the non-working port that is switched to the working state is enabled.
  • the step of enabling the pseudowire control word processing of the time division multiplexing emulation service on the working port to be switched to the non-working state further includes:
  • the method includes: an obtaining module 20, an enabling module 21, a de-enable module 22, and a polling module. 23 and change module 24.
  • the obtaining module 20 is configured to: acquire a protection state of the multiplex section protection group.
  • the enabling module 21 is configured to: enable, according to the obtained protection state of the multiplex section protection group, the pseudowire control word processing of the time division multiplexing emulation service on the working port in the working state of the multiplex section protection group .
  • the de-enable module 22 is configured to: according to the obtained protection state of the multiplex section protection group, the pseudowire control word of the time division multiplexing emulation service on the non-working port in the non-working state in the multiplex section protection group Processing to enable.
  • the polling module 23 is configured to: after the enabling and de-enabling processing of the pseudowire control word processing of the time division multiplexing emulation service, the working port in the working state of the multiplex section protection group is in the non-operational state The current state of the non-working port of the working state is polled.
  • the change module 24 is configured to: if the current state of the working port or the non-working port is changed by polling, change the pseudowire control word processing of the time division multiplexing emulation service.
  • the first switching submodule of the changing module is configured to: if the working port is switched from the working state to the non-working state, the pseudowire control of the time division multiplexing emulation service on the working port that is switched to the non-working state Word processing to enable.
  • the second switching submodule of the changing module is configured to: if the non-working port is switched from the non-working state to the working state, after the delay preset time, the time division of the non-working port that is switched to the working state is repeated Use the pseudowire control word processing enable of the emulation service.
  • the clearing unit of the first switching submodule is configured to: if the L bit is set in the time division multiplexing emulation service pseudowire message on the working port that is switched to the inactive state, the bit is set according to the L bit Set the alarm to the client side.
  • FIG. 3 is a schematic diagram of each processing unit and its interaction relationship for improving the multiplexing segment switching efficiency in a packet transmission network according to an embodiment of the present invention. As shown in FIG. 3, the simulation service processing unit 33 and the control word processing unit 32 are provided. The multiplex section protection control unit 30 and the control word processing enable control unit 31.
  • the emulation service processing unit 33 is configured to: encapsulate and decapsulate the TDM emulation service pseudowire packet.
  • the control word processing unit 32 is configured to: be responsible for the TDM emulation service pseudowire control word processing, and control the opening and closing of the pseudowire control word processing, which can be implemented by software or hardware. Its implementation features include:
  • the L bit is set, and the L bit is set to be canceled after detecting the recovery of the client signal.
  • the multiplex section protection control unit 30 is configured to: maintain the protection state of the multiplex section protection group, and perform a protection action.
  • the control word processing enable control unit 31 is configured to control the control word processing enable state of each TDM emulation service, that is, whether to control the control word processing function for each TDM emulation service.
  • the implementation method is: the control word processing enable control unit 31 acquires the current multiplex section protection group status, determines which TDM emulation service control word processing should be enabled according to the current multiplex section protection group status, and corresponding TDM
  • the enabled state of the emulation service is configured into the control word processing unit 32, and finally the emulation service processing unit 33 encapsulates the final service pseudowire message or processes the received service pseudowire message according to the rule.
  • FIG. 4 is a flow chart of controlling the multiplex section switching efficiency in a packet transmission network according to an embodiment of the present invention. As shown in FIG. 4, the steps are as follows:
  • Step S401 Configure multiplex section protection (MSP: Multiplex Section Protection).
  • Step S402 Set the non-working port control word processing to be enabled.
  • control word in the non-working port is processed and disabled according to the current active/standby state of the multiplex section protection group.
  • Step S403 Set the working port control word processing to be enabled.
  • the service control word processing on the working port is enabled according to the current active/standby state of the multiplex section protection group.
  • Step S404 Complete.
  • Step S402 and step S403 are performed synchronously.
  • FIG. 5 is a flowchart of an operation for improving multiplex section switching efficiency in a packet transmission network according to an embodiment of the present invention.
  • the PTN terminal configures a multiplex section protection group state during timer polling as follows:
  • Step S501 The timing message arrives. It is implemented by a timer, the timing period can be configured, and the typical configuration is 100ms, which can be implemented by hardware or software.
  • Step S502 Query the status of the multiplex section protection group. That is, the timer polls the protection status of the multiplex section protection group.
  • Step S503 determining the current state change. After the timer expires, it is detected that the state of the multiplex section protection group has changed, and the process proceeds to step S504, and no change occurs, and no processing is performed, and the process proceeds to step S506.
  • Step S504 Set the non-working port control word processing to be enabled, and clear the alarm.
  • the working port is switched to the non-working port, the control word processing is disabled, and the alarm set to the client side according to the value of the control word is cleared.
  • Step S505 delay the preset time, and set the working port control word processing to be enabled.
  • the non-working port is switched to the working port for a period of time. For example, this time can be 2 to 3 seconds to enable control word processing.
  • Step S506 Complete.
  • a device for improving the multiplexing efficiency of the multiplex section in the packet transmission network has been applied to the large PTN device, and the control word processing unit is implemented by software, thereby realizing the circuit simulation service of the E1.
  • the board for implementing the control word processing unit is implemented in different chips by the client side alarm detection and the pseudo line package, so that the control word processing is enabled by the software, thereby effectively reducing the multiplexing of the E1 simulation service. Segment protection switching time. Its function is as follows:
  • the L bit is set, and the L bit is set after the AIS disappears.
  • AIS Alarm Indication Signal
  • the software performs control word processing on all E1 emulation services on the working status port according to the status of the protection group, and does not control all E1 emulation services on the non-working port. word processing.
  • the software When the working port is switched to the non-working port, the software immediately clears the alarm of the protection of all the services on the non-working port due to the abnormality of the control word, and immediately stops processing the control word.
  • a device for improving the multiplex section switching efficiency in a packet transmission network has been applied to a large PTN device, wherein the control word processing unit is implemented by hardware, and the service type is circuit simulation in a packet switching network of a standard virtual container VC4 (CEP: Circuit) Emulation over Packet) business.
  • CEP Circuit
  • the client side alarm detection and the pseudowire message encapsulation of the board for implementing the control word processing unit are all completed in one chip, so the hardware can complete all control word operations, and the enabling control is provided compared with the software.
  • Interface which effectively reduces the multiplex section switching time of the CEP emulation service. Its function is as follows:
  • the client side detects that the L-bit is set after the MS-AIS is generated, and cancels the L-bit setting after detecting that the MS-AIS disappears.
  • the software sets all CEP emulation service control word processing enable on the working status port according to the status of the protection group, and sets all CEP emulation service control words on the non-working status port. Processing is not enabled.
  • the software sets the control word processing of all services on the working port to be enabled
  • the software When the working port is switched to the non-working port, the software notifies the hardware to clear the alarm that is inserted due to the abnormality of the received control word, and sets the control word processing of all services under the non-working port to be enabled.
  • the embodiment of the present invention has the following technical effects: by providing a method for improving the switching efficiency of the multiplex section protection, in the process of changing the working port of the switching process into a non-working port, it is unnecessary to process some unnecessary
  • the control word operation can effectively reduce the time for the multiplex section protection switching TDM service interruption.
  • only the related operations of the service processing control word in the working state are required, which is reduced by half compared with the previous operation.
  • the software load can be reduced when the service configuration amount is large.
  • all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve.
  • the devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
  • the device/function module/functional unit in the above embodiment When the device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium.
  • the above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.

Landscapes

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

Abstract

Disclosed in the present invention are a method and an apparatus for improving rearranging efficiency of multiplexing segments in a packet transport network, and the method includes: obtaining the protection state of a multiplexing segment protection group; according to the obtained protection state of the multiplexing segment protection group, enabling pseudo wire control word processing of a time-division-multiplexing simulation service on a working port in a working state in the multiplexing segment protection group, and according to the obtained protection state of the multiplexing segment protection group, disenabling the pseudo wire control word processing of the time-division-multiplexing simulation service on a non-working port in a non-working state in the multiplexing segment protection group.

Description

一种提高分组传送网中复用段倒换效率的方法及装置Method and device for improving multiplex section switching efficiency in packet transmission network 技术领域Technical field
本申请涉及但不限于分组传送网(PTN:Packet Transport Network)领域。This application relates to, but is not limited to, the field of Packet Transport Network (PTN).
背景技术Background technique
随着技术的演进,承载网逐渐在向全网络之间互连的协议(IP:Internet Protocol)化方向演进,为了兼容已有的大量时分复用(TDM:Time Division Multiplexing)设备,PTN设备必须具备接入传统同步数字体系(SDH:Synchronous Digital Hierarchy)业务的能力,同时也必须兼容传统的SDH保护技术,因此PTN设备都实现了线性复用段保护。在PTN网络中实现复用段保护之后,由于业务的承载方式和传统的SDH网络存在比较大的差异,因此,在业务量比较大的时候容易出现倒换时间超标的问题。With the evolution of technology, the bearer network is gradually evolving in the direction of the Internet (Internet Protocol). In order to be compatible with the existing TDM (Time Division Multiplexing) devices, the PTN device must With the ability to access the traditional Synchronous Digital Hierarchy (SDH) service, it must also be compatible with the traditional SDH protection technology. Therefore, the PTN equipment implements linear multiplex section protection. After the multiplex section protection is implemented in the PTN network, there is a big difference between the bearer mode of the service and the traditional SDH network. Therefore, when the traffic volume is relatively large, the problem of excessive switching time is likely to occur.
在PTN网络中承载TDM业务都有实现控制字的处理,L比特是控制字的一个位,相关技术的相关处理如下:The TDM service is carried in the PTN network to implement the processing of the control word. The L bit is a bit of the control word. The related processing of the related technology is as follows:
(1)客户侧检测到信号失效后设置L比特置位,检测到客户信号恢复后取消L比特置位。(1) After the client side detects the signal failure, the L bit is set, and the L bit is set to be canceled after detecting the recovery of the client signal.
(2)在网络侧检测到收到的伪线报文L比特置位,认为远端的客户信号失效,需要向本端的客户侧下插告警。(2) When the L-bit of the received pseudo-line packet is detected on the network side, it is considered that the remote client signal is invalid, and the alarm needs to be inserted into the client side of the local end.
(3)网络侧的数据发生中断时需要向TDM业务的客户侧下插告警。(3) When the data on the network side is interrupted, an alarm needs to be inserted into the client side of the TDM service.
由于在复用段倒换的过程中不可避免地会出现一些客户侧或者网络侧的一些告警,在此过程中这些控制字相关的功能在参与业务处理时会增加一些复杂性,最终使得倒换时间超标。In the process of multiplex section switching, some alarms on the client side or the network side will inevitably occur. In this process, the functions related to these control words will add some complexity when participating in the service processing, and finally the switching time exceeds the standard. .
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
本文提供一种提高分组传送网络中复用段倒换效率的方法及装置,能够 解决在PTN网络中实现复用段保护过程中,业务量较大时出现的倒换时间超标问题。The present invention provides a method and apparatus for improving multiplex section switching efficiency in a packet transmission network. To solve the problem of excessive switching time when the multiplex section protection is implemented in the PTN network and the traffic volume is large.
一种提高分组传送网中复用段保护组倒换效率的方法,包括:A method for improving switching efficiency of a multiplex section protection group in a packet transmission network, comprising:
获取复用段保护组的保护状态;Obtain the protection status of the multiplex section protection group;
根据获取到的复用段保护组的保护状态,将复用段保护组中处于工作状态的工作端口上的时分复用仿真业务的伪线控制字处理使能,以及According to the obtained protection state of the multiplex section protection group, the pseudowire control word processing of the time division multiplexing emulation service on the working port in the multiplex section protection group is enabled, and
根据获取到的复用段保护组的保护状态,将复用段保护组中处于非工作状态的非工作端口上的时分复用仿真业务的伪线控制字处理去使能。According to the obtained protection state of the multiplex section protection group, the pseudowire control word of the time division multiplexing emulation service on the non-working port in the non-working state in the multiplex section protection group is processed and disabled.
可选地,所述方法还包括:Optionally, the method further includes:
在时分复用仿真业务的伪线控制字处理进行了所述使能和去使能处理后,对复用段保护组中处于工作状态的工作端口和处于非工作状态的非工作端口的当前状态进行轮询;The pseudowire control word processing of the time division multiplexing emulation service performs the enabling and deactivating processing, and the current state of the working port in the multiplex section protection group and the non-working port in the non-working state Polling;
若通过轮询,发现所述工作端口或非工作端口的当前状态发生了变化,则改变时分复用仿真业务的伪线控制字处理。If the current state of the working port or the non-working port is changed by polling, the pseudowire control word processing of the time division multiplexing emulation service is changed.
可选地,所述方法还包括:若通过轮询,发现所述工作端口或非工作端口的当前状态不变,则保持时分复用仿真业务的伪线控制字处理。Optionally, the method further includes: if the current state of the working port or the non-working port is found to be unchanged by polling, maintaining pseudowire control word processing of the time division multiplexing emulation service.
可选地,所述的对复用段保护组中处于工作状态的工作端口和处于非工作状态的非工作端口的当前状态进行轮询的步骤包括:Optionally, the step of polling the current status of the working port in the multiplex section protection group and the non-working port in the non-working state includes:
预置一个定时器,并根据配置的定时周期对复用段保护组中处于工作状态的工作端口和处于非工作状态的非工作端口的当前状态进行轮询。A timer is preset, and the current state of the working port in the multiplex section protection group and the non-working port in the non-working state is polled according to the configured timing period.
可选地,所述的若通过轮询,发现所述工作端口或非工作端口的当前状态发生了变化,则改变时分复用仿真业务的伪线控制字处理的步骤包括:Optionally, if the current state of the working port or the non-working port is changed by polling, the step of changing the pseudowire control word processing of the time division multiplexing emulation service includes:
若所述工作端口由工作状态切换成非工作状态,则将切换为非工作状态的工作端口上的时分复用仿真业务的伪线控制字处理去使能;If the working port is switched from the working state to the non-working state, the pseudowire control word processing of the time division multiplexing emulation service on the working port that is switched to the non-working state is disabled;
若所述非工作端口由非工作状态切换成工作状态,则在延时预置时间后,将切换为工作状态的非工作端口上的时分复用仿真业务的伪线控制字处理使能。 If the non-working port is switched from the non-working state to the working state, after the delay preset time, the pseudowire control word processing of the time division multiplexing emulation service on the non-working port that is switched to the working state is enabled.
可选地,所述的将切换为非工作状态的工作端口上的时分复用仿真业务的伪线控制字处理去使能的步骤还包括:Optionally, the step of enabling the pseudowire control word processing of the time division multiplexing emulation service on the working port that is to be switched to the non-working state further includes:
若检测到切换为非工作状态的工作端口上的时分复用仿真业务伪线报文中L比特置位,则消除根据所述L比特置位设置到客户侧的告警。If it is detected that the L bit is set in the time division multiplexing emulation service pseudowire message on the working port that is switched to the inactive state, the alarm set to the client side according to the L bit setting is eliminated.
一种提高分组传送网中复用段保护组倒换效率的装置,包括:A device for improving the switching efficiency of a multiplex section protection group in a packet transmission network, comprising:
获取模块,设置为:获取复用段保护组的保护状态;Obtain the module, set to: obtain the protection status of the multiplex section protection group;
使能模块,设置为:根据获取到的复用段保护组的保护状态,将复用段保护组中处于工作状态的工作端口上的时分复用仿真业务的伪线控制字处理使能,以及The enabling module is configured to: enable, according to the obtained protection state of the multiplex section protection group, the processing of the pseudowire control word of the time division multiplexing emulation service on the working port in the multiplex section protection group, and
去使能模块,设置为:根据获取到的复用段保护组的保护状态,将复用段保护组中处于非工作状态的非工作端口上的时分复用仿真业务的伪线控制字处理去使能。The enabling module is configured to: process the pseudowire control word of the time division multiplexing emulation service on the non-working port in the non-working state in the multiplex section protection group according to the obtained protection state of the multiplex section protection group Enable.
可选地,所述装置还包括:Optionally, the device further includes:
轮询模块,设置为:在时分复用仿真业务的伪线控制字处理进行了所述使能和去使能处理后,对复用段保护组中处于工作状态的工作端口和处于非工作状态的非工作端口的当前状态进行轮询;The polling module is configured to: after the enabling and disabling processing in the pseudowire control word processing of the time division multiplexing emulation service, the working port in the working state of the multiplex section protection group is in a non-working state The current state of the non-working port is polled;
改变模块,设置为:若通过轮询,发现所述工作端口或非工作端口的当前状态发生了变化,则改变时分复用仿真业务的伪线控制字处理。The module is changed, and if the current state of the working port or the non-working port is changed by polling, the pseudowire control word processing of the time division multiplexing emulation service is changed.
可选地,所述改变模块包括:Optionally, the changing module includes:
第一切换子模块,设置为:若所述工作端口由工作状态切换成非工作状态,则将切换为非工作状态的工作端口上的时分复用仿真业务的伪线控制字处理去使能;The first switching submodule is configured to: if the working port is switched from the working state to the non-working state, the pseudowire control word processing of the time division multiplexing emulation service on the working port that is switched to the non-working state is disabled;
第二切换子模块,设置为:若所述非工作端口由非工作状态切换成工作状态,则在延时预置时间后,将切换为工作状态的非工作端口上的时分复用仿真业务的伪线控制字处理使能。The second switching submodule is configured to: if the non-working port is switched from the non-working state to the working state, after the delay preset time, the time division multiplexing emulation service on the non-working port that is switched to the working state is switched Pseudowire control word processing is enabled.
可选地,所述第一切换子模块包括:Optionally, the first switching submodule includes:
清除单元,设置为:若检测到切换为非工作状态的工作端口上的时分复 用仿真业务伪线报文中L比特置位,则消除根据所述L比特置位设置到客户侧的告警。Clear the unit, set to: if the time switch is detected on the working port that is switched to the non-working state By setting the L bit in the emulation service pseudowire message, the alarm set to the client side according to the L bit setting is eliminated.
一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行上述任一项的方法。A computer readable storage medium storing computer executable instructions for performing the method of any of the above.
与相关技术相比较,本发明实施例的有益效果在于:通过提供一种提高复用段保护的倒换效率的方法,减少业务中断的时间。Compared with the related art, the beneficial effects of the embodiments of the present invention are: reducing the time of service interruption by providing a method for improving the switching efficiency of the multiplex section protection.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
图1是本发明实施例提供的提高分组传送网络中复用段倒换效率的方法原理图;1 is a schematic diagram of a method for improving multiplex section switching efficiency in a packet transmission network according to an embodiment of the present invention;
图2是本发明实施例提供的提高分组传送网络中复用段倒换效率的装置结构图;2 is a structural diagram of an apparatus for improving multiplex section switching efficiency in a packet transmission network according to an embodiment of the present invention;
图3是本发明实施例提供的提高分组传送网络中复用段倒换效率的每个处理单元及其交互关系示意图;3 is a schematic diagram of each processing unit and its interaction relationship for improving multiplex section switching efficiency in a packet transmission network according to an embodiment of the present invention;
图4是本发明实施例提供的提高分组传送网络中复用段倒换效率的控制流程图;4 is a control flow chart of improving multiplex section switching efficiency in a packet transmission network according to an embodiment of the present invention;
图5是本发明实施例提供的提高分组传送网络中复用段倒换效率的操作流程图。FIG. 5 is a flowchart of an operation for improving multiplex section switching efficiency in a packet transmission network according to an embodiment of the present invention.
本发明的实施方式Embodiments of the invention
以下结合附图对本发明的实施例进行详细说明。Embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
图1是本发明实施例提供的提高分组传送网络中复用段倒换效率的方法原理图,如图1所示,步骤如下:FIG. 1 is a schematic diagram of a method for improving multiplex section switching efficiency in a packet transmission network according to an embodiment of the present invention. As shown in FIG. 1 , the steps are as follows:
步骤S101:获取复用段保护组的保护状态。Step S101: Acquire a protection state of the multiplex section protection group.
步骤S102:根据获取到的复用段保护组的保护状态,将复用段保护组中 处于工作状态的工作端口上的时分复用仿真业务的伪线控制字处理使能。Step S102: According to the protection state of the obtained multiplex section protection group, the multiplex section protection group is The pseudowire control word processing of the time division multiplexing emulation service on the working port is enabled.
步骤S103:根据获取到的复用段保护组的保护状态,将复用段保护组中处于非工作状态的非工作端口上的时分复用仿真业务的伪线控制字处理去使能。Step S103: According to the obtained protection state of the multiplex section protection group, the pseudowire control word of the time division multiplexing emulation service on the non-working port in the non-working state in the multiplex section protection group is processed and disabled.
其中,步骤S102和步骤S103的执行顺序可以交换,也可以同步执行。The execution order of step S102 and step S103 may be exchanged or may be performed synchronously.
本实施例方法还可包括:The method of this embodiment may further include:
步骤S104:在时分复用仿真业务的伪线控制字处理进行了所述使能和去使能处理后,对复用段保护组中处于工作状态的工作端口和处于非工作状态的非工作端口的当前状态进行轮询。Step S104: After the enabling and de-enabling processing is performed on the pseudowire control word processing of the time division multiplexing emulation service, the working port in the working state of the multiplex section protection group and the non-working port in the non-working state The current state is polled.
在步骤S104中,所述的对复用段保护组中处于工作状态的工作端口和处于非工作状态的非工作端口的当前状态进行轮询的步骤包括:In step S104, the step of polling the current state of the working port in the multiplex section protection group and the non-working port in the non-working state includes:
预置一个定时器,并根据配置的定时周期对复用段保护组中处于工作状态的工作端口和处于非工作状态的非工作端口的当前状态进行轮询。A timer is preset, and the current state of the working port in the multiplex section protection group and the non-working port in the non-working state is polled according to the configured timing period.
步骤S105:若通过轮询,发现所述工作端口或非工作端口的当前状态发生了变化,则改变时分复用仿真业务的伪线控制字处理。Step S105: If it is found through polling that the current state of the working port or the non-working port has changed, the pseudowire control word processing of the time division multiplexing emulation service is changed.
在步骤S105中,还包括:若通过轮询,发现所述工作端口或非工作端口的当前状态不变,则保持时分复用仿真业务的伪线控制字处理。In step S105, the method further includes: if the current state of the working port or the non-working port is found to be unchanged by polling, maintaining pseudowire control word processing of the time division multiplexing emulation service.
所述的若通过轮询,发现所述工作端口或非工作端口的当前状态发生了变化,则改变时分复用仿真业务的伪线控制字处理的步骤包括:If the current state of the working port or the non-working port is changed by polling, the steps of changing the pseudowire control word processing of the time division multiplexing emulation service include:
若所述工作端口由工作状态切换成非工作状态,则将切换为非工作状态的工作端口上的时分复用仿真业务的伪线控制字处理去使能;If the working port is switched from the working state to the non-working state, the pseudowire control word processing of the time division multiplexing emulation service on the working port that is switched to the non-working state is disabled;
若所述非工作端口由非工作状态切换成工作状态,则在延时预置时间后,将切换为工作状态的非工作端口上的时分复用仿真业务的伪线控制字处理使能。If the non-working port is switched from the non-working state to the working state, after the delay preset time, the pseudowire control word processing of the time division multiplexing emulation service on the non-working port that is switched to the working state is enabled.
所述的将切换为非工作状态的工作端口上的时分复用仿真业务的伪线控制字处理去使能的步骤还包括:The step of enabling the pseudowire control word processing of the time division multiplexing emulation service on the working port to be switched to the non-working state further includes:
若检测到切换为非工作状态的工作端口上的时分复用仿真业务伪线报文 中L比特置位,则消除根据所述L比特置位设置到客户侧的告警。If the time division multiplexing emulation service pseudowire packet on the working port that is switched to the non-working state is detected When the middle L bit is set, the alarm set to the client side according to the L bit setting is eliminated.
图2是本发明实施例提供的提高分组传送网络中复用段倒换效率的装置结构图,如图2所示,包括:获取模块20、使能模块21、去使能模块22、轮询模块23和改变模块24。2 is a structural diagram of an apparatus for improving multiplex section switching efficiency in a packet transmission network according to an embodiment of the present invention. As shown in FIG. 2, the method includes: an obtaining module 20, an enabling module 21, a de-enable module 22, and a polling module. 23 and change module 24.
所述获取模块20设置为:获取复用段保护组的保护状态。The obtaining module 20 is configured to: acquire a protection state of the multiplex section protection group.
所述使能模块21设置为:根据获取到的复用段保护组的保护状态,将复用段保护组中处于工作状态的工作端口上的时分复用仿真业务的伪线控制字处理使能。The enabling module 21 is configured to: enable, according to the obtained protection state of the multiplex section protection group, the pseudowire control word processing of the time division multiplexing emulation service on the working port in the working state of the multiplex section protection group .
所述去使能模块22设置为:根据获取到的复用段保护组的保护状态,将复用段保护组中处于非工作状态的非工作端口上的时分复用仿真业务的伪线控制字处理去使能。The de-enable module 22 is configured to: according to the obtained protection state of the multiplex section protection group, the pseudowire control word of the time division multiplexing emulation service on the non-working port in the non-working state in the multiplex section protection group Processing to enable.
所述轮询模块23设置为:在时分复用仿真业务的伪线控制字处理进行了所述使能和去使能处理后,对复用段保护组中处于工作状态的工作端口和处于非工作状态的非工作端口的当前状态进行轮询。The polling module 23 is configured to: after the enabling and de-enabling processing of the pseudowire control word processing of the time division multiplexing emulation service, the working port in the working state of the multiplex section protection group is in the non-operational state The current state of the non-working port of the working state is polled.
所述改变模块24设置为:若通过轮询,发现所述工作端口或非工作端口的当前状态发生了变化,则改变时分复用仿真业务的伪线控制字处理。其中,所述改变模块的第一切换子模块设置为:若所述工作端口由工作状态切换成非工作状态,则将切换为非工作状态的工作端口上的时分复用仿真业务的伪线控制字处理去使能。所述改变模块的第二切换子模块设置为:若所述非工作端口由非工作状态切换成工作状态,则在延时预置时间后,将切换为工作状态的非工作端口上的时分复用仿真业务的伪线控制字处理使能。所述第一切换子模块的清除单元设置为:若检测到切换为非工作状态的工作端口上的时分复用仿真业务伪线报文中L比特置位,则消除根据所述L比特置位设置到客户侧的告警。The change module 24 is configured to: if the current state of the working port or the non-working port is changed by polling, change the pseudowire control word processing of the time division multiplexing emulation service. The first switching submodule of the changing module is configured to: if the working port is switched from the working state to the non-working state, the pseudowire control of the time division multiplexing emulation service on the working port that is switched to the non-working state Word processing to enable. The second switching submodule of the changing module is configured to: if the non-working port is switched from the non-working state to the working state, after the delay preset time, the time division of the non-working port that is switched to the working state is repeated Use the pseudowire control word processing enable of the emulation service. The clearing unit of the first switching submodule is configured to: if the L bit is set in the time division multiplexing emulation service pseudowire message on the working port that is switched to the inactive state, the bit is set according to the L bit Set the alarm to the client side.
图3是本发明实施例提供的提高分组传送网络中复用段倒换效率的每个处理单元及其交互关系示意图,如图3所示,包括:仿真业务处理单元33、控制字处理单元32、复用段保护控制单元30和控制字处理使能控制单元31。 3 is a schematic diagram of each processing unit and its interaction relationship for improving the multiplexing segment switching efficiency in a packet transmission network according to an embodiment of the present invention. As shown in FIG. 3, the simulation service processing unit 33 and the control word processing unit 32 are provided. The multiplex section protection control unit 30 and the control word processing enable control unit 31.
仿真业务处理单元33设置为:负责TDM仿真业务伪线报文的封装与解封装。The emulation service processing unit 33 is configured to: encapsulate and decapsulate the TDM emulation service pseudowire packet.
控制字处理单元32设置为:负责TDM仿真业务伪线控制字处理,并控制伪线控制字处理的开启和关闭,可以由软件或者硬件实现。其实现功能包括:The control word processing unit 32 is configured to: be responsible for the TDM emulation service pseudowire control word processing, and control the opening and closing of the pseudowire control word processing, which can be implemented by software or hardware. Its implementation features include:
(1)客户侧检测到信号失效后设置L比特置位,检测到客户信号恢复后取消L比特置位。(1) After the client side detects the signal failure, the L bit is set, and the L bit is set to be canceled after detecting the recovery of the client signal.
(2)在网络侧检测到收到的伪线报文L比特置位,认为远端的客户信号失效,需要向本端的客户侧下插告警。(2) When the L-bit of the received pseudo-line packet is detected on the network side, it is considered that the remote client signal is invalid, and the alarm needs to be inserted into the client side of the local end.
(3)网络侧的数据发生中断时需要向TDM仿真业务的客户侧下插告警。(3) When the data on the network side is interrupted, an alarm needs to be inserted into the client side of the TDM emulation service.
复用段保护控制单元30设置为:负责维护复用段保护组的保护状态,执行保护动作。The multiplex section protection control unit 30 is configured to: maintain the protection state of the multiplex section protection group, and perform a protection action.
控制字处理使能控制单元31设置为:控制每条TDM仿真业务的控制字处理使能状态,即决策每条TDM仿真业务是否开启控制字处理功能。The control word processing enable control unit 31 is configured to control the control word processing enable state of each TDM emulation service, that is, whether to control the control word processing function for each TDM emulation service.
其实现方法为:控制字处理使能控制单元31获取当前的复用段保护组状态,根据当前的复用段保护组状态决策哪条TDM仿真业务的控制字处理应该使能,并将相应TDM仿真业务的使能状态配置到控制字处理单元32中,最终仿真业务处理单元33封装出最终的业务伪线报文或者按照规则处理接收到的业务伪线报文。The implementation method is: the control word processing enable control unit 31 acquires the current multiplex section protection group status, determines which TDM emulation service control word processing should be enabled according to the current multiplex section protection group status, and corresponding TDM The enabled state of the emulation service is configured into the control word processing unit 32, and finally the emulation service processing unit 33 encapsulates the final service pseudowire message or processes the received service pseudowire message according to the rule.
图4是本发明实施例提供的提高分组传送网络中复用段倒换效率的控制流程图,如图4所示,步骤如下:FIG. 4 is a flow chart of controlling the multiplex section switching efficiency in a packet transmission network according to an embodiment of the present invention. As shown in FIG. 4, the steps are as follows:
步骤S401:配置复用段保护(MSP:Multiplex Section Protection)。Step S401: Configure multiplex section protection (MSP: Multiplex Section Protection).
步骤S402:设置非工作端口控制字处理去使能。Step S402: Set the non-working port control word processing to be enabled.
本步骤中,根据复用段保护组当前的主备状态,将处于非工作状态端口的控制字处理去使能。In this step, the control word in the non-working port is processed and disabled according to the current active/standby state of the multiplex section protection group.
步骤S403:设置工作端口控制字处理使能。 Step S403: Set the working port control word processing to be enabled.
本步骤中,根据复用段保护组当前的主备状态,将处于工作状态的端口上的业务控制字处理使能。In this step, the service control word processing on the working port is enabled according to the current active/standby state of the multiplex section protection group.
步骤S404:完成。Step S404: Complete.
其中,步骤S402和步骤S403为同步进行。Step S402 and step S403 are performed synchronously.
图5是本发明实施例提供的提高分组传送网络中复用段倒换效率的操作流程图,如图5所示,PTN终端在定时器轮询时配置复用段保护组状态的操作如下:FIG. 5 is a flowchart of an operation for improving multiplex section switching efficiency in a packet transmission network according to an embodiment of the present invention. As shown in FIG. 5, the PTN terminal configures a multiplex section protection group state during timer polling as follows:
步骤S501:定时消息到。采用一个定时器实现,定时周期可以配置,典型的配置是100ms,可以由硬件或者软件实现。Step S501: The timing message arrives. It is implemented by a timer, the timing period can be configured, and the typical configuration is 100ms, which can be implemented by hardware or software.
步骤S502:查询复用段保护组状态。即,定时器轮询复用段保护组的保护状态。Step S502: Query the status of the multiplex section protection group. That is, the timer polls the protection status of the multiplex section protection group.
步骤S503:判断当前的状态变化。在定时器超时之后,检测到复用段保护组的状态发生变化,进入步骤S504,没有发生任何变化,不进行处理,进入步骤S506。Step S503: determining the current state change. After the timer expires, it is detected that the state of the multiplex section protection group has changed, and the process proceeds to step S504, and no change occurs, and no processing is performed, and the process proceeds to step S506.
步骤S504:设置非工作端口控制字处理去使能,清除告警。工作端口切换成非工作端口,进行去使能控制字处理,并且清除根据控制字的值设置到客户侧的告警。Step S504: Set the non-working port control word processing to be enabled, and clear the alarm. The working port is switched to the non-working port, the control word processing is disabled, and the alarm set to the client side according to the value of the control word is cleared.
步骤S505:延时预设时间,设置工作端口控制字处理使能。非工作端口切换成工作端口,延时一段时间,例如,这个时间可以是2~3秒,使能控制字处理。Step S505: delay the preset time, and set the working port control word processing to be enabled. The non-working port is switched to the working port for a period of time. For example, this time can be 2 to 3 seconds to enable control word processing.
步骤S506:完成。Step S506: Complete.
目前已经在大型PTN设备上应用提高分组传送网络中复用段倒换效率的装置,控制字处理单元由软件实现,从而实现E1的电路仿真业务。其中,用于实现控制字处理单元的单板由于客户侧的告警检测和伪线封装分别在不同的芯片中实现,因此由软件来实现控制字处理使能,从而有效减少E1仿真业务的复用段保护倒换时间。其功能表现为:At present, a device for improving the multiplexing efficiency of the multiplex section in the packet transmission network has been applied to the large PTN device, and the control word processing unit is implemented by software, thereby realizing the circuit simulation service of the E1. The board for implementing the control word processing unit is implemented in different chips by the client side alarm detection and the pseudo line package, so that the control word processing is enabled by the software, thereby effectively reducing the multiplexing of the E1 simulation service. Segment protection switching time. Its function is as follows:
(1)客户侧检测到告警指示信号(AIS:Alarm Indication Signal)产生后设置L比特置位,检测到AIS消失后取消L比特置位。 (1) After the client side detects the alarm indication signal (AIS: Alarm Indication Signal), the L bit is set, and the L bit is set after the AIS disappears.
(2)如果E1成帧格式,在网络侧收到的伪线报文检测到L比特置位时,向客户侧***E1-AIS。(2) If the E1 framing format, when the pseudowire message received on the network side detects that the L bit is set, the E1-AIS is inserted into the client side.
其实现步骤表现为:The implementation steps are as follows:
(1)配置单板上的复用段保护组,软件根据保护组的状态对工作状态端口上的所有E1仿真业务进行控制字处理,对非工作状态的端口上的所有E1仿真业务不进行控制字处理。(1) Configure the multiplex section protection group on the board. The software performs control word processing on all E1 emulation services on the working status port according to the status of the protection group, and does not control all E1 emulation services on the non-working port. word processing.
(2)启动一个周期为100ms的绝对定时器。(2) Start an absolute timer with a period of 100ms.
(3)定时器超时之后查询复用段保护组的状态,没有变化不做处理。(3) After the timer expires, the status of the multiplex section protection group is queried, and no change is made.
(4)检测到复用段保护组状态变化之后执行如下操作:(4) After detecting the state change of the multiplex section protection group, perform the following operations:
对于非工作端口切换成工作端口,延时3秒之后软件开始对工作端口上的所有业务进行控制字处理;After the non-working port is switched to the working port, after 3 seconds delay, the software starts to control word processing for all services on the working port;
对于工作端口切换成非工作端口,软件马上清除非工作端口上所有业务由于收到控制字异常的保护下插的告警,并立刻停止处理控制字。When the working port is switched to the non-working port, the software immediately clears the alarm of the protection of all the services on the non-working port due to the abnormality of the control word, and immediately stops processing the control word.
目前已经在大型PTN设备上应用提高分组传送网络中复用段倒换效率的装置,其中,控制字处理单元由硬件实现,业务类型是标准虚容器VC4的包交换网络中的电路仿真(CEP:Circuit Emulation over Packet)业务。用于实现控制字处理单元的单板的客户侧告警检测以及伪线报文的封装都是在一个芯片中完成的,因此硬件可以完成所有控制字的操作,相较于软件提供了使能控制接口,从而有效减少CEP仿真业务的复用段倒换时间。其功能表现为:At present, a device for improving the multiplex section switching efficiency in a packet transmission network has been applied to a large PTN device, wherein the control word processing unit is implemented by hardware, and the service type is circuit simulation in a packet switching network of a standard virtual container VC4 (CEP: Circuit) Emulation over Packet) business. The client side alarm detection and the pseudowire message encapsulation of the board for implementing the control word processing unit are all completed in one chip, so the hardware can complete all control word operations, and the enabling control is provided compared with the software. Interface, which effectively reduces the multiplex section switching time of the CEP emulation service. Its function is as follows:
(1)客户侧检测到MS-AIS产生后设置L比特置位,检测到MS-AIS消失后取消L比特置位。(1) The client side detects that the L-bit is set after the MS-AIS is generated, and cancels the L-bit setting after detecting that the MS-AIS disappears.
(2)网络侧接收的伪线报文检测到L比特置位时,向客户侧***MS-AIS。(2) When the pseudowire message received by the network side detects that the L bit is set, the MS-AIS is inserted into the client side.
其实现步骤表现为:The implementation steps are as follows:
(1)配置单板上的复用段保护组,软件根据保护组的状态,设置工作状态端口上的所有CEP仿真业务控制字处理使能,设置非工作状态端口上的所有CEP仿真业务控制字处理不使能。 (1) Configure the multiplex section protection group on the board. The software sets all CEP emulation service control word processing enable on the working status port according to the status of the protection group, and sets all CEP emulation service control words on the non-working status port. Processing is not enabled.
(2)启动一个周期为100ms的绝对定时器。(2) Start an absolute timer with a period of 100ms.
(3)定时器超时之后查询复用段保护组的状态,没有变化不做处理(3) Query the status of the multiplex section protection group after the timer expires, no change is not processed.
(4)检测到复用段保护组状态变化之后执行如下的操作:(4) After detecting the state change of the multiplex section protection group, perform the following operations:
对于非工作端口切换成工作端口,延时3秒之后软件设置工作端口上所有业务的控制字处理使能;For the non-working port to be switched to the working port, after 3 seconds delay, the software sets the control word processing of all services on the working port to be enabled;
对于工作端口切换成非工作端口,软件通知硬件清除由于收到控制字异常的保护下插的告警,并设置非工作端口下所有业务的控制字处理去使能。When the working port is switched to the non-working port, the software notifies the hardware to clear the alarm that is inserted due to the abnormality of the received control word, and sets the control word processing of all services under the non-working port to be enabled.
综上所述,本发明实施例具有以下技术效果:通过提供一种提高复用段保护的倒换效率的方法,使得在倒换过程工作端口变成非工作端口的过程中,不需要处理一些没有必要的控制字操作,能够有效减少复用段保护倒换TDM业务中断的时间。此外,在正常运行的情况下只需要处于工作状态的业务处理控制字的相关操作,相较于以前减少了一半操作,对于软件处理控制字的环境,业务配置量较大时可以减轻软件负担。In summary, the embodiment of the present invention has the following technical effects: by providing a method for improving the switching efficiency of the multiplex section protection, in the process of changing the working port of the switching process into a non-working port, it is unnecessary to process some unnecessary The control word operation can effectively reduce the time for the multiplex section protection switching TDM service interruption. In addition, in the case of normal operation, only the related operations of the service processing control word in the working state are required, which is reduced by half compared with the previous operation. For the environment in which the software processes the control word, the software load can be reduced when the service configuration amount is large.
本领域普通技术人员可以理解上述实施例的全部或部分步骤可以使用计算机程序流程来实现,所述计算机程序可以存储于一计算机可读存储介质中,所述计算机程序在相应的硬件平台上(如***、设备、装置、器件等)执行,在执行时,包括方法实施例的步骤之一或其组合。One of ordinary skill in the art will appreciate that all or a portion of the steps of the above-described embodiments can be implemented using a computer program flow, which can be stored in a computer readable storage medium, such as on a corresponding hardware platform (eg, The system, device, device, device, etc. are executed, and when executed, include one or a combination of the steps of the method embodiments.
可选地,上述实施例的全部或部分步骤也可以使用集成电路来实现,这些步骤可以被分别制作成一个个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。Alternatively, all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve.
上述实施例中的装置/功能模块/功能单元可以采用通用的计算装置来实现,它们可以集中在单个的计算装置上,也可以分布在多个计算装置所组成的网络上。The devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
上述实施例中的装置/功能模块/功能单元以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。上述提到的计算机可读取存储介质可以是只读存储器,磁盘或光盘等。 When the device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium. The above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
工业实用性Industrial applicability
通过本发明实施例,使得在倒换过程工作端口变成非工作端口的过程中,不需要处理一些没有必要的控制字操作,能够有效减少复用段保护倒换TDM业务中断的时间。此外,在正常运行的情况下只需要处于工作状态的业务处理控制字的相关操作,相较于以前减少了一半操作,对于软件处理控制字的环境,业务配置量较大时可以减轻软件负担。 In the embodiment of the present invention, in the process of changing the working port of the switching process into a non-working port, it is not necessary to process some unnecessary control word operations, which can effectively reduce the time for the multiplex section protection switching TDM service interruption. In addition, in the case of normal operation, only the related operations of the service processing control word in the working state are required, which is reduced by half compared with the previous operation. For the environment in which the software processes the control word, the software load can be reduced when the service configuration amount is large.

Claims (11)

  1. 一种提高分组传送网中复用段保护组倒换效率的方法,包括:A method for improving switching efficiency of a multiplex section protection group in a packet transmission network, comprising:
    获取复用段保护组的保护状态;Obtain the protection status of the multiplex section protection group;
    根据获取到的复用段保护组的保护状态,将复用段保护组中处于工作状态的工作端口上的时分复用仿真业务的伪线控制字处理使能,以及According to the obtained protection state of the multiplex section protection group, the pseudowire control word processing of the time division multiplexing emulation service on the working port in the multiplex section protection group is enabled, and
    根据获取到的复用段保护组的保护状态,将复用段保护组中处于非工作状态的非工作端口上的时分复用仿真业务的伪线控制字处理去使能。According to the obtained protection state of the multiplex section protection group, the pseudowire control word of the time division multiplexing emulation service on the non-working port in the non-working state in the multiplex section protection group is processed and disabled.
  2. 根据权利要求1所述的方法,还包括:The method of claim 1 further comprising:
    在时分复用仿真业务的伪线控制字处理进行了所述使能和去使能处理后,对复用段保护组中处于工作状态的工作端口和处于非工作状态的非工作端口的当前状态进行轮询;The pseudowire control word processing of the time division multiplexing emulation service performs the enabling and deactivating processing, and the current state of the working port in the multiplex section protection group and the non-working port in the non-working state Polling;
    若通过轮询,发现所述工作端口或非工作端口的当前状态发生了变化,则改变时分复用仿真业务的伪线控制字处理。If the current state of the working port or the non-working port is changed by polling, the pseudowire control word processing of the time division multiplexing emulation service is changed.
  3. 根据权利要求2所述的方法,还包括:若通过轮询,发现所述工作端口或非工作端口的当前状态不变,则保持时分复用仿真业务的伪线控制字处理。The method of claim 2, further comprising: maintaining the pseudowire control word processing of the time division multiplexed emulation service if the current state of the working port or the non-working port is found to be unchanged by polling.
  4. 根据权利要求2所述的方法,其中,所述的对复用段保护组中处于工作状态的工作端口和处于非工作状态的非工作端口的当前状态进行轮询的步骤包括:The method of claim 2, wherein the step of polling the current state of the working port in the multiplex section protection group and the non-working port in the non-working state comprises:
    预置一个定时器,并根据配置的定时周期对复用段保护组中处于工作状态的工作端口和处于非工作状态的非工作端口的当前状态进行轮询。A timer is preset, and the current state of the working port in the multiplex section protection group and the non-working port in the non-working state is polled according to the configured timing period.
  5. 根据权利要求2所述的方法,其中,所述的若通过轮询,发现所述工作端口或非工作端口的当前状态发生了变化,则改变时分复用仿真业务的伪线控制字处理的步骤包括:The method according to claim 2, wherein if the current state of the working port or the non-working port is changed by polling, the step of changing the pseudowire control word processing of the time division multiplexing emulation service is performed. include:
    若所述工作端口由工作状态切换成非工作状态,则将切换为非工作状态的工作端口上的时分复用仿真业务的伪线控制字处理去使能;If the working port is switched from the working state to the non-working state, the pseudowire control word processing of the time division multiplexing emulation service on the working port that is switched to the non-working state is disabled;
    若所述非工作端口由非工作状态切换成工作状态,则在延时预置时间 后,将切换为工作状态的非工作端口上的时分复用仿真业务的伪线控制字处理使能。If the non-working port is switched from the non-working state to the working state, the delay time is preset. After that, the pseudowire control word processing of the time division multiplexing emulation service on the non-working port that is switched to the active state is enabled.
  6. 根据权利要求5所述的方法,其中,所述的将切换为非工作状态的工作端口上的时分复用仿真业务的伪线控制字处理去使能的步骤还包括:The method according to claim 5, wherein the step of enabling the pseudowire control word processing of the time division multiplexing emulation service on the working port to be switched to the non-working state further comprises:
    若检测到切换为非工作状态的工作端口上的时分复用仿真业务伪线报文中L比特置位,则消除根据所述L比特置位设置到客户侧的告警。If it is detected that the L bit is set in the time division multiplexing emulation service pseudowire message on the working port that is switched to the inactive state, the alarm set to the client side according to the L bit setting is eliminated.
  7. 一种提高分组传送网中复用段保护组倒换效率的装置,包括:A device for improving the switching efficiency of a multiplex section protection group in a packet transmission network, comprising:
    获取模块,设置为:获取复用段保护组的保护状态;Obtain the module, set to: obtain the protection status of the multiplex section protection group;
    使能模块,设置为:根据获取到的复用段保护组的保护状态,将复用段保护组中处于工作状态的工作端口上的时分复用仿真业务的伪线控制字处理使能,以及The enabling module is configured to: enable, according to the obtained protection state of the multiplex section protection group, the processing of the pseudowire control word of the time division multiplexing emulation service on the working port in the multiplex section protection group, and
    去使能模块,设置为:根据获取到的复用段保护组的保护状态,将复用段保护组中处于非工作状态的非工作端口上的时分复用仿真业务的伪线控制字处理去使能。The enabling module is configured to: process the pseudowire control word of the time division multiplexing emulation service on the non-working port in the non-working state in the multiplex section protection group according to the obtained protection state of the multiplex section protection group Enable.
  8. 根据权利要求7所述的装置,还包括:The apparatus of claim 7 further comprising:
    轮询模块,设置为:在时分复用仿真业务的伪线控制字处理进行了所述使能和去使能处理后,对复用段保护组中处于工作状态的工作端口和处于非工作状态的非工作端口的当前状态进行轮询;The polling module is configured to: after the enabling and disabling processing in the pseudowire control word processing of the time division multiplexing emulation service, the working port in the working state of the multiplex section protection group is in a non-working state The current state of the non-working port is polled;
    改变模块,设置为:若通过轮询,发现所述工作端口或非工作端口的当前状态发生了变化,则改变时分复用仿真业务的伪线控制字处理。The module is changed, and if the current state of the working port or the non-working port is changed by polling, the pseudowire control word processing of the time division multiplexing emulation service is changed.
  9. 根据权利要求8所述的装置,其中,所述改变模块包括:The apparatus of claim 8 wherein said changing module comprises:
    第一切换子模块,设置为:若所述工作端口由工作状态切换成非工作状态,则将切换为非工作状态的工作端口上的时分复用仿真业务的伪线控制字处理去使能;The first switching submodule is configured to: if the working port is switched from the working state to the non-working state, the pseudowire control word processing of the time division multiplexing emulation service on the working port that is switched to the non-working state is disabled;
    第二切换子模块,设置为:若所述非工作端口由非工作状态切换成工作状态,则在延时预置时间后,将切换为工作状态的非工作端口上的时分复用仿真业务的伪线控制字处理使能。 The second switching submodule is configured to: if the non-working port is switched from the non-working state to the working state, after the delay preset time, the time division multiplexing emulation service on the non-working port that is switched to the working state is switched Pseudowire control word processing is enabled.
  10. 根据权利要求8所述的装置,其中,所述第一切换子模块包括:The apparatus of claim 8, wherein the first switching submodule comprises:
    清除单元,设置为:若检测到切换为非工作状态的工作端口上的时分复用仿真业务伪线报文中L比特置位,则消除根据所述L比特置位设置到客户侧的告警。The clearing unit is configured to: if the L bit is set in the time division multiplexing emulation service pseudowire message on the working port that is switched to the inactive state, the alarm set to the client side according to the L bit setting is eliminated.
  11. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1-6任一项的方法。 A computer readable storage medium storing computer executable instructions for performing the method of any of claims 1-6.
PCT/CN2015/090173 2015-03-18 2015-09-21 Method and apparatus for improving rearranging efficiency of multiplexing segments in packet transport network WO2016145812A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510119981.6 2015-03-18
CN201510119981.6A CN106034043B (en) 2015-03-18 2015-03-18 Method and device for improving multiplex section switching frequency in packet transport network

Publications (1)

Publication Number Publication Date
WO2016145812A1 true WO2016145812A1 (en) 2016-09-22

Family

ID=56920380

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/090173 WO2016145812A1 (en) 2015-03-18 2015-09-21 Method and apparatus for improving rearranging efficiency of multiplexing segments in packet transport network

Country Status (2)

Country Link
CN (1) CN106034043B (en)
WO (1) WO2016145812A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108418649B (en) * 2018-02-13 2019-10-11 中国联合网络通信集团有限公司 A kind of method and apparatus calculating service delay

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101854255A (en) * 2010-05-14 2010-10-06 中兴通讯股份有限公司 Method and system for protecting multiplex section in packet transport network
CN101895338A (en) * 2010-07-19 2010-11-24 中兴通讯股份有限公司 Method, device and system for recovering service in multiplex section switching
CN102571384A (en) * 2010-12-16 2012-07-11 中兴通讯股份有限公司 Switching method, system and packet transmission network device for multiplex section protection

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101132371B (en) * 2007-08-11 2012-07-11 中兴通讯股份有限公司 Pseudo-wire business protection method
CN101944951B (en) * 2010-08-30 2016-01-20 中兴通讯股份有限公司 The method of switching back links between networks and device
CN102833088B (en) * 2011-06-17 2018-03-23 中兴通讯股份有限公司 A kind of interruption processing method and device
CN103052106B (en) * 2012-12-20 2016-03-09 华为技术有限公司 The linear multiplex section protection method of striding equipment, gateway and controller
CN104270264B (en) * 2014-09-22 2017-12-29 烽火通信科技股份有限公司 The protection system and method for the access link of STM 1 in PTN device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101854255A (en) * 2010-05-14 2010-10-06 中兴通讯股份有限公司 Method and system for protecting multiplex section in packet transport network
CN101895338A (en) * 2010-07-19 2010-11-24 中兴通讯股份有限公司 Method, device and system for recovering service in multiplex section switching
CN102571384A (en) * 2010-12-16 2012-07-11 中兴通讯股份有限公司 Switching method, system and packet transmission network device for multiplex section protection

Also Published As

Publication number Publication date
CN106034043A (en) 2016-10-19
CN106034043B (en) 2020-01-07

Similar Documents

Publication Publication Date Title
US8914662B2 (en) Implementing transparent clock by correcting time information carried in data using residence time information
EP2144400A1 (en) Distributed ethernet system and method for detecting fault based thereon
EP3208971B1 (en) Method, device and system for reducing centralized protection switching time in potn system
US10063335B2 (en) Method, apparatus and system for remotely configuring PTP service of optical network unit
US20140293825A1 (en) Timestamping data packets
WO2015192518A1 (en) Error detection method, apparatus and system for potn
US20200177361A1 (en) Virtualized Synchronous Ethernet interfaces
WO2016086582A1 (en) Signal detection method and device
WO2016187979A1 (en) Transmitting method and apparatus for bidirectional forwarding detection (bfd) message
US9065748B2 (en) Symmetrical latency with TDM circuit emulated service
WO2013178097A1 (en) Announcement method, device and system
EP2466804A1 (en) Protection switching method for ethernet automatic protection switching (eaps) ring network and master node in eaps ring network
WO2015109734A1 (en) Pseudo wire protection method, device and node
US9467397B2 (en) Port mode synchronization between switches
WO2016145812A1 (en) Method and apparatus for improving rearranging efficiency of multiplexing segments in packet transport network
WO2016169214A1 (en) Tunnel protection switching method and device
JP2009225285A (en) Ethernet transmission method, ethernet transmission device, and ethernet system
KR101156097B1 (en) Master redundancy method in Ethernet powerlink
JP2009272906A (en) Message relaying apparatus
JP2017511532A (en) Method for configuring a software defined PCI Express (PCI-E) switch
JP2008131137A (en) Audio signal relay apparatus
KR20140009488A (en) Method and system for setting detection frame timeout duration of ethernet node
EP2953294A1 (en) Protection switching method, system, and node
WO2018077110A1 (en) Method for sending packets and receiving packets, and network device and packet sending system
CN104468228A (en) OAM message transmission system

Legal Events

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

Ref document number: 15885184

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15885184

Country of ref document: EP

Kind code of ref document: A1