CN111884832B - A method for acquiring passive network topology information and related equipment - Google Patents

A method for acquiring passive network topology information and related equipment Download PDF

Info

Publication number
CN111884832B
CN111884832B CN202010606959.5A CN202010606959A CN111884832B CN 111884832 B CN111884832 B CN 111884832B CN 202010606959 A CN202010606959 A CN 202010606959A CN 111884832 B CN111884832 B CN 111884832B
Authority
CN
China
Prior art keywords
end node
cluster
target
node devices
passive network
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
Application number
CN202010606959.5A
Other languages
Chinese (zh)
Other versions
CN111884832A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202010606959.5A priority Critical patent/CN111884832B/en
Publication of CN111884832A publication Critical patent/CN111884832A/en
Application granted granted Critical
Publication of CN111884832B publication Critical patent/CN111884832B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • H04Q11/0067Provisions for optical access or distribution networks, e.g. Gigabit Ethernet Passive Optical Network (GE-PON), ATM-based Passive Optical Network (A-PON), PON-Ring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/009Topology aspects
    • H04Q2011/0096Tree

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the application provides a method and a related device for acquiring passive network topology information, wherein a passive network comprises a plurality of node devices, the plurality of node devices comprise at least one intermediate node device and at least one end node device, and the method for acquiring the passive network topology information comprises the following steps: acquiring characteristic data of one or more terminal node devices in the passive network at a target moment; performing cluster analysis on the one or more terminal node devices according to the characteristic data of the one or more terminal node devices to obtain a cluster list corresponding to the target moment; and fusing cluster lists corresponding to a plurality of target moments respectively to obtain the topology information of the passive network. By implementing the embodiment of the application, the topological connection relation of the passive network can be more accurately determined.

Description

一种获取无源网络拓扑信息的方法及相关设备A method for acquiring passive network topology information and related equipment

技术领域technical field

本申请涉及通信技术领域,尤其涉及一种获取无源网络拓扑信息的方法及相关设备。The present application relates to the field of communication technologies, and in particular, to a method for acquiring passive network topology information and related devices.

背景技术Background technique

现有的无源网络由部分或全部的无源器件构成,而且由于部分或全部的无源网络设备为无源器件,无法通过网络自动更新维护设备的拓扑连接关系,因此无源网络设备的拓扑连接信息一般主要依赖于专业人员的维护更新。而当无源网络中添加或减少无源网络设备时,专业人员可能未及时录入更新拓扑信息,从而导致拓扑信息出现缺失或错误,而无源网络设备拓扑信息的缺失与错误将导致相关的运维工作难以展开。例如:家庭宽带接入网络的故障精准定位,如果缺失光路分配网络ODN的拓扑信息,那么将难以精准定位故障位置,只能依赖于装维人员一步一步排查ODN各级设备是否发生故障,排障效率低,且容易导致重复上站或无效上站,极大浪费人力物力。The existing passive network is composed of some or all passive devices, and because some or all of the passive network devices are passive devices, the topology connection relationship of the maintenance devices cannot be automatically updated through the network. Connection information generally mainly depends on maintenance and updates by professionals. However, when passive network devices are added or removed from the passive network, professionals may not enter and update topology information in time, resulting in missing or incorrect topology information, and the absence and error of passive network device topology information will lead to related operations. Maintenance work is difficult to carry out. For example: accurate fault location of home broadband access network, if the topology information of the optical path distribution network ODN is missing, it will be difficult to accurately locate the fault location, and it can only rely on the installation and maintenance personnel to check whether the equipment at all levels of the ODN is faulty. The efficiency is low, and it is easy to cause repeated or invalid boarding, which greatly wastes manpower and material resources.

目前为了确定无源网络拓扑信息,可以需要专业人员主动中断主支无源网络设备的工作状态;然后收集该主支无源网络设备下末端节点设备所产生的告警信息和性能指标数据,若末端节点设立即产生告警或性能指标数据中断,则其归属同一无源网络设备。但是该方案的实施在数据主动式识别过程中,还需要中断用户对该无源网络的使用,影响用户业务。At present, in order to determine the passive network topology information, professionals may be required to actively interrupt the working state of the main branch passive network equipment; then collect the alarm information and performance index data generated by the end node equipment under the main branch passive network equipment. When the node is set up and generates an alarm or the performance index data is interrupted, it belongs to the same passive network device. However, in the process of active data identification, the implementation of this solution also needs to interrupt the use of the passive network by the user, which affects the user's business.

因此,如何在不影响用户业务的情况下,准确确定无源网络的拓扑连接关系,是亟待解决的问题。Therefore, how to accurately determine the topological connection relationship of a passive network without affecting user services is an urgent problem to be solved.

发明内容SUMMARY OF THE INVENTION

本申请实施例提供一种获取无源网络拓扑信息的方法及相关设备,以准确确定无源网络的拓扑连接关系。Embodiments of the present application provide a method and related equipment for acquiring topology information of a passive network, so as to accurately determine the topology connection relationship of a passive network.

第一方面,本申请实施例提供了一种获取无源网络拓扑信息的方法,所述无源网络包括多个节点设备,所述多个节点设备包括至少一个中间节点设备、至少一个末端节点设备;可包括:In a first aspect, an embodiment of the present application provides a method for acquiring topology information of a passive network, where the passive network includes multiple node devices, and the multiple node devices include at least one intermediate node device and at least one end node device ; may include:

获取在目标时刻所述无源网络中一个或多个末端节点设备的特征数据,所述目标时刻为所述一个或多个末端节点设备的性能指标信息变化超过预设波动范围和/或出现告警信息的时刻,所述特征数据包括所述性能指标信息和/或所述告警信息,所述一个或多个末端节点设备为所述至少一个末端节点设备中的一个或多个;根据所述一个或多个末端节点设备的特征数据,对所述一个或多个末端节点设备进行聚类分析,获得所述目标时刻对应的聚类簇列表,所述聚类簇列表包括至少一个第一聚类簇,其中,所述至少一个第一聚类簇中每个第一聚类簇包括所述一个或多个末端节点设备中在同一个中间节点设备下的末端节点设备;融合多个目标时刻分别对应的聚类簇列表,获取所述无源网络的拓扑信息,所述拓扑信息包括至少一个第二聚类簇,所述至少一个第二聚类簇中每个第二聚类簇包括所述无源网络中在同一个中间节点设备下的部分或全部末端节点设备。Acquire characteristic data of one or more end node devices in the passive network at a target time, where the target time is when the performance index information of the one or more end node devices changes beyond a preset fluctuation range and/or an alarm occurs information, the feature data includes the performance indicator information and/or the alarm information, and the one or more end node devices are one or more of the at least one end node device; according to the one feature data of one or more end node devices, perform cluster analysis on the one or more end node devices, and obtain a cluster list corresponding to the target time, the cluster list including at least one first cluster cluster, wherein each first cluster in the at least one first cluster includes an end node device under the same intermediate node device among the one or more end node devices; A list of corresponding clusters, obtain topology information of the passive network, the topology information includes at least one second cluster, and each second cluster in the at least one second cluster includes the Some or all of the end node devices under the same intermediate node device in a passive network.

实施本申请实施例,获取多个目标时刻中每一个目标时刻的聚类簇列表,并将该多个目标时刻分别对应的聚类簇列表融合,获取到无源网络的拓扑信息。其中,目标时刻是无源网络中存在一个或多个末端节点设备出现性能指标信息变化超过预设波动范围和/或出现告警信息的时刻;在此时,可以获取出现性能指标信息变化超过预设波动范围和/或出现告警信息的一个或多个末端节点设备的特征数据;根据获取到的特征数据,通过聚类分析获得该目标时刻对应的聚类簇列表;进而,同理可以获得多个目标时刻分别对应的聚类簇列表,进而融合多个目标时刻分别对应的聚类簇列表,获取所述无源网络的拓扑信息。其中,特征数据包括性能指标信息和/或所述告警信息,而且,多个目标时刻中每个目标时刻出现性能指标信息变化超过预设波动范围和/或出现告警信息的末端节点设备可能不同。因此,在一个目标时刻从一个或多个性能数据产生波动或告警信息的末端节点设备中,聚类分析出处于同一个中间节点设备下的末端节点设备,这种获取无源网络对应的拓扑信息的实现方式,可以极大减少运维人员工作量,不需要相关工作人员主动获取大量的数据信息,只需要监管特征数据出现或特征数据变化超过预设范围。其次,将多个目标时刻对应的聚类列表融合,最终获得无源网络的拓扑信息,可以避免只有一个目标时刻的聚类列表时,导致拓扑信息还原不准确的问题,提高无源网络拓扑信息的准确性。这种通过对无源网络的拓扑信息实现还原,可实现无源网络拓扑信息的还原,以进一步对无源网络进行自动维护更新,辅助故障精准定界,减少重复上站及无效上站,降低运营人力成本。By implementing the embodiment of the present application, the cluster list of each target time among the multiple target times is obtained, and the cluster lists corresponding to the multiple target times are fused to obtain the topology information of the passive network. Wherein, the target time is the time when there are one or more end node devices in the passive network when the change of performance index information exceeds the preset fluctuation range and/or the alarm information occurs; at this time, it can be obtained that the change of performance index information exceeds the preset value Fluctuation range and/or feature data of one or more end node devices with alarm information; according to the obtained feature data, a cluster list corresponding to the target moment is obtained through cluster analysis; and in the same way, multiple A cluster list corresponding to the target time is obtained, and then a plurality of cluster lists corresponding to the target time are merged to obtain the topology information of the passive network. The characteristic data includes performance index information and/or the alarm information, and the end node devices where the change of the performance index information exceeds the preset fluctuation range and/or the alarm information occurs at each of the multiple target times may be different. Therefore, at a target moment, among the end node devices that generate fluctuations or alarm information from one or more performance data, the end node devices under the same intermediate node device are clustered and analyzed, and the topology information corresponding to the passive network is obtained. The implementation method can greatly reduce the workload of operation and maintenance personnel, and does not require relevant personnel to actively obtain a large amount of data information, but only needs to monitor the occurrence of characteristic data or the change of characteristic data exceeds the preset range. Secondly, the cluster lists corresponding to multiple target moments are fused to finally obtain the topology information of the passive network, which can avoid the problem of inaccurate restoration of topology information when there is only one cluster list at the target moment, and improve the passive network topology information. accuracy. By restoring the topology information of the passive network, the topology information of the passive network can be restored, so as to further perform automatic maintenance and update of the passive network, assist in the accurate demarcation of faults, reduce repeated access and invalid access, and reduce Operational labor costs.

在一种可能实现的方式中,所述根据所述一个或多个末端节点设备的特征数据,对所述一个或多个末端节点设备进行聚类分析,获得所述目标时刻对应的聚类簇列表,包括:根据所述一个或多个末端节点设备的特征数据,计算在所述目标时刻所述一个或多个末端节点设备之间的相似度,获得相似度矩阵;基于所述相似度矩阵,对所述一个或多个末端节点设备进行聚类分析,获得所述目标时刻对应的聚类簇列表。实施本申请实施例,无源网络在末端节点设备发生变化时,体现在监控的末端节点设备上,即是该末端节点设备的特征数据的变化,即性能指标信息变化超过预设波动范围或出现告警信息;而且,处于同一个中间节点设备下的末端节点设备数据波动相似,出现告警信息的告警类型也相似,相似度越大即连接越紧密,所以,基于特征数据确定的相似度矩阵对发生数据波动的末端节点设备进行聚类分析可以分辨出多个末端节点设备所属的中间节点设备,有利于提高拓扑信息的准确性。In a possible implementation manner, the cluster analysis is performed on the one or more end node devices according to the feature data of the one or more end node devices to obtain the cluster clusters corresponding to the target moment. The list includes: calculating the similarity between the one or more end node devices at the target moment according to the feature data of the one or more end node devices, and obtaining a similarity matrix; based on the similarity matrix , performing cluster analysis on the one or more end node devices to obtain a cluster list corresponding to the target moment. Implementing the embodiments of the present application, when the passive network changes in the end node device, it is reflected on the monitored end node device, that is, the change in the characteristic data of the end node device, that is, the change in the performance index information exceeds the preset fluctuation range or occurs. In addition, the data fluctuations of end node devices under the same intermediate node device are similar, and the alarm types with alarm information are also similar. The greater the similarity, the tighter the connection. Clustering analysis of end node devices with fluctuating data can distinguish intermediate node devices to which multiple end node devices belong, which is beneficial to improve the accuracy of topology information.

在一种可能实现的方式中,所述无源网络为光路分配网络,所述末端节点设备为光网络单元,所述中间节点设备为分光器。实施本申请实施例,首先获取多个发生光路变化时刻的一个或多个光网络单元的单元标识以及特征数据,再根据该一个或多个光网络单元的特征数据进行聚类分析,获得该多个路变化时刻分别对应的聚类列表,最后,合并该多个发生光路变化时刻分别对应的聚类簇列表,即可得到光路分配网络的拓扑信息。其中,光路分配网络出现光路变化的时刻,即,光网络单元产生异常性能数据或告警信息的时刻,此时,可以从一个或多个产生异常性能数据或告警信息的光网络单元中,聚类分析出处于同一个分光器下的光网络单元,这种通过在不中断用户网络的前提下获取光路分配网络对应的拓扑信息的实现方式,可以极大减少运维人员工作量,并且保证了用户的用网需求。其次,将获取的预设时间段内的多个聚类列表合并,最终获得光路分配网络的拓扑信息,可以避免只有一次光路波动时拓扑信息还原不准确的问题,提高光路分配网络拓扑信息的准确性。In a possible implementation manner, the passive network is an optical path distribution network, the end node device is an optical network unit, and the intermediate node device is an optical splitter. To implement the embodiment of the present application, first obtain the unit identifiers and characteristic data of one or more optical network units at the moment when the optical path changes occur, and then perform cluster analysis according to the characteristic data of the one or more optical network units to obtain the multiple optical network units. The cluster lists corresponding to the time of each change of the light path respectively, and finally, the topology information of the light path distribution network can be obtained by merging the lists of the clusters corresponding to the time of the change of the light path. Among them, the moment when the optical path change occurs in the optical path distribution network, that is, the moment when the optical network unit generates abnormal performance data or alarm information, at this time, it can be clustered from one or more optical network units that generate abnormal performance data or alarm information By analyzing the optical network units under the same optical splitter, this realization method of obtaining the topology information corresponding to the optical path distribution network without interrupting the user network can greatly reduce the workload of operation and maintenance personnel, and ensure that users network requirements. Secondly, the obtained multiple cluster lists in the preset time period are combined to finally obtain the topology information of the optical path distribution network, which can avoid the problem of inaccurate restoration of the topology information when there is only one optical path fluctuation, and improve the accuracy of the topology information of the optical path distribution network. sex.

在一种可能实现的方式中,根据所述目标时刻对应的聚类簇列表,构建所述目标时刻对应的目标子图,所述目标子图包括全连接图或最小生成树构建图,其中,所述目标子图中的节点i和节点j之间的边权重为所述目标时刻对应的所述一个或多个末端节点设备中末端节点设备i和末端节点设备j之间的相似度度量函数和/或固有属性;所述融合多个目标时刻分别对应的聚类簇列表,获取所述无源网络的拓扑信息,包括:基于图融合多个目标时刻分别对应的目标子图,得到拓扑图,其中,所述拓扑图中节点之间的边权重计算方式为:

Figure BDA0002561188980000031
其中,k为所述多个目标时刻中第k个目标时刻,T为所述当前时间点,
Figure BDA0002561188980000032
为所述第k个目标时刻在所述多个目标时刻中的权重核函数,gk(i,j)为所述第k个目标时刻对应的目标子图中所述节点i和所述节点j之间的边权重;基于图的社群检测算法或embedding算法分割所述拓扑图,获得所述拓扑信息。实施本申请实施例,针对拓扑序列采用基于图的融合方式,在融合了多个时刻的聚类列表的同时,可以有效解决不同时刻识别结果的冲突问题,提高无源网络的拓扑信息确定的准确率。In a possible implementation manner, a target subgraph corresponding to the target moment is constructed according to the cluster list corresponding to the target moment, and the target subgraph includes a fully connected graph or a minimum spanning tree construction graph, wherein, The edge weight between the node i and the node j in the target subgraph is the similarity measure function between the end node device i and the end node device j in the one or more end node devices corresponding to the target moment and/or inherent attributes; the method of fusing the cluster lists corresponding to the multiple target moments, and obtaining the topology information of the passive network, includes: fusing the target subgraphs corresponding to the multiple target moments based on the graph to obtain a topology map , where the edge weights between nodes in the topology graph are calculated as follows:
Figure BDA0002561188980000031
Wherein, k is the k-th target moment in the multiple target moments, T is the current time point,
Figure BDA0002561188980000032
is the weight kernel function of the kth target moment in the multiple target moments, and g k (i,j) is the node i and the node in the target subgraph corresponding to the kth target moment The edge weight between j; the graph-based community detection algorithm or the embedding algorithm divides the topology graph to obtain the topology information. In the implementation of the embodiments of the present application, a graph-based fusion method is adopted for the topology sequence, which can effectively solve the conflict of identification results at different times while merging the clustering lists at multiple times, and improve the accuracy of the determination of the topology information of the passive network. Rate.

在一种可能实现的方式中所述融合多个目标时刻分别对应的聚类簇列表,获取所述无源网络的拓扑信息,包括:分别融合所述多个目标时刻对应的聚类簇列表中相同中间节点设备对应的所述第一聚类簇,获得对应的所述第二聚类簇;根据多个所述第二聚类簇,获取所述拓扑信息。实施本申请实施例,可以将不同目标时刻所对应的、相同中间节点设备下的第一聚类簇合并成第二聚类簇,获得合并后的聚类列表即是该无源网络的拓扑信息,因此,可以避免只有一次光路波动时拓扑信息确定的不准确问题,进而提高无源网络拓扑信息的准确性。In a possible implementation manner, the fusion of the cluster lists corresponding to the multiple target moments to obtain the topology information of the passive network includes: respectively merging the cluster lists corresponding to the multiple target moments in the cluster lists. For the first cluster corresponding to the same intermediate node device, obtain the corresponding second cluster; and obtain the topology information according to a plurality of the second clusters. By implementing this embodiment of the present application, the first clusters under the same intermediate node device corresponding to different target moments can be merged into second clusters, and the merged cluster list obtained is the topology information of the passive network. Therefore, the inaccurate problem of determining the topology information when there is only one optical path fluctuation can be avoided, thereby improving the accuracy of the passive network topology information.

第二方面、本申请实施例提供了一种获取无源网络拓扑信息的装置,所述无源网络包括多个节点设备,所述多个节点设备包括至少一个中间节点设备、至少一个末端节点设备;所述装置包括:In a second aspect, an embodiment of the present application provides an apparatus for acquiring topology information of a passive network, where the passive network includes multiple node devices, and the multiple node devices include at least one intermediate node device and at least one end node device ; the device includes:

获取单元,用于获取在目标时刻所述无源网络中一个或多个末端节点设备的特征数据,所述目标时刻为所述一个或多个末端节点设备的性能指标信息变化超过预设波动范围和/或出现告警信息的时刻,所述特征数据包括所述性能指标信息和/或所述告警信息,所述一个或多个末端节点设备为所述至少一个末端节点设备中的一个或多个;an acquisition unit, configured to acquire characteristic data of one or more end node devices in the passive network at a target time, where the target time is when the performance index information of the one or more end node devices changes beyond a preset fluctuation range and/or the moment when alarm information occurs, the feature data includes the performance indicator information and/or the alarm information, and the one or more end node devices are one or more of the at least one end node device ;

聚类单元,用于根据所述一个或多个末端节点设备的特征数据,对所述一个或多个末端节点设备进行聚类分析,获得所述目标时刻对应的聚类簇列表,所述聚类簇列表包括至少一个第一聚类簇,其中,所述至少一个第一聚类簇中每个第一聚类簇包括所述一个或多个末端节点设备中在同一个中间节点设备下的末端节点设备;The clustering unit is configured to perform cluster analysis on the one or more end node devices according to the characteristic data of the one or more end node devices, and obtain a cluster list corresponding to the target time, and the cluster The cluster list includes at least one first cluster, wherein each first cluster in the at least one first cluster includes the one or more end node devices under the same intermediate node device. end node equipment;

融合单元,用于融合多个目标时刻分别对应的聚类簇列表,获取所述无源网络的拓扑信息,所述拓扑信息包括至少一个第二聚类簇,所述至少一个第二聚类簇中每个第二聚类簇包括所述无源网络中在同一个中间节点设备下的部分或全部末端节点设备。A fusion unit, configured to fuse the cluster lists corresponding to multiple target moments respectively, and obtain topology information of the passive network, where the topology information includes at least one second cluster, the at least one second cluster Each of the second clusters in the passive network includes some or all of the end node devices under the same intermediate node device in the passive network.

在一种可能实现的方式中,所述聚类单元,具体用于:根据所述一个或多个末端节点设备的特征数据,计算在所述目标时刻所述一个或多个末端节点设备之间的相似度,获得相似度矩阵;基于所述相似度矩阵,对所述一个或多个末端节点设备进行聚类分析,获得所述目标时刻对应的聚类簇列表。In a possible implementation manner, the clustering unit is specifically configured to: according to the characteristic data of the one or more end node devices, calculate the distance between the one or more end node devices at the target time The similarity is obtained, and a similarity matrix is obtained; based on the similarity matrix, cluster analysis is performed on the one or more end node devices to obtain a cluster list corresponding to the target time.

在一种可能实现的方式中,所述无源网络为光路分配网络,所述末端节点设备为光网络单元,所述中间节点设备为分光器。In a possible implementation manner, the passive network is an optical path distribution network, the end node device is an optical network unit, and the intermediate node device is an optical splitter.

在一种可能实现的方式中,所述装置还包括:子图单元,用于根据所述目标时刻对应的聚类簇列表,构建所述目标时刻对应的目标子图,所述目标子图包括全连接图或最小生成树构建图,其中,所述目标子图中的节点i和节点j之间的边权重为所述目标时刻对应的所述一个或多个末端节点设备中末端节点设备i和末端节点设备j之间的相似度度量函数和/或固有属性;所述融合单元,具体用于:基于图融合多个目标时刻分别对应的目标子图,得到拓扑图,其中,所述拓扑图中节点之间的边权重计算方式为:

Figure BDA0002561188980000041
其中,k为所述多个目标时刻中第k个目标时刻,T为所述当前时间点,
Figure BDA0002561188980000042
为所述第k个目标时刻在所述多个目标时刻中的权重核函数,gk(i,j)为所述第k个目标时刻对应的目标子图中所述节点i和所述节点j之间的边权重;基于图的社群检测算法或embedding算法分割所述拓扑图,获得所述拓扑信息。In a possible implementation manner, the apparatus further includes: a subgraph unit, configured to construct a target subgraph corresponding to the target moment according to a cluster list corresponding to the target moment, and the target subgraph includes A fully connected graph or a minimum spanning tree construction graph, wherein the edge weight between node i and node j in the target subgraph is the end node device i in the one or more end node devices corresponding to the target moment The similarity measurement function and/or the inherent attribute between the terminal node device j; the fusion unit is specifically used to: fuse the target subgraphs corresponding to multiple target moments based on the graph to obtain a topology map, wherein the topology The edge weights between nodes in the graph are calculated as:
Figure BDA0002561188980000041
Wherein, k is the k-th target moment in the multiple target moments, T is the current time point,
Figure BDA0002561188980000042
is the weight kernel function of the kth target moment in the multiple target moments, and g k (i,j) is the node i and the node in the target subgraph corresponding to the kth target moment The edge weight between j; the graph-based community detection algorithm or the embedding algorithm divides the topology graph to obtain the topology information.

在一种可能实现的方式中,所述融合单元,具体用于:分别融合所述多个目标时刻对应的聚类簇列表中相同中间节点设备对应的所述第一聚类簇,获得对应的所述第二聚类簇;根据多个所述第二聚类簇,获取所述拓扑信息。In a possible implementation manner, the fusion unit is specifically configured to: respectively fuse the first clusters corresponding to the same intermediate node device in the cluster list corresponding to the multiple target moments, and obtain the corresponding the second cluster; obtaining the topology information according to a plurality of the second clusters.

第三方面,本申请实施例提供一种服务设备,该服务设备中包括处理器,处理器被配置为支持该服务设备实现第一方面提供的获取无源网络拓扑信息的方法中相应的功能。该服务设备还可以包括存储器,存储器用于与处理器耦合,其保存该服务设备必要的程序指令和数据。该服务设备还可以包括通信接口,用于该服务设备与其他设备或通信网络通信。In a third aspect, an embodiment of the present application provides a service device, the service device includes a processor, and the processor is configured to support the service device to implement corresponding functions in the method for acquiring passive network topology information provided in the first aspect. The service device may also include memory, coupled to the processor, which holds program instructions and data necessary for the service device. The service device may also include a communication interface for the service device to communicate with other devices or a communication network.

第四方面,本申请实施例提供一种计算机存储介质,用于储存为上述第二方面提供的一种获取无源网络拓扑信息的装置所用的计算机软件指令,其包含用于执行上述方面所设计的程序。In a fourth aspect, an embodiment of the present application provides a computer storage medium for storing computer software instructions used for the device for acquiring passive network topology information provided in the second aspect, which includes a computer software instruction for executing the design in the above aspect program of.

第五方面,本申请实施例提供了一种计算机程序,该计算机程序包括指令,当该计算机程序被计算机执行时,使得计算机可以执行上述第二方面中的获取无源网络拓扑信息的装置所执行的流程。In a fifth aspect, an embodiment of the present application provides a computer program, the computer program includes instructions, when the computer program is executed by a computer, the computer can execute the device for acquiring passive network topology information in the second aspect above. process.

第六方面,本申请提供了一种芯片系统,该芯片系统包括处理器,用于支持终端设备实现上述第一方面中所涉及的功能,例如,生成或处理上述获取无源网络拓扑信息的方法中所涉及的信息。在一种可能的设计中,所述芯片系统还包括存储器,所述存储器,用于保存数据发送设备必要的程序指令和数据。该芯片系统,可以由芯片构成,也可以包含芯片和其他分立器件。In a sixth aspect, the present application provides a chip system, the chip system includes a processor for supporting a terminal device to implement the functions involved in the above first aspect, for example, generating or processing the above method for acquiring passive network topology information the information involved. In a possible design, the chip system further includes a memory for storing necessary program instructions and data of the data sending device. The chip system may be composed of chips, or may include chips and other discrete devices.

附图说明Description of drawings

为了更清楚地说明本申请实施例或背景技术中的技术方案,下面将对本申请实施例或背景技术中所需要使用的附图进行说明。In order to more clearly describe the technical solutions in the embodiments of the present application or the background technology, the accompanying drawings required in the embodiments or the background technology of the present application will be described below.

图1A是本申请实施例提供的一种获取无源网络拓扑信息的系统构架示意图。FIG. 1A is a schematic diagram of a system architecture for acquiring passive network topology information provided by an embodiment of the present application.

图1B是本申请实施例提供的一种获取光路分配网络ODN拓扑信息的系统构架示意图。FIG. 1B is a schematic diagram of a system architecture for acquiring ODN topology information of an optical path distribution network provided by an embodiment of the present application.

图2是本申请实施例提供的一种拓扑信息获取设备的结构示意图。FIG. 2 is a schematic structural diagram of a topology information acquisition device provided by an embodiment of the present application.

图3是本申请实施例提供的一种获取无源网络拓扑信息的方法流程示意图。FIG. 3 is a schematic flowchart of a method for acquiring passive network topology information provided by an embodiment of the present application.

图4是本申请实施例提供的一种光网络单元接收光功率变化的示意图。FIG. 4 is a schematic diagram of a variation of received optical power of an optical network unit according to an embodiment of the present application.

图5和图6是本申请实施例提供的一组目标时刻对应的末端节点设备组成的最小生成树构建图。FIG. 5 and FIG. 6 are minimum spanning tree construction diagrams composed of a group of end node devices corresponding to a target time provided by an embodiment of the present application.

图7是本申请实施例提供的一种目标时刻对应的末端节点设备组成的全连接图。FIG. 7 is a full connection diagram composed of end node devices corresponding to a target time according to an embodiment of the present application.

图8是本申请实施例提供的一种拓扑图。FIG. 8 is a topology diagram provided by an embodiment of the present application.

图9是本申请实施例提供的一种融合多个目标子图的流程示意图。FIG. 9 is a schematic flowchart of fusing multiple target subgraphs according to an embodiment of the present application.

图10是本申请实施例提供的一种多个目标子图以及融合多个目标子图后的拓扑图。FIG. 10 is a kind of multiple target subgraphs and a topology diagram after merging the multiple target subgraphs provided by an embodiment of the present application.

图11是本申请实施例提供的一种拓扑信息获取装置结构示意图。FIG. 11 is a schematic structural diagram of an apparatus for obtaining topology information provided by an embodiment of the present application.

图12是本申请实施例提供的另一种拓扑信息获取装置的结构示意图。FIG. 12 is a schematic structural diagram of another apparatus for obtaining topology information provided by an embodiment of the present application.

具体实施方式Detailed ways

下面将结合本申请实施例中的附图,对本申请实施例进行描述。The embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application.

本申请的说明书和权利要求书及所述附图中的术语“第一”和“第二”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first" and "second" in the description and claims of the present application and the drawings are used to distinguish different objects, rather than to describe a specific order. Furthermore, the terms "comprising" and "having", and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes unlisted steps or units, or optionally also includes For other steps or units inherent to these processes, methods, products or devices.

在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。Reference herein to an "embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the present application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor a separate or alternative embodiment that is mutually exclusive of other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

在本说明书中使用的术语“部件”、“模块”、“系统”等用于表示计算机相关的实体、硬件、固件、硬件和软件的组合、软件、或执行中的软件。例如,部件可以是但不限于,在处理器上运行的进程、处理器、对象、可执行文件、执行线程、程序和/或计算机。通过图示,在计算设备上运行的应用和计算设备都可以是部件。一个或多个部件可驻留在进程和/或执行线程中,部件可位于一个计算机上和/或分布在2个或更多个计算机之间。此外,这些部件可从在上面存储有各种数据结构的各种计算机可读介质执行。部件可例如根据具有一个或多个数据分组(例如来自与本地系统、分布式系统和/或网络间的另一部件交互的二个部件的数据,例如通过信号与其它系统交互的互联网)的信号通过本地和/或远程进程来通信。The terms "component", "module", "system" and the like are used in this specification to refer to a computer-related entity, hardware, firmware, a combination of hardware and software, software, or software in execution. For example, a component may be, but is not limited to, a process running on a processor, a processor, an object, an executable, a thread of execution, a program, and/or a computer. By way of illustration, both an application running on a computing device and the computing device may be components. One or more components may reside within a process and/or thread of execution, and a component may be localized on one computer and/or distributed between 2 or more computers. In addition, these components can execute from various computer readable media having various data structures stored thereon. A component may, for example, be based on a signal having one or more data packets (eg, data from two components interacting with another component between a local system, a distributed system, and/or a network, such as the Internet interacting with other systems via signals) Communicate through local and/or remote processes.

首先,对本申请中的部分用语进行解释说明,以便于本领域技术人员理解。First, some terms in this application are explained for the convenience of those skilled in the art to understand.

(1)光路分配网络(Optical Distribution Network,ODN),ODN网络是基于PON设备的FTTH光缆网络。ODN的主要功能是为OLT与ONU之间提供光传输通道,完成光信号功率的分配。ODN是由无源光器件(如光纤、光连接器、光衰减器、光耦合器和光波分复用器等)组成的纯无源的光分配网。(1) Optical Distribution Network (ODN), the ODN network is an FTTH optical cable network based on PON equipment. The main function of the ODN is to provide an optical transmission channel between the OLT and the ONU to complete the distribution of optical signal power. ODN is a purely passive optical distribution network composed of passive optical devices (such as optical fibers, optical connectors, optical attenuators, optical couplers and optical wavelength division multiplexers, etc.).

(2)无源器件,用于在整个无源网络中在不需要外加电源的条件下,即可在有信号时工作,主要包括电阻,电容,电感,转换器,渐变器,分光器,匹配网络,谐振器,滤波器,混频器,开关以及无源光器件等等。(2) Passive devices, which are used to work when there is a signal in the entire passive network without the need for external power supply, mainly including resistors, capacitors, inductors, converters, faders, optical splitters, matching Networks, resonators, filters, mixers, switches, and passive optical devices, etc.

(3)无源光网络(Passive Optical Network,PON),无源光网络(Passive OpticalNetwork,PON)是一种纯介质网络,避免了外部设备的电磁干扰和雷电影响,减少线路和外部设备的故障率,提高了系统可靠性,同时节省了维护成本,是电信维护部门长期期待的技术。无光源网络是一种点对多点的光纤传输和接入技术,下行采用广播方式、上行采用时分多址方式,可以灵活地组成树形、星型、总线型等拓扑结构,在光分支点只需要安装一个简单的光分支器即可,因此具有节省光缆资源、带宽资源共享、节省机房投资、建网速度快、综合建网成本低等优点。无源光网络包括ATM-PON和Ethernet-PON两种。(3) Passive Optical Network (PON), Passive Optical Network (PON) is a pure medium network, which avoids the electromagnetic interference and lightning effects of external equipment, and reduces the failure of lines and external equipment. It improves system reliability and saves maintenance costs. It is a technology long-awaited by telecom maintenance departments. Light sourceless network is a point-to-multipoint optical fiber transmission and access technology. Downlink adopts broadcast mode and uplink adopts time division multiple access mode. It can flexibly form tree, star, bus and other topological structures. It only needs to install a simple optical splitter, so it has the advantages of saving optical cable resources, sharing bandwidth resources, saving equipment room investment, fast network construction, and low cost of comprehensive network construction. Passive optical networks include ATM-PON and Ethernet-PON.

为了便于理解本申请实施例,下面先对本申请实施例所基于的其中一种系统架构进行描述。请参阅图1A,图1A是本申请实施例提供的一种获取无源网络拓扑信息的系统构架示意图。如图1A所示,该系统架构主要由服务设备、至少一个中间节点设备、至少一个末端节点设备等器件组成。其中,In order to facilitate understanding of the embodiments of the present application, one of the system architectures on which the embodiments of the present application are based is first described below. Please refer to FIG. 1A . FIG. 1A is a schematic diagram of a system architecture for acquiring passive network topology information provided by an embodiment of the present application. As shown in FIG. 1A , the system architecture is mainly composed of a service device, at least one intermediate node device, at least one end node device and other devices. in,

服务设备用于监管无源网络的终端设备,如,可以包括一个或多个服务器(多个服务器可以构成一个服务器集群),可以包括但不限于后台服务器、云端服务器、数据处理服务器等。其中,无源网络的部分或全部可以是由无源器件构成的。如图1A所示,服务设备可以获取在目标时刻所述无源网络中一个或多个末端节点设备的特征数据,所述目标时刻为所述一个或多个末端节点设备的性能指标信息变化超过预设波动范围和/或出现告警信息的时刻,所述特征数据包括所述性能指标信息和/或所述告警信息,所述一个或多个末端节点设备为所述至少一个末端节点设备中的一个或多个;根据所述一个或多个末端节点设备的特征数据,对所述一个或多个末端节点设备进行聚类分析,获得所述目标时刻对应的聚类簇列表,所述聚类簇列表包括至少一个第一聚类簇,其中,所述至少一个第一聚类簇中每个第一聚类簇包括所述一个或多个末端节点设备中在同一个中间节点设备下的末端节点设备;融合多个目标时刻分别对应的聚类簇列表,获取所述无源网络的拓扑信息,所述拓扑信息包括至少一个第二聚类簇,所述至少一个第二聚类簇中每个第二聚类簇包括所述无源网络中在同一个中间节点设备下的部分或全部末端节点设备。The service equipment is used to supervise the terminal equipment of the passive network. For example, it may include one or more servers (multiple servers may form a server cluster), and may include but not limited to background servers, cloud servers, data processing servers, and the like. Wherein, part or all of the passive network may be composed of passive devices. As shown in FIG. 1A , the service device may acquire characteristic data of one or more end node devices in the passive network at a target time, where the target time is when the performance index information of the one or more end node devices changes by more than The preset fluctuation range and/or the time when the alarm information occurs, the characteristic data includes the performance index information and/or the alarm information, and the one or more end node devices are the at least one end node device. One or more; according to the feature data of the one or more end node devices, perform cluster analysis on the one or more end node devices to obtain a list of clusters corresponding to the target time, the cluster The cluster list includes at least one first cluster, wherein each first cluster in the at least one first cluster includes an end of the one or more end node devices under the same intermediate node device node device; fuse the cluster lists corresponding to multiple target moments respectively, and obtain topology information of the passive network, where the topology information includes at least one second cluster, each of which is in the at least one second cluster. The second cluster includes some or all of the end node devices in the passive network under the same intermediate node device.

中间节点设备,可以是无源网络设备,用于在整个无源网络中无需加电源即可在有信号时工作,可以是电阻,电容,电感,转换器,渐变器,分光器,匹配网络,谐振器,滤波器,混频器和开关等。Intermediate node equipment, which can be passive network equipment, can be used to work when there is a signal without adding power in the entire passive network, which can be resistors, capacitors, inductors, converters, faders, optical splitters, matching networks, Resonators, filters, mixers and switches, etc.

末端节点设备是无源网络中末端节点的无源网络设备,在不同的无源网络中有不同类型的末端节点设备,如无源光网络中的光网络单元、无源二端网络终端的电阻等等。The end node device is the passive network device of the end node in the passive network. There are different types of end node devices in different passive networks, such as the optical network unit in the passive optical network, the resistance of the passive two-terminal network terminal and many more.

需要说明的是,本申请中提及的末端节点设备的性能指标信息可以理解为末端节点设备的关键性能指标/关键绩效指标(Key Performance Indicator,KPI)信息,用于表示该末端节点设备的性能数据、功能信息或工作状态等。其中,性能指标信息与无源网络的类型相匹配,例如:当无源网络为光路分配网络时,性能指标信息可以为接收光功率、光链路损耗等等;当无源网络为无源二端网络时,性能指标信息可以为电压、电流、电阻等等。It should be noted that the performance indicator information of the end node device mentioned in this application can be understood as the key performance indicator/key performance indicator (Key Performance Indicator, KPI) information of the end node device, which is used to indicate the performance of the end node device. data, functional information or working status, etc. Among them, the performance index information matches the type of the passive network, for example: when the passive network is an optical path distribution network, the performance index information can be received optical power, optical link loss, etc.; when the passive network is passive two When the terminal network is connected, the performance index information can be voltage, current, resistance and so on.

还需要说明的是,该无源网络包括多个节点设备,多个节点设备包括至少一个中间节点设备、至少一个末端节点设备;中间节点设备与两个末端节点设备连接时有两个数据流,可以分别发送至两个末端节点设备,此时,该两个末端节点设备可以认为为中间节点设备下的节点设备。如图1A所示,三个灰度的末端节点设备是与之相连的中间节点设备下的节点设备。It should also be noted that the passive network includes multiple node devices, and the multiple node devices include at least one intermediate node device and at least one end node device; when the intermediate node device is connected to the two end node devices, there are two data streams, It can be sent to two end node devices respectively, and at this time, the two end node devices can be regarded as node devices under the intermediate node device. As shown in FIG. 1A , the three-gray end node device is the node device under the intermediate node device connected to it.

还需要说明的是,图1A的获取无源网络拓扑信息的系统架构只是本申请实施例中的部分示例性的实施方式,本申请实施例中获取无源网络拓扑信息的系统架构包括但不仅限于以上获取无源网络拓扑信息的系统架构。It should also be noted that the system architecture for acquiring passive network topology information in FIG. 1A is only some exemplary implementations in the embodiments of the present application, and the system architecture for acquiring passive network topology information in the embodiments of the present application includes but is not limited to. The above system architecture for acquiring passive network topology information.

基于上述图1A提供的一种系统架构,请参阅图1B,图1B是本申请实施例提供的一种获取光路分配网络ODN拓扑信息的系统构架示意图。如图1B所示,该系统架构主要由资管系统、光缆交接箱、一级分光器和二级分光器、光网络单元/终端(ONU/ONT)等无源器件组成,还可以包括网管设备,光线路终端。其中,资管系统相当于上述图1A中的服务设备;光缆交接箱、一级分光器、二级分光器和网管设备、光线路终端相当于上述图1A中的中间节点设备;光网络单元/终端(ONU/ONT)相当于上述图1A中的末端节点设备。其中,Based on the system architecture provided in FIG. 1A , please refer to FIG. 1B . FIG. 1B is a schematic diagram of a system architecture for acquiring ODN topology information of an optical path distribution network provided by an embodiment of the present application. As shown in Figure 1B, the system architecture is mainly composed of passive devices such as asset management system, optical cable transfer box, primary and secondary optical splitters, optical network units/terminals (ONU/ONT), and can also include network management equipment , Optical Line Terminal. Among them, the asset management system is equivalent to the service equipment in the above Figure 1A; the optical cable transfer box, the first-level optical splitter, the second-level optical splitter and the network management equipment, and the optical line terminal are equivalent to the above-mentioned intermediate node equipment in Figure 1A; the optical network unit/ The terminal (ONU/ONT) corresponds to the end node device in FIG. 1A described above. in,

光缆交接箱,是一种为主干层光缆、配线层光缆提供光缆成端、跳接的交接设备。光缆引入光缆交接箱后,经固定、端接、配纤以后,使用跳纤将主干层光缆和配线层光缆连通。Optical cable transfer box is a transfer equipment that provides optical cable termination and jumper connection for backbone layer optical cable and distribution layer optical cable. After the optical cable is introduced into the optical cable junction box, after fixing, termination, and fiber distribution, the trunk layer optical cable and the distribution layer optical cable are connected by using jumper fibers.

分光器,是一种无源器件,又称光分路器,它们不需要外部能量,只要有输入光即可。分光器由入射和出射狭缝、反射镜和色散元件组成,其作用是将所需要的共振吸收线分离出来。分光器的关键部件是色散元件,现在商品仪器都是使用光栅。一级分光器一般应用于用户集中地方,适合一次性接入,分光器一般比较大。二级分光器一般应用于用户较分散的地方,比如乡镇,比值一般较小。Optical splitters are passive devices, also known as optical splitters, which do not require external energy, as long as there is input light. The beamsplitter consists of entrance and exit slits, mirrors and dispersive elements, whose function is to separate out the desired resonant absorption lines. The key component of the beam splitter is the dispersive element, and now commercial instruments use gratings. The first-level optical splitter is generally used in places where users are concentrated, and is suitable for one-time access. The optical splitter is generally relatively large. The secondary optical splitter is generally used in places where users are scattered, such as towns and villages, and the ratio is generally small.

光网络单元/终端(Optical Network Unit/Terminals,ONU/ONT),分为有源光网络单元和无源光网络单元,本申请中的光网络单元/终端一般是指无源光网络单元/终端,是指光接入网中,提供用户侧接口(直接或远程),并与光路分配网ODN相连的设备或功能块。ONU是光纤接入的终端设备,其应该与光线路终端OLT配合使用,光线路终端OLT一般存储ISP的中心机房。Optical network units/terminals (Optical Network Unit/Terminals, ONU/ONT) are divided into active optical network units and passive optical network units. The optical network units/terminals in this application generally refer to passive optical network units/terminals , refers to the equipment or functional block in the optical access network that provides the user-side interface (direct or remote) and is connected to the optical path distribution network ODN. ONU is a terminal device for optical fiber access. It should be used in conjunction with the optical line terminal OLT. The optical line terminal OLT is generally stored in the central computer room of the ISP.

光线路终端,一方面将承载各种业务的信号在局端进行汇聚,按照一定的信号格式送入接入网络以便向终端用户传输,另一方面将来自终端用户的信号按照业务类型分别送入各种业务网中。实现的功能是:1、与前端(汇聚层)交换机用网线相连,转化成光信号,用单根光纤与用户端的分光器互联。2、实现对用户端设备ONU的控制、管理、测距等功能。3、OLT设备和ONU设备一样,也是光电一体的设备。如:在本申请实施例中,可以提供框/槽式的无源光网络接口。The optical line terminal, on the one hand, aggregates the signals carrying various services at the central office, and sends them to the access network according to a certain signal format for transmission to the end users. in various business networks. The realized functions are: 1. Connect to the front-end (convergence layer) switch with a network cable, convert it into an optical signal, and use a single fiber to interconnect with the optical splitter at the user end. 2. Realize the functions of control, management and ranging of the ONU of the client equipment. 3. Like ONU equipment, OLT equipment is also an optoelectronic integrated equipment. For example, in this embodiment of the present application, a frame/slot type passive optical network interface may be provided.

网管设备,又称网间连接器、协议转换器,是多个网络间提供数据转换服务的计算机系统或设备。Network management equipment, also known as network connector and protocol converter, is a computer system or device that provides data conversion services between multiple networks.

资管系统可以利用本申请确定光路分配网络ODN拓扑信息的方案,可对ODN中无源设备(如:光网络单元/终端)拓扑连接关系进行还原,实现资管数据中拓扑数据的自动补全和校对。The asset management system can use the scheme of this application to determine the ODN topology information of the optical path distribution network, and can restore the topology connection relationship of passive devices (such as: optical network units/terminals) in the ODN, and realize the automatic completion of topology data in the asset management data. and proofreading.

情况一,资管系统可以为云端的一个服务器,这个服务器与本地的无源器件构成一个系统,如图1B所示,系统架构可以包括一个或多个服务器(多个服务器可以构成一个服务器集群),可以包括但不限于后台服务器、云端服务器、数据处理服务器等,当上述资管系统为服务器时,所述服务器可以运行有相应的服务器端程序来提供相应的光路分配网络的拓扑信息还原服务。例如,获取在目标时刻所述无源网络中一个或多个末端节点设备的特征数据,所述目标时刻为所述光路分配网络出现光路变化的时刻,所述特征数据包括光网络单元的接收光功率、光链路损耗、告警信息中的至少一个;根据所述一个或多个光网络单元的特征数据,对所述一个或多个光网络单元进行聚类分析,获得所述目标时刻对应的聚类簇列表,所述聚类簇列表包括至少一个第一聚类簇,其中,所述至少一个第一聚类簇中每个第一聚类簇包括所述一个或多个光网络单元中在同一个分光器下的光网络单元;融合多个目标时刻分别对应的聚类簇列表,获取所述无源网络的拓扑信息,所述拓扑信息包括至少一个第二聚类簇,所述至少一个第二聚类簇中每个第二聚类簇包括所述无源网络中在同一个分光器下的部分或全部光网络单元。In case 1, the asset management system can be a server in the cloud. This server and local passive devices form a system. As shown in Figure 1B, the system architecture can include one or more servers (multiple servers can form a server cluster) , which may include but are not limited to background servers, cloud servers, data processing servers, etc. When the above asset management system is a server, the server may run a corresponding server-side program to provide a corresponding optical path distribution network topology information restoration service. For example, acquiring characteristic data of one or more end node devices in the passive network at a target time, where the target time is the time when the optical path changes in the optical path distribution network, and the characteristic data includes the received light of the optical network unit. at least one of power, optical link loss, and alarm information; according to the characteristic data of the one or more optical network units, perform cluster analysis on the one or more optical network units, and obtain the corresponding A cluster list, the cluster list includes at least one first cluster, wherein each first cluster in the at least one first cluster includes the one or more optical network units The optical network unit under the same optical splitter; fuse the cluster lists corresponding to multiple target moments respectively, and obtain the topology information of the passive network, where the topology information includes at least one second cluster, the at least one second cluster. Each second cluster in a second cluster includes part or all of the optical network units in the passive network under the same optical splitter.

情况二,资管系统可以是一个设备,这个设备可以为本地的一个终端,该终端设备的系统包括但不限于windows,iOS,Android等不同平台。例如,该终端可以获取在目标时刻所述无源网络中一个或多个末端节点设备的特征数据;根据所述一个或多个光网络单元的特征数据,对所述一个或多个光网络单元进行聚类分析,获得所述目标时刻对应的聚类簇列表;融合多个目标时刻分别对应的聚类簇列表,获取所述无源网络的拓扑信息。本方案实施例中的终端可以包括但不限于任何一种能运行浏览器的电子产品,其可与用户通过键盘、虚拟键盘、触摸板、触摸屏以及声控设备等输入设备来进行人机交互,诸如智能手机、平板电脑、个人电脑等。其中,智能操作系统包括但不限于任何通过向移动设备提供各种移动应用来丰富设备功能的操作系统,诸如:安卓(AndroidTM)、iOSTM、Windows PhoneTM等。In case 2, the asset management system may be a device, which may be a local terminal, and the system of the terminal device includes but is not limited to different platforms such as windows, iOS, and Android. For example, the terminal may acquire characteristic data of one or more end node devices in the passive network at the target time; Perform cluster analysis to obtain a list of clusters corresponding to the target time; and obtain topology information of the passive network by fusing the lists of clusters corresponding to multiple target times respectively. The terminal in this embodiment of the solution may include, but is not limited to, any electronic product capable of running a browser, which can perform human-computer interaction with the user through input devices such as a keyboard, a virtual keyboard, a touchpad, a touchscreen, and a voice control device, such as Smartphones, Tablets, PCs, etc. The smart operating system includes, but is not limited to, any operating system that enriches device functions by providing various mobile applications to the mobile device, such as: Android (Android TM ), iOS TM , Windows Phone TM and the like.

基于上述系统架构,本申请实施例提供一种可以应用于上述图1A系统架构中的服务设备和图1B系统架构中的资管系统,请参见图2,图2是本申请实施例提供的一种拓扑信息获取设备的结构示意图,如图2所示,该拓扑信息获取设备可包括数据采集模块001、拓扑还原算法模块002、还原结果模块003和校正拓扑数据模块004。Based on the above system architecture, the embodiments of the present application provide a service device that can be applied to the system architecture of FIG. 1A and the asset management system of the system architecture of FIG. 1B . Please refer to FIG. 2 , which is an embodiment of the present application. A schematic structural diagram of a topology information acquisition device, as shown in FIG. 2 , the topology information acquisition device may include a data acquisition module 001 , a topology restoration algorithm module 002 , a restoration result module 003 and a correction topology data module 004 .

该拓扑信息获取设备首先对无源网络进行末端节点设备的数据采集,包括性能指标数据、告警数据等等,然后将数据输入拓扑还原算法模块,进行拓扑还原得到还原结果,进而结合预先存储的拓扑数据,校正确认拓扑数据,最终将校正后的拓扑数据反馈至原有的拓扑数据中,形成拓扑数据校正闭环。所述无源网络包括多个节点设备,所述多个节点设备包括至少一个中间节点设备、至少一个末端节点设备。其中,The topology information acquisition device firstly collects the data of the end node devices on the passive network, including performance index data, alarm data, etc., and then inputs the data into the topology restoration algorithm module, performs topology restoration to obtain restoration results, and then combines the pre-stored topology Data, correct and confirm the topology data, and finally feed back the corrected topology data to the original topology data to form a closed loop of topology data correction. The passive network includes a plurality of node devices including at least one intermediate node device and at least one end node device. in,

数据采集模块001,用于采集末端节点设备的特征数据,所述特征数据包括末端节点设备的所述性能指标信息或所述告警信息,其中,性能指标信息和告警信息与无源网络的类型相匹配,例如:当无源网络为光路分配网络时,性能指标信息可以为接收光功率、光链路损耗等等;当无源网络为无源二端网络时,性能指标信息可以为电压、电流、电阻等等。数据采集模块001包括数据采集模块、告警数据采集模块。其中,数据采集模块用于采集性能指标信息,该性能指标信息可以是关键绩效指标KPI数据;告警数据采集模块用于采集告警数据,该告警数据可以包括:告警类型、告警末端节点设备的设备标识,告警开始时间和告警结束时间中的至少一个。A data collection module 001 is configured to collect characteristic data of the end node device, the characteristic data includes the performance index information or the alarm information of the end node device, wherein the performance index information and the alarm information are related to the type of the passive network. Matching, for example: when the passive network is an optical path distribution network, the performance index information can be received optical power, optical link loss, etc.; when the passive network is a passive two-terminal network, the performance index information can be voltage, current , resistors, etc. The data collection module 001 includes a data collection module and an alarm data collection module. The data collection module is used to collect performance index information, which may be key performance indicator KPI data; the alarm data collection module is used to collect alarm data, and the alarm data may include: alarm type, device identification of the alarm end node device , at least one of the alarm start time and the alarm end time.

拓扑还原算法模块002,用于根据上述数据采集模块001采集的特征数据,以及该特征数据对应的末端节点设备的设备标识,还原无源网络的拓扑信息。例如:拓扑还原算法模块002可以获取在目标时刻所述无源网络中一个或多个末端节点设备的特征数据,所述目标时刻为所述一个或多个末端节点设备的性能指标信息变化超过预设波动范围和/或出现告警信息的时刻,所述特征数据包括所述性能指标信息和/或所述告警信息,所述一个或多个末端节点设备为所述至少一个末端节点设备中的一个或多个;根据所述一个或多个末端节点设备的特征数据,对所述一个或多个末端节点设备进行聚类分析,获得所述目标时刻对应的聚类簇列表,所述聚类簇列表包括至少一个第一聚类簇,其中,所述至少一个第一聚类簇中每个第一聚类簇包括所述一个或多个末端节点设备中在同一个中间节点设备下的末端节点设备;融合多个目标时刻分别对应的聚类簇列表,获取所述无源网络的拓扑信息,所述拓扑信息包括至少一个第二聚类簇,所述至少一个第二聚类簇中每个第二聚类簇包括所述无源网络中在同一个中间节点设备下的部分或全部末端节点设备。其中,该末端节点设备的设备标识用于标识该末端节点设备。The topology restoration algorithm module 002 is configured to restore the topology information of the passive network according to the characteristic data collected by the data collection module 001 and the device identifier of the end node device corresponding to the characteristic data. For example, the topology restoration algorithm module 002 may acquire characteristic data of one or more end node devices in the passive network at a target time, where the target time is when the performance index information of the one or more end node devices changes more than a predetermined time. Suppose the fluctuation range and/or the time when the alarm information occurs, the characteristic data includes the performance index information and/or the alarm information, and the one or more end node devices are one of the at least one end node device or more; according to the feature data of the one or more end node devices, perform cluster analysis on the one or more end node devices to obtain a list of clusters corresponding to the target time, and the cluster clusters The list includes at least one first cluster, wherein each first cluster in the at least one first cluster includes an end node under the same intermediate node device in the one or more end node devices equipment; fuse the cluster lists corresponding to multiple target moments respectively, and obtain the topology information of the passive network, where the topology information includes at least one second cluster, each of the at least one second cluster The second cluster includes some or all end node devices under the same intermediate node device in the passive network. The device identifier of the end node device is used to identify the end node device.

还原结果模块003,用于获取上述拓扑还原算法模块002还原的无源网络的拓扑信息,以及原来存储的无源网络的拓扑信息。The restoration result module 003 is configured to obtain the topology information of the passive network restored by the above topology restoration algorithm module 002 and the originally stored topology information of the passive network.

校正拓扑数据模块004,结合资管数据和还原的拓扑信息,校正资管数据中的拓扑数据,最终将校正后的拓扑信息反馈更新至拓扑数据。The correction topology data module 004, in combination with the asset management data and the restored topology information, corrects the topology data in the asset management data, and finally feeds back and updates the corrected topology information to the topology data.

可以理解的是,图2中的拓扑信息获取设备的架构只是本申请实施例中的一种示例性的实施方式,本申请实施例中的拓扑信息获取设备包括但不仅限于以上拓扑信息获取设备。It can be understood that the architecture of the topology information acquisition device in FIG. 2 is only an exemplary implementation in the embodiment of the present application, and the topology information acquisition device in the embodiment of the present application includes but is not limited to the above topology information acquisition device.

基于图1A和图1B提供的系统架构,以及图2提供的拓扑信息获取设备的结构,结合本申请中提供的获取无源网络拓扑信息的方法,对本申请中提出的技术问题进行具体分析和解决。Based on the system architecture provided in FIG. 1A and FIG. 1B and the structure of the topology information acquisition device provided in FIG. 2, combined with the method for acquiring passive network topology information provided in this application, the technical problems proposed in this application are specifically analyzed and solved. .

请参见图3,图3是本申请实施例提供的一种获取无源网络拓扑信息的方法流程示意图,该方法可应用于上述图1A和图1B中所述的系统架构中,其中,拓扑信息获取设备可以用于支持并执行图3中所示的方法流程步骤S301-步骤S304。下面将结合附图3从拓扑信息获取设备侧进行描述。该方法可以包括以下步骤S301、步骤S302和步骤S304可选的还可以包括步骤S303。Please refer to FIG. 3. FIG. 3 is a schematic flowchart of a method for obtaining passive network topology information provided by an embodiment of the present application. The method can be applied to the system architecture described in FIG. 1A and FIG. 1B above, wherein the topology information The acquisition device can be used to support and execute the method flow steps S301 to S304 shown in FIG. 3 . The description will be given below from the topology information acquiring device side with reference to FIG. 3 . The method may include the following steps S301, S302, and S304, and optionally, may further include step S303.

步骤S301:获取在目标时刻无源网络中一个或多个末端节点设备的特征数据。Step S301: Acquire characteristic data of one or more end node devices in the passive network at the target time.

具体的,拓扑信息获取设备获取在目标时刻所述无源网络中一个或多个末端节点设备的特征数据,所述目标时刻为所述一个或多个末端节点设备的性能指标信息变化超过预设波动范围和/或出现告警信息的时刻,所述特征数据包括所述性能指标信息和/或所述告警信息,所述一个或多个末端节点设备为所述至少一个末端节点设备中的一个或多个。其中,还可以获取末端节点设备的设备标识,用于标识该末端节点设备。所述性能指标信息和告警信息均与无源网络的类型相匹配,例如:当无源网络为光路分配网络时,性能指标信息可以为接收光功率、光链路损耗等等;当无源网络为无源二端网络时,性能指标信息可以为电压、电流、电阻等等。所述告警信息包括告警类型、告警标识、告警开始时间和告警结束时间中的一个或多个。举例来说,当无源网络中出现一个末端节点设备的性能指标信息变化超过预设波动范围或出现告警信息,该时刻可以理解为目标时刻,此时可以获取该末端节点设备的出现变化的特征数据。如:在性能指标信息变化超过预设波动范围时,获取性能指标数据;在出现告警信息时,获取告警信息。此外并不排除,在出现告警信息时,获取性能指标数据的情况,本申请实施例对此不作具体限定。又例如:当无源网络中出现一个末端节点设备的性能指标信息变化超过预设波动范围,另一个末端节点设备出现告警信息,该时刻也可以理解为目标时刻。此外,在不同的目标时刻,出现性能指标信息变化超过预设波动范围和/或出现告警信息的末端节点设备可能不同,数量也有可能不同。Specifically, the topology information acquisition device acquires characteristic data of one or more end node devices in the passive network at a target time, where the target time is when the performance index information of the one or more end node devices changes by more than a preset value The fluctuation range and/or the moment when the alarm information occurs, the characteristic data includes the performance index information and/or the alarm information, and the one or more end node devices are one or more of the at least one end node device. multiple. Wherein, the device identifier of the end node device can also be obtained, which is used to identify the end node device. Both the performance index information and the alarm information match the type of the passive network. For example, when the passive network is an optical path distribution network, the performance index information can be received optical power, optical link loss, etc.; When it is a passive two-terminal network, the performance index information can be voltage, current, resistance and so on. The alarm information includes one or more of an alarm type, an alarm identifier, an alarm start time, and an alarm end time. For example, when the performance index information of an end node device changes beyond the preset fluctuation range or alarm information occurs in the passive network, this time can be understood as the target time, and the characteristics of the change of the end node device can be obtained at this time. data. For example, when the change of performance index information exceeds the preset fluctuation range, obtain performance index data; when alarm information occurs, obtain alarm information. In addition, it is not excluded that when the alarm information occurs, the performance indicator data is acquired, which is not specifically limited in this embodiment of the present application. Another example: when the performance index information of one end node device changes beyond the preset fluctuation range in the passive network, and another end node device generates alarm information, this time can also be understood as the target time. In addition, at different target moments, there may be different end-node devices and/or different numbers of end-node devices that show performance index information changes exceeding the preset fluctuation range and/or alarm information.

可选的,多个目标时刻为在预设时间段内的多个,所述预设时间段为预设时间点与当前时间点之间的时间段。需要说明的是,在预设时间段内可能会出现多次性能指标信息变化超过预设波动范围或出现告警信息的时刻,即,多个目标时刻。由于在每个目标时刻时,出现性能指标信息变化超过预设波动范围或出现告警信息的末端节点设备可能不同,所以,拓扑信息获取设备可以周期性确定多个时刻的特征数据,还原无源网络的拓扑信息,融合了多次拓扑信息的识别结果,提高无源网络中拓扑信息还原准确率。需要说明的是,在无源网络没有出现光路变化,或者性能指标信息变化程度不明显、不超过预设变化范围之内时,拓扑信息获取设备无法获取末端节点设备的设备标识以及特征数据。Optionally, the multiple target moments are multiple within a preset time period, and the preset time period is a time period between the preset time point and the current time point. It should be noted that, within the preset time period, there may be multiple times when the performance index information changes beyond the preset fluctuation range or when alarm information occurs, that is, multiple target times. Because at each target time, the end node devices where the change of performance index information exceeds the preset fluctuation range or the alarm information may be different may be different. Therefore, the topology information acquisition device can periodically determine the feature data at multiple times and restore the passive network. It integrates the identification results of multiple topology information, and improves the accuracy of topology information restoration in passive networks. It should be noted that when there is no optical path change in the passive network, or the degree of change in the performance index information is not obvious and does not exceed the preset change range, the topology information obtaining device cannot obtain the device identification and characteristic data of the end node device.

在一种可能的实现方式中,当无源网络为光路分配网络时,所述无源网络为光路分配网络,所述末端节点设备为光网络单元,所述中间节点设备为分光器。当该光路分配网络出现光路变化时,可以获得出现变化的光网络单元的特征数据,用于分析光网络单元是否处于同一个分光器下。其中,光路分配网络中部分或全部光网络单元出现光路变化,可以认为是光网络单元ONU出现告警信息或光网络单元ONU的性能指标数据出现变化(如,接收光功率发生变化),或性能指标数据的变化在一定阈值范围之外。其中,请参考下述表1,表1是本申请实施例提供的一种光网络单元ONU出现告警信息的告警信息表格。In a possible implementation manner, when the passive network is an optical path distribution network, the passive network is an optical path distribution network, the end node device is an optical network unit, and the intermediate node device is an optical splitter. When an optical path change occurs in the optical path distribution network, characteristic data of the changed optical network unit can be obtained, which is used to analyze whether the optical network unit is under the same optical splitter. Among them, if some or all of the optical network units in the optical path distribution network have changes in the optical path, it can be considered that the ONU of the optical network unit has alarm information or the performance index data of the ONU of the optical network unit has changed (for example, the received optical power has changed), or the performance index has changed. The change in the data is outside a certain threshold range. Wherein, please refer to the following Table 1. Table 1 is an alarm information table of alarm information of an ONU of an optical network unit provided by an embodiment of the present application.

表1:告警信息表Table 1: Alarm Information Table

ONU单元标识ONU unit identification 告警类型Alert Type 告警标识Alarm ID 告警开始时间Alarm start time 告警结束时间Alarm end time 005005 AA Aaaaa1Aaaaa1 2020-05-26 22:29.392020-05-26 22:29.39 2020-05-26 22:32.302020-05-26 22:32.30 198198 BB Bbbbb2Bbbbb2 2020-05-2912:29.392020-05-2912:29.39 2020-05-2912:32.522020-05-2912:32.52 201201 BB Bbbbb2Bbbbb2 2020-05-2912:29.392020-05-2912:29.39 2020-05-2912:33.092020-05-2912:33.09

上述告警信息表格中包括:ONU单元标识、告警类型、告警标识、告警开始时间、告警结束时间等,用于表述光网络单元出现告警时的告警类型和时间,以便于拓扑信息获取设备对出现告警信息的光网络单元进行聚类分析。其中,当两个光网络单元出现告警信息的时间、告警类型都很相似时,则可以认为该两个光网络单元处于同一个分光器下。如表1所示,ONU单元标识198和ONU单元标识201的两个光网络单元,出现告警信息的时间、告警类型都很相似时,则可以认为该两个光网络单元处于同一个分光器下。The above alarm information table includes: ONU unit identification, alarm type, alarm identification, alarm start time, alarm end time, etc., which are used to describe the alarm type and time when the optical network unit generates an alarm, so that the topology information acquisition device can respond to the alarm. The information of the optical network units is clustered. Wherein, when the time and alarm type of the two optical network units when the alarm information occurs are very similar, it can be considered that the two optical network units are under the same optical splitter. As shown in Table 1, when the two optical network units of ONU unit identifier 198 and ONU unit identifier 201, when the time and alarm type of the alarm information are very similar, it can be considered that the two optical network units are under the same optical splitter .

当光网络单元ONU的性能指标数据出现变化时,以接收光功率变化为例,请参考附图4,图4是本申请实施例提供的一种光网络单元接收光功率变化的示意图。其中:光网络单元ONU的接收光功率出现变化的特征可以包括:接收光功率的抖动程度、抖动次数、断崖程度、趋势劣化程度等等,所述抖动程度可以为单位时间内ONU的接收光功率数据的变化程度,所述抖动次数为ONU的抖动程度大于预设阈值的累计次数,所述断崖程度用于表示ONU的接收光功率在单位时间内从稳定值衰减到另外一个稳定值的衰减变化大小,所述趋势劣化程度用所述一定时间内的接收光功率进行指数加权滑动平均后进行线性拟合的趋势系数表示。其中,当多个光网络单元ONU的接收光功率出现变化的特征相似或在一定的阈值范围内时,则可以认为该多个光网络单元处于同一个分光器下。如图4所示,光网络单元接收光功率变化的示意图,左边是光网络单元的单元标识,右边是随着时间的推移,对应光网络单元接收光功率的大小。如图4所示,ONU单元标识为015、016和017的三个光网络单元,接收光功率的抖动程度、抖动次数、断崖程度、趋势劣化程度等等都较为相似,则可以认为该三个光网络单元处于同一个分光器下。ONU单元标识为005、053的光网络单元,与015、016和017光网络单元性能指标波动不同,则可以认为光网络单元005和053不与上述三个光网络单元处于同一个分光器下。When the performance index data of the ONU of the optical network unit changes, taking the change of the received optical power as an example, please refer to FIG. Wherein: the characteristics of the change of the received optical power of the ONU of the optical network unit may include: the degree of jitter, the number of jitters, the degree of cliff, the degree of trend deterioration, etc. of the received optical power, and the degree of jitter may be the received optical power of the ONU per unit time. The degree of change of the data, the number of times of jitter is the cumulative number of times that the degree of jitter of the ONU is greater than the preset threshold, and the degree of cliff is used to indicate the attenuation change of the received optical power of the ONU from a stable value to another stable value within a unit time. size, the trend deterioration degree is represented by the trend coefficient of linear fitting after exponentially weighted moving average of the received optical power within a certain period of time. Wherein, when the received optical powers of multiple ONUs have similar characteristics or are within a certain threshold range, it can be considered that the multiple ONUs are under the same optical splitter. As shown in Figure 4, a schematic diagram of the change of optical power received by the optical network unit, the left side is the unit identifier of the optical network unit, and the right side is the size of the received optical power corresponding to the optical network unit over time. As shown in Figure 4, the ONU units are identified as 015, 016 and 017 for the three optical network units, the received optical power jitter degree, jitter times, cliff degree, trend deterioration degree, etc. are relatively similar, it can be considered that the three optical network units The optical network units are under the same optical splitter. The ONU units identified as 005 and 053 optical network units have different performance index fluctuations from 015, 016 and 017 optical network units. It can be considered that the optical network units 005 and 053 are not under the same optical splitter as the above three optical network units.

需要说明的是,本申请实施例将光路开始变化的时刻作为目标时刻,还可以将光路变化过程中变化率最大的时刻作为目标时刻,本申请实施例对此不作具体的限定。It should be noted that, in the embodiment of the present application, the time when the optical path starts to change is used as the target time, and the time when the change rate of the optical path is the largest during the change of the optical path may also be used as the target time, which is not specifically limited in the embodiment of the present application.

步骤S302:根据一个或多个末端节点设备的特征数据,对一个或多个末端节点设备进行聚类分析,获得目标时刻对应的聚类簇列表。Step S302: Perform cluster analysis on one or more end node devices according to the characteristic data of one or more end node devices, and obtain a cluster list corresponding to the target time.

具体的,拓扑信息获取设备根据所述一个或多个末端节点设备的特征数据,对所述一个或多个末端节点设备进行聚类分析,获得所述目标时刻对应的聚类簇列表,所述聚类簇列表包括至少一个第一聚类簇,其中,所述至少一个第一聚类簇中每个第一聚类簇包括所述一个或多个末端节点设备中在同一个中间节点设备下的末端节点设备。需要说明的是,聚类分析是指将物理或抽象对象的集合分组为由类似的对象组成的多个类的分析过程。还需要说明的是,在对一个或多个末端节点设备进行聚类分析时,其特征数据的类型是相同的,如均为性能指标或均为告警信息。通过聚类分析可以将属于同一个中间节点设备下的末端节点设备分为一类,以还原无源网络的拓扑信息,其中,该拓扑信息包括无源网络中不同中间节点设备下的末端节点设备。例如,本申请实施例可以使用基于密度空间的聚类算法(Density-Based Spatial Clustering of Applications with Noise,DBSCAN),该算法将簇定义为密度相连的点的最大集合,能够把具有足够高密度的区域划分为簇,并可在噪声的空间数据库中发现任意形状的聚类。因此,可以无需制定聚类个数,无需计算聚类的质心,可识别噪声点,经聚类分析后,拓扑信息获取设备可以输出第t个目标时刻的聚类簇列表,其中,聚类簇列表可以表示为:{c1,c2,…,cn}t。其中,cn为第t个目标时刻对应的第n个末端节点设备的设备标识,代表聚类簇列表中第n个末端节点设备。通过对每个光路发生变化的时刻对应的多个末端节点设备的数据分析,得到该时刻的拓扑信息,简单快捷,并且得到的拓扑信息比较准确,不需要通过人工输入来维护无源网络设备的拓扑信息。Specifically, the topology information acquisition device performs cluster analysis on the one or more end node devices according to the characteristic data of the one or more end node devices, and obtains a cluster list corresponding to the target time, the The cluster list includes at least one first cluster, wherein each first cluster in the at least one first cluster includes one or more end node devices under the same intermediate node device. end node device. It should be noted that cluster analysis refers to the analysis process of grouping a collection of physical or abstract objects into multiple classes composed of similar objects. It should also be noted that when cluster analysis is performed on one or more end node devices, the types of the characteristic data are the same, for example, all are performance indicators or all are alarm information. Through cluster analysis, the end node devices belonging to the same intermediate node device can be classified into one category to restore the topology information of the passive network, wherein the topology information includes the end node devices under different intermediate node devices in the passive network . For example, in this embodiment of the present application, a density space-based clustering algorithm (Density-Based Spatial Clustering of Applications with Noise, DBSCAN) may be used, which defines a cluster as the largest set of density-connected points, and can classify a cluster with a sufficiently high density. Regions are divided into clusters, and clusters of arbitrary shape can be found in a spatial database of noise. Therefore, there is no need to specify the number of clusters, no need to calculate the centroid of the clusters, and noise points can be identified. After cluster analysis, the topology information acquisition device can output the list of clusters at the t-th target time, where the clusters A list can be represented as: {c 1 ,c 2 ,…,c n } t . Wherein, cn is the device identifier of the nth end node device corresponding to the tth target time, representing the nth end node device in the cluster list. By analyzing the data of multiple end node devices corresponding to the moment when each optical path changes, the topology information at this moment can be obtained, which is simple and fast, and the obtained topology information is relatively accurate, and no manual input is required to maintain the passive network device. topology information.

可选的,根据所述一个或多个末端节点设备的特征数据,对所述一个或多个末端节点设备进行聚类分析,获得所述目标时刻对应的聚类簇列表,包括:根据所述一个或多个末端节点设备的特征数据,计算在所述目标时刻所述一个或多个末端节点设备之间的相似度,获得相似度矩阵;基于所述相似度矩阵,对所述一个或多个末端节点设备进行聚类分析,获得所述目标时刻对应的聚类簇列表。因为,无源网络在末端节点设备发生变化时,体现在监控的末端节点设备上,即是该末端节点设备的特征数据的变化,即性能指标信息变化超过预设波动范围或出现告警信息;而且,处于同一个中间节点设备下的末端节点设备数据波动相似,出现告警信息的告警类型也相似,相似度越大即连接越紧密,所以,基于特征数据确定的相似度矩阵对发生数据波动的末端节点设备进行聚类分析可以分辨出多个末端节点设备所属的中间节点设备,有利于提高拓扑信息的准确性。Optionally, according to the feature data of the one or more end node devices, perform cluster analysis on the one or more end node devices to obtain a cluster list corresponding to the target time, including: according to the Feature data of one or more end node devices, calculate the similarity between the one or more end node devices at the target moment, and obtain a similarity matrix; Each end node device performs cluster analysis to obtain a cluster list corresponding to the target moment. Because the passive network is reflected in the monitored end node device when the end node device changes, that is, the change of the characteristic data of the end node device, that is, the change of the performance index information exceeds the preset fluctuation range or the alarm information occurs; and , the data fluctuations of the end node devices under the same intermediate node device are similar, and the alarm types of the alarm information are also similar. The greater the similarity, the tighter the connection. Clustering analysis of node devices can distinguish intermediate node devices to which multiple end node devices belong, which is beneficial to improve the accuracy of topology information.

在一种可能实现的方式中,所述无源网络为光路分配网络,所述末端节点设备为光网络单元,所述中间节点设备为分光器,所述特征数据为所述末端节点设备的接收光功率;根据所述一个或多个末端节点设备的特征数据,计算在所述目标时刻所述一个或多个末端节点设备之间的相似度,获得相似度矩阵,包括:根据所述接收光功率和第一计算公式,计算所述每个目标时刻对应的一个或多个个光网络单元之间的相似度,获得相似度矩阵S,其中,所述第一计算公式为

Figure BDA0002561188980000111
其中,t为m个目标时刻中第t个目标时刻,Norm(i)t为所述第t个目标时刻对应光网络单元i接收光功率的归一化函数,Norm(j)t为所述第t个目标时刻对应光网络单元j接收光功率的归一化函数,L1(Norm(i)t,Norm(j)t)为所述光网络单元i和所述光网络单元j之间基于接收光功率的距离度量函数,count_nan(i∪j)为所述光网络单元i和所述光网络单元j合并后空值计数函数,α为预设空值惩罚系数,t=1、2……m,m为大于1的正整数,i、j分别为光网络单元的标识。拓扑信息获取设备可以根据光网络单元的接收光功率,计算在每个目标时刻出现光路变化的一个或多个光网络单元之间的相似度,当两个光网络单元的相似度在一定的阈值范围内时,可以认为该两个光网络单元处于同一个分光器下。进一步的,拓扑信息获取设备在计算光网络单元之间的相似度时,可以首先将一个或多个光网络单元接收光功率进行归一化处理,然后,基于归一化处理后的接收光功率,通过距离度量函数计算一个或多个光网络单元之间的相似度,有利于提高聚类分析的准确度。In a possible implementation manner, the passive network is an optical path distribution network, the end node device is an optical network unit, the intermediate node device is an optical splitter, and the characteristic data is the reception of the end node device optical power; according to the characteristic data of the one or more end node devices, calculating the similarity between the one or more end node devices at the target moment to obtain a similarity matrix, including: according to the received light power and the first calculation formula, calculate the similarity between one or more optical network units corresponding to each target moment, and obtain the similarity matrix S, wherein, the first calculation formula is
Figure BDA0002561188980000111
Among them, t is the t-th target time among the m target times, Norm(i) t is the normalized function of the received optical power of the optical network unit i corresponding to the t-th target time, and Norm(j) t is the The t-th target time corresponds to the normalized function of the optical power received by the optical network unit j, and L 1 (Norm(i) t , Norm(j) t ) is the distance between the optical network unit i and the optical network unit j The distance metric function based on the received optical power, count_nan(i∪j) is the null count function after the optical network unit i and the optical network unit j are combined, α is the preset null penalty coefficient, t=1, 2 ...m, m are positive integers greater than 1, i, j are the identifiers of the optical network units, respectively. The topology information acquisition device can calculate the similarity between one or more optical network units with optical path changes at each target moment according to the received optical power of the optical network unit. When the similarity between the two optical network units is within a certain threshold When within the range, it can be considered that the two optical network units are under the same optical splitter. Further, when calculating the similarity between the optical network units, the topology information acquisition device may first normalize the received optical power of one or more optical network units, and then, based on the normalized received optical power. , the similarity between one or more optical network units is calculated by the distance metric function, which is beneficial to improve the accuracy of cluster analysis.

在一种可能实现的方式中,所述无源网络为光路分配网络,所述末端节点设备为光网络单元,所述中间节点设备为分光器,所述特征数据为所述末端节点设备的告警信息,所述告警信息包括告警开始时间和告警结束时间;所述根据所述一个或多个末端节点设备的特征数据,计算在所述目标时刻所述一个或多个末端节点设备之间的相似度,获得相似度矩阵,包括:根据所述告警信息和第二计算公式,计算所述目标时刻对应的一个或多个光网络单元之间的相似度,获得相似度矩阵S,其中,所述第二计算公式为

Figure BDA0002561188980000121
Figure BDA0002561188980000122
其中,t为m个目标时刻中第t个目标时刻,As(i)为第t个目标时刻对应光网络单元i的告警开始时间,Ae(i)为所述第t个目标时刻对应光网络单元i的告警结束时间,As(j)为所述第t个目标时刻对应光网络单元j的告警开始时间,Ae(j)为所述第t个目标时刻对应光网络单元j的告警结束时间,L1(As(i),As(j))所述光网络单元i和所述光网络单元j之间基于所述告警开始时间的距离度量函数,L1(Ae(i),Ae(j))为所述光网络单元i和所述光网络单元j之间基于所述告警结束时间的距离度量函数,t=1、2……m,m为大于1的正整数,i、j分别为光网络单元的标识。拓扑信息获取设备可以根据告警开始时间和告警结束时间,计算在每个目标时刻出现告警信息的一个或多个光网络单元之间的相似度,当两个光网络单元的相似度在一定的阈值范围内时,可以认为该两个光网络单元处于同一个分光器下。进一步的,在计算光网络单元之间的相似度时,可以首先确定一个或多个光网络单元出现告警信息到的开始时间和结束时间,然后,基于告警开始时间和告警结束时间,通过距离度量函数计算一个或多个光网络单元之间的相似度,有利于提高聚类分析的准确度。In a possible implementation manner, the passive network is an optical path distribution network, the end node device is an optical network unit, the intermediate node device is an optical splitter, and the characteristic data is an alarm of the end node device information, the alarm information includes an alarm start time and an alarm end time; calculating the similarity between the one or more end node devices at the target time according to the characteristic data of the one or more end node devices obtaining a similarity matrix, including: calculating the similarity between one or more optical network units corresponding to the target moment according to the alarm information and the second calculation formula, and obtaining a similarity matrix S, wherein the The second calculation formula is
Figure BDA0002561188980000121
Figure BDA0002561188980000122
Among them, t is the t-th target time among the m target times, As(i) is the alarm start time of the optical network unit i corresponding to the t-th target time, and A e (i) is the optical network unit i corresponding to the t-th target time. The alarm end time of the network unit i, A s (j) is the alarm start time of the optical network unit j corresponding to the t-th target time, and A e (j) is the t-th target time corresponding to the optical network unit j. Alarm end time, L 1 (A s (i), A s (j)) The distance metric function between the optical network unit i and the optical network unit j based on the alarm start time, L 1 (A e (i), A e (j)) is the distance metric function between the optical network unit i and the optical network unit j based on the alarm end time, t=1, 2...m, m is greater than 1 A positive integer of , i and j are the IDs of the optical network units respectively. The topology information acquisition device can calculate the similarity between one or more optical network units that have alarm information at each target time according to the alarm start time and the alarm end time. When the similarity between the two optical network units is within a certain threshold When within the range, it can be considered that the two optical network units are under the same optical splitter. Further, when calculating the similarity between optical network units, it is possible to first determine the start time and end time when the alarm information occurs in one or more optical network units, and then, based on the alarm start time and the alarm end time, measure the distance through distance measurement. The function calculates the similarity between one or more optical network units, which is beneficial to improve the accuracy of cluster analysis.

步骤S303:根据目标时刻对应的聚类簇列表,构建目标时刻对应的目标子图。Step S303: Construct a target subgraph corresponding to the target moment according to the cluster list corresponding to the target moment.

具体的,拓扑信息获取设备根据所述目标时刻对应的聚类簇列表,构建所述目标时刻对应的目标子图,所述目标子图包括全连接图或最小生成树构建图,其中,所述目标子图中的节点i和节点j之间的边权重为所述目标时刻对应的所述一个或多个末端节点设备中末端节点设备i和末端节点设备j之间的相似度度量函数和/或固有属性。其中,i,j为对应末端节点设备的设备标识。Specifically, the topology information acquisition device constructs a target subgraph corresponding to the target moment according to the cluster list corresponding to the target moment, and the target subgraph includes a fully connected graph or a minimum spanning tree construction graph, wherein the The edge weight between the node i and the node j in the target subgraph is the similarity measure function between the end node device i and the end node device j in the one or more end node devices corresponding to the target moment and/ or inherent properties. Among them, i and j are the device identifiers of the corresponding end node devices.

例如:请参见附图5和附图6,图5和图6是本申请实施例提供的一组目标时刻对应的末端节点设备组成的最小生成树构建图。当目标时刻对应的一个或多个末端节点设备的数目小于或等于预设阈值(如:预设阈值默认为3,可根据具体场景调整)时,可以构建全连接图,而当目标时刻对应的一个或多个末端节点设备的数目大于预设阈值时,可以使用最小生成树构建图。如图5所示,设备标识为000,037,041,019的四个节点,分别代表处于同一中间节点设备下的末端节点设备,其中,000,037,041,019的四个节点中两两节点之间的数字代表该节点之间的边权重。如图6所示,该目标子图为包括了009,027,016,033,034,044,043,023,001,024,042,018的十二个节点的最小生成树构建图,其中,该图中设备标识为(009,027,016,024,042,018)的六个末端节点设备为同一中间节点设备下的末端节点设备,因此,从图6中可以看出,最小生成树的图构建方式使得该六个末端节点设备对应的节点有聚拢倾向。请参见附图7,图7是本申请实施例提供的一种目标时刻对应的末端节点设备组成的全连接图。如图7所示,设备标识为043,031,005的三个节点,分别代表处于同一中间节点设备下的末端节点设备,其中,043,031,005的三个节点中两两节点之间的数字代表该节点之间的边权重。由于末端节点设备的数目小于或等于预设阈值,所以043,031,005三个末端节点设备组成了全连接图。For example, please refer to FIG. 5 and FIG. 6 . FIG. 5 and FIG. 6 are minimum spanning tree construction diagrams composed of a group of end node devices corresponding to a target moment provided by an embodiment of the present application. When the number of one or more end node devices corresponding to the target moment is less than or equal to the preset threshold (for example, the default threshold is 3 by default, which can be adjusted according to specific scenarios), a fully connected graph can be constructed, and when the target moment corresponds to When the number of one or more end node devices is greater than a preset threshold, the graph can be constructed using a minimum spanning tree. As shown in Figure 5, the four nodes whose device IDs are 000,037,041,019 respectively represent the end node devices under the same intermediate node device, wherein the numbers between the two nodes in the four nodes of 000,037,041,019 represent the edges between the nodes Weights. As shown in Figure 6, the target subgraph is a minimum spanning tree construction graph of twelve nodes including 009, 027, 016, 033, 034, 044, 043, 023, 001, 024, 042, 018, wherein the six end node devices with the device identifier (009, 027, 016, 024, 042, 018) in the figure are under the same intermediate node device. Therefore, it can be seen from FIG. 6 that the graph construction method of the minimum spanning tree makes the nodes corresponding to the six end node devices tend to converge. Please refer to FIG. 7 . FIG. 7 is a full connection diagram composed of end node devices corresponding to a target time according to an embodiment of the present application. As shown in Figure 7, the three nodes with the device ID of 043,031,005 represent the end node devices under the same intermediate node device, wherein the numbers between the two nodes in the three nodes of 043,031,005 represent the edges between the nodes Weights. Since the number of end node devices is less than or equal to the preset threshold, 043,031,005 three end node devices form a fully connected graph.

步骤S304:融合多个目标时刻分别对应的聚类簇列表,获取无源网络的拓扑信息。Step S304: Integrate the cluster lists corresponding to the multiple target moments respectively to obtain the topology information of the passive network.

具体的,拓扑信息获取设备融合多个目标时刻分别对应的聚类簇列表,获取所述无源网络的拓扑信息,所述拓扑信息包括至少一个第二聚类簇,所述至少一个第二聚类簇中每个第二聚类簇包括所述无源网络中在同一个中间节点设备下的部分或全部末端节点设备。将获取的预设时间段内的多个聚类列表合并,最终获得无源网络的拓扑信息,可以避免只有一次光路波动时拓扑信息还原不准确的问题,提高无源网络拓扑信息的准确性。其中,融合所述多个目标时刻分别对应的聚类簇列表,得到所述无源网络的拓扑信息后,还可以将拓扑信息分割成至少一个聚类簇,该至少一个聚类簇中每一个聚类簇包括一个中间节点设备下的部分或全部末端节点设备的设备标识。例如:请参考下述表2,表2是本申请实施例提供的一种分割后的末端节点设备拓扑信息表。Specifically, the topology information acquisition device fuses the cluster lists corresponding to multiple target times to acquire topology information of the passive network, where the topology information includes at least one second cluster, the at least one second cluster Each second cluster in the cluster includes part or all of the end node devices in the passive network under the same intermediate node device. Combining the obtained multiple cluster lists in the preset time period to finally obtain the topology information of the passive network can avoid the problem of inaccurate restoration of the topology information when there is only one optical path fluctuation, and improve the accuracy of the topology information of the passive network. Wherein, after fusing the cluster lists corresponding to the multiple target moments to obtain the topology information of the passive network, the topology information can also be divided into at least one cluster, and each of the at least one cluster can be divided into at least one cluster. The cluster includes the device identifiers of some or all end node devices under an intermediate node device. For example, please refer to the following Table 2. Table 2 is a segmented terminal node device topology information table provided by an embodiment of the present application.

表2:拓扑信息表Table 2: Topology Information Table

组号Group No 分割后的聚类簇split cluster 11 {'009','027','016'}{'009','027','016'} 22 {'034','004','021'}{'034','004','021'} 33 {'002','042','001','018'}{'002','042','001','018'} 44 {'011','008'}{'011','008'} 55 {'041','037','019','000'}{'041','037','019','000'} 66 {'033','029','044','022'}{'033','029','044','022'} 77 {'040','100'}{'040','100'} 88 {'030','038'}{'030','038'} 99 {'031','043','023','005','024'}{'031','043','023','005','024'} 1010 {'039','013','012'}{'039','013','012'}

如表2所示,分割后的每一组聚类簇均包括一个中间节点设备下的末端节点设备的设备标识。其中,将完整的拓扑信息分割成一个或多个聚类簇,可以使用户直观的了解到该无源网络中同一个中间节点设备下末端节点设备的拓扑信息。As shown in Table 2, each group of clusters after division includes a device identifier of an end node device under an intermediate node device. The complete topology information is divided into one or more clusters, so that the user can intuitively know the topology information of the end node devices under the same intermediate node device in the passive network.

可选的,分别融合所述多个目标时刻对应的聚类簇列表中、相同中间节点设备对应的所述第一聚类簇,获得对应的所述第二聚类簇;根据所述第二聚类簇,得到所述拓扑信息。即,拓扑信息获取设备可以将不同目标时刻所对应的、相同中间节点设备下的第一聚类簇合并成第二聚类簇,获得合并后的聚类列表即是该无源网络的拓扑信息,因此将获取的预设时间段内的多个目标时刻对应的聚类列表合并,最终获得无源网络的拓扑信息,可以避免只有一次光路波动时拓扑信息还原不准确的问题,提高无源网络拓扑信息的准确性。其次还可以实现资管中拓扑信息的自动维护更新,辅助故障精准定界,减少重复上站及无效上站,降低运营人力成本。Optionally, respectively fuse the first cluster clusters corresponding to the same intermediate node device in the cluster cluster lists corresponding to the multiple target moments to obtain the corresponding second cluster cluster; Cluster clusters to obtain the topology information. That is, the topology information obtaining device can merge the first clusters under the same intermediate node device corresponding to different target moments into the second cluster, and the obtained merged cluster list is the topology information of the passive network , so the obtained cluster lists corresponding to multiple target moments in the preset time period are combined, and finally the topology information of the passive network is obtained, which can avoid the problem of inaccurate restoration of topology information when there is only one optical path fluctuation, and improve the passive network. Accuracy of topology information. Secondly, it can also realize automatic maintenance and update of topology information in asset management, assist in accurate fault demarcation, reduce repeated and invalid server uploads, and reduce operating labor costs.

可选的,基于图融合多个目标时刻分别对应的目标子图,得到拓扑图,其中,所述拓扑图中节点之间的边权重计算方式为:

Figure BDA0002561188980000131
其中,k为所述多个目标时刻中第k个目标时刻,T为所述当前时间点,
Figure BDA0002561188980000132
为所述第k个目标时刻在所述多个目标时刻中的权重核函数,gk(i,j)为所述第k个目标时刻对应的目标子图中所述节点i和所述节点j之间的边权重;基于图的社群检测算法或embedding算法分割所述拓扑图,获得所述拓扑信息。其中,该权重核函数代表多个目标时刻中每一个目标时刻在部分或全部目标时刻中所占的权重大小。例如:可以设置
Figure BDA0002561188980000141
即,每个目标时刻的权重大小与当前时间点有关;另外还可以设置
Figure BDA0002561188980000142
为高斯核函数,以考虑拓扑序列的时间属性,即,与当前时刻时间越接近的目标时刻在部分或全部目标时刻的权重越大;也可以设置
Figure BDA0002561188980000143
即,每个目标时刻的权重大小相同,其中m为目标时刻的数量。需要说明的是,拓扑图所述节点i和所述节点j之间的边权重仅仅有同时包括节点i和节点j的一个或多个目标子图确定。例如:请参考附图8,图8是本申请实施例提供的一种拓扑图。基于上述表2所示的末端节点设备的信息,该示例的分割结果可视化的拓扑图,如图8所示,该拓扑图是将多个目标子图合并后获得的,将该拓扑图基于图的社群检测算法或embedding算法分割后,可以获得上述表2中的拓扑信息,从表2的图分割结果,结合各子图可分析得知,该拓扑图中组1为合并子图后形成的全连接子图,包括'009','027','016'三个末端节点设备;组2为原目标子图中存在的全连接子图,组5为孤立的子图,包括{'041','037','019','000'}四个末端节点设备,组10为合并(039,012),(039,013)两个子图的结果等等。Optionally, based on the graph, target subgraphs corresponding to multiple target moments are merged to obtain a topology graph, wherein the calculation method of edge weights between nodes in the topology graph is:
Figure BDA0002561188980000131
Wherein, k is the k-th target moment in the multiple target moments, T is the current time point,
Figure BDA0002561188980000132
is the weight kernel function of the kth target moment in the multiple target moments, and g k (i,j) is the node i and the node in the target subgraph corresponding to the kth target moment The edge weight between j; the graph-based community detection algorithm or the embedding algorithm divides the topology graph to obtain the topology information. The weight kernel function represents the weight of each of the multiple target moments in some or all of the target moments. For example: you can set
Figure BDA0002561188980000141
That is, the weight of each target moment is related to the current time point; in addition, you can set
Figure BDA0002561188980000142
is a Gaussian kernel function to take into account the time attribute of the topological sequence, that is, the target moment that is closer to the current moment has a greater weight in some or all target moments; it can also be set
Figure BDA0002561188980000143
That is, each target moment has the same weight, where m is the number of target moments. It should be noted that, the edge weight between the node i and the node j in the topology graph is only determined by one or more target subgraphs including both the node i and the node j. For example, please refer to FIG. 8 , which is a topology diagram provided by an embodiment of the present application. Based on the information of the end node devices shown in Table 2 above, the topological graph of the visualization of the segmentation result in this example is shown in Figure 8. The topological graph is obtained by merging multiple target subgraphs. The topological graph is based on the graph After the community detection algorithm or embedding algorithm is divided, the topology information in the above table 2 can be obtained. From the graph segmentation results in table 2, it can be analyzed in combination with each subgraph that group 1 in the topology graph is formed by merging the subgraphs. The fully connected subgraph of , including '009', '027', '016' three end node devices; group 2 is the fully connected subgraph existing in the original target subgraph, and group 5 is the isolated subgraph, including {'041','037','019','000'} four end node devices, group 10 is the result of merging (039, 012), (039, 013) two subgraphs and so on.

其中,请参见图9,图9是本申请实施例提供的一种融合多个目标子图的流程示意图。如图9所示,预设时间点至当前时间点的预设时间段内,在末端节点设备产生异常性能指标信息或告警信息的时刻,获取多个目标时刻的一个或多个末端节点设备的设备标识以及特征数据,再根据该一个或多个末端节点设备的特征数据进行聚类分析,获得该多个路变化时刻分别对应的聚类列表,基于每个目标时刻对应的聚类列表,构建目标子图;最后,融合并分割该多个发生光路变化时刻分别对应的目标子图,获得无源网络的拓扑信息。请参考附图10,图10是本申请实施例提供的一种多个目标子图以及融合多个目标子图后的拓扑图,基于上述图9所示的融合多个目标子图的流程示意图,如图10所示,拓扑信息获取设备将多个目标子图合成一张拓扑图,该拓扑图包括无源网络下末端节点设备的拓扑连接关系,分割后还可以生成上述如表2所示的拓扑信息表格。Please refer to FIG. 9 , which is a schematic flowchart of a fusion of multiple target subgraphs provided by an embodiment of the present application. As shown in FIG. 9 , within the preset time period from the preset time point to the current time point, at the moment when the end node device generates abnormal performance index information or alarm information, obtain the data of one or more end node devices at multiple target times. Device identification and feature data, and then perform cluster analysis according to the feature data of the one or more end node devices to obtain the cluster lists corresponding to the multiple road change times respectively, and construct the cluster list corresponding to each target time based on the The target sub-graph; finally, the target sub-graphs corresponding to the multiple optical path change times are fused and divided to obtain the topology information of the passive network. Please refer to FIG. 10 . FIG. 10 is a schematic diagram of a flow chart of merging multiple target subgraphs based on the above-mentioned FIG. 9 . , as shown in Figure 10, the topology information acquisition device synthesizes a plurality of target subgraphs into a topology map, which includes the topological connection relationship of the end node devices under the passive network, and can also generate the above-mentioned as shown in Table 2 after segmentation. the topology information table.

在本申请实施例中,获取多个目标时刻中每一个目标时刻的聚类簇列表,并将该多个目标时刻分别对应的聚类簇列表融合,获取到无源网络的拓扑信息。其中,目标时刻是无源网络中存在一个或多个末端节点设备出现性能指标信息变化超过预设波动范围和/或出现告警信息的时刻;在此时,可以获取出现性能指标信息变化超过预设波动范围和/或出现告警信息的一个或多个末端节点设备的特征数据;根据该获取到的特征数据,可以通过聚类分析获得该目标时刻对应的聚类簇列表;进而,同理可以获得多个目标时刻分别对应的聚类簇列表,从而融合多个目标时刻分别对应的聚类簇列表,获取所述无源网络的拓扑信息。其中,特征数据包括性能指标信息和/或所述告警信息,而且,多个目标时刻中每个目标时刻出现性能指标信息变化超过预设波动范围和/或出现告警信息的一个或多个末端节点设备可能不同。因此,从一个或多个性能数据产生波动或告警信息的末端节点设备中,聚类分析出处于同一个中间节点设备下的末端节点设备,这种获取无源网络对应的拓扑信息的实现方式,可以极大减少运维人员工作量,不需要相关工作人员主动获取大量的数据信息,只需要监管特征数据出现或特征数据变化超过预设范围。其次,将获取的预设时间段内的多个聚类列表合并,最终获得无源网络的拓扑信息,可以避免只有一次特征数据出现或特征数据变化超过预设范围时拓扑信息还原不准确的问题,提高无源网络拓扑信息的准确性。这种通过对无源网络的拓扑信息实现还原,可实现资管中拓扑信息的自动维护更新,辅助故障精准定界,减少重复上站及无效上站,降低运营人力成本。In the embodiment of the present application, the cluster list of each target time among the multiple target times is obtained, and the cluster lists corresponding to the multiple target times are fused to obtain the topology information of the passive network. Wherein, the target time is the time when there are one or more end node devices in the passive network when the change of performance index information exceeds the preset fluctuation range and/or the alarm information occurs; at this time, it can be obtained that the change of performance index information exceeds the preset value The fluctuation range and/or the characteristic data of one or more end node devices that have alarm information; according to the acquired characteristic data, the cluster list corresponding to the target moment can be obtained through cluster analysis; and in the same way, it can be obtained The clustering cluster lists corresponding to the multiple target moments respectively, so as to fuse the clustering cluster lists corresponding to the multiple target moments respectively, to obtain the topology information of the passive network. The feature data includes performance index information and/or the alarm information, and, at each target time among the multiple target times, one or more end nodes where the change in performance index information exceeds a preset fluctuation range and/or alarm information occurs Equipment may vary. Therefore, from one or more end node devices whose performance data generates fluctuations or alarm information, the end node devices under the same intermediate node device are clustered and analyzed. This realization method of obtaining topology information corresponding to the passive network, It can greatly reduce the workload of operation and maintenance personnel, and does not require relevant personnel to actively obtain a large amount of data information, but only needs to monitor the occurrence of characteristic data or the change of characteristic data exceeds the preset range. Secondly, the obtained multiple cluster lists within the preset time period are combined to finally obtain the topology information of the passive network, which can avoid the problem of inaccurate restoration of topology information when only one feature data appears or the feature data changes beyond the preset range. , to improve the accuracy of passive network topology information. By restoring the topology information of the passive network, the automatic maintenance and update of the topology information in the asset management can be realized, and the auxiliary fault can be accurately delimited.

上述详细阐述了本申请实施例的方法,下面提供了本申请实施例的相关装置。The methods of the embodiments of the present application are described in detail above, and the related apparatuses of the embodiments of the present application are provided below.

请参见图11,图11是本申请实施例提供的一种拓扑信息获取装置结构示意图,该拓扑信息获取装置10可以包括获取单元101、聚类单元102和融合单元103,还可以包括子图单元104,用于确定中间节点设备的拓扑连接关系。其中,各个单元的详细描述如下。Please refer to FIG. 11 . FIG. 11 is a schematic structural diagram of an apparatus for obtaining topology information provided by an embodiment of the present application. The apparatus for obtaining topology information 10 may include an obtaining unit 101 , a clustering unit 102 , and a fusion unit 103 , and may also include a subgraph unit 104, for determining the topological connection relationship of the intermediate node device. The detailed description of each unit is as follows.

获取单元101,用于获取在目标时刻所述无源网络中一个或多个末端节点设备的特征数据,所述目标时刻为所述一个或多个末端节点设备的性能指标信息变化超过预设波动范围和/或出现告警信息的时刻,所述特征数据包括所述性能指标信息和/或所述告警信息,所述一个或多个末端节点设备为所述至少一个末端节点设备中的一个或多个;The obtaining unit 101 is configured to obtain characteristic data of one or more end node devices in the passive network at a target time, where the target time is when the performance index information of the one or more end node devices changes by more than a preset fluctuation The range and/or the time when the alarm information occurs, the feature data includes the performance index information and/or the alarm information, and the one or more end node devices are one or more of the at least one end node device. indivual;

聚类单元102,用于根据所述一个或多个末端节点设备的特征数据,对所述一个或多个末端节点设备进行聚类分析,获得所述目标时刻对应的聚类簇列表,所述聚类簇列表包括至少一个第一聚类簇,其中,所述至少一个第一聚类簇中每个第一聚类簇包括所述一个或多个末端节点设备中在同一个中间节点设备下的末端节点设备;The clustering unit 102 is configured to perform cluster analysis on the one or more end node devices according to the characteristic data of the one or more end node devices, and obtain a cluster list corresponding to the target moment, the The cluster list includes at least one first cluster, wherein each first cluster in the at least one first cluster includes one or more end node devices under the same intermediate node device. the end node device;

融合单元103,用于融合多个目标时刻分别对应的聚类簇列表,获取所述无源网络的拓扑信息,所述拓扑信息包括至少一个第二聚类簇,所述至少一个第二聚类簇中每个第二聚类簇包括所述无源网络中在同一个中间节点设备下的部分或全部末端节点设备。The fusion unit 103 is configured to fuse the cluster lists corresponding to multiple target moments respectively, and obtain topology information of the passive network, where the topology information includes at least one second cluster, the at least one second cluster Each second cluster in the cluster includes part or all of the end node devices in the passive network under the same intermediate node device.

在一种可能实现的方式中,所述聚类单元102,具体用于:根据所述一个或多个末端节点设备的特征数据,计算在所述目标时刻所述一个或多个末端节点设备之间的相似度,获得相似度矩阵;基于所述相似度矩阵,对所述一个或多个末端节点设备进行聚类分析,获得所述目标时刻对应的聚类簇列表。In a possible implementation manner, the clustering unit 102 is specifically configured to: according to the feature data of the one or more end node devices, calculate the one or more end node devices at the target moment. The similarity between the two is obtained, and a similarity matrix is obtained; based on the similarity matrix, cluster analysis is performed on the one or more end node devices to obtain a cluster list corresponding to the target time.

在一种可能实现的方式中,所述无源网络为光路分配网络,所述末端节点设备为光网络单元,所述中间节点设备为分光器。In a possible implementation manner, the passive network is an optical path distribution network, the end node device is an optical network unit, and the intermediate node device is an optical splitter.

在一种可能实现的方式中,所述装置还包括:子图单元104,用于根据所述目标时刻对应的聚类簇列表,构建所述目标时刻对应的目标子图,所述目标子图包括全连接图或最小生成树构建图,其中,所述目标子图中的节点i和节点j之间的边权重为所述目标时刻对应的所述一个或多个末端节点设备中末端节点设备i和末端节点设备j之间的相似度度量函数和/或固有属性;所述融合单元103,具体用于:基于图融合多个目标时刻分别对应的目标子图,得到拓扑图,其中,所述拓扑图中节点之间的边权重计算方式为:

Figure BDA0002561188980000151
其中,k为所述多个目标时刻中第k个目标时刻,T为所述当前时间点,
Figure BDA0002561188980000152
为所述第k个目标时刻在所述多个目标时刻中的权重核函数,gk(i,j)为所述第k个目标时刻对应的目标子图中所述节点i和所述节点j之间的边权重;基于图的社群检测算法或embedding算法分割所述拓扑图,获得所述拓扑信息。In a possible implementation manner, the apparatus further includes: a subgraph unit 104, configured to construct a target subgraph corresponding to the target moment according to the cluster list corresponding to the target moment, the target subgraph It includes a fully connected graph or a minimum spanning tree construction graph, wherein the edge weight between node i and node j in the target subgraph is the end node device in the one or more end node devices corresponding to the target moment. The similarity measurement function and/or inherent attribute between i and the end node device j; the fusion unit 103 is specifically configured to: fuse target subgraphs corresponding to a plurality of target moments respectively based on the graph to obtain a topology graph, wherein all the The calculation method of edge weights between nodes in the above topology graph is:
Figure BDA0002561188980000151
Wherein, k is the k-th target moment in the multiple target moments, T is the current time point,
Figure BDA0002561188980000152
is the weight kernel function of the kth target moment in the multiple target moments, and g k (i,j) is the node i and the node in the target subgraph corresponding to the kth target moment The edge weight between j; the graph-based community detection algorithm or the embedding algorithm divides the topology graph to obtain the topology information.

在一种可能实现的方式中,所述融合单元103,具体用于:分别融合所述多个目标时刻对应的聚类簇列表中相同中间节点设备对应的所述第一聚类簇,获得对应的所述第二聚类簇;根据多个所述第二聚类簇,获取所述拓扑信息。In a possible implementation manner, the fusion unit 103 is specifically configured to: respectively fuse the first clusters corresponding to the same intermediate node device in the cluster list corresponding to the multiple target moments, and obtain corresponding the second cluster; obtain the topology information according to a plurality of the second clusters.

需要说明的是,本申请实施例中所描述的确定无源网络ODN拓扑信息的装置10中各功能单元的功能可参见上述图3中所述的方法实施例中步骤S301-步骤S304的相关描述,此处不再赘述。It should be noted that, for the functions of each functional unit in the apparatus 10 for determining ODN topology information of a passive network described in this embodiment of the present application, reference may be made to the relevant descriptions of steps S301 to S304 in the method embodiment described in FIG. 3 above. , and will not be repeated here.

如图12所示,图12是本申请实施例提供的另一种拓扑信息获取装置的结构示意图,该装置20包括至少一个处理器201,至少一个存储器202、至少一个通信接口203。此外,该设备还可以包括天线等通用部件,在此不再详述。As shown in FIG. 12 , FIG. 12 is a schematic structural diagram of another apparatus for obtaining topology information provided by an embodiment of the present application. The apparatus 20 includes at least one processor 201 , at least one memory 202 , and at least one communication interface 203 . In addition, the device may also include general components such as an antenna, which will not be described in detail here.

处理器201可以是通用中央处理器(CPU),微处理器,特定应用集成电路(application-specific integrated circuit,ASIC),或一个或多个用于控制以上方案程序执行的集成电路。The processor 201 may be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of programs in the above solutions.

通信接口203,用于与其他设备或通信网络通信,如以太网,无线接入网(RAN),核心网,无线局域网(Wireless Local Area Networks,WLAN)等。The communication interface 203 is used to communicate with other devices or communication networks, such as Ethernet, Radio Access Network (RAN), Core Network, Wireless Local Area Networks (Wireless Local Area Networks, WLAN) and the like.

存储器202可以是只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)或者可存储信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器(ElectricallyErasable Programmable Read-Only Memory,EEPROM)、只读光盘(Compact Disc Read-Only Memory,CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。存储器可以是独立存在,通过总线与处理器相连接。存储器也可以和处理器集成在一起。The memory 202 may be read-only memory (ROM) or other type of static storage device that can store static information and instructions, random access memory (RAM), or other type of static storage device that can store information and instructions The dynamic storage device can also be an Electrically Erasable Programmable Read-Only Memory (EEPROM), a Compact Disc Read-Only Memory (CD-ROM) or other optical disk storage, optical disk storage ( including compact discs, laser discs, compact discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or capable of carrying or storing desired program code in the form of instructions or data structures and capable of being stored by a computer any other medium taken, but not limited to this. The memory can exist independently and be connected to the processor through a bus. The memory can also be integrated with the processor.

其中,所述存储器202用于存储执行以上方案的应用程序代码,并由处理器201来控制执行。所述处理器201用于执行所述存储器202中存储的应用程序代码。Wherein, the memory 202 is used for storing the application code for executing the above solution, and the execution is controlled by the processor 201 . The processor 201 is configured to execute the application code stored in the memory 202 .

存储器202存储的代码可执行以上图3提供的获取无源网络拓扑信息的方法,比如:获取在目标时刻所述无源网络中一个或多个末端节点设备的特征数据,所述目标时刻为所述一个或多个末端节点设备的性能指标信息变化超过预设波动范围和/或出现告警信息的时刻,所述特征数据包括所述性能指标信息和/或所述告警信息,所述一个或多个末端节点设备为所述至少一个末端节点设备中的一个或多个;根据所述一个或多个末端节点设备的特征数据,对所述一个或多个末端节点设备进行聚类分析,获得所述目标时刻对应的聚类簇列表,所述聚类簇列表包括至少一个第一聚类簇,其中,所述至少一个第一聚类簇中每个第一聚类簇包括所述一个或多个末端节点设备中在同一个中间节点设备下的末端节点设备;融合多个目标时刻分别对应的聚类簇列表,获取所述无源网络的拓扑信息,所述拓扑信息包括至少一个第二聚类簇,所述至少一个第二聚类簇中每个第二聚类簇包括所述无源网络中在同一个中间节点设备下的部分或全部末端节点设备。The code stored in the memory 202 can execute the method for obtaining passive network topology information provided in FIG. 3 above, such as: obtaining characteristic data of one or more end node devices in the passive network at a target time, where the target time is all The characteristic data includes the performance index information and/or the alarm information, the one or more The end node devices are one or more of the at least one end node device; according to the characteristic data of the one or more end node devices, perform cluster analysis on the one or more end node devices, and obtain the The cluster list corresponding to the target moment, the cluster list includes at least one first cluster, wherein each first cluster in the at least one first cluster includes the one or more The end node devices under the same intermediate node device among the end node devices; fuse the cluster lists corresponding to multiple target times respectively, and obtain the topology information of the passive network, where the topology information includes at least one second cluster Clusters, each of the at least one second cluster includes part or all of the end node devices in the passive network under the same intermediate node device.

需要说明的是,本申请实施例中所描述的获取无源网络拓扑信息的装置20中各功能单元的功能可参见上述图3中所述的方法实施例中的步骤S301-步骤S304相关描述,此处不再赘述。It should be noted that, for the functions of each functional unit in the apparatus 20 for acquiring passive network topology information described in the embodiment of the present application, reference may be made to the relevant descriptions of steps S301 to S304 in the method embodiment described in FIG. 3 above. It will not be repeated here.

在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above-mentioned embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.

需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可能可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必须的。It should be noted that, for the sake of simple description, the foregoing method embodiments are all expressed as a series of action combinations, but those skilled in the art should know that the present application is not limited by the described action sequence. Because in accordance with the present application, certain steps may be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如上述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the device embodiments described above are only illustrative. For example, the division of the above-mentioned units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated. to another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical or other forms.

上述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separated, and components shown as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.

另外,在本申请各实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.

上述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以为个人计算机、服务端或者网络设备等,具体可以是计算机设备中的处理器)执行本申请各个实施例上述方法的全部或部分步骤。其中,而前述的存储介质可包括:U盘、移动硬盘、磁碟、光盘、只读存储器(Read-Only Memory,缩写:ROM)或者随机存取存储器(Random Access Memory,缩写:RAM)等各种可以存储程序代码的介质。If the above-mentioned integrated units are implemented in the form of software functional units and sold or used as independent products, they may be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the present application can be embodied in the form of software products in essence, or the parts that make contributions to the prior art, or all or part of the technical solutions, which are stored in a storage medium. , including several instructions to enable a computer device (which may be a personal computer, a server, or a network device, etc., specifically a processor in the computer device) to execute all or part of the steps of the above methods in various embodiments of the present application. Wherein, the aforementioned storage medium may include: U disk, mobile hard disk, magnetic disk, optical disk, read-only memory (Read-Only Memory, abbreviation: ROM) or random access memory (Random Access Memory, abbreviation: RAM) and so on. A medium that can store program code.

以上所述,以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。As mentioned above, the above embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand: The technical solutions described in the embodiments are modified, or some technical features thereof are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions in the embodiments of the present application.

Claims (12)

1.一种获取无源网络拓扑信息的方法,其特征在于,所述无源网络包括多个节点设备,所述多个节点设备包括至少一个中间节点设备、至少一个末端节点设备;所述方法包括:1. A method for acquiring passive network topology information, wherein the passive network includes multiple node devices, and the multiple node devices include at least one intermediate node device and at least one end node device; the method include: 获取在目标时刻所述无源网络中一个或多个末端节点设备的特征数据,所述目标时刻为所述一个或多个末端节点设备的性能指标信息变化超过预设波动范围和/或出现告警信息的时刻,所述特征数据包括所述性能指标信息和/或所述告警信息,所述一个或多个末端节点设备为所述至少一个末端节点设备中的一个或多个;Acquire characteristic data of one or more end node devices in the passive network at a target time, where the target time is when the performance index information of the one or more end node devices changes beyond a preset fluctuation range and/or an alarm occurs Information time, the feature data includes the performance indicator information and/or the alarm information, and the one or more end node devices are one or more of the at least one end node device; 根据所述一个或多个末端节点设备的特征数据,对所述一个或多个末端节点设备进行聚类分析,获得所述目标时刻对应的聚类簇列表,所述聚类簇列表包括至少一个第一聚类簇,其中,所述至少一个第一聚类簇中每个第一聚类簇包括所述一个或多个末端节点设备中在同一个中间节点设备下的末端节点设备;According to the feature data of the one or more end node devices, perform cluster analysis on the one or more end node devices to obtain a cluster list corresponding to the target time, where the cluster list includes at least one A first cluster, wherein each first cluster in the at least one first cluster includes an end node device under the same intermediate node device among the one or more end node devices; 融合多个目标时刻分别对应的聚类簇列表,获取所述无源网络的拓扑信息,所述拓扑信息包括至少一个第二聚类簇,所述至少一个第二聚类簇中每个第二聚类簇包括所述无源网络中在同一个中间节点设备下的部分或全部末端节点设备。Fusing the cluster lists corresponding to multiple target moments respectively, to obtain topology information of the passive network, the topology information includes at least one second cluster, and each second cluster in the at least one second cluster is The cluster includes some or all end node devices under the same intermediate node device in the passive network. 2.根据权利要求1所述方法,其特征在于,所述根据所述一个或多个末端节点设备的特征数据,对所述一个或多个末端节点设备进行聚类分析,获得所述目标时刻对应的聚类簇列表,包括:2 . The method according to claim 1 , wherein, according to the characteristic data of the one or more end node devices, cluster analysis is performed on the one or more end node devices to obtain the target time. 3 . A list of corresponding clusters, including: 根据所述一个或多个末端节点设备的特征数据,计算在所述目标时刻所述一个或多个末端节点设备之间的相似度,获得相似度矩阵;According to the feature data of the one or more end node devices, calculate the similarity between the one or more end node devices at the target moment to obtain a similarity matrix; 基于所述相似度矩阵,对所述一个或多个末端节点设备进行聚类分析,获得所述目标时刻对应的聚类簇列表。Based on the similarity matrix, cluster analysis is performed on the one or more end node devices to obtain a cluster list corresponding to the target moment. 3.根据权利要求1所述方法,其特征在于,所述无源网络为光路分配网络,所述末端节点设备为光网络单元,所述中间节点设备为分光器。3 . The method according to claim 1 , wherein the passive network is an optical path distribution network, the end node device is an optical network unit, and the intermediate node device is an optical splitter. 4 . 4.根据权利要求1-3所述的任意一项方法,其特征在于,所述方法还包括:4. The method according to any one of claims 1-3, wherein the method further comprises: 根据所述目标时刻对应的聚类簇列表,构建所述目标时刻对应的目标子图,所述目标子图包括全连接图或最小生成树构建图,其中,所述目标子图中的节点i和节点j之间的边权重为所述目标时刻对应的所述一个或多个末端节点设备中末端节点设备i和末端节点设备j之间的相似度度量函数和/或固有属性;According to the cluster list corresponding to the target moment, construct a target subgraph corresponding to the target moment, the target subgraph includes a fully connected graph or a minimum spanning tree construction graph, wherein the node i in the target subgraph and the edge weight between the node j is the similarity measure function and/or the inherent attribute between the end node device i and the end node device j in the one or more end node devices corresponding to the target moment; 所述融合多个目标时刻分别对应的聚类簇列表,获取所述无源网络的拓扑信息,包括:The clustering cluster list corresponding to each of the multiple target moments is merged, and the topology information of the passive network is obtained, including: 基于图融合多个目标时刻分别对应的目标子图,得到拓扑图,其中,所述拓扑图中节点之间的边权重计算方式为:
Figure FDA0003519529540000011
其中,k为所述多个目标时刻中第k个目标时刻,T为当前时间点,
Figure FDA0003519529540000012
为所述第k个目标时刻在所述多个目标时刻中的权重核函数,gk(i,j)为所述第k个目标时刻对应的目标子图中所述节点i和所述节点j之间的边权重;
Based on the graph fusion of target subgraphs corresponding to multiple target moments respectively, a topology graph is obtained, wherein the calculation method of edge weights between nodes in the topology graph is as follows:
Figure FDA0003519529540000011
Wherein, k is the k-th target moment in the multiple target moments, T is the current time point,
Figure FDA0003519529540000012
is the weight kernel function of the kth target moment in the multiple target moments, and g k (i,j) is the node i and the node in the target subgraph corresponding to the kth target moment edge weights between j;
基于图的社群检测算法或embedding算法分割所述拓扑图,获得所述拓扑信息。A graph-based community detection algorithm or an embedding algorithm divides the topology graph to obtain the topology information.
5.根据权利要求1-3所述的任意一项方法,其特征在于,所述融合多个目标时刻分别对应的聚类簇列表,获取所述无源网络的拓扑信息,包括:5. The method according to any one of claims 1-3, wherein the merging cluster lists corresponding to multiple target moments respectively to obtain topology information of the passive network, comprising: 分别融合所述多个目标时刻对应的聚类簇列表中相同中间节点设备对应的所述第一聚类簇,获得对应的所述第二聚类簇;Respectively fuse the first clusters corresponding to the same intermediate node device in the cluster list corresponding to the multiple target moments to obtain the corresponding second clusters; 根据多个所述第二聚类簇,获取所述拓扑信息。Obtain the topology information according to a plurality of the second clusters. 6.一种获取无源网络拓扑信息的装置,其特征在于,所述无源网络包括多个节点设备,所述多个节点设备包括至少一个中间节点设备、至少一个末端节点设备;所述装置包括:6. An apparatus for acquiring passive network topology information, wherein the passive network comprises multiple node devices, and the multiple node devices include at least one intermediate node device and at least one end node device; the device include: 获取单元,用于获取在目标时刻所述无源网络中一个或多个末端节点设备的特征数据,所述目标时刻为所述一个或多个末端节点设备的性能指标信息变化超过预设波动范围和/或出现告警信息的时刻,所述特征数据包括所述性能指标信息和/或所述告警信息,所述一个或多个末端节点设备为所述至少一个末端节点设备中的一个或多个;an acquisition unit, configured to acquire characteristic data of one or more end node devices in the passive network at a target time, where the target time is when the performance index information of the one or more end node devices changes beyond a preset fluctuation range and/or the moment when alarm information occurs, the feature data includes the performance indicator information and/or the alarm information, and the one or more end node devices are one or more of the at least one end node device ; 聚类单元,用于根据所述一个或多个末端节点设备的特征数据,对所述一个或多个末端节点设备进行聚类分析,获得所述目标时刻对应的聚类簇列表,所述聚类簇列表包括至少一个第一聚类簇,其中,所述至少一个第一聚类簇中每个第一聚类簇包括所述一个或多个末端节点设备中在同一个中间节点设备下的末端节点设备;The clustering unit is configured to perform cluster analysis on the one or more end node devices according to the characteristic data of the one or more end node devices, and obtain a cluster list corresponding to the target time, and the cluster The cluster list includes at least one first cluster, wherein each first cluster in the at least one first cluster includes the one or more end node devices under the same intermediate node device. end node equipment; 融合单元,用于融合多个目标时刻分别对应的聚类簇列表,获取所述无源网络的拓扑信息,所述拓扑信息包括至少一个第二聚类簇,所述至少一个第二聚类簇中每个第二聚类簇包括所述无源网络中在同一个中间节点设备下的部分或全部末端节点设备。A fusion unit, configured to fuse the cluster lists corresponding to multiple target moments respectively, and obtain topology information of the passive network, where the topology information includes at least one second cluster, the at least one second cluster Each of the second clusters in the passive network includes some or all of the end node devices under the same intermediate node device in the passive network. 7.根据权利要求6所述装置,其特征在于,所述聚类单元,具体用于:7. The device according to claim 6, wherein the clustering unit is specifically used for: 根据所述一个或多个末端节点设备的特征数据,计算在所述目标时刻所述一个或多个末端节点设备之间的相似度,获得相似度矩阵;According to the feature data of the one or more end node devices, calculate the similarity between the one or more end node devices at the target moment to obtain a similarity matrix; 基于所述相似度矩阵,对所述一个或多个末端节点设备进行聚类分析,获得所述目标时刻对应的聚类簇列表。Based on the similarity matrix, cluster analysis is performed on the one or more end node devices to obtain a cluster list corresponding to the target moment. 8.根据权利要求6所述装置,其特征在于,所述无源网络为光路分配网络,所述末端节点设备为光网络单元,所述中间节点设备为分光器。8 . The apparatus according to claim 6 , wherein the passive network is an optical path distribution network, the end node device is an optical network unit, and the intermediate node device is an optical splitter. 9 . 9.根据权利要求6-8所述的任意一项装置,其特征在于,所述装置还包括:9. The device according to any one of claims 6-8, wherein the device further comprises: 子图单元,用于根据所述目标时刻对应的聚类簇列表,构建所述目标时刻对应的目标子图,所述目标子图包括全连接图或最小生成树构建图,其中,所述目标子图中的节点i和节点j之间的边权重为所述目标时刻对应的所述一个或多个末端节点设备中末端节点设备i和末端节点设备j之间的相似度度量函数和/或固有属性;A subgraph unit, configured to construct a target subgraph corresponding to the target moment according to the cluster list corresponding to the target moment, where the target subgraph includes a fully connected graph or a minimum spanning tree construction graph, wherein the target The edge weight between node i and node j in the subgraph is the similarity measure function and/or between the end node device i and the end node device j in the one or more end node devices corresponding to the target moment inherent properties; 所述融合单元,具体用于:The fusion unit is specifically used for: 基于图融合多个目标时刻分别对应的目标子图,得到拓扑图,其中,所述拓扑图中节点之间的边权重计算方式为:
Figure FDA0003519529540000021
其中,k为所述多个目标时刻中第k个目标时刻,T为当前时间点,
Figure FDA0003519529540000022
为所述第k个目标时刻在所述多个目标时刻中的权重核函数,gk(i,j)为所述第k个目标时刻对应的目标子图中所述节点i和所述节点j之间的边权重;
Based on the graph fusion of target subgraphs corresponding to multiple target moments respectively, a topology graph is obtained, wherein the calculation method of edge weights between nodes in the topology graph is as follows:
Figure FDA0003519529540000021
Wherein, k is the k-th target moment in the multiple target moments, T is the current time point,
Figure FDA0003519529540000022
is the weight kernel function of the kth target moment in the multiple target moments, and g k (i,j) is the node i and the node in the target subgraph corresponding to the kth target moment edge weights between j;
基于图的社群检测算法或embedding算法分割所述拓扑图,获得所述拓扑信息。A graph-based community detection algorithm or an embedding algorithm divides the topology graph to obtain the topology information.
10.根据权利要求6-8所述的任意一项装置,其特征在于,所述融合单元,具体用于:10. The device according to any one of claims 6-8, wherein the fusion unit is specifically used for: 分别融合所述多个目标时刻对应的聚类簇列表中相同中间节点设备对应的所述第一聚类簇,获得对应的所述第二聚类簇;Respectively fuse the first clusters corresponding to the same intermediate node device in the cluster list corresponding to the multiple target moments to obtain the corresponding second clusters; 根据多个所述第二聚类簇,获取所述拓扑信息。Obtain the topology information according to a plurality of the second clusters. 11.一种芯片系统,其特征在于,所述芯片系统包括至少一个处理器,存储器和接口电路,所述存储器、所述接口电路和所述至少一个处理器通过线路互联,所述至少一个存储器中存储有指令;所述指令被所述处理器执行时,权利要求1-5中任意一项所述的方法得以实现。11. A chip system, characterized in that, the chip system comprises at least one processor, a memory and an interface circuit, wherein the memory, the interface circuit and the at least one processor are interconnected by wires, and the at least one memory Instructions are stored in the ; when the instructions are executed by the processor, the method of any one of claims 1-5 is implemented. 12.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机程序,该计算机程序被处理器执行时实现上述权利要求1-5任意一项所述的方法。12. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, implements the method according to any one of the preceding claims 1-5.
CN202010606959.5A 2020-06-29 2020-06-29 A method for acquiring passive network topology information and related equipment Active CN111884832B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010606959.5A CN111884832B (en) 2020-06-29 2020-06-29 A method for acquiring passive network topology information and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010606959.5A CN111884832B (en) 2020-06-29 2020-06-29 A method for acquiring passive network topology information and related equipment

Publications (2)

Publication Number Publication Date
CN111884832A CN111884832A (en) 2020-11-03
CN111884832B true CN111884832B (en) 2022-06-14

Family

ID=73157287

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010606959.5A Active CN111884832B (en) 2020-06-29 2020-06-29 A method for acquiring passive network topology information and related equipment

Country Status (1)

Country Link
CN (1) CN111884832B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113242144B (en) * 2021-04-28 2022-09-09 烽火通信科技股份有限公司 Method for managing passive device and network management system
CN115879456A (en) * 2021-09-26 2023-03-31 中兴通讯股份有限公司 Topology restoration method, device, server and storage medium of resource
CN114979843B (en) * 2022-06-30 2024-05-24 中国电信股份有限公司 Topology information updating method and device, electronic equipment and nonvolatile storage medium
CN115098982A (en) * 2022-06-30 2022-09-23 烟台杰瑞石油装备技术有限公司 Method and apparatus for determining wear and tear of manifold equipment, electronic equipment and storage media
CN116094952B (en) * 2023-01-04 2024-05-14 中国联合网络通信集团有限公司 Method, device, equipment and storage medium for determining network structure similarity

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1933368A (en) * 2005-09-13 2007-03-21 阿尔卡特公司 Method for operating a passive optical network, optical line termination and transmission frame structure
CN105550714A (en) * 2015-12-30 2016-05-04 国家电网公司 Cluster fusion method for warning information in heterogeneous network environment
CN107273934A (en) * 2017-06-28 2017-10-20 电子科技大学 A kind of figure clustering method merged based on attribute
CN110838928A (en) * 2018-08-15 2020-02-25 华为技术有限公司 Method, device, device and storage medium for acquiring logical topology information of ODN
CN111259154A (en) * 2020-02-07 2020-06-09 腾讯科技(深圳)有限公司 Data processing method and device, computer equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1933368A (en) * 2005-09-13 2007-03-21 阿尔卡特公司 Method for operating a passive optical network, optical line termination and transmission frame structure
CN105550714A (en) * 2015-12-30 2016-05-04 国家电网公司 Cluster fusion method for warning information in heterogeneous network environment
CN107273934A (en) * 2017-06-28 2017-10-20 电子科技大学 A kind of figure clustering method merged based on attribute
CN110838928A (en) * 2018-08-15 2020-02-25 华为技术有限公司 Method, device, device and storage medium for acquiring logical topology information of ODN
CN111259154A (en) * 2020-02-07 2020-06-09 腾讯科技(深圳)有限公司 Data processing method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN111884832A (en) 2020-11-03

Similar Documents

Publication Publication Date Title
CN111884832B (en) A method for acquiring passive network topology information and related equipment
US11722217B2 (en) Method and apparatus for obtaining ODN logical topology information, device, and storage medium
CN112567647A (en) PON fault positioning method and device
TW202032932A (en) Topology processing method, device and system
CN111836134B (en) Method, device, equipment and storage medium for acquiring network topology information
US9948384B1 (en) Identifying network faults
CN112422183B (en) Network fault location method and device
CN113225194B (en) Route abnormality detection method, device and system, and computer storage medium
CN113162801A (en) Alarm analysis method, device and storage medium
CN114726740B (en) Station area topology identification method, system and intelligent fusion terminal
CN115242301A (en) Network link monitoring method and device, storage medium and communication equipment
US20060165052A1 (en) Approach for determining the real time availability of a group of network elements
CN111818403B (en) Topology identification method, device and system
WO2024109604A1 (en) Fault analysis method and apparatus for pon system, and device
CN115021861B (en) Equipment management method and device
CN109495178B (en) Method and device for constructing FTTx network topology link
CN116915621B (en) FTTR enterprise networking method and system based on PON
CN113891191B (en) Optical path topology restoration method, device, equipment and computer readable storage medium
CN115473217B (en) Active polling method for node switch information based on distribution topology network
CN114449378B (en) SNMP-based OLT-side ONU automatic discovery method and device
CN117633548A (en) Method and device for determining distribution communication type, storage medium and electronic equipment
CN118802499A (en) Fault location method, device, electronic device, program product and storage medium
CN118827343A (en) Method and system for locating and demarcating home broadband Internet access faults
CN119582942A (en) Regional power outage fault identification method based on optical communication network
CN117479051A (en) Quality difference identification method, quality difference identification device, optical line terminal, optical line system and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant