CN117176588B - Method and device for constructing network topology, electronic equipment and storage medium - Google Patents

Method and device for constructing network topology, electronic equipment and storage medium Download PDF

Info

Publication number
CN117176588B
CN117176588B CN202311451912.6A CN202311451912A CN117176588B CN 117176588 B CN117176588 B CN 117176588B CN 202311451912 A CN202311451912 A CN 202311451912A CN 117176588 B CN117176588 B CN 117176588B
Authority
CN
China
Prior art keywords
switch
mac address
port
port number
determining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202311451912.6A
Other languages
Chinese (zh)
Other versions
CN117176588A (en
Inventor
龚亮华
高旭帆
毛哲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fengtai Technology Beijing Co ltd
Original Assignee
Fengtai Technology Beijing Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fengtai Technology Beijing Co ltd filed Critical Fengtai Technology Beijing Co ltd
Priority to CN202311451912.6A priority Critical patent/CN117176588B/en
Publication of CN117176588A publication Critical patent/CN117176588A/en
Application granted granted Critical
Publication of CN117176588B publication Critical patent/CN117176588B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the application provides a method, a device, electronic equipment and a storage medium for constructing network topology, which are implemented by acquiring port information of a switch in a network and a first MAC address of the switch; determining a connection relationship between devices in the network based on the port information and the first MAC address; and constructing the network topology of the network based on the connection relation, so that the construction efficiency of the network topology can be improved.

Description

Method and device for constructing network topology, electronic equipment and storage medium
Technical Field
The application belongs to the technical field of network management, and particularly relates to a method and a device for constructing network topology, electronic equipment and a storage medium.
Background
Modern networks are increasingly large and complex in size, and as businesses and organizations become increasingly dependent on the network, network administrators need to effectively manage and monitor network devices to ensure availability, performance, and security of the network. And the network topology is the basis for understanding and managing the network.
In the related art, a network administrator needs to acquire connection and layout information between network devices through manual investigation and recording, and then manually construct and maintain a network topology through the administrator, which is a task of time and effort consuming and easy to make mistakes due to manual construction and maintenance. That is, the existing method for constructing the network topology is inefficient and also difficult to cope with increasingly complex network environments.
Disclosure of Invention
In view of the above problems, embodiments of the present application provide a method, an apparatus, an electronic device, and a storage medium for constructing a network topology, which can improve the efficiency of constructing the network topology.
The embodiment of the application provides a method for constructing network topology, which comprises the following steps:
acquiring port information of a switch in a network and a first MAC address of the switch;
determining a connection relationship between devices in the network based on the port information and the first MAC address;
and constructing the network topology of the network based on the connection relation.
In some embodiments, the port information includes: the determining, based on the port information and the first MAC address, a connection relationship between devices in the network includes:
determining a core switch and a non-core switch from the switches based on the first MAC address;
determining connection information of each non-core switch based on a first number of second MAC addresses corresponding to port numbers of each non-core switch and the first MAC addresses;
determining connection information of each core switch based on a second number of second MAC addresses corresponding to port numbers of each core switch and the first MAC addresses;
Connection relationships between devices in the network are determined based on the connection information of the respective non-core switches and the connection information of the respective core switches.
In some embodiments, the determining the connection information of each non-core switch based on the first number of the second MAC addresses corresponding to the port numbers of the non-core switches and the first MAC addresses includes:
dividing the port number of the non-core switch into a first port number and a second port number based on the first number, wherein the first number of second MAC addresses corresponding to the first port number is 1, and the number of second MAC addresses corresponding to the second port number is greater than 1;
determining a first connection relation between a first port number of a non-core switch and equipment corresponding to the first port number;
connection information of a second port number is determined based on a second MAC address corresponding to the second port number of the non-core switch and the first MAC address.
In some embodiments, the determining the connection information of the second port number based on the second MAC address and the first MAC address corresponding to the second port number of the non-core switch includes:
determining whether the second MAC address corresponding to the second port number of the non-core switch only comprises one first MAC address;
Under the condition that only one first target first MAC address is included in a second MAC address corresponding to a second port number of a target non-core switch, determining the second port number of the target non-core switch as a first downlink port, determining a switch corresponding to the first target first MAC address as a first sub-switch, and determining a connection relation between the first downlink port and the first sub-switch;
and under the condition that a plurality of first target first MAC addresses are included in a second MAC address corresponding to a second port number of the target non-core switch, determining the second port number of the target non-core switch as a first uplink port, determining a switch corresponding to the first target first MAC address as a first father switch, and establishing a connection relation between the first uplink port and the first father switch.
In some embodiments, the determining the connection information of each core switch based on the second number of the second MAC addresses corresponding to the port numbers of each core switch and the first MAC address includes:
dividing the port number of the core switch into a third port number and a fourth port number based on the second number, wherein the second number of the second MAC addresses corresponding to the third port number is 1, and the second number of the second MAC addresses corresponding to the fourth port number is greater than 1;
Determining a second connection relationship between a third port number of the core switch and a device corresponding to the third port number;
and determining the connection information of the fourth port based on the second MAC address corresponding to the fourth port of the core switch and the first MAC address.
In some embodiments, the determining the connection information of the fourth port number based on the second MAC address corresponding to the fourth port number of the core switch and the first MAC address includes:
determining whether the second MAC address corresponding to the fourth port number of the core switch only comprises one first MAC address;
under the condition that only one second target first MAC address is included in a second MAC address corresponding to a fourth port number of a target core switch, determining the fourth port number of the target core switch as a second downlink port, determining a switch corresponding to the second target first MAC address as a second sub-switch, and determining a connection relationship between the second downlink port and the second sub-switch;
and under the condition that a plurality of fourth target first MAC addresses are included in a second MAC address corresponding to a fourth port number of the target core switch, determining the fourth port number of the second target core switch as a second uplink port, determining the switch corresponding to the fourth target first MAC address as a second father switch, and establishing a connection relationship between the second uplink port and the second father switch.
In some embodiments, the determining a connection relationship between devices in the network based at least on the connection information of each non-core switch and the connection information of each core switch includes:
determining a target switch, wherein a plurality of second MAC addresses corresponding to port numbers of the target switch are provided, and the first MAC addresses are not included in the plurality of second MAC addresses;
determining a connection relationship between the target switch and equipment of the corresponding second MAC address based on the second MAC address corresponding to the port number of the target switch;
and determining the connection relation between the devices in the network based on the connection information of the non-core switch, the connection information of each core switch and the connection relation between the target switch and the corresponding device with the second MAC address.
In some embodiments, the obtaining port information of a switch and a first MAC address of the switch in the network includes:
collecting port information of a switch in the network and a first MAC address of the switch based on an SNMP protocol.
The embodiment of the application provides a device for constructing network topology, which comprises:
the acquisition module is used for acquiring port information of the switch and a first MAC address of the switch in the network;
A determining module, configured to determine a connection relationship between devices in the network based on the port information and the first MAC address;
and the construction module is used for constructing the network topology of the network based on the connection relation.
An embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements a method according to any one of the preceding claims when the processor executes the computer program.
Embodiments of the present application provide a computer readable storage medium storing a computer program which, when executed by a processor, implements a method as described in any one of the above.
Embodiments of the present application provide a computer program product for causing an electronic device to perform any one of the methods described above when the computer program product is run on a terminal device.
The embodiment of the application provides a method, a device, electronic equipment and a storage medium for constructing network topology, which are implemented by acquiring port information of a switch in a network and a first MAC address of the switch; determining a connection relationship between devices in the network based on the port information and the first MAC address; and constructing the network topology of the network based on the connection relation, so that the construction efficiency of the network topology can be improved.
Drawings
The present application will be described in more detail hereinafter based on embodiments and with reference to the accompanying drawings.
Fig. 1 is a schematic implementation flow chart of a method for constructing a network topology according to an embodiment of the present application;
fig. 2 is a schematic flow chart of determining a connection relationship between a non-core switch and a device connected thereunder according to an embodiment of the present application;
fig. 3 is a schematic flow chart of determining a connection relationship between switches according to an embodiment of the present disclosure;
fig. 4 is a schematic flow chart of determining connection information of a core switch according to an embodiment of the present application;
fig. 5 is a schematic flow chart of determining a connection relationship of a switch that does not support the SNMP protocol according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a device for constructing a network topology according to an embodiment of the present application;
fig. 7 is a schematic diagram of a composition structure of an electronic device according to an embodiment of the present application.
In the drawings, like parts are given like reference numerals, and the drawings are not drawn to scale.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the present application will be described in further detail with reference to the accompanying drawings, and the described embodiments should not be construed as limiting the present application, and all other embodiments obtained by those skilled in the art without making any inventive effort are within the scope of the present application.
In the following description, reference is made to "some embodiments" which describe a subset of all possible embodiments, but it is to be understood that "some embodiments" can be the same subset or different subsets of all possible embodiments and can be combined with one another without conflict.
If a similar description of "first\second\third" appears in the application document, the following description is added, in which the terms "first\second\third" are merely distinguishing between similar objects and do not represent a particular ordering of the objects, it being understood that the "first\second\third" may be interchanged in a particular order or precedence, where allowed, so that the embodiments of the application described herein may be practiced in an order other than that illustrated or described herein.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of the present application only and is not intended to be limiting of the present application.
Based on the problems existing in the related art, the embodiment of the application provides a method for constructing a network topology, which is applied to electronic devices such as a mobile phone, a tablet computer, a wearable device, a vehicle-mounted device, an augmented reality (augmented reality, AR)/Virtual Reality (VR) device, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (personal digital assistant, PDA) and the like, and the embodiment of the application does not limit the specific types of the electronic devices. The functions implemented by the method for constructing a network topology provided in the embodiments of the present application may be implemented by invoking program codes by a processor of an electronic device, where the program codes may be stored in a computer storage medium.
An embodiment of the present application provides a method for constructing a network topology, and fig. 1 is a schematic implementation flow diagram of the method for constructing a network topology, which is provided by the implementation of the present application, as shown in fig. 1, and includes:
step S101, acquiring port information of a switch in a network and a first MAC address of the switch.
In this embodiment of the present application, the network may be a local area network, and the local area network may be one of an enterprise network, a campus network, and an industrial control system network.
Switches are often one of the core devices of a network and play a critical role in connecting various network devices. The switch is an online switch in the network. Because the switch is an important device in the network, the network topology graph is generated in real time by monitoring and analyzing the information of the switch device, so that the network structure can be well understood and the network performance can be optimized.
In the embodiment of the application, the switch is provided with an uplink port and a downlink port, and the port information can comprise a port number, a second MAC address of the equipment connected with the port number and a globally unique identifier. The connected device may be a mobile terminal, an industrial device, a computer, a switch, etc.
In this embodiment, the MAC address is a medium access control address, which is used to uniquely identify a switch in the network, and a first MAC address identifies a switch.
In this embodiment of the present application, the electronic device may be communicatively connected to an input device, and obtain port information of a switch and a first MAC address of the switch in the network through the input device, where the input device may be a storage device, a keyboard, and so on.
In some embodiments, an acquisition APP may be installed on the electronic device, where the acquisition APP may be used to obtain port information of a switch in the network and a first MAC address of the switch, where the acquisition APP may be based on an acquisition APP of SNMP (Simple Network Management Protocol) protocol, where the SNMP protocol is a standard protocol widely used in the field of network management, and provides a convenient way to monitor network devices and system states.
In this embodiment of the present application, real-time status data may be obtained on a network device such as a switch by using an SNMP protocol through an acquisition APP, including a device model number, a device port number, a network connection status, port information, and a first MAC address of the switch.
Step S102, determining a connection relationship between devices in the network based on the port information and the first MAC address.
In this embodiment of the present application, a connection relationship between a switch and a device in a network and a connection relationship between a switch and a device may be determined based on port information and the first MAC address, where the connection relationship between a switch and a device may include: connection relationship between ports and devices of the switch, the connection relationship between the switch and the switch may include: the connection relationship between the ports of the switch and the upper and lower relationship of the switch can be considered as a parent-child relationship, the switch connected with the downstream port of the switch is a child switch of the switch, and the switch connected with the upstream port of the switch is a parent switch of the switch.
And step S103, constructing the network topology of the network based on the connection relation.
In the embodiment of the application, after the connection relation is determined, the network topology can be built, the electronic equipment can be in communication connection with the display equipment, the network topology is displayed through the display equipment, and the operation and maintenance personnel can better understand the network structure and organization of the local area network, optimize the network performance and improve the reliability and safety of the network through displaying the network topology.
In some embodiments, the operation and maintenance personnel can also diagnose and recover network faults based on the network topology, so that the operation and maintenance personnel can be helped to quickly locate network anomalies.
According to the construction method of the network topology, port information of a switch in a network and a first MAC address of the switch are obtained; determining a connection relationship between devices in the network based on the port information and the first MAC address; and constructing the network topology of the network based on the connection relation, so that the construction efficiency of the network topology can be improved.
In some embodiments, the port information includes: the step S102 may be implemented by the following steps of:
Step S1, a core switch and a non-core switch are determined from the switches based on the first MAC address.
In this embodiment of the present application, the core switch may be preset, the core switch may be marked in advance, and a first MAC address of the core switch has a correspondence with the mark of the core switch, and after the first MAC address is obtained, the core switch and the non-core switch may be distinguished.
In the embodiment of the present application, the core switch refers to a switch placed at the core layer (network backbone portion). It is located at the uppermost layer of the three-layer network architecture. Whereas the non-core switches are not switches placed in the backbone portion of the network.
In the embodiment of the application, the connection information of the core switch and the connection information of the non-core switch can be determined by classifying the switches.
Step S2, based on the first number of the second MAC addresses corresponding to the port numbers of the non-core switches and the first MAC addresses, connection information of the non-core switches is determined.
In this embodiment of the present application, the number of the corresponding second MAC addresses may be counted, so as to obtain the first number.
In this embodiment of the present application, the connection information may include a connection relationship between a switch and a device in the non-core switch, and a connection relationship between switches.
In the embodiment of the present application, step S2 may be implemented by the following steps:
step S21, dividing the port number of the non-core switch into a first port number and a second port number based on the first number, where the first number of the second MAC addresses corresponding to the first port number is 1, and the number of the second MAC addresses corresponding to the second port number is greater than 1.
In this embodiment of the present application, the first port number and the second port number are two types of port numbers, that is, the port numbers of the non-core switch may be divided into two types based on the first number, one type is the first port number, the other type is the second port number, the first number of the second MAC addresses corresponding to the first port number is 1, and the number of the second MAC addresses corresponding to the second port number is greater than 1.
In the embodiments of the present application, a non-core switch may include two types of port numbers, and in some embodiments, a non-core switch may include only one type of port number.
Step S22, determining a first connection relationship between a first port number of a non-core switch and a device corresponding to the first port number.
In this embodiment of the present application, since the first port number corresponds to only one second MAC address, the port number is connected to one device, and thus, the first connection relationship between the first port number of the non-core switch and the device corresponding to the first port number may be directly determined.
Step S23, determining connection information of the second port number based on the second MAC address and the first MAC address corresponding to the second port number of the non-core switch.
In this embodiment, step S23 may be implemented by the following steps:
in step S231, it is determined whether only one first MAC address is included in the second MAC address corresponding to the second port number of the non-core switch.
In this embodiment of the present application, the second MAC address corresponding to the second port number may be matched with the first MAC address, so as to determine whether the second MAC address corresponding to each two port number includes only one first MAC address.
When matching is performed, the similarity between the second MAC address corresponding to the second port and the first MAC address may be calculated, and whether matching is performed is determined by the similarity. When the similarity is greater than the similarity threshold, then a match may be considered.
In this embodiment of the present application, by matching, it may be determined whether the second MAC address corresponding to each second port number includes only one first MAC address.
In step S232, when only one first target first MAC address is included in the second MAC address corresponding to the second port number of the target non-core switch, the second port number of the target non-core switch is determined to be a first downstream port, the switch corresponding to the first target first MAC address is determined to be a first sub-switch, and the connection relationship between the first downstream port and the first sub-switch is determined.
In the embodiment of the present application, the target non-core switch may be any non-core switch having the second port number. Each non-core switch may be traversed to determine a port of the switch that includes only one first destination first MAC address in the second MAC address corresponding to the second port number of the non-core switch.
In this embodiment of the present application, if only one first target first MAC address is included in the second MAC address corresponding to the second port number of the target non-core switch, the port corresponding to the second port number determines the downstream port of the target non-core switch.
In this embodiment of the present application, the first target first MAC address may be any one first MAC address.
In step S233, when the second MAC address corresponding to the second port number of the target non-core switch includes a plurality of first target first MAC addresses, the second port number of the target non-core switch is determined to be a first uplink port, the switch corresponding to the first target first MAC address is determined to be a first parent switch, and a connection relationship between the first uplink port and the first parent switch is established.
In some embodiments, when the sub-switch is determined, the first MAC address of the sub-switch may be deleted from the cache.
According to the method and the device, whether the second MAC address corresponding to the second port number only comprises one first MAC address or not can be used for determining the uplink port or the downlink port of the target non-core switch and determining the connection relation of the uplink port or the downlink port of the target non-core switch, so that the father-son relation among the non-core switches can be determined.
And step S3, determining the connection information of each core switch based on the second number of the second MAC addresses corresponding to the port numbers of the core switches and the first MAC addresses.
In this embodiment of the present application, the connection information of the core switch includes: the ports of the core switch are connected to which device.
In the embodiment of the present application, step S3 may be implemented by the following steps:
and step S31, dividing the port numbers of the core switch into a third port number and a fourth port number based on the second number, wherein the second number of the second MAC addresses corresponding to the third port number is 1, and the second number of the second MAC addresses corresponding to the fourth port number is greater than 1.
In this embodiment of the present application, the third port number and the fourth port number are two types of port numbers, that is, the non-core port numbers may be divided into two types based on the first number, one type is the third port number, one type is the fourth port number, the first number of the second MAC addresses corresponding to the third port number is 1, and the number of the second MAC addresses corresponding to the fourth port number is greater than 1.
In the embodiments of the present application, a core switch may include two types of port numbers, and in some embodiments, a core switch may also include only one type of port number.
Step S32, determining a second connection relationship between a third port number of the core switch and a device corresponding to the third port number.
In this embodiment of the present application, since the third port number is connected to only one second MAC address, the second connection relationship between the third port number of the core switch and the device corresponding to the third port number may be directly determined.
Step S33, determining connection information of the fourth port number based on the second MAC address corresponding to the fourth port number of the core switch and the first MAC address.
In the embodiment of the present application, step S33 may be implemented by the following steps:
in step S331, it is determined whether only one first MAC address is included in the second MAC address corresponding to the fourth port number of the core switch.
In this embodiment of the present application, the second MAC address corresponding to the fourth port number may be matched with the first MAC address, so as to determine whether the second MAC address corresponding to each fourth port number includes only one first MAC address. When matching is performed, the similarity between the second MAC address corresponding to the fourth port and the first MAC address may be calculated, and whether matching is performed is determined by the similarity. When the similarity is greater than the similarity threshold, then a match may be considered.
In this embodiment of the present application, by matching, it may be determined whether only one first MAC address is included in the second MAC addresses corresponding to the fourth port numbers.
In step S332, when only one second target first MAC address is included in the second MAC address corresponding to the fourth port number of the target core switch, the fourth port number of the target core switch is determined to be a second downstream port, the switch corresponding to the second target first MAC address is determined to be a second sub-switch, and the connection relationship between the second downstream port and the second sub-switch is determined.
In the embodiment of the present application, the target core switch may be any core switch having the fourth port number. Each core switch may be traversed to determine ports of the switch that include only one first destination first MAC address from the second MAC address corresponding to the fourth port number of the core switch.
In this embodiment of the present application, if only one second target first MAC address is included in the second MAC addresses corresponding to the fourth port number of the target core switch, the port is a downstream port of the target core switch.
In this embodiment of the present application, the second target first MAC address may be any one first MAC address.
In step S333, when the second MAC address corresponding to the fourth port number of the target core switch includes a plurality of fourth target first MAC addresses, the fourth port number of the second target core switch is determined to be a second upstream port, the switch corresponding to the fourth target first MAC address is determined to be a second parent switch, and a connection relationship between the second upstream port and the second parent switch is established.
And step S4, determining the connection relation between the devices in the network at least based on the connection information of each non-core switch and the connection information of each core switch.
In the embodiment of the application, by determining the connection information of the non-core switch and the connection information of each core switch, it can be determined which device the port of the non-core switch is connected with.
In some embodiments, there may be a non-core switch and a core switch that does not support SNMP protocol, and this type of switch cannot determine the connection relationship through step S2 and step S3, and in some embodiments, determining the connection relationship between devices in the network based at least on the connection information of each non-core switch and the connection information of each core switch may be implemented by:
In step S41, the target switch is determined, where the number of second MAC addresses corresponding to the port number of the target switch is multiple, and the first MAC address is not included in the multiple second MAC addresses.
In the embodiment of the present application, the target switch is regarded as a switch that does not support the SNMP protocol. The target switch can be selected through step S2 and step S3.
Step S42, determining a connection relationship between the target switch and the device of the corresponding second MAC address based on the second MAC address corresponding to the port number of the target switch.
Step S43, determining a connection relationship between devices in the network based on the connection information of the non-core switches, the connection information of each core switch, and the connection relationship between the target switch and the corresponding device of the second MAC address.
According to the method for constructing the network topology, the upper-lower relationship and the connection relationship of the switches in the network are sequentially determined, so that the network topology can be constructed through the upper-lower relationship and the connection relationship. In the embodiment of the application, the upper and lower level relationship of the network can be determined by setting the core switch, then determining the connection relationship of the non-core switch and then determining the connection relationship of the core switch, and the upper and lower level relationship can be more accurate.
Based on the foregoing embodiments, the embodiments of the present application further provide a method for constructing a network topology, where the SNMP protocol is used to collect APP, so that real-time status data including a device model, a device port number, a network connection status, and the like may be obtained on a network device such as a switch. The collected data may be further analyzed and processed and then used to generate a network topology map. Based on these data, the connection relationships, topology and physical locations between network devices can be automatically or semi-automatically constructed. The automated process greatly improves the efficiency and accuracy of the construction of the network topology.
In this embodiment of the present application, the MAC address sets collected by the upstream and downstream ports of all switches in the lan are the same, so we need to specify an uppermost switch (the same as the core switch in the above embodiment), otherwise, only the connection relationship between them can be constructed, and the parent-child relationship may be different from the real result.
The method for constructing the network topology provided by the embodiment of the application comprises the following steps:
after querying the port data of all switches in the network (including the GUID, port number and MAC address of the device to which the port number is attached (as in the second MAC address in the above embodiment) of each switch), the own MAC addresses of all switches (as in the first MAC address in the above embodiment) are cached.
And traversing each switch. If a switch is determined to be a core switch, it is the object of the last processing. If not, the port with the number of MAC addresses equal to 1 is connected with the device below (the non-core switch in the above embodiment); and caching ports with the number of the MAC addresses being larger than 1.
Fig. 2 is a flow chart for determining a connection relationship between a non-core switch and a device connected thereunder according to an embodiment of the present application, where, as shown in fig. 2, the flow chart includes:
step S201, acquiring real-time data of all online switches.
Step S202, the MAC addresses and corresponding GUIDs of all switches are cached.
Step S203, the data of the core switch is cached.
Step S204, traversing data of the on-line switches except the core switch.
In step S205, whether or not to perform loop judgment is determined.
In the embodiment of the present application, if no, the flow is received, and if yes, step S206 is performed.
Step S206, traversing each port of the switch.
Step S207, whether to perform loop judgment or not.
In the embodiment of the present application, if not, step S205 is performed, and if yes, step S208 is performed.
In step S208, it is determined whether the number of MAC addresses present in the port is plural.
In the embodiment of the present application, if there are a plurality of, step S209 is performed, and if there is one, step S210 is performed.
Step S209, the GUID, port number and acquired MAC address of the switch are cached.
Step S210, the device with the single MAC address is connected to the switch.
Then, a port with a number of MAC addresses greater than 1 in the cache is traversed, and if only the MAC address of one switch appears at the current port, the switch of this MAC address is its sub-switch, which is the downstream port. Meanwhile, the port containing the MAC address of the parent switch is queried reversely as the uplink port of the child switch. It should be noted that after the relationship between the switches is established, the MAC addresses of the sub-switches are removed from the cache so that the other switches can be correctly matched.
Fig. 3 is a schematic flow chart for determining a connection relationship between switches according to an embodiment of the present application, where, as shown in fig. 3, the flow chart includes:
step S301, a loop of the connection relationship between the switches is started.
In step S302, the size of the multi-MAC address buffer is recorded.
Step S303, traversing the GUID, port number and collected multi-MAC address of the buffer number.
Step S304, judging whether to cycle through.
In the embodiment of the present application, if yes, step S305 is performed, and if not, step S311 is performed.
Step S305 determines whether only the MAC address of a certain switch is included.
In the embodiment of the present application, if yes, step S306 is performed, and if no, step S308 is performed.
In step S306, under the condition of searching for multiple MAC caches, the ports in the sub-switch include the MAC address of the parent switch, and the ports are uplink ports of the sub-switch.
Step S307, the parent switch and the child switch are connected.
After S307 is performed, step S304 is performed.
Step S308, determining whether any switch is not included in the multiple MAC addresses.
If not, step S304 is performed, and if yes, step S309 is performed.
Step S309, consider that the port is connected to a switch that does not support SNMP protocol.
Step S310, the switch GUID, port number and collected multi-MAC address are cached.
After step S310 is performed, step S304 is performed.
In step S311, the ports connected to the parent switch and the child switch in the multi-MAC cache are deleted.
Step S312, loop traversal: and calculating whether the current multi-MAC address cache size is equal to the initial cache size.
If yes, the flow ends, and if no, step S301 is executed.
In the embodiment of the present application, the above steps are repeated until no connection relationship is matched.
When the above steps are performed, the connection relationship between all the switches except the core switch and the switch that does not support the SNMP protocol is established, and only the ports of the core switch need to be traversed to determine the non-core switch to connect with the already connected switch, fig. 4 is a schematic flow diagram of determining connection information of the core switch, as shown in fig. 4, including:
step S401, a core switch cache information list is fetched.
Step S402, loop judgment.
In the embodiment of the present application, if yes, step S403 is executed, and if not, the flow ends.
Step S403, traversing each port.
Step S404, judging whether to perform loop judgment.
In the embodiment of the present application, if yes, step S305 is performed, and if no, step S402 is performed.
In step S405, it is determined whether the port MAC address is cached by 1 switch MAC address.
In the embodiment of the present application, if yes, step S406 is performed, and if no, step S407 is performed.
Step S406, a relationship between the core switch and the switch is connected.
In step S407, it is determined whether the port MAC address is greater than 1.
In the embodiment of the present application, if not, step S408 is performed, and if yes, step S409 is performed.
In step S408, the switch that the next device does not support the SNMP protocol stores in the corresponding cache.
Step S409, a relationship between the switch and the device is connected.
After step S408 and step S409, step S404 is performed.
All the ports with multiple MAC addresses under the remaining switches are regarded as switches that do not support the SNMP protocol (the same as the target switch in the above embodiment), and are connected to the corresponding ports, and fig. 5 is a schematic flow chart for determining a connection relationship of the switches that do not support the SNMP protocol according to the embodiment of the present application, as shown in fig. 5, including:
in step S501, cache information that does not support the SNMP protocol is fetched.
Step S502, traversing GUID and port.
Step S503, it is determined whether or not to perform loop judgment.
In the embodiment of the present application, if yes, step S504 is executed, and if no, the flow ends.
In step S504, a switch is created, and the GUID is the add port of the up GUID.
In step S505, the switch is connected to all the MAC address devices.
By the method, the upper and lower relationships and the connection relationships of all the switches in the local area network can be constructed, so that the network topology of the local area network is obtained.
Based on the foregoing embodiments, the embodiments of the present application provide a device for constructing a network topology, where each module included in the device and each unit included in each module may be implemented by a processor in a computer device; of course, the method can also be realized by a specific logic circuit; in practice, the processor may be a central processing unit (CPU, central Processing Unit), a microprocessor (MPU, microprocessor Unit), a digital signal processor (DSP, digital Signal Processing), or a field programmable gate array (FPGA, field Programmable Gate Array), or the like.
An embodiment of the present application provides a device for constructing a network topology, and fig. 6 is a schematic structural diagram of the device for constructing a network topology provided in the embodiment of the present application, as shown in fig. 6, a device 600 for constructing a network topology includes:
an acquiring module 601, configured to acquire port information of a switch in a network and a first MAC address of the switch;
a determining module 602, configured to determine a connection relationship between devices in the network based on the port information and the first MAC address;
A construction module 603, configured to construct a network topology of the network based on the connection relationship.
In some embodiments, the port information includes: the determining module 602, including:
a first determining unit configured to determine a core switch and a non-core switch from the switches based on the first MAC address;
a second determining unit configured to determine connection information of each non-core switch based on a first number of second MAC addresses corresponding to port numbers of each non-core switch and the first MAC address;
a third determining unit configured to determine connection information of each core switch based on a second number of second MAC addresses corresponding to port numbers of each core switch and the first MAC address;
and a fourth determining unit configured to determine a connection relationship between devices in the network based at least on the connection information of each non-core switch and the connection information of each core switch.
In some embodiments, the second determining unit includes:
a first classifying subunit, configured to divide, based on the first number, a port number of the non-core switch into a first port number and a second port number, where the first number of second MAC addresses corresponding to the first port number is 1, and the number of second MAC addresses corresponding to the second port number is greater than 1;
A first determining subunit, configured to determine a first connection relationship between a first port number of a non-core switch and a device corresponding to the first port number;
and a second determination subunit configured to determine connection information of the second port number based on the second MAC address and the first MAC address corresponding to the second port number of the non-core switch.
In some embodiments, the second determining subunit is specifically configured to:
determining whether the second MAC address corresponding to each second port number only comprises one first MAC address or not based on the second MAC address corresponding to the second port number of the non-core switch and the first MAC address;
under the condition that only one first target first MAC address is included in a second MAC address corresponding to a second port number of a target non-core switch, determining the second port number of the target non-core switch as a first downlink port, determining a switch corresponding to the first target first MAC address as a first sub-switch, and determining a connection relation between the first downlink port and the first sub-switch;
and under the condition that a plurality of first target first MAC addresses are included in a second MAC address corresponding to a second port number of the target non-core switch, determining the second port number of the target non-core switch as a first uplink port, determining a switch corresponding to the first target first MAC address as a first father switch, and establishing a connection relation between the first uplink port and the first father switch.
In some embodiments, the third determining unit includes:
a second classification subunit, configured to divide the port numbers of the core switch into a third port number and a fourth port number based on the second number, where the second number of second MAC addresses corresponding to the third port number is 1, and the second number of second MAC addresses corresponding to the fourth port number is greater than 1;
a third determining subunit, configured to determine a second connection relationship between a third port number of the core switch and a device corresponding to the third port number;
and the fourth determining subunit is used for determining the connection information of the fourth port number based on the second MAC address corresponding to the fourth port number of the core switch and the first MAC address.
In some embodiments, the fourth determination subunit is specifically configured to:
determining whether the second MAC address corresponding to each fourth port number only comprises one first MAC address or not based on the second MAC address corresponding to the fourth port number of the core switch and the first MAC address;
under the condition that only one second target first MAC address is included in a second MAC address corresponding to a fourth port number of a target core switch, determining the fourth port number of the target core switch as a second downlink port, determining a switch corresponding to the second target first MAC address as a second sub-switch, and determining a connection relationship between the second downlink port and the second sub-switch;
And under the condition that a plurality of fourth target first MAC addresses are included in a second MAC address corresponding to a fourth port number of the target core switch, determining the fourth port number of the second target core switch as a second uplink port, determining the switch corresponding to the fourth target first MAC address as a second father switch, and establishing a connection relationship between the second uplink port and the second father switch.
In some embodiments, the fourth determining unit comprises:
a fifth determining subunit, configured to determine a target switch, where the number of second MAC addresses corresponding to the port number of the target switch is multiple, and the multiple second MAC addresses do not include the first MAC address;
and a sixth determining subunit, configured to determine, based on a second MAC address corresponding to the port number of the target switch, a connection relationship between the target switch and a device of the second MAC address.
In some embodiments, the acquisition module includes:
and the acquisition unit is used for acquiring port information of the switch and the first MAC address of the switch in the network based on the SNMP protocol.
An embodiment of the present application provides an electronic device, fig. 7 is a schematic diagram of a composition structure of the electronic device provided in the embodiment of the present application, as shown in fig. 7, and the electronic device 700 includes: a processor 701, at least one communication bus 702, a user interface 703, at least one external communication interface 704, a memory 705. Wherein the communication bus 702 is configured to enable connected communication between these components. The user interface 703 may include a display screen, and the external communication interface 704 may include a standard wired interface and a wireless interface, among others. The processor 701 is configured to execute a program of a construction method of a network topology stored in a memory to implement the steps in the construction method of a network topology provided in the above-described embodiment.
In the embodiment of the present application, if the method for constructing a network topology is implemented in the form of a software functional module, and sold or used as a separate product, the method may also be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially or partly contributing to the prior art, and the computer software product may be stored in a storage medium, and include several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read Only Memory (ROM), a magnetic disk, an optical disk, or other various media capable of storing program codes. Thus, embodiments of the present application are not limited to any specific combination of hardware and software.
Accordingly, an embodiment of the present application provides a storage medium having stored thereon a computer program which, when executed by a processor, implements the steps in the method for constructing a network topology provided in the above embodiment.
Embodiments of the present application further provide a computer program product, which when executed on a terminal device, causes an electronic device to execute the method for constructing a network topology according to any one of the above.
The description of the electronic device and the storage medium embodiments above is similar to that of the method embodiments described above, with similar advantageous effects as the method embodiments. For technical details not disclosed in the embodiments of the computer apparatus and the storage medium of the present application, please refer to the description of the method embodiments of the present application.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present application. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. It should be understood that, in various embodiments of the present application, the sequence numbers of the foregoing processes do not mean the order of execution, and the order of execution of the processes should be determined by the functions and internal logic thereof, and should not constitute any limitation on the implementation process of the embodiments of the present application. The foregoing embodiment numbers of the present application are merely for describing, and do not represent advantages or disadvantages of the embodiments.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above described device embodiments are only illustrative, e.g. the division of the units is only one logical function division, and there may be other divisions in practice, such as: multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. In addition, the various components shown or discussed may be coupled or directly coupled or communicatively coupled to each other via some interface, whether indirectly coupled or communicatively coupled to devices or units, whether electrically, mechanically, or otherwise.
The units described above as separate components may or may not be physically separate, and components shown as units may or may not be physical units; can be located in one place or distributed to a plurality of network 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 be separately used as one unit, or two or more units may be integrated in one unit; the integrated units may be implemented in hardware or in hardware plus software functional units.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the above method embodiments may be implemented by hardware related to program instructions, and the foregoing program may be stored in a computer readable storage medium, where the program, when executed, performs steps including the above method embodiments; and the aforementioned storage medium includes: a mobile storage device, a Read Only Memory (ROM), a magnetic disk or an optical disk, or the like, which can store program codes.
Alternatively, the integrated units described above may be stored in a computer readable storage medium if implemented in the form of software functional modules and sold or used as a stand-alone product. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially or partly contributing to the prior art, embodied in the form of a software product stored in a storage medium, comprising several instructions for causing a controller to execute all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a removable storage device, a ROM, a magnetic disk, or an optical disk.
The foregoing is merely an embodiment of the present application, but the protection scope of the present application is not limited thereto, and any person skilled in the art can easily think about changes or substitutions within the technical scope of the present application, and the changes and substitutions are intended to be covered in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (8)

1. A method for constructing a network topology, comprising:
Acquiring port information of a switch in a network and a first MAC address of the switch, wherein the port information comprises: a port number and a second MAC address of a device to which the port number is connected;
determining a connection relationship between devices in the network based on the port information and the first MAC address, including: determining a core switch and a non-core switch from the switches based on the first MAC address; determining connection information of each non-core switch based on a first number of second MAC addresses corresponding to port numbers of each non-core switch and the first MAC addresses; determining connection information of each core switch based on a second number of second MAC addresses corresponding to port numbers of each core switch and the first MAC addresses; determining connection relationships between devices in the network based at least on connection information of each non-core switch and connection information of each core switch, wherein determining connection information of each non-core switch based on the first number of second MAC addresses corresponding to port numbers of each non-core switch and the first MAC address includes: dividing the port number of the non-core switch into a first port number and a second port number based on the first number, wherein the first number of second MAC addresses corresponding to the first port number is 1, and the number of second MAC addresses corresponding to the second port number is greater than 1; determining a first connection relation between a first port number of a non-core switch and equipment corresponding to the first port number; determining connection information of the second port number based on a second MAC address and a first MAC address corresponding to the second port number of the non-core switch, where determining connection information of the second port number based on the second MAC address and the first MAC address corresponding to the second port number of the non-core switch includes: determining whether the second MAC address corresponding to the second port number of the non-core switch only comprises one first MAC address; under the condition that only one first target first MAC address is included in a second MAC address corresponding to a second port number of a target non-core switch, determining the second port number of the target non-core switch as a first downlink port, determining a switch corresponding to the first target first MAC address as a first sub-switch, and determining a connection relation between the first downlink port and the first sub-switch;
And constructing the network topology of the network based on the connection relation.
2. The method according to claim 1, wherein the determining connection information of the second port number based on the second MAC address and the first MAC address corresponding to the second port number of the non-core switch includes:
and under the condition that a plurality of first target first MAC addresses are included in a second MAC address corresponding to a second port number of the target non-core switch, determining the second port number of the target non-core switch as a first uplink port, determining a switch corresponding to the first target first MAC address as a first father switch, and establishing a connection relation between the first uplink port and the first father switch.
3. The method of claim 1, wherein the determining connection information of each core switch based on the first MAC address and the second number of second MAC addresses corresponding to port numbers of each core switch comprises:
dividing the port number of the core switch into a third port number and a fourth port number based on the second number, wherein the second number of the second MAC addresses corresponding to the third port number is 1, and the second number of the second MAC addresses corresponding to the fourth port number is greater than 1;
Determining a second connection relationship between a third port number of the core switch and a device corresponding to the third port number;
and determining the connection information of the fourth port based on the second MAC address corresponding to the fourth port of the core switch and the first MAC address.
4. A method according to claim 3, wherein the determining connection information of the fourth port number based on the second MAC address corresponding to the fourth port number of the core switch and the first MAC address comprises:
determining whether the second MAC address corresponding to the fourth port number of the core switch only comprises one first MAC address;
under the condition that only one second target first MAC address is included in a second MAC address corresponding to a fourth port number of a target core switch, determining the fourth port number of the target core switch as a second downlink port, determining a switch corresponding to the second target first MAC address as a second sub-switch, and determining a connection relationship between the second downlink port and the second sub-switch;
and under the condition that a plurality of fourth target first MAC addresses are included in a second MAC address corresponding to a fourth port number of the target core switch, determining the fourth port number of the second target core switch as a second uplink port, determining the switch corresponding to the fourth target first MAC address as a second father switch, and establishing a connection relationship between the second uplink port and the second father switch.
5. The method of claim 4, wherein the determining the connection relationship between devices in the network based at least on the connection information of each non-core switch and the connection information of each core switch comprises:
determining a target switch, wherein a plurality of second MAC addresses corresponding to port numbers of the target switch are provided, and the first MAC addresses are not included in the plurality of second MAC addresses;
determining a connection relationship between the target switch and equipment of the corresponding second MAC address based on the second MAC address corresponding to the port number of the target switch;
and determining the connection relation between the devices in the network based on the connection information of the non-core switch, the connection information of each core switch and the connection relation between the target switch and the corresponding device with the second MAC address.
6. A network topology constructing apparatus, comprising:
the device comprises an acquisition module, a first MAC address acquisition module and a second MAC address acquisition module, wherein the acquisition module is used for acquiring port information of a switch in a network and a first MAC address of the switch, and the port information comprises: a port number and a second MAC address of a device to which the port number is connected;
a determining module, configured to determine a connection relationship between devices in the network based on the port information and the first MAC address, where determining the connection relationship between devices in the network based on the port information and the first MAC address includes: determining a core switch and a non-core switch from the switches based on the first MAC address; determining connection information of each non-core switch based on a first number of second MAC addresses corresponding to port numbers of each non-core switch and the first MAC addresses; determining connection information of each core switch based on a second number of second MAC addresses corresponding to port numbers of each core switch and the first MAC addresses; determining connection relationships between devices in the network based at least on connection information of each non-core switch and connection information of each core switch, wherein determining connection information of each non-core switch based on the first number of second MAC addresses corresponding to port numbers of each non-core switch and the first MAC address includes: dividing the port number of the non-core switch into a first port number and a second port number based on the first number, wherein the first number of second MAC addresses corresponding to the first port number is 1, and the number of second MAC addresses corresponding to the second port number is greater than 1; determining a first connection relation between a first port number of a non-core switch and equipment corresponding to the first port number; determining connection information of the second port number based on a second MAC address and a first MAC address corresponding to the second port number of the non-core switch, where determining connection information of the second port number based on the second MAC address and the first MAC address corresponding to the second port number of the non-core switch includes: determining whether the second MAC address corresponding to the second port number of the non-core switch only comprises one first MAC address; under the condition that only one first target first MAC address is included in a second MAC address corresponding to a second port number of a target non-core switch, determining the second port number of the target non-core switch as a first downlink port, determining a switch corresponding to the first target first MAC address as a first sub-switch, and determining a connection relation between the first downlink port and the first sub-switch;
And the construction module is used for constructing the network topology of the network based on the connection relation.
7. An electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the method of any one of claims 1 to 5 when executing the computer program.
8. A computer readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the method according to any one of claims 1 to 5.
CN202311451912.6A 2023-11-03 2023-11-03 Method and device for constructing network topology, electronic equipment and storage medium Active CN117176588B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311451912.6A CN117176588B (en) 2023-11-03 2023-11-03 Method and device for constructing network topology, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311451912.6A CN117176588B (en) 2023-11-03 2023-11-03 Method and device for constructing network topology, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN117176588A CN117176588A (en) 2023-12-05
CN117176588B true CN117176588B (en) 2024-02-06

Family

ID=88939900

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311451912.6A Active CN117176588B (en) 2023-11-03 2023-11-03 Method and device for constructing network topology, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117176588B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109257225A (en) * 2018-10-12 2019-01-22 北京信研汇智信息技术有限公司 Generate method, apparatus, storage medium and the processor of network topology
CN111600762A (en) * 2020-06-02 2020-08-28 山东中创软件商用中间件股份有限公司 Network topology structure generation method, device, equipment and medium
CN111934921A (en) * 2020-07-29 2020-11-13 深信服科技股份有限公司 Network topology discovery method and device, equipment and storage medium
CN112751714A (en) * 2020-12-31 2021-05-04 杭州海康威视系统技术有限公司 Method, apparatus and computer storage medium for determining network topology
CN115552859A (en) * 2020-06-01 2022-12-30 西门子股份公司 Network topology construction method and device and computer readable medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7916723B2 (en) * 2000-03-03 2011-03-29 Adtran, Inc. Automatic network topology identification by nodes in the network

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109257225A (en) * 2018-10-12 2019-01-22 北京信研汇智信息技术有限公司 Generate method, apparatus, storage medium and the processor of network topology
CN113572645A (en) * 2018-10-12 2021-10-29 北京信研汇智信息技术有限公司 Method, device, storage medium and processor for generating network topology
CN115552859A (en) * 2020-06-01 2022-12-30 西门子股份公司 Network topology construction method and device and computer readable medium
CN111600762A (en) * 2020-06-02 2020-08-28 山东中创软件商用中间件股份有限公司 Network topology structure generation method, device, equipment and medium
CN111934921A (en) * 2020-07-29 2020-11-13 深信服科技股份有限公司 Network topology discovery method and device, equipment and storage medium
CN112751714A (en) * 2020-12-31 2021-05-04 杭州海康威视系统技术有限公司 Method, apparatus and computer storage medium for determining network topology

Also Published As

Publication number Publication date
CN117176588A (en) 2023-12-05

Similar Documents

Publication Publication Date Title
CN110855473B (en) Monitoring method, device, server and storage medium
CN107368405B (en) Test system, test method, mock platform, interceptor and client
CN108512716B (en) Method, system, computer device and storage medium for reporting device information
CN107463479A (en) A kind of social data monitoring system
CN109767509A (en) A kind of equipment operation management method, apparatus, readable medium and electronic equipment
CN112087462A (en) Vulnerability detection method and device of industrial control system
CN111464376A (en) Website availability monitoring method and device, storage medium and computer equipment
CN110493085A (en) Statistical method, system, electronic equipment and the medium of IPv6 active users
CN111061802B (en) Power data management processing method, device and storage medium
CN111726352A (en) Method, apparatus, computer device and medium for visually monitoring probe status
CN111061588A (en) Method and device for locating database abnormal source
CN117176588B (en) Method and device for constructing network topology, electronic equipment and storage medium
CN109558300B (en) Whole cabinet alarm processing method and device, terminal and storage medium
CN106358220A (en) Detection method of abnormal contact person information, device and system
JP6501924B2 (en) Method and server for canceling alert
CN105550250B (en) A kind of processing method and processing device of access log
CN110138720B (en) Method and device for detecting abnormal classification of network traffic, storage medium and processor
CN115022201B (en) Data processing function test method, device, equipment and storage medium
CN108291954A (en) The establishment system and its control method of wave condition map
CN113452533B (en) Charging self-inspection and self-healing method and device, computer equipment and storage medium
US11405276B2 (en) Device configuration management apparatus, system, and program
JP6060123B2 (en) Influence range identification device, influence range identification method, and program
CN111800409A (en) Interface attack detection method and device
JP7046423B1 (en) Information processing equipment, information processing methods, and programs
WO2024088025A1 (en) Automated 5gc network element management method and apparatus based on multi-dimensional data

Legal Events

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