CN102263587B - The optical port changing method and system of optical network unit - Google Patents

The optical port changing method and system of optical network unit Download PDF

Info

Publication number
CN102263587B
CN102263587B CN201110210914.7A CN201110210914A CN102263587B CN 102263587 B CN102263587 B CN 102263587B CN 201110210914 A CN201110210914 A CN 201110210914A CN 102263587 B CN102263587 B CN 102263587B
Authority
CN
China
Prior art keywords
optical
optical port
port
network unit
line terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201110210914.7A
Other languages
Chinese (zh)
Other versions
CN102263587A (en
Inventor
王智慧
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Futian Quantum Technology Co ltd
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201110210914.7A priority Critical patent/CN102263587B/en
Publication of CN102263587A publication Critical patent/CN102263587A/en
Priority to PCT/CN2012/072854 priority patent/WO2012155671A1/en
Application granted granted Critical
Publication of CN102263587B publication Critical patent/CN102263587B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • H04B10/272Star-type networks or tree-type networks
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Optical Communication System (AREA)
  • Small-Scale Networks (AREA)

Abstract

本发明公开了一种光网络单元的光口切换方法和系统,光网络单元包括当前为工作光口的第一光口和当前为备用光口的第二光口,方法为:第一光口定时向光线路终端发送第二光口的状态信息;当第一光口出现故障,光线路终端根据第二光口的状态信息判断第二光口当前是否可用;当第二光口当前可用,则光线路终端通过第一光口向光网络单元发送光口切换指令;光网络单元根据光口切换指令,将当前的工作光口切换为第二光口,并置第一光口为备用光口。本发明的方法和系统,实现了光网络单元的光口切换,保证了光网络单元的正常工作,简化了光网络单元的光口切换操作流程。

The invention discloses a method and system for switching optical ports of an optical network unit. The optical network unit includes a first optical port that is currently a working optical port and a second optical port that is currently a standby optical port. The method is as follows: the first optical port Send the status information of the second optical port to the optical line terminal regularly; when the first optical port fails, the optical line terminal judges whether the second optical port is currently available according to the status information of the second optical port; when the second optical port is currently available, Then the optical line terminal sends an optical port switching instruction to the optical network unit through the first optical port; the optical network unit switches the current working optical port to the second optical port according to the optical port switching instruction, and sets the first optical port as the standby optical port. mouth. The method and system of the present invention realize the optical port switching of the optical network unit, ensure the normal operation of the optical network unit, and simplify the optical port switching operation flow of the optical network unit.

Description

光网络单元的光口切换方法和系统Optical port switching method and system of optical network unit

技术领域technical field

本发明涉及光网络技术领域,尤其是涉及一种光网络单元的光口切换方法和系统。The invention relates to the technical field of optical networks, in particular to an optical port switching method and system of an optical network unit.

背景技术Background technique

随着光纤接入技术的迅速发展,其已经成为全世界的热点技术之一。无源光网络(PON)技术经过近20年的发展,已成为“光进铜退”接入层网络转型技术发展的重要方向。“光进铜退”接入层网络技术大多是通过FTTB(Fiber to The Building,光纤到楼)模式建设,其中,光网络单元(ONU)是FTTB建设模式中重要的网络节点设备,在吉比特无源光网络(GPON)系统中,采用光网络单元的PLOAM(Physical Layer Operations Administrationand Maintenance,物理层操作管理和维护)交互方式实现光网络管理。With the rapid development of optical fiber access technology, it has become one of the hot technologies in the world. After nearly 20 years of development, Passive Optical Network (PON) technology has become an important direction for the development of access layer network transformation technology of "light into copper and back". The access layer network technology of "optical in copper out" is mostly constructed through the FTTB (Fiber to The Building, fiber to the building) mode, in which the optical network unit (ONU) is an important network node device in the FTTB construction mode. In the passive optical network (GPON) system, the PLOAM (Physical Layer Operations Administration and Maintenance, physical layer operation management and maintenance) interactive mode of the optical network unit is used to realize the optical network management.

现有技术中,为了实现对吉比特无源光网络系统中的光网络单元的光口保护切换,是采用SDH(Synchronous Digital Hierarchy,同步数字体系)网络保护架构机制,该机制中,光网络单元和光线路终端(OLT)被认为是对等设备,需要通过K1/K2字节编码来实现光网络单元的光口切换,其整个操作流程复杂,同时也不能很好地适应一光线路终端对应多个光网络单元的网络布局。In the prior art, in order to realize the optical port protection switching of the optical network unit in the gigabit passive optical network system, the SDH (Synchronous Digital Hierarchy, synchronous digital system) network protection framework mechanism is adopted. In this mechanism, the optical network unit And the optical line terminal (OLT) is considered as a peer-to-peer device, and the optical port switching of the optical network unit needs to be realized through K1/K2 byte coding. The network layout of an optical network unit.

发明内容Contents of the invention

本发明的主要目的在于提供一种光网络单元的光口切换方法和系统,实现光网络单元的光口切换,保证光网络单元正常工作,并简化光口切换流程。The main purpose of the present invention is to provide a method and system for switching optical ports of an optical network unit, which realizes switching of optical ports of an optical network unit, ensures normal operation of the optical network unit, and simplifies the process of switching optical ports.

本发明提出一种光网络单元的光口切换方法,所述光网络单元包括当前为工作光口的第一光口和当前为备用光口的第二光口,包括步骤:The present invention proposes a method for switching optical ports of an optical network unit, wherein the optical network unit includes a first optical port that is currently a working optical port and a second optical port that is currently a standby optical port, including steps:

第一光口定时向光线路终端发送第二光口的状态信息;The first optical port regularly sends status information of the second optical port to the optical line terminal;

当第一光口出现故障,光线路终端根据第二光口的状态信息判断第二光口当前是否可用;When the first optical port fails, the optical line terminal judges whether the second optical port is currently available according to the state information of the second optical port;

当第二光口当前可用,则光线路终端通过第一光口向光网络单元发送光口切换指令;When the second optical port is currently available, the optical line terminal sends an optical port switching instruction to the optical network unit through the first optical port;

光网络单元根据光口切换指令,将当前的工作光口切换为第二光口,并置第一光口为备用光口。The optical network unit switches the current working optical port to the second optical port according to the optical port switching instruction, and sets the first optical port as the standby optical port.

优选地,所述光线路终端通过以下方式判断第一光口是否出现故障:Preferably, the optical line terminal judges whether the first optical port fails in the following manner:

光线路终端在接收到第二光口的状态信息后,启动定时计时功能,判断设定时间内是否接收到下一第二光口的状态信息;若否,则表明第一光口出现故障;若是,则表明第一光口正常。After receiving the state information of the second optical port, the optical line terminal starts the timing function to judge whether the state information of the next second optical port is received within the set time; if not, it indicates that the first optical port is faulty; If yes, it indicates that the first optical port is normal.

优选地,所述第二光口的状态包括:有光信号的状态和无光信号的状态。Preferably, the state of the second optical port includes: a state with an optical signal and a state without an optical signal.

优选地,所述光线路终端根据第二光口的状态信息判断第二光口是否可用具体为:Preferably, the optical line terminal judges whether the second optical port is available according to the status information of the second optical port as follows:

光线路终端根据第二光口的状态信息,判断第二光口当前状态是否为有光信号的状态;The optical line terminal judges whether the current state of the second optical port is a state of having an optical signal according to the state information of the second optical port;

当第二光口当前状态为有光信号的状态,则表示第二光口可用;When the current state of the second optical port is the state of optical signal, it means that the second optical port is available;

当第二光口当前状态为无光信号的状态,则表示第二光口不可用。When the current state of the second optical port is a state of no optical signal, it indicates that the second optical port is unavailable.

优选地,所述第二光口的状态信息为光线路终端当前最近一次接收的第二光口的状态信息。Preferably, the status information of the second optical port is the latest status information of the second optical port received by the optical line terminal.

本发明另提出一种光网络单元的光口切换系统,包括光网络单元和光线路终端;所述光网络单元包括当前为工作光口的第一光口和当前为备用光口的第二光口;The present invention also proposes an optical port switching system for an optical network unit, including an optical network unit and an optical line terminal; the optical network unit includes a first optical port that is currently a working optical port and a second optical port that is currently a standby optical port ;

第一光口,用于定时向光线路终端发送第二光口的状态信息;The first optical port is used to regularly send status information of the second optical port to the optical line terminal;

光线路终端,用于当第一光口故障,根据第二光口的状态信息判断第二光口当前是否可用;以及当第二光口当前可用,则光线路终端通过第一光口向光网络单元发送光口切换指令;The optical line terminal is used to determine whether the second optical port is currently available according to the state information of the second optical port when the first optical port fails; The network unit sends an optical port switching command;

光网络单元,用于根据光口切换指令,将当前的工作光口切换为第二光口,并置第一光口为备用光口。The optical network unit is used to switch the current working optical port to the second optical port according to the optical port switching instruction, and configure the first optical port as a backup optical port.

优选地,所述光线路终端,具体还用于在接收到第二光口的状态信息后,启动定时计时功能,判断设定时间内是否收到下一第二光口的状态信息,若否,则表明第一光口出现故障;若是,则表明第一光口正常。Preferably, the optical line terminal is specifically further configured to start a timer function after receiving the status information of the second optical port, and judge whether the status information of the next second optical port is received within the set time, and if not , it indicates that the first optical port is faulty; if it is, it indicates that the first optical port is normal.

优选地,光网络单元的光口切换系统,所述第二光口的状态包括:有光信号的状态和无光信号的状态。Preferably, in the optical port switching system of the optical network unit, the state of the second optical port includes: a state with an optical signal and a state without an optical signal.

优选地,所述光线路终端,具体还用于根据第二光口的状态信息,判断第二光口当前状态是否为有光信号的状态;当第二光口当前状态为有光信号的状态,则表示第二光口可用;当第二光口当前状态为无光信号的状态,则表示第二光口不可用。Preferably, the optical line terminal is specifically further configured to judge whether the current state of the second optical port is a state with optical signals according to the state information of the second optical port; when the current state of the second optical port is a state with optical signals , it means that the second optical port is available; when the current state of the second optical port is no optical signal, it means that the second optical port is unavailable.

优选地,所述第二光口的状态信息为光线路终端当前最近一次接收的第二光口的状态信息。Preferably, the status information of the second optical port is the latest status information of the second optical port received by the optical line terminal.

本发明所提供的光网络单元的光口切换方法和系统,光网络单元通过工作光口定时向光线路终端发送备用光口的状态信息,在工作光口故障时,光线路终端确定备用光口可用后向光网络单元光口切换指令,光网络单元根据光口切换指令进行工作光口切换的方式,实现了光网络单元的光口切换,保证了光网络单元的正常工作,简化了光网络单元的光口切换操作流程。In the optical port switching method and system of the optical network unit provided by the present invention, the optical network unit regularly sends the state information of the standby optical port to the optical line terminal through the working optical port, and when the working optical port fails, the optical line terminal determines the standby optical port The optical port switching command of the backward optical network unit can be used, and the optical network unit switches the working optical port according to the optical port switching command, which realizes the optical port switching of the optical network unit, ensures the normal operation of the optical network unit, and simplifies the optical network. The optical port switching operation flow of the unit.

附图说明Description of drawings

图1是本发明的光网络单元的光口切换方法一实施例的流程图;Fig. 1 is the flow chart of an embodiment of the optical port switching method of the optical network unit of the present invention;

图2是本发明的光网络单元的光口切换系统一实施例的结构示意图。FIG. 2 is a schematic structural diagram of an embodiment of the optical port switching system of the optical network unit of the present invention.

本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization of the purpose of the present invention, functional characteristics and advantages will be further described in conjunction with the embodiments and with reference to the accompanying drawings.

具体实施方式detailed description

应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

参见图1,提出本发明的光网络单元的光口切换方法一实施例,所述光网络单元包括当前为工作光口的第一光口和当前为备用光口的第二光口。所述方法包括:Referring to FIG. 1 , an embodiment of an optical port switching method of an optical network unit of the present invention is proposed, and the optical network unit includes a first optical port that is currently a working optical port and a second optical port that is currently a standby optical port. The methods include:

步骤S101、第一光口定时向光线路终端发送第二光口的状态信息;Step S101, the first optical port regularly sends status information of the second optical port to the optical line terminal;

步骤S102、当第一光口出现故障,光线路终端根据第二光口的状态信息判断第二光口当前是否可用;当第二光口当前可用,则转入步骤S103;若否,则结束流程。Step S102, when the first optical port fails, the optical line terminal judges whether the second optical port is currently available according to the state information of the second optical port; when the second optical port is currently available, then go to step S103; if not, end process.

步骤S103、光线路终端通过第一光口向光网络单元发送光口切换指令;Step S103, the optical line terminal sends an optical port switching instruction to the optical network unit through the first optical port;

步骤S104、光网络单元根据光口切换指令,将当前的工作光口切换为第二光口,并置第一光口为备用光口。Step S104, the optical network unit switches the current working optical port to the second optical port according to the optical port switching instruction, and sets the first optical port as a backup optical port.

所述光口切换指令包还有目标光口的序号,光网络单元根据所述序号就可找到对应的目标光口,并将工作光口切换为目标光口。如本实施例中的目标光口序号就上第二光口的序号。The optical port switching instruction packet also includes the serial number of the target optical port, and the optical network unit can find the corresponding target optical port according to the serial number, and switch the working optical port to the target optical port. For example, the serial number of the target optical port in this embodiment is the serial number of the second optical port.

上述光网络单元的光口切换方法实施例中,进行光口切换的先决条件是所述光网络单元的第一光口和第二光口分别向光线路终端注册,并分别都注册成功。光网络单元在第一、第二光口注册成功后,则从中选择一个光口为工作光口,选择另一个为备用光口。如选择第一光口为工作光口,选择第二光口为备用光口。In the above-mentioned embodiment of the optical port switching method of the optical network unit, the prerequisite for optical port switching is that the first optical port and the second optical port of the optical network unit are registered with the optical line terminal respectively, and the registration is successful. After successful registration of the first and second optical ports, the optical network unit selects one of the optical ports as the working optical port, and selects the other as the standby optical port. If the first optical port is selected as the working optical port, the second optical port is selected as the standby optical port.

进一步地,上述光网络单元的光口切换方法实施例中,所述光线路终端通过以下方式判断第一光口是否出现故障:光线路终端在接收到第二光口的状态信息后,启动定时计时功能,判断设定时间内是否接收到下一第二光口的状态信息;若否,则表明第一光口出现故障;若是,则表明第一光口正常。Further, in the above embodiment of the optical port switching method of the optical network unit, the optical line terminal judges whether the first optical port fails in the following manner: after receiving the status information of the second optical port, the optical line terminal starts the timing Timing function, judging whether the status information of the next second optical port is received within the set time; if not, it indicates that the first optical port is faulty; if so, it indicates that the first optical port is normal.

上述光网络单元的光口切换方法实施例中,所述第一光口出现故障是指,所述第一光口无法向光线路终端发送数据,但光线路终端还可以向通过第一光口向光网络单元发送数据。In the above embodiment of the optical port switching method of the optical network unit, the failure of the first optical port means that the first optical port cannot send data to the optical line terminal, but the optical line terminal can still send data to the optical line terminal through the first optical port. Send data to the optical network unit.

进一步地,上述光网络单元的光口切换方法实施例中,所述第二光口的状态包括:有光信号的状态和无光信号的状态。本实施例中可以通过数字表示第二光口的状态,如用“1”表示第二光口为有光信号的状态,如“0”表示第二光口为无光信号的状态。Further, in the above embodiment of the optical port switching method of the optical network unit, the state of the second optical port includes: a state with an optical signal and a state without an optical signal. In this embodiment, the state of the second optical port can be represented by numbers, for example, "1" indicates that the second optical port is in the state of having an optical signal, such as "0" indicates that the second optical port is in the state of not having an optical signal.

进一步地,上述光网络单元的光口切换方法实施例中,所述步骤S103具体为:光线路终端根据第二光口的状态信息,判断第二光口当前状态是否为有光信号的状态;当第二光口当前状态为有光信号的状态,则表示第二光口可用;当第二光口当前状态为无光信号的状态,则表示第二光口不可用。Further, in the above-mentioned embodiment of the optical port switching method of the optical network unit, the step S103 is specifically: the optical line terminal judges whether the current state of the second optical port is a state of having an optical signal according to the state information of the second optical port; When the current state of the second optical port is a state with optical signals, it means that the second optical port is available; when the current state of the second optical port is a state without optical signals, it means that the second optical port is unavailable.

进一步地,上述光网络单元的光口切换方法实施例中,所述第二光口的状态信息为光线路终端当前最近一次接收的第二光口的状态信息。Further, in the above embodiment of the optical port switching method of the optical network unit, the state information of the second optical port is the state information of the second optical port currently received by the optical line terminal last time.

上述光网络单元的光口切换方法适用于一光线路终端对应一光网络单元的网络布局,也适用于一光线路终端对应多个光网络单元的网络布局。The optical port switching method of the optical network unit described above is applicable to the network layout in which an optical line terminal corresponds to an optical network unit, and is also applicable to the network layout in which an optical line terminal corresponds to a plurality of optical network units.

上述光网络单元的光口切换方法实施例,光网络单元通过工作光口定时向光线路终端发送备用光口的状态信息,在工作光口故障时,光线路终端确定备用光口可用后向光网络单元光口切换指令,光网络单元根据光口切换指令进行工作光口切换的方式,实现了光网络单元的光口切换,保证了光网络单元的正常工作,简化了光网络单元的光口切换操作流程。In the above-mentioned embodiment of the optical port switching method of the optical network unit, the optical network unit regularly sends the status information of the standby optical port to the optical line terminal through the working optical port, and when the working optical port fails, the optical line terminal determines that the standby optical port is available for backward optical The network unit optical port switching command, the optical network unit switches the working optical port according to the optical port switching command, realizes the optical port switching of the optical network unit, ensures the normal operation of the optical network unit, and simplifies the optical port of the optical network unit Switch operation flow.

参见图2,提出本发明的光网络单元的光口切换系统100实施例,包括光网络单元110和光线路终端120。所述光网络单元110包括当前为工作光口的第一光口111和当前为备用光口的第二光口112。所述第一光口111,用于定时向光线路终端发送第二光口112的状态信息。光线路终端120,用于当第一光口111出现故障,则根据第二光口112的状态信息判断第二光口112当前是否可用;以及当第二光口112当前可用,则光线路终端120通过第一光口111向光网络单元发送光口切换指令。光网络单元110,用于根据光口切换指令,将当前的工作光口切换为第二光口112,并置第一光口111为备用光口。Referring to FIG. 2 , an embodiment of an optical port switching system 100 for an optical network unit of the present invention is proposed, including an optical network unit 110 and an optical line terminal 120 . The optical network unit 110 includes a first optical port 111 that is currently a working optical port and a second optical port 112 that is currently a standby optical port. The first optical port 111 is used to regularly send status information of the second optical port 112 to the optical line terminal. The optical line terminal 120 is used to determine whether the second optical port 112 is currently available according to the state information of the second optical port 112 when the first optical port 111 fails; and when the second optical port 112 is currently available, the optical line terminal 120 Send an optical port switching instruction to the optical network unit through the first optical port 111. The optical network unit 110 is configured to switch the current working optical port to the second optical port 112 according to the optical port switching instruction, and set the first optical port 111 as a standby optical port.

所述光口切换指令包还有目标光口的序号,光网络单元根据所述序号就可找到对应的目标光口,并将工作光口切换为目标光口。如本实施例中的目标光口序号就上第二光口112的序号。The optical port switching instruction packet also includes the serial number of the target optical port, and the optical network unit can find the corresponding target optical port according to the serial number, and switch the working optical port to the target optical port. For example, the serial number of the target optical port in this embodiment is the serial number of the second optical port 112 .

上述光网络单元110的光口切换方法实施例中,进行光口切换的先决条件是所述光网络单元110的第一光口111和第二光口112分别向光线路终端120注册,并分别都注册成功。光网络单元110在第一、第二光口注册成功后,则从中选择一个光口为工作光口,选择另一个为备用光口。如选择第一光口111为工作光口,选择第二光口112为备用光口。In the above-mentioned embodiment of the optical port switching method of the optical network unit 110, the prerequisite for optical port switching is that the first optical port 111 and the second optical port 112 of the optical network unit 110 are registered with the optical line terminal 120 respectively, and respectively All registered successfully. After the first and second optical ports are successfully registered, the optical network unit 110 selects one of them as the working optical port and the other as the standby optical port. If the first optical port 111 is selected as the working optical port, the second optical port 112 is selected as the standby optical port.

进一步地,上述光网络单元的光口切换系统100实施例,所述光线路终端120,具体用于在接收到第二光口112的状态信息后,启动定时计时功能,判断设定时间内是否收到下一第二光口112的状态信息,若否,则表明第一光口111出现故障;若是,则表明第一光口111正常。上述光网络单元的光口切换方法实施例中,所述第一光口111出现故障是指所述第一光口111无法向光线路终端120发送数据,但光线路终端120还可以通过第一光口111向光网络单元110发送数据。Further, in the above-mentioned embodiment of the optical port switching system 100 of the optical network unit, the optical line terminal 120 is specifically used to start the timer function after receiving the status information of the second optical port 112, and judge whether If the status information of the next second optical port 112 is received, if no, it indicates that the first optical port 111 is faulty; if it is, it indicates that the first optical port 111 is normal. In the above embodiment of the optical port switching method of the optical network unit, the failure of the first optical port 111 means that the first optical port 111 cannot send data to the optical line terminal 120, but the optical line terminal 120 can still pass through the first optical port 111. The optical port 111 sends data to the optical network unit 110 .

进一步地,上述光网络单元的光口切换系统,所述第二光口112的状态包括:有光信号的状态和无光信号的状态。本实施例中可以通过数字表示第二光口112的状态,如用“1”表示第二光口112为有光信号的状态,如“0”表示第二光口112为无光信号的状态。Further, in the above-mentioned optical port switching system of the optical network unit, the state of the second optical port 112 includes: a state with an optical signal and a state without an optical signal. In this embodiment, the state of the second optical port 112 can be represented by numbers, such as "1" indicating that the second optical port 112 is in the state of having an optical signal, such as "0" indicating that the second optical port 112 is in the state of not having an optical signal .

进一步地,上述光网络单元的光口切换系统100实施例中,所述光线路终端120,具体还用于根据第二光口112的状态信息,判断第二光口112当前状态是否为有光信号的状态;当第二光口112当前状态为有光信号的状态,则表示第二光口112可用;当第二光口112当前状态为无光信号的状态,则表示第二光口112不可用。Further, in the above-mentioned embodiment of the optical port switching system 100 of the optical network unit, the optical line terminal 120 is specifically used to determine whether the current state of the second optical port 112 is optical or not according to the status information of the second optical port 112. The state of the signal; when the current state of the second optical port 112 is the state of optical signal, it means that the second optical port 112 is available; when the current state of the second optical port 112 is the state of no optical signal, it means that the second optical port 112 unavailable.

进一步地,上述光网络单元的光口切换系统100实施例中,所述第二光口112的状态信息为光线路终端120当前最近一次接收的第二光口112的状态信息。Further, in the above-mentioned embodiment of the optical port switching system 100 of the optical network unit, the state information of the second optical port 112 is the state information of the second optical port 112 currently received by the optical line terminal 120 last time.

上述光网络单元的光口切换系统100适用于一光线路终端120对应一光网络单元110的网络布局,也适用于一光线路终端120对应多个光网络单元110的网络布局。The ONU optical port switching system 100 described above is applicable to a network layout in which one OLT 120 corresponds to an ONU 110 , and is also applicable to a network layout in which an OLT 120 corresponds to a plurality of ONUs 110 .

上述光网络单元的光口切换系统100实施例,光网络单元通过工作光口定时向光线路终端120发送备用光口的状态信息,在工作光口故障时,光线路终端120确定备用光口可用后向光网络单元110光口切换指令,光网络单元110根据光口切换指令进行工作光口切换的方式,实现了光网络单元110的光口切换,保证了光网络单元110的正常工作,简化了光网络单元110的光口切换操作流程。In the above-mentioned embodiment of the optical port switching system 100 of the optical network unit, the optical network unit regularly sends the state information of the standby optical port to the optical line terminal 120 through the working optical port, and when the working optical port fails, the optical line terminal 120 determines that the standby optical port is available Backward to the optical network unit 110 optical port switching instruction, the optical network unit 110 performs the mode of working optical port switching according to the optical port switching instruction, which realizes the optical port switching of the optical network unit 110, ensures the normal operation of the optical network unit 110, and simplifies The optical port switching operation flow of the optical network unit 110 is shown.

下面以MDU(Multiple Dwelling Unit,多用户居住单元)类型的ONU为例来说明具体实现过程。The following uses an ONU of the MDU (Multiple Dwelling Unit, multi-user dwelling unit) type as an example to illustrate the specific implementation process.

1.光口状态布尔量的设计1. Design of Boolean quantity of optical port state

不同布尔量的不同组合可以表示ONU上不同光模块的不同状态,PON MAC芯片可以使用这些不同光模块对应的不同状态实现ONU的光口保护。每个光口有两个状态:工作状态ACT和光信号状态SD,因此这4个状态布尔量可分为2组,一组为PON_LT0_ACT和PON_LT0_SD,对应于工作(保护)光模块,而另一组为PON_LT1_ACT和PON_LT1_SD则对应于保护(工作)光模块。这2组状态布尔量由硬件复杂可编程逻辑器件CPLD提供,从板载支持包BSP接口从CPLD实时获取,这样对于非工作口来说,其SD状态可以由这2组状态布尔量的组合来确定。当PON_LT0在工作时,其(PON_LT0_ACT,PON_LT0_SD)值为(1,1),非工作口的PON_LT1_ACT为0,这时非工作口SD值即为PON_LT1_SD值,若SD值为0,则说明当前不能执行保护倒换功能,若SD值为1,则说明可以保护倒换。非工作口SD状态的布尔量数值见表1。Different combinations of different Boolean quantities can represent different states of different optical modules on the ONU, and the PON MAC chip can use the different states corresponding to these different optical modules to realize the optical port protection of the ONU. Each optical port has two states: working state ACT and optical signal state SD, so these 4 state booleans can be divided into 2 groups, one group is PON_LT0_ACT and PON_LT0_SD, corresponding to the working (protection) optical module, and the other group PON_LT1_ACT and PON_LT1_SD correspond to protection (working) optical modules. These two sets of state Booleans are provided by the hardware complex programmable logic device CPLD, and are obtained from the CPLD in real time from the on-board support package BSP interface, so that for non-working ports, the SD state can be determined by the combination of these two sets of state Booleans Sure. When PON_LT0 is working, its (PON_LT0_ACT, PON_LT0_SD) value is (1,1), and the PON_LT1_ACT of the non-working port is 0. At this time, the SD value of the non-working port is the PON_LT1_SD value. If the SD value is 0, it means that the current cannot Execute the protection switching function, if the SD value is 1, it means that the protection switching is possible. See Table 1 for the Boolean value of the SD state of the non-working port.

表1BSP接口提供实时状态Table 1 BSP interface provides real-time status

2.设计一个OMCI(ONT Management and Control Interface,ONT管理和控制接口)管理实体TypeC force data2. Design an OMCI (ONT Management and Control Interface, ONT Management and Control Interface) management entity TypeC force data

为了便于OLT与ONU进行消息交互,仍采用ITU-G.984.4规定的OMCI管理实体的形式,设计一个TypeC force data管理实体,其实体的属性line number表示光路序号,与对ONU与OLT的主备口进行保护倒换的设定参量line number相对应,这个管理实体通过属性值变化AVC(Attribute Value Change)消息来自动向OLT通报当前非工作口SD状态。In order to facilitate message interaction between OLT and ONU, a TypeC force data management entity is designed in the form of OMCI management entity specified in ITU-G.984.4. The attribute line number of the entity represents the optical path number, which is related to the master and backup of ONU and OLT Corresponding to the set parameter line number for protection switching of the port, this management entity automatically notifies the current non-working port SD status to the OLT through an attribute value change AVC (Attribute Value Change) message.

管理实体TypeC force data的属性说明:Attribute description of the management entity TypeC force data:

管理实体ID:0。(2字节)Managed Entity ID: 0. (2 bytes)

Inactive fiber status:非工作光口的状态,OLT用它来判定在强制保护条件发生时是否可以下发PST消息要求ONU切换到非工作光口。如果当前保护光口没有光信号时,置0,否则置1。(1字节)Inactive fiber status: The status of the non-working optical port, which is used by the OLT to determine whether a PST message can be sent to request the ONU to switch to the non-working optical port when the mandatory protection condition occurs. If the current protection optical port has no optical signal, set to 0, otherwise set to 1. (1 byte)

3.ONU光口切换3.ONU optical port switching

当ONU收到光口切换命令PLOAM消息族的PST消息时,表明非工作口是有光信号的,可以用BSP接口立即(纳秒级)切换到非工作口,也即line number对应的光口,line number值0或1分别代表OLT通过PST消息要求ONU切换到光模块1的光链路或光模块2的光链路。When the ONU receives the PST message of the optical port switching command PLOAM message family, it indicates that the non-working port has an optical signal, and the BSP interface can be used to immediately (nanosecond level) switch to the non-working port, that is, the optical port corresponding to the line number , the value of line number 0 or 1 indicates that the OLT requests the ONU to switch to the optical link of optical module 1 or the optical link of optical module 2 through a PST message, respectively.

本发明对应的各种实时状态参量可以由BSP从硬件GPIO或CPLD寄存器获取。Various real-time state parameters corresponding to the present invention can be acquired by the BSP from the hardware GPIO or CPLD register.

应当理解的是,以上仅为本发明的优选实施例,不能因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。It should be understood that the above are only preferred embodiments of the present invention, and cannot therefore limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made by using the description of the present invention and the contents of the accompanying drawings, or directly or indirectly used in Other relevant technical fields are all equally included in the patent protection scope of the present invention.

Claims (6)

1.一种光网络单元的光口切换方法,所述光网络单元包括当前为工作光口的第一光口和当前为备用光口的第二光口,其特征在于,包括步骤:1. a kind of optical port switching method of optical network unit, described optical network unit comprises the first optical port that is currently working optical port and the second optical port that is currently standby optical port, it is characterized in that, comprises steps: 第一光口定时向光线路终端发送第二光口的状态信息;The first optical port regularly sends status information of the second optical port to the optical line terminal; 当第一光口出现故障,光线路终端根据第二光口的状态信息判断第二光口当前是否可用;When the first optical port fails, the optical line terminal judges whether the second optical port is currently available according to the state information of the second optical port; 当第二光口当前可用,则光线路终端通过第一光口向光网络单元发送光口切换指令;When the second optical port is currently available, the optical line terminal sends an optical port switching instruction to the optical network unit through the first optical port; 光网络单元根据光口切换指令获取第二光口的序号,基于第二光口的序号将当前的工作光口切换为第二光口,并置第一光口为备用光口;The optical network unit acquires the serial number of the second optical port according to the optical port switching instruction, switches the current working optical port to the second optical port based on the serial number of the second optical port, and sets the first optical port as a backup optical port; 其中,所述光线路终端根据第二光口的状态信息判断第二光口是否可用具体为:Wherein, the optical line terminal judges whether the second optical port is available according to the status information of the second optical port as follows: 光线路终端根据第二光口的状态信息,判断第二光口当前状态是否为有光信号的状态;The optical line terminal judges whether the current state of the second optical port is a state of having an optical signal according to the state information of the second optical port; 当第二光口当前状态为有光信号的状态,则表示第二光口可用;When the current state of the second optical port is the state of optical signal, it means that the second optical port is available; 所述第二光口的状态信息为光线路终端当前最近一次接收的第二光口的状态信息。The state information of the second optical port is the state information of the second optical port currently received by the optical line terminal last time. 2.根据权利要求1所述的光网络单元的光口切换方法,其特征在于,所述光线路终端通过以下方式判断第一光口是否出现故障:2. The optical port switching method of the optical network unit according to claim 1, wherein the optical line terminal judges whether the first optical port fails in the following manner: 光线路终端在接收到第二光口的状态信息后,启动定时计时功能,判断设定时间内是否接收到下一第二光口的状态信息;若否,则表明第一光口出现故障;若是,则表明第一光口正常。After receiving the state information of the second optical port, the optical line terminal starts the timing function to judge whether the state information of the next second optical port is received within the set time; if not, it indicates that the first optical port is faulty; If yes, it indicates that the first optical port is normal. 3.根据权利要求1或2所述的光网络单元的光口切换方法,其特征在于,当第二光口当前状态为无光信号的状态,则表示第二光口不可用。3. The optical port switching method of the optical network unit according to claim 1 or 2, wherein when the current state of the second optical port is a state of no optical signal, it means that the second optical port is unavailable. 4.一种光网络单元的光口切换系统,其特征在于,包括光网络单元和光线路终端;所述光网络单元包括当前为工作光口的第一光口和当前为备用光口的第二光口;4. An optical port switching system of an optical network unit, characterized in that it comprises an optical network unit and an optical line terminal; the optical network unit comprises a first optical port that is currently a working optical port and a second optical port that is currently a standby optical port Optical port; 第一光口,用于定时向光线路终端发送第二光口的状态信息;The first optical port is used to regularly send status information of the second optical port to the optical line terminal; 光线路终端,用于当第一光口故障,根据第二光口的状态信息判断第二光口当前是否可用;以及当第二光口当前可用,则光线路终端通过第一光口向光网络单元发送光口切换指令;The optical line terminal is used to determine whether the second optical port is currently available according to the state information of the second optical port when the first optical port fails; The network unit sends an optical port switching command; 光网络单元,用于根据光口切换指令获取第二光口的序号,基于第二光口的序号将当前的工作光口切换为第二光口,并置第一光口为备用光口;The optical network unit is used to obtain the serial number of the second optical port according to the optical port switching instruction, switch the current working optical port to the second optical port based on the serial number of the second optical port, and set the first optical port as a backup optical port; 其中,所述光线路终端,具体还用于根据第二光口的状态信息,判断第二光口当前状态是否为有光信号的状态;当第二光口当前状态为有光信号的状态,则表示第二光口可用;所述第二光口的状态信息为光线路终端当前最近一次接收的第二光口的状态信息。Wherein, the optical line terminal is specifically further configured to judge whether the current state of the second optical port is a state with an optical signal according to the state information of the second optical port; when the current state of the second optical port is a state with an optical signal, It means that the second optical port is available; the status information of the second optical port is the status information of the second optical port currently received by the optical line terminal last time. 5.根据权利要求4所述的光网络单元的光口切换系统,其特征在于,5. The optical port switching system of the optical network unit according to claim 4, characterized in that, 所述光线路终端,具体还用于在接收到第二光口的状态信息后,启动定时计时功能,判断设定时间内是否收到下一第二光口的状态信息,若否,则表明第一光口出现故障;若是,则表明第一光口正常。The optical line terminal is also specifically used to start the timer function after receiving the status information of the second optical port, and judge whether the status information of the next second optical port is received within the set time, and if not, it indicates The first optical port fails; if so, it indicates that the first optical port is normal. 6.根据权利要求4或5所述的光网络单元的光口切换系统,其特征在于,当第二光口当前状态为无光信号的状态,则表示第二光口不可用。6. The optical port switching system of the optical network unit according to claim 4 or 5, wherein when the current state of the second optical port is a state of no optical signal, it means that the second optical port is unavailable.
CN201110210914.7A 2011-07-26 2011-07-26 The optical port changing method and system of optical network unit Expired - Fee Related CN102263587B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201110210914.7A CN102263587B (en) 2011-07-26 2011-07-26 The optical port changing method and system of optical network unit
PCT/CN2012/072854 WO2012155671A1 (en) 2011-07-26 2012-03-22 Optical port switchover method and system of optical network unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110210914.7A CN102263587B (en) 2011-07-26 2011-07-26 The optical port changing method and system of optical network unit

Publications (2)

Publication Number Publication Date
CN102263587A CN102263587A (en) 2011-11-30
CN102263587B true CN102263587B (en) 2017-07-14

Family

ID=45010070

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110210914.7A Expired - Fee Related CN102263587B (en) 2011-07-26 2011-07-26 The optical port changing method and system of optical network unit

Country Status (2)

Country Link
CN (1) CN102263587B (en)
WO (1) WO2012155671A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109450527A (en) * 2018-10-24 2019-03-08 中国电信股份有限公司广东传送网络运营中心 Failure determination method, device, computer equipment and storage medium

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102263587B (en) * 2011-07-26 2017-07-14 中兴通讯股份有限公司 The optical port changing method and system of optical network unit
CN104040914A (en) * 2012-11-12 2014-09-10 华为技术有限公司 Communication method, system and device of optical network system
CN105103475B (en) * 2014-03-05 2017-05-24 华为技术有限公司 Method, device and system for link switching
CN103974152B (en) * 2014-05-29 2017-06-23 国家电网公司 A kind of optical-fiber network allocation unit
CN113382324B (en) * 2021-08-12 2021-11-23 武汉西迪特通信技术有限公司 Method capable of switching GPON and EPON modes and dual-mode OLT head-end equipment

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101282586A (en) * 2008-05-15 2008-10-08 杭州华三通信技术有限公司 Method, system and apparatus for detecting optical fiber fault in passive optical network

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101150361B (en) * 2006-09-20 2011-06-22 北京格林威尔科技发展有限公司 A method and system for realizing fully protective switching in passive optical network
CN101166069A (en) * 2007-09-05 2008-04-23 中兴通讯股份有限公司 Optical module automatic switching method and system for optical transmission network
CN101656573A (en) * 2009-09-07 2010-02-24 中兴通讯股份有限公司 Method and optical line terminal for protecting passive optical network service
JP5490517B2 (en) * 2009-12-24 2014-05-14 日本電信電話株式会社 Optical communication system, optical communication method, and OLT
CN101877612B (en) * 2010-06-30 2014-12-31 中兴通讯股份有限公司 System for protecting optical link of passive optical network, device thereof and method thereof
CN102594444B (en) * 2011-01-18 2015-10-21 中兴通讯股份有限公司 A kind of method and system realizing full protection modes
CN102263587B (en) * 2011-07-26 2017-07-14 中兴通讯股份有限公司 The optical port changing method and system of optical network unit

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101282586A (en) * 2008-05-15 2008-10-08 杭州华三通信技术有限公司 Method, system and apparatus for detecting optical fiber fault in passive optical network

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109450527A (en) * 2018-10-24 2019-03-08 中国电信股份有限公司广东传送网络运营中心 Failure determination method, device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN102263587A (en) 2011-11-30
WO2012155671A1 (en) 2012-11-22

Similar Documents

Publication Publication Date Title
CN101877612B (en) System for protecting optical link of passive optical network, device thereof and method thereof
TWI430594B (en) Method and system for protection switching in ethernet passive optical networks
CN101867392B (en) Method, equipment and system for improving type B protection switching performance
CN101895791B (en) Protection switching method and device in Ethernet passive optical network
JP5460886B2 (en) Logical link management method and communication apparatus
BR112014026001B1 (en) Optical line terminal device and method of implementation thereof
WO2012119439A1 (en) Data communication method in optical network system, and optical network unit and system
CN102263587A (en) Optical interface switching method of ONU and system thereof
CN202634436U (en) Passive optical network communication system with uplink and downlink ports possessing complete self-healing protection function
CN102594444B (en) A kind of method and system realizing full protection modes
CN104954065B (en) A kind of passive optical network and communication means
CN103414510A (en) EPON protection device and method
CN101895797B (en) Method and device for realizing all-fiber protection
CN108092709B (en) Protection switching method in passive optical network, optical line terminal and optical network device
CN102487466B (en) The method and system of the transmission data under a kind of full guard pattern in EPON
WO2011094990A1 (en) Method and system for path switching and method for transmitting downlink data
CN102740171B (en) A kind of EPON loop detecting method and system
JP6829023B2 (en) Communication equipment, information notification method and computer program
CN106452565A (en) Double-PON double-MAC protection power collection device and working method thereof
CN101908931B (en) The method and system of protection switching of optical transmission equipment
WO2010020174A1 (en) Protection method and system with shared sub-wavelength path implemented by electric-cross mode
CN107359932A (en) Double fiber links protect ONU systems
JP5640877B2 (en) Communication system, master station device, and communication line switching method
CN104601216A (en) Communication device protection device
CN103974152A (en) Optical network distribution unit

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20171017

Address after: 510000 unit 2414-2416, building, No. five, No. 371, Tianhe District, Guangdong, China

Patentee after: GUANGDONG GAOHANG INTELLECTUAL PROPERTY OPERATION Co.,Ltd.

Address before: 518057 Nanshan District Guangdong high tech Industrial Park, South Road, science and technology, ZTE building, Ministry of Justice

Patentee before: ZTE Corp.

CB03 Change of inventor or designer information

Inventor after: Yang Yuandan

Inventor before: Wang Zhihui

CB03 Change of inventor or designer information
TR01 Transfer of patent right

Effective date of registration: 20171020

Address after: 200000 building 218, No. 1, West Tianmu Road, Shanghai, Jingan District, 21

Patentee after: SHANGHAI FUTIAN QUANTUM TECHNOLOGY Co.,Ltd.

Address before: 510000 unit 2414-2416, building, No. five, No. 371, Tianhe District, Guangdong, China

Patentee before: GUANGDONG GAOHANG INTELLECTUAL PROPERTY OPERATION Co.,Ltd.

TR01 Transfer of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170714

CF01 Termination of patent right due to non-payment of annual fee