[go: up one dir, main page]

CN101621722B - Method and system for automatically discovering node inner resource topology - Google Patents

Method and system for automatically discovering node inner resource topology Download PDF

Info

Publication number
CN101621722B
CN101621722B CN2009101506823A CN200910150682A CN101621722B CN 101621722 B CN101621722 B CN 101621722B CN 2009101506823 A CN2009101506823 A CN 2009101506823A CN 200910150682 A CN200910150682 A CN 200910150682A CN 101621722 B CN101621722 B CN 101621722B
Authority
CN
China
Prior art keywords
optical port
sending
board
receiving
single board
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN2009101506823A
Other languages
Chinese (zh)
Other versions
CN101621722A (en
Inventor
岑雪青
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN2009101506823A priority Critical patent/CN101621722B/en
Publication of CN101621722A publication Critical patent/CN101621722A/en
Priority to PCT/CN2010/074196 priority patent/WO2010145569A1/en
Application granted granted Critical
Publication of CN101621722B publication Critical patent/CN101621722B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0005Switch and router aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/12Discovery or management of network topologies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0079Operation or maintenance aspects

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Optical Communication System (AREA)

Abstract

本发明提出一种自动发现节点内部资源拓扑的方法及系统,该方法包含步骤:各发送光口分别将其光口号及其所在单板地址信息通过连接光纤发送给对端的接收光口;接收光口接收到发送光口的光口号及其所在单板地址信息后,将其与该接收光口的光口号及其所在单板地址信息组成光纤连接消息,将该光纤连接消息发送至主控单板;主控单板根据该光纤连接消息实时计算并维护节点内部资源拓扑模型。该方法能够达到高效、准确地自动完成节点内部资源拓扑建模的目的。

The present invention proposes a method and system for automatically discovering the internal resource topology of a node. The method includes steps: each sending optical port sends its optical port number and the address information of the single board where it is located to the receiving optical port of the opposite end through the connecting optical fiber; After receiving the optical port number of the sending optical port and the address information of the board where it is located, it forms an optical fiber connection message with the optical port number of the receiving optical port and the address information of the single board where it is located, and sends the optical fiber connection message to the main control unit board; the main control single board calculates and maintains the internal resource topology model of the node in real time according to the fiber connection message. This method can achieve the goal of automatically completing the node internal resource topology modeling efficiently and accurately.

Description

一种自动发现节点内部资源拓扑的方法及系统A method and system for automatically discovering node internal resource topology

技术领域 technical field

本发明涉及光网络领域,尤其涉及一种基于WDM(Wavelength-divisionmultiplexing,波分复用)的自动交换光网络(Automatic switched opticalnetwork,简称ASON)系统中节点内部不同单板不同端口之间的光纤连接的自动发现方法及系统。The present invention relates to the field of optical networks, in particular to an optical fiber connection between different ports of different single boards inside a node in an Automatic Switched Optical Network (ASON for short) system based on WDM (Wavelength-division multiplexing, wavelength division multiplexing) Automatic discovery method and system.

背景技术 Background technique

光网络,例如OTN(Optical transmission network,光传送网络)、WDM(Wavelength-division multiplexing,波分复用)、SDH(Synchronous digitalhierarchy,同步数字系列)或SONET(Synchronous optical network,同步光网络)传送网,在电信领域已经得到广泛应用。Optical network, such as OTN (Optical transmission network, optical transport network), WDM (Wavelength-division multiplexing, wavelength division multiplexing), SDH (Synchronous digital hierarchy, synchronous digital series) or SONET (Synchronous optical network, synchronous optical network) transmission network , has been widely used in the field of telecommunications.

自动交换光网络(Automatic switched optical network,简称ASON)是指在选路和信令控制之下完成自动交换功能的新一代光网络,近年来光网络领域的研究热点。ASON技术的引入则可增强网络业务的快速配置能力,提高业务的生存性,有效抵抗网络多点故障,并能够灵活提供不同的业务等级,满足目前迅速发展的差异化服务的需要。ITU-T G.8080以及G.771X系列建议提出了ASON的概念和实现构架。Automatic switched optical network (ASON for short) refers to a new generation of optical network that completes the automatic switching function under the control of routing and signaling. It has been a research hotspot in the field of optical network in recent years. The introduction of ASON technology can enhance the rapid configuration capability of network services, improve service survivability, effectively resist network multi-point failures, and flexibly provide different service levels to meet the needs of the rapidly developing differentiated services. The ITU-T G.8080 and G.771X series recommendations proposed the concept and implementation framework of ASON.

ASON网络带来技术优势的同时也带来了诸多问题。ASON系统复杂程度的迅速上升,导致了ASON系统中节点内部不同单板间不同端口的光纤连接关系的复杂程度的提高,而手工配置光纤连接容易出错,费时费力。While ASON network brings technical advantages, it also brings many problems. The rapid increase in the complexity of the ASON system has led to an increase in the complexity of the fiber connection relationship between different ports on different boards in the ASON system. However, manual configuration of fiber connections is prone to errors and takes time and effort.

发明内容 Contents of the invention

本发明要解决的技术问题是提出一种自动发现节点内部资源拓扑的方法及系统,对现有的ASON系统手工配置光纤连接方法的替代和升级,从而达到高效和准确地完成节点内部资源拓扑建模的目的。The technical problem to be solved by the present invention is to propose a method and system for automatically discovering the topology of internal resources of a node, which replaces and upgrades the existing method of manually configuring optical fiber connections in the ASON system, thereby achieving efficient and accurate construction of the topology of internal resources of nodes. purpose of the model.

为了解决上述技术问题,本发明提供了一种自动发现节点内部资源拓扑的方法,包含步骤:In order to solve the above technical problems, the present invention provides a method for automatically discovering the internal resource topology of a node, comprising steps:

各发送光口分别将其光口号及其所在单板地址信息通过连接光纤发送给对端的接收光口;Each sending optical port sends its optical port number and the address information of the board where it is located to the receiving optical port at the opposite end through the connecting optical fiber;

接收光口接收到发送光口的光口号及其所在单板地址信息后,将其与该接收光口的光口号及其所在单板地址信息组成光纤连接消息,将该光纤连接消息发送至主控单板;After the receiving optical port receives the optical port number of the sending optical port and the address information of the board where it is located, it forms an optical fiber connection message with the optical port number of the receiving optical port and the address information of the single board where it is located, and sends the optical fiber connection message to the master control board;

主控单板根据该光纤连接消息实时计算并维护节点内部资源拓扑模型。The main control single board calculates and maintains the internal resource topology model of the node in real time according to the fiber connection message.

进一步地,上述方法还可具有以下特点:Further, the above method can also have the following characteristics:

接收光口在接收到发送光口的光口号及其所在单板地址信息后,还在配置的实插单板及其光口的数据结构中查找该接收到的发送光口的光口号及其所在单板地址信息是否均存在,如果均存在,才组建光纤连接消息。After the receiving optical port receives the optical port number of the sending optical port and the address information of the board where it is located, it also searches for the received optical port number of the sending optical port and its Whether all the address information of the boards on which it is located exists, and if they all exist, the fiber connection message is formed.

进一步地,上述方法还可具有以下特点:Further, the above method can also have the following characteristics:

接收光口在配置的实插单板及其光口的数据结构中查找到该接收到的发送光口的光口号及其所在单板地址信息均存在时,还向发送光口返回成功应答;When the receiving optical port finds the received optical port number of the sending optical port and the address information of the single board where it is located in the data structure of the configured actual plug-in board and its optical port, it also returns a success response to the sending optical port;

发送光口在接收到该成功应答后,查找配置的实插单板及其光口的数据结构中该发送光口对应的数据结构,并将其中的应答标识位置为表示收到成功应答的取值。After the sending optical port receives the successful response, it searches for the data structure corresponding to the sending optical port in the data structure of the configured real plug-in board and its optical port, and sets the response identification position in it as the fetch indicating that the successful response is received. value.

进一步地,上述方法还可具有以下特点:Further, the above method can also have the following characteristics:

定时遍历各光口的数据结构,依次判断各发送光口的应答标识位,如果其取值表示收到成功应答,则继续判断下一发送光口;如果其取值表示收到失败应答或者未收到应答,则该发送光口通过连接光纤重新向对端的接收光口发送其光口号及其所在单板地址的消息。Timely traverse the data structure of each optical port, and judge the response identification bits of each sending optical port in turn. If the value indicates that a successful response has been received, continue to judge the next sending optical port; if the value indicates that a failed response or no After receiving the response, the sending optical port re-sends the message of its optical port number and the address of the single board where it is located to the receiving optical port at the opposite end through the connecting optical fiber.

进一步地,上述方法还可具有以下特点:Further, the above method can also have the following characteristics:

主控单板在接收到该光纤连接消息后,先根据配置的实插单板以及光口的数据结构来判断该光纤连接消息中包含的发送光口号、接收光口号、发送光口所在单板地址、接收光口所在单板地址是否均存在,如果均存在,才计算节点内部资源拓扑模型。After receiving the optical fiber connection message, the main control board first judges the sending optical port number, receiving optical port number, and the board where the sending optical port is located in the optical fiber connection message according to the configured actual plug-in board and the data structure of the optical port. Whether the address and the address of the board where the receiving optical port is located exist, and if both exist, the internal resource topology model of the node is calculated.

为了解决上述技术问题,本发明还提供了一种自动发现节点内部资源拓扑的系统,包含光口连接关系采集模块和连接关系统计运算模块,其中:In order to solve the above-mentioned technical problems, the present invention also provides a system for automatically discovering the internal resource topology of a node, which includes an optical port connection relationship acquisition module and a connection relationship statistical operation module, wherein:

光口连接关系采集模块,控制各发送光口分别将其光口号及其所在单板地址信息通过连接光纤发送给对端的接收光口;以及在接收光口接收到发送光口的光口号及其所在单板地址信息后,将该发送光口的光口号及其所在单板地址信息与接收光口的光口号及其所在单板地址信息组成光纤连接消息,并将该光纤连接消息发送给连接关系统计运算模块;The optical port connection relationship acquisition module controls each sending optical port to send its optical port number and the address information of the single board where it is located to the receiving optical port of the opposite end through the connecting optical fiber; and receives the optical port number of the sending optical port and its After the address information of the single board where it is located, the optical port number of the sending optical port and the address information of the single board where it is located, the optical port number of the receiving optical port and the address information of the single board where it is located compose an optical fiber connection message, and send the optical fiber connection message to the connecting Relational statistics operation module;

连接关系统计运算模块,根据接收到的光纤连接消息实时计算并维护节点内部资源拓扑模型。The connection relationship statistical operation module calculates and maintains the internal resource topology model of the node in real time according to the received fiber connection message.

进一步地,上述系统还可具有以下特点:Further, the above system can also have the following characteristics:

还包含一实插单板配置模块,用以配置实插单板及其各光口的数据结构;It also includes a plug-in board configuration module, which is used to configure the data structure of the plug-in board and its optical ports;

光口连接关系采集模块在接收光口接收到发送光口的光口号及其所在单板地址信息后,先根据实插单板配置模块中的实插单板及其各光口的数据结构判断该发送光口的光口号及其所在单板地址信息是否均存在,如果均存在,才组建光纤连接消息。After the receiving optical port receives the optical port number of the sending optical port and the address information of the board where the optical port connection relationship acquisition module is located, it first judges according to the data structure of the real plug-in board and its optical ports in the plug-in board configuration module Whether the optical port number of the sending optical port and the address information of the single board where it is located exist, and if both exist, the optical fiber connection message is formed.

进一步地,上述系统还可具有以下特点:Further, the above system can also have the following characteristics:

光口连接关系采集模块在判断出接收光口接收到的发送光口的光口号及其所在单板地址信息均存在时,控制接收光口向发送光口返回成功应答,以及控制发送光口在接收到成功应答后,将实插单板配置模块中该发送光口对应的数据结构中的应答标识位置为表示接收到成功应答的取值。When the optical port connection relationship acquisition module judges that the optical port number of the transmitting optical port received by the receiving optical port and the address information of the board where it is located exists, it controls the receiving optical port to return a successful response to the sending optical port, and controls the sending optical port to After receiving a successful response, set the response identification position in the data structure corresponding to the sending optical port in the plug-in board configuration module to a value indicating that a successful response is received.

进一步地,上述系统还可具有以下特点:Further, the above system can also have the following characteristics:

光口连接关系采集模块定时遍历实插单板配置模块中各光口的数据结构,依次判断各发送光口的应答标识位的取值是否表示收到成功应答,如果是,则继续判断下一光口;否则,控制该发送光口通过连接光纤向对端的接收光口重新发送该发送光口的光口号及其所在单板地址信息。The optical port connection relationship acquisition module regularly traverses the data structure of each optical port in the real plug-in board configuration module, and judges in turn whether the value of the response identification bit of each sending optical port indicates that a successful response has been received, and if so, continue to judge the next step. Otherwise, control the sending optical port to resend the optical port number of the sending optical port and the address information of the single board where it is located to the receiving optical port at the opposite end through the connecting optical fiber.

进一步地,上述系统还可具有以下特点:Further, the above system can also have the following characteristics:

连接关系统计运算模块在接收到该光纤连接消息后,先根据实插单板配置模块中单板以及光口的数据结构来判断该光纤连接消息中包含的发送光口号、接收光口号、发送光口所在单板地址、接收光口所在单板地址是否均存在,如果均存在,才计算节点内部资源拓扑模型。After receiving the optical fiber connection message, the connection relationship statistical operation module first judges the sending optical port number, receiving optical port number, sending optical port number and Whether the address of the single board where the port is located and the address of the single board where the receiving optical port is located, both exist, and if both exist, the internal resource topology model of the node is calculated.

本发明提出的一种自动发现节点内部资源拓扑的方法及系统,能够在单板实插完毕,单板配置完毕和实际光纤连接完毕的情况下,自动发现实际光纤连接,进而计算出节点内部资源拓扑模型,以达到高效和准确地完成节点内部资源拓扑建模的目的。A method and system for automatically discovering the internal resource topology of a node proposed by the present invention can automatically discover the actual optical fiber connection and then calculate the internal resources of the node when the actual insertion of the single board is completed, the configuration of the single board is completed, and the actual optical fiber connection is completed. Topology model, in order to achieve the purpose of efficiently and accurately completing the topology modeling of internal resources of nodes.

附图说明 Description of drawings

图1是本发明实施例一种自动发现节点内部资源拓扑的方法流程图;Fig. 1 is a flow chart of a method for automatically discovering the internal resource topology of a node according to an embodiment of the present invention;

图2是本发明实施例一种自动发现节点内部资源拓扑的系统方框图。FIG. 2 is a block diagram of a system for automatically discovering the internal resource topology of a node according to an embodiment of the present invention.

具体实施方式 Detailed ways

下面将结合附图及具体实施例对本发明进行详细说明。The present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.

本发明实施例提出一种自动发现节点内部资源拓扑的方法,如图1所示,包含如下步骤:The embodiment of the present invention proposes a method for automatically discovering the internal resource topology of a node, as shown in Figure 1, including the following steps:

步骤S101:根据节点的要求选择相应的单板;Step S101: Select a corresponding single board according to the requirements of the node;

其中一单板为主控SNP单板,具有ASON系统软件,用以对节点内部的光口连接关系进行汇总和计算;其余单板具有单板软件,用以探测光口连接关系并上传给SNP单板处理;One of the boards is the master SNP board, with ASON system software, which is used to summarize and calculate the connection relationship of optical ports inside the node; the other boards have single-board software, which is used to detect the connection relationship of optical ports and upload them to SNP veneer handling;

步骤S102:按照节点的类型和功能,用光纤将各发送光口与其对应的接收光口连接起来;Step S102: According to the type and function of the node, use an optical fiber to connect each sending optical port with its corresponding receiving optical port;

各单板的光口根据信号的流向可以分为接收光口和发送光口;The optical port of each board can be divided into receiving optical port and sending optical port according to the flow direction of the signal;

步骤S103:给系统上电,启动ASON系统软件和各个单板软件,由网管系统配置实插单板及其各光口的数据结构给ASON系统;Step S103: Power on the system, start the ASON system software and each single board software, and configure the data structure of the actual plug-in single board and each optical port to the ASON system by the network management system;

单板的数据结构包含单板的地址、单板的类型,以及光口的数目;光口的数据结构包含光口号ID、光口的收发方向,以及光口的所属单板。The data structure of the single board includes the address of the single board, the type of the single board, and the number of optical ports; the data structure of the optical port includes the ID of the optical port, the sending and receiving direction of the optical port, and the board to which the optical port belongs.

上述步骤S101~步骤S103为硬件环境的构建和配置,然后将进入光口连接关系的探测过程:The above steps S101 to S103 are the construction and configuration of the hardware environment, and then the detection process of the optical port connection relationship will be entered:

步骤S104:单板软件控制各发送光口分别通过连接光纤向对端的接收光口发送携带该各发送光口的光口号及其所在单板地址的消息;Step S104: the single board software controls each sending optical port to send a message carrying the optical port number of each sending optical port and the address of the single board where each sending optical port is located to the receiving optical port of the opposite end through the connecting optical fiber;

步骤S105:接收光口接收并解析发送光口发送来的携带该发送光口号和该发送光口所在单板地址的消息,然后根据配置的实插单板及其光口的数据结构来判断从该消息中解析出的发送光口号和单板地址是否均存在,如果判断结果为“是”,则进入步骤S107;否则,进入步骤S106;Step S105: The receiving optical port receives and analyzes the message carrying the sending optical port number and the address of the board where the sending optical port is sent from the sending optical port, and then judges the slave according to the data structure of the configured actual plug-in board and its optical port. Whether the sending optical port number and the single board address analyzed in the message exist, if the judgment result is "yes", then enter step S107; otherwise, enter step S106;

步骤S106:接收光口向发送光口返回失败应答,发送光口在接收到失败应答后,记录该连接关系错误的记录,提示用户修改配置的实插单板及其各光口的数据结构,结束;Step S106: The receiving optical port returns a failure response to the sending optical port. After receiving the failure response, the sending optical port records the record of the wrong connection relationship, and prompts the user to modify the configured actual plug-in board and the data structure of each optical port. Finish;

步骤S107:接收光口向发送光口返回成功应答,同时将解析出的该发送光口号和该发送光口所在单板地址,与该接收光口的光口号和该接收光口所在单板地址一起组成光纤连接消息,然后将该光纤连接消息通过以太网发送给SNP主控单板;Step S107: The receiving optical port returns a successful response to the sending optical port, and at the same time, combines the parsed sending optical port number and the address of the board where the sending optical port is located with the optical port number of the receiving optical port and the address of the board where the receiving optical port is located Form a fiber connection message together, and then send the fiber connection message to the SNP main control single board through Ethernet;

步骤S108:发送光口在接收到接收光口返回的成功应答后,将该发送光口对应的数据结构中的应答标识位置为表示收到成功应答的取值;Step S108: After receiving the successful response returned by the receiving optical port, the transmitting optical port sets the response identification position in the data structure corresponding to the transmitting optical port as a value indicating that a successful response is received;

单板软件可以具有重发机制,即定时遍历各光口的数据结构,依次判断各发送光口的连接关系标识位的取值是否表示确认连接关系正确,如果判断结果为“是”,则继续判断下一光口;否则,控制该发送光口通过连接光纤重新向对端的接收光口发送携带该发送光口的光口号及其所在单板地址的消息;The board software can have a retransmission mechanism, that is, it traverses the data structure of each optical port regularly, and judges in turn whether the value of the connection relationship identification bit of each sending optical port indicates that the connection relationship is confirmed to be correct. If the judgment result is "Yes", continue Determine the next optical port; otherwise, control the sending optical port to re-send a message carrying the optical port number of the sending optical port and the address of the single board where it is located to the receiving optical port at the opposite end through the connecting optical fiber;

步骤S109:SNP单板的ASON系统软件接收到来自各单板的光纤连接消息后,解析该消息,并根据配置的实插单板以及光口的数据结构来判断从该消息中解析出的发送光口号、接收光口号、发送光口所在单板地址、接收光口所在单板地址是否均存在,如果均存在,则进入步骤S110;否则记录该光口连接关系错误的记录,提示用户修改配置的实插单板及其各光口的数据结构,结束;Step S109: After the ASON system software of the SNP single board receives the fiber connection message from each single board, it parses the message, and judges the transmission data parsed from the message according to the configured actual plug-in board and the data structure of the optical port. Whether the optical port number, the receiving optical port number, the address of the single board where the sending optical port is located, and the address of the single board where the receiving optical port is located, if they all exist, go to step S110; otherwise, record the record that the connection relationship of the optical port is wrong, and prompt the user to modify the configuration The real plug-in board and the data structure of each optical port, end;

步骤S110:SNP单板的ASON系统软件根据接收到的光纤连接消息实时计算并维护节点内部资源拓扑模型。Step S110: the ASON system software of the SNP single board calculates and maintains the internal resource topology model of the node in real time according to the received fiber connection message.

为了实现上述方法,本发明还提出了一种自动发现节点内部资源拓扑的系统,具体如图2所示,包含实插单板配置模块21、光口连接关系采集模块22和连接关系统计运算模块23,其中:In order to realize the above method, the present invention also proposes a system for automatically discovering the internal resource topology of a node, specifically as shown in Figure 2, which includes a real-plug single-board configuration module 21, an optical port connection relationship collection module 22, and a connection relationship statistical operation module 23, of which:

实插单板配置模块21,配置实插单板及其各光口的数据结构。单板的数据结构包含单板的地址、单板的类型,以及光口的数目;光口的数据结构包含光口号ID、光口的收发方向,以及光口的所属单板。The plug-in board configuration module 21 configures the data structure of the plug-in board and its optical ports. The data structure of the single board includes the address of the single board, the type of the single board, and the number of optical ports; the data structure of the optical port includes the ID of the optical port, the sending and receiving direction of the optical port, and the board to which the optical port belongs.

光口连接关系采集模块22,控制各发送光口分别将其光口号及其所在单板地址信息通过连接光纤发送给对端的接收光口;以及在接收光口接收到发送光口的光口号及其所在单板地址信息后,将该发送光口的光口号及其所在单板地址信息与接收光口的光口号及其所在单板地址信息组成光纤连接消息,并将该光纤连接消息发送给连接关系统计运算模块。The optical port connection relationship acquisition module 22 controls each sending optical port to send its optical port number and the address information of the single board where it is located to the receiving optical port of the opposite end through the connecting optical fiber; After the address information of the single board where it is located, the optical port number of the sending optical port and the address information of the single board where it is located, the optical port number of the receiving optical port and the address information of the single board where it is located form an optical fiber connection message, and the optical fiber connection message is sent to Connect the relationship statistical operation module.

进一步地,光口连接关系采集模块22在接收光口接收到发送光口的光口号及其所在单板地址信息后,先根据实插单板配置模块21中的实插单板及其各光口的数据结构判断该发送光口的光口号及其所在单板地址信息是否均存在,如果均存在,才组建光纤连接消息。Further, after the optical port connection relationship acquisition module 22 receives the optical port number of the sending optical port and the address information of the board where the receiving optical port is located, it first configures the real plug-in board and its optical ports in the module 21 according to the real plug-in board configuration module 21. The data structure of the port judges whether the optical port number of the sending optical port and the address information of the single board where it is located exist. If both exist, the optical fiber connection message is formed.

进一步地,光口连接关系采集模块22在判断出接收光口接收到的发送光口的光口号及其所在单板地址信息均存在时,控制接收光口向发送光口返回成功应答,以及控制发送光口在接收到成功应答后,将实插单板配置模块中该发送光口对应的数据结构中的应答标识位置为表示接收到成功应答的取值。Further, when the optical port connection relationship acquisition module 22 judges that the optical port number of the transmitting optical port received by the receiving optical port and the address information of the single board where it is located exists, the receiving optical port is controlled to return a successful response to the transmitting optical port, and the control After the sending optical port receives a successful response, the response identification position in the data structure corresponding to the sending optical port in the plug-in board configuration module is a value indicating that a successful response is received.

进一步地,光口连接关系采集模块22定时遍历实插单板配置模块中各光口的数据结构,依次判断各发送光口的应答标识位的取值是否表示收到成功应答,如果是,则继续判断下一光口;否则,控制该发送光口通过连接光纤向对端的接收光口重新发送该发送光口的光口号及其所在单板地址信息。Further, the optical port connection relationship acquisition module 22 regularly traverses the data structure of each optical port in the real plug-in single board configuration module, and judges whether the value of the response identification bit of each sending optical port indicates that a successful response is received, and if so, then Continue to judge the next optical port; otherwise, control the sending optical port to resend the optical port number of the sending optical port and the address information of the single board where it is located to the receiving optical port at the opposite end through the connecting optical fiber.

连接关系统计运算模块23,根据接收到的光纤连接消息实时计算并维护节点内部资源拓扑模型。The connection relationship statistical operation module 23 calculates and maintains the node internal resource topology model in real time according to the received fiber connection message.

进一步地,连接关系统计运算模块23在接收到该光纤连接消息后,先根据实插单板配置模块中单板以及光口的数据结构来判断该光纤连接消息中包含的发送光口号、接收光口号、发送光口所在单板地址、接收光口所在单板地址是否均存在,如果均存在,才计算节点内部资源拓扑模型。Further, after receiving the optical fiber connection message, the connection relationship statistical operation module 23 first judges the sending optical port number and receiving optical port number contained in the optical fiber connection message according to the data structure of the single board and the optical port in the real-inserted single board configuration module. Whether the slogan, the address of the single board where the sending optical port is located, and the address of the single board where the receiving optical port is located, all exist, and if they all exist, the internal resource topology model of the node is calculated.

当然,本发明还可有其他多种实施例,在不背离本发明精神及其实质的情况下,本领域技术人员当可根据本发明作出各种相应的改变和变形,但这些相应的改变和变形都应属于本发明所附的权利要求的保护范围。Certainly, the present invention also can have other multiple embodiments, without departing from the spirit and essence of the present invention, those skilled in the art can make various corresponding changes and deformations according to the present invention, but these corresponding changes and All deformations should belong to the protection scope of the appended claims of the present invention.

Claims (6)

1.一种自动发现节点内部资源拓扑的方法,其特征在于,包含步骤:1. A method for automatically discovering the internal resource topology of a node, characterized in that it comprises steps: 各发送光口分别将其光口号及其所在单板地址信息通过连接光纤发送给对端的接收光口;Each sending optical port sends its optical port number and the address information of the board where it is located to the receiving optical port at the opposite end through the connecting optical fiber; 接收光口接收到发送光口的光口号及其所在单板地址信息后,还在配置的实插单板及其光口的数据结构中查找该接收到的发送光口的光口号及其所在单板地址信息是否均存在,如果均存在,将所述发送光口的光口号及其所在单板地址信息与该接收光口的光口号及其所在单板地址信息组成光纤连接消息,将该光纤连接消息发送至主控单板;接收光口在配置的实插单板及其光口的数据结构中查找到该接收到的发送光口的光口号及其所在单板地址信息均存在时,还向发送光口返回成功应答;发送光口在接收到该成功应答后,查找配置的实插单板及其光口的数据结构中该发送光口对应的数据结构,并将其中的应答标识位置为表示收到成功应答的取值;After the receiving optical port receives the optical port number of the sending optical port and the address information of the board where it is located, it also searches for the received optical port number of the sending optical port and its location in the data structure of the configured actual plug-in board and its optical port. Whether the address information of the single board exists, and if it exists, the optical port number of the sending optical port and the address information of the single board where it is located and the optical port number of the receiving optical port and the address information of the single board where it is located form an optical fiber connection message, and the The optical fiber connection message is sent to the main control board; the receiving optical port finds the received optical port number of the sending optical port and the address information of the board where it is located in the data structure of the configured actual plug-in board and its optical port , also returns a successful response to the sending optical port; after receiving the successful response, the sending optical port searches for the data structure corresponding to the sending optical port in the data structure of the configured actual plug-in board and its optical port, and sends the response The identification position is the value indicating that a successful response has been received; 主控单板根据该光纤连接消息实时计算并维护节点内部资源拓扑模型。The main control single board calculates and maintains the internal resource topology model of the node in real time according to the fiber connection message. 2.如权利要求1所述的方法,其特征在于:2. The method of claim 1, wherein: 定时遍历各光口的数据结构,依次判断各发送光口的应答标识位,如果其取值表示收到成功应答,则继续判断下一发送光口;如果其取值表示收到失败应答或者未收到应答,则该发送光口通过连接光纤重新向对端的接收光口发送其光口号及其所在单板地址的消息。Timely traverse the data structure of each optical port, and judge the response identification bits of each sending optical port in turn. If the value indicates that a successful response has been received, continue to judge the next sending optical port; if the value indicates that a failed response or no After receiving the response, the sending optical port re-sends the message of its optical port number and the address of the single board where it is located to the receiving optical port at the opposite end through the connecting optical fiber. 3.如权利要求1所述的方法,其特征在于:3. The method of claim 1, wherein: 主控单板在接收到该光纤连接消息后,先根据配置的实插单板以及光口的数据结构来判断该光纤连接消息中包含的发送光口号、接收光口号、发送光口所在单板地址、接收光口所在单板地址是否均存在,如果均存在,才计算节点内部资源拓扑模型。After receiving the optical fiber connection message, the main control board first judges the sending optical port number, receiving optical port number, and the board where the sending optical port is located in the optical fiber connection message according to the configured actual plug-in board and the data structure of the optical port. Whether the address and the address of the board where the receiving optical port is located exist, and if both exist, the internal resource topology model of the node is calculated. 4.一种自动发现节点内部资源拓扑的系统,其特征在于,包含实插单板配置模块、光口连接关系采集模块和连接关系统计运算模块,其中:4. A system for automatically discovering the internal resource topology of a node, characterized in that it includes a real plug-in single board configuration module, an optical port connection relationship acquisition module and a connection relationship statistical operation module, wherein: 所述实插单板配置模块,配置实插单板及其各光口的数据结构;The real plug-in single board configuration module configures the real plug-in single board and the data structure of each optical port; 所述光口连接关系采集模块,控制各发送光口分别将其光口号及其所在单板地址信息通过连接光纤发送给对端的接收光口;以及在接收光口接收到发送光口的光口号及其所在单板地址信息后,先根据实插单板配置模块中的实插单板及其各光口的数据结构判断该发送光口的光口号及其所在单板地址信息是否均存在,如果均存在,将该发送光口的光口号及其所在单板地址信息与接收光口的光口号及其所在单板地址信息组成光纤连接消息,并将该光纤连接消息发送给连接关系统计运算模块;还在判断出接收光口接收到的发送光口的光口号及其所在单板地址信息均存在时,控制接收光口向发送光口返回成功应答,以及控制发送光口在接收到成功应答后,将实插单板配置模块中该发送光口对应的数据结构中的应答标识位置为表示接收到成功应答的取值;The optical port connection relationship acquisition module controls each sending optical port to send its optical port number and the address information of the single board where it is located to the receiving optical port of the opposite end through the connecting optical fiber; and receives the optical port number of the sending optical port at the receiving optical port and the address information of the single board where it is located, first judge whether the optical port number of the sending optical port and the address information of the single board where it is located are all present according to the data structure of the real plug-in single board in the real plug-in single board configuration module and its optical ports, If both exist, the optical port number of the sending optical port and the address information of the single board where it is located and the optical port number of the receiving optical port and the address information of the single board where it is located compose an optical fiber connection message, and send the optical fiber connection message to the connection relationship statistics calculation Module; when it is still judged that the optical port number of the transmitting optical port received by the receiving optical port and the address information of the board where it is located exist, control the receiving optical port to return a successful response to the sending optical port, and control the sending optical port to receive a successful After the response, set the response identification position in the data structure corresponding to the sending optical port in the real plug-in single board configuration module as a value indicating that a successful response is received; 所述连接关系统计运算模块,根据接收到的光纤连接消息实时计算并维护节点内部资源拓扑模型。The connection relationship statistical operation module calculates and maintains the node internal resource topology model in real time according to the received fiber connection message. 5.如权利要求4所述的系统,其特征在于:5. The system of claim 4, wherein: 光口连接关系采集模块定时遍历实插单板配置模块中各光口的数据结构,依次判断各发送光口的应答标识位的取值是否表示收到成功应答,如果是,则继续判断下一光口;否则,控制该发送光口通过连接光纤向对端的接收光口重新发送该发送光口的光口号及其所在单板地址信息。The optical port connection relationship acquisition module regularly traverses the data structure of each optical port in the real plug-in board configuration module, and judges in turn whether the value of the response identification bit of each sending optical port indicates that a successful response has been received, and if so, continue to judge the next step. Otherwise, control the sending optical port to resend the optical port number of the sending optical port and the address information of the single board where it is located to the receiving optical port at the opposite end through the connecting optical fiber. 6.如权利要求4所述的系统,其特征在于:6. The system of claim 4, wherein: 连接关系统计运算模块在接收到该光纤连接消息后,先根据实插单板配置模块中单板以及光口的数据结构来判断该光纤连接消息中包含的发送光口号、接收光口号、发送光口所在单板地址、接收光口所在单板地址是否均存在,如果均存在,才计算节点内部资源拓扑模型。After receiving the optical fiber connection message, the connection relationship statistical operation module first judges the sending optical port number, receiving optical port number, sending optical port number and Whether the address of the single board where the port is located and the address of the single board where the receiving optical port is located, both exist, and if both exist, the internal resource topology model of the node is calculated.
CN2009101506823A 2009-06-29 2009-06-29 Method and system for automatically discovering node inner resource topology Expired - Fee Related CN101621722B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN2009101506823A CN101621722B (en) 2009-06-29 2009-06-29 Method and system for automatically discovering node inner resource topology
PCT/CN2010/074196 WO2010145569A1 (en) 2009-06-29 2010-06-22 Method and system for automatically discovering topology of node internal resources

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009101506823A CN101621722B (en) 2009-06-29 2009-06-29 Method and system for automatically discovering node inner resource topology

Publications (2)

Publication Number Publication Date
CN101621722A CN101621722A (en) 2010-01-06
CN101621722B true CN101621722B (en) 2012-11-28

Family

ID=41514707

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009101506823A Expired - Fee Related CN101621722B (en) 2009-06-29 2009-06-29 Method and system for automatically discovering node inner resource topology

Country Status (2)

Country Link
CN (1) CN101621722B (en)
WO (1) WO2010145569A1 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101621722B (en) * 2009-06-29 2012-11-28 中兴通讯股份有限公司 Method and system for automatically discovering node inner resource topology
CN101834663B (en) * 2010-04-08 2015-05-20 中兴通讯股份有限公司 Detection method and system of optical fiber connection
WO2012119411A1 (en) * 2011-08-23 2012-09-13 华为技术有限公司 Method for obtaining connection relationship of optical fibre, node device and optical network system
WO2014022972A1 (en) 2012-08-07 2014-02-13 华为技术有限公司 Method and device for obtaining internal fibre connection relationship in reconfigurable optical add-drop multiplexer
CN103501254B (en) * 2013-10-23 2017-05-03 北京旋极信息技术股份有限公司 Multipurpose avionics relay network topology configuration management method and multipurpose avionics relay network topology configuration management system
CN103905254B (en) * 2014-04-04 2017-03-29 西华师范大学 A kind of graph of a relation intelligent generation method based on communication equipment Port Connection Information
CN106254108B (en) * 2016-08-01 2019-05-24 北京百度网讯科技有限公司 Transmission path management method and device for data transmission network
CN110730035A (en) * 2018-07-16 2020-01-24 中兴通讯股份有限公司 Optical interface connection detection method, exchange single board and computer storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1838568A (en) * 2004-11-18 2006-09-27 国际商业机器公司 Apparatus, system, and method for detecting a fibre channel miscabling event

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6920287B1 (en) * 2000-08-01 2005-07-19 Nortel Networks Limited Smart connect
CN1472890A (en) * 2002-07-30 2004-02-04 深圳市中兴通讯股份有限公司 Prevention of fault connection of oplical transfer loop network transmission businesses
WO2006080899A1 (en) * 2005-01-28 2006-08-03 Agency For Science, Technology And Research Systems and methods for testing data link connectivity of an optical network employing transparent optical nodes
US20070183337A1 (en) * 2006-02-03 2007-08-09 International Business Machines Corporation FC-AL cabling management system
CN101340733B (en) * 2008-08-12 2011-01-26 中国移动通信集团江苏有限公司 A method for automatically generating optical path services in a communication pipeline resource management system
CN101621722B (en) * 2009-06-29 2012-11-28 中兴通讯股份有限公司 Method and system for automatically discovering node inner resource topology

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1838568A (en) * 2004-11-18 2006-09-27 国际商业机器公司 Apparatus, system, and method for detecting a fibre channel miscabling event

Also Published As

Publication number Publication date
CN101621722A (en) 2010-01-06
WO2010145569A1 (en) 2010-12-23

Similar Documents

Publication Publication Date Title
CN101621722B (en) Method and system for automatically discovering node inner resource topology
US7633952B2 (en) Discovery of physically adjacent neighbor devices using a unidirectional in-band process coupled with an out-of-band follow-up process
JP3854608B2 (en) Logical MAC implementation method of Ethernet passive optical subscriber network system
CN101356778B (en) Network system and data transmission device
CN101336530B (en) Network system
CN102136994B (en) Label switched path creation method, system and node equipment
CN103227966B (en) Transparent protection switching operation in a Pon
CN101505191A (en) Fault processing method and system for Ethernet passive optical network
US20100202772A1 (en) Method and Device For Validating a Link Attribute In The Nodes Of Automatically Switched Optical Network
WO2011124107A1 (en) Method and system for detecting fiber connection
JP2004112803A (en) OAM function discovery method in Ethernet passive optical network
CN101682459A (en) Response to OTUK-BDI for ITN interfaces to restore bidirectional communications
US8855487B2 (en) Method and device for obtaining routing information of electro-optical multi-layer network
CN108462600A (en) Network element device communicates and finds method, network element device and network management system
US20130265880A1 (en) Method and device for gmpls based multilayer link management in a multilayer network
US8670347B2 (en) Method, device and system for automatically discovering optical fibre connection within network element
WO2012024923A1 (en) Method and device for processing resource state information of transmission nodes
US7848246B2 (en) Method and system for confirming connection of layer-1 label switched path(L1-LSP) in GMPLS-based network
CN101364890B (en) Method and apparatus for network configuration information verification
CN107005440B (en) method, device and system for positioning link fault
WO2012159442A1 (en) Method and device for implementing internal link flooding
CN101227317B (en) Method for managing data communication channel of synchronizing digital hierarchy equipment
CN102804651B (en) Connected by pseudo-line during network interruption and keep time division multiplexing
CN116567458A (en) OTN system and control method thereof
CN1983908B (en) A self-correcting method for tag resource management

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20121128