[go: up one dir, main page]

CN104243020A - Optical module matching detection method and optical module matching detection device - Google Patents

Optical module matching detection method and optical module matching detection device Download PDF

Info

Publication number
CN104243020A
CN104243020A CN201410522817.5A CN201410522817A CN104243020A CN 104243020 A CN104243020 A CN 104243020A CN 201410522817 A CN201410522817 A CN 201410522817A CN 104243020 A CN104243020 A CN 104243020A
Authority
CN
China
Prior art keywords
optical module
receiving
sending
wavelength information
wavelength
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.)
Pending
Application number
CN201410522817.5A
Other languages
Chinese (zh)
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.)
Beijing Huawei Digital Technologies Co Ltd
Original Assignee
Beijing Huawei Digital Technologies Co Ltd
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 Beijing Huawei Digital Technologies Co Ltd filed Critical Beijing Huawei Digital Technologies Co Ltd
Priority to CN201410522817.5A priority Critical patent/CN104243020A/en
Publication of CN104243020A publication Critical patent/CN104243020A/en
Pending legal-status Critical Current

Links

Landscapes

  • Optical Communication System (AREA)

Abstract

An embodiment of the invention provides an optical module matching detection method and an optical module matching detection device. A sending end sends wavelength information of a sending optical module to a receiving end, the receiving end detects whether the sending optical module is matched with a receiving optical module or not according to the wavelength information and a receiving wavelength range of the receiving optical module, and accordingly mismatching of the sending optical module and the receiving optical module can be detected timely.

Description

检测光模块匹配的方法和装置Method and device for detecting optical module matching

技术领域 technical field

本发明实施例涉及通信技术,尤其涉及一种检测光模块匹配的方法和装置。  Embodiments of the present invention relate to communication technologies, and in particular to a method and device for detecting matching of optical modules. the

背景技术 Background technique

随着通信技术的飞速发展,为了提高传输速率,光纤已被广泛应用于通信领域。  With the rapid development of communication technology, in order to increase the transmission rate, optical fiber has been widely used in the field of communication. the

光纤的两端分别具有发送光模块和接收光模块,当发送光模块发送的光信号的波长在接收光模块的接收的波长范围内时,接收光模块才能成功接收发送光模块发送的光信号。现有技术中,通过规划的方式使得发送光模块与接收光模块匹配,发送光模块与接收光模块匹配是指发送光模块发送的光信号的波长在接收光模块结合搜的波长范围内,从而保证接收光模块能够成功接收发送光模块发送的信号。  Both ends of the optical fiber have a sending optical module and a receiving optical module respectively. When the wavelength of the optical signal sent by the sending optical module is within the wavelength range received by the receiving optical module, the receiving optical module can successfully receive the optical signal sent by the sending optical module. In the prior art, the sending optical module is matched with the receiving optical module through planning. The matching between the sending optical module and the receiving optical module means that the wavelength of the optical signal sent by the sending optical module is within the wavelength range of the combination of the receiving optical module, so that Ensure that the receiving optical module can successfully receive the signal sent by the sending optical module. the

然而,采用现有技术的方法,如果规划不严密,容易出现发送光模块与接收光模块的不匹配,无法及时发现光模块的不匹配。  However, if the method in the prior art is used, if the planning is not strict, the mismatch between the sending optical module and the receiving optical module is likely to occur, and the mismatch of the optical modules cannot be found in time. the

发明内容 Contents of the invention

本发明实施例提供一种检测光模块匹配的方法和装置,以检测发送光模块和接收光模块是否匹配。  Embodiments of the present invention provide a method and device for detecting matching of optical modules, so as to detect whether the sending optical module and the receiving optical module match. the

本发明实施例第一方面提供一种检测光模块匹配的方法,包括:  The first aspect of the embodiment of the present invention provides a method for detecting optical module matching, including:

发送端向接收端发送发送光模块的波长信息,以使接收端根据所述波长信息和接收光模块的接收波长范围检测所述发送光模块与所述接收光模块是否匹配。  The sending end sends the wavelength information of the sending optical module to the receiving end, so that the receiving end detects whether the sending optical module matches the receiving optical module according to the wavelength information and the receiving wavelength range of the receiving optical module. the

结合第一方面,在第一种可能的实现方式中,所述发送端向接收端发送发送光模块的波长信息,包括:  In combination with the first aspect, in a first possible implementation, the sending end sends the wavelength information of the sending optical module to the receiving end, including:

所述发送端通过将所述波长信息封装在报文中向所述接收端发送所述波 长信息;或者,  The sending end sends the wavelength information to the receiving end by encapsulating the wavelength information in a message; or,

所述发送端通过自协商码流向所述接收端发送所述波长信息;或者,  The sending end sends the wavelength information to the receiving end through a self-negotiation code stream; or,

所述发送端通过报文帧间隙向所述接收端发送所述波长信息;或者,  The sending end sends the wavelength information to the receiving end through a message frame gap; or,

所述发送端通过将所述波长信息封装在开销字节中向所述接收端发送所述波长信息。  The sending end sends the wavelength information to the receiving end by encapsulating the wavelength information in an overhead byte. the

结合第一方面或第一方面的第一种可能的实现方式,在第二种可能的实现方式中,所述波长信息为波长值或者波长范围。  With reference to the first aspect or the first possible implementation manner of the first aspect, in a second possible implementation manner, the wavelength information is a wavelength value or a wavelength range. the

结合第一方面或第一方面的第一种至第二种可能的实现方式中任一种可能的实现方式,在第三种可能的实现方式中,所述发送端向接收端发送发送光模块的波长信息,包括:  In combination with the first aspect or any of the first to second possible implementations of the first aspect, in a third possible implementation, the sending end sends the sending optical module to the receiving end wavelength information, including:

所述发送端在接口上线UP时,向接收端发送所述发送光模块的波长信息;或者,  The sending end sends the wavelength information of the sending optical module to the receiving end when the interface goes online UP; or,

所述发送端以预设时间间隔向接收端发送所述发送光模块的波长信息。  The sending end sends the wavelength information of the sending optical module to the receiving end at a preset time interval. the

本发明实施例第二方面提供一种检测光模块匹配的方法,接收端接收发送端发送的发送光模块的波长信息;  The second aspect of the embodiment of the present invention provides a method for detecting optical module matching, the receiving end receives the wavelength information of the sending optical module sent by the sending end;

所述接收端根据所述波长信息和接收光模块的接收波长范围检测所述发送光模块与所述接收光模块是否匹配。  The receiving end detects whether the sending optical module matches the receiving optical module according to the wavelength information and the receiving wavelength range of the receiving optical module. the

结合第二方面,在第一种可能的实现方式中,所述接收端根据所述波长信息和接收光模块的接收波长范围检测所述发送光模块与所述接收光模块是否匹配,包括:  With reference to the second aspect, in a first possible implementation manner, the receiving end detects whether the sending optical module matches the receiving optical module according to the wavelength information and the receiving wavelength range of the receiving optical module, including:

若所述波长信息在所述接收光模块的接收波长范围内,确定所述发送光模块与所述接收光模块匹配;  If the wavelength information is within the receiving wavelength range of the receiving optical module, determine that the sending optical module matches the receiving optical module;

若所述波长信息不在所述接收光模块的接收波长范围内,确定所述发送光模块与所述接收光模块不匹配。  If the wavelength information is not within the receiving wavelength range of the receiving optical module, it is determined that the sending optical module does not match the receiving optical module. the

结合第二方面的第一种可能的实现方式,在第二种可能的实现方式中,所述若所述波长信息不在所述接收光模块的接收波长范围内,确定所述发送光模块与所述接收光模块不匹配之后,还包括:  With reference to the first possible implementation manner of the second aspect, in a second possible implementation manner, if the wavelength information is not within the receiving wavelength range of the receiving optical module, determine the After the receiving optical module does not match, it also includes:

所述接收端通知用户所述发送光模块与所述接收光模块不匹配。  The receiving end notifies the user that the sending optical module does not match the receiving optical module. the

结合第二方面的第二种可能的实现方式,在第三种可能的实现方式中,所述接收端通知用户所述发送光模块与所述接收光模块不匹配,包括:  In combination with the second possible implementation of the second aspect, in a third possible implementation, the receiving end notifies the user that the sending optical module does not match the receiving optical module, including:

所述接收端通过命令行通知用户所述发送光模块与所述接收光模块不匹配;或者,  The receiving end notifies the user through the command line that the sending optical module does not match the receiving optical module; or,

所述接收端通过告警通知用户所述发送光模块与所述接收光模块不匹配。  The receiving end notifies the user that the sending optical module does not match the receiving optical module through an alarm. the

本发明实施例第三方面提供一种检测光模块匹配的装置,包括:  The third aspect of the embodiment of the present invention provides a device for detecting optical module matching, including:

发送单元,用于向接收端发送发送光模块的波长信息,以使接收端根据所述波长信息和接收光模块的接收波长范围检测所述发送光模块与所述接收光模块是否匹配。  The sending unit is configured to send the wavelength information of the sending optical module to the receiving end, so that the receiving end detects whether the sending optical module matches the receiving optical module according to the wavelength information and the receiving wavelength range of the receiving optical module. the

结合第三方面,在第一种可能的实现方式中,所述发送单元具体用于通过将所述波长信息封装在报文中向所述接收端发送所述光信号的波长信息;或者,  With reference to the third aspect, in a first possible implementation manner, the sending unit is specifically configured to send the wavelength information of the optical signal to the receiving end by encapsulating the wavelength information in a message; or,

所述发送单元具体用于通过自协商码流向所述接收端发送所述波长信息;或者,  The sending unit is specifically configured to send the wavelength information to the receiving end through a self-negotiation code stream; or,

所述发送单元具体用于通过报文帧间隙向所述接收端发送所述波长信息;或者,  The sending unit is specifically configured to send the wavelength information to the receiving end through a message frame gap; or,

所述发送单元具体用于通过将所述波长信息封装在开销字节中向所述接收光模块发送所述波长信息。  The sending unit is specifically configured to send the wavelength information to the receiving optical module by encapsulating the wavelength information in an overhead byte. the

结合第三方面或第三方面的第一种可能的实现方式,在第二种可能的实现方式中,所述波长信息为波长值或者波长范围。  With reference to the third aspect or the first possible implementation manner of the third aspect, in a second possible implementation manner, the wavelength information is a wavelength value or a wavelength range. the

结合第三方面或第三方面的第一种至第二种可能的实现方式中任一种可能的实现方式,在第三种可能的实现方式中,所述发送单元具体用于在接口上线UP时,向接收端发送所述发送光模块的波长信息;或者,  In combination with the third aspect or any one of the first to second possible implementations of the third aspect, in the third possible implementation, the sending unit is specifically configured to go online on the interface , send the wavelength information of the sending optical module to the receiving end; or,

所述发送单元具体用于以预设时间间隔向接收端发送所述发送光模块的波长信息。  The sending unit is specifically configured to send the wavelength information of the sending optical module to the receiving end at a preset time interval. the

本发明实施例第四方面提供一种检测光模块匹配的装置,包括:  The fourth aspect of the embodiment of the present invention provides a device for detecting optical module matching, including:

接收单元,用于接收发送端发送的发送光模块的波长信息;  The receiving unit is used to receive the wavelength information of the sending optical module sent by the sending end;

处理单元,用于根据所述波长信息和接收光模块的接收波长范围检测所述发送光模块与所述接收光模块是否匹配。  A processing unit, configured to detect whether the sending optical module matches the receiving optical module according to the wavelength information and the receiving wavelength range of the receiving optical module. the

结合第四方面,在第一种可能的实现方式中,所述处理单元具体用于若所述波长信息在所述接收光模块的接收波长范围内,确定所述发送光模块与 所述接收光模块匹配;若所述波长信息不在所述接收光模块的接收波长范围内,确定所述发送光模块与所述接收光模块不匹配。  With reference to the fourth aspect, in a first possible implementation manner, the processing unit is specifically configured to, if the wavelength information is within the receiving wavelength range of the receiving optical module, determine whether the transmitting optical module and the receiving optical module Module matching; if the wavelength information is not within the receiving wavelength range of the receiving optical module, determine that the sending optical module does not match the receiving optical module. the

结合第四方面的第一种可能的实现方式,在第二种可能的实现方式中,所述装置还包括:通知单元,用于通知用户所述发送光模块与所述接收光模块不匹配。  With reference to the first possible implementation manner of the fourth aspect, in a second possible implementation manner, the device further includes: a notification unit, configured to notify a user that the sending optical module does not match the receiving optical module. the

结合第四方面的第二种可能的实现方式,在第三种可能的实现方式中,所述通知单元具体用于通过命令行通知用户所述发送光模块与所述接收光模块不匹配;或者,  With reference to the second possible implementation of the fourth aspect, in a third possible implementation, the notification unit is specifically configured to notify the user that the sending optical module does not match the receiving optical module through a command line; or ,

所述通知单元具体用于通过告警通知用户所述发送光模块与所述接收光模块不匹配。  The notification unit is specifically configured to notify the user that the sending optical module does not match the receiving optical module through an alarm. the

本发明实施例提供的检测光模块匹配的方法和装置,通过发送端向接收端发送发送光模块的波长信息,接收端根据上述波长信息和接收光模块的接收波长范围检测发送光模块与接收光模块是否匹配,从而,及时发现发送光模块与接收光模块的不匹配情况。  The method and device for detecting optical module matching provided by the embodiments of the present invention send the wavelength information of the transmitting optical module to the receiving end through the transmitting end, and the receiving end detects the transmitting optical module and the receiving optical module according to the wavelength information and the receiving wavelength range of the receiving optical module. Whether the modules match, so that the mismatch between the sending optical module and the receiving optical module can be found in time. the

附图说明 Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。  In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained according to these drawings without any creative effort. the

图1为本发明一种检测光模块匹配的方法实施例的流程示意图;  Fig. 1 is a schematic flow diagram of a method embodiment for detecting optical module matching of the present invention;

图2为本发明又一种检测光模块匹配的方法实施例的流程示意图;  Fig. 2 is a schematic flow diagram of another method embodiment for detecting optical module matching of the present invention;

图3为本发明检测光模块匹配的装置实施例一的结构示意图;  Fig. 3 is a structural schematic diagram of Embodiment 1 of a device for detecting optical module matching in the present invention;

图4为本发明检测光模块匹配的装置实施例二的结构示意图;  Figure 4 is a schematic structural diagram of Embodiment 2 of the device for detecting optical module matching in the present invention;

图5为本发明检测光模块匹配的装置实施例三的结构示意图。  FIG. 5 is a schematic structural diagram of Embodiment 3 of the device for detecting optical module matching according to the present invention. the

具体实施方式 Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做 出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。  The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative work, all belong to the protection scope of the present invention. the

本发明通过发送端向接收端发送发送光模块的波长信息,接收端根据上述波长信息和接收光模块的接收波长范围检测发送光模块与接收光模块是否匹配,从而,实现及时发现发送光模块与接收光模块的不匹配情况。若不匹配,向用户通知不匹配情况,以使用户及时对光模块进行匹配处理。  The present invention transmits the wavelength information of the transmitting optical module to the receiving end through the transmitting end, and the receiving end detects whether the transmitting optical module matches the receiving optical module according to the above wavelength information and the receiving wavelength range of the receiving optical module, thereby realizing timely discovery of the transmitting optical module and the receiving optical module. The mismatch of the receiving optical module. If not, notify the user of the mismatch, so that the user can match the optical module in time. the

下面以具体地实施例对本发明的技术方案进行详细说明。下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例不再赘述。  The technical solution of the present invention will be described in detail below with specific embodiments. The following specific embodiments may be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. the

实施例一:  Embodiment one:

本发明提供一种检测光模块匹配的方法的实施例,该实施例中以发送端为执行主体,具体地,发送端可以是发送光模块本身,也可以是发送光模块所插入的设备,通过发送端向接收端发送发送光模块的波长信息,以使接收端根据上述波长信息和接收光模块的接收波长范围检测发送光模块与接收光模块是否匹配。  The present invention provides an embodiment of a method for detecting optical module matching. In this embodiment, the sending end is used as the execution subject. Specifically, the sending end may be the sending optical module itself, or a device into which the sending optical module is inserted. The sending end sends the wavelength information of the sending optical module to the receiving end, so that the receiving end detects whether the sending optical module matches the receiving optical module according to the wavelength information and the receiving wavelength range of the receiving optical module. the

其中,波长信息可以是波长值或者波长范围,通常为波长值。  Wherein, the wavelength information may be a wavelength value or a wavelength range, usually a wavelength value. the

在上述实施例中,发送端向接收端发送上述波长信息可以通过下述几种方式但不限于下述几种方式:  In the above embodiment, the sending end can send the above wavelength information to the receiving end in the following ways but not limited to the following ways:

第一种方式为:将波长信息封装在报文中向接收端发送所述波长信息。具体地,可以是链路层发现协议(Link Layer Discovery Protocol,以下简称:LLDP)报文。  The first manner is: encapsulating the wavelength information in a message and sending the wavelength information to the receiving end. Specifically, it may be a link layer discovery protocol (Link Layer Discovery Protocol, hereinafter referred to as: LLDP) message. the

第二种方式为:通过自协商码流向接接收端发送所述波长信息。  The second way is: sending the wavelength information to the receiving end through the self-negotiation code stream. the

第三种方式为:通过报文帧间隙向接收端发送所述波长信息。  The third manner is: sending the wavelength information to the receiving end through a message frame gap. the

第四种方式为:通过将波长信息封装在开销字节中向接收端发送上述波长信息。具体地,可以是同步数字体系(Synchronous Digital Hierarchy,以下简称:SDH)开销字节向接收端发送上述波长信息。  The fourth manner is: sending the wavelength information to the receiving end by encapsulating the wavelength information in an overhead byte. Specifically, the above-mentioned wavelength information may be sent to the receiving end by a Synchronous Digital Hierarchy (Synchronous Digital Hierarchy, hereinafter referred to as: SDH) overhead byte. the

其中,第一种方式为传输层协议,第二种和第三种方式为物理层协议。对于具体地采用何种发送方式本发明不作限制。  Wherein, the first method is a transport layer protocol, and the second and third methods are physical layer protocols. The present invention does not limit the specific sending manner. the

相应地,接收端通过上述方式接收上述波长信息。  Correspondingly, the receiving end receives the wavelength information in the above manner. the

在上述实施例中,发送端可以在接口上线(UP)时,向接收端发送发送光模块的波长信息,也就是,只在最开始发送一次,开销较小。发送端还可 以以预设时间间隔向接收端发送发送光模块的波长信息,其中,预设时间间隔可以是相同的也可以是不同的,当预设时间间隔相同时,即周期性地发送。对此,本发明不作限制。  In the above embodiment, the sending end may send the wavelength information of the sending optical module to the receiving end when the interface goes online (UP), that is, only send once at the beginning, and the overhead is relatively small. The sending end can also send the wavelength information of the sending optical module to the receiving end at preset time intervals, where the preset time intervals can be the same or different, and when the preset time intervals are the same, it is sent periodically . In this regard, the present invention is not limited. the

本实施例,通过发送端向接收端发送发送光模块的波长信息,接收端根据上述波长信息和接收光模块的接收波长范围检测发送光模块与接收光模块是否匹配,从而,及时发现发送光模块与接收光模块的不匹配情况。针对复杂的现网环境,采用本实施例的技术方案,能够及时发送光模块不匹配的情况,降低光模块不匹配造成的损失。  In this embodiment, the transmitting end sends the wavelength information of the transmitting optical module to the receiving end, and the receiving end detects whether the transmitting optical module matches the receiving optical module according to the above wavelength information and the receiving wavelength range of the receiving optical module, thereby discovering the transmitting optical module in time Mismatch with the receiving optical module. For the complex live network environment, adopting the technical solution of this embodiment can timely send the situation that the optical module does not match, and reduce the loss caused by the optical module mismatch. the

实施例二:  Embodiment two:

本发明还提供一种检测光模块匹配的方法的实施例,本实施例的执行主体是接收端,接收端具体可以是接收光模块本身,也可以是接收光模块所插入的设备,图1为本发明一种检测光模块匹配的方法实施例的流程示意图,如图1所示,本实施例的方法如下:  The present invention also provides an embodiment of a method for detecting optical module matching. The execution subject of this embodiment is the receiving end, and the receiving end may specifically be the receiving optical module itself, or a device into which the receiving optical module is inserted, as shown in FIG. 1 A schematic flow diagram of an embodiment of a method for detecting optical module matching in the present invention, as shown in Figure 1, the method of this embodiment is as follows:

S101:接收端接收发送端发送的发送光模块的波长信息。  S101: The receiving end receives the wavelength information of the sending optical module sent by the sending end. the

S102:接收端根据上述波长信息和接收光模块的接收波长范围检测发送光模块与接收光模块是否匹配。  S102: The receiving end detects whether the sending optical module matches the receiving optical module according to the wavelength information and the receiving wavelength range of the receiving optical module. the

具体地,若上述波长信息在接收光模块的接收波长范围内,确定发送光模块与接收光模块匹配;若上述波长信息不在接收光模块的接收波长范围内,确定发送光模块与接收光模块不匹配。  Specifically, if the above wavelength information is within the receiving wavelength range of the receiving optical module, it is determined that the transmitting optical module matches the receiving optical module; if the above wavelength information is not within the receiving wavelength range of the receiving optical module, it is determined that the transmitting optical module and the receiving optical module are not match. the

若接收端确定发送光模块与接收光模块不匹配,接收端则通知用户发送光模块与接收光模块不匹配。  If the receiving end determines that the sending optical module does not match the receiving optical module, the receiving end notifies the user that the sending optical module does not match the receiving optical module. the

具体地,接收端可以通过命令行、告警、指示灯、声音、文本等方式通知用户发送光模块与接收光模块不匹配,本发明对此不作限制。  Specifically, the receiving end may notify the user that the sending optical module does not match the receiving optical module through command lines, alarms, indicator lights, sounds, texts, etc., which is not limited in the present invention. the

本实施例,通过接收端接收发送端发送的光模块的波长信息,接收端根据上述波长信息和接收光模块的接收波长范围检测发送光模块与接收光模块是否匹配,从而,及时发现发送光模块与接收光模块的不匹配情况。针对复杂的现网环境,采用本实施例的技术方案,能够及时发送光模块不匹配的情况,降低光模块不匹配造成的损失。  In this embodiment, the receiving end receives the wavelength information of the optical module sent by the sending end, and the receiving end detects whether the sending optical module matches the receiving optical module according to the wavelength information and the receiving wavelength range of the receiving optical module, so that the sending optical module can be found in time Mismatch with the receiving optical module. For the complex live network environment, adopting the technical solution of this embodiment can timely send the situation that the optical module does not match, and reduce the loss caused by the optical module mismatch. the

实施例三:  Embodiment three:

图2为本发明又一种检测光模块匹配的方法实施例的流程示意图,本实 施例是发送端和接收端的交互示意图,如图2所示,本实施例的方法如下:  Fig. 2 is a schematic flow diagram of another embodiment of a method for detecting optical module matching in the present invention. This embodiment is a schematic diagram of the interaction between the sending end and the receiving end. As shown in Fig. 2, the method of this embodiment is as follows:

S201:发送端向接收端发送上述发送光模块的波长信息。  S201: The sending end sends the wavelength information of the sending optical module to the receiving end. the

具体地,参见实施例一的详细描述。  Specifically, refer to the detailed description of Embodiment 1. the

S202:接收端根据上述波长信息和接收光模块的接收波长范围检测发送光模块与接收光模块是否匹配。  S202: The receiving end detects whether the sending optical module matches the receiving optical module according to the wavelength information and the receiving wavelength range of the receiving optical module. the

具体地,参见实施例二的S102详细描述。  Specifically, refer to the detailed description of S102 in Embodiment 2. the

本实施例的技术效果与实施例一和实施例二的技术效果类似,此处不再赘述。  The technical effects of this embodiment are similar to those of Embodiment 1 and Embodiment 2, and will not be repeated here. the

如果执行上述方法步骤的开关默认为关闭状态,在执行上述各方法实施例之前,还可以包括:开启执行上述方法的步骤的开关。当然,也可以是默认开启状况,则无需执行开启的动作。  If the switch for performing the steps of the above method is turned off by default, before performing the above method embodiments, the method may further include: turning on the switch for performing the steps of the above method. Of course, it can also be enabled by default, and there is no need to execute the action of enabling. the

图3为本发明检测光模块匹配的装置实施例一的结构示意图,所述检测光模块匹配的装置为发送光模块或者发送光模块所插入的设备,如图3所示,本实施例的装置包括发送单元,其中,发送单元用于向接收端发送发送光模块的波长信息,以使接收端根据所述波长信息和接收光模块的接收波长范围检测所述发送光模块与所述接收光模块是否匹配。  Figure 3 is a schematic structural diagram of Embodiment 1 of the device for detecting optical module matching in the present invention. The device for detecting optical module matching is a sending optical module or a device into which a sending optical module is inserted. As shown in Figure 3, the device of this embodiment It includes a sending unit, wherein the sending unit is used to send the wavelength information of the sending optical module to the receiving end, so that the receiving end detects the sending optical module and the receiving optical module according to the wavelength information and the receiving wavelength range of the receiving optical module Does it match. the

在上述实施例中,所述发送单元具体用于通过将所述波长信息封装在报文中向所接收端发送所述光信号的波长信息;或者,所述发送单元具体用于通过自协商码流向所述接收端发送所述波长信息;或者,所述发送单元具体用于通过报文帧间隙向所述接收端发送所述波长信息;所述发送单元具体用于通过将所述波长信息封装在开销字节中向所述接收光模块发送所述波长信息。  In the above embodiment, the sending unit is specifically configured to send the wavelength information of the optical signal to the receiving end by encapsulating the wavelength information in a message; or, the sending unit is specifically configured to Send the wavelength information to the receiving end; or, the sending unit is specifically configured to send the wavelength information to the receiving end through a message frame gap; the sending unit is specifically configured to encapsulate the wavelength information sending the wavelength information to the receiving optical module in an overhead byte. the

在上述实施例中,所述波长信息为波长值或者波长范围。  In the above embodiments, the wavelength information is a wavelength value or a wavelength range. the

在上述实施例中,所述发送单元具体用于在接口上线UP时,向接收端发送所述发送光模块的波长信息;或者,所述发送单元具体用于以预设时间间隔向接收端发送所述发送光模块的波长信息。  In the above embodiment, the sending unit is specifically configured to send the wavelength information of the sending optical module to the receiving end when the interface goes online UP; or, the sending unit is specifically used to send the wavelength information of the sending optical module to the receiving end at a preset time interval. The wavelength information of the sending optical module. the

本实施例的装置,可用于执行实施例一的技术方案,其实现原理和技术效果类似,此处不再赘述。  The device of this embodiment can be used to implement the technical solution of the first embodiment, and its implementation principle and technical effect are similar, and will not be repeated here. the

图4为本发明检测光模块匹配的装置实施例二的结构示意图,检测光模块匹配的装置为接收光模块或者接收光模块所插入的设备,本实施例的装置 包括接收单元401和处理单元402,其中,接收单元401用于接收发送端发送的所述发送光模块的波长信息;处理单元402用于根据所述波长信息和接收光模块的接收波长范围检测所述发送光模块与所述接收光模块是否匹配。  Figure 4 is a schematic structural diagram of Embodiment 2 of the device for detecting optical module matching in the present invention. The device for detecting optical module matching is a receiving optical module or a device inserted into the receiving optical module. The device of this embodiment includes a receiving unit 401 and a processing unit 402 , wherein the receiving unit 401 is used to receive the wavelength information of the sending optical module sent by the sending end; the processing unit 402 is used to detect the wavelength information of the sending optical module and the receiving optical module according to the wavelength information and the receiving wavelength range of the receiving optical module Whether the optical module matches. the

在上述实施例中,所述处理单元402具体用于若所述波长信息在所述接收光模块的接收波长范围内,确定所述发送光模块与所述接收光模块匹配;若所述波长信息不在所述接收光模块的接收波长范围内,确定所述发送光模块与所述接收光模块不匹配。  In the above embodiment, the processing unit 402 is specifically configured to determine that the sending optical module matches the receiving optical module if the wavelength information is within the receiving wavelength range of the receiving optical module; if the wavelength information If it is not within the receiving wavelength range of the receiving optical module, it is determined that the sending optical module does not match the receiving optical module. the

图5为本发明检测光模块匹配的装置实施例三的结构示意图,图5是在图4所示方法实施例的基础上,进一步地,还包括通知单元403,其中,通知单元403用于通知用户所述发送光模块与所述接收光模块不匹配。  Fig. 5 is a schematic structural diagram of Embodiment 3 of the device for detecting optical module matching in the present invention. Fig. 5 is based on the method embodiment shown in Fig. 4 and further includes a notification unit 403, wherein the notification unit 403 is used to notify The user's sending optical module does not match the receiving optical module. the

在上述实施例中,所述通知单元403具体用于通过命令行通知用户所述发送光模块与所述接收光模块不匹配;或者,  In the above embodiment, the notification unit 403 is specifically configured to notify the user that the sending optical module does not match the receiving optical module through a command line; or,

所述通知单元403具体用于通过告警通知用户所述发送光模块与所述接收光模块不匹配。  The notification unit 403 is specifically configured to notify the user that the sending optical module does not match the receiving optical module through an alarm. the

图4或图5所示的装置,可用于执行实施例二的技术方案,其实现原理和技术效果类似,此处不再赘述。  The device shown in FIG. 4 or FIG. 5 can be used to implement the technical solution of Embodiment 2, and its implementation principle and technical effect are similar, and will not be repeated here. the

本领域普通技术人员可以理解:实现上述各方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成。前述的程序可以存储于一计算机可读取存储介质中。该程序在执行时,执行包括上述各方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。  Those of ordinary skill in the art can understand that all or part of the steps for implementing the above method embodiments can be completed by program instructions and related hardware. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps including the above-mentioned method embodiments; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other various media that can store program codes. the

最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。  Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than limiting them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: It is still possible to modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the various embodiments of the present invention. scope. the

Claims (16)

1. A method for detecting optical module matching, comprising:
the sending end sends the wavelength information of the sending optical module to the receiving end, so that the receiving end detects whether the sending optical module is matched with the receiving optical module according to the wavelength information and the receiving wavelength range of the receiving optical module.
2. The method of claim 1, wherein the transmitting end transmits wavelength information of a transmitting optical module to a receiving end, and the transmitting end includes:
the sending end sends the wavelength information to the receiving end by encapsulating the wavelength information in a message; or,
the sending end sends the wavelength information to the receiving end through the self-negotiation business code flow; or,
the sending end sends the wavelength information to the receiving end through a message frame gap; or,
and the sending end sends the wavelength information to the receiving end by encapsulating the wavelength information in overhead bytes.
3. The method according to claim 1 or 2, wherein the wavelength information is a wavelength value or a wavelength range.
4. The method according to any one of claims 1 to 4, wherein the sending end sends wavelength information of a sending optical module to a receiving end, and the method comprises:
when the transmitting end is on line UP of an interface, the transmitting end transmits the wavelength information of the transmitting optical module to a receiving end; or,
and the sending end sends the wavelength information of the sending optical module to a receiving end at a preset time interval.
5. A method for detecting optical module matching, comprising:
a receiving end receives wavelength information of a transmitting optical module transmitted by a transmitting end;
and the receiving end detects whether the transmitting optical module is matched with the receiving optical module or not according to the wavelength information and the receiving wavelength range of the receiving optical module.
6. The method according to claim 5, wherein the receiving end detects whether the transmitting optical module and the receiving optical module are matched according to the wavelength information and a receiving wavelength range of the receiving optical module, and the detecting comprises:
if the wavelength information is in the receiving wavelength range of the receiving optical module, determining that the transmitting optical module is matched with the receiving optical module;
and if the wavelength information is not in the receiving wavelength range of the receiving optical module, determining that the transmitting optical module is not matched with the receiving optical module.
7. The method of claim 6, wherein after determining that the transmitting optical module and the receiving optical module do not match if the wavelength information is not within the receiving wavelength range of the receiving optical module, further comprising:
and the receiving end informs a user that the sending optical module is not matched with the receiving optical module.
8. The method of claim 7, the receiving end notifying a user that the sending optical module does not match the receiving optical module, comprising:
the receiving end informs a user that the sending optical module is not matched with the receiving optical module through a command line; or,
and the receiving end informs a user that the sending optical module is not matched with the receiving optical module through an alarm.
9. An apparatus for detecting a match of optical modules, comprising:
and the sending unit is used for sending the wavelength information of the sending optical module to the receiving end so that the receiving end can detect whether the sending optical module is matched with the receiving optical module according to the wavelength information and the receiving wavelength range of the receiving optical module.
10. The apparatus according to claim 9, wherein the sending unit is specifically configured to send the wavelength information of the optical signal to the receiving end by encapsulating the wavelength information in a message; or,
the sending unit is specifically configured to send the wavelength information to the receiving end through a self-negotiation code stream; or,
the sending unit is specifically configured to send the wavelength information to the receiving end through a message frame gap; or,
the sending unit is specifically configured to send the wavelength information to the receiving optical module by encapsulating the wavelength information in an overhead byte.
11. The apparatus according to claim 9 or 10, wherein the wavelength information is a wavelength value or a wavelength range.
12. The apparatus according to any one of claims 9 to 11, wherein the sending unit is specifically configured to send wavelength information of the sending optical module to a receiving end when an interface is UP; or,
the sending unit is specifically configured to send wavelength information of the sending optical module to a receiving end at preset time intervals.
13. An apparatus for detecting a match of optical modules, comprising:
the receiving unit is used for receiving the wavelength information of the transmitting optical module sent by the transmitting end;
and the processing unit is used for detecting whether the transmitting optical module is matched with the receiving optical module or not according to the wavelength information and the receiving wavelength range of the receiving optical module.
14. The apparatus according to claim 13, wherein the processing unit is specifically configured to determine that the transmitting optical module matches the receiving optical module if the wavelength information is within a receiving wavelength range of the receiving optical module; and if the wavelength information is not in the receiving wavelength range of the receiving optical module, determining that the transmitting optical module is not matched with the receiving optical module.
15. The apparatus of claim 14, further comprising: and the notification unit is used for notifying a user that the sending optical module is not matched with the receiving optical module.
16. The apparatus of claim 15, the notification unit is specifically configured to notify a user that the sending optical module does not match the receiving optical module through a command line; or,
the notification unit is specifically configured to notify a user that the sending optical module is not matched with the receiving optical module through an alarm.
CN201410522817.5A 2014-09-30 2014-09-30 Optical module matching detection method and optical module matching detection device Pending CN104243020A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410522817.5A CN104243020A (en) 2014-09-30 2014-09-30 Optical module matching detection method and optical module matching detection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410522817.5A CN104243020A (en) 2014-09-30 2014-09-30 Optical module matching detection method and optical module matching detection device

Publications (1)

Publication Number Publication Date
CN104243020A true CN104243020A (en) 2014-12-24

Family

ID=52230465

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410522817.5A Pending CN104243020A (en) 2014-09-30 2014-09-30 Optical module matching detection method and optical module matching detection device

Country Status (1)

Country Link
CN (1) CN104243020A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107332608A (en) * 2017-05-27 2017-11-07 烽火通信科技股份有限公司 A kind of string ripple warning system and method based on coherent light communication
CN107566076A (en) * 2016-06-30 2018-01-09 中兴通讯股份有限公司 The wavelength self-adapting tuning method and device of wavelength-division network element
CN109660294A (en) * 2019-02-28 2019-04-19 北京泛在云科技有限公司 A kind of optical-fiber intelligent matching system, method and device
CN112118069A (en) * 2019-06-20 2020-12-22 中国移动通信有限公司研究院 Control method of forwarding network and network equipment
CN112118048A (en) * 2019-06-20 2020-12-22 中国移动通信有限公司研究院 A control method, network device and system for a fronthaul network

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1722649A (en) * 2004-07-15 2006-01-18 阿尔卡特公司 WDM Laser Wavelength Control
CN101742365A (en) * 2008-11-12 2010-06-16 华为技术有限公司 Passive optical network (PON) wavelength assignment method, device and system
CN101827289A (en) * 2010-05-24 2010-09-08 烽火通信科技股份有限公司 Method for acquiring wavelength values by remote equipment in wavelength division multiplex-Ethernet passive optical network (WDM-EPON) passive optical network system
CN102195739A (en) * 2011-05-23 2011-09-21 中兴通讯股份有限公司 Realization method and system of optical label
JP2012129644A (en) * 2010-12-13 2012-07-05 Nec Corp Optical transmission system, receiver, control method, and program
CN103634066A (en) * 2012-08-28 2014-03-12 上海贝尔股份有限公司 Optical line terminal and optical network unit

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1722649A (en) * 2004-07-15 2006-01-18 阿尔卡特公司 WDM Laser Wavelength Control
CN101742365A (en) * 2008-11-12 2010-06-16 华为技术有限公司 Passive optical network (PON) wavelength assignment method, device and system
CN101827289A (en) * 2010-05-24 2010-09-08 烽火通信科技股份有限公司 Method for acquiring wavelength values by remote equipment in wavelength division multiplex-Ethernet passive optical network (WDM-EPON) passive optical network system
JP2012129644A (en) * 2010-12-13 2012-07-05 Nec Corp Optical transmission system, receiver, control method, and program
CN102195739A (en) * 2011-05-23 2011-09-21 中兴通讯股份有限公司 Realization method and system of optical label
CN103634066A (en) * 2012-08-28 2014-03-12 上海贝尔股份有限公司 Optical line terminal and optical network unit

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107566076A (en) * 2016-06-30 2018-01-09 中兴通讯股份有限公司 The wavelength self-adapting tuning method and device of wavelength-division network element
CN107332608A (en) * 2017-05-27 2017-11-07 烽火通信科技股份有限公司 A kind of string ripple warning system and method based on coherent light communication
CN107332608B (en) * 2017-05-27 2019-09-27 烽火通信科技股份有限公司 A kind of string wave warning system and method based on coherent light communication
CN109660294A (en) * 2019-02-28 2019-04-19 北京泛在云科技有限公司 A kind of optical-fiber intelligent matching system, method and device
CN112118069A (en) * 2019-06-20 2020-12-22 中国移动通信有限公司研究院 Control method of forwarding network and network equipment
CN112118048A (en) * 2019-06-20 2020-12-22 中国移动通信有限公司研究院 A control method, network device and system for a fronthaul network

Similar Documents

Publication Publication Date Title
CN103684835B (en) Link fault reporting method and processing method, and transmission node and primary node
CN104243020A (en) Optical module matching detection method and optical module matching detection device
SA520411898B1 (en) (QOS) A method for negotiating quality of service capabilities between a user equipment and a session management function in a 5G system.
WO2011100629A3 (en) Methods, systems, and computer readable media for diameter network management
JP2014175924A5 (en)
MX379322B (en) SYSTEMS AND METHODS FOR EDITING MESSAGES.
JP2016096549A5 (en)
CN103986604A (en) Method and device for locating network fault
CN103843360B (en) Service deployment method, device and the network equipment
EP4254826A3 (en) Method and device for transmitting and receiving network management information, transmitting apparatus and receiving apparatus
CN110808873A (en) Method and device for detecting link failure
CN104079462B (en) Looped network configures detection method and device
WO2016062165A1 (en) Method and apparatus for implementing operations, administration and maintenance function
WO2014205721A1 (en) Fault processing method, device and system
GB201209266D0 (en) Method and system for communicating between devices
CN102136965B (en) Method for detecting tunnel faults and traffic engineering (TE) node
CN105721235A (en) Method and apparatus for detecting connectivity
CN103812769B (en) TRILL network construction method, node and system
MX2016008685A (en) Fault handling method, packet data network, mobility management entity, and network system.
CN103780515B (en) Method and controller for announcing bandwidth of cluster system
CN103618630B (en) A kind of data safe transmission method and equipment based on double up-links
WO2014082211A1 (en) Method and apparatus for processing residual information
WO2016082509A1 (en) Method and apparatus for detecting connectivity of label switched path
WO2016169214A1 (en) Tunnel protection switching method and device
WO2016015606A1 (en) Method for locating port connection error and related device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20141224

WD01 Invention patent application deemed withdrawn after publication