CN112398738A - Method, device and equipment for acquiring connection relation and computer readable storage medium - Google Patents
Method, device and equipment for acquiring connection relation and computer readable storage medium Download PDFInfo
- Publication number
- CN112398738A CN112398738A CN202011222198.XA CN202011222198A CN112398738A CN 112398738 A CN112398738 A CN 112398738A CN 202011222198 A CN202011222198 A CN 202011222198A CN 112398738 A CN112398738 A CN 112398738A
- Authority
- CN
- China
- Prior art keywords
- interface
- physical server
- switch
- server
- identifier
- 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
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/74—Address processing for routing
- H04L45/745—Address table lookup; Address filtering
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/15—Interconnection of switching modules
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2101/00—Indexing scheme associated with group H04L61/00
- H04L2101/60—Types of network addresses
- H04L2101/618—Details of network addresses
- H04L2101/622—Layer-2 addresses, e.g. medium access control [MAC] addresses
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The method for obtaining connection relationship includes obtaining first corresponding relationship through information of physical server and address of virtual server stored in switch in network and used for indicating communication through switch, obtaining second corresponding relationship through address of virtual server and address of physical server read out from interface of switch, generating network connection relationship according to first corresponding relationship and second corresponding relationship and connection relationship between switches, network connection relationship indicating connection relationship between switches and connection relationship between physical server and virtual server realized by switch, has better universality.
Description
Technical Field
The present application relates to the field of electronic information, and in particular, to a method and an apparatus for acquiring a connection relationship, a device, and a computer-readable storage medium.
Background
Network interconnection topology relationships can typically embody the relationship of connections between switches in a network. The network interconnection topological relation plays an important role in maintaining the network.
With the development of the cloud technology, the connection relationship between each switch, each physical server and each virtual server also has an important influence on the maintenance of the network. However, in the current network interconnection topological relationship, the connection relationship among the switch, the physical server and the virtual server cannot be embodied.
Disclosure of Invention
The applicant found in the course of the study: the connection relation between any switch and the physical server and the connection relation between the virtual server and the physical server in the network can be obtained, and then the connection relation between each switch and the virtual server in the network can be determined according to the connection relation between the switches. However, because of the difference between the network architecture and the "cloud" architecture, there is no method with wide adaptability in the prior art, which can obtain the connection relationship between any switch and the physical server and the virtual server.
The application provides a method, a device and a computer readable storage medium for acquiring a connection relation, and aims to solve the problem of how to provide a general technology for acquiring the connection relation between a switch, a physical server and a virtual server.
In order to achieve the above object, the present application provides the following technical solutions:
a method for acquiring a connection relation comprises the following steps:
acquiring a first corresponding relation through information stored in a switch in a network, wherein the information indicates information of a physical server communicated through the switch, and the first corresponding relation comprises the information of the switch, interface information of the switch, and a corresponding relation between the information of the physical server and the interface information of the physical server;
acquiring a second corresponding relation through the address of the physical server and the address of the virtual server read by the interface of the switch, wherein the second corresponding relation comprises interface information of the switch and the corresponding relation between the physical server and the virtual server; the virtual server corresponding to the physical server is the virtual server running on the physical server;
determining a third corresponding relation according to the first corresponding relation and the second corresponding relation, wherein the third corresponding relation comprises the corresponding relation among the information of the switch, the interface information of the switch, the information of the physical server, the interface information of the physical server and the information of the virtual server;
and generating a network connection relation according to the third corresponding relation and the connection relation between the switches, wherein the network connection relation indicates the connection relation between the switches and the connection relation between the physical servers and the virtual servers realized by the switches.
Optionally, the obtaining the first corresponding relationship through information stored in a switch in the network includes:
capturing the identifier of the switch, the interface identifier of the switch and a Link Layer Discovery Protocol (LLDP) table in the switch;
acquiring the identifier of the physical server and the interface identifier of the physical server recorded in the LLDP table;
and correspondingly storing the identifier of the switch, the interface identifier of the switch, the identifier of the physical server and the interface identifier of the physical server to obtain the first corresponding relation.
Optionally, the method further includes:
capturing a media intervention control MAC address table in a target switch, wherein the target switch is a switch with a target interface, the target interface is an interface which has a connection relation with a target physical server, and the target physical server is a physical server which cannot be inquired in the LLDP table;
acquiring the MAC address in the MAC address table as the MAC address to be checked;
inquiring the corresponding relation between the MAC address of a preset physical server and the information of the physical server, and acquiring the identifier of the physical server corresponding to the MAC address to be inquired and the interface identifier of the physical server;
correspondingly storing the identification of the target switch, the interface identification of the target switch, the identification of the physical server corresponding to the MAC address to be checked and the interface identification of the physical server to obtain a first complementary corresponding relation;
merging the supplemental first correspondence to the first correspondence.
Optionally, the obtaining a second corresponding relationship by the address of the physical server and the address of the virtual server read through the interface of the switch includes:
capturing the MAC address of the physical server recorded by the interface in the switch as a first MAC address to be checked, and capturing the MAC address of the virtual server recorded by the interface as a second MAC address to be checked;
inquiring the corresponding relation between the MAC address of the preset physical service and the information of the physical server, and acquiring the identifier of the physical server corresponding to the first MAC address to be inquired and the interface identifier of the physical server;
inquiring the corresponding relation between the MAC address of a preset virtual server and the information of the virtual server, and acquiring the identifier of the virtual server corresponding to the second MAC address to be inquired and the interface identifier of the virtual server;
and obtaining the second corresponding relation according to the interface, the first MAC address to be searched and the second MAC address to be searched, and the interface identifier of the corresponding storage switch, the identifier of the physical server, the interface identifier of the physical server, the identifier of the virtual server and the interface identifier of the virtual server.
Optionally, the obtaining the second corresponding relationship further includes:
before the second corresponding relationship is obtained according to the interface, the first MAC address to be searched and the second MAC address to be searched, and corresponding interface identification of a corresponding storage switch, identification of a physical server, interface identification of the physical server, identification of a virtual server and interface identification of the virtual server, the corresponding relationship between the physical server and the virtual server is obtained from a monitoring API;
the obtaining the second corresponding relationship according to the interface, the first MAC address to be checked, and the second MAC address to be checked, by using the interface identifier of the corresponding storage switch, the identifier of the physical server, the interface identifier of the physical server, the identifier of the virtual server, and the interface identifier of the virtual server, includes:
and if the corresponding physical server and the virtual server acquired from the monitoring API are recorded by the same interface, correspondingly storing an interface identifier of the switch, an identifier of the physical server, an interface identifier of the physical server, an identifier of the virtual server and an interface identifier of the virtual server according to the interface, the first MAC address to be searched and the second MAC address to be searched.
Optionally, the method further includes:
and if the corresponding physical server and the virtual server acquired from the monitoring API are not recorded by the same interface, sending out manual checking prompt information.
Optionally, the process of acquiring the connection relationship between the switches includes:
and acquiring the connection relation between the switches through a link layer discovery protocol.
An apparatus for acquiring connection relation, comprising:
a first obtaining unit configured to obtain, through information stored in a switch in a network, a first correspondence relationship, where the information indicates information of a physical server that communicates through the switch, and the first correspondence relationship includes a correspondence relationship between the information of the switch, interface information of the switch, and information of the physical server and the interface information of the physical server;
a second obtaining unit, configured to obtain a second correspondence relationship through an address of a physical server and an address of a virtual server read by an interface of the switch, where the second correspondence relationship includes interface information of the switch, and a correspondence relationship between the physical server and the virtual server; the virtual server corresponding to the physical server is the virtual server running on the physical server;
a determining unit, configured to determine a third corresponding relationship according to the first corresponding relationship and the second corresponding relationship, where the third corresponding relationship includes a corresponding relationship between the information of the switch, the interface information of the switch, the information of the physical server, and the interface information of the physical server and the information of the virtual server;
and the generating unit is used for generating a network connection relation according to the third corresponding relation and the connection relation between the switches, wherein the network connection relation indicates the connection relation between the switches and the connection relation between each physical server and each virtual server realized through the switches.
An electronic device, comprising: a processor and a memory for storing a program; the processor is configured to run the program to implement the above-mentioned method for acquiring a connection relationship.
A computer-readable storage medium having stored therein instructions, which when run on a computer, cause the computer to execute the above-described connection relationship acquisition method.
The method and the device obtain a first corresponding relation through information which is stored in a switch in a network and indicates a physical server communicated through the switch, obtain a second corresponding relation through the address of the physical server and the address of a virtual server read by the interface of the switch, wherein the first corresponding relation comprises the corresponding relation among the information of the switch, the interface information of the switch, the information of the physical server and the interface information of the physical server, the second corresponding relation comprises the interface information of the switch, the corresponding relation between the physical server and the virtual server, and determine a third corresponding relation according to the first corresponding relation and the second corresponding relation, the third corresponding relation comprises the corresponding relation among the information of the switch, the interface information of the switch, the information of the physical server, the interface information of the physical server and the information of the virtual server, and generating a network connection relation according to the third corresponding relation and the connection relation between the switches, wherein the network connection relation indicates the connection relation between the switches and the connection relation between each physical server and each virtual server realized through the switches.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of a method for acquiring a connection relationship disclosed in an embodiment of the present application;
fig. 2 is a flowchart of another method for acquiring a connection relationship disclosed in the embodiment of the present application;
fig. 3 is a flowchart of another method for acquiring a connection relationship disclosed in the embodiment of the present application;
fig. 4 is a schematic structural diagram of an apparatus for acquiring a connection relationship disclosed in an embodiment of the present application;
fig. 5 is a schematic structural diagram of a base station controller disclosed in an embodiment of the present application.
Detailed Description
The method for acquiring the connection relation provided by the embodiment of the application can be applied to the following scenes: in the network, each (lower layer) physical server (which may be a server device or the like) performs information interaction through a (access layer) switch. Wherein the physical server runs a virtual server thereon.
The method for acquiring the connection relationship provided by the embodiment of the application aims to acquire the connection relationship between the switch and the physical server and the virtual server, and then acquire the connection relationship among each switch, each physical server and each virtual server in a network by combining the connection relationship between the switch and the switch.
The technical scheme provided by the embodiment of the application has the innovative point that based on the characteristics of the existing network communication mechanism, the connection relation of the switch, the physical server and the virtual server is extracted from the data product of the existing network communication, so that the universality is realized.
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Fig. 1 is a method for acquiring a connection relationship disclosed in an embodiment of the present application, including the following steps:
s101, acquiring a first corresponding relation through information stored in a switch in a network.
Principle based on network communication: the physical server always needs to access a certain interface of the switch to communicate with the outside, and the switch records the information of the physical server communicating through the switch and the interface information of the physical server. Therefore, the information stored in the switch includes information of the physical server and interface information of the physical server that communicate via the switch. S101 acquires the first correspondence relationship through information stored in the switch.
The information indicates information of a physical server and an interface of the physical server which are communicated through the switch, and the first corresponding relation comprises the corresponding relation between the information of the switch, the interface information of the switch, the information of the physical server and the interface information of the physical server.
It is to be understood that the information of the physical server corresponding to the information of any one switch and the interface information of the switch is information of the physical server communicating through the interface, and the interface information of the physical server corresponding to the information of any one switch and the interface information of the switch is information of the interface of the physical server connected to the interface.
S102, the address of the physical server and the address of the virtual server are read through the interface of the switch, and a second corresponding relation is obtained.
Principle based on network communication: the physical server always needs to be accessed to a certain interface of the switch to communicate with the outside, and the virtual server running on the physical server needs to be accessed to the interface to communicate with the outside, so that the interface of the switch can read the address of the physical server and the address of the virtual server. S102 obtains the second corresponding relationship by reading the address of the physical server and the address of the virtual server through the interface of the switch.
The second corresponding relation comprises interface information of the switch, and a corresponding relation between the physical server and the virtual server.
It is understood that the virtual server corresponding to any one of the physical servers is a virtual server running on the physical server. The physical server and the virtual server corresponding to any interface information are the physical server and the virtual server which are read by the interface to address.
S103, determining a third corresponding relation according to the first corresponding relation and the second corresponding relation.
The third corresponding relation comprises the corresponding relation between the information of the switch, the interface information of the switch, the information of the physical server, the interface information of the physical server and the information of the virtual server.
It can be understood that, with the interface information of the switch and the physical server as a bridge, the third corresponding relationship can be obtained by splicing the first corresponding relationship and the second corresponding relationship.
And S104, generating a network connection relation according to the third corresponding relation and the connection relation between the switches.
The network connection relation indicates the connection relation among all the switches and the connection relation between all the physical servers and all the virtual servers realized through the switches.
Optionally, the connection relationship between the switches may be obtained through a link layer discovery protocol, and a specific implementation manner may refer to the prior art, which is not described herein again.
It can be understood that, in the process described in this embodiment, the existing connection relationship between the switches is expanded to the connection relationship between each switch, each physical server, and each virtual server, which is realized through the switches. Thus, in case of a failure of a certain part (e.g. a switch, a physical server or a virtual server), it is convenient to acquire all other parts (e.g. a switch, a physical server and a virtual server) that are affected.
In addition, the process acquires the data recorded by the network communication from the switch to acquire the corresponding relation according to the principle of the network communication, so the application range is wide, and the universality is high.
The flow shown in fig. 1 will be exemplified in more detail below.
Fig. 2 is a diagram of another method for acquiring a connection relationship, disclosed in an embodiment of the present application, including the following steps:
s201, capturing the identification of each switch, the identification of each interface of each switch and a link layer discovery protocol LLDP table in each switch.
The LLDP table is an important database table on the switch, and is used to record the interconnection relationship between the switch and all the physical servers (including the physical server identifier and the interface identifier of the service server) which are connected downstream and start the LLDP process.
Usually, the switch records its own identity and the identities of its respective interfaces.
Therefore, the correspondence relationship between the identifier of the switch, the interface identifier of the switch, and the LLDP table can be obtained through S201.
Alternatively, the LLDP table may be fetched using a preset protocol, such as SNMP, SSH, or the like.
S202, acquiring the identification of the physical server and the interface identification of the physical server recorded in the LLDP table.
S203, correspondingly storing the identifier of the switch, the interface identifier of the switch, the identifier of the physical server and the interface identifier of the physical server to obtain a first corresponding relation.
Since S201 acquires the correspondence relationship between the identifier of the switch, the interface identifier of the switch, and the LLDP table, it can be understood that, for any LLDP table, the identifier of the physical server and the interface identifier of the physical server recorded therein correspond to the identifier of the switch and the interface identifier of the switch corresponding to the table. That is, the LLDP table is used as a bridge, and the first corresponding relationship is obtained by splicing.
In practice, although the interface of the physical server and the interface of the switch are in a connection state (which may be determined by querying the connection state between the interfaces, for example, the state between a certain interface of the switch and a certain interface of the physical server is "UP"), the physical server is not configured with the LLDP (hereinafter, referred to as a target physical server), and the identifier of the target physical server is not obtained in the LLDP table, so that the information of the physical server having a connection relationship with the interface is missed. To prevent this, in this embodiment, S204-S208 are performed.
S204, capturing a media intervention control MAC address table in the target switch.
The target switch is a switch with a target interface, and the target interface is an interface which has a connection relation with the target physical server. As described above, the target physical server is a physical server that is not configured with the LLDP, that is, a physical server that cannot be searched (information) in the LLDP table.
Although the LLDP table does not look UP the target physical server, the MAC address of the target physical server is recorded in the connected switch because the target physical server communicates through the connected switch (for example, the state between a certain interface of the switch and a certain interface of the physical server is "UP").
Alternatively, the MAC address table may be fetched using a preset protocol, such as SNMP, SSH, or the like.
S205, obtaining the MAC address in the MAC address table as the MAC address to be checked.
S206, inquiring the corresponding relation between the MAC address of the preset physical server and the information of the physical server, and acquiring the identifier of the physical server corresponding to the MAC address to be inquired and the interface identifier of the physical server.
S207, correspondingly storing the identification of the target switch, the interface identification of the target switch, the identification of the physical server and the interface identification of the physical server to obtain a first complementary corresponding relation.
It can be understood that the MAC address to be checked is used as a bridge to obtain a correspondence between the identifier of the target switch, the interface identifier of the target switch, and the identifier of the physical server and the interface identifier of the physical server. The MAC address to be checked corresponding to the target switch is the MAC address in the MAC address table in the target switch.
And S208, merging the supplementary first corresponding relation into the first corresponding relation.
It can be understood that, for the repeated correspondence, one strip is retained after the combination.
In the above process of acquiring the first corresponding relationship, the second corresponding relationship is acquired through S209 to S212 as follows:
s209, capturing the MAC address of the physical server recorded by the interface in the switch as the first MAC address to be checked, and capturing the MAC address of the virtual server recorded by the interface as the second MAC address to be checked.
S210: and inquiring the corresponding relation between the MAC address of the preset physical service and the information of the physical server, and acquiring the identifier of the physical server corresponding to the first MAC address to be inquired and the interface identifier of the physical server.
S211, inquiring the corresponding relation between the MAC address of the preset virtual server and the information of the virtual server, and acquiring the identifier of the virtual server corresponding to the MAC address to be inquired and the interface identifier of the virtual server.
Alternatively, the correspondence between the MAC address of the (physical or virtual) server and the information of the (physical or virtual) server may be queried from an existing mapping relationship database (e.g., CMDB database) between the (physical or virtual) server identifier (e.g., Name/IP/SN, etc.) and the MAC address of the physical network card.
S212, according to the interface, the first MAC address to be searched and the second MAC address to be searched, the interface identifier of the storage switch, the identifier of the physical server, the interface identifier of the physical server, the identifier of the virtual server and the interface identifier of the virtual server are correspondingly stored, and a second corresponding relation is obtained.
It can be understood that, if the first MAC address to be checked and the second MAC address to be checked, which are acquired by the same interface, correspond to the interface, the interface corresponds to the identifier of the physical server corresponding to the first MAC address to be checked and the interface identifier of the physical server, and meanwhile, the interface also corresponds to the identifier of the virtual server corresponding to the second MAC address to be checked and the interface identifier of the virtual server.
S213, determining a third corresponding relation according to the first corresponding relation and the second corresponding relation.
The third corresponding relation comprises a corresponding relation between the identifier of the switch, the interface identifier of the switch, the identifier of the physical server, the interface identifier of the physical server and the identifier of the virtual server.
And S214, generating a network connection relation according to the third corresponding relation and the connection relation between the switches.
The network connection relationship indicates: 1. and connection relations among all the switches. 2. And each physical server is connected through the switch. 3. And the corresponding relation between each virtual server and each physical server. 4. And the virtual servers are connected through the switch.
The process shown in fig. 2 has better versatility, and because the first corresponding relationship is supplemented by the supplemented first corresponding relationship, it is avoided to omit the physical server and the corresponding relationship without LLDP configuration, and therefore, the process has higher accuracy.
Further, the accuracy of the result of the connection relationship can be further improved by improving the accuracy of the corresponding relationship between the physical server and the virtual server, so that fig. 3 shows another method for acquiring a connection relationship disclosed in the embodiment of the present application, including the following steps:
s301, acquiring a first corresponding relation through information stored in a switch in the network.
The specific implementation manner of S301 may be as shown in fig. 2, and is not described here again.
S302, capturing the MAC address of the physical server recorded by the interface in the switch as a first MAC address to be checked, and capturing the MAC address of the virtual server recorded by the interface as a second MAC address to be checked.
S303, acquiring the corresponding relation between the physical server and the virtual server from the monitoring API.
Executing the following steps for each pair of corresponding relations acquired from the monitoring API one by one:
s304, judging whether the corresponding physical server and the virtual server acquired from the monitoring API are recorded by the same interface, if so, executing S305-S307, and if not, executing S308.
Wherein, the monitoring API can be a device configured for the existing 'cloud' architecture for monitoring the virtual machine. The device stores the corresponding relation between the physical server and the virtual server.
S305, inquiring the corresponding relation between the MAC address of the preset physical service and the information of the physical server, and acquiring the identifier of the physical server corresponding to the MAC address to be inquired and the interface identifier of the physical server.
S306, inquiring the corresponding relation between the MAC address of the preset virtual server and the information of the virtual server, and acquiring the identifier of the virtual server corresponding to the MAC address to be inquired and the interface identifier of the virtual server.
S307, correspondingly storing the interface identifier of the switch, the identifier of the physical server, the interface identifier of the physical server, the identifier of the virtual server and the interface identifier of the virtual server according to the interface, the first MAC address to be searched and the second MAC address to be searched to obtain a second corresponding relation.
And S308, sending out manual checking prompt information.
The manual verification prompt information is used for prompting that the corresponding relation between the physical server and the virtual server, which is acquired by two different channels, is inconsistent, so that manual intervention verification is required.
S309, determining a third corresponding relation according to the first corresponding relation and the second corresponding relation.
And S310, generating a network connection relation according to the third corresponding relation and the connection relation between the switches.
In the process shown in fig. 3, the corresponding relationships between the physical server and the virtual server are respectively obtained through different channels, and if the corresponding relationships obtained by the two channels are inconsistent, manual checking is prompted without recording in the second corresponding relationship, so that the accuracy of the second corresponding relationship can be improved, and the accuracy of the connection relationship is further improved.
It should be noted that the execution order of the steps in the flow shown in fig. 3 is only an example, in which the occupation amount of the resources is smaller than that in other examples, but is not limited to the execution order. The determining step is performed before the parameters are stored correspondingly to obtain the second corresponding relationship, so that the step of obtaining the second corresponding relationship is limited by the determining result.
Fig. 4 is a device 400 for acquiring a connection relationship disclosed in an embodiment of the present application, including: a first acquisition unit 401, a second acquisition unit 402, a determination unit 403, and a generation unit 404.
The first obtaining unit is configured to obtain a first corresponding relationship through information stored in a switch in a network, where the information indicates information of a physical server communicating through the switch, and the first corresponding relationship includes a corresponding relationship between the information of the switch, interface information of the switch, and information of the physical server and the interface information of the physical server;
a second obtaining unit, configured to obtain a second correspondence relationship through an address of a physical server and an address of a virtual server read by an interface of the switch, where the second correspondence relationship includes interface information of the switch, and a correspondence relationship between the physical server and the virtual server; the virtual server corresponding to the physical server is the virtual server running on the physical server;
a determining unit, configured to determine a third corresponding relationship according to the first corresponding relationship and the second corresponding relationship, where the third corresponding relationship includes a corresponding relationship between the information of the switch, the interface information of the switch, the information of the physical server, and the interface information of the physical server and the information of the virtual server;
and the generating unit is used for generating a network connection relation according to the third corresponding relation and the connection relation between the switches, wherein the network connection relation indicates the connection relation between the switches and the connection relation between each physical server and each virtual server realized through the switches.
Optionally, the apparatus described above, where the first obtaining unit is configured to obtain the first corresponding relationship through information stored in a switch in the network, and includes:
the first obtaining unit is specifically configured to capture the identifier of the switch, the interface identifier of the switch, and a link layer discovery protocol LLDP table in the switch; acquiring the identifier of the physical server and the interface identifier of the physical server recorded in the LLDP table; and correspondingly storing the identifier of the switch, the interface identifier of the switch, the identifier of the physical server and the interface identifier of the physical server to obtain the first corresponding relation.
In the foregoing apparatus, optionally, the first obtaining unit is further configured to: capturing a media intervention control MAC address table in a target switch, wherein the target switch is a switch with a target interface, the target interface is an interface which has a connection relation with a target physical server, and the target physical server is a physical server which cannot be inquired in the LLDP table; acquiring the MAC address in the MAC address table as the MAC address to be checked; inquiring the corresponding relation between the MAC address of a preset physical server and the information of the physical server, and acquiring the identifier of the physical server corresponding to the MAC address to be inquired and the interface identifier of the physical server; correspondingly storing the identification of the target switch, the interface identification of the target switch, the identification of the physical server corresponding to the MAC address to be checked and the interface identification of the physical server to obtain a first complementary corresponding relation; merging the supplemental first correspondence to the first correspondence.
Optionally, in the apparatus described above, the second obtaining unit is configured to obtain the second corresponding relationship by using the address of the physical server and the address of the virtual server read by the interface of the switch, and includes:
the second obtaining unit is specifically configured to capture the MAC address of the physical server recorded by the interface in the switch as a first MAC address to be checked, and capture the MAC address of the virtual server recorded by the interface as a second MAC address to be checked; inquiring the corresponding relation between the MAC address of the preset physical service and the information of the physical server, and acquiring the identifier of the physical server corresponding to the first MAC address to be inquired and the interface identifier of the physical server; inquiring the corresponding relation between the MAC address of a preset virtual server and the information of the virtual server, and acquiring the identifier of the virtual server corresponding to the second MAC address to be inquired and the interface identifier of the virtual server; and obtaining the second corresponding relation according to the interface, the first MAC address to be searched and the second MAC address to be searched, and the interface identifier of the corresponding storage switch, the identifier of the physical server, the interface identifier of the physical server, the identifier of the virtual server and the interface identifier of the virtual server.
The above apparatus, optionally, the second obtaining unit is further configured to: before the second corresponding relationship is obtained according to the interface, the first MAC address to be searched and the second MAC address to be searched, and corresponding interface identification of a corresponding storage switch, identification of a physical server, interface identification of the physical server, identification of a virtual server and interface identification of the virtual server, the corresponding relationship between the physical server and the virtual server is obtained from a monitoring API;
the second obtaining unit is configured to obtain the second corresponding relationship according to the interface, the first MAC address to be checked, and the second MAC address to be checked, and by using the interface identifier of the corresponding storage switch, the identifier of the physical server, the interface identifier of the physical server, the identifier of the virtual server, and the interface identifier of the virtual server, the second obtaining unit includes:
the second obtaining unit is specifically configured to, if the corresponding physical server and the virtual server obtained from the monitoring API are recorded by the same interface, correspondingly store an interface identifier of the switch, an identifier of the physical server, an interface identifier of the physical server, an identifier of the virtual server, and an interface identifier of the virtual server according to the interface, the first MAC address to be checked, and the second MAC address to be checked.
The above apparatus, optionally, further comprises: and the prompting unit is used for sending out manual checking prompting information if the corresponding physical server and the virtual server acquired from the monitoring API are not recorded by the same interface.
The above apparatus, optionally, the generating unit is further configured to: and acquiring the connection relation between the switches through a link layer discovery protocol.
The connection relation acquisition device of this embodiment can generate the connection relation that instructs between each switch to and between each physical server, each virtual server, the network connection relation through the connection relation that the switch realized, compare current network relation topological graph, information is more detailed and abundant, is favorable to the software and hardware of positioning the trouble influence, thereby improves maintenance efficiency. And the network communication mechanism is set, so that the method has high universality.
The application also provides an electronic device 500 comprising a processor 501 and a memory 502.
Specifically, in the embodiment of the present application, the number of the processors and the memories is at least one, and the processors and the memories may complete communication with each other through a communication bus.
The processor may be a central processing unit CPU, or an application Specific Integrated circuit asic, or one or more Integrated circuits configured to implement embodiments of the present invention, or the like.
The memory may comprise a high-speed RAM memory, and may further comprise a non-volatile memory (non-volatile memory) or the like, such as at least one disk memory.
The memory is used for storing programs, and the processor is used for running the programs to realize the connection relation obtaining method provided by the application, namely, the following steps are executed:
acquiring a first corresponding relation through information stored in a switch in a network, wherein the information indicates information of a physical server communicated through the switch, and the first corresponding relation comprises the information of the switch, interface information of the switch, and a corresponding relation between the information of the physical server and the interface information of the physical server;
acquiring a second corresponding relation through the address of the physical server and the address of the virtual server read by the interface of the switch, wherein the second corresponding relation comprises interface information of the switch and the corresponding relation between the physical server and the virtual server; the virtual server corresponding to the physical server is the virtual server running on the physical server;
determining a third corresponding relation according to the first corresponding relation and the second corresponding relation, wherein the third corresponding relation comprises the corresponding relation among the information of the switch, the interface information of the switch, the information of the physical server, the interface information of the physical server and the information of the virtual server;
and generating a network connection relation according to the third corresponding relation and the connection relation between the switches, wherein the network connection relation indicates the connection relation between the switches and the connection relation between the physical servers and the virtual servers realized by the switches.
Optionally, the obtaining the first corresponding relationship through information stored in a switch in the network includes:
capturing the identifier of the switch, the interface identifier of the switch and a Link Layer Discovery Protocol (LLDP) table in the switch;
acquiring the identifier of the physical server and the interface identifier of the physical server recorded in the LLDP table;
and correspondingly storing the identifier of the switch, the interface identifier of the switch, the identifier of the physical server and the interface identifier of the physical server to obtain the first corresponding relation.
Optionally, the method further includes:
capturing a media intervention control MAC address table in a target switch, wherein the target switch is a switch with a target interface, the target interface is an interface which has a connection relation with a target physical server, and the target physical server is a physical server which cannot be inquired in the LLDP table;
acquiring the MAC address in the MAC address table as the MAC address to be checked;
inquiring the corresponding relation between the MAC address of a preset physical server and the information of the physical server, and acquiring the identifier of the physical server corresponding to the MAC address to be inquired and the interface identifier of the physical server;
correspondingly storing the identification of the target switch, the interface identification of the target switch, the identification of the physical server corresponding to the MAC address to be checked and the interface identification of the physical server to obtain a first complementary corresponding relation;
merging the supplemental first correspondence to the first correspondence.
Optionally, the obtaining a second corresponding relationship by the address of the physical server and the address of the virtual server read through the interface of the switch includes:
capturing the MAC address of the physical server recorded by the interface in the switch as a first MAC address to be checked, and capturing the MAC address of the virtual server recorded by the interface as a second MAC address to be checked;
inquiring the corresponding relation between the MAC address of the preset physical service and the information of the physical server, and acquiring the identifier of the physical server corresponding to the first MAC address to be inquired and the interface identifier of the physical server;
inquiring the corresponding relation between the MAC address of a preset virtual server and the information of the virtual server, and acquiring the identifier of the virtual server corresponding to the second MAC address to be inquired and the interface identifier of the virtual server;
and obtaining the second corresponding relation according to the interface, the first MAC address to be searched and the second MAC address to be searched, and the interface identifier of the corresponding storage switch, the identifier of the physical server, the interface identifier of the physical server, the identifier of the virtual server and the interface identifier of the virtual server.
Optionally, the obtaining the second corresponding relationship further includes:
before the second corresponding relationship is obtained according to the interface, the first MAC address to be searched and the second MAC address to be searched, and corresponding interface identification of a corresponding storage switch, identification of a physical server, interface identification of the physical server, identification of a virtual server and interface identification of the virtual server, the corresponding relationship between the physical server and the virtual server is obtained from a monitoring API;
the obtaining the second corresponding relationship according to the interface, the first MAC address to be checked, and the second MAC address to be checked, by using the interface identifier of the corresponding storage switch, the identifier of the physical server, the interface identifier of the physical server, the identifier of the virtual server, and the interface identifier of the virtual server, includes:
and if the corresponding physical server and the virtual server acquired from the monitoring API are recorded by the same interface, correspondingly storing an interface identifier of the switch, an identifier of the physical server, an interface identifier of the physical server, an identifier of the virtual server and an interface identifier of the virtual server according to the interface, the first MAC address to be searched and the second MAC address to be searched.
Optionally, the method further includes:
and if the corresponding physical server and the virtual server acquired from the monitoring API are not recorded by the same interface, sending out manual checking prompt information.
Optionally, the process of acquiring the connection relationship between the switches includes:
and acquiring the connection relation between the switches through a link layer discovery protocol.
The present application also provides a computer-readable storage medium, in which instructions are stored, and when the computer-readable storage medium runs on a computer, the computer is enabled to execute the method for obtaining the connection relationship provided in the present application, that is, the following steps are executed:
acquiring a first corresponding relation through information stored in a switch in a network, wherein the information indicates information of a physical server communicated through the switch, and the first corresponding relation comprises the information of the switch, interface information of the switch, and a corresponding relation between the information of the physical server and the interface information of the physical server;
acquiring a second corresponding relation through the address of the physical server and the address of the virtual server read by the interface of the switch, wherein the second corresponding relation comprises interface information of the switch and the corresponding relation between the physical server and the virtual server; the virtual server corresponding to the physical server is the virtual server running on the physical server;
determining a third corresponding relation according to the first corresponding relation and the second corresponding relation, wherein the third corresponding relation comprises the corresponding relation among the information of the switch, the interface information of the switch, the information of the physical server, the interface information of the physical server and the information of the virtual server;
and generating a network connection relation according to the third corresponding relation and the connection relation between the switches, wherein the network connection relation indicates the connection relation between the switches and the connection relation between the physical servers and the virtual servers realized by the switches.
Optionally, the obtaining the first corresponding relationship through information stored in a switch in the network includes:
capturing the identifier of the switch, the interface identifier of the switch and a Link Layer Discovery Protocol (LLDP) table in the switch;
acquiring the identifier of the physical server and the interface identifier of the physical server recorded in the LLDP table;
and correspondingly storing the identifier of the switch, the interface identifier of the switch, the identifier of the physical server and the interface identifier of the physical server to obtain the first corresponding relation.
Optionally, the method further includes:
capturing a media intervention control MAC address table in a target switch, wherein the target switch is a switch with a target interface, the target interface is an interface which has a connection relation with a target physical server, and the target physical server is a physical server which cannot be inquired in the LLDP table;
acquiring the MAC address in the MAC address table as the MAC address to be checked;
inquiring the corresponding relation between the MAC address of a preset physical server and the information of the physical server, and acquiring the identifier of the physical server corresponding to the MAC address to be inquired and the interface identifier of the physical server;
correspondingly storing the identification of the target switch, the interface identification of the target switch, the identification of the physical server corresponding to the MAC address to be checked and the interface identification of the physical server to obtain a first complementary corresponding relation;
merging the supplemental first correspondence to the first correspondence.
Optionally, the obtaining a second corresponding relationship by the address of the physical server and the address of the virtual server read through the interface of the switch includes:
capturing the MAC address of the physical server recorded by the interface in the switch as a first MAC address to be checked, and capturing the MAC address of the virtual server recorded by the interface as a second MAC address to be checked;
inquiring the corresponding relation between the MAC address of the preset physical service and the information of the physical server, and acquiring the identifier of the physical server corresponding to the first MAC address to be inquired and the interface identifier of the physical server;
inquiring the corresponding relation between the MAC address of a preset virtual server and the information of the virtual server, and acquiring the identifier of the virtual server corresponding to the second MAC address to be inquired and the interface identifier of the virtual server;
and obtaining the second corresponding relation according to the interface, the first MAC address to be searched and the second MAC address to be searched, and the interface identifier of the corresponding storage switch, the identifier of the physical server, the interface identifier of the physical server, the identifier of the virtual server and the interface identifier of the virtual server.
Optionally, the obtaining the second corresponding relationship further includes:
before the second corresponding relationship is obtained according to the interface, the first MAC address to be searched and the second MAC address to be searched, and corresponding interface identification of a corresponding storage switch, identification of a physical server, interface identification of the physical server, identification of a virtual server and interface identification of the virtual server, the corresponding relationship between the physical server and the virtual server is obtained from a monitoring API;
the obtaining the second corresponding relationship according to the interface, the first MAC address to be checked, and the second MAC address to be checked, by using the interface identifier of the corresponding storage switch, the identifier of the physical server, the interface identifier of the physical server, the identifier of the virtual server, and the interface identifier of the virtual server, includes:
and if the corresponding physical server and the virtual server acquired from the monitoring API are recorded by the same interface, correspondingly storing an interface identifier of the switch, an identifier of the physical server, an interface identifier of the physical server, an identifier of the virtual server and an interface identifier of the virtual server according to the interface, the first MAC address to be searched and the second MAC address to be searched.
Optionally, the method further includes:
and if the corresponding physical server and the virtual server acquired from the monitoring API are not recorded by the same interface, sending out manual checking prompt information.
Optionally, the process of acquiring the connection relationship between the switches includes:
and acquiring the connection relation between the switches through a link layer discovery protocol.
The functions described in the method of the embodiment of the present application, if implemented in the form of software functional units and sold or used as independent products, may be stored in a storage medium readable by a computing device. Based on such understanding, part of the contribution to the prior art of the embodiments of the present application or part of the technical solution may be embodied in the form of a software product stored in a storage medium and including several instructions for causing a computing device (which may be a personal computer, a server, a mobile computing device or a network device) to execute all or part of the steps of the method 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 Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (10)
1. A method for acquiring a connection relationship is characterized by comprising the following steps:
acquiring a first corresponding relation through information stored in a switch in a network, wherein the information indicates information of a physical server communicated through the switch, and the first corresponding relation comprises the information of the switch, interface information of the switch, and a corresponding relation between the information of the physical server and the interface information of the physical server;
acquiring a second corresponding relation through the address of the physical server and the address of the virtual server read by the interface of the switch, wherein the second corresponding relation comprises interface information of the switch and the corresponding relation between the physical server and the virtual server; the virtual server corresponding to the physical server is the virtual server running on the physical server;
determining a third corresponding relation according to the first corresponding relation and the second corresponding relation, wherein the third corresponding relation comprises the corresponding relation among the information of the switch, the interface information of the switch, the information of the physical server, the interface information of the physical server and the information of the virtual server;
and generating a network connection relation according to the third corresponding relation and the connection relation between the switches, wherein the network connection relation indicates the connection relation between the switches and the connection relation between the physical servers and the virtual servers realized by the switches.
2. The method of claim 1, wherein obtaining the first correspondence via information stored in a switch in the network comprises:
capturing the identifier of the switch, the interface identifier of the switch and a Link Layer Discovery Protocol (LLDP) table in the switch;
acquiring the identifier of the physical server and the interface identifier of the physical server recorded in the LLDP table;
and correspondingly storing the identifier of the switch, the interface identifier of the switch, the identifier of the physical server and the interface identifier of the physical server to obtain the first corresponding relation.
3. The method of claim 2, further comprising:
capturing a media intervention control MAC address table in a target switch, wherein the target switch is a switch with a target interface, the target interface is an interface which has a connection relation with a target physical server, and the target physical server is a physical server which cannot be inquired in the LLDP table;
acquiring the MAC address in the MAC address table as the MAC address to be checked;
inquiring the corresponding relation between the MAC address of a preset physical server and the information of the physical server, and acquiring the identifier of the physical server corresponding to the MAC address to be inquired and the interface identifier of the physical server;
correspondingly storing the identification of the target switch, the interface identification of the target switch, the identification of the physical server corresponding to the MAC address to be checked and the interface identification of the physical server to obtain a first complementary corresponding relation;
merging the supplemental first correspondence to the first correspondence.
4. The method according to claim 1, wherein the obtaining the second correspondence by the address of the physical server and the address of the virtual server read through the interface of the switch comprises:
capturing the MAC address of the physical server recorded by the interface in the switch as a first MAC address to be checked, and capturing the MAC address of the virtual server recorded by the interface as a second MAC address to be checked;
inquiring the corresponding relation between the MAC address of the preset physical service and the information of the physical server, and acquiring the identifier of the physical server corresponding to the first MAC address to be inquired and the interface identifier of the physical server;
inquiring the corresponding relation between the MAC address of a preset virtual server and the information of the virtual server, and acquiring the identifier of the virtual server corresponding to the second MAC address to be inquired and the interface identifier of the virtual server;
and obtaining the second corresponding relation according to the interface, the first MAC address to be searched and the second MAC address to be searched, and the interface identifier of the corresponding storage switch, the identifier of the physical server, the interface identifier of the physical server, the identifier of the virtual server and the interface identifier of the virtual server.
5. The method according to claim 1 or 4, wherein the obtaining the second correspondence further comprises:
before the second corresponding relationship is obtained according to the interface, the first MAC address to be searched and the second MAC address to be searched, and corresponding interface identification of a corresponding storage switch, identification of a physical server, interface identification of the physical server, identification of a virtual server and interface identification of the virtual server, the corresponding relationship between the physical server and the virtual server is obtained from a monitoring API;
the obtaining the second corresponding relationship according to the interface, the first MAC address to be checked, and the second MAC address to be checked, by using the interface identifier of the corresponding storage switch, the identifier of the physical server, the interface identifier of the physical server, the identifier of the virtual server, and the interface identifier of the virtual server, includes:
and if the corresponding physical server and the virtual server acquired from the monitoring API are recorded by the same interface, correspondingly storing an interface identifier of the switch, an identifier of the physical server, an interface identifier of the physical server, an identifier of the virtual server and an interface identifier of the virtual server according to the interface, the first MAC address to be searched and the second MAC address to be searched.
6. The method of claim 5, further comprising:
and if the corresponding physical server and the virtual server acquired from the monitoring API are not recorded by the same interface, sending out manual checking prompt information.
7. The method according to claim 1, wherein the obtaining of the connection relationship between the switches comprises:
and acquiring the connection relation between the switches through a link layer discovery protocol.
8. An apparatus for acquiring connection relation, comprising:
a first obtaining unit configured to obtain, through information stored in a switch in a network, a first correspondence relationship, where the information indicates information of a physical server that communicates through the switch, and the first correspondence relationship includes a correspondence relationship between the information of the switch, interface information of the switch, and information of the physical server and the interface information of the physical server;
a second obtaining unit, configured to obtain a second correspondence relationship through an address of a physical server and an address of a virtual server read by an interface of the switch, where the second correspondence relationship includes interface information of the switch, and a correspondence relationship between the physical server and the virtual server; the virtual server corresponding to the physical server is the virtual server running on the physical server;
a determining unit, configured to determine a third corresponding relationship according to the first corresponding relationship and the second corresponding relationship, where the third corresponding relationship includes a corresponding relationship between the information of the switch, the interface information of the switch, the information of the physical server, and the interface information of the physical server and the information of the virtual server;
and the generating unit is used for generating a network connection relation according to the third corresponding relation and the connection relation between the switches, wherein the network connection relation indicates the connection relation between the switches and the connection relation between each physical server and each virtual server realized through the switches.
9. An electronic device, comprising: a processor and a memory for storing a program; the processor is configured to execute the program to implement the method for acquiring a connection relation according to any one of claims 1 to 7.
10. A computer-readable storage medium having stored therein instructions which, when run on a computer, cause the computer to execute the method for acquiring a connection relation according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011222198.XA CN112398738B (en) | 2020-11-05 | 2020-11-05 | Method and device for acquiring connection relation, equipment and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011222198.XA CN112398738B (en) | 2020-11-05 | 2020-11-05 | Method and device for acquiring connection relation, equipment and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112398738A true CN112398738A (en) | 2021-02-23 |
CN112398738B CN112398738B (en) | 2022-06-28 |
Family
ID=74598881
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011222198.XA Active CN112398738B (en) | 2020-11-05 | 2020-11-05 | Method and device for acquiring connection relation, equipment and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112398738B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115694857A (en) * | 2021-07-29 | 2023-02-03 | 青岛海尔科技有限公司 | Management method and device for equipment identification information of Internet of things |
CN117376116A (en) * | 2023-10-08 | 2024-01-09 | 苏州异格技术有限公司 | Configuration method and device of virtual switch, computer equipment and storage medium |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102137007A (en) * | 2011-01-17 | 2011-07-27 | 华为技术有限公司 | Method and system for generating network topology as well as coordinator |
CN102307249A (en) * | 2011-09-28 | 2012-01-04 | 北京东土科技股份有限公司 | IP address automatic configuration method based on link layer topology |
CN103281248A (en) * | 2013-06-09 | 2013-09-04 | 北京星网锐捷网络技术有限公司 | Network topology discovering method, device and system |
CN103441935A (en) * | 2013-08-16 | 2013-12-11 | 北京星网锐捷网络技术有限公司 | Method and device capable of automatically recognizing adjacency relation between server and access switch |
CN103563304A (en) * | 2012-12-18 | 2014-02-05 | 华为技术有限公司 | Switch configuration method and cluster management device based on virtual networking |
CN104521198A (en) * | 2012-08-02 | 2015-04-15 | 思科技术公司 | System and method for virtual ethernet interface binding |
US20160330080A1 (en) * | 2015-05-08 | 2016-11-10 | Siddharth Bhatia | Method of discovering network topology |
CN106713042A (en) * | 2016-12-29 | 2017-05-24 | 中国银联股份有限公司 | Method and device for determination of network topology |
CN109150640A (en) * | 2018-11-08 | 2019-01-04 | 中国电子科技集团公司第二十八研究所 | A kind of method for discovering network topology and system based on double layer network agreement |
CN109831318A (en) * | 2018-12-26 | 2019-05-31 | 中兴通讯股份有限公司 | A kind of system, method and server obtaining network topology |
-
2020
- 2020-11-05 CN CN202011222198.XA patent/CN112398738B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102137007A (en) * | 2011-01-17 | 2011-07-27 | 华为技术有限公司 | Method and system for generating network topology as well as coordinator |
CN102307249A (en) * | 2011-09-28 | 2012-01-04 | 北京东土科技股份有限公司 | IP address automatic configuration method based on link layer topology |
CN104521198A (en) * | 2012-08-02 | 2015-04-15 | 思科技术公司 | System and method for virtual ethernet interface binding |
CN103563304A (en) * | 2012-12-18 | 2014-02-05 | 华为技术有限公司 | Switch configuration method and cluster management device based on virtual networking |
CN103281248A (en) * | 2013-06-09 | 2013-09-04 | 北京星网锐捷网络技术有限公司 | Network topology discovering method, device and system |
CN103441935A (en) * | 2013-08-16 | 2013-12-11 | 北京星网锐捷网络技术有限公司 | Method and device capable of automatically recognizing adjacency relation between server and access switch |
US20160330080A1 (en) * | 2015-05-08 | 2016-11-10 | Siddharth Bhatia | Method of discovering network topology |
CN106713042A (en) * | 2016-12-29 | 2017-05-24 | 中国银联股份有限公司 | Method and device for determination of network topology |
CN109150640A (en) * | 2018-11-08 | 2019-01-04 | 中国电子科技集团公司第二十八研究所 | A kind of method for discovering network topology and system based on double layer network agreement |
CN109831318A (en) * | 2018-12-26 | 2019-05-31 | 中兴通讯股份有限公司 | A kind of system, method and server obtaining network topology |
Non-Patent Citations (2)
Title |
---|
P. KOKKINOS,等: ""Multi-criteria Virtual Machines Migration Considering the Reconfiguration of Their Logical Topology"", 《 2014 IEEE 22ND INTERNATIONAL SYMPOSIUM ON MODELLING, ANALYSIS & SIMULATION OF COMPUTER AND TELECOMMUNICATION SYSTEMS》 * |
刘磊: ""数据中心虚拟节点的物理拓扑分析技术研究"", 《中国优秀硕士学位论文全文数据库信息科技辑》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115694857A (en) * | 2021-07-29 | 2023-02-03 | 青岛海尔科技有限公司 | Management method and device for equipment identification information of Internet of things |
CN117376116A (en) * | 2023-10-08 | 2024-01-09 | 苏州异格技术有限公司 | Configuration method and device of virtual switch, computer equipment and storage medium |
CN117376116B (en) * | 2023-10-08 | 2024-05-17 | 苏州异格技术有限公司 | Configuration method and device of virtual switch, computer equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN112398738B (en) | 2022-06-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20160239540A1 (en) | Data Query Method and Apparatus, Server, and System | |
CN112398738B (en) | Method and device for acquiring connection relation, equipment and computer readable storage medium | |
CN110825448B (en) | Method, device, electronic equipment and storage medium for realizing multi-service module mutual calling | |
CN110267314B (en) | Method and device for switching network slices | |
CN107729205B (en) | Fault processing method and device for business system | |
CN110674427B (en) | Method, device, equipment and storage medium for responding to webpage access request | |
CN113900941A (en) | Micro-service processing method, micro-service system, electronic device and storage medium | |
CN111064786B (en) | Account identifier management method and device | |
CN113507471A (en) | Method, device, router and storage medium for acquiring terminal system type | |
CN110619022B (en) | Node detection method, device, equipment and storage medium based on block chain network | |
CN115955332A (en) | Abnormal traffic filtering method and device for authentication system and electronic equipment | |
CN112511366A (en) | Test system, method, device, equipment and storage medium | |
CN107872336B (en) | Mounting point identification method and system and identification management equipment | |
CN106899429B (en) | SNMP-based equipment management method and device | |
CN117155784A (en) | Network configuration method, device, equipment and medium | |
CN115687023A (en) | Internet big data processing method and system | |
CN109981796B (en) | Connection method and device | |
CN116860601A (en) | Collaborative debugging method, device, gateway, server and system | |
CN111200512B (en) | Network connection disaster recovery method, terminal equipment, storage medium and electronic equipment | |
CN104407846B (en) | Information processing method and device | |
TW202209132A (en) | Data read-write processing method, data center, disaster recovery system and storage medium | |
CN113727208A (en) | Communication method, device, equipment and medium for quickly reading and writing parameter information of optical module | |
CN114116544A (en) | Method, device and equipment for acquiring slot information and storage medium | |
CN114500452B (en) | Method, device and equipment for determining virtual system IP address in bridge mode | |
CN116723530B (en) | Fault network element determining method, device, computer equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |