The present application relates to a method, apparatus, device and readable storage medium for calculating a
shared risk link group, and relates to the field of
transmission network technology, including obtaining a historical alarm
data set and a historical topology
fiber connection
data set; constructing a mapping relationship between alarms and
fiber connections based on alarm location information and
fiber connection port information; performing time slice-based clustering
processing on the historical alarm
data set based on a preset time threshold to obtain multiple alarm fine clusters; replacing and updating each alarm fine
cluster based on the mapping relationship to obtain multiple fiber connection fine clusters to form a fiber connection data set; mining the fiber connection data set based on an association rule
algorithm to obtain a fiber connection frequent item set, and using the fiber connection frequent item set as a
shared risk link group. The present application realizes the automatic calculation of the
shared risk link group, which can improve the configuration efficiency of the shared risk
link group, reduce the management difficulty of the shared risk
link group, and reduce the consumption of human resources and physical storage resources at the underlying physical statistics level.