CN116132302A - Network link risk analysis method and device and electronic equipment - Google Patents

Network link risk analysis method and device and electronic equipment Download PDF

Info

Publication number
CN116132302A
CN116132302A CN202211707997.5A CN202211707997A CN116132302A CN 116132302 A CN116132302 A CN 116132302A CN 202211707997 A CN202211707997 A CN 202211707997A CN 116132302 A CN116132302 A CN 116132302A
Authority
CN
China
Prior art keywords
target
link
same
determining
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.)
Pending
Application number
CN202211707997.5A
Other languages
Chinese (zh)
Inventor
付涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Telecom Corp Ltd
Original Assignee
China Telecom Corp 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 China Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN202211707997.5A priority Critical patent/CN116132302A/en
Publication of CN116132302A publication Critical patent/CN116132302A/en
Pending legal-status Critical Current

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
    • 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/06Management of faults, events, alarms or notifications
    • H04L41/0681Configuration of triggering conditions
    • 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/14Network analysis or design
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/16Threshold monitoring
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Landscapes

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

Abstract

The application discloses a network link risk analysis method, a network link risk analysis device and electronic equipment. Wherein the method comprises the following steps: determining a target link set in a target circuit group according to circuit routing data of the target circuit group, wherein the service types of services executed by all network devices in the target circuit group are the same; determining the topology type of a link topology structure of a target circuit group according to the target link set, and determining a risk analysis rule corresponding to the topology type; calculating risk parameters of the target link set according to the risk analysis rule, wherein the risk parameters comprise at least one of the following: the same board proportion, the same optical multiplexing section proportion, the same optical cable proportion and the same pipe ditch proportion; and sending alarm information under the condition that the risk parameters of the target link set exceed the preset parameter threshold. The method and the device solve the technical problem that the network link risk analysis efficiency is low because manual investigation is often needed to be relied on when the network link risk hidden danger analysis is carried out at present.

Description

Network link risk analysis method and device and electronic equipment
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a network link risk analysis method, a device, and an electronic device.
Background
As the network scale increases gradually, the service increases gradually, the network and the service protection mode become more and more complex, the service opening route planning of the protection group in service opening and maintenance is difficult, each service is independent service flow, so that the protection information of the service is acquired from the client attribute of the service, and each service type can be merged and grouped according to the direction of the source and the destination. When two links have an intersection, for example, a group of circuits are shared on the same system when being opened, or under the condition that the optical cables of the system have the same route, the risk that if the equipment shared by the two equipment fails, the two links cannot work normally exists, and at present, manual investigation is often needed when network link risk hidden danger analysis is carried out, so that the network link risk analysis efficiency is low.
In view of the above problems, no effective solution has been proposed at present.
Disclosure of Invention
The embodiment of the application provides a network link risk analysis method, a network link risk analysis device and electronic equipment, which at least solve the technical problem that network link risk analysis efficiency is low because manual investigation is often needed when network link risk hidden danger analysis is carried out at present.
According to an aspect of the embodiments of the present application, there is provided a network link risk analysis method, including: determining a target link set in a target circuit group according to circuit routing data of the target circuit group, wherein the service types of services executed by all network devices in the target circuit group are the same; determining the topology type of a link topology structure of a target circuit group according to the target link set, and determining a risk analysis rule corresponding to the topology type; calculating risk parameters of the target link set according to the risk analysis rule, wherein the risk parameters comprise at least one of the following: the same board proportion, the same optical multiplexing section proportion, the same optical cable proportion and the same pipe ditch proportion; and sending alarm information under the condition that the risk parameters of the target link set exceed the preset parameter threshold.
Optionally, calculating the risk parameter of the target link set according to the risk analysis rule includes: determining the first link quantity of target links passing through the same circuit board card in a target link set; comparing the number of the first links with the total number of the target links in the target link set to obtain the same board card proportion; determining a second number of links of the target link set that traverse the same ray segment; comparing the number of the second links with the total number of the target links in the target link set to obtain the same-optical multiplexing section proportion; and calculating the same optical cable proportion and the same pipe ditch proportion according to the associated information of the light line sections passed by the target links in the target link set, wherein the associated information is used for indicating the optical cables corresponding to the light line sections and the pipe ditches corresponding to the optical cables.
Optionally, calculating the same optical cable ratio and the same pipe ditch ratio according to the associated information of the light line section passed by the target link in the target link set includes: determining an optical cable corresponding to the light line section according to the association information; determining a third link number of target links passing through the same optical cable in the target link set; comparing the number of the third links with the total number of the target links in the target link set to obtain the same optical cable proportion; determining channel information corresponding to the target link according to the optical cable information of the optical cable corresponding to the target link, wherein the channel information comprises geographic position information of network equipment at two ends of the target link; and calculating the same pipe ditch proportion of the target link set according to the pipe ditch information of each target link in the target link set.
Optionally, calculating the common-channel ratio of the target link set according to channel information of each target link in the target link set includes: determining a first line segment corresponding to a first link in a target link set according to the pipe channel information, wherein the first link is any target link in the target link set, and the first line segment is a connecting line between two geographic positions of network equipment at two ends of the first link; determining a second line segment corresponding to a second link in the target link set, wherein the second link is any target link except the first link in the target link set, and the second line segment is a connecting line between two geographic positions of network equipment at two ends of the second link; making a vertical line from two endpoints of the first line segment to the second line segment, and making a vertical line from two endpoints of the second line segment to the first line segment, so as to obtain four candidate vertical lines; under the condition that the vertical point corresponding to the candidate vertical line is not located on the extension line of the first line segment or the extension line of the second line segment, determining the candidate vertical line as a target vertical line; and under the condition that the length of the existing target vertical line is smaller than a preset distance threshold value, determining that the first link is the same-pipe-channel link, and comparing the fourth link number of the same-pipe-channel links in the target link set with the total number of the target links in the target link set to obtain the same-pipe-channel ratio.
Optionally, the risk analysis rule includes a preset uplink data threshold; the method further comprises the steps of: comparing whether the total number of the target links in the target link set is larger than a preset uplink data threshold corresponding to the target link set; and sending alarm information under the condition that the total number of the target links is not greater than a preset uplink data threshold, wherein the alarm information is used for representing that the target link set has potential safety hazards.
Optionally, determining the target link set in the target circuit group according to the circuit routing data of the target circuit group includes: according to the circuit route data of the target circuit group, determining network equipment at two ends of each target link of the target circuit group; grouping the target links according to the network devices at the two ends of each target link to obtain a target link set, wherein the network devices at the two ends of the target link in the same target link set are the same.
Optionally, determining the network device at both ends of each target link of the target circuit group according to the circuit routing data of the target circuit group further includes: under the condition that the information of network equipment at two ends of a label link in certain item of circuit routing data is detected to be missing or wrong, acquiring a data complement instruction of a front page; updating information of network equipment missing or wrong in circuit routing data according to a data complement instruction, wherein the information of the network equipment comprises the following components: the method comprises the steps of connecting a target link with the network equipment, a data transmission direction of the network equipment and equipment identification of the network equipment.
According to another aspect of the embodiments of the present application, there is also provided a network link risk analysis device, including: the set determining module is used for determining a target link set in the target circuit group according to the circuit routing data of the target circuit group, wherein the service types of the services executed by the network devices in the target circuit group are the same; the rule determining module is used for determining the topology type of the link topology structure of the target circuit group according to the target link set and determining a risk analysis rule corresponding to the topology type; the risk analysis module is used for calculating risk parameters of the target link set according to a risk analysis rule, wherein the risk parameters comprise at least one of the following: the same board proportion, the same optical multiplexing section proportion, the same optical cable proportion and the same pipe ditch proportion; and the alarm prompting module is used for sending alarm information under the condition that the risk parameter of the target link set exceeds a preset parameter threshold value.
According to still another aspect of the embodiments of the present application, there is further provided an electronic device, including a processor, where the processor is configured to execute a program, and the program executes a network link risk analysis method.
According to still another aspect of the embodiments of the present application, there is further provided a nonvolatile storage medium, where the nonvolatile storage medium includes a stored computer program, and a device where the nonvolatile storage medium is located executes the network link risk analysis method by running the computer program.
In the embodiment of the application, determining a target link set in a target circuit group by adopting circuit routing data according to the target circuit group, wherein the service types of services executed by all network devices in the target circuit group are the same; determining the topology type of a link topology structure of a target circuit group according to the target link set, and determining a risk analysis rule corresponding to the topology type; calculating risk parameters of the target link set according to the risk analysis rule, wherein the risk parameters comprise at least one of the following: the same board proportion, the same optical multiplexing section proportion, the same optical cable proportion and the same pipe ditch proportion; under the condition that the risk parameters of the target link set exceed the preset parameter threshold, the mode of sending the alarm information analyzes the multi-dimensional structured data such as the service structure shape, the service bearing mode, the service protection group information, the network structure, the resource data and the like from the top-level service, designs and develops a route hidden danger analysis system, and deploys on the existing network, thereby achieving the purpose of quickly finding out hidden danger in the network link, and further solving the technical problem of low network link risk analysis efficiency caused by the fact that manual investigation is often needed when the network link risk hidden danger analysis is carried out at present.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute an undue limitation to the application. In the drawings:
FIG. 1 is a block diagram of a hardware architecture of a computer terminal (or electronic device) for implementing a method for network link risk analysis according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a method flow of network link risk analysis provided according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a critical data completion interface provided in accordance with an embodiment of the present application;
fig. 4 is a schematic diagram of a link group topology provided according to an embodiment of the present application;
FIG. 5 is a schematic diagram of a risk analysis rule configuration interface provided in accordance with an embodiment of the present application;
fig. 6 is a schematic diagram of a method flow for analyzing hidden danger of a transport backbone service risk link group according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a network link risk analysis device according to an embodiment of the present application.
Detailed Description
In order to make the present application solution better understood by those skilled in the art, the following description will be made in detail and with reference to the accompanying drawings in the embodiments of the present application, it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, shall fall within the scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that embodiments of the present application described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
For the convenience of those skilled in the art to better understand the embodiments of the present application, some technical terms or nouns related to the embodiments of the present application will now be explained as follows:
optical multiplexing section (Optical Multiplex Section, OMS): the optical multiplexing segment layer network provides transmission of optical channels through optical multiplexing segment paths between access points.
In the related art, manual investigation is often needed when the network link risk hidden danger analysis is performed, so that the problem of low network link risk analysis efficiency exists. In order to solve this problem, related solutions are provided in the embodiments of the present application, and are described in detail below.
In accordance with embodiments of the present application, a method embodiment of network link risk analysis is provided, it being noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system, such as a set of computer executable instructions, and, although a logical order is illustrated in the flowcharts, in some cases, the steps illustrated or described may be performed in an order other than that illustrated herein.
The method embodiments provided by the embodiments of the present application may be performed in a mobile terminal, a computer terminal, or similar computing device. Fig. 1 shows a block diagram of a hardware architecture of a computer terminal (or electronic device) for implementing a network link risk analysis method. As shown in fig. 1, the computer terminal 10 (or electronic device 10) may include one or more processors 102 (shown as 102a, 102b, … …,102 n) which may include, but are not limited to, a microprocessor MCU or a processing device such as a programmable logic device FPGA, a memory 104 for storing data, and a transmission module 106 for communication functions. In addition, the method may further include: a display, an input/output interface (I/O interface), a Universal Serial BUS (USB) port (which may be included as one of the ports of the BUS), a network interface, a power supply, and/or a camera. It will be appreciated by those of ordinary skill in the art that the configuration shown in fig. 1 is merely illustrative and is not intended to limit the configuration of the electronic device described above. For example, the computer terminal 10 may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
It should be noted that the one or more processors 102 and/or other data processing circuits described above may be referred to generally herein as "data processing circuits. The data processing circuit may be embodied in whole or in part in software, hardware, firmware, or any other combination. Furthermore, the data processing circuitry may be a single stand-alone processing module, or incorporated, in whole or in part, into any of the other elements in the computer terminal 10 (or electronic device). As referred to in the embodiments of the present application, the data processing circuit acts as a processor control (e.g., selection of the path of the variable resistor termination to interface).
The memory 104 may be used to store software programs and modules of application software, such as program instructions/data storage devices corresponding to the network link risk analysis method in the embodiments of the present application, and the processor 102 executes the software programs and modules stored in the memory 104, thereby performing various functional applications and data processing, that is, implementing the network link risk analysis method described above. Memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the computer terminal 10 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission means 106 is arranged to receive or transmit data via a network. The specific examples of the network described above may include a wireless network provided by a communication provider of the computer terminal 10. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, NIC) that can connect to other network devices through a base station to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module for communicating with the internet wirelessly.
The display may be, for example, a touch screen type Liquid Crystal Display (LCD) that may enable a user to interact with a user interface of the computer terminal 10 (or electronic device).
In the above operating environment, the embodiment of the present application provides a method for analyzing risk of a network link, and fig. 2 is a schematic diagram of a flow of a method for analyzing risk of a network link according to the embodiment of the present application, as shown in fig. 2, where the method includes the following steps:
step S202, determining a target link set in a target circuit group according to circuit routing data of the target circuit group, wherein the service types of the services executed by all network devices in the target circuit group are the same;
In some embodiments of the present application, determining a set of target links in a target circuit group from circuit routing data of the target circuit group includes the steps of: according to the circuit route data of the target circuit group, determining network equipment at two ends of each target link of the target circuit group; grouping the target links according to the network devices at the two ends of each target link to obtain a target link set, wherein the network devices at the two ends of the target link in the same target link set are the same.
Specifically, according to the specific non-simultaneous interruption condition of the user, a group of circuit groups (namely the target circuit group) with the same service type is obtained, and the routing data of each circuit in the group is obtained. And grouping (namely, the target link set) according to the data equipment at the head end and the tail end of each circuit route, and obtaining the link topological structure of the circuit group after grouping.
In some embodiments of the present application, determining network devices at both ends of each target link of the target circuit group according to the circuit routing data of the target circuit group further includes the steps of: under the condition that the information of network equipment at two ends of a label link in certain item of circuit routing data is detected to be missing or wrong, acquiring a data complement instruction of a front page; updating information of network equipment missing or wrong in circuit routing data according to a data complement instruction, wherein the information of the network equipment comprises the following components: the method comprises the steps of connecting a target link with the network equipment, a data transmission direction of the network equipment and equipment identification of the network equipment.
Fig. 3 is a schematic diagram of a critical data completion interface provided according to an embodiment of the present application, where, as shown in fig. 3, information of the network device includes, but is not limited to: the source equipment name, the source equipment alias, the destination equipment and the destination equipment alias of the circuit support editing, and support editing and inputting correct data under the condition of missing or error.
When the circuit group passes the verification, the uplink equipment and the downlink equipment, such as the ground uplink equipment and the dry downlink equipment, can be designated;
step S204, determining the topology type of the link topology structure of the target circuit group according to the target link set, and determining a risk analysis rule corresponding to the topology type;
the topology type includes at least one of: fig. 4 is a schematic diagram of a link group topology according to an embodiment of the present application, as shown in fig. 4. For the full-cross structure, the detection range of the risk analysis is based on the ground city uplink equipment, two subgroups (target link sets) of the same uplink equipment, for the triangular structure, the detection range of the risk analysis is two subgroups of different ground city uplink equipment, and for the square structure, the detection range of the risk analysis is two subgroups of different ground city uplink equipment.
As an optional implementation manner, after determining the risk analysis rule corresponding to the topology type, the risk analysis rule may be further configured according to the actual requirement, and fig. 5 is a schematic diagram of a risk analysis rule configuration interface provided according to an embodiment of the present application, as shown in fig. 5.
Step S206, calculating risk parameters of the target link set according to the risk analysis rule, wherein the risk parameters comprise at least one of the following: the same board proportion, the same optical multiplexing section proportion, the same optical cable proportion and the same pipe ditch proportion;
specifically, the index items of the main analysis include: the uplink number meets the uplink number of the configuration, and the same-route analysis comprises the same board card, the same OMS optical multiplexing section, the same optical cable and the same pipe ditch condition; the non-identical routing condition is no risk hidden trouble. If there is a co-routing condition, whether the number of co-routing circuits in the local sub-group (target link set) to which they belong exceeds a preset parameter threshold, if so, and if not, the number is a risk hidden danger, and in this embodiment, the preset parameter threshold is illustrated by taking 50% as an example.
The analytical indicators for each dimension are further described below.
1) The board card acquires the branch circuit board cards passing through each circuit route in each office direction subgroup according to the circuit route, and stores the branch circuit board cards to be analyzed according to the office direction subgroup, the circuit unique identifier and the set of the board card unique identifiers.
2) And the OMS optical multiplexing section acquires wavelength division Client paths carried by the circuits in each office-to-subgroup according to the circuit route, recursively inquires and acquires sets of the circuits, the Client paths and the paths carrying OMS service layers according to the Client paths, and stores the sets to be analyzed.
3) And (3) the optical cable is based on the OMS set carried by each circuit in the step (2), the system section associated with each multiplexing section is acquired according to the OMS, and the associated optical cable section and optical cable are acquired according to the system section. Storing to be analyzed according to the office direction subgroup, the circuit, the optical cable section and the collection of the optical cables.
4) And (3) a pipe ditch, based on the external optical cable section and the optical cable information carried by each circuit in the step 3), according to the optical cable section-associated external optical path route, acquiring longitude and latitude coordinates of pipe, ditch and well objects passing through in the optical path route, and storing to-be-analyzed.
In some embodiments of the present application, calculating risk parameters for a set of target links according to risk analysis rules includes the steps of: determining the first link quantity of target links passing through the same circuit board card in a target link set; comparing the number of the first links with the total number of the target links in the target link set to obtain the same board card proportion; determining a second number of links of the target link set that traverse the same ray segment; comparing the number of the second links with the total number of the target links in the target link set to obtain the same-optical multiplexing section proportion; and calculating the same optical cable proportion and the same pipe ditch proportion according to the associated information of the light line sections passed by the target links in the target link set, wherein the associated information is used for indicating the optical cables corresponding to the light line sections and the pipe ditches corresponding to the optical cables.
Specifically, circuit boards in the whole course route of each circuit are detected, whether boards passing through the circuit route (target link) among the subgroups are the same boards or not is detected, and if yes, the circuits passing through the same boards are hidden danger of the same route. It is calculated whether the number of co-routed circuits within each subgroup (i.e. the first number of links) is greater than 50% of the total number of circuits of the home subgroup (i.e. the total number of target links in the set of target links). Meanwhile, the same route judgment is recorded and is not empty, and the same board card and the associated circuit id are recorded.
Specifically, detecting OMS paths (SNCs) carried in the whole route of each circuit; detecting whether the OMS which is routed by the circuits among the subgroups has the same OMS, and if so, determining that the circuits which are routed by the same OMS are hidden danger of the same route. And calculating whether the number of the circuits in the same route in each subgroup (namely the second link number) is greater than 50% of the total circuit number of the attribution subgroup, recording that the judgment of the same route is not empty, and recording the same board card and the associated circuit id.
In some embodiments of the present application, calculating the on-cable and off-channel ratios from the associated information of the road segments traversed by the target links in the target link set includes the steps of: determining an optical cable corresponding to the light line section according to the association information; determining a third link number of target links passing through the same optical cable in the target link set; comparing the number of the third links with the total number of the target links in the target link set to obtain the same optical cable proportion; determining channel information corresponding to the target link according to the optical cable information of the optical cable corresponding to the target link, wherein the channel information comprises geographic position information of network equipment at two ends of the target link; and calculating the same pipe ditch proportion of the target link set according to the pipe ditch information of each target link in the target link set.
Specifically, the object set of the optical cable segments carried by each circuit route (one circuit carries 1 to a plurality of optical cables) is detected, whether the optical cable segments passed by the circuit routes among the subgroups have the same optical cable break or not is detected, and if so, the circuits passed by the same optical cable break are hidden danger of the same route. And calculating whether the number of the circuits in the same route in each subgroup (namely the third link number) is greater than 50% of the total circuit number of the attribution subgroup, recording that the judgment of the same route is not empty, and recording the same board card and the associated circuit id.
In some embodiments of the present application, calculating the co-pipe ratio of the target link set according to the pipe information of each target link in the target link set includes the following steps: determining a first line segment corresponding to a first link in a target link set according to the pipe channel information, wherein the first link is any target link in the target link set, and the first line segment is a connecting line between two geographic positions of network equipment at two ends of the first link; determining a second line segment corresponding to a second link in the target link set, wherein the second link is any target link except the first link in the target link set, and the second line segment is a connecting line between two geographic positions of network equipment at two ends of the second link; making a vertical line from two endpoints of the first line segment to the second line segment, and making a vertical line from two endpoints of the second line segment to the first line segment, so as to obtain four candidate vertical lines; under the condition that the vertical point corresponding to the candidate vertical line is not located on the extension line of the first line segment or the extension line of the second line segment, determining the candidate vertical line as a target vertical line; and under the condition that the length of the existing target vertical line is smaller than a preset distance threshold value, determining that the first link is the same-pipe-channel link, and comparing the fourth link number of the same-pipe-channel links in the target link set with the total number of the target links in the target link set to obtain the same-pipe-channel ratio.
Specifically, detecting an optical cable and an optical cable section object set in the whole route according to each circuit, and acquiring physical pipe ditch data of each optical cable section by associating an intelligent optical network; and detecting the coordinates of each object pair of the optical cable section trench carried by the circuit routes among the subgroups, and calculating whether the distance is smaller than 5 meters (configurable), if so, the carried circuits of different subgroups are hidden danger of the same route. And calculating whether the number of the same-route circuits (namely the fourth link number) in each subgroup is greater than 50% of the total number of the circuits in the attribution subgroup, and simultaneously, recording that the same-route judgment is not null and recording the same board card and the associated circuit id thereof.
The method comprises the steps of adopting a more accurate configurable same-route algorithm, using a four-perpendicular-point algorithm in the same-ditch pole pipe algorithm, respectively calculating the lengths of four perpendicular lines according to the coordinates of the identification points at two ends of the identification section, canceling an invalid same-route with the perpendicular points being extension lines, preventing error data from being generated, acquiring the shortest length of the four perpendicular lines, judging the shortest length to a threshold value, judging the shortest length to be a same-physical route risk point when the shortest length exceeds the threshold value, and confirming a risk point combination of the carried optical cable section exceeding the route number-1 after the risk points are arranged and combined in pairs as a same-route hidden danger point.
In some embodiments of the present application, the risk analysis rule includes a preset uplink data threshold; the method further comprises the steps of: comparing whether the total number of the target links in the target link set is larger than a preset uplink data threshold corresponding to the target link set; and sending alarm information under the condition that the total number of the target links is not greater than a preset uplink data threshold, wherein the alarm information is used for representing that the target link set has potential safety hazards.
Specifically, the total number of office direction subgroups (i.e. the total number of target links in the target link set) in the rule that the uplink number (i.e. the preset uplink number threshold value) is greater than 0 passes, and otherwise, the total number of office direction subgroups is not passed.
Step S208, sending alarm information under the condition that the risk parameter of the target link set exceeds a preset parameter threshold.
The network link risk analysis method in steps S202 to S208 in the embodiment of the present application is further described below.
Fig. 6 is a schematic diagram of a method flow for analyzing hidden danger of a transport backbone service risk link group according to an embodiment of the present application, as shown in fig. 6, the method includes the following steps:
step 1, reading circuit group subgroup data, drawing a subgroup topology structure diagram, and reading a circuit display list associated with the subgroup, wherein the topology structure diagram is that an uplink device is arranged below and an uplink device is arranged above according to the subgroup office direction;
step 2, determining a corresponding risk analysis rule;
and step 3, carrying out hidden danger analysis according to the risk analysis rule.
Specifically, according to the grouping of the upstream equipment in the city and the detection items of hidden danger rules, the number of the boards, OMS, optical cables and ditches, whether the bandwidth is less than 50%, whether the protection fields exist or not and the like of each co-route are presented, and hidden danger analysis results are generated as shown in the following table.
Figure BDA0004024181370000091
Figure BDA0004024181370000101
And acquiring hidden danger analysis details according to hidden danger detection results, presenting detection items, and obtaining circuit names of the same-route hidden danger in the same-route objects and the subgroup.
As an optional implementation mode, linkage positioning can be performed, and the corresponding sub-group in the sub-group circuit list and the hidden danger analysis detail is selected simultaneously by clicking the topological line; alternatively, jump end to end by clicking on the circuit name in the subgroup circuit list. By clicking on the circuit name in the hidden danger analysis detail, jump end to end view, etc.
Through the steps, the multi-dimensional structured data such as the service structure shape, the service bearing mode, the service protection group information, the network structure, the resource data and the like are analyzed from the top-level service, the route hidden danger analysis system is designed and developed, and the system is deployed on the existing network, so that the purpose of quickly finding out hidden danger in a network link is achieved, and the technical problem that the network link risk analysis efficiency is low because manual investigation is often needed when the network link risk hidden danger analysis is carried out at present is solved.
According to the embodiment of the application, an embodiment of a network link risk analysis device is also provided. Fig. 7 is a schematic structural diagram of a network link risk analysis device according to an embodiment of the present application. As shown in fig. 7, the apparatus includes:
The set determining module 70 is configured to determine a target link set in the target circuit group according to circuit routing data of the target circuit group, where service types of services executed by each network device in the target circuit group are the same;
in some embodiments of the present application, the set determination module 70 determines the set of target links in the target circuit group from the circuit routing data of the target circuit group includes: according to the circuit route data of the target circuit group, determining network equipment at two ends of each target link of the target circuit group; grouping the target links according to the network devices at the two ends of each target link to obtain a target link set, wherein the network devices at the two ends of the target link in the same target link set are the same.
In some embodiments of the present application, the set determining module 70 determines, according to the circuit routing data of the target circuit group, network devices at both ends of each target link of the target circuit group further includes: under the condition that the information of network equipment at two ends of a label link in certain item of circuit routing data is detected to be missing or wrong, acquiring a data complement instruction of a front page; updating information of network equipment missing or wrong in circuit routing data according to a data complement instruction, wherein the information of the network equipment comprises the following components: the method comprises the steps of connecting a target link with the network equipment, a data transmission direction of the network equipment and equipment identification of the network equipment.
A rule determining module 72, configured to determine a topology type of a link topology structure of the target circuit group according to the target link set, and determine a risk analysis rule corresponding to the topology type;
the risk analysis module 74 is configured to calculate risk parameters of the target link set according to a risk analysis rule, where the risk parameters include at least one of: the same board proportion, the same optical multiplexing section proportion, the same optical cable proportion and the same pipe ditch proportion;
in some embodiments of the present application, risk analysis module 74 calculates risk parameters for the set of target links according to risk analysis rules including: determining the first link quantity of target links passing through the same circuit board card in a target link set; comparing the number of the first links with the total number of the target links in the target link set to obtain the same board card proportion; determining a second number of links of the target link set that traverse the same ray segment; comparing the number of the second links with the total number of the target links in the target link set to obtain the same-optical multiplexing section proportion; and calculating the same optical cable proportion and the same pipe ditch proportion according to the associated information of the light line sections passed by the target links in the target link set, wherein the associated information is used for indicating the optical cables corresponding to the light line sections and the pipe ditches corresponding to the optical cables.
In some embodiments of the present application, risk analysis module 74 calculates the on-cable and off-channel ratios from the associated information for the road segments traversed by the target links in the set of target links includes: determining an optical cable corresponding to the light line section according to the association information; determining a third link number of target links passing through the same optical cable in the target link set; comparing the number of the third links with the total number of the target links in the target link set to obtain the same optical cable proportion; determining channel information corresponding to the target link according to the optical cable information of the optical cable corresponding to the target link, wherein the channel information comprises geographic position information of network equipment at two ends of the target link; and calculating the same pipe ditch proportion of the target link set according to the pipe ditch information of each target link in the target link set.
In some embodiments of the present application, the risk analysis module 74 calculates the co-channel ratio of the set of target links from the channel information of each target link in the set of target links includes: determining a first line segment corresponding to a first link in a target link set according to the pipe channel information, wherein the first link is any target link in the target link set, and the first line segment is a connecting line between two geographic positions of network equipment at two ends of the first link; determining a second line segment corresponding to a second link in the target link set, wherein the second link is any target link except the first link in the target link set, and the second line segment is a connecting line between two geographic positions of network equipment at two ends of the second link; making a vertical line from two endpoints of the first line segment to the second line segment, and making a vertical line from two endpoints of the second line segment to the first line segment, so as to obtain four candidate vertical lines; under the condition that the vertical point corresponding to the candidate vertical line is not located on the extension line of the first line segment or the extension line of the second line segment, determining the candidate vertical line as a target vertical line; and under the condition that the length of the existing target vertical line is smaller than a preset distance threshold value, determining that the first link is the same-pipe-channel link, and comparing the fourth link number of the same-pipe-channel links in the target link set with the total number of the target links in the target link set to obtain the same-pipe-channel ratio.
In some embodiments of the present application, the risk analysis rule includes a preset uplink data threshold; the risk analysis module 74 further includes: comparing whether the total number of the target links in the target link set is larger than a preset uplink data threshold corresponding to the target link set; and sending alarm information under the condition that the total number of the target links is not greater than a preset uplink data threshold, wherein the alarm information is used for representing that the target link set has potential safety hazards.
The alarm prompting module 76 is configured to send alarm information when the risk parameter of the target link set exceeds a preset parameter threshold.
Note that each module in the network link risk analysis device may be a program module (for example, a set of program instructions for implementing a specific function), or may be a hardware module, and for the latter, it may be represented by the following form, but is not limited thereto: the expression forms of the modules are all a processor, or the functions of the modules are realized by one processor.
It should be noted that, the network link risk analysis device provided in the present embodiment may be used to execute the network link risk analysis method shown in fig. 2, so the explanation of the network link risk analysis method is also applicable to the embodiments of the present application, and is not repeated here.
The embodiment of the application also provides a nonvolatile storage medium, which comprises a stored computer program, wherein the equipment where the nonvolatile storage medium is located executes the following network link risk analysis method by running the computer program: determining a target link set in a target circuit group according to circuit routing data of the target circuit group, wherein the service types of services executed by all network devices in the target circuit group are the same; determining the topology type of a link topology structure of a target circuit group according to the target link set, and determining a risk analysis rule corresponding to the topology type; calculating risk parameters of the target link set according to the risk analysis rule, wherein the risk parameters comprise at least one of the following: the same board proportion, the same optical multiplexing section proportion, the same optical cable proportion and the same pipe ditch proportion; and sending alarm information under the condition that the risk parameters of the target link set exceed the preset parameter threshold.
The foregoing embodiment numbers of the present application are merely for describing, and do not represent advantages or disadvantages of the embodiments.
In the foregoing embodiments of the present application, the descriptions of the embodiments are emphasized, and for a portion of this disclosure that is not described in detail in this embodiment, reference is made to the related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed technology content may be implemented in other manners. The above-described embodiments of the apparatus are merely exemplary, and the division of the units, for example, may be a logic function division, and may be implemented in another manner, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interfaces, units or modules, or may be in electrical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, including several instructions to cause a computer device (which may be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely a preferred embodiment of the present application and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present application and are intended to be comprehended within the scope of the present application.

Claims (10)

1. A method for analyzing risk of a network link, comprising:
determining a target link set in a target circuit group according to circuit routing data of the target circuit group, wherein the service types of services executed by all network devices in the target circuit group are the same;
determining the topology type of a link topology structure of the target circuit group according to the target link set, and determining a risk analysis rule corresponding to the topology type;
calculating risk parameters of the target link set according to the risk analysis rule, wherein the risk parameters comprise at least one of the following: the same board proportion, the same optical multiplexing section proportion, the same optical cable proportion and the same pipe ditch proportion;
and sending alarm information under the condition that the risk parameters of the target link set exceed a preset parameter threshold value.
2. The network link risk analysis method of claim 1, wherein calculating risk parameters for the set of target links in accordance with the risk analysis rules comprises:
determining the first link quantity of target links passing through the same circuit board card in the target link set;
comparing the first link number with the total number of the target links in the target link set to obtain the same board card proportion;
Determining a second number of links of the target link set that traverse the same ray segment;
comparing the number of the second links with the total number of the target links in the target link set to obtain the same-optical multiplexing section proportion;
and calculating the same optical cable proportion and the same pipe ditch proportion according to the association information of the light line section, through which the target link passes, in the target link set, wherein the association information is used for indicating an optical cable corresponding to the light line section and a pipe ditch corresponding to the optical cable.
3. The network link risk analysis method of claim 2, wherein calculating the co-cable ratio and the co-channel ratio from the associated information of the light line segments traversed by the target links in the target link set comprises:
determining the optical cable corresponding to the light line section according to the association information;
determining a third link number of target links in the set of target links that pass through the same optical cable;
comparing the third link number with the total number of the target links in the target link set to obtain the same optical cable ratio;
Determining channel information corresponding to the target link according to the optical cable information of the optical cable corresponding to the target link, wherein the channel information comprises geographic position information of network equipment at two ends of the target link;
and calculating the same pipe ditch proportion of the target link set according to the pipe ditch information of each target link in the target link set.
4. The network link risk analysis method of claim 3, wherein calculating the co-channel ratio for the set of target links based on the channel information for each of the target links in the set of target links comprises:
determining a first line segment corresponding to a first link in the target link set according to the pipe ditch information, wherein the first link is any one of the target links in the target link set, and the first line segment is a connecting line between two geographic positions of network equipment at two ends of the first link;
determining a second line segment corresponding to a second link in the target link set, wherein the second link is any one of the target links except the first link in the target link set, and the second line segment is a connection line between two geographic positions where network devices at two ends of the second link are located;
Making a perpendicular line from two endpoints of the first line segment to the second line segment, and making a perpendicular line from two endpoints of the second line segment to the first line segment, so as to obtain four candidate perpendicular lines;
determining the candidate vertical line as a target vertical line under the condition that a vertical point corresponding to the candidate vertical line is not located on the extension line of the first line segment or the extension line of the second line segment;
and under the condition that the length of the target vertical line is smaller than a preset distance threshold value, determining that the first link is the same-pipe-channel link, and comparing the fourth link number of the same-pipe-channel link in the target link set with the total number of the target links in the target link set to obtain the same-pipe-channel ratio.
5. The network link risk analysis method according to claim 1, wherein the risk analysis rule includes a preset uplink data threshold; the method further comprises the steps of:
comparing whether the total number of the target links in the target link set is larger than the preset uplink data threshold corresponding to the target link set;
and sending alarm information under the condition that the total number of the target links is not greater than the preset uplink data threshold, wherein the alarm information is used for representing that the target link set has potential safety hazards.
6. The network link risk analysis method of claim 1, wherein determining a set of target links in a target circuit group based on circuit routing data of the target circuit group comprises:
according to the circuit route data of the target circuit group, determining network equipment at two ends of each target link of the target circuit group;
and grouping the target links according to the network devices at the two ends of each target link to obtain the target link set, wherein the network devices at the two ends of the target link in the same target link set are the same.
7. The network link risk analysis method of claim 6, wherein determining network devices at both ends of each of the target links of the target circuit group based on circuit routing data of the target circuit group further comprises:
under the condition that the information of network equipment at two ends of a label link in certain item of circuit routing data is detected to be missing or wrong, acquiring a data complement instruction of a front-end page;
updating the information of the network equipment with the missing or wrong circuit routing data according to the data complement instruction, wherein the information of the network equipment comprises the following components: the method comprises the steps of connecting a target link with the network equipment, a data transmission direction of the network equipment and equipment identification of the network equipment.
8. A network link risk analysis device, comprising:
the set determining module is used for determining a target link set in a target circuit group according to circuit routing data of the target circuit group, wherein the service types of services executed by all network devices in the target circuit group are the same;
the rule determining module is used for determining the topology type of the link topology structure of the target circuit group according to the target link set and determining a risk analysis rule corresponding to the topology type;
the risk analysis module is used for calculating risk parameters of the target link set according to the risk analysis rule, wherein the risk parameters comprise at least one of the following: the same board proportion, the same optical multiplexing section proportion, the same optical cable proportion and the same pipe ditch proportion;
and the alarm prompting module is used for sending alarm information under the condition that the risk parameter of the target link set exceeds a preset parameter threshold value.
9. An electronic device comprising a processor, wherein the processor is configured to run a program, wherein the program is configured to perform the network link risk analysis method of any one of claims 1 to 7 when run.
10. A non-volatile storage medium, characterized in that the non-volatile storage medium comprises a stored computer program, wherein a device in which the non-volatile storage medium is located performs the network link risk analysis method according to any one of claims 1 to 7 by running the computer program.
CN202211707997.5A 2022-12-28 2022-12-28 Network link risk analysis method and device and electronic equipment Pending CN116132302A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211707997.5A CN116132302A (en) 2022-12-28 2022-12-28 Network link risk analysis method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211707997.5A CN116132302A (en) 2022-12-28 2022-12-28 Network link risk analysis method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN116132302A true CN116132302A (en) 2023-05-16

Family

ID=86296730

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211707997.5A Pending CN116132302A (en) 2022-12-28 2022-12-28 Network link risk analysis method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN116132302A (en)

Similar Documents

Publication Publication Date Title
CN106789190B (en) Vulnerability assessment and route optimization method for power communication network
US8948053B2 (en) Apparatus and method for detecting critical nodes and critical links in a multi-hop network
US8842520B2 (en) Apparatus and method for identifying optimal node placement to form redundant paths around critical nodes and critical links in a multi-hop network
CN110149225B (en) Network topology structure evaluation method and device
CN107431639B (en) Method and device for managing risks in network
CN109672493B (en) Method and apparatus for determining wavelength division device path
CN111865627B (en) Transmission networking evaluation method, device, computing equipment and computer storage medium
CN103236978B (en) The determination method and apparatus of AS topology top layer autonomous system node
EP3134999A1 (en) Network tomography through selection of probing paths
CN111884832A (en) Method for acquiring passive network topology information and related equipment
CN115913355A (en) Routing information display method and device, electronic equipment and storage medium
CN116132302A (en) Network link risk analysis method and device and electronic equipment
CN104363142A (en) Automatic data center network performance bottleneck analysis method
CN110858777B (en) Method and equipment for analyzing hidden troubles of same route in transmission network
CN105282025A (en) Method of determining end-to-end routing and apparatus thereof
CN106685521A (en) Method and apparatus of predicting resource margin early warning for optical communication network
CN112532448B (en) Network topology processing method and device and electronic equipment
CN111884927B (en) Link overhead obtaining method and device based on ospf link database
CN114726778B (en) Method for opening special service line and server
CN101919189A (en) A method and an apparatus to automatically verify connectivity within an optical network node
KR20200001070A (en) Apparatus and method for controlling network failure with artificial intelligence based on analytic rule
CN109274421B (en) Method for automatically positioning end-to-end circuit fault of transmission OTN network
CN110768904B (en) Service communication detection method, device, terminal and storage medium for power communication network
CN114281668A (en) Abnormal case generation method, abnormal case generation device, electronic device, and storage medium
CN107888282B (en) Circuit whole-course route calculation method of optical transmission network

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