CN107733677A - The method for generating alarm and device of a kind of stacking network - Google Patents
The method for generating alarm and device of a kind of stacking network Download PDFInfo
- Publication number
- CN107733677A CN107733677A CN201610666728.7A CN201610666728A CN107733677A CN 107733677 A CN107733677 A CN 107733677A CN 201610666728 A CN201610666728 A CN 201610666728A CN 107733677 A CN107733677 A CN 107733677A
- Authority
- CN
- China
- Prior art keywords
- physical
- network
- link
- network element
- logical
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 18
- 238000013507 mapping Methods 0.000 claims abstract description 114
- 238000010219 correlation analysis Methods 0.000 claims description 17
- 238000012098 association analyses Methods 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 8
- 230000005540 biological transmission Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000007792 addition Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0631—Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
- H04L41/065—Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis involving logical or physical relationship, e.g. grouping and hierarchies
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0677—Localisation of faults
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a kind of method for generating alarm of stacking network and device.This method includes:Logical ne is created in stacking network;Mapping relations are established between physical NE in the logical ne and physical network;According to the mapping relations of the logical ne and the physical NE, the mapping relations of the logical links of the stacking network and the physical link of the physical network are determined;According to the mapping relations of the warning information in the physical network, and the physical link of the logical links of the stacking network and the physical network, warning information is generated for the stacking network.The present invention according to the mapping relations of logical ne and physical NE, carries out warning association analysis, determines the warning information of stacking network after physical NE sends warning information.Main alarm of the present invention by way of alarm association from the substantial amounts of alarm in physical network in positioning stacking network, help user's fast positioning and solve failure.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for generating an alarm in an overlay network.
Background
The overlay network refers to a virtual 2-layer network constructed on the basis of a 3-layer network. The overlay network established on the physical network through the tunnel protocol can change the mode of network composition, and the appearance of the overlay network can release the full potential of virtualization, thereby embodying the real IT flexibility.
Equal-Cost Multipath (ECMP) refers to the existence of multiple Equal-Cost links in a network environment to reach the same destination address. In the conventional routing technology, a data packet sent to the destination address can only utilize one link of a plurality of links, other links are in a backup state or an invalid state, and a certain time is required for the mutual switching between the links in a dynamic routing environment, while the routing protocol of the equal-cost multipath can simultaneously use the plurality of links in a network environment, thereby not only increasing the transmission bandwidth, but also backing up the data transmission of the invalid link without time delay or packet loss.
At present, a communication network is large in scale, complex in structure and diverse in equipment, a large amount of alarm information can be generated due to hardware component faults and software module faults in the network, each fault can cause multiple alarms, and numerous alarms are complicated, so that the real alarms occurring at the source of the faults are submerged in the alarm, and the fault identification is difficult. The connection between two nodes in the overlay network corresponds to the connection to possibly multiple nodes in the physical network, and the nodes in the overlay network may correspond only to the interfaces of the physical nodes or only to logical nodes established on the physical nodes, which results in more complex fault identification in the overlay network.
Disclosure of Invention
The invention provides an alarm generation method and device in an overlay network, which are used for solving the problem that the fault identification of the overlay network in the prior art is difficult.
In order to solve the technical problems, the invention solves the problems by the following technical scheme:
the invention provides an alarm generating method of an overlay network, which comprises the following steps: creating a logic network element in an overlay network; establishing a mapping relation between the logic network element and a physical network element in a physical network; determining the mapping relation between the logic link of the overlay network and the physical link of the physical network according to the mapping relation between the logic network element and the physical network element; and generating alarm information for the overlay network according to the alarm information in the physical network and the mapping relation between the logic link of the overlay network and the physical link of the physical network.
Wherein the creating a logical network element in an overlay network comprises: creating a logic network element in the overlay network by using an in-band management system; the establishing a mapping relationship between the logical network element and a physical network element in a physical network includes: acquiring network element information of the logic network element and network element information of a physical network element used as a host; and establishing a mapping relation between the network element information of the logic network element and the network element information of the physical network element.
Wherein the creating a logical network element in an overlay network comprises: creating a logic network element in the overlay network by using an out-of-band management system; the establishing a mapping relationship between the logical network element and a physical network element in a physical network includes: acquiring network element information of the logic network element; traversing the network element information of the physical network element in the physical network, and finding out the physical network element matched with the network element information of the logical network element; and establishing a mapping relation between the network element information of the logic network element and the network element information of the physical network element.
Wherein the mapping relationship between the logical link of the overlay network and the physical link of the physical network includes: one-to-one relationships and one-to-many relationships; the one-to-one relationship refers to: a logical link in the overlay network maps a physical link in the physical network, wherein logical network elements of two end points of the logical link map physical network elements of two end points of the physical link respectively; the one-to-many relationship is: and mapping a logical link in the overlay network to a plurality of physical links in the physical network, wherein the physical network elements of two end points of each physical link are the same, and the logical network elements of the two end points of the logical link are respectively mapped to the physical network elements of the two end points of each physical link.
Wherein the generating alarm information for the overlay network according to the alarm information in the physical network and the mapping relationship between the logical link of the overlay network and the physical link of the physical network includes: identifying the physical network element which sends the alarm information; determining a logical link mapped by the physical link to which the physical network element belongs and all physical links mapped by the logical link according to the mapping relation between the logical link and the physical link of the physical network; inquiring alarm information sent by all physical links mapped by the logical link; and performing alarm correlation analysis according to all physical links mapped by the logical link and alarm information sent by all the physical links, and generating alarm information for the logical link.
Wherein, the performing alarm correlation analysis according to all physical links mapped by the logical link and alarm information sent by all physical links to generate alarm information for the logical link includes: if the mapping relation between the logical link and the physical link in the physical network is one-to-one relation, generating link alarm information for the logical link; if the mapping relation between the logical link and the physical link in the physical network is a one-to-many relation and all the physical links mapped by the logical link are alarmed, generating link alarm information for the logical link; and if the mapping relation between the logical link and the physical link in the physical network is a one-to-many relation and the logical link mapped part of the physical link generates an alarm, generating service alarm information for the logical link.
The invention also provides an alarm generating device of the overlay network, which comprises the following components: the creating module is used for creating a logic network element in the overlay network; the mapping module is used for establishing a mapping relation between the logic network element and a physical network element in a physical network; determining the mapping relation between the logic link of the overlay network and the physical link of the physical network according to the mapping relation between the logic network element and the physical network element; and the generating module is used for generating the alarm information for the overlay network according to the alarm information in the physical network and the mapping relation between the logic link of the overlay network and the physical link of the physical network.
The creating module is used for creating a logic network element in the overlay network by using an in-band management system; the mapping module is configured to obtain network element information of the logical network element and network element information of a physical network element used as a host; and establishing a mapping relation between the network element information of the logic network element and the network element information of the physical network element.
The creating module is used for creating a logic network element in the overlay network by using an out-of-band management system; the mapping module is configured to obtain network element information of the logical network element; traversing the network element information of the physical network element in the physical network, and finding out the physical network element matched with the network element information of the logical network element; and establishing a mapping relation between the network element information of the logic network element and the network element information of the physical network element.
Wherein the mapping relationship between the logical link of the overlay network and the physical link of the physical network includes: one-to-one relationships and one-to-many relationships; the one-to-one relationship refers to: a logical link in the overlay network maps a physical link in the physical network, wherein logical network elements of two end points of the logical link map physical network elements of two end points of the physical link respectively; the one-to-many relationship is: and mapping a logical link in the overlay network to a plurality of physical links in the physical network, wherein the physical network elements of two end points of each physical link are the same, and the logical network elements of the two end points of the logical link are respectively mapped to the physical network elements of the two end points of each physical link.
The generating module is used for identifying a physical network element which sends the alarm information; determining a logical link mapped by the physical link to which the physical network element belongs and all physical links mapped by the logical link according to the mapping relation between the logical link and the physical link of the physical network; inquiring alarm information sent by all physical links mapped by the logical link; and performing alarm correlation analysis according to all physical links mapped by the logical link and alarm information sent by all the physical links, and generating alarm information for the logical link.
The generation module is specifically configured to generate link alarm information for the logical link if a mapping relationship between the logical link and a physical link in the physical network is a one-to-one relationship; if the mapping relation between the logical link and the physical link in the physical network is a one-to-many relation and all the physical links mapped by the logical link are alarmed, generating link alarm information for the logical link; and if the mapping relation between the logical link and the physical link in the physical network is a one-to-many relation and the logical link mapped part of the physical link generates an alarm, generating service alarm information for the logical link.
The invention has the following beneficial effects:
after the physical network element sends the alarm information, the invention performs alarm correlation analysis according to the mapping relation between the logic network element and the physical network element to determine the alarm information of the superposed network. The invention positions the main alarms in the superposed network from a large number of alarms in the physical network in an alarm correlation mode, and helps a user to quickly position and solve the fault.
Drawings
Fig. 1 is a flowchart of an alarm generation method of an overlay network according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a network topology map for a 1:1 relationship according to an embodiment of the invention;
FIG. 3 is a schematic diagram of a network topology map of a 1: n relationship according to an embodiment of the invention;
fig. 4 is a flowchart of establishing a mapping relationship between a logical network element and a physical network element according to an embodiment of the present invention;
fig. 5 is a flowchart of establishing a mapping relationship between a logical network element and a physical network element according to another embodiment of the present invention;
FIG. 6 is a flow diagram of generating alarm information for an overlay network in accordance with one embodiment of the present invention;
FIG. 7 is a diagram illustrating the generation of alarm information for a logical link, according to an embodiment of the present invention;
FIG. 8 is a schematic diagram of generating alarm information for a logical link according to another embodiment of the present invention;
FIG. 9 is a schematic diagram of generating alarm information for a logical link according to yet another embodiment of the present invention;
fig. 10 is a structural diagram of an alarm generation apparatus of an overlay network according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail below with reference to the drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the invention and do not limit the invention.
An embodiment of the present invention provides an alarm generating method for an overlay network, and as shown in fig. 1, the method is a flowchart of an alarm generating method for an overlay network according to an embodiment of the present invention.
Step S110, a logical network element is created in the overlay network.
The overlay network refers to a virtual 2-layer network constructed on the basis of a 3-layer network.
A logical network element refers to a virtual network element created in a virtual layer 2 network. The logical network element may be a switching node in an overlay network.
Specifically, a logical network element is created in the overlay network by using an in-band management system or an out-of-band management system.
Creating a logical network element using an inband management system may be referred to as an inband creation logical network element for short. The in-band management system is, for example, a network management system, and may create a logical network element in a network management interface.
Creating a logical network element using an out-of-band management system may be referred to as an out-of-band creation logical network element for short. The out-of-band management system is, for example, a remote kvm (keyboard Video mouse) remote creation of the logical network element, such as by a command line.
Step S120, a mapping relationship is established between the logical network element and the physical network element in the physical network.
A physical network refers to a network built by physical devices. In this embodiment, the overlay network may be referred to as an upper network, and the physical network may be referred to as a lower network.
The physical network element refers to a physical device for constituting a physical network. The physical network element may be a switching node in a physical network. The physical network element comprises: hosts, routers, switches, and the like.
Because the overlay network is a virtual 2-layer network constructed on the basis of a 3-layer network, the logical network elements created in the overlay network can map the physical network elements in the physical network. Further, the physical network element includes a plurality of interfaces, and the logical network element may map one of the interfaces of the physical network element.
According to the difference of the creation modes of the logical network elements, the mapping relationship between the logical network elements and the physical network elements is established in different modes, which will be described later.
Step S130, determining the mapping relationship between the logical link of the overlay network and the physical link of the physical network according to the mapping relationship between the logical network element and the physical network element.
In the physical network, the connection between the physical network elements forms a physical link, and the connection relationship between the logical network elements is determined according to the mapping relationship between the logical network elements and the physical network elements and the connection relationship between the physical network elements in the physical link, so as to form a superposition network. Further, according to the mapping relationship between the tunnel endpoint interface of the logical network element and the physical network element interface attached to the logical network element, the mapping relationship between the link between the logical network elements and the link between the physical network elements is determined.
Physical links of equal cost multipath, that is, multiple equal cost links with the same link start-stop node, may be included in the physical network, so that in the network topology, the mapping relationship between the logical links and the physical links includes: one-to-one relationships (1:1 relationship) and one-to-many relationships (1: n relationship), n > 1.
The 1:1 relationship means: one logical link in the overlay network maps one physical link in the physical network, wherein the logical network elements of the two end points of the logical link map the physical network elements of the two end points of the physical link respectively. In other words, a connection between two logical network elements in the overlay network corresponds to a single connection made up of two or more physical network elements in the physical network.
The 1: n relationship refers to: one logical link in the overlay network is associated with a plurality of physical links in the physical network, wherein the physical network elements of two end points of each physical link are the same, and the logical network elements of the two end points of the logical link are respectively mapped to the physical network elements of the two end points of each physical link. In other words, the connections between two logical network elements in the overlay network correspond to multiple connections in the physical network, and each connection in the physical network includes two or more physical network elements. Thus, a plurality of physical links mapped by one logical link are physical links of equal cost multipath.
As shown in fig. 2, a logical network element D in an upper network (overlay network) maps a physical network element a in a lower network (physical network), and a logical network element E in the upper network maps a physical network element C in the lower network; in the lower network, there is a link between physical network element A, B and C, and the logical link D-E formed in the upper network maps the physical link A-B-C in the lower network to form a 1:1 relationship.
As shown in fig. 3, a logical network element X in an upper network maps to a physical network element a in a lower network, and a logical network element Y in the upper network maps to a physical network element C in the lower network; in the lower network, the physical network elements a and C include three physical links of equal cost multipath, which are physical links a-B-C, A-D-C and a-E-F-G-C, respectively, so that the logical link X-Y formed in the upper network maps the three physical links a-B-C, A-D-C and a-E-F-G-C in the lower network to form a 1:3 relationship, i.e., a 1: n relationship.
And recording the mapping relation between the logical network element and the physical network element and the mapping relation between the logical link and the physical link in the physical network. The recorded mapping relationship between the logical link and the physical link in the physical network comprises: the logical link comprises the network element information of the logical network elements and each logical network element thereof, and the physical network elements and the network element information of each physical network element thereof, which are included in each physical link mapped by the logical link.
Step S140, generating alarm information for the overlay network according to the alarm information in the physical network and the mapping relation between the logical link of the overlay network and the physical link of the physical network.
In this embodiment, the alarm information reported from the physical network includes: link alarm information and offline alarm information. The link alarm information is a link disconnection alarm. The off-line alarm information is a network element off-line alarm.
And according to the alarm in the physical network, performing correlation analysis on the alarm in the superposed network to generate a new alarm.
In the first mode, a physical network element sending alarm information is identified; determining a logical link mapped by the physical link to which the physical network element belongs and all physical links mapped by the logical link according to the mapping relation between the logical link and the physical link of the physical network; inquiring alarm information sent by all physical links mapped by the logical link; and performing alarm correlation analysis according to all physical links mapped by the logical link and alarm information sent by all the physical links, and generating alarm information for the logical link. Further, according to the recorded mapping relationship between the logical link and the physical link in the physical network (the physical network element included in the physical link, the logical link mapped by the physical link), determining the physical link to which the physical network element belongs and the logical link mapped by the physical link; after the logical link is determined, according to the mapping relationship between the logical link and the physical link of the physical network, it may be determined that the logical link and the physical link of the physical network are in a 1:1 relationship or a 1: n relationship, and further, all the physical links mapped by the logical link may be determined.
Monitoring all physical links mapped by the logical links according to the mapping relation between the logical links and the physical links in the physical network; inquiring alarm information sent out from all the physical links; and analyzing the alarm relevance of the alarm information sent out from all the physical links, and generating alarm information for the logical link. Wherein, the alarm information sent by the physical link is sent by a physical network element in the physical link.
In this embodiment, the performing alarm correlation analysis on each logical link specifically includes:
if the mapping relationship between the logical link and the physical link in the physical network is a 1:1 relationship, link alarm information is generated for the logical link. Further, if the physical link mapped by the logical link is disconnected or a physical network element in the physical link is offline, link alarm information is generated for the logical link.
And if the mapping relation between the logical link and the physical link in the physical network is a 1: n relation and all the physical links mapped by the logical link are alarmed, generating link alarming information for the logical link. Further, the alert includes: the physical link is broken or the physical network element is taken off-line.
And if the mapping relation between the logical link and the physical link in the physical network is a 1: n relation and the logical link mapped part of the physical link generates an alarm, generating service alarm information for the logical link. Further, the alert includes: the physical link is broken or the physical network element is taken off-line. And generating service alarm information for the logical link according to the service carried by the physical link sending the alarm.
After the physical network element sends the alarm information, the invention performs alarm correlation analysis according to the mapping relation between the logic network element and the physical network element to determine the alarm information of the superposed network. The invention positions the main alarms in the superposed network from a large number of alarms in the physical network in an alarm correlation mode, and helps a user to quickly position and solve the fault.
The following further describes the establishment of the mapping relationship between the logical network element and the physical network element.
Fig. 4 is a flowchart illustrating the establishment of a mapping relationship between a logical network element and a physical network element according to an embodiment of the present invention.
Step S410, a logical network element is created through the in-band management system.
A logic network element is established in a program of a network management system.
And configuring network element information for the logic network element when the logic network element is established. The network element information includes: MAC address, IP address, and/or port number. Further, the network element information of the logical network element may be configured with reference to the network element information of the physical network element as the host.
Step S420, network element information of the logical network element and network element information of the physical network element used as the host are obtained.
The network element information of the logical network element is the same as the network element information of the physical network element as the host.
Step S430, a mapping relationship between the network element information of the logical network element and the network element information of the physical network element is established. Thereby realizing the establishment of mapping relation between the logic network element and the physical network element.
Fig. 5 is a flowchart illustrating the establishment of a mapping relationship between a logical network element and a physical network element according to another embodiment of the present invention.
Step S510, a logical network element is created through the out-of-band management system.
The logical network elements are created by command lines using an out-of-band management system. And configuring network element information for the logic network element when the logic network element is established. After the creation is completed, the logical network element may be connected to a network management system.
Step S520, network element information of the logical network element is obtained.
Step S530, traverse the network element information of the physical network element in the physical network, and find out the physical network element matched with the network element information of the logical network element.
In other words, in the physical network, the physical network element identical to the network element information of the logical network element is searched.
If the network element information of the logical network element can be interface information, traversing the interfaces of the physical network elements in the physical network, and searching the physical network element interfaces matched with the interface information of the logical network element.
Step S540, a mapping relationship between the network element information of the logical network element and the network element information of the physical network element is established. Thereby realizing the establishment of mapping relation between the logic network element and the physical network element.
Generating alert information for the overlay network is further described below. The alarm correlation analysis for the overlay network includes two scenarios, one is a 1:1 relationship scenario, that is, the connection between two switching nodes in the overlay network corresponds to a single connection formed by two or more switching nodes in the physical network, and the other is a 1: n relationship scenario, that is, the connection between two switching nodes (two end points of a tunnel) in the overlay network corresponds to multiple connections between physical switching nodes.
Fig. 6 is a flow chart of generating alarm information for an overlay network according to an embodiment of the present invention.
Step S610, receiving the alarm information reported by the physical network element.
A large number of physical network elements are included in the physical network and thus a large number of alarm messages are received.
The alarm information carries the identifier of the physical network element which sends the alarm information, and the source of the alarm information can be identified according to the identifier.
Step S620, judging whether the alarm information is link alarm information or off-line alarm information; if so, go to step S630; if not, the flow ends.
Step S630, judge whether the mapping relation between the logical link and the physical link is 1:1 relation; if yes, go to step S650; if not, step S640 is performed.
And aiming at each alarm message, identifying the physical network element sending the alarm message, inquiring the logical link mapped by the physical link to which the physical network element belongs, judging whether all the physical links mapped by the logical link are one, if so, judging that the logical link is in a 1:1 relationship, and if not, judging that the logical link is in a 1: n relationship.
Step S640, judging whether all physical links mapped by the logical link have alarms or not; if yes, go to step S650; if not, step S660 is performed.
Step S650, generates link alarm information for the logical link.
Mapping a plurality of physical links by the logical link, and if the plurality of physical links are disconnected; or the network elements in the plurality of physical links are offline; or the plurality of physical links have alarms, wherein the alarm of link disconnection also has the alarm of network element offline, thus generating the link alarm information for the logical link.
Step S660, comparing the service characteristics of the physical link to be alarmed to obtain the matched service characteristics, and generating service alarm information for the logical link according to the service characteristics.
Each physical link is used to carry a service, for example: voice traffic, broadband traffic, and video traffic.
And setting corresponding service characteristics for each physical link according to the characteristics of the service carried by the physical links.
In the 1: n relationship, if only a part of physical links mapped by the logical links have alarms, the physical links can be subjected to service characteristic matching, service characteristics corresponding to the physical links which appear are found, and service alarm information is generated for the logical links according to the service characteristics.
Three more specific examples are given below according to this embodiment:
example 1: as shown in FIG. 7, a logical link D-E in the upper network maps a physical link A-B-C in the lower network to form a 1:1 relationship; according to the alarm information reported from the physical link A-B-C, the link between the physical network element A and the physical network element B is disconnected, and the logical link D-E can be subjected to link disconnection alarm through alarm correlation analysis.
Example 2: as shown in FIG. 8, the logical link X-Y in the upper network maps three physical links A-B-C, A-D-C and A-E-F-G-C in the lower network to form a 1:3 relationship; according to the alarm information reported from the physical links A-B-C, A-D-C and A-E-F-G-C, the physical links A-B-C, A-D-C and A-E-F-G-C are disconnected, and the logical link X-Y can be subjected to link disconnection alarm through alarm correlation analysis.
Example 3: as shown in FIG. 9, the logical link X-Y in the upper network maps three physical links A-B-C, A-D-C and A-E-F-G-C in the lower network to form a 1:3 relationship; the physical link A-B-C carries voice service, the physical link A-D-C carries broadband service, and the physical link A-E-F-G-C carries video service; only the physical link A-D-C has alarm, and the link between the physical network elements A and D is disconnected according to the alarm information, and the broadband service alarm between the logical links X-Y can be performed through alarm correlation analysis.
The embodiment of the invention also provides an alarm generating device of the overlay network. Fig. 10 is a block diagram of an alarm generating device of an overlay network according to an embodiment of the present invention.
The device includes:
a creating module 1010 configured to create a logical network element in an overlay network.
A mapping module 1020, configured to establish a mapping relationship between the logical network element and a physical network element in a physical network; and determining the mapping relation between the logical link of the overlay network and the physical link of the physical network according to the mapping relation between the logical network element and the physical network element.
A generating module 1030, configured to generate alarm information for the overlay network according to the alarm information in the physical network and a mapping relationship between a logical link of the overlay network and a physical link of the physical network.
In one embodiment, the creating module 1010 is configured to create a logical network element in an overlay network using an in-band management system; a mapping module 1020, configured to obtain network element information of the logical network element and network element information of a physical network element used as a host; and establishing a mapping relation between the network element information of the logic network element and the network element information of the physical network element.
In another embodiment, the creating module 1010 is configured to create a logical network element in an overlay network by using an out-of-band management system; a mapping module 1020, configured to obtain network element information of the logical network element; traversing the network element information of the physical network element in the physical network, and finding out the physical network element matched with the network element information of the logical network element; and establishing a mapping relation between the network element information of the logic network element and the network element information of the physical network element.
In another embodiment, the mapping relationship between the logical link of the overlay network and the physical link of the physical network includes: one-to-one relationships and one-to-many relationships; wherein,
the one-to-one relationship refers to: the logical link in the overlay network maps one physical link in the physical network, wherein the logical network elements of the two end points of the logical link map the physical network elements of the two end points of the physical link respectively;
the one-to-many relationship is: and mapping the logical links in the overlay network to a plurality of physical links in the physical network, wherein the physical network elements of the two end points of each physical link are the same, and the logical network elements of the two end points of each logical link are respectively mapped to the physical network elements of the two end points of each physical link.
A generating module 1030, configured to identify a physical network element that sends the alarm information; determining a logical link mapped by the physical link to which the physical network element belongs and all physical links mapped by the logical link according to the mapping relation between the logical link and the physical link of the physical network; inquiring alarm information sent by all physical links mapped by the logical link; and performing alarm correlation analysis according to all physical links mapped by the logical link and alarm information sent by all the physical links, and generating alarm information for the logical link.
Further, the generating module 1030 is specifically configured to: if the mapping relation between the logical link and the physical link in the physical network is one-to-one relation, generating link alarm information for the logical link; if the mapping relation between the logical link and the physical link in the physical network is a one-to-many relation and all the physical links mapped by the logical link are alarmed, generating link alarm information for the logical link; and if the mapping relation between the logical link and the physical link in the physical network is a one-to-many relation and the logical link mapped part of the physical link generates an alarm, generating service alarm information for the logical link.
The functions of the apparatus in this embodiment have already been described in the method embodiments shown in fig. 1 to 9, so that reference may be made to the related descriptions in the foregoing embodiments for details in the description of this embodiment, which are not repeated herein.
The alarm generating device of the overlay network of the embodiment may be disposed in an in-band management system (network management system), an out-of-band management system, or other devices. The creating module 1010 and the mapping module 1020 of the present embodiment may be disposed in a processor, and the generating module 1030 may be disposed in an alarm correlation analysis engine.
Although the preferred embodiments of the present invention have been disclosed for illustrative purposes, those skilled in the art will appreciate that various modifications, additions and substitutions are possible, and the scope of the invention should not be limited to the embodiments described above.
Claims (12)
1. An alarm generating method of an overlay network is characterized by comprising the following steps:
creating a logic network element in an overlay network;
establishing a mapping relation between the logic network element and a physical network element in a physical network;
determining the mapping relation between the logic link of the overlay network and the physical link of the physical network according to the mapping relation between the logic network element and the physical network element;
and generating alarm information for the overlay network according to the alarm information in the physical network and the mapping relation between the logic link of the overlay network and the physical link of the physical network.
2. The method of claim 1,
the creating of the logical network element in the overlay network includes:
creating a logic network element in the overlay network by using an in-band management system;
the establishing a mapping relationship between the logical network element and a physical network element in a physical network includes:
acquiring network element information of the logic network element and network element information of a physical network element used as a host;
and establishing a mapping relation between the network element information of the logic network element and the network element information of the physical network element.
3. The method of claim 1,
the creating of the logical network element in the overlay network includes:
creating a logic network element in the overlay network by using an out-of-band management system;
the establishing a mapping relationship between the logical network element and a physical network element in a physical network includes:
acquiring network element information of the logic network element;
traversing the network element information of the physical network element in the physical network, and finding out the physical network element matched with the network element information of the logical network element;
and establishing a mapping relation between the network element information of the logic network element and the network element information of the physical network element.
4. The method of claim 1, wherein the mapping of the logical links of the overlay network and the physical links of the physical network comprises: one-to-one relationships and one-to-many relationships;
the one-to-one relationship refers to: a logical link in the overlay network maps a physical link in the physical network, wherein logical network elements of two end points of the logical link map physical network elements of two end points of the physical link respectively;
the one-to-many relationship is: and mapping a logical link in the overlay network to a plurality of physical links in the physical network, wherein the physical network elements of two end points of each physical link are the same, and the logical network elements of the two end points of the logical link are respectively mapped to the physical network elements of the two end points of each physical link.
5. The method of claim 4, wherein the generating alarm information for the overlay network according to the alarm information in the physical network and the mapping relationship between the logical links of the overlay network and the physical links of the physical network comprises:
identifying the physical network element which sends the alarm information;
determining a logical link mapped by the physical link to which the physical network element belongs and all physical links mapped by the logical link according to the mapping relation between the logical link and the physical link of the physical network;
inquiring alarm information sent by all physical links mapped by the logical link;
and performing alarm correlation analysis according to all physical links mapped by the logical link and alarm information sent by all the physical links, and generating alarm information for the logical link.
6. The method of claim 5, wherein the mapping all physical links of the logical link and performing alarm correlation analysis according to alarm information sent by all physical links to generate alarm information for the logical link comprises:
if the mapping relation between the logical link and the physical link in the physical network is one-to-one relation, generating link alarm information for the logical link;
if the mapping relation between the logical link and the physical link in the physical network is a one-to-many relation and all the physical links mapped by the logical link are alarmed, generating link alarm information for the logical link;
and if the mapping relation between the logical link and the physical link in the physical network is a one-to-many relation and the logical link mapped part of the physical link generates an alarm, generating service alarm information for the logical link.
7. An alarm generation apparatus for an overlay network, comprising:
the creating module is used for creating a logic network element in the overlay network;
the mapping module is used for establishing a mapping relation between the logic network element and a physical network element in a physical network; determining the mapping relation between the logic link of the overlay network and the physical link of the physical network according to the mapping relation between the logic network element and the physical network element;
and the generating module is used for generating the alarm information for the overlay network according to the alarm information in the physical network and the mapping relation between the logic link of the overlay network and the physical link of the physical network.
8. The apparatus of claim 7,
the creation module is used for creating a logic network element in the overlay network by utilizing an in-band management system;
the mapping module is configured to obtain network element information of the logical network element and network element information of a physical network element used as a host; and establishing a mapping relation between the network element information of the logic network element and the network element information of the physical network element.
9. The apparatus of claim 7,
the creation module is used for creating a logic network element in the overlay network by using an out-of-band management system;
the mapping module is configured to obtain network element information of the logical network element; traversing the network element information of the physical network element in the physical network, and finding out the physical network element matched with the network element information of the logical network element; and establishing a mapping relation between the network element information of the logic network element and the network element information of the physical network element.
10. The apparatus of claim 7, wherein the mapping of the logical links of the overlay network and the physical links of the physical network comprises: one-to-one relationships and one-to-many relationships;
the one-to-one relationship refers to: a logical link in the overlay network maps a physical link in the physical network, wherein logical network elements of two end points of the logical link map physical network elements of two end points of the physical link respectively;
the one-to-many relationship is: and mapping a logical link in the overlay network to a plurality of physical links in the physical network, wherein the physical network elements of two end points of each physical link are the same, and the logical network elements of the two end points of the logical link are respectively mapped to the physical network elements of the two end points of each physical link.
11. The apparatus of claim 10, wherein the generating means is configured to generate the data based on the received data
Identifying the physical network element which sends the alarm information;
determining a logical link mapped by the physical link to which the physical network element belongs and all physical links mapped by the logical link according to the mapping relation between the logical link and the physical link of the physical network;
inquiring alarm information sent by all physical links mapped by the logical link;
and performing alarm correlation analysis according to all physical links mapped by the logical link and alarm information sent by all the physical links, and generating alarm information for the logical link.
12. The apparatus of claim 11, wherein the generating module is specifically configured to:
if the mapping relation between the logical link and the physical link in the physical network is one-to-one relation, generating link alarm information for the logical link;
if the mapping relation between the logical link and the physical link in the physical network is a one-to-many relation and all the physical links mapped by the logical link are alarmed, generating link alarm information for the logical link;
and if the mapping relation between the logical link and the physical link in the physical network is a one-to-many relation and the logical link mapped part of the physical link generates an alarm, generating service alarm information for the logical link.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610666728.7A CN107733677B (en) | 2016-08-12 | 2016-08-12 | Alarm generation method and device for overlay network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610666728.7A CN107733677B (en) | 2016-08-12 | 2016-08-12 | Alarm generation method and device for overlay network |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107733677A true CN107733677A (en) | 2018-02-23 |
CN107733677B CN107733677B (en) | 2022-11-15 |
Family
ID=61201492
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610666728.7A Active CN107733677B (en) | 2016-08-12 | 2016-08-12 | Alarm generation method and device for overlay network |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107733677B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113891374A (en) * | 2021-10-12 | 2022-01-04 | 中国联合网络通信集团有限公司 | Method, device and equipment for identifying fault network element |
CN118301059A (en) * | 2024-06-03 | 2024-07-05 | 中国电子科技集团公司第三十研究所 | Test topology and physical topology mapping method of entity network test bed |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102075429A (en) * | 2011-01-21 | 2011-05-25 | 北京邮电大学 | Virtual network mapping method based on principle of proximity |
CN102572868A (en) * | 2010-12-27 | 2012-07-11 | 中国移动通信集团设计院有限公司 | Wireless network information processing method and device as well as wireless network information management server |
CN103457752A (en) * | 2012-05-30 | 2013-12-18 | 中国科学院声学研究所 | Virtual network mapping method |
US20140075093A1 (en) * | 2012-09-12 | 2014-03-13 | Infineon Technologies Ag | Method and system for implicit or explicit online repair of memory |
CN104092585A (en) * | 2014-07-17 | 2014-10-08 | 国家电网公司 | Smart substation process level secondary circuit fault diagnosis method |
CN104320276A (en) * | 2014-10-28 | 2015-01-28 | 北京邮电大学 | Virtual network mapping method and system based on cut set |
CN104869044A (en) * | 2015-06-19 | 2015-08-26 | 中国人民解放军信息工程大学 | Mapping method and mapping device for virtual network |
-
2016
- 2016-08-12 CN CN201610666728.7A patent/CN107733677B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102572868A (en) * | 2010-12-27 | 2012-07-11 | 中国移动通信集团设计院有限公司 | Wireless network information processing method and device as well as wireless network information management server |
CN102075429A (en) * | 2011-01-21 | 2011-05-25 | 北京邮电大学 | Virtual network mapping method based on principle of proximity |
CN103457752A (en) * | 2012-05-30 | 2013-12-18 | 中国科学院声学研究所 | Virtual network mapping method |
US20140075093A1 (en) * | 2012-09-12 | 2014-03-13 | Infineon Technologies Ag | Method and system for implicit or explicit online repair of memory |
CN104092585A (en) * | 2014-07-17 | 2014-10-08 | 国家电网公司 | Smart substation process level secondary circuit fault diagnosis method |
CN104320276A (en) * | 2014-10-28 | 2015-01-28 | 北京邮电大学 | Virtual network mapping method and system based on cut set |
CN104869044A (en) * | 2015-06-19 | 2015-08-26 | 中国人民解放军信息工程大学 | Mapping method and mapping device for virtual network |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113891374A (en) * | 2021-10-12 | 2022-01-04 | 中国联合网络通信集团有限公司 | Method, device and equipment for identifying fault network element |
CN113891374B (en) * | 2021-10-12 | 2023-07-18 | 中国联合网络通信集团有限公司 | Fault network element identification method, device and equipment |
CN118301059A (en) * | 2024-06-03 | 2024-07-05 | 中国电子科技集团公司第三十研究所 | Test topology and physical topology mapping method of entity network test bed |
Also Published As
Publication number | Publication date |
---|---|
CN107733677B (en) | 2022-11-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110661669B (en) | Network topology automatic discovery method of network equipment based on ICMP, TCP and UDP protocols | |
EP3188409B1 (en) | Oam mechanisms for evpn active-active services | |
CN102232279B (en) | Method for detecting loop position in Ethernet, and Ethernet switching device | |
CN104168193B (en) | A kind of method and routing device of Virtual Router Redundancy Protocol fault detect | |
EP3675419A1 (en) | Method and apparatus for detecting network fault | |
US8605603B2 (en) | Route convergence based on ethernet operations, administration, and maintenance protocol | |
US12015519B2 (en) | Data processing method and apparatus, and computer storage medium | |
JP2006222808A (en) | Barrier management device and method for specifying cause of barrier in communications network | |
CN102904818A (en) | Method and device for updating ARP (Address Resolution Protocol) information table | |
JP2005073277A (en) | Reliable fault resolution in cluster | |
CN104601380B (en) | A kind of software defined network controller and its method for restoring host information | |
JP2002026909A (en) | Channel multiplexing method and information repeater | |
CN103036702B (en) | A kind of N+1 backup method of cross-network segment and device | |
CN103944828A (en) | Method and equipment for transmitting protocol messages | |
CN111988439B (en) | ARP request suppression system, method, equipment and storage medium | |
CN102647312B (en) | A kind of detection method of whole net multicast topology and device | |
CN100461739C (en) | RPR bidge redundancy protecting method and RPR bridge ring equipment | |
JP5949035B2 (en) | Network device setting device, setting system, setting method and setting program | |
WO2016124117A1 (en) | Method, switching device and network controller for protecting links in software-defined network (sdn) | |
US7369513B1 (en) | Method and apparatus for determining a network topology based on Spanning-tree-Algorithm-designated ports | |
CN107733677B (en) | Alarm generation method and device for overlay network | |
WO2011124178A2 (en) | Fault detection method, route node and system | |
US7869351B2 (en) | Communication techniques and generic layer 3 automatic switching protection | |
CN103312579B (en) | Circuit switching method and device | |
JP2015514374A (en) | Method for receiving information, method for transmitting information and apparatus thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20180425 Address after: 518057 five floor, block A, ZTE communication tower, Nanshan District science and Technology Park, Shenzhen, Guangdong. Applicant after: ZTE Corp. Address before: 210000 No. 68, Bauhinia Road, Ningnan street, Yuhuatai District, Nanjing, Jiangsu Applicant before: Nanjing Zhongxing Software Co.,Ltd. |
|
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |