WO2015131569A1 - Cross-network-element protection processing method, protection method, apparatus and system in passive optical network - Google Patents

Cross-network-element protection processing method, protection method, apparatus and system in passive optical network Download PDF

Info

Publication number
WO2015131569A1
WO2015131569A1 PCT/CN2014/092148 CN2014092148W WO2015131569A1 WO 2015131569 A1 WO2015131569 A1 WO 2015131569A1 CN 2014092148 W CN2014092148 W CN 2014092148W WO 2015131569 A1 WO2015131569 A1 WO 2015131569A1
Authority
WO
WIPO (PCT)
Prior art keywords
network element
port
protection
packet
network
Prior art date
Application number
PCT/CN2014/092148
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 WO2015131569A1 publication Critical patent/WO2015131569A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/74Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission for increasing reliability, e.g. using redundant or spare channels or apparatus
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/03Arrangements for fault recovery
    • H04B10/032Arrangements for fault recovery using working and protection systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/27Arrangements for networking

Definitions

  • the present invention relates to the field of communications, and in particular to a protection processing and protection method, device, and system for a passive optical network across network elements.
  • Passive Optical Network is a pure media network that avoids electromagnetic interference and lightning impact of external devices, reduces the failure rate of lines and external devices, improves system reliability, and saves maintenance costs. It is a technology that the telecom maintenance department has long expected.
  • PON protection includes protection between different ports on the same network element and protection between different ports of different network elements in the system.
  • the two NEs in the protection group cannot communicate with each other.
  • the working port and the protection port cannot know the status of the other party.
  • the switch can be switched between the ports in the interleaving mode. Therefore, the fast switching cannot be guaranteed.
  • the service configuration data between the two NEs needs to be manually configured by the operator separately on the two NEs.
  • the configuration data is large, the operation is cumbersome and error-prone.
  • the invention provides a protection processing and protection method, device and system for a cross-network element of a passive optical network, so as to at least solve the technical problems of low switching efficiency and cumbersome operation of the working port and the protection port in the related art.
  • a method for protecting a passive optical network across network elements including: obtaining, by the first network element where the working port is located, an IP address of a second network element where the protection port is located, where the a network element and the second network element are located in the same protection group in the passive optical network; the first network element sends an IP packet to the second network element according to the IP address, where the IP The packet carries service configuration data or a switching instruction for triggering port switching.
  • the first network element where the working port is located obtains the IP address of the second network element where the protection port is located, and the first network element obtains the IP address from the local pre-configuration information.
  • the method includes: the first network element establishing an IP channel between the first network element and the second network element; The first network element periodically sends a heartbeat packet to the second network element by using the IP channel, where the heartbeat packet is an IP packet.
  • the IP packet carries the following information: an IP address of the source network element, information of the protection group where the destination network element is located, and an identifier used to distinguish the service configuration data or the switching instruction.
  • the method includes: the first network element detects that the link where the working port is located is faulty, or the first network The element detects that the service configuration data has changed.
  • a method for protecting a passive optical network across network elements including: the second network element where the protection port is located receives the IP packet from the first network element where the working port is located, where The first network element and the second network element are located in the same protection group in the passive optical network, where the IP packet carries service configuration data or a switching instruction for triggering port switching; The second network element configures the protection port according to the service configuration data, or sets the protection port as a working port under the trigger of the switching instruction.
  • the method further includes at least one of the following: when the local service configuration data of the second network element changes, the second network element sends the changed local service configuration data to the first network element; The second network element sends a heartbeat packet to the first network element, where the heartbeat packet is an IP packet.
  • the IP packet carries the following information: an IP address of the source network element, information of the protection group where the destination network element is located, and an identifier used to distinguish the service configuration data or the switching instruction.
  • a protection processing device for a cross-network element of a passive optical network which is applied to a first network element where a working port is located, and the device includes: an acquiring module, configured to acquire a protection port. An IP address of the second network element, wherein the first network element and the second network element are located in a same protection group in the passive optical network; and the sending module is configured to go to the second network according to the IP address.
  • the element sends an IP packet, where the IP packet carries service configuration data or a switching instruction for triggering port switching.
  • the sending module is further configured to send the IP packet carrying the following information: an IP address of the source network element, information of the protection group where the destination network element is located, used to distinguish the service configuration data or the The identifier of the switching instruction.
  • a protection device for a passive optical network across network elements which is applied to a second network element where a protection port is located, and the device includes: a receiving module, configured to receive from a working port An IP packet of a network element, where the first network element and the second network element are located in a same protection group in the passive optical network, where the IP packet carries service configuration data or uses
  • the switching module is configured to trigger a port switching
  • the configuration module is configured to configure the protection port according to the service configuration data, or set the protection port as a working port triggered by the switching instruction.
  • the device further includes: a first sending module, configured to send the changed local service configuration data to the first network element when the local service configuration data of the second network element changes; and Or the second sending module is configured to send a heartbeat packet to the first network element, where the heartbeat packet is an IP packet.
  • a first sending module configured to send the changed local service configuration data to the first network element when the local service configuration data of the second network element changes
  • the second sending module is configured to send a heartbeat packet to the first network element, where the heartbeat packet is an IP packet.
  • a protection system for a cross-network element of a passive optical network including: a first network element where the working port is located and a second network element where the protection port is located, where the first network element is set Obtaining an IP address of the second network element where the protection port is located, where the first network element and the second network element are located in a same protection group in the passive optical network; and according to the IP address, the The second network element is configured to receive the IP packet, where the IP packet carries the service configuration data or the switching instruction for triggering the port switching. The second network element is configured to receive the first network element. An IP packet; and configuring the protection port according to the service configuration data, or setting the protection port as a working port under the trigger of the switching instruction.
  • the first network element where the working port is located sends a technical means for carrying the service configuration data or the switching instruction for triggering the port switching to the second network element according to the IP address of the second network element where the obtained protection port is located.
  • FIG. 1 is a flowchart of a method for protecting a cross-network element of a passive optical network according to an embodiment of the present invention
  • FIG. 2 is a structural block diagram of a protection processing apparatus for a cross-network element of a passive optical network according to an embodiment of the present invention
  • FIG. 3 is a structural block diagram of a protection processing apparatus for a cross-network element of a passive optical network according to an embodiment of the present invention
  • FIG. 4 is a flowchart of a method for protecting a passive optical network across network elements according to an embodiment of the present invention
  • FIG. 5a is a structural block diagram of a protection device for a passive optical network across network elements according to an embodiment of the present invention
  • FIG. 5b is another structural block diagram of a protection device for a passive optical network across network elements according to an embodiment of the present invention.
  • FIG. 6 is a structural diagram of a heartbeat maintenance IP packet according to a preferred embodiment of the present invention.
  • FIG. 7 is a structural diagram of a data configuration message according to a preferred embodiment of the present invention.
  • FIG. 8 is a block diagram of a protection system for a passive optical network in accordance with a preferred embodiment of the present invention.
  • FIG. 1 is a flowchart of a method for protecting a cross-network element of a passive optical network according to an embodiment of the present invention. As shown in Figure 1, the method includes:
  • Step S102 The first network element where the working port is located obtains the IP address of the second network element where the protection port is located, where the first network element and the second network element are located in the same protection group in the passive optical network.
  • Step S104 The first network element sends an IP packet to the second network element according to the foregoing IP address, where the IP packet carries service configuration data or a switching instruction for triggering port switching.
  • the first network element can send an IP packet to the second network element, and the switching instruction can be carried in the IP packet, so that the network element where the working port is located and the network element where the protection port is located are implemented.
  • the working port can know the status of the protection port and implement fast switching.
  • the service configuration data can be carried in the IP packet to avoid the cumbersome operation of the operator separately configuring the protection port and the working port.
  • the IP address can be obtained from the third-party device in real time.
  • the first network element can be configured from the local pre-configuration information. Obtain the above IP address.
  • the first network element In order to maintain the activation state of the link, in a preferred embodiment of the present invention, after the first network element where the working port is located obtains the IP address of the second network element where the protection port is located, the first network element establishes the first network element and the first network element.
  • the IP channel between the two network elements; the first network element periodically sends a heartbeat packet to the second network element through the foregoing IP channel, where the heartbeat packet is an IP packet.
  • the heartbeat packet may also carry a source IP address and protection group information (such as a PON port ID of the destination network element).
  • the IP packet sent by the first network element to the second network element may also carry the following information: the IP address of the source network element and the information of the protection group where the destination network element is located, and used to distinguish the service.
  • the configuration data or the identification of the switching instruction The IP address of the source NE can be used to check whether the received IP packet is accurate at the receiving end.
  • step S102 may be performed based on the following triggering conditions: that is, before the first network element where the working port is located obtains the IP address of the second network element where the protection port is located, the first network element detects the foregoing The link of the working port is faulty. The first network element detects that the service configuration data changes, that is, the service configuration data is updated.
  • the embodiment of the present invention further provides a protection processing device for a cross-network element of a passive optical network, where the device can be applied to a first network element where a working port is located, and the device is used to implement the foregoing method, as shown in FIG. include:
  • the obtaining module 20 is configured to obtain an IP address of the second network element where the protection port is located, where the first network element and the second network element are located in the same protection group in the passive optical network;
  • the sending module 22 is connected to the obtaining module 20 and configured to send an IP packet to the second network element according to the IP address, where the IP packet carries service configuration data or a switching instruction for triggering port switching.
  • the sending module 22 is further configured to send an IP packet carrying the following information: an IP address of the source network element, information of the protection group where the destination network element is located, and information for distinguishing the service configuration data or the The identifier of the switching instruction.
  • the acquisition module 20 is arranged to obtain the above IP address from local pre-configuration information.
  • the protection processing device for the passive optical network across the network element further includes: a detecting module 24, configured to detect that the working port detects the link where the working port is located Failure, or, it is detected that the above service configuration data is updated.
  • each of the foregoing modules may be implemented by software or hardware.
  • the foregoing modules may be implemented by: each of the foregoing modules being located in the same processor; or each of the foregoing modules being located in different processors. .
  • the embodiment of the invention further provides a method for protecting a passive optical network across network elements. As shown in FIG. 4, the method includes the following processing steps:
  • Step S402 the second network element where the protection port is located receives the IP packet from the first network element where the working port is located, where the first network element and the second network element are located in the same protection group in the passive optical network, where The IP packet carries service configuration data or a switching instruction for triggering port switching.
  • Step S404 the second network element configures the protection port according to the service configuration data, or sets the protection port as a working port under the trigger of the switching instruction.
  • the second network element sends the changed local service configuration data to the first network element; that is, the second network element can also perform service configuration.
  • the data is updated and then synchronized to the first network element described above.
  • the second network element sends a heartbeat packet to the first network element, where the heartbeat packet is an IP packet. That is, the second network element can also maintain the link in an active state.
  • the second network element where the protection port is located may also be sent to the first network element. Only the switching command is sent by the first network element to the second network element. After the switchover is successful, the first network element and the second network element can perform role exchange.
  • the IP packet provided in this embodiment may also carry the following information: an IP address of the source network element, information of the protection group where the destination network element is located, and an identifier used to distinguish the service configuration data or the switching instruction.
  • the embodiment of the present invention further provides a protection device for a cross-network element of a passive optical network, which is applied to a second network element where the protection port is located.
  • the device is used to implement the foregoing method. As shown in FIG. 5a, the device includes:
  • the receiving module 50 is configured to receive an IP packet from the first network element where the working port is located, where the first network element and the second network element are located in a same protection group in the passive optical network, where the IP packet is
  • the file carries service configuration data or a switching instruction for triggering port switching;
  • the configuration module 52 is connected to the receiving module 50, configured to configure the protection port according to the service configuration data, or set the protection port as a working port under the trigger of the switching instruction.
  • the protection device for the cross-network element of the passive optical network may further include: a first sending module 54 configured to: when the local service configuration data of the second network element changes, Sending the changed local service configuration data to the first network element; and/or, the second sending module 56 is configured to send a heartbeat packet to the first network element, where the heartbeat packet is an IP packet.
  • the second network element may also implement detection of configuration data changes, and may also acquire functions such as an IP address of the first network element.
  • functions such as an IP address of the first network element.
  • the foregoing functions may also be implemented by corresponding functional modules: for example, respectively, by detecting The module and the acquisition module are implemented, but are not limited to this.
  • the embodiment of the present invention further provides a protection system for a cross-network element of a passive optical network, including: a first network element where the working port is located and a second network element where the protection port is located, where the first network element is configured to acquire a protection port.
  • An IP address of the second network element where the first network element and the second network element are located in the same protection group in the passive optical network, and send the IP packet to the second network element according to the IP address.
  • the IP packet carries service configuration data or a switching instruction for triggering port switching.
  • the second network element is configured to receive an IP packet from the first network element, and according to the service configuration data.
  • the protection port is configured, or the protection port is set as a working port under the trigger of the above-mentioned switching instruction.
  • the main design of the preferred embodiment is that the service configuration data can be synchronized between the active and standby ports in the IP packet mode. That is, the data of the working port or the protection port is configured on one NE. The system automatically synchronizes the port to the peer NE and keeps the configuration data consistent. When the protection group is switched, the NE that the primary port is configured to notify the network element where the standby port resides in IP packets and complete the switchover of the standby NE port.
  • IPv4 packets as an example for detailed description.
  • Step 1 Configure the IP address and protection port of the peer NE on the two NEs, and specify one as the working port and the other as the protection port.
  • Step 2 The system automatically establishes an IP channel between two NEs and maintains the link heartbeat state (the network element at the sending end and the network element at the receiving end can periodically send heartbeat packets to each other);
  • the network element periodically sends an IP packet carrying the protection group information to the peer network element.
  • the network element receives the IP packet from the peer network element carrying the protection group information within a certain period of time, the network element maintains the activation state of the link.
  • the heartbeat maintenance IP packet structure is shown in Figure 6.
  • Step 3 The working port network element automatically sends the configuration data of the working port to the network element where the protection port is located through the IP channel in step 2.
  • the system automatically extracts the IP address of the peer NE and the protection group port information of the protection group, and sends the configuration data to the peer network element.
  • Step 4 The network element where the protection port is located receives the IP packet carrying the protection group information from the network element where the working port is located, and then parses the data and configures the data to the protection port.
  • the structure of the data synchronization IP packet that is, the data configuration packet
  • Step 1 When the working port detects the link interruption, the working port network element switches the working port to the standby state, and reads the IP address of the peer network element, and sends the switching command to the protection port through the IP channel in step 2.
  • Network element
  • Step 2 The network element where the protection port is located receives the IP packet from the peer NE, parses the switchover command, sets the protection port as the active state, and completes the protection switchover.
  • FIG. 8 is a block diagram of a protection system for a passive optical network in accordance with a preferred embodiment of the present invention.
  • the optical network unit (Optical Network Unit, ONU) is connected to the working port and the protection port by optical fibers.
  • the NEs where the working port resides and the protection port are connected to the IP network.
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the first network element where the working port is located is configured to send the service configuration data or trigger the port switching to the second network element according to the IP address of the second network element where the obtained protection port is located.
  • the technical means of the switching instruction solves the switching efficiency of the working port and the protection port in the related art
  • the technical problems such as low operation and cumbersome operation improve the efficiency of the switching, and at the same time, the operation steps are simplified by eliminating the manual configuration process between the two network elements.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Computing Systems (AREA)
  • Small-Scale Networks (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention provides a cross-network-element protection processing method, a protection method, an apparatus and a system in a passive optical network. The protection processing method comprises: a first network element where a working port is located obtains an IP address of a second network element where a protection port is located, the first network element and the second network element being located in a same protection group in a passive optical network; the first network element sends, according to the IP address, an IP packet to the second network element, the IP packet carrying service configuration data or a switchover instruction used for triggering a port switchover. The use of a technical scheme provided by the present invention solves technical problems of low efficiency in switching the working port and the protection port, complicated operation and the like in the related art, thereby improving switchover efficiency, and simplifying operation steps because a process of independently configuring two network elements manually is omitted.

Description

无源光网络跨网元的保护处理、保护方法及装置、系统Protection processing and protection method, device and system for passive optical network across network elements 技术领域Technical field
本发明涉及通信领域,具体而言,涉及一种无源光网络跨网元的保护处理、保护方法及装置、系统。The present invention relates to the field of communications, and in particular to a protection processing and protection method, device, and system for a passive optical network across network elements.
背景技术Background technique
无源光网络(Passive Optical Network,简称为PON)是一种纯介质网络,能够避免外部设备的电磁干扰和雷电影响,减少线路和外部设备的故障率,提高系统可靠性,同时节省了维护成本,是电信维护部门长期期待的技术。Passive Optical Network (PON) is a pure media network that avoids electromagnetic interference and lightning impact of external devices, reduces the failure rate of lines and external devices, improves system reliability, and saves maintenance costs. It is a technology that the telecom maintenance department has long expected.
在当前的无源光网络技术中,PON保护包括同一网元上不同端口之间的保护和系统中不同网元不同端口之间的保护。但是目前的跨网元保护技术中,尚存在若干缺陷和不足:In current passive optical network technologies, PON protection includes protection between different ports on the same network element and protection between different ports of different network elements in the system. However, there are still some shortcomings and deficiencies in the current cross-network element protection technology:
保护组内的两个网元由于无法相互通信,工作端口和保护端口无法知道对方的状态,只能通过交错打开和关闭端口的方式实现倒换,因此不能保证倒换的快速性;The two NEs in the protection group cannot communicate with each other. The working port and the protection port cannot know the status of the other party. The switch can be switched between the ports in the interleaving mode. Therefore, the fast switching cannot be guaranteed.
两个网元间业务配置数据需要操作人员手工分别在两个网元单独配置。当配置数据很多时操作繁琐也容易出错。The service configuration data between the two NEs needs to be manually configured by the operator separately on the two NEs. When the configuration data is large, the operation is cumbersome and error-prone.
针对相关技术中的上述问题,目前尚无有效的解决方案。In view of the above problems in the related art, there is currently no effective solution.
发明内容Summary of the invention
本发明提供了一种无源光网络跨网元的保护处理、保护方法及装置、系统,以至少解决相关技术中工作端口和保护端口倒换效率低,操作繁琐等技术问题。The invention provides a protection processing and protection method, device and system for a cross-network element of a passive optical network, so as to at least solve the technical problems of low switching efficiency and cumbersome operation of the working port and the protection port in the related art.
根据本发明的一个实施例,提供了一种无源光网络跨网元的保护处理方法,包括:工作端口所在第一网元获取保护端口所在第二网元的IP地址,其中,所述第一网元和所述第二网元位于无源光网络中的同一保护组中;所述第一网元按照所述IP地址向所述第二网元发送IP报文,其中,所述IP报文中携带有业务配置数据或用于触发进行端口倒换的倒换指令。 According to an embodiment of the present invention, a method for protecting a passive optical network across network elements is provided, including: obtaining, by the first network element where the working port is located, an IP address of a second network element where the protection port is located, where the a network element and the second network element are located in the same protection group in the passive optical network; the first network element sends an IP packet to the second network element according to the IP address, where the IP The packet carries service configuration data or a switching instruction for triggering port switching.
优选地,工作端口所在第一网元获取保护端口所在第二网元的IP地址,包括:所述第一网元从本地的预先配置信息中获取所述IP地址。Preferably, the first network element where the working port is located obtains the IP address of the second network element where the protection port is located, and the first network element obtains the IP address from the local pre-configuration information.
优选地,工作端口所在第一网元获取保护端口所在第二网元的IP地址之后,包括:所述第一网元建立所述第一网元与所述第二网元间的IP通道;所述第一网元通过所述IP通道向所述第二网元定时发送心跳包,其中,所述心跳包为IP报文。Preferably, after the first network element where the working port is located obtains the IP address of the second network element where the protection port is located, the method includes: the first network element establishing an IP channel between the first network element and the second network element; The first network element periodically sends a heartbeat packet to the second network element by using the IP channel, where the heartbeat packet is an IP packet.
优选地,所述IP报文中还携带有以下信息:源网元的IP地址、目的网元所在保护组的信息、用于区分业务配置数据或倒换指令的标识。Preferably, the IP packet carries the following information: an IP address of the source network element, information of the protection group where the destination network element is located, and an identifier used to distinguish the service configuration data or the switching instruction.
优选地,工作端口所在第一网元获取保护端口所在第二网元的IP地址之前,包括:所述第一网元检测到所述工作端口所在链路发生故障,或者,所述第一网元检测到所述业务配置数据发生改变。Preferably, before the first network element where the working port is located obtains the IP address of the second network element where the protection port is located, the method includes: the first network element detects that the link where the working port is located is faulty, or the first network The element detects that the service configuration data has changed.
根据本发明的另一个实施例,提供了一种无源光网络跨网元的保护方法,包括:保护端口所在第二网元接收来自工作端口所在第一网元的IP报文,其中,所述第一网元和所述第二网元位于无源光网络中的同一保护组中,其中,所述IP报文中携带有业务配置数据或用于触发进行端口倒换的倒换指令;所述第二网元按照所述业务配置数据对所述保护端口进行配置,或者,在所述倒换指令的触发下将所述保护端口设置为工作端口。According to another embodiment of the present invention, a method for protecting a passive optical network across network elements is provided, including: the second network element where the protection port is located receives the IP packet from the first network element where the working port is located, where The first network element and the second network element are located in the same protection group in the passive optical network, where the IP packet carries service configuration data or a switching instruction for triggering port switching; The second network element configures the protection port according to the service configuration data, or sets the protection port as a working port under the trigger of the switching instruction.
优选地,上述方法还包括以下至少之一:在所述第二网元的本地业务配置数据发生改变时,所述第二网元向所述第一网元发送改变后的本地业务配置数据;所述第二网元向所述第一网元发送心跳包,其中,所述心跳包为IP报文。Preferably, the method further includes at least one of the following: when the local service configuration data of the second network element changes, the second network element sends the changed local service configuration data to the first network element; The second network element sends a heartbeat packet to the first network element, where the heartbeat packet is an IP packet.
优选地,所述IP报文中还携带有以下信息:源网元的IP地址、目的网元所在保护组的信息、用于区分业务配置数据或倒换指令的标识。Preferably, the IP packet carries the following information: an IP address of the source network element, information of the protection group where the destination network element is located, and an identifier used to distinguish the service configuration data or the switching instruction.
根据本发明的又一个实施例,提供了一种无源光网络跨网元的保护处理装置,应用于工作端口所在第一网元,所述装置包括:获取模块,设置为获取保护端口所在第二网元的IP地址,其中,所述第一网元和所述第二网元位于无源光网络中的同一保护组中;发送模块,设置为按照所述IP地址向所述第二网元发送IP报文,其中,所述IP报文中携带有业务配置数据或用于触发进行端口倒换的倒换指令。According to still another embodiment of the present invention, a protection processing device for a cross-network element of a passive optical network is provided, which is applied to a first network element where a working port is located, and the device includes: an acquiring module, configured to acquire a protection port. An IP address of the second network element, wherein the first network element and the second network element are located in a same protection group in the passive optical network; and the sending module is configured to go to the second network according to the IP address The element sends an IP packet, where the IP packet carries service configuration data or a switching instruction for triggering port switching.
优选地,所述发送模块,还设置为发送携带有以下信息的所述IP报文:源网元的IP地址、目的网元所在保护组的信息、用于区分所述业务配置数据或所述倒换指令的标识。 Preferably, the sending module is further configured to send the IP packet carrying the following information: an IP address of the source network element, information of the protection group where the destination network element is located, used to distinguish the service configuration data or the The identifier of the switching instruction.
根据本发明的再一个实施例,提供了一种无源光网络跨网元的保护装置,应用于保护端口所在第二网元,所述装置包括:接收模块,设置为接收来自工作端口所在第一网元的IP报文,其中,所述第一网元和所述第二网元位于无源光网络中的同一保护组中,其中,所述IP报文中携带有业务配置数据或用于触发进行端口倒换的倒换指令;配置模块,设置为按照所述业务配置数据对所述保护端口进行配置,或者,在所述倒换指令的触发下将所述保护端口设置为工作端口。According to still another embodiment of the present invention, a protection device for a passive optical network across network elements is provided, which is applied to a second network element where a protection port is located, and the device includes: a receiving module, configured to receive from a working port An IP packet of a network element, where the first network element and the second network element are located in a same protection group in the passive optical network, where the IP packet carries service configuration data or uses The switching module is configured to trigger a port switching, and the configuration module is configured to configure the protection port according to the service configuration data, or set the protection port as a working port triggered by the switching instruction.
优选地,所述装置还包括:第一发送模块,设置为在所述第二网元的本地业务配置数据发生改变时,向所述第一网元发送改变后的本地业务配置数据;和/或第二发送模块,设置为向所述第一网元发送心跳包,其中,所述心跳包为IP报文。Preferably, the device further includes: a first sending module, configured to send the changed local service configuration data to the first network element when the local service configuration data of the second network element changes; and Or the second sending module is configured to send a heartbeat packet to the first network element, where the heartbeat packet is an IP packet.
根据本发明的再一个实施例,提供了一种无源光网络跨网元的保护系统,包括:工作端口所在第一网元和保护端口所在第二网元,所述第一网元,设置为获取保护端口所在第二网元的IP地址,其中,所述第一网元和所述第二网元位于无源光网络中的同一保护组中;以及按照所述IP地址向所述第二网元发送IP报文,其中,所述IP报文中携带有业务配置数据或用于触发进行端口倒换的倒换指令;所述第二网元,设置为接收来自所述第一网元的IP报文;以及按照所述业务配置数据对所述保护端口进行配置,或者,在所述倒换指令的触发下将所述保护端口设置为工作端口。According to still another embodiment of the present invention, a protection system for a cross-network element of a passive optical network is provided, including: a first network element where the working port is located and a second network element where the protection port is located, where the first network element is set Obtaining an IP address of the second network element where the protection port is located, where the first network element and the second network element are located in a same protection group in the passive optical network; and according to the IP address, the The second network element is configured to receive the IP packet, where the IP packet carries the service configuration data or the switching instruction for triggering the port switching. The second network element is configured to receive the first network element. An IP packet; and configuring the protection port according to the service configuration data, or setting the protection port as a working port under the trigger of the switching instruction.
通过本发明,采用工作端口所在第一网元按照获取的保护端口所在第二网元的IP地址向第二网元发送携带有业务配置数据或用于触发进行端口倒换的倒换指令的技术手段,解决了相关技术中工作端口和保护端口倒换效率低,操作繁琐等技术问题,进而提高了倒换的效率,同时由于省去了人工在两个网元间单独配置的过程,精简了操作步骤。According to the present invention, the first network element where the working port is located sends a technical means for carrying the service configuration data or the switching instruction for triggering the port switching to the second network element according to the IP address of the second network element where the obtained protection port is located. The technical problems of low switching efficiency and complicated operation of the working port and the protection port in the related art are solved, thereby improving the efficiency of the switching, and simplifying the operation steps by eliminating the manual configuration process between the two network elements.
附图说明DRAWINGS
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the invention, and are intended to be a part of the invention. In the drawing:
图1为根据本发明实施例的无源光网络跨网元的保护处理方法的流程图;1 is a flowchart of a method for protecting a cross-network element of a passive optical network according to an embodiment of the present invention;
图2为根据本发明实施例的无源光网络跨网元的保护处理装置的结构框图;2 is a structural block diagram of a protection processing apparatus for a cross-network element of a passive optical network according to an embodiment of the present invention;
图3为根据本发明实施例的无源光网络跨网元的保护处理装置的结构框图;3 is a structural block diagram of a protection processing apparatus for a cross-network element of a passive optical network according to an embodiment of the present invention;
图4为根据本发明实施例的无源光网络跨网元的保护方法的流程图; 4 is a flowchart of a method for protecting a passive optical network across network elements according to an embodiment of the present invention;
图5a为根据本发明实施例的无源光网络跨网元的保护装置的结构框图;FIG. 5a is a structural block diagram of a protection device for a passive optical network across network elements according to an embodiment of the present invention; FIG.
图5b为根据本发明实施例的无源光网络跨网元的保护装置的另一结构框图;FIG. 5b is another structural block diagram of a protection device for a passive optical network across network elements according to an embodiment of the present invention; FIG.
图6为根据本发明优选实施例的心跳维护IP报文结构图;6 is a structural diagram of a heartbeat maintenance IP packet according to a preferred embodiment of the present invention;
图7为根据本发明优选实施例的数据配置报文结构图;7 is a structural diagram of a data configuration message according to a preferred embodiment of the present invention;
图8为根据本发明优选实施例的无源光网络的保护系统的架构图。8 is a block diagram of a protection system for a passive optical network in accordance with a preferred embodiment of the present invention.
具体实施方式detailed description
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The invention will be described in detail below with reference to the drawings in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
图1为根据本发明实施例的无源光网络跨网元的保护处理方法的流程图。如图1所示,该方法包括:FIG. 1 is a flowchart of a method for protecting a cross-network element of a passive optical network according to an embodiment of the present invention. As shown in Figure 1, the method includes:
步骤S102,工作端口所在第一网元获取保护端口所在第二网元的IP地址,其中,第一网元和第二网元位于无源光网络中的同一保护组中;Step S102: The first network element where the working port is located obtains the IP address of the second network element where the protection port is located, where the first network element and the second network element are located in the same protection group in the passive optical network.
步骤S104,第一网元按照上述IP地址向第二网元发送IP报文,其中,上述IP报文中携带有业务配置数据或用于触发进行端口倒换的倒换指令。Step S104: The first network element sends an IP packet to the second network element according to the foregoing IP address, where the IP packet carries service configuration data or a switching instruction for triggering port switching.
通过上述各个处理步骤,由于第一网元可以向第二网元发送IP报文,并且,可以在IP报文中携带倒换指令,因此,实现了工作端口所在网元和保护端口所在网元之间的通信,工作端口可以知晓保护端口的状态,实现快速倒换;同时,由于可以在IP报文中携带业务配置数据避免了操作人员在保护端口和工作端口两侧单独配置的繁琐操作。The first network element can send an IP packet to the second network element, and the switching instruction can be carried in the IP packet, so that the network element where the working port is located and the network element where the protection port is located are implemented. During the communication, the working port can know the status of the protection port and implement fast switching. At the same time, the service configuration data can be carried in the IP packet to avoid the cumbersome operation of the operator separately configuring the protection port and the working port.
步骤S102的实现方式有多种,例如可以从第三方设备中实时获取上述IP地址,在本实施例的一个优选实施方式中,可以通过以下方式实现:第一网元从本地的预先配置信息中获取上述IP地址。In the implementation of the step S102, the IP address can be obtained from the third-party device in real time. In a preferred embodiment of the present embodiment, the first network element can be configured from the local pre-configuration information. Obtain the above IP address.
为了维持链路的激活状态,在本发明的一个优选实施例中,在工作端口所在第一网元获取保护端口所在第二网元的IP地址之后,第一网元建立第一网元与第二网元间的IP通道;第一网元通过上述IP通道向第二网元定时发送心跳包,其中,上述心跳包为IP报文。在一个优选实施过程中,心跳包中还可以携带有源IP地址和保护组信息(例如目的网元的PON口ID)。 In order to maintain the activation state of the link, in a preferred embodiment of the present invention, after the first network element where the working port is located obtains the IP address of the second network element where the protection port is located, the first network element establishes the first network element and the first network element. The IP channel between the two network elements; the first network element periodically sends a heartbeat packet to the second network element through the foregoing IP channel, where the heartbeat packet is an IP packet. In a preferred implementation, the heartbeat packet may also carry a source IP address and protection group information (such as a PON port ID of the destination network element).
在本实施例中,第一网元向第二网元发送的IP报文中还可以携带有以下信息,源网元的IP地址、目的网元所在保护组的信息、用于区分所述业务配置数据或所述倒换指令的标识。其中,源网元的IP地址可以用于在接收端校验接收到的IP报文是否准确。In this embodiment, the IP packet sent by the first network element to the second network element may also carry the following information: the IP address of the source network element and the information of the protection group where the destination network element is located, and used to distinguish the service. The configuration data or the identification of the switching instruction. The IP address of the source NE can be used to check whether the received IP packet is accurate at the receiving end.
在一个优选实施例中,为了节省运行资源,步骤S102可以基于以下触发条件执行:即在工作端口所在第一网元获取保护端口所在第二网元的IP地址之前,第一网元检测到上述工作端口所在链路发生故障,或者,第一网元检测到上述业务配置数据发生改变,即业务配置数据发生了更新。In a preferred embodiment, in order to save operating resources, step S102 may be performed based on the following triggering conditions: that is, before the first network element where the working port is located obtains the IP address of the second network element where the protection port is located, the first network element detects the foregoing The link of the working port is faulty. The first network element detects that the service configuration data changes, that is, the service configuration data is updated.
本发明实施例还提供一种无源光网络跨网元的保护处理装置,该装置可以应用于工作端口所在第一网元,该装置用于实现上述方法,如图2所示,所述装置包括:The embodiment of the present invention further provides a protection processing device for a cross-network element of a passive optical network, where the device can be applied to a first network element where a working port is located, and the device is used to implement the foregoing method, as shown in FIG. include:
获取模块20,设置为获取保护端口所在第二网元的IP地址,其中,上述第一网元和上述第二网元位于无源光网络中的同一保护组中;The obtaining module 20 is configured to obtain an IP address of the second network element where the protection port is located, where the first network element and the second network element are located in the same protection group in the passive optical network;
发送模块22,连接至获取模块20,设置为按照上述IP地址向上述第二网元发送IP报文,其中,上述IP报文中携带有业务配置数据或用于触发进行端口倒换的倒换指令。The sending module 22 is connected to the obtaining module 20 and configured to send an IP packet to the second network element according to the IP address, where the IP packet carries service configuration data or a switching instruction for triggering port switching.
在一个优选实施过程中,发送模块22,还设置为发送携带有以下信息的IP报文:源网元的IP地址、目的网元所在保护组的信息、用于区分所述业务配置数据或所述倒换指令的标识。In a preferred implementation, the sending module 22 is further configured to send an IP packet carrying the following information: an IP address of the source network element, information of the protection group where the destination network element is located, and information for distinguishing the service configuration data or the The identifier of the switching instruction.
在一个优选实施例中,获取模块20,设置为从本地的预先配置信息中获取上述IP地址。In a preferred embodiment, the acquisition module 20 is arranged to obtain the above IP address from local pre-configuration information.
本发明实施例的一个优选实施方式中,如图3所示,无源光网络跨网元的保护处理装置还包括:检测模块24,设置为检测到上述工作端口检测到上述工作端口所在链路故障,或者,检测到上述业务配置数据有更新。In a preferred embodiment of the present invention, as shown in FIG. 3, the protection processing device for the passive optical network across the network element further includes: a detecting module 24, configured to detect that the working port detects the link where the working port is located Failure, or, it is detected that the above service configuration data is updated.
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现:上述各个模块均位于同一处理器中;或者,上述各个模块分别位于不同的处理器中。It should be noted that each of the foregoing modules may be implemented by software or hardware. For the latter, the foregoing modules may be implemented by: each of the foregoing modules being located in the same processor; or each of the foregoing modules being located in different processors. .
本发明实施例还提供一种无源光网络跨网元的保护方法,如图4所示,该方法包括以下处理步骤: The embodiment of the invention further provides a method for protecting a passive optical network across network elements. As shown in FIG. 4, the method includes the following processing steps:
步骤S402,保护端口所在第二网元接收来自工作端口所在第一网元的IP报文,其中,上述第一网元和上述第二网元位于无源光网络中的同一保护组中,其中,上述IP报文中携带有业务配置数据或用于触发进行端口倒换的倒换指令;Step S402, the second network element where the protection port is located receives the IP packet from the first network element where the working port is located, where the first network element and the second network element are located in the same protection group in the passive optical network, where The IP packet carries service configuration data or a switching instruction for triggering port switching.
步骤S404,第二网元按照上述业务配置数据对上述保护端口进行配置,或者,在上述倒换指令的触发下将上述保护端口设置为工作端口。Step S404, the second network element configures the protection port according to the service configuration data, or sets the protection port as a working port under the trigger of the switching instruction.
本发明实施例提供的无源光网络跨网元的保护方法中,还提供以下至少之一处理过程:In the method for protecting a passive optical network across network elements provided by the embodiments of the present invention, at least one of the following processes is also provided:
(1)在上述第二网元的本地业务配置数据发生改变时,上述第二网元向上述第一网元发送改变后的本地业务配置数据;即在上述第二网元也可以进行业务配置数据的更新,然后同步到上述第一网元。(1) When the local service configuration data of the second network element is changed, the second network element sends the changed local service configuration data to the first network element; that is, the second network element can also perform service configuration. The data is updated and then synchronized to the first network element described above.
(2)第二网元向第一网元发送心跳包,其中,该心跳包为IP报文。即第二网元也可以维护链路处于激活状态。(2) The second network element sends a heartbeat packet to the first network element, where the heartbeat packet is an IP packet. That is, the second network element can also maintain the link in an active state.
由此可见,对于心跳包的发送和配置数据的更新,保护端口所在的上述第二网元也可以向上述第一网元发送。只有倒换指令是上述第一网元发送到上述第二网元的。而且倒换成功之后,第一网元和第二网元可以进行角色互换。Therefore, for the sending of the heartbeat packet and the update of the configuration data, the second network element where the protection port is located may also be sent to the first network element. Only the switching command is sent by the first network element to the second network element. After the switchover is successful, the first network element and the second network element can perform role exchange.
在本实施例提供的IP报文中还可以携带有以下信息:源网元的IP地址、目的网元所在保护组的信息、用于区分业务配置数据或倒换指令的标识。The IP packet provided in this embodiment may also carry the following information: an IP address of the source network element, information of the protection group where the destination network element is located, and an identifier used to distinguish the service configuration data or the switching instruction.
本发明实施例还提供一种无源光网络跨网元的保护装置,应用于保护端口所在第二网元,该装置用于实现上述方法,如图5a所示,该装置包括:The embodiment of the present invention further provides a protection device for a cross-network element of a passive optical network, which is applied to a second network element where the protection port is located. The device is used to implement the foregoing method. As shown in FIG. 5a, the device includes:
接收模块50,设置为接收来自工作端口所在第一网元的IP报文,其中,上述第一网元和上述第二网元位于无源光网络中的同一保护组中,其中,上述IP报文中携带有业务配置数据或用于触发进行端口倒换的倒换指令;The receiving module 50 is configured to receive an IP packet from the first network element where the working port is located, where the first network element and the second network element are located in a same protection group in the passive optical network, where the IP packet is The file carries service configuration data or a switching instruction for triggering port switching;
配置模块52,连接至接收模块50,设置为按照上述业务配置数据对上述保护端口进行配置,或者,在上述倒换指令的触发下将上述保护端口设置为工作端口。The configuration module 52 is connected to the receiving module 50, configured to configure the protection port according to the service configuration data, or set the protection port as a working port under the trigger of the switching instruction.
本发明实施例提供的无源光网络跨网元的保护装置,如图5b所示,还可以包括:第一发送模块54,设置为在上述第二网元的本地业务配置数据发生改变时,向上述第一网元发送改变后的本地业务配置数据;和/或,第二发送模块56,设置为向上述第一网元发送心跳包,其中,上述心跳包为IP报文。 The protection device for the cross-network element of the passive optical network provided by the embodiment of the present invention, as shown in FIG. 5b, may further include: a first sending module 54 configured to: when the local service configuration data of the second network element changes, Sending the changed local service configuration data to the first network element; and/or, the second sending module 56 is configured to send a heartbeat packet to the first network element, where the heartbeat packet is an IP packet.
需要说明的是,第二网元也可以实现对配置数据变化的检测,也可以获取第一网元的IP地址等功能,当然,上述功能也可以通过相应的功能模块实现:例如可以分别通过检测模块和获取模块实现,但不限于此。It should be noted that the second network element may also implement detection of configuration data changes, and may also acquire functions such as an IP address of the first network element. Of course, the foregoing functions may also be implemented by corresponding functional modules: for example, respectively, by detecting The module and the acquisition module are implemented, but are not limited to this.
本发明实施例还提供一种无源光网络跨网元的保护系统,包括:工作端口所在第一网元和保护端口所在第二网元,其中,上述第一网元,设置为获取保护端口所在第二网元的IP地址,其中,上述第一网元和上述第二网元位于无源光网络中的同一保护组中;以及按照上述IP地址向上述第二网元发送IP报文,其中,上述IP报文中携带有业务配置数据或用于触发进行端口倒换的倒换指令;上述第二网元,设置为接收来自工上述第一网元的IP报文;以及按照上述业务配置数据对上述保护端口进行配置,或者,在上述倒换指令的触发下将上述保护端口设置为工作端口。The embodiment of the present invention further provides a protection system for a cross-network element of a passive optical network, including: a first network element where the working port is located and a second network element where the protection port is located, where the first network element is configured to acquire a protection port. An IP address of the second network element, where the first network element and the second network element are located in the same protection group in the passive optical network, and send the IP packet to the second network element according to the IP address. The IP packet carries service configuration data or a switching instruction for triggering port switching. The second network element is configured to receive an IP packet from the first network element, and according to the service configuration data. The protection port is configured, or the protection port is set as a working port under the trigger of the above-mentioned switching instruction.
需要说明的是,上述方法实施例中对技术特征的限定,同样适用于对上述无源光网络跨网元的保护系统中的相应或相同技术特征的限定。It should be noted that the limitation of the technical features in the foregoing method embodiments is also applicable to the limitation of corresponding or the same technical features in the protection system of the above-mentioned passive optical network across network elements.
为更好地理解上述实施例,以下结合优选实施例详细说明。以下优选实施例的主要设计思想在于,对于保护组内的网元,业务配置数据可以通过IP报文方式在主备端口间相互同步。即在一个网元配置工作端口或保护端口的数据,系统自动同步到对端网元的端口,并保持配置数据的一致。当保护组发生倒换时,主用端口所在网元通过IP报文方式通知备用端口所在网元,并完成备用网元端口的倒换。For a better understanding of the above embodiments, the following detailed description will be given in conjunction with the preferred embodiments. The main design of the preferred embodiment is that the service configuration data can be synchronized between the active and standby ports in the IP packet mode. That is, the data of the working port or the protection port is configured on one NE. The system automatically synchronizes the port to the peer NE and keeps the configuration data consistent. When the protection group is switched, the NE that the primary port is configured to notify the network element where the standby port resides in IP packets and complete the switchover of the standby NE port.
下面以IPv4报文为例进行详细说明The following takes IPv4 packets as an example for detailed description.
一、建立跨网元PON保护系统:First, establish a cross-network element PON protection system:
步骤1:分别在两个网元配置对端网元IP地址以及保护端口,并指定一个为工作端口,另一个为保护端口;Step 1: Configure the IP address and protection port of the peer NE on the two NEs, and specify one as the working port and the other as the protection port.
步骤2:系统自动建立两个网元间的IP通道,并维护链路心跳状态(发送端网元和接收端网元可以定时互相发送心跳包);Step 2: The system automatically establishes an IP channel between two NEs and maintains the link heartbeat state (the network element at the sending end and the network element at the receiving end can periodically send heartbeat packets to each other);
网元定时向对端网元发送携带保护组信息的IP报文,当网元在一定时间内收到来自对端网元携带保护组信息的IP报文,则维持链路的激活状态。心跳维护IP报文结构如图6所示。The network element periodically sends an IP packet carrying the protection group information to the peer network element. When the network element receives the IP packet from the peer network element carrying the protection group information within a certain period of time, the network element maintains the activation state of the link. The heartbeat maintenance IP packet structure is shown in Figure 6.
步骤3:工作端口网元自动将工作端口的配置数据通过步骤2所述IP通道发送给保护端口所在网元;当对一个网元(工作端口网元和保护端口所在网元中的任意一个) 的端口配置业务时,系统自动提取保护组的对端网元的IP地址及保护组端口信息,并将配置数据发送给对端网元;Step 3: The working port network element automatically sends the configuration data of the working port to the network element where the protection port is located through the IP channel in step 2. When one network element (any one of the working port NE and the protected port network element) When the port is configured with the service, the system automatically extracts the IP address of the peer NE and the protection group port information of the protection group, and sends the configuration data to the peer network element.
步骤4:保护端口所在网元接收来自工作端口所在网元的携带保护组信息的IP报文后,解析出数据并将数据配置到保护端口;数据同步IP报文(即数据配置报文)结构如图7所示。Step 4: The network element where the protection port is located receives the IP packet carrying the protection group information from the network element where the working port is located, and then parses the data and configures the data to the protection port. The structure of the data synchronization IP packet (that is, the data configuration packet) As shown in Figure 7.
二、保护倒换的具体实现Second, the specific implementation of protection switching
步骤1:当工作端口检测到链路中断,工作端口网元将工作端口切换成备用状态,同时读取对端网元IP地址,并通过步骤2所述IP通道将倒换指令发给保护端口所在网元;Step 1: When the working port detects the link interruption, the working port network element switches the working port to the standby state, and reads the IP address of the peer network element, and sends the switching command to the protection port through the IP channel in step 2. Network element
步骤2:保护端口所在网元接收到来自对端网元的IP报文,解析出倒换指令,将保护端口设置为主用状态,完成保护倒换。Step 2: The network element where the protection port is located receives the IP packet from the peer NE, parses the switchover command, sets the protection port as the active state, and completes the protection switchover.
图8为根据本发明优选实施例的无源光网络的保护系统的架构图。如图8所示,光网络单元光(Optical Network Unit,简称为ONU)和工作端口、保护端口用光纤连接,工作端口所在网元和保护端口所在网元分别接入IP网络。8 is a block diagram of a protection system for a passive optical network in accordance with a preferred embodiment of the present invention. As shown in Figure 8, the optical network unit (Optical Network Unit, ONU) is connected to the working port and the protection port by optical fibers. The NEs where the working port resides and the protection port are connected to the IP network.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。It will be apparent to those skilled in the art that the various modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. The steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above description is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
工业实用性Industrial applicability
基于本发明实施例提供的上述技术方案,采用工作端口所在第一网元按照获取的保护端口所在第二网元的IP地址向第二网元发送携带有业务配置数据或用于触发进行端口倒换的倒换指令的技术手段,解决了相关技术中工作端口和保护端口倒换效率 低,操作繁琐等技术问题,进而提高了倒换的效率,同时由于省去了人工在两个网元间单独配置的过程,精简了操作步骤。 According to the foregoing technical solution provided by the embodiment of the present invention, the first network element where the working port is located is configured to send the service configuration data or trigger the port switching to the second network element according to the IP address of the second network element where the obtained protection port is located. The technical means of the switching instruction solves the switching efficiency of the working port and the protection port in the related art The technical problems such as low operation and cumbersome operation improve the efficiency of the switching, and at the same time, the operation steps are simplified by eliminating the manual configuration process between the two network elements.

Claims (13)

  1. 一种无源光网络跨网元的保护处理方法,包括:A method for protecting and processing a cross-network element of a passive optical network includes:
    工作端口所在第一网元获取保护端口所在第二网元的IP地址,其中,所述第一网元和所述第二网元位于无源光网络中的同一保护组中;The first network element where the working port is located obtains the IP address of the second network element where the protection port is located, where the first network element and the second network element are located in the same protection group in the passive optical network;
    所述第一网元按照所述IP地址向所述第二网元发送IP报文,其中,所述IP报文中携带有业务配置数据或用于触发进行端口倒换的倒换指令。The first network element sends an IP packet to the second network element according to the IP address, where the IP packet carries service configuration data or a switching instruction for triggering port switching.
  2. 根据权利要求1所述的方法,其中,工作端口所在第一网元获取保护端口所在第二网元的IP地址,包括:The method of claim 1, wherein the first network element where the working port is located obtains the IP address of the second network element where the protection port is located, including:
    所述第一网元从本地的预先配置信息中获取所述IP地址。The first network element obtains the IP address from local pre-configuration information.
  3. 根据权利要求1所述的方法,其中,工作端口所在第一网元获取保护端口所在第二网元的IP地址之后,包括:The method of claim 1, wherein after the first network element where the working port is located obtains the IP address of the second network element where the protection port is located, the method includes:
    所述第一网元建立所述第一网元与所述第二网元间的IP通道;The first network element establishes an IP channel between the first network element and the second network element;
    所述第一网元通过所述IP通道向所述第二网元定时发送心跳包,其中,所述心跳包为IP报文。The first network element periodically sends a heartbeat packet to the second network element by using the IP channel, where the heartbeat packet is an IP packet.
  4. 根据权利要求1所述的方法,其中,所述IP报文中还携带有以下信息:The method according to claim 1, wherein the IP packet further carries the following information:
    源网元的IP地址、目的网元所在保护组的信息、用于区分业务配置数据或倒换指令的标识。The IP address of the source NE, the information of the protection group where the destination NE is located, and the identifier used to distinguish service configuration data or switching instructions.
  5. 根据权利要求1至4中任一项所述的方法,其中,工作端口所在第一网元获取保护端口所在第二网元的IP地址之前,包括:The method according to any one of claims 1 to 4, wherein before the first network element where the working port is located obtains the IP address of the second network element where the protection port is located, the method includes:
    所述第一网元检测到所述工作端口所在链路发生故障,或者,所述第一网元检测到所述业务配置数据发生改变。The first network element detects that the link where the working port is located is faulty, or the first network element detects that the service configuration data is changed.
  6. 一种无源光网络跨网元的保护方法,包括:A method for protecting a passive optical network across network elements, comprising:
    保护端口所在第二网元接收来自工作端口所在第一网元的IP报文,其中,所述第一网元和所述第二网元位于无源光网络中的同一保护组中,其中,所述IP报文中携带有业务配置数据或用于触发进行端口倒换的倒换指令;The second network element where the protection port is located receives the IP packet from the first network element where the working port is located, where the first network element and the second network element are located in the same protection group in the passive optical network, where The IP packet carries service configuration data or a switching instruction for triggering port switching.
    所述第二网元按照所述业务配置数据对所述保护端口进行配置,或者,在所述倒换指令的触发下将所述保护端口设置为工作端口。 The second network element configures the protection port according to the service configuration data, or sets the protection port as a working port under the trigger of the switching instruction.
  7. 根据权利要求6所述的方法,其中,还包括以下至少之一:The method of claim 6 further comprising at least one of the following:
    在所述第二网元的本地业务配置数据发生改变时,所述第二网元向所述第一网元发送改变后的本地业务配置数据;When the local service configuration data of the second network element is changed, the second network element sends the changed local service configuration data to the first network element;
    所述第二网元向所述第一网元发送心跳包,其中,所述心跳包为IP报文。The second network element sends a heartbeat packet to the first network element, where the heartbeat packet is an IP packet.
  8. 根据权利要求6所述的方法,其中,所述IP报文中还携带有以下信息:The method according to claim 6, wherein the IP packet further carries the following information:
    源网元的IP地址、目的网元所在保护组的信息、用于区分业务配置数据或倒换指令的标识。The IP address of the source NE, the information of the protection group where the destination NE is located, and the identifier used to distinguish service configuration data or switching instructions.
  9. 一种无源光网络跨网元的保护处理装置,应用于工作端口所在第一网元,包括:A protection device for a cross-network element of a passive optical network is applied to the first network element where the working port is located, including:
    获取模块,设置为获取保护端口所在第二网元的IP地址,其中,所述第一网元和所述第二网元位于无源光网络中的同一保护组中;An acquiring module, configured to obtain an IP address of a second network element where the protection port is located, where the first network element and the second network element are located in a same protection group in the passive optical network;
    发送模块,设置为按照所述IP地址向所述第二网元发送IP报文,其中,所述IP报文中携带有业务配置数据或用于触发进行端口倒换的倒换指令。The sending module is configured to send an IP packet to the second network element according to the IP address, where the IP packet carries service configuration data or a switching instruction for triggering port switching.
  10. 根据权利要求9所述的装置,其中,所述发送模块,还设置为发送携带有以下信息的所述IP报文:The apparatus according to claim 9, wherein the sending module is further configured to send the IP packet carrying the following information:
    源网元的IP地址、目的网元所在保护组的信息、用于区分所述业务配置数据或所述倒换指令的标识。The IP address of the source NE, the information of the protection group where the destination NE is located, and the identifier used to distinguish the service configuration data or the switching instruction.
  11. 一种无源光网络跨网元的保护装置,应用于保护端口所在第二网元,所述装置包括:A protection device for a cross-network element of a passive optical network is applied to a second network element where the protection port is located, and the device includes:
    接收模块,设置为接收来自工作端口所在第一网元的IP报文,其中,所述第一网元和所述第二网元位于无源光网络中的同一保护组中,其中,所述IP报文中携带有业务配置数据或用于触发进行端口倒换的倒换指令;The receiving module is configured to receive an IP packet from the first network element where the working port is located, where the first network element and the second network element are located in a same protection group in the passive optical network, where the The IP packet carries service configuration data or a switching instruction for triggering port switching.
    配置模块,设置为按照所述业务配置数据对所述保护端口进行配置,或者,在所述倒换指令的触发下将所述保护端口设置为工作端口。The configuration module is configured to configure the protection port according to the service configuration data, or set the protection port as a working port under the trigger of the switching instruction.
  12. 根据权利要求11所述的装置,其中,还包括:The device according to claim 11, further comprising:
    第一发送模块,设置为在所述第二网元的本地业务配置数据发生改变时,向所述第一网元发送改变后的本地业务配置数据;和/或The first sending module is configured to send the changed local service configuration data to the first network element when the local service configuration data of the second network element changes; and/or
    第二发送模块,设置为向所述第一网元发送心跳包,其中,所述心跳包为IP报文。 The second sending module is configured to send a heartbeat packet to the first network element, where the heartbeat packet is an IP packet.
  13. 一种无源光网络跨网元的保护系统,包括:工作端口所在第一网元和保护端口所在第二网元,A protection system for a cross-network element of a passive optical network includes: a first network element where the working port is located and a second network element where the protection port is located,
    所述第一网元,设置为获取保护端口所在第二网元的IP地址,其中,所述第一网元和所述第二网元位于无源光网络中的同一保护组中;以及按照所述IP地址向所述第二网元发送IP报文,其中,所述IP报文中携带有业务配置数据或用于触发进行端口倒换的倒换指令;The first network element is configured to obtain an IP address of a second network element where the protection port is located, where the first network element and the second network element are located in a same protection group in the passive optical network; The IP address sends an IP packet to the second network element, where the IP packet carries service configuration data or a switching instruction for triggering port switching.
    所述第二网元,设置为接收来自所述第一网元的IP报文;以及按照所述业务配置数据对所述保护端口进行配置,或者,在所述倒换指令的触发下将所述保护端口设置为工作端口。 The second network element is configured to receive an IP packet from the first network element, and configure the protection port according to the service configuration data, or the triggering is performed by the switching instruction The protection port is set to the working port.
PCT/CN2014/092148 2014-10-17 2014-11-25 Cross-network-element protection processing method, protection method, apparatus and system in passive optical network WO2015131569A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410555254.XA CN105577335A (en) 2014-10-17 2014-10-17 PON (Passive Optical network) cross-network-element protection processing method and device and protection method, device and system
CN201410555254.X 2014-10-17

Publications (1)

Publication Number Publication Date
WO2015131569A1 true WO2015131569A1 (en) 2015-09-11

Family

ID=54054450

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/092148 WO2015131569A1 (en) 2014-10-17 2014-11-25 Cross-network-element protection processing method, protection method, apparatus and system in passive optical network

Country Status (2)

Country Link
CN (1) CN105577335A (en)
WO (1) WO2015131569A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107465525A (en) * 2016-06-02 2017-12-12 中兴通讯股份有限公司 A kind of port protection method and device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101667862A (en) * 2008-09-01 2010-03-10 华为技术有限公司 Optical network system, optical network equipment and exchanging method thereof

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859811B (en) * 2006-03-15 2011-02-02 华为技术有限公司 Passive optical network system and its service protective method
KR100833504B1 (en) * 2006-12-05 2008-05-29 한국전자통신연구원 A apparatus and method for partial duplex protection switching by using single splitter in pon
CN101150367B (en) * 2007-11-08 2010-09-29 杭州华三通信技术有限公司 A backup method and device for passive optical network OLT device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101667862A (en) * 2008-09-01 2010-03-10 华为技术有限公司 Optical network system, optical network equipment and exchanging method thereof

Also Published As

Publication number Publication date
CN105577335A (en) 2016-05-11

Similar Documents

Publication Publication Date Title
US20140219654A1 (en) Optical network system
CN103001887A (en) Link keeping alive method, controller and switchboard
CN105024836B (en) Method and device for switching primary Service Router (SR) and standby SR and SR
US20170214609A1 (en) Forwarding method and forwarding device
CN103259685A (en) Method for detecting link failures and network equipment
US9900100B2 (en) Optical line terminal, communication control method, and communication control program
WO2012068894A1 (en) System and method for implementing remote disaster recovery of optical line terminal
WO2014090120A1 (en) Method and system for link switchover
WO2016101525A1 (en) Method, apparatus and system for managing optical network unit dpu device
JP6459099B2 (en) Method, apparatus and system for managing terminal equipment in a passive optical network
CN106341249A (en) Redundant port switching method and device
CN104244117A (en) Cascading method and system for optical network units
US20140301183A1 (en) Method, Network Device, and System for Synchronization Between Network Devices
US9300529B2 (en) Communication system and network relay device
WO2016027447A1 (en) Communication device, communication system and communication method
US9596129B2 (en) Communication system, control apparatus, communication apparatus, information-relaying method, and program
WO2015131569A1 (en) Cross-network-element protection processing method, protection method, apparatus and system in passive optical network
JP5518771B2 (en) Redundant network system, termination device and relay point adjacent device
EP2709308A1 (en) Media access control address switching method, network equipment, and user equipment
JP2019004261A (en) Transmission device and communication method
JP6287404B2 (en) Station side equipment
CN108418626B (en) Method and apparatus for optical link protection in DPoE networks
CN105553864B (en) Method and device for reducing message quantity in LMP
JP2016086222A (en) Network system, firmware update method, station-side termination device and subscriber-side termination device
CN104754762A (en) Method for automatically finding controller in software-defined network, controller and 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: 14884294

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: 14884294

Country of ref document: EP

Kind code of ref document: A1