CN101340238B - Determination method and apparatus for connection relation between optical interfaces - Google Patents
Determination method and apparatus for connection relation between optical interfaces Download PDFInfo
- Publication number
- CN101340238B CN101340238B CN2007101284142A CN200710128414A CN101340238B CN 101340238 B CN101340238 B CN 101340238B CN 2007101284142 A CN2007101284142 A CN 2007101284142A CN 200710128414 A CN200710128414 A CN 200710128414A CN 101340238 B CN101340238 B CN 101340238B
- Authority
- CN
- China
- Prior art keywords
- optical
- light
- sign
- emitting window
- signal
- 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.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J14/00—Optical multiplex systems
- H04J14/02—Wavelength-division multiplex systems
- H04J14/0227—Operation, administration, maintenance or provisioning [OAMP] of WDM networks, e.g. media access, routing or wavelength allocation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q11/00—Selecting arrangements for multiplex systems
- H04Q11/0001—Selecting arrangements for multiplex systems using optical switching
- H04Q11/0062—Network aspects
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q11/00—Selecting arrangements for multiplex systems
- H04Q11/0001—Selecting arrangements for multiplex systems using optical switching
- H04Q11/0062—Network aspects
- H04Q2011/0073—Provisions for forwarding or routing, e.g. lookup tables
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q11/00—Selecting arrangements for multiplex systems
- H04Q11/0001—Selecting arrangements for multiplex systems using optical switching
- H04Q11/0062—Network aspects
- H04Q2011/0079—Operation or maintenance aspects
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Optical Communication System (AREA)
Abstract
本发明提供光口之间连接关系的确定方法,其中的一种方法包括:在光波长信号或光复用段信号经过的每个出光口上对所述光波长信号或光复用段信号加载标识,在所述光波长信号或光复用段信号经过的每个入光口上对所述光波长信号或光复用段信号加载的标识进行检测;根据标识检测的结果,确定入光口与出光口之间的连接关系。本发明还提供光口之间连接关系的确定装置。上述几个技术方案在技术上都是完全可行的,而且对维护操作人员没有特殊的要求,所以,上述几个技术方案完全可以用于确定光口之间的连接关系,也完全可以在实际中应用。
The present invention provides a method for determining the connection relationship between optical ports, one of which includes: loading an identifier on each optical outlet through which the optical wavelength signal or optical multiplex section signal passes, and On each optical entrance through which the optical wavelength signal or the optical multiplex section signal passes, the identifier loaded on the optical wavelength signal or the optical multiplex section signal is detected; according to the result of the identification detection, determine the distance between the optical entrance and the optical exit connection relationship. The invention also provides a device for determining the connection relationship between the optical ports. The above technical solutions are technically feasible and have no special requirements for maintenance operators. Therefore, the above technical solutions can be used to determine the connection relationship between optical ports, and can also be used in practice. application.
Description
技术领域 technical field
本发明涉及光网络技术,尤其涉及光口之间连接关系的确定技术。The invention relates to the optical network technology, in particular to the determination technology of the connection relationship between the optical ports.
背景技术 Background technique
光器件的进步,极大地推动了光通信技术的发展,特别是掺饵光纤放大器(EDFA,Erbium-Doped Fibre Amplifier)以及光复用技术的进步,推动了波分复用(WDM,Wavelength Division Multiplex)设备的规模应用,目前,业界已经可以提供单根光纤传输多达320个波长信号的密集波分复用(DWDM,Dense Wavelength Division Multiplex)系统。The advancement of optical devices has greatly promoted the development of optical communication technology, especially the progress of erbium-doped fiber amplifier (EDFA, Erbium-Doped Fiber Amplifier) and optical multiplexing technology, which has promoted the development of wavelength division multiplexing (WDM, Wavelength Division Multiplex) The large-scale application of equipment, at present, the industry has been able to provide a Dense Wavelength Division Multiplex (DWDM, Dense Wavelength Division Multiplex) system in which a single optical fiber transmits up to 320 wavelength signals.
WDM设备由许多功能差异较大的功能单元组成,例如,WDM设备可以包括波长级别的光信号处理单元,波长级别的光信号处理单元例如是对波长转换单元输出的波长信号进行上路和下路等操作的光复用器、光解复用器或光分插复用器,还可以是对波长信号进行保护倒换等操作的光通道保护单元;WDM设备还可以包括复用段级别的光信号处理单元,例如对整个光复用段的光信号进行放大的放大器;WDM设备还可以包括对主光通道信号进行色散补偿的色散补偿单元等。WDM除包含主光通道信号处理单元之外,还可以包括一些辅助信号处理单元,例如对监控信号与主光通道信号进行复用和解复用的线路接口信号单元,以及,对主光通道信号质量进行监控的光性能监控单元等。A WDM device is composed of many functional units with different functions. For example, a WDM device may include a wavelength-level optical signal processing unit. The wavelength-level optical signal processing unit is, for example, to add and drop the wavelength signal output by the wavelength conversion unit, etc. The operating optical multiplexer, optical demultiplexer or optical add-drop multiplexer can also be an optical channel protection unit for performing protection switching operations on wavelength signals; WDM equipment can also include an optical signal processing unit at the multiplex section level , such as an amplifier for amplifying the optical signal of the entire optical multiplexing section; the WDM device may also include a dispersion compensation unit for performing dispersion compensation on the main optical channel signal. In addition to the main optical channel signal processing unit, WDM can also include some auxiliary signal processing units, such as the line interface signal unit for multiplexing and demultiplexing the monitoring signal and the main optical channel signal, and the signal quality of the main optical channel An optical performance monitoring unit for monitoring, etc.
众所周知,不仅在WDM设备和客户设备之间存在大量的光纤连接,而且在WDM设备内的功能单元之间也存在大量的光纤连接,其中,设备之间或设备内的功能单元之间的光纤连接是通过设备或功能单元的光口之间的光纤连接实现的。根据统计,现有光网络上的相当一部分故障都发生在光纤连接上,如果通过光口之间的连接关系来判断是哪根光纤跳线发生异常等故障,则对于解决光网络运行维护存在的问题极有帮助,因此,如何确定光口之间的连接关系的问题已经迫在眉睫。As we all know, there are not only a large number of optical fiber connections between WDM equipment and customer equipment, but also a large number of optical fiber connections between functional units in WDM equipment, wherein the optical fiber connections between equipment or between functional units in equipment are It is realized through the optical fiber connection between the optical ports of the equipment or functional unit. According to statistics, a considerable part of the faults on the existing optical network occur on the optical fiber connection. If the connection relationship between the optical ports is used to determine which optical fiber jumper is abnormal and other faults, it will be of great help to solve the problems existing in the operation and maintenance of the optical network. Questions are very helpful, so the question of how to determine the connection relationship between optical ports is imminent.
目前,本领域技术人员提出了一种光纤连接自动发现方法,即,在光网络节点的所有带光口的功能单元中每个光口的法兰盘里都内嵌了一个机械感应装置,当有光纤跳线插入到法兰盘时,功能单元能够通过机械感应装置检测到有光纤跳线插入到自己的光口,之后,功能单元会向光网络节点的控制单元或网络管理单元上报光纤跳线插入事件,控制单元或网络管理单元再记录功能单元的光纤跳线插入事件,从而发现光口彼此之间的互连。在这种方法中,通过预先配置控制单元或网络管理单元的光口关联规则,可以发现光口之间的彼此互连关系,例如,在一对一的规则之下,相连的两个光口上报光纤跳线插入事件,即认为这两个光口相连,而在一对多的规则之下,第一个上报光纤跳线插入事件的光口被视为一对多中的主光口,而此后上报光纤跳线插入事件的光口被认为是从光口,从而确定主光口和从光口之间是互连关系。At present, those skilled in the art have proposed a method for automatic discovery of optical fiber connections, that is, a mechanical sensing device is embedded in the flange of each optical port in all functional units with optical ports of the optical network node. When an optical fiber jumper is inserted into the flange, the functional unit can detect that an optical fiber jumper is inserted into its own optical port through a mechanical sensing device, and then the functional unit will report the optical fiber jumper to the control unit or network management unit of the optical network node. The control unit or the network management unit records the fiber jumper insertion event of the functional unit, so as to discover the interconnection between the optical ports. In this method, by pre-configuring the optical port association rules of the control unit or network management unit, the mutual interconnection relationship between optical ports can be found, for example, under the one-to-one rule, two connected optical ports When the fiber jumper insertion event is reported, the two optical ports are considered to be connected. Under the one-to-many rule, the first optical port to report the fiber jumper insertion event is regarded as the main optical port in one-to-many. Afterwards, the optical port that reports the fiber jumper insertion event is considered as the slave optical port, so that it is determined that the master optical port and the slave optical port are interconnected.
发明人经过认真分析、仔细研究后发现,上述方法固然可以实现光纤连接的自动发现,但是,这种方法对维护操作人员要求比较严格,即,要求必须按照顺序插入光纤跳线才能发现光口之间的连接关系,但在实际操作中,操作维护人员往往是对一块单板的所有光口进行统一操作,如果按照连接关系对光口进行操作会与现有操作习惯存在较大分歧。而且,当光口之间的光纤连接关系既有一对一的情况、又有一对多的情况时,控制单元或网络管理单元必须不停地切换工作模式,否则可能出现误判。所以,这种方法无论对于维护操作人员还是光网络节点的控制单元或网络管理单元都存在操作不方便的问题,难以在实际中应用。After careful analysis and research, the inventor found that the above method can realize the automatic discovery of optical fiber connections, but this method has strict requirements for maintenance operators, that is, it is required to insert optical fiber jumpers in order to find the connection between the optical ports. However, in actual operation, the operation and maintenance personnel often perform unified operations on all the optical ports of a single board. If the optical ports are operated according to the connection relationship, there will be great differences with the existing operating habits. Moreover, when the optical fiber connection relationship between the optical ports has both one-to-one and one-to-many situations, the control unit or network management unit must constantly switch working modes, otherwise misjudgment may occur. Therefore, this method has the problem of inconvenient operation for both the maintenance operator and the control unit or network management unit of the optical network node, and it is difficult to be applied in practice.
发明内容 Contents of the invention
本发明实施例提供一种光口之间连接关系的确定方法及装置,以提供可行的确定光口之间的连接关系的技术方案。Embodiments of the present invention provide a method and device for determining a connection relationship between optical ports, so as to provide a feasible technical solution for determining the connection relationship between optical ports.
为解决上述问题,本发明提供一种光口之间连接关系的确定方法,包括:在光波长信号或光复用段信号经过的每个出光口上对所述光波长信号或光复用段信号加载标识,在所述光波长信号或光复用段信号经过的每个入光口上对所述光波长信号或光复用段信号加载的标识进行检测;根据标识检测的结果,按所述入光口所检测到的出光口标识数量排序;对标识检测数量均大于1且数量相差为1的两个入光口所检测到的标识进行对比,如果两个入光口所检测的标识有且仅有一个相异,则标识检测数量较多的入光口与所述相异标识所对应的出光口之间具有连接关系;对标识检测数量为1的入光口,则确定所述入光口与所述标识所对应的出光口之间具有连接关系。In order to solve the above problems, the present invention provides a method for determining the connection relationship between optical ports, including: loading an identifier on the optical wavelength signal or optical multiplex section signal on each optical outlet through which the optical wavelength signal or optical multiplex section signal passes , detecting the identifier loaded on the optical wavelength signal or optical multiplex section signal on each optical entrance through which the optical wavelength signal or optical multiplex section signal passes; Sort the number of the detected light exit marks; compare the marks detected by the two light entrances whose number of detections is greater than 1 and the number difference is 1, if the two light entrances have only one different, then there is a connection relationship between the light entrance with a large number of identification detections and the light exit corresponding to the different identification; There is a connection relationship between the light outlets corresponding to the identifiers.
本发明还提供一种光再生段内光口之间连接关系的确定方法,包括:在光信号源对所发出的光波长信号或光复用段信号加载标识,或在光再生段源上对所放大的光波长信号或光复用段信号加载标识,并在所述光波长信号或光复用段信号后续经过的光再生段内每个入光口及出光口上检测标识;根据入光口和出光口之间的标识匹配和功率匹配关系,分别将检测到相同数量和内容的标识的入光口及出光口与其检验到的信息之间的对应关系汇总到一个组,对同一个组的光口进行功率匹配,功率最匹配的出光口与入光口之间具有连接关系,确定所述出光口与所述入光口之间的连接关系。The present invention also provides a method for determining the connection relationship between the optical ports in the optical regeneration section, which includes: loading an identifier on the optical wavelength signal or the optical multiplexing section signal sent by the optical signal source, or marking all the optical ports on the optical regeneration section source The amplified optical wavelength signal or optical multiplexing section signal is loaded with a mark, and the mark is detected on each optical entrance and light exit in the optical regeneration section that the optical wavelength signal or optical multiplexing section signal passes through subsequently; according to the light entrance and light exit The identification matching and power matching relationship between them, the corresponding relationship between the optical entrances and optical exits that detect the same number and content of identifications and the detected information are summarized into one group, and the optical ports of the same group are For power matching, there is a connection relationship between the light output port and the light input port with the most matching power, and the connection relationship between the light output port and the light input port is determined.
本发明还提供一种包含多个光再生段的光口之间连接关系的确定方法,包括:在光信号源及光再生段源上对所经过的光波长信号或光复用段信号加载标识,在所述光波长信号或光复用段信号所经过的入光口和出光口对所述加载的标识进行检测;根据标识检测结果,确定光信号源与光再生段源之间以及光再生段源之间的相邻上下游关系,并确定在同一再生段内的入光口和出光口组;在同一再生段入光口和出光口组内,根据所述出光口和所述入光口所检测的光波长信号功率或光复用段信号功率或标识功率关系,确定所述出光口与所述入光口之间的连接关系。The present invention also provides a method for determining the connection relationship between optical ports including a plurality of optical regeneration sections, including: loading labels on optical signal sources and optical regeneration section sources for passed optical wavelength signals or optical multiplexing section signals, Detect the loaded identification at the optical entrance and exit through which the optical wavelength signal or optical multiplexing section signal passes; determine the distance between the optical signal source and the optical regeneration section source and the optical regeneration section source according to the identification detection result The adjacent upstream and downstream relationship between them, and determine the light entrance and light exit group in the same regeneration section; in the same regeneration section light entrance and light exit group, according to the light exit and the light entrance set The detected optical wavelength signal power or optical multiplex section signal power or identification power relationship determines the connection relationship between the optical output port and the optical input port.
本发明还提供一种光口之间连接关系的确定装置,包括:标识加载单元,用于在光波长信号或光复用段信号经过的每个出光口上对所述光波长信号或光复用段信号加载标识;标识检测单元,用于在所述光波长信号或光复用段信号经过的每个入光口上对所述光波长信号或光复用段信号加载的标识进行检测;以及用于根据标识检测的结果,按所述入光口所检测到的出光口标识数量排序;对标识检测数量均大于1且数量相差为1的两个入光口所检测到的标识进行对比,如果两个入光口所检测的标识有且仅有一个相异,则标识检测数量较多的入光口与所述相异标识所对应的出光口之间具有连接关系;对标识检测数量为1的入光口,则确定所述入光口与所述标识所对应的出光口之间具有连接关系的单元。The present invention also provides a device for determining the connection relationship between optical ports, including: an identification loading unit, which is used to record the optical wavelength signal or the optical multiplex section signal on each optical outlet through which the optical wavelength signal or the optical multiplex section signal passes Loading an identifier; an identifier detection unit, configured to detect the identifier loaded on the optical wavelength signal or optical multiplex section signal on each optical entrance through which the optical wavelength signal or optical multiplex section signal passes; and for detecting according to the identifier The results are sorted according to the number of light exit port signs detected by the light entrance ports; compare the signs detected by the two light entrance ports with the number of detection marks greater than 1 and the number difference is 1, if the two light entry ports If there is only one difference between the detected marks at the ports, then there is a connection relationship between the light entrances with a large number of mark detections and the light exit ports corresponding to the different marks; , then determine the units that have a connection relationship between the light entrance and the light exit corresponding to the identification.
本发明还提供一种应用于光再生段内的光口之间连接关系的确定装置,包括:标识加载单元,用于在光信号源对所发出的光波长信号或光复用段信号加载标识,或在光再生段源上对所放大的光波长信号或光复用段信号加载标识;标识检测单元,用于在所述光波长信号或光复用段信号后续经过的光再生段内每个入光口及出光口上检测标识;连接关系确定单元,用于根据入光口和出光口之间的标识匹配和功率匹配关系,分别将检测到相同数量和内容的标识的入光口及出光口与其检验到的信息之间的对应关系汇总到一个组,对同一个组的光口进行功率匹配,功率最匹配的出光口与入光口之间具有连接关系,确定所述出光口与所述入光口之间的连接关系。The present invention also provides a device for determining the connection relationship between optical ports in the optical regeneration section, including: an identification loading unit, which is used to add identification to the optical wavelength signal or optical multiplexing section signal sent by the optical signal source, Or load the amplified optical wavelength signal or optical multiplex section signal on the optical regeneration section source with a mark; the mark detection unit is used for each incoming light in the optical regeneration section that the optical wavelength signal or optical multiplex section signal passes through subsequently Detection marks on the light port and the light exit port; the connection relationship determination unit is used to inspect the light entrance port and the light exit port with the same number and content of the marks detected according to the logo matching and power matching relationship between the light entrance port and the light exit port. The corresponding relationship between the received information is summarized into one group, and the power matching is performed on the optical ports of the same group. connections between ports.
本发明还提供一种应用于包含多个光再生段的光口之间连接关系的确定装置,包括:标识加载单元,用于在光信号源及光再生段源上对所经过的光波长信号或光复用段信号加载标识;标识检测单元,用于在所述光波长信号或光复用段信号所经过的入光口和出光口对所述加载的标识进行检测;上下游关系及光口组确定单元,用于根据标识检测结果,确定光信号源与光再生段源之间以及光再生段源之间的相邻上下游关系,并确定在同一再生段内的入光口和出光口组;连接关系确定单元,用于在同一再生段入光口和出光口组内,根据所述出光口和所述入光口所检测的光波长信号功率或光复用段信号功率或标识功率关系,确定所述出光口与所述入光口之间的连接关系。The present invention also provides a device for determining the connection relationship between optical ports containing multiple optical regeneration sections, including: an identification loading unit, used to compare the passing optical wavelength signals on the optical signal source and the optical regeneration section source Or optical multiplex section signal loading identification; identification detection unit, used to detect the loaded identification at the optical entrance and exit port through which the optical wavelength signal or optical multiplex section signal passes; upstream and downstream relationship and optical port group The determination unit is used to determine the adjacent upstream and downstream relationship between the optical signal source and the source of the optical regeneration section and between the sources of the optical regeneration section according to the result of the identification detection, and determine the group of light entrances and light exits in the same regeneration section The connection relationship determination unit is used to, in the same regenerative section optical inlet and outlet group, according to the optical wavelength signal power or optical multiplexing section signal power or identification power relationship detected by the optical outlet and the optical inlet, A connection relationship between the light exit port and the light entry port is determined.
在上述几个技术方案中,无论是在每个出光口上对光波长信号或光复用段信号加载标识,还是在光信号源或光再生段源上对光波长信号或光复用段信号加载标识,无论是在每个入光口上对所述光波长信号或光复用段信号加载的标识进行检测,还是在光再生段内检测标识,或是先确定每个再生段,再针对每个再生段进行标识检测,在技术上都是完全可行的,而且对维护操作人员没有特殊的要求,所以,上述几个技术方案完全可以用于确定光口之间的连接关系,也完全可以在实际中应用。In the above several technical solutions, whether it is to add an identifier to the optical wavelength signal or the optical multiplex section signal on each optical outlet, or to add an identifier to the optical wavelength signal or the optical multiplex section signal on the optical signal source or the optical regeneration section source, Whether it is to detect the optical wavelength signal or the identifier loaded on the optical multiplexing section signal on each optical entrance, or detect the identifier in the optical regeneration section, or determine each regeneration section first, and then perform Identification detection is technically feasible and has no special requirements for maintenance operators. Therefore, the above-mentioned technical solutions can be used to determine the connection relationship between optical ports, and can also be applied in practice.
附图说明 Description of drawings
图1是本发明第一种方法的流程图;Fig. 1 is the flowchart of the first method of the present invention;
图2是本发明第二种方法的流程图;Fig. 2 is the flowchart of the second method of the present invention;
图3是本发明第三种方法的流程图。Fig. 3 is a flowchart of the third method of the present invention.
具体实施方式 Detailed ways
下面我们将结合附图,对本发明的几种实施方案进行详细描述。Below we will describe several embodiments of the present invention in detail with reference to the accompanying drawings.
首先需要说明的是,本发明的方法和装置既可以用于确定光网络节点的光口之间的连接关系,也可以用于确定光网络节点内的各个功能单元的光口之间的连接关系,两者可以先后进行,也可以同时进行,其中,所述光网络节点内的各个功能单元可以为光网络设备功能单元。First of all, it should be explained that the method and device of the present invention can be used to determine the connection relationship between the optical ports of the optical network node, and can also be used to determine the connection relationship between the optical ports of each functional unit in the optical network node , the two can be performed successively or simultaneously, wherein each functional unit in the optical network node can be an optical network device functional unit.
本发明提供的第一种光口之间连接关系的确定方法可以包括如下步骤:在光波长信号或光复用段信号经过的每个出光口上对所述光波长信号或光复用段信号加载标识,在所述光波长信号或光复用段信号经过的每个入光口上对所述光波长信号或光复用段信号加载的标识进行检测;根据标识检测的结果,确定入光口与出光口之间的连接关系。The first method for determining the connection relationship between optical ports provided by the present invention may include the following steps: loading an identifier on each optical outlet through which the optical wavelength signal or optical multiplex section signal passes, Detect the identification loaded on the optical wavelength signal or optical multiplex section signal on each optical entrance through which the optical wavelength signal or optical multiplex section signal passes; determine the distance between the optical entrance and the optical exit according to the result of the identification detection connection relationship.
其中,可以按照下述步骤确定入光口与出光口之间的连接关系:根据标识检测的结果,按所述入光口所检测到的出光口标识数量从少至多排序;如果有一个入光口仅检测到一个出光口的所述标识,则确定所述入光口与所述标识所对应的出光口之间具有连接关系。Among them, the connection relationship between the light entrance and the light exit can be determined according to the following steps: according to the result of the identification detection, the number of the light exit signs detected by the light entrance is sorted from the least to the most; if there is a light entrance If the port only detects the mark of one light exit port, it is determined that there is a connection relationship between the light entry port and the light exit port corresponding to the mark.
进一步的,如果已确定检测到n个标识的入光口与所述n个标识中某个标识所对应的出光口之间具有连接关系,则确定检测到n+1个标识的入光口与检测到的相异标识所对应的出光口之间具有连接关系,其中,所述n+1个标识中有n个标识与所述检测到n个标识的入光口所检测到的n个标识完全相同,n为大于0的整数;以此类推,进而可以确定其他入光口与其他出光口之间的连接关系。Further, if it has been determined that there is a connection relationship between the light entrances that have detected n signs and the light exit port corresponding to a certain sign in the n signs, then it is determined that the light entrances that have detected n+1 signs and There is a connection relationship between the light exit ports corresponding to the detected different marks, wherein, among the n+1 marks, there are n marks and the n marks detected by the light entrance port where the n marks are detected It is exactly the same, n is an integer greater than 0; by analogy, the connection relationship between other light entrances and other light exits can be determined.
下面结合图1,对本发明提供的第一种方法进行详细说明。如图1所示,包括如下步骤:The first method provided by the present invention will be described in detail below with reference to FIG. 1 . As shown in Figure 1, it includes the following steps:
步骤S101:每个入光口确定与其可能具有连接关系的处于上游的出光口。Step S101: Each light entrance determines the upstream light exit that may have a connection relationship with it.
入光口检测与其可能具有连接关系的出光口的方式有很多种,下面举例说明。There are many ways for the light entrance to detect the light exit that may have a connection relationship with it, and examples are given below.
在每个出光口上可以对光波长信号或光复用段信号加载标识,加载的方式可以是同时或分时加载,所述标识可以与出光口一一对应,标识所采用的频率、扩频码、标识所携带的ID信息或标识对应的时隙信息也可以与出光口一一对应。On each optical outlet, the optical wavelength signal or the optical multiplexing section signal can be loaded with an identifier. The loading method can be simultaneous or time-sharing loading. The identifier can correspond to the optical outlet one by one, and the frequency, spreading code, The ID information carried by the identifier or the time slot information corresponding to the identifier may also be in one-to-one correspondence with the optical outlets.
光波长信号或光复用段信号通过多个出光口后,会携带多个不同的标识。携带多个不同标识的光波长信号或光复用段信号到达某个入光口时,这个入光口会对光波长信号或光复用段信号进行分光检测,解复用所有的标识,如果解复用结果比系统判决门限大,则可以确定出与这个入光口可能具有连接关系的出光口。需要说明的是,由于一个光波长信号或光复用段信号可以经过多个出光口后到达某个入光口,并且经过的每个出光口都可以将不同的标识加载到同一个光波长信号或光复用段信号上,所以,接收到光波长信号或光复用段信号的这个入光口可以检测到多个出光口,但不是每一个出光口都与这个入光口具有连接关系。理论上,每个入光口都能检测到在其上游的所有出光口,但是,如果在上游出光口到所述入光口之间存在波长选择性的功能单元,则所述入光口并不一定能检测到上游出光口,例如,如果上游的放大器经过一个波长选择性交叉器(WSS,Wavelength Select Switch)之后连接到另外一个放大器,且WSS对两个放大器之间传输的波长信号进行选择性的倒换,则下游的放大器就不一定能检测到上游的放大器的出光口。不过,因为光纤本身是波长不敏感的,因此在一根光纤跳线两端的出光口和入光口之间,入光口肯定能检测到对应出光口,因此,上述限制并不影响光口连接关系的判断。After the optical wavelength signal or the optical multiplex section signal passes through multiple optical outlets, it will carry multiple different identifiers. When an optical wavelength signal or an optical multiplex section signal carrying multiple different identifiers arrives at a certain optical entrance, the optical entrance will perform optical detection on the optical wavelength signal or optical multiplex section signal, and demultiplex all the identifiers. If the result is greater than the system judgment threshold, the optical outlet that may be connected to this optical inlet can be determined. It should be noted that since an optical wavelength signal or an optical multiplex section signal can pass through multiple optical outlets and then arrive at a certain optical inlet, and each passing optical outlet can load a different identifier to the same optical wavelength signal or The optical multiplex section signal, therefore, the optical input port that receives the optical wavelength signal or the optical multiplex section signal can detect multiple optical output ports, but not every optical output port has a connection relationship with the optical input port. Theoretically, each light entrance can detect all light exits upstream of it, but if there is a wavelength-selective functional unit between the upstream light exit and the light entrance, the light entrance will not The upstream optical outlet may not be detected, for example, if the upstream amplifier is connected to another amplifier after passing through a wavelength selective crossover (WSS, Wavelength Select Switch), and the WSS selects the wavelength signal transmitted between the two amplifiers If there is a permanent switching, the downstream amplifier may not be able to detect the light outlet of the upstream amplifier. However, because the optical fiber itself is not sensitive to wavelength, between the light output port and the light input port at both ends of a fiber jumper, the light input port can definitely detect the corresponding light output port. Therefore, the above restrictions do not affect the optical port connection. relationship judgments.
步骤S102:将每个入光口与其检测到的可能与其具有连接关系的出光口之间的对应关系进行汇总。Step S102: Summarize the corresponding relationship between each light entrance and the detected light exit that may have a connection relationship with it.
每个入光口确定可能与其具有连接关系的出光口后,可以上报与其具有连接关系的出光口,当然,光网络系统也可以主动向每个入光口查询与其具有连接关系的出光口。另外,将对应关系汇总后,还可以按照每个入光口检测到的出光口的数量将对应关系进行排序,例如按照由少到多的顺序。After each optical input port determines the optical output port that may have a connection relationship with it, it can report the optical output port that has a connection relationship with it. Of course, the optical network system can also actively query each optical input port for the optical output port that has a connection relationship with it. In addition, after summarizing the correspondences, the correspondences may also be sorted according to the number of light exits detected by each light entrance, for example, in descending order.
步骤S103:选择一个入光口只对应一个出光口的对应关系。Step S103: Select a correspondence relationship in which one light entrance only corresponds to one light exit.
一般来说,如果一个入光口只对应一个出光口,则可以说明这个入光口与这个出光口具有连接关系,所以,如果首先选择一个入光口只对应一个出光口的对应关系,则可以先确定一个入光口与一个出光口的连接关系,从而为后续确定连接关系排除一些入光口和出光口。Generally speaking, if a light input port corresponds to only one light output port, it can be explained that this light input port has a connection relationship with this light output port. First determine the connection relationship between one light entrance and one light exit, so as to exclude some light entrances and light exits for the subsequent determination of the connection relationship.
另外,汇总对应关系后,一个入光口只对应一个出光口的对应关系可能有多个,这时,选择一个入光口只对应一个出光口的对应关系时,可以随机选择一个入光口与出光口一一对应的对应关系,当然,也可以按照一定的条件选择一一对应的对应关系,例如按照一一对应关系中的出光口在其他入光口的对应关系中出现的次数由大到小的顺序等。In addition, after summarizing the correspondences, there may be multiple correspondences in which one light entrance only corresponds to one light exit. At this time, when selecting a correspondence between one light entrance and only one light One-to-one correspondence between the light outlets. Of course, one-to-one correspondence can also be selected according to certain conditions. small order etc.
步骤S104:从其他具有这个出光口的对应关系中将这个出光口删除。Step S104: Delete the light outlet from other correspondences with the light outlet.
如果其他对应关系中具有这个出光口,即,其他入光口与这个出光口对应,则可以确定这个出光口虽然是这些入光口的上游出光口,但不是与这些入光口具有连接关系的出光口,与这些入光口具有连接关系的应该是对应关系中的其他某个出光口,所以,如果确定一个出光口与一个入光口的连接关系后,则可以将这个出光口从其他具有这个出光口的对应关系中删除。If there is this light exit in other correspondences, that is, other light entrances correspond to this light exit, it can be determined that although this light exit is the upstream light exit of these light entrances, it is not connected to these light entrances The light outlets should be connected to some other light outlets in the corresponding relationship. Therefore, if the connection relationship between a light outlet and a light inlet is determined, this light outlet can be connected to other light outlets. Delete the corresponding relationship of the light outlet.
步骤S105:判断是否还存在一个入光口只对应一个出光口的对应关系,如果是,返回步骤S104,否则转步骤S106。Step S105: Judging whether there is still a corresponding relationship between one light entrance and only one light exit, if yes, return to step S104, otherwise go to step S106.
步骤S106:判断是否存在没有对应任何一个出光口的入光口,如果是,转步骤S107,否则结束。Step S106: Determine whether there is a light entrance that does not correspond to any light exit, if yes, go to step S107, otherwise end.
步骤S107:确定所述入光口没有与任何出光口连接。Step S107: Determine that the light entrance is not connected to any light exit.
需要说明的是,在步骤S101中,如果某个入光口没有确定任何一个出光口可能与其具有连接关系,则可以根据这个入光口的类别确定以下情况:第一种情况,如果入光口是光网络节点的入光口且需要确定与其可能具有连接关系的其他光网络节点的出光口,则可以确定这个入光口没有与任何光网络节点的出光口具有连接关系;第二种情况,如果入光口是光网络节点内的某个功能单元的入光口且需要确定与其可能具有连接关系的其他功能单元的出光口,则可以确定这个入光口没有与任何功能单元的出光口具有连接关系。同理,如果某个出光口没有被任何入光口检测到,则可以根据这个出光口的类别确定以下情况:第一种情况,如果出光口是光网络节点的出光口且需要确定与其可能具有连接关系的其他光网络节点的入光口,则可以确定这个出光口没有与任何光网络节点的入光口具有连接关系;第二种情况,如果出光口是光网络节点内的某个功能单元的出光口且需要确定与其可能具有连接关系的其他功能单元的入光口,则可以确定这个出光口没有与任何功能单元的入光口具有连接关系。另外,如果某个入光口没有确定任何一个出光口可能与其具有连接关系,或者某个出光口没有被任何入光口检测到,则也可能说明接入到这个入光口或出光口的光纤跳线出现故障。It should be noted that, in step S101, if a light entrance does not determine that any light exit may have a connection relationship with it, the following situations can be determined according to the type of the light entrance: In the first case, if the light entrance is the optical entrance of an optical network node and needs to determine the optical exit of other optical network nodes that may have a connection relationship with it, then it can be determined that this optical entrance does not have a connection relationship with any optical network node’s optical exit; in the second case, If the optical entrance is the optical entrance of a certain functional unit in the optical network node and it is necessary to determine the optical exit of other functional units that may have a connection relationship with it, it can be determined that this optical entrance does not have any connection with the optical exit of any functional unit connection relationship. Similarly, if an optical outlet is not detected by any optical inlet, the following conditions can be determined according to the type of the optical outlet: In the first case, if the optical outlet is the optical outlet of an optical network node and it needs to be determined that it may have In the second case, if the optical outlet is a functional unit in the optical network node If it is necessary to determine the light entrance of other functional units that may have a connection relationship with it, it can be determined that the light exit does not have a connection relationship with the light entrance of any functional unit. In addition, if a certain light entrance does not determine that any light exit may have a connection relationship with it, or a certain light exit is not detected by any light entrance, it may also indicate that the optical fiber connected to this light entrance or light exit The jumper is faulty.
还需要说明的是,在步骤S101中,可以在每个出光口上对光波长信号或光复用段信号同时加载标识,也可以分时加载标识,对于入光口而言,只要在指定时间内检测到标识的存在,即可确定这个标识所对应的出光口在其上游。但考虑标识可能对光波长信号或光复用段信号具有一定的干扰,而且如果多个标识同时加载到光波长信号或光复用段信号上,会对光波长信号或光复用段信号产生较大的干扰,所以,如果对光波长信号或光复用段信号分时加载标识,则可以避免确定光口连接关系时对光波长信号或光复用段信号产生过大的干扰而导致误码。It should also be noted that in step S101, the optical wavelength signal or the optical multiplex section signal can be loaded on each optical output port at the same time. If the existence of the logo is detected, it can be determined that the light outlet corresponding to the logo is upstream of it. However, it is considered that the label may interfere with the optical wavelength signal or the optical multiplex section signal, and if multiple labels are loaded on the optical wavelength signal or the optical multiplex section signal at the same time, there will be a large impact on the optical wavelength signal or the optical multiplex section signal. Interference, therefore, if the optical wavelength signal or the optical multiplex section signal is time-division loaded with the label, it can avoid excessive interference to the optical wavelength signal or the optical multiplex section signal when determining the connection relationship of the optical port, resulting in bit errors.
另外,步骤S106和步骤S107可以在步骤S101、S102及S104后执行。In addition, step S106 and step S107 may be performed after steps S101, S102 and S104.
为便于本领域技术人员更加清楚的理解图1所示的流程,下面列举两个实际应用的实施例,再对图1所示的流程进行说明。In order to facilitate those skilled in the art to understand the flow shown in FIG. 1 more clearly, two practical examples are listed below, and then the flow shown in FIG. 1 is described.
第一个应用实施例用于确定光网络设备功能单元的光口之间连接关系。假设某个光网络节点包括功能单元A、功能单元B、功能单元C及功能单元D,每个功能单元包括入光口1、入光口2、入光口3、出光口1、出光口2及出光口3,当然,每个功能单元的入光口数量可以与出光口数量不相同,每个功能单元的入光口数量或出光口数量也可以不相同,这里为了描述方便,假设数量都相同。The first application embodiment is used to determine the connection relationship between the optical ports of the functional units of the optical network equipment. Suppose an optical network node includes functional unit A, functional unit B, functional unit C and functional unit D, and each functional unit includes optical input port 1, optical input port 2, optical input port 3, optical output port 1, and optical output port 2 And light outlet 3, of course, the number of light inlets of each functional unit may be different from the number of light outlets, and the number of light inlets or light outlets of each functional unit may also be different. For the convenience of description, it is assumed that the number is same.
每个入光口检测到可能与其具有连接关系的出光口后,汇总每个入光口与其可能与其具有连接关系的出光口的对应关系如下:After each light input port detects the light output port that may have a connection relationship with it, the corresponding relationship between each light input port and the light output port that may have a connection relationship with it is summarized as follows:
表1Table 1
由表1可知,功能单元A、D的入光口以及功能单元B的入光口3没有检测到任何功能单元的任何出光口,这可以说明,功能单元A、D的入光口以及功能单元B的入光口3没有与任何功能单元的任何出光口具有连接关系。It can be seen from Table 1 that the light entrances of functional units A and D and the light entrance 3 of functional unit B do not detect any light exit of any functional unit, which can explain that the light entrances of functional units A and D and the functional unit The light entrance 3 of B is not connected to any light exit of any functional unit.
构建表1后,首先选择功能单元B的入光口1与功能单元A的出光口1的对应关系,由于这是一个一一对应的对应关系,所以可以确定功能单元B的入光口1与功能单元A的出光口1具有连接关系。After constructing Table 1, first select the correspondence between the light entrance 1 of functional unit B and the light exit 1 of functional unit A. Since this is a one-to-one correspondence, the light entrance 1 of functional unit B and the light exit 1 of functional unit A can be determined. The light outlet 1 of the functional unit A has a connection relationship.
将功能单元A的出光口1从其他具有功能单元A的出光口1的对应关系中删除,在表1中,功能单元A的出光口1未在其他对应关系中出现。The light outlet 1 of the functional unit A is deleted from other correspondences with the light outlet 1 of the functional unit A. In Table 1, the light outlet 1 of the functional unit A does not appear in other correspondences.
再选择功能单元B的入光口2与功能单元A的出光口2的对应关系,由于这是一个一一对应的对应关系,所以可以确定功能单元B的入光口2与功能单元A的出光口2具有连接关系。Then select the corresponding relationship between the light entrance 2 of functional unit B and the light exit 2 of functional unit A. Since this is a one-to-one correspondence, it can be determined that the light entrance 2 of functional unit B and the light exit of functional unit A Port 2 has a connection relationship.
将功能单元A的出光口2从其他具有功能单元A的出光口2的对应关系中删除,在表1中,只有功能单元C的入光口1才对应功能单元A的出光口2,所以将功能单元A的出光口2从功能单元C的入光口1对应的出光口集合中删除。Delete the light outlet 2 of functional unit A from the corresponding relationship of other light outlets 2 with functional unit A. In Table 1, only the light entrance 1 of functional unit C corresponds to the light outlet 2 of functional unit A, so set The light exit port 2 of the functional unit A is deleted from the set of light exit ports corresponding to the light entry port 1 of the functional unit C.
再选择功能单元C的入光口1与功能单元B的出光口3的对应关系,由于这是一个一一对应的对应关系,所以可以确定功能单元C的入光口1与功能单元B的出光口3具有连接关系。Then select the corresponding relationship between the light entrance 1 of the functional unit C and the light exit 3 of the functional unit B. Since this is a one-to-one correspondence, the light entrance 1 of the functional unit C and the light exit of the functional unit B can be determined. Port 3 has a connection relationship.
将功能单元C的出光口3从其他具有功能单元C的出光口3的对应关系中删除,在表1中,功能单元C的出光口3未在其他对应关系中出现。The light outlet 3 of the functional unit C is deleted from other correspondences with the light outlet 3 of the functional unit C. In Table 1, the light outlet 3 of the functional unit C does not appear in other correspondences.
再选择功能单元C的入光口3与功能单元D的出光口2的对应关系,由于这是一个一一对应的对应关系,所以可以确定功能单元C的入光口3与功能单元D的出光口2具有连接关系。Then select the corresponding relationship between the light entrance 3 of the functional unit C and the light exit 2 of the functional unit D. Since this is a one-to-one correspondence, the light entrance 3 of the functional unit C and the light exit of the functional unit D can be determined. Port 2 has a connection relationship.
将功能单元D的出光口2从其他具有功能单元D的出光口2的对应关系中删除,在表1中,只有功能单元C的入光口2才对应功能单元D的出光口2,所以功能单元D的出光口2从功能单元C的入光口2对应的出光口集合中删除。Delete the light outlet 2 of functional unit D from the corresponding relationship of other light outlets 2 with functional unit D. In Table 1, only the light entrance 2 of functional unit C corresponds to the light outlet 2 of functional unit D, so the function The light outlet 2 of unit D is deleted from the set of light outlets corresponding to the light inlet 2 of functional unit C.
最后只剩下一个功能单元C的入光口2与功能单元B的出光口1的对应关系,所以可以确定功能单元C的入光口2与功能单元B的出光口1具有连接关系。Finally, there is only one corresponding relationship between the light entrance 2 of the functional unit C and the light exit 1 of the functional unit B, so it can be determined that the light entrance 2 of the functional unit C has a connection relationship with the light exit 1 of the functional unit B.
至此,功能单元A、功能单元B、功能单元C及功能单元D的光口之间的连接关系确定完毕。So far, the connection relationship among the optical ports of functional unit A, functional unit B, functional unit C and functional unit D has been determined.
第二个应用实施例用于确定光网络节点的光口之间连接关系。假设光网络中或光网络中的一部分存在光网络节点A、光网络节点B、光网络节点C及光网络节点D,每个光网络节点包括入光口1、入光口2、入光口3、出光口1、出光口2及出光口3,当然,每个光网络节点的入光口数量可以与出光口数量不相同,每个光网络节点的入光口数量或出光口数量也可以不相同,这里为了描述方便,假设数量都相同。The second application embodiment is used to determine the connection relationship between the optical ports of the optical network nodes. Assuming that there are optical network node A, optical network node B, optical network node C and optical network node D in the optical network or a part of the optical network, each optical network node includes optical entrance 1, optical entrance 2, optical entrance 3. Optical outlet 1, optical outlet 2, and optical outlet 3. Of course, the number of optical inlets of each optical network node can be different from the number of optical outlets. The number of optical inlets or optical outlets of each optical network node can also be are not the same, here for the convenience of description, it is assumed that the numbers are the same.
每个入光口检测到可能与其具有连接关系的出光口后,汇总每个入光口与其可能与其具有连接关系的出光口的对应关系如下:After each light input port detects the light output port that may have a connection relationship with it, the corresponding relationship between each light input port and the light output port that may have a connection relationship with it is summarized as follows:
表2Table 2
由表2可知,光网络节点A、D的入光口以及光网络节点B的入光口3没有检测到任何光网络节点的任何出光口,这可以说明,光网络节点A、D的入光口以及光网络节点B的入光口3没有与任何光网络节点的任何出光口具有连接关系。It can be seen from Table 2 that the optical entrances of optical network nodes A and D and the optical entrance 3 of optical network node B have not detected any optical exit ports of any optical network node, which can explain that the optical entrances of optical network nodes A and D The optical port and the optical input port 3 of the optical network node B are not connected to any optical output port of any optical network node.
其他确定光网络节点的光口之间的连接关系的步骤与表1所述的步骤相同。Other steps for determining the connection relationship between the optical ports of the optical network nodes are the same as those described in Table 1.
需要说明的是,图1所示的流程只是本发明的第一种方法的一种实施方案,在实际应用中,本发明的第一种方法还可以有很多种实施方案。It should be noted that the process shown in FIG. 1 is only an embodiment of the first method of the present invention, and in practical applications, the first method of the present invention can also have many embodiments.
例如,可以根据标识检测结果,按入光口所检测到的出光口标识数量排序;对标识检测数量均大于1且数量相差为1的两个入光口所检测到的标识进行对比,如果两个入光口所检测的标识有且仅有一个相异,则标识检测数量较多的入光口与所述相异标识所对应的出光口之间具有连接关系;对标识检测数量为1的入光口,则确定所述入光口与所述标识所对应的出光口之间具有连接关系。这个方式的实质在于,随机找出两个排序相邻的入光口,这两个入光口所检测到的标识有且仅有一个相异,那么可以确定标识检测数量较多的入光口与所述相异标识所对应的出光口之间具有连接关系。对于所有在序列中的入光口都可以采用这种方式,直至为序列中所有的入光口找到与其具有连接关系的出光口为止。For example, according to the logo detection results, sort by the number of the light outlet logos detected by the light inlet; compare the logos detected by the two light inlets whose number of logo detections is greater than 1 and whose number difference is 1, if the two If there is only one difference between the detected marks of each light entrance, then there is a connection relationship between the light entrance with a larger number of mark detections and the light exit corresponding to the different marks; If the light entrance is used, it is determined that there is a connection relationship between the light entrance and the light exit corresponding to the identification. The essence of this method is to randomly find two light entrances that are sorted adjacent to each other, and the two light entrances have only one difference in the detected marks, then the light entrance with a large number of mark detections can be determined There is a connection relationship between the light outlets corresponding to the different identifiers. This method can be used for all the light entrances in the sequence, until the light exit ports that have a connection relationship with them are found for all the light entrances in the sequence.
再例如,可以根据标识检测结果,按入光口所检测到的出光口标识数量排序;先找到检测到出光口标识数量最多的入光口,为描述方便,将这个入光口称为入光口A,再找到检测到出光口标识数量比入光口A检测到的出光口标识数量少1个的入光口,这里将这个入光口称为入光口B,其中,入光口A与入光口B检测到有且仅有一个相异标识,则可以确定入光口A与这个相异标识对应的出光口之间具有连接关系。再找到比入光口B检测到的出光口标识数量少1个的入光口,这里将这个入光口称为入光口C,同样使用比较入光口A与入光口B的方式,来比较入光口B与入光口C,以此类推,可以确定所有入光口与出光口之间的连接关系。这种方式的实质在于,按照检测到的出光口标识数量由多到少的顺序,为序列中每个入光口找到与其具有连接关系的出光口。这种方式与图1所示的方式正好相反。For another example, according to the identification detection results, it can be sorted by the number of light exit port signs detected by the light entrance port; first find the light entrance port with the largest number of light exit port marks detected, and for the convenience of description, this light entry port is called the light entrance port A, and then find the light entrance whose number of detected light exit marks is one less than the number of light exit marks detected by light entrance A. Here, this light entrance is called light entrance B, where light entrance A and light entrance If the optical port B detects that there is one and only one different identifier, it can be determined that there is a connection relationship between the optical inlet A and the optical outlet corresponding to the different identifier. Then find the light entrance that has one fewer light exit marks than the light entrance B detected. Here, this light entrance is called light entrance C. Also use the method of comparing light entrance A and light entrance B to Comparing the light entrance B with the light entrance C, and so on, the connections between all the light entrances and the light exits can be determined. The essence of this method is to find the light exit port that has a connection relationship with each light entry port in the sequence in descending order of the number of detected light exit port identifiers. This approach is just the opposite of the approach shown in Figure 1.
本发明的第一种方法可以由多种形式的装置实现,其中的一种装置可以包括:标识加载单元,用于在光波长信号或光复用段信号经过的每个出光口上对所述光波长信号或光复用段信号加载标识;标识检测单元,用于在所述光波长信号或光复用段信号经过的每个入光口上对所述光波长信号或光复用段信号加载的标识进行检测;连接关系确定单元,用于根据标识检测的结果,确定入光口与出光口之间的连接关系。The first method of the present invention can be implemented by various forms of devices, one of which can include: an identification loading unit, used to record the optical wavelength on each optical outlet through which the optical wavelength signal or the optical multiplex section signal passes. The signal or the optical multiplex section signal is loaded with an identification; the identification detection unit is used to detect the identification loaded by the optical wavelength signal or the optical multiplex section signal on each optical entrance through which the optical wavelength signal or the optical multiplex section signal passes; The connection relationship determination unit is configured to determine the connection relationship between the light entrance and the light exit according to the result of the identification detection.
在WDM系统中,光口之间的光纤跳线连接基本上都是一对一的,而光信号从出光口到与这个出光口具有连接关系的入光口的过程中功率损耗一般低于0.2dB,而且如果光波长信号或光复用段信号不经过放大器,则光波长信号或光复用段信号在传输的过程中功率应该是递减的,所以,经过某个出光口的光波长信号或光复用段信号又经过后续的某个或某些入光口时,光波长信号或光复用段信号经过这个出光口时的功率一定大于经过这些入光口时的功率,且光波长信号或光复用段信号经过与这个出光口具有连接关系的入光口时的功率相对于经过其他后续入光口时的功率一定更接近于经过这个出光口时的功率。因此,利用光波长信号或光复用段信号在传输过程中功率衰减的特点,也可以确定光口之间的连接关系。In the WDM system, the fiber jumper connections between the optical ports are basically one-to-one, and the power loss during the process of the optical signal from the optical output port to the optical input port that is connected to this optical port is generally lower than 0.2 dB, and if the optical wavelength signal or optical multiplexing section signal does not pass through the amplifier, the power of the optical wavelength signal or optical multiplexing section signal should decrease gradually during the transmission process, so the optical wavelength signal or optical multiplexing section signal passing through a certain optical outlet When the signal of the optical segment passes through one or some subsequent optical entrances, the power of the optical wavelength signal or the optical multiplexing section signal when passing through this optical exit must be greater than the power when passing through these optical entrances, and the optical wavelength signal or optical multiplexing section The power of the signal passing through the light entrance connected to the light exit must be closer to the power of the light exit than the power of other subsequent light entrances. Therefore, the connection relationship between optical ports can also be determined by using the characteristics of power attenuation of optical wavelength signals or optical multiplex section signals during transmission.
基于上述理由,本发明还提供了第二种光口之间连接关系的确定方法。第二种方法可以应用于光再生段内,光再生段可以指光波长信号或光复用段信号在再生或者放大之后及在下一次再生或放大之前所经过的路程,其中,光再生段源可以为放大器等器件。第二种方法的整体技术方案为:在光信号源对所发出的光波长信号或光复用段信号加载标识,或在光再生段源上对所放大的光波长信号或光复用段信号加载标识,并在所述光波长信号或光复用段信号后续经过的光再生段内每个入光口及出光口上检测标识;根据入光口和出光口之间的标识匹配和功率匹配关系,确定所述出光口与所述入光口之间的连接关系。Based on the above reasons, the present invention also provides a second method for determining the connection relationship between optical ports. The second method can be applied in the optical regeneration section. The optical regeneration section can refer to the distance traveled by the optical wavelength signal or the optical multiplexing section signal after regeneration or amplification and before the next regeneration or amplification, wherein the source of the optical regeneration section can be Amplifiers and other devices. The overall technical solution of the second method is: add an identifier to the emitted optical wavelength signal or optical multiplex section signal at the optical signal source, or add an identifier to the amplified optical wavelength signal or optical multiplex section signal on the optical regeneration section source , and detect the mark on each optical entrance and light exit in the optical regeneration section that the optical wavelength signal or the optical multiplex section signal passes through subsequently; determine the identity matching and power matching relationship between the light entrance and the light exit Describe the connection relationship between the light exit port and the light entry port.
其中,按照如下步骤确定所述入光口与所述出光口之间的连接关系:根据所述入光口所检测到的光波长信号的功率、光复用段信号的功率或标识的功率,对所述入光口排序;根据所述出光口上检测到的光波长信号的功率、光复用段信号的功率或标识的功率,将所述出光口增加到所述入光口序列中;如果所述两个相邻入光口之间有且仅有一个出光口,则确定所述出光口与所述两个入光口中检测到较低功率的入光口之间具有连接关系;如果所述入光口有且仅有一个出光口在所述入光口之前,则确定所述出光口和所述入光口之间具有连接关系。Wherein, the connection relationship between the optical inlet and the optical outlet is determined according to the following steps: according to the power of the optical wavelength signal detected by the optical inlet, the power of the optical multiplex section signal or the power of the identification, the Sorting the optical entrances; adding the optical exits to the sequence of optical entrances according to the power of the optical wavelength signal detected on the optical exit, the power of the optical multiplex section signal or the power of the logo; if the If there is one and only one light outlet between two adjacent light inlets, it is determined that there is a connection relationship between the light outlet and the light inlet that detects a lower power among the two light inlets; if the light inlet If the light port has one and only one light exit port before the light entrance port, it is determined that there is a connection relationship between the light exit port and the light entrance port.
另外,还可以按照如下步骤确定所述入光口与所述出光口之间的连接关系:根据所述出光口所检测到的光波长信号的功率、光复用段信号的功率或标识的功率,对所述出光口排序;根据所述入光口上检测到的光波长信号的功率、光复用段信号的功率或标识的功率,将所述入光口增加到所述出光口序列中;如果所述两个相邻出光口之间有且仅有一个入光口,则确定所述入光口与所述两个出光口中检测到较高功率的出光口之间具有连接关系;如果所述出光口有且仅有一个入光口在所述出光口之后,则确定所述出光口和所述入光口之间具有连接关系。In addition, the connection relationship between the optical inlet port and the optical outlet port can also be determined according to the following steps: according to the power of the optical wavelength signal detected by the optical outlet port, the power of the optical multiplex section signal or the power of the identification, Sorting the optical outlets; adding the optical inlets to the sequence of optical outlets according to the power of the optical wavelength signal detected on the optical inlet, the power of the optical multiplex section signal, or the power of the logo; if the If there is one and only one light entrance between the two adjacent light exits, it is determined that there is a connection relationship between the light entrance and the light exit with higher power detected in the two light exits; if the light exit If there is one and only one light entrance behind the light exit, then it is determined that there is a connection relationship between the light exit and the light entrance.
进一步的,如果在一个入光口上检测出的光波长信号的功率、光复用段信号的功率或标识的功率高于在任何一个出光口上检测出的光波长信号的功率、光复用段信号的功率或标识的功率,则确定所述入光口与光信号源或光再生段源加载的标识所对应的出光口之间具有连接关系。Further, if the power of the optical wavelength signal detected on an optical entrance, the power of the optical multiplex section signal or the power of the sign is higher than the power of the optical wavelength signal detected on any optical exit, the power of the optical multiplex section signal or the power of the logo, it is determined that there is a connection relationship between the light inlet port and the light outlet port corresponding to the logo loaded by the optical signal source or the optical regeneration section source.
进一步的,如果在一个出光口上检测出的光波长信号的功率、光复用段信号的功率或标识的功率与在任何一个入光口上检测出的光波长信号的功率、光复用段信号的功率或标识的功率差异都大于预先设置的功率差异门限,则确定与所述出光口相关的光纤连接关系异常。Further, if the power of the optical wavelength signal, the power of the optical multiplex section signal or the power of the logo detected on an optical outlet is different from the power of the optical wavelength signal detected on any optical entrance, the power of the optical multiplex section signal or If the marked power differences are greater than the preset power difference threshold, it is determined that the optical fiber connection relationship related to the optical outlet is abnormal.
下面结合图2,对本发明的第二种方法进行详细说明。如图2所示,包括如下步骤:The second method of the present invention will be described in detail below with reference to FIG. 2 . As shown in Figure 2, it includes the following steps:
步骤S201:在光信号源对发出的光波长信号或光复用段信号加载标识,或者在光再生段源上对所放大的光波长信号或光复用段信号加载标识。Step S201: Adding an identifier to the emitted optical wavelength signal or optical multiplex section signal at the optical signal source, or loading an identifier to the amplified optical wavelength signal or optical multiplex section signal at the optical regeneration section source.
在第二种方法中,只有光信号源或光再生段源才在发出或放大的光波长信号或光复用段信号中加载标识,而其他出光口同入光口一样,只检测标识,而不加载标识。光信号源可以是一个光网络节点,也可以是一个光网络设备功能单元,例如波长转换单元等。In the second method, only the optical signal source or the optical regeneration section source loads the logo in the emitted or amplified optical wavelength signal or optical multiplex section signal, while other optical outlets are the same as the optical entrance, only detect the logo, and do not load the logo . The optical signal source may be an optical network node, or a functional unit of an optical network device, such as a wavelength conversion unit.
步骤S202:在所述光波长信号或光复用段信号经过的光再生段内每个入光口及出光口上检测标识。Step S202: Detecting a mark on each optical input port and optical output port in the optical regeneration section through which the optical wavelength signal or the optical multiplex section signal passes.
步骤S203:分别将检测到相同数量和内容的标识的入光口及出光口与其检测到的信息之间的对应关系汇总到一个组。Step S203: Summarize the corresponding relationships between the light entrances and light exits with the same number and contents of the detected signs and the detected information respectively into one group.
对于一个入光口或出光口来说,如果经过这个入光口或出光口的光波长信号或光复用段信号也经过其他某个或某些入光口或出光口,则这个入光口或出光口检测到的标识的数量和内容会与其他某个或某些入光口检测到的标识的数量和内容完全相同;如果经过这个入光口或出光口的光波长信号或光复用段信号不经过其他某个或某些入光口或出光口,或者,如果经过其他某个或某些入光口或出光口的光波长信号或光复用段信号不经过这个入光口或出光口,则这个入光口或出光口检测到的标识的数量和内容会与其他某个或某些入光口检测到的标识的数量和内容有所不同。For an optical entrance or optical exit, if the optical wavelength signal or optical multiplexing section signal passing through this optical entrance or optical exit also passes through some other or some other optical entrances or exits, then this optical entrance or The number and content of the identifiers detected by the optical outlet will be exactly the same as those detected by one or some other optical inlets; if the optical wavelength signal or optical multiplex section signal passing through this optical inlet or optical outlet Do not pass through one or some other optical inlets or outlets, or if the optical wavelength signal or optical multiplex section signal that passes through one or some other optical inlets or outlets does not pass through this optical inlet or outlet, Then the quantity and content of the marks detected by this light entrance or light exit will be different from the quantity and content of the marks detected by one or some other light entrances.
在步骤S203中,可以将检测到相同数量和内容的标识的入光口与其检测到的所有标识及对应的光功率信息之间的对应关系汇总,相应的,将检测到相同数量和内容的随路标识信号的出光口与其检测到的所有标识及对应的光功率信息之间的对应关系汇总,这样可以得到多个入光口组及出光口组,且每个组内的光口检测到的标识的数量和内容与同组的其他光口检测到的标识的数量和内容完全相同。In step S203, the corresponding relationship between the optical entrances that detect the same number and contents of the identifiers and all the detected identifiers and the corresponding optical power information can be summarized, and correspondingly, the random detection of the same number and contents Summarize the corresponding relationship between the optical exit port of the road identification signal and all the detected identifications and the corresponding optical power information, so that multiple optical input port groups and optical output port groups can be obtained, and the optical port detected by each group The number and content of the marks are exactly the same as those detected by other optical ports in the same group.
步骤S204:对同一组的光口进行功率匹配,功率最匹配的出光口与入光口之间具有连接关系。Step S204: Perform power matching on the optical ports of the same group, and the optical output port with the most power matching has a connection relationship with the optical input port.
具体的,对于每个组中的出光口或入光口,在与其检测到相同数量和内容的标识的入光口组或出光口组中,查找与其检测到的标识对应的光功率最匹配的入光口或出光口,查找到的入光口或出光口即为与其具有连接关系的入光口或出光口。Specifically, for the light exit or light entrance in each group, in the light entrance group or light exit group that detects the same number and content of the logo, find the most matching optical power corresponding to the detected logo The light entrance or light exit, the light entrance or light exit that is found is the light entrance or light exit that has a connection relationship with it.
如果以出光口为基准来确定与其具有连接关系的入光口,则可以先将出光口组中的出光口进行排序,例如按照功率由大到小的顺序进行排序,同样,还可以将对应的入光口组中的入光口进行排序,对应的入光口组是指与这个出光口组中的出光口检测到相同数量和内容的标识的所有入光口组成的一个组。排序完成后,先以出光口组中的第一个出光口为基准来确定与第一个出光口具有连接关系的入光口,即,从对应的入光口组中查找检测到的对应光功率小于且最接近于第一个出光口检测到的对应光功率的入光口。一般来说,光波长信号或光复用段信号经过某个出光口时的功率与经过和这个出光口具有连接关系的入光口时的功率差异应该小于0.2dB,但考虑到检测精度等因素影响,可以认为光功率差异可以小于1dB,所以,查找到的入光口应该是检测到的光功率小于出光口检测到的光功率、且差异应该小于1dB的入光口,查找到的入光口即为与第一个出光口具有连接关系的入光口。同理,再以其他出光口为基准来确定与这些出光口具有连接关系的入光口,第一个出光口组确定完成后,再以其他出光口组中的出光口为基准来确定与这些出光口组中的出光口具有连接关系的入光口,这样就可以确定光口之间的连接关系。If the optical entrances connected with the light exits are determined based on the light exits, the light exits in the light exit group can be sorted first, for example, sorted according to the order of power from large to small. Similarly, the corresponding The light entrances in the light entrance group are sorted, and the corresponding light entrance group refers to a group composed of all light entrances that have detected the same number and content of identifications as the light exits in the light exit group. After the sorting is completed, use the first light outlet in the light outlet group as a reference to determine the light entrance that has a connection relationship with the first light exit, that is, find the corresponding detected light from the corresponding light entrance group. The light input port whose power is less than and closest to the corresponding optical power detected by the first light output port. Generally speaking, the difference between the power of an optical wavelength signal or an optical multiplex section signal when it passes through a certain optical outlet and the power when it passes through an optical inlet that is connected to this optical outlet should be less than 0.2dB, but considering factors such as detection accuracy , it can be considered that the optical power difference can be less than 1dB. Therefore, the optical input port found should be the optical input port whose detected optical power is less than the optical power detected by the optical output port, and the difference should be less than 1dB. It is the light entrance that is connected to the first light exit. In the same way, use other light outlets as a benchmark to determine the light entrances that are connected to these light outlets. The light outlets in the light outlet group have connected light inlets, so that the connection relationship between the light ports can be determined.
同理,如果以入光口为基准来确定与其具有连接关系的出光口,则可以先将入光口组中的入光口进行排序,例如按照功率由小到大的顺序进行排序,同样,还可以将对应的出光口组中的出光口进行排序,对应的出光口组是指与这个入光口组中的入光口检测到相同数量和内容的标识的所有出光口组成的一个组。排序完成后,先以入光口组中的第一个入光口为基准来确定与第一个入光口具有连接关系的出光口,即,从对应的出光口组中,查找检测到的对应光功率大于且最接近于第一个入光口检测到的对应光功率的出光口。一般来说,光波长信号或光复用段信号经过某个入光口时的功率与经过和这个入光口具有连接关系的出光口时的功率差异应该小于0.2dB,但考虑到检测精度等因素影响,可以认为光功率差异可以小于1dB,所以,查找到的出光口应该是检测到的光功率大于这个入光口检测到的光功率、且差异应该小于1dB的出光口,查找到的出光口即为与第一个入光口具有连接关系的出光口。同理,再以其他入光口为基准来确定与这些入光口具有连接关系的出光口,第一个入光口组确定完成后,再以其他入光口组中的入光口为基准来确定与这些入光口组中的入光口具有连接关系的出光口,这样也可以确定光口之间的连接关系。In the same way, if the light-entrance port is used as the reference to determine the light-entry port that has a connection relationship with it, you can first sort the light-entry ports in the light-entry port group, for example, sort them in order of power from small to large. Similarly, The light outlets in the corresponding light outlet group can also be sorted, and the corresponding light outlet group refers to a group composed of all the light outlets that have detected the same number and content of identifiers as the light inlets in the light inlet group. After the sorting is completed, the first light entrance in the light entrance group is used as a reference to determine the light exit port that has a connection relationship with the first light entrance port, that is, from the corresponding light exit group, find the detected The light output port whose corresponding optical power is greater than and closest to the corresponding optical power detected by the first light input port. Generally speaking, the difference between the power of an optical wavelength signal or an optical multiplex section signal when it passes through a certain optical inlet and the power when it passes through an optical outlet that is connected to this optical inlet should be less than 0.2dB, but considering factors such as detection accuracy It can be considered that the optical power difference can be less than 1dB. Therefore, the optical output port found should be the optical output port whose detected optical power is greater than the optical power detected by this optical input port, and the difference should be less than 1dB. It is the light exit port that is connected to the first light entrance port. In the same way, use other light entrances as a reference to determine the light exits that are connected to these light entrances. After the first light entrance group is determined, use the light entrances in other light entrance groups as a reference To determine the light outlets that have a connection relationship with the light entrances in these light entrance groups, so that the connection relationship between the light ports can also be determined.
需要说明的是,如果在序列中处于相同位置的入光口和出光口对应的光功率差异过大,可以进一步推断出光口和入光口之间虽然存在光纤连接关系,但是光纤连接可能受光纤跳线端面污染、损伤、连接不良等原因导致连接损耗过大。如果检测到相同标识的出光口和入光口数量不匹配,也可以推断出是哪一个出光口后面光纤连接异常。It should be noted that if the difference in optical power corresponding to the optical input port and the optical output port at the same position in the sequence is too large, it can be further inferred that although there is an optical fiber connection relationship between the optical output port and the optical input port, the optical fiber connection may be affected by the optical fiber. The connection loss is too large due to pollution, damage, and poor connection of the end face of the jumper. If it is detected that the number of light exit ports and light entry ports with the same identification does not match, it can also be deduced which optical fiber connection behind the light exit port is abnormal.
为便于本领域技术人员更加清楚的理解图2所示的流程,下面以一个实际应用的实施例再对图2所示的流程进行说明。在这个实际应用的实施例中,假设一个光网络节点具有功能单元A、B及C,功能单元A、B及C的入光口及出光口检测到的标识及对应光功率分别如表3及表4所示:In order to make it easier for those skilled in the art to understand the flow shown in FIG. 2 more clearly, the flow shown in FIG. 2 will be described below with an example of practical application. In this practical example, it is assumed that an optical network node has functional units A, B, and C, and the identifiers and corresponding optical powers detected by the optical entrances and exits of functional units A, B, and C are shown in Table 3 and Table 3 respectively. Table 4 shows:
表3table 3
表4Table 4
将检测到相同数量和内容的标识的入光口及出光口分别汇总到一个组,汇总的结果如下:Summarize the light entrances and light exits that detect the same number and content of the logo into one group, and the summary results are as follows:
检测到S1、S3的入光口组为{功能单元B的入光口1,功能单元C的入光口3},出光口组为{功能单元A的出光口2,功能单元B的入光口1};It is detected that the light entrance group of S1 and S3 is {light entrance 1 of functional unit B, light entrance 3 of functional unit C}, and the light exit group is {light exit 2 of functional unit A, light entrance 2 of functional unit B port 1};
检测到S2、S4的入光口组为{功能单元B的入光口2,功能单元C的入光口1},出光口组为{功能单元A的出光口3,功能单元B的入光口2};It is detected that the light entrance group of S2 and S4 is {light entrance 2 of functional unit B, light entrance 1 of functional unit C}, and the light exit group is {light exit 3 of functional unit A, light entrance 1 of functional unit B mouth2};
检测到S5、S6的入光口组为{功能单元B的入光口3,功能单元C的入光口2},出光口组为{功能单元A的出光口1,功能单元B的入光口3}。It is detected that the light entrance group of S5 and S6 is {light entrance 3 of functional unit B, light entrance 2 of functional unit C}, and the light exit group is {light exit 1 of functional unit A, light entrance 1 of functional unit B Mouth 3}.
如果确定与功能单元B的入光口1具有连接关系的出光口,则从检测到S1、S3的出光口组中找出对应光功率比较接近、且光功率要比功能单元B的入光口1大的出光口,如果功能单元A的出光口2检测到的对应光功率分别大于功能单元B的入光口1检测到的对应光功率,且在所有检测到大于功能单元B的入光口1的对应光功率的出光口中检测到的光功率最接近于功能单元B的入光口1检测到的对应光功率,则可以确定功能单元A的出光口2与功能单元B的入光口1具有连接关系。其他光口连接关系的确定方法以此类推。这样,功能单元A、B及C的所有入光口及出光口之间的连接关系都可以确定。If it is determined that the light outlet is connected to the light entrance 1 of the functional unit B, then find the light entrance with the corresponding optical power that is relatively close to the optical power of the functional unit B from the group of light exits that detect S1 and S3 1 Larger optical outlet, if the corresponding optical power detected by the optical outlet 2 of the functional unit A is greater than the corresponding optical power detected by the optical entrance 1 of the functional unit B, and the corresponding optical power detected by the optical entrance 1 of the functional unit B is greater than that of the optical entrance of the functional unit B If the optical power detected in the light output port corresponding to the optical power of 1 is closest to the corresponding optical power detected by the light input port 1 of the functional unit B, then it can be determined that the light output port 2 of the functional unit A and the light input port 1 of the functional unit B have a connection relationship. The methods for determining the connection relationship of other optical ports can be deduced by analogy. In this way, the connections between all light inlets and light outlets of the functional units A, B and C can be determined.
在本发明的第二种方法中,可以只有光信号源或光再生段源对光波长信号或光复用段信号加载标识,无需每个出光口都对经过的光波长信号或光复用段信号加载标识,避免了标识加载装置引入的损耗,节省了引入加载装置需要的成本。In the second method of the present invention, only the optical signal source or the optical regeneration section source can be used to load the optical wavelength signal or the optical multiplex section signal, and it is not necessary for each optical outlet to load the passed optical wavelength signal or optical multiplex section signal. The marking avoids the loss introduced by the marking loading device and saves the cost of introducing the loading device.
本发明的第二种方法可以由很多形式的装置实现,其中的一种装置可以包括:标识加载单元,用于在光信号源对所发出的光波长信号或光复用段信号加载标识,或在光再生段源上对所放大的光波长信号或光复用段信号加载标识;标识检测单元,用于在所述光波长信号或光复用段信号后续经过的光再生段内每个入光口及出光口上检测标识;连接关系确定单元,用于根据入光口和出光口之间的标识匹配和功率匹配关系,确定所述出光口与所述入光口之间的连接关系。The second method of the present invention can be realized by many forms of devices, one of which may include: an identification loading unit, used to load the optical wavelength signal or optical multiplex section signal issued by the optical signal source with an identification, or in the The source of the optical regeneration section loads a mark on the amplified optical wavelength signal or optical multiplex section signal; the mark detection unit is used for each optical entrance and A mark is detected on the light exit port; a connection relationship determination unit is configured to determine the connection relationship between the light exit port and the light entry port according to the mark matching and power matching relationship between the light exit port and the light exit port.
在实际应用中,虽然很少使用超过两级放大器解决功率预算,但毕竟还存在使用超过两级放大器解决功率预算的光网络,为解决这样的光网络中的光口连接关系的确定问题,本发明还提供了第三种光口之间连接关系的确定方法。In practical applications, although more than two-stage amplifiers are rarely used to solve the power budget, there are still optical networks that use more than two-stage amplifiers to solve the power budget. In order to solve the problem of determining the connection relationship of optical ports in such optical networks, this paper The invention also provides a third method for determining the connection relationship between optical ports.
本发明的第三种方法的整体技术方案为:在光信号源及光再生段源上对所经过的光波长信号或光复用段信号加载标识,在所述光波长信号或光复用段信号所经过的入光口和出光口对所述加载的标识进行检测;根据标识检测结果,确定光信号源与光再生段源之间以及光再生段源之间的相邻上下游关系,并确定在同一再生段内的入光口和出光口组;在同一再生段入光口和出光口组内,根据所述出光口和所述入光口所检测的光波长信号功率或光复用段信号功率或标识功率关系,确定所述出光口与所述入光口之间的连接关系。The overall technical solution of the third method of the present invention is as follows: on the optical signal source and the optical regeneration section source, mark the passed optical wavelength signal or optical multiplex section signal; The passed light entrance and light exit port detect the loaded logo; according to the detection result of the logo, determine the adjacent upstream and downstream relationship between the optical signal source and the light regeneration section source and between the light regeneration section sources, and determine the The optical inlet and outlet group in the same regeneration section; in the same regeneration section optical inlet and outlet group, according to the optical wavelength signal power or optical multiplexing section signal power detected by the optical outlet and the optical inlet Or identify the power relationship, and determine the connection relationship between the light exit port and the light entry port.
其中,入光口和出光口检测到相同数量的标识并且所述标识完全相同被作为同一再生段内的入光口和出光口组。Wherein, the same number of marks detected at the light entrance and the light exit port and the same marks are regarded as the light entrance port and the light exit port group in the same regeneration section.
所述标识所采用的频率、扩频码、所述标识所携带的标识ID信息或者所述标识对应的时隙信息与所述光信号源或光再生段源一一对应。The frequency used for the identification, the spreading code, the identification ID information carried by the identification, or the time slot information corresponding to the identification correspond to the optical signal source or the optical regeneration section source one by one.
可以按照如下步骤确定同一再生段内的所述入光口与所述出光口之间的连接关系:根据所述入光口所检测到的光波长信号的功率、光复用段信号的功率或标识的功率,对所述入光口排序;根据所述出光口上检测到的光波长信号的功率、光复用段信号的功率或标识的功率,将所述出光口增加到所述入光口序列中;如果所述两个相邻入光口之间有且仅有一个出光口,则确定所述出光口与所述两个入光口中检测到较低功率的入光口之间具有连接关系;如果所述入光口有且仅有一个出光口在所述入光口之前,则确定所述出光口和所述入光口之间具有连接关系。The connection relationship between the optical inlet port and the optical outlet port in the same regeneration section can be determined according to the following steps: according to the power of the optical wavelength signal detected by the optical inlet port, the power or the identification of the optical multiplex section signal The power of the optical entrance is sorted; according to the power of the optical wavelength signal detected on the optical exit, the power of the optical multiplex section signal or the power of the logo, the optical exit is added to the sequence of optical entrances ; If there is one and only one light outlet between the two adjacent light inlets, it is determined that there is a connection relationship between the light outlet and the light inlet that detects a lower power among the two light inlets; If the light entrance has one and only one light exit before the light entrance, it is determined that there is a connection relationship between the light exit and the light entrance.
也可以按照如下步骤确定同一再生段内的所述入光口与所述出光口之间的连接关系:根据所述出光口所检测到的光波长信号的功率、光复用段信号的功率或标识的功率,对所述出光口排序;根据所述入光口上检测到的光波长信号的功率、光复用段信号的功率或标识的功率,将所述入光口增加到所述出光口序列中;如果所述两个相邻出光口之间有且仅有一个入光口,则确定所述入光口与所述两个出光口中检测到较高功率的出光口之间具有连接关系;如果所述出光口有且仅有一个入光口在所述出光口之后,则确定所述出光口和所述入光口之间具有连接关系。The connection relationship between the optical inlet port and the optical outlet port in the same regeneration section can also be determined according to the following steps: according to the power of the optical wavelength signal detected by the optical outlet port, the power or the identification of the optical multiplex section signal The power of the optical outlets is sorted; according to the power of the optical wavelength signal detected on the optical entrance, the power of the optical multiplex section signal or the power of the logo, the optical entrance is added to the sequence of optical outlets ; If there is and only one light entrance between the two adjacent light exits, it is determined that there is a connection relationship between the light entrance and the light exit with higher power detected in the two light exits; if If the light outlet has one and only one light inlet behind the light outlet, then it is determined that there is a connection relationship between the light outlet and the light inlet.
可以按照下述方式确定所述光信号源与光再生段源之间以及光再生段源之间的相邻上下游关系:根据检测标识的结果,按每个光再生段源的入光口所检测到的光信号源或光再生段源的出光口标识数量从少至多排序;如果有一个光再生段源的入光口只对应一个光信号源或光再生段源的出光口,则确定所述光再生段源处于所述光信号源或光再生段源的相邻下游。The adjacent upstream and downstream relationship between the optical signal source and the optical regeneration section source and between the optical regeneration section sources can be determined in the following manner: The number of detected optical signal sources or optical regeneration section sources is sorted from the least to the most; The optical regeneration section source is adjacent to the downstream of the optical signal source or the optical regeneration section source.
进一步的,如果已确定检测到n个标识的光再生段源与所述n个标识中某个标识所对应的光信号源或光再生段源之间具有连接关系,则确定检测到n+1个标识的光再生段源与所述相异标识所对应的光再生段源之间具有相邻上下游关系,其中,所述n+1个标识中有n个标识与所述检测到n个标识的光再生段源所检测到的n个标识完全相同,n为大于0的整数;以此类推,进而确定其他光再生段源之间的连接关系。Further, if it is determined that there is a connection relationship between the optical regeneration segment source detected with n identifiers and the optical signal source or optical regeneration segment source corresponding to a certain identifier among the n identifiers, it is determined that n+1 There is an adjacent upstream-downstream relationship between the optical regeneration segment sources of the different identifications and the optical regeneration segment sources corresponding to the different identifications, wherein, among the n+1 identifications, n identifications are related to the detected n identifications The n identifiers detected by the identified optical regeneration section source are completely the same, and n is an integer greater than 0; by analogy, the connection relationship between other optical regeneration section sources is determined.
可以按照下述方式确定光再生段源之间的相邻上下游关系:根据标识检测结果,按每个光再生段源的入光口所检测到的光再生段源的出光口标识数量排序;对标识检测数量均大于1且数量相差为1的两个光再生段源的入光口所检测到的标识进行对比,如果所述两个光再生段源的入光口所检测的标识有且仅有一个相异,则标识检测数量较多的光再生段源位于所述相异标识所对应的光再生段源相邻下游;对标识检测数量为1的光再生段源,则确定所述光再生段源位于所述标识所对应的光信号源或光再生段源的相邻下游。The adjacent upstream and downstream relationship between optical regeneration section sources can be determined in the following manner: according to the identification detection results, sort according to the number of light outlet identifications of optical regeneration section sources detected by the light entrance of each optical regeneration section source; Comparing the marks detected by the light entrances of the two optical regeneration section sources whose detection numbers are greater than 1 and whose quantity differs by 1, if the marks detected by the light entrances of the two light regeneration section sources have and If there is only one difference, then the optical regeneration segment source with a large number of identification detections is located adjacent to the optical regeneration segment source corresponding to the different identification; for the optical regeneration segment source whose identification detection number is 1, then determine the The optical regeneration segment source is located adjacent to the downstream of the optical signal source or the optical regeneration segment source corresponding to the mark.
进一步的,如果在一个出光口上检测出的光波长信号的功率、光复用段信号的功率或标识的功率与在任何一个入光口上检测出的光波长信号的功率、光复用段信号的功率或标识的功率差异都大于预先设置的功率差异门限,则确定与所述出光口相关的光纤连接关系异常。Further, if the power of the optical wavelength signal, the power of the optical multiplex section signal or the power of the logo detected on an optical outlet is different from the power of the optical wavelength signal detected on any optical entrance, the power of the optical multiplex section signal or If the marked power differences are greater than the preset power difference threshold, it is determined that the optical fiber connection relationship related to the optical outlet is abnormal.
下面结合图3,对本发明的第三种方法进行详细说明。如图3所示,包括:The third method of the present invention will be described in detail below with reference to FIG. 3 . As shown in Figure 3, including:
步骤S301:在光信号源及光再生段源上对所经过的光波长信号或光复用段信号加载标识。Step S301: Marking the passed optical wavelength signal or optical multiplex section signal on the optical signal source and the optical regeneration section source.
光再生段源在光网络中可以改变光功率,如果光再生段源在通过其出光口的光波长信号或光复用段信号上加载标识,则光信号源与相邻的光再生段源之间、两个相邻的光再生段源之间及光信号宿与相邻的光再生段源之间传送的光波长信号或光复用段信号的光功率都是递减的,这样,整个光网络就被光信号源、光再生段源及光信号宿分为几个区间,每个区间传送的光波长信号或光复用段信号的光功率都是递减的。The optical regeneration section source can change the optical power in the optical network. If the optical regeneration section source is marked on the optical wavelength signal or the optical multiplexing section signal passing through its optical outlet, the distance between the optical signal source and the adjacent optical regeneration section source , The optical power of the optical wavelength signal or the optical multiplexing section signal transmitted between two adjacent optical regeneration section sources and between the optical signal sink and the adjacent optical regeneration section source is decreasing, so that the entire optical network It is divided into several sections by the optical signal source, the optical regeneration section source and the optical signal sink, and the optical power of the optical wavelength signal or the optical multiplexing section signal transmitted in each section decreases gradually.
步骤S302:光信号宿或每个光再生段源通过检测到达的标识,确定与其相邻的光再生段源或光信号源。Step S302: The optical signal sink or each optical regeneration segment source determines the adjacent optical regeneration segment source or optical signal source by detecting the arriving identifier.
虽然光波长信号或光复用段信号在光信号源与其相邻的光再生段源之间、两个相邻的光再生段源之间及光信号宿与相邻的光再生段源之间传送时可能会经过其他光网络节点或功能单元,但由于这些光网络节点或功能单元只是转发光波长信号或光复用段信号,所以可以将这些光网络节点或功能单元等同于传送信号的光纤,因此,步骤S302可以由图1所示的流程实现,只不过光信号宿或每个光再生段源检测的是光信号源及光再生段源加载的标识,最后确定的是光信号源、所有的再生段源及光信号宿之间的相邻上下游关系。Although the optical wavelength signal or the optical multiplex section signal is transmitted between the optical signal source and its adjacent optical regeneration section source, between two adjacent optical regeneration section sources, and between the optical signal sink and the adjacent optical regeneration section source may pass through other optical network nodes or functional units, but since these optical network nodes or functional units only transfer optical wavelength signals or optical multiplex section signals, these optical network nodes or functional units can be equivalent to optical fibers for transmitting signals, so , step S302 can be realized by the process shown in Figure 1, except that the optical signal sink or each optical regeneration section source detects the optical signal source and the identification loaded by the optical regeneration section source, and finally determines the optical signal source, all Adjacent upstream and downstream relationships between regeneration segment sources and optical signal sinks.
步骤S303:每个光再生段内的所有入光口或出光口检测到达的光波长信号或光复用段信号中的所有标识及对应的光功率信息。这个步骤可以与步骤S202相同。Step S303: All optical inlets or outlets in each optical regeneration section detect all identifiers and corresponding optical power information in the arriving optical wavelength signal or optical multiplex section signal. This step may be the same as step S202.
步骤S304:分别将检测到相同数量和内容的标识的入光口及出光口与其检测到的信息之间的对应关系汇总到一个组。这个步骤可以与步骤S203相同。Step S304: Summarize the corresponding relationships between the light entrances and light exits with the same number and contents of the detected signs and their detected information into one group. This step may be the same as step S203.
步骤S305:对同一组的光口进行功率匹配,功率最匹配的出光口与入光口之间具有连接关系。这个步骤可以与步骤S204相同。Step S305: Perform power matching on the optical ports of the same group, and the optical output port with the most power matching has a connection relationship with the optical input port. This step may be the same as step S204.
具体的,对于每个组中的出光口或入光口,在与其检测到相同数量和内容的标识的入光口组或出光口组中,查找与其检测到的标识对应的光功率最匹配的入光口或出光口,查找到的入光口或出光口即为与其具有连接关系的入光口或出光口。Specifically, for the light exit or light entrance in each group, in the light entrance group or light exit group that detects the same number and content of the logo, find the most matching optical power corresponding to the detected logo The light entrance or light exit, the light entrance or light exit that is found is the light entrance or light exit that has a connection relationship with it.
需要说明的是,图3所示的流程只是本发明第三种方法的一种实现方式,在实际应用中,还可以有多种流程可以实现本发明的第三种方法,例如,上述步骤S301中的每个光信号源在发出的光信号中加载标识的技术手段可以在步骤S303中开始使用,或者步骤S302与步骤S303同时进行。It should be noted that the process shown in FIG. 3 is only an implementation of the third method of the present invention. In practical applications, there may be multiple processes to realize the third method of the present invention. For example, the above step S301 The technical means that each optical signal source in the optical signal source loads an identifier in the emitted optical signal can be used in step S303, or step S302 and step S303 can be performed simultaneously.
在本发明的第三种方法中,光信号源、光再生段源及光信号宿可以将整个光网络分为多个区间,具体的,可以使用图1所示的流程确定光信号源、光再生段源及光信号宿之间的相邻上下游关系,使用图2所示的流程确定每个区间中的所有光口之间的连接关系,所以,对于设置有光再生段源的光网络来说,完全可以使用本发明的第三种方法确定光口之间的连接关系。In the third method of the present invention, the optical signal source, optical regeneration segment source and optical signal sink can divide the entire optical network into multiple sections. Specifically, the process shown in Figure 1 can be used to determine the optical signal source, optical For the adjacent upstream and downstream relationship between the regeneration segment source and the optical signal sink, use the process shown in Figure 2 to determine the connection relationship between all the optical ports in each section. Therefore, for an optical network with an optical regeneration segment source In other words, it is entirely possible to use the third method of the present invention to determine the connection relationship between optical ports.
本发明的第三种方法可以由很多形式的装置实现,其中的一种装置可以包括:标识加载单元,用于在光信号源及光再生段源上对所经过的光波长信号或光复用段信号加载标识;标识检测单元,用于在所述光波长信号或光复用段信号所经过的入光口和出光口对所述加载的标识进行检测;上下游关系及光口组确定单元,用于根据标识检测结果,确定光信号源与光再生段源之间以及光再生段源之间的相邻上下游关系,并确定在同一再生段内的入光口和出光口组;连接关系确定单元,用于在同一再生段入光口和出光口组内,根据所述出光口和所述入光口所检测的光波长信号功率或光复用段信号功率或标识功率关系,确定所述出光口与所述入光口之间的连接关系。The third method of the present invention can be realized by many forms of devices, one of which can include: an identification loading unit, which is used to record the passing optical wavelength signal or optical multiplexing section on the optical signal source and the optical regeneration section source The signal is loaded with an identification; the identification detection unit is used to detect the loaded identification at the optical entrance and the optical exit through which the optical wavelength signal or the optical multiplexing section signal passes; the upstream and downstream relationship and the optical port group determination unit are used Determine the adjacent upstream and downstream relationship between the optical signal source and the source of the optical regeneration section and between the sources of the optical regeneration section according to the result of the identification detection, and determine the light inlet and outlet groups in the same regeneration section; the connection relationship is determined A unit, configured to determine the output light according to the relationship between the optical wavelength signal power detected by the optical output port and the optical input port or the signal power of the optical multiplexing section or the identification power in the same group of the optical input port and the optical output port of the regeneration section. The connection relationship between the port and the light entrance.
本发明的所有方法及装置不仅可以实现光网络节点之间光口连接关系的确定,还可以实现光网络节点内各个功能单元之间光口连接关系的确定。All the methods and devices of the present invention can not only realize the determination of the optical port connection relationship between the optical network nodes, but also realize the determination of the optical port connection relationship between each functional unit in the optical network node.
如果本发明的所有方法及装置用于确定光网络节点内各个功能单元之间的光口连接关系,则由于各个功能单元之间相对独立,因此可以避免出现走电、爬电等电磁干扰(EMI,Electromagnetic Interference)问题。If all the methods and devices of the present invention are used to determine the optical port connection relationship between each functional unit in an optical network node, then because each functional unit is relatively independent, electromagnetic interference (EMI) such as electric leakage and creepage can be avoided. , Electromagnetic Interference) problem.
本发明的所有方法及装置使用标识作为检测连接关系的一个依据,这样可以避免出现旁路检测情况下检测结果与实际的业务运行情况不一致的问题,而且可以在不影响光信号正常传输的前提下,随时确定光口之间的连接关系。All the methods and devices of the present invention use the identification as a basis for detecting the connection relationship, which can avoid the problem of inconsistency between the detection results and the actual business operation in the case of bypass detection, and can be performed without affecting the normal transmission of optical signals. , to determine the connection relationship between optical ports at any time.
在使用本发明的所有方法的过程中,如果某个出光口加载的随路标识信号没有被本光网络节点内的任何一个功能单元的入光口或其他光网络节点的入光口检测到,则说明这个出光口接出的光纤跳线存在故障,另外,如果某个入光口没有检测到本光网络节点内的任何一个功能单元的入光口或其他光网络节点的入光口的标识,则说明这个入光口没有与本光网络节点内的任何一个功能单元的入光口或其他光网络节点的入光口具有连接关系,或者说明接入到这个入光口的光纤跳线存在故障。所以,本发明方法的所有实施例还可以判断光口之间的连接是否正常及定位故障发生点等。In the process of using all the methods of the present invention, if the path-associated identification signal loaded by a certain optical outlet is not detected by the optical entrance of any functional unit in the optical network node or the optical entrance of other optical network nodes, It means that the optical fiber jumper connected to the optical outlet is faulty. In addition, if a certain optical entrance does not detect the optical entrance of any functional unit in the optical network node or the identification of the optical entrance of other optical network nodes , it means that the optical entrance is not connected with the optical entrance of any functional unit in the optical network node or the optical entrance of other optical network nodes, or that the optical fiber jumper connected to this optical entrance exists Fault. Therefore, all the embodiments of the method of the present invention can also judge whether the connection between the optical ports is normal, locate the point of failure, and the like.
以上所述仅是本发明的几个实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以作出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above descriptions are only several embodiments of the present invention. It should be pointed out that for those of ordinary skill in the art, some improvements and modifications can also be made without departing from the principles of the present invention. It should be regarded as the protection scope of the present invention.
Claims (28)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007101284142A CN101340238B (en) | 2007-07-05 | 2007-07-05 | Determination method and apparatus for connection relation between optical interfaces |
PCT/CN2008/071545 WO2009006833A1 (en) | 2007-07-05 | 2008-07-04 | Methods and devices for determining the connection relationship between optical ports |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007101284142A CN101340238B (en) | 2007-07-05 | 2007-07-05 | Determination method and apparatus for connection relation between optical interfaces |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101340238A CN101340238A (en) | 2009-01-07 |
CN101340238B true CN101340238B (en) | 2011-11-02 |
Family
ID=40214212
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2007101284142A Active CN101340238B (en) | 2007-07-05 | 2007-07-05 | Determination method and apparatus for connection relation between optical interfaces |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN101340238B (en) |
WO (1) | WO2009006833A1 (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014089772A1 (en) * | 2012-12-12 | 2014-06-19 | 华为技术有限公司 | Link detection method and device |
CN104104431B (en) * | 2013-04-11 | 2018-12-28 | 上海中兴软件有限责任公司 | The method, apparatus and system that ROADM optical-fiber network is monitored |
CN106788699A (en) * | 2015-11-24 | 2017-05-31 | 中国电信股份有限公司 | The detecting system and method and ROADM equipment of optical fiber connection status |
CN106792796B (en) * | 2016-11-21 | 2020-03-24 | 京信通信系统(中国)有限公司 | Distributed antenna system and signal connection detection method and device thereof |
CN115119084B (en) * | 2021-03-22 | 2024-04-09 | 中国联合网络通信集团有限公司 | Management method, device, equipment and storage medium for optical cable cutting alarm |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6002331A (en) * | 1998-07-20 | 1999-12-14 | Laor; Herzel | Method and apparatus for identifying and tracking connections of communication lines |
CN1286551A (en) * | 1999-08-31 | 2001-03-07 | 朗迅科技公司 | Authentication of connection in optical cross connecting device |
US6917763B1 (en) * | 2002-03-05 | 2005-07-12 | Nortel Networks Limited | Technique for verifying fiber connectivity in a photonic network |
CN1874193A (en) * | 2005-06-03 | 2006-12-06 | 华为技术有限公司 | Method for implementing laser safeguard protection, and method for loading optical amplifier and id signal |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100479352C (en) * | 2006-02-21 | 2009-04-15 | 华为技术有限公司 | Optical associated signal loading, monitoring method and apparatus |
-
2007
- 2007-07-05 CN CN2007101284142A patent/CN101340238B/en active Active
-
2008
- 2008-07-04 WO PCT/CN2008/071545 patent/WO2009006833A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6002331A (en) * | 1998-07-20 | 1999-12-14 | Laor; Herzel | Method and apparatus for identifying and tracking connections of communication lines |
CN1286551A (en) * | 1999-08-31 | 2001-03-07 | 朗迅科技公司 | Authentication of connection in optical cross connecting device |
US6917763B1 (en) * | 2002-03-05 | 2005-07-12 | Nortel Networks Limited | Technique for verifying fiber connectivity in a photonic network |
CN1874193A (en) * | 2005-06-03 | 2006-12-06 | 华为技术有限公司 | Method for implementing laser safeguard protection, and method for loading optical amplifier and id signal |
Also Published As
Publication number | Publication date |
---|---|
CN101340238A (en) | 2009-01-07 |
WO2009006833A1 (en) | 2009-01-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101317374B (en) | Protection method, system and device for wavelength division multiplexing transmission | |
CN101340238B (en) | Determination method and apparatus for connection relation between optical interfaces | |
CN102437922B (en) | A kind of power telecom network business impact analysis method based on N-1 principle | |
JP2004505542A (en) | Smart connection | |
CN102142897A (en) | Detection method and device of ONU (optical network unit) as well as passive optical network system | |
WO2020158383A1 (en) | Communication monitor method and communication monitor device | |
CN106788699A (en) | The detecting system and method and ROADM equipment of optical fiber connection status | |
CN102291175A (en) | Optical fiber fault detecting system | |
CN105490741B (en) | Detect the method, apparatus and optical line terminal, ONT Optical Network Terminal of loopback link | |
JP5370490B2 (en) | Optical network device, optical network system, optical network device failure detection method, and optical network device failure detection program | |
JP5228503B2 (en) | Optical transmission line connection state monitoring method and system | |
US11362894B2 (en) | Wiring management system and wiring management method | |
CN101312376B (en) | Method, device and system for detecting cascading order of components in an optical network | |
CN107196699A (en) | A kind of method and system for diagnosing multi-layer classification passive optical-fiber network failure | |
CN115426552B (en) | Device and method for realizing optical channel protection through photoelectric linkage | |
CN112866834B (en) | Optical network unit and processing method and system for long light-emitting fault thereof | |
US7742698B2 (en) | Method and system for monitoring an optical network | |
JP2003332991A (en) | Master station and slave station, communication system, communication method, communication program, and computer-readable recording medium having communication program recorded therein | |
CN104144121B (en) | Avoid switching the method, apparatus and system of transmission in sectionalised protection | |
CN101141223A (en) | Service based fault localization method and apparatus | |
CN104218988B (en) | A kind of detection method of optical network unit, device and passive optical network | |
CN107566035A (en) | Optical fiber connecting detection method, network management server and receiving terminal network element | |
CN101174920A (en) | Series-connection monitoring sink and its implementing method | |
CN107888402B (en) | Optical multiplexing section elastic networking method, device and system | |
CN118487653A (en) | A method for detecting same cable, related equipment and optical communication system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |