A data processing method, device, equipment, and storage medium
By determining the node and connection relationship in the NFV network, and adopting the concepts of group, point, line and surface, the integrated visualization and pre-generated topology of the NFV network are realized, which solves the problem of difficult visualization and low maintenance efficiency of topology in the NFV network. , realizes fast and efficient topological presentation and fault location.
Patent Information
- Application Number
- CN202110902704.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-06
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2041-08-06
AI Technical Summary
The existing network topology model creation solution cannot be directly applied to NFV networks, resulting in the difficulty of visualizing the multi-layer connection relationship of virtual network elements, low topology maintenance efficiency, lack of automated rapid presentation methods, and the relationship between each layer is complex under the NFV cloud architecture. Difficulty in delimiting the fault.
A data processing method is proposed to create a topology model by determining the nodes and their connection relationships in the NFV network, and adopting the concepts of groups, points, lines and surfaces to realize the topology visualization of horizontal and vertical topology integrated network, and realize seconds through pre-generated topology schemes. Level presentation, combined with multi-dimensional information such as alarms, performance, resources, standard work, etc., embedded in topology visualization.
It realizes the simple and practical visual topology presentation of NFV networks, avoids traditional static topology errors, improves topology presentation efficiency and fault positioning capabilities, and supports fast and efficient network cloud equipment status monitoring and fault analysis.
Smart Images

Figure CN115706693B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of data processing technology, and relate to but are not limited to a data processing method and apparatus, device, and storage medium. Background Art
[0002] Network functions virtualization (NFV) refers to the software processing technology that uses general-purpose hardware and virtualization technology to carry various functions. With the core network of the 4th generation mobile communication technology (4G) or the 5th generation mobile communication technology (5G) entering the cloud, the NFV network includes more layers, the number of nodes under each layer is larger, and the connection relationship between nodes is complex.
[0003] In the related art, the process of creating a network topology model includes: obtaining the configuration parameters of the switch; generating a call instruction according to the configuration parameters; sending a call instruction to the switch and receiving a first network topology fed back by the switch, the first network topology being a call connection relationship between the switch and a physical server connected to the switch; sending a detection instruction to the physical server, the detection instruction being used to instruct the physical server to run a virtual machine detection program; wherein the virtual machine detection program provides interfaces corresponding to at least two virtualization technologies; obtaining the detection results returned by the virtual machine detection program, and determining a second network topology according to the detection results, the second network topology being a call connection relationship between the virtual server carried in the physical server and the switch; and determining the network topology of the current network according to the first network topology and the second network topology.
[0004] However, the existing network topology model creation scheme cannot be directly applied to the creation of network topology models under NFV networks. Summary of the invention
[0005] The embodiments of the present application provide a data processing method, apparatus, device, and storage medium, which are simple to implement when creating a topology model of an NFV network.
[0006] The technical solution of the embodiment of the present application is implemented as follows:
[0007] The present application provides a data processing method, the method comprising:
[0008] Determine a first node included in a first NFV network, and a first target layer to which the first node belongs in the first NFV network; the first NFV network includes at least two layers;
[0009] Determine a second node in a connection relationship with the first node among nodes of a second target layer; the second target layer is a layer in the first NFV network other than the first target layer;
[0010] A topology model of the first NFV network is created based at least on the first node, the second node, and a connection relationship between the first node and the second node.
[0011] The present application provides a data processing device, the device comprising:
[0012] A first determining unit, configured to determine a first node included in a first NFV network, and a first target layer to which the first node belongs in the first NFV network; the first NFV network includes at least two layers;
[0013] A second determining unit is used to determine a second node that has a connection relationship with the first node among the nodes of a second target layer; the second target layer is a layer in the first NFV network other than the first target layer;
[0014] A creating unit is used to create a topology model of the first NFV network based on at least the first node, the second node, and a connection relationship between the first node and the second node.
[0015] An embodiment of the present application further provides an electronic device, comprising: a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and the processor implements the above-mentioned data processing method when executing the program.
[0016] An embodiment of the present application further provides a storage medium on which a computer program is stored, and when the computer program is executed by a processor, the above-mentioned data processing method is implemented.
[0017] The data processing method, device, equipment and storage medium provided in the embodiment of the present application include determining the first node included in the first NFV network, and the first target layer to which the first node belongs in the first NFV network; the first NFV network includes at least two layers; determining the second node that has a connection relationship with the first node in the node of the second target layer; the second target layer is the layer in the first NFV network other than the first target layer; at least based on the first node, the second node and the connection relationship between the first node and the second node, create a topology model of the first NFV network. In the scheme of the present application, there is no need to interact with other devices through instructions, and the node information of the node is directly processed on the server side to obtain the topology model of the NFV network, which is simple to implement. Especially when the NFV network includes more nodes and the connection relationship between the nodes is more complex, the simplicity of the scheme of the present application becomes more obvious. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 An optional structural diagram of a data processing system provided in an embodiment of the present application;
[0019] Figure 2 An optional structural diagram of the NFV network provided in the embodiment of the present application;
[0020] Figure 3 An optional flowchart of a data processing method provided in an embodiment of the present application;
[0021] Figure 4 An optional flowchart of a data processing method provided in an embodiment of the present application;
[0022] Figure 5 An optional flowchart of a data processing method provided in an embodiment of the present application;
[0023] Figure 6 An optional flow chart of the data processing method provided in the embodiment of the present application;
[0024] Figure 7 An optional flow chart of the data processing method provided in the embodiment of the present application;
[0025] Figure 8 An optional structural diagram of a topology model of an NFV network provided in an embodiment of the present application;
[0026] Fig. 9 An optional structural diagram of a visual diagram of the NFV network provided in an embodiment of the present application;
[0027] Fig.10An optional structural diagram of a visual diagram of the NFV network provided in an embodiment of the present application;
[0028] Fig.11 An optional structural diagram of a visual diagram of the NFV network provided in an embodiment of the present application;
[0029] Fig.12 An optional structural diagram of a visual diagram of the NFV network provided in an embodiment of the present application;
[0030] Fig.13 An optional structural diagram of a visual diagram of the NFV network provided in an embodiment of the present application;
[0031] Fig.14 An optional structural diagram of a visual diagram of the NFV network provided in an embodiment of the present application;
[0032] Fig.15 An optional structural diagram of a data processing device provided in an embodiment of the present application;
[0033] Fig.16 An optional structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0034] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the specific technical solution of the application will be further described in detail below in conjunction with the drawings in the embodiments of the present application. The following embodiments are used to illustrate the present application, but are not used to limit the scope of the present application.
[0035] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0036] In the following description, the terms "first\second\third" are used only as examples to distinguish different objects, and do not represent a specific order for the objects, nor do they have a limitation on the order of precedence. It is understandable that "first\second\third" can be interchanged with a specific order or order of precedence where permitted, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.
[0037] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0038] In order to facilitate understanding of the technical solution of the present application, the nouns or technical terms involved in the present application are explained below.
[0039] 1) Node, also known as node device. In one possible implementation, a node may refer to various hardware entity devices included in a network. For example, a host may be referred to as a node. In another possible implementation, a node may refer to a virtual unit included in a network. For example, a virtual machine may be referred to as a node; for another example, a network element may be referred to as a node.
[0040] 2) Node identification, which is used to uniquely indicate a node. In one example, a node identification may include an attribute identification of the node and a number identification of the node. A node number identification may refer to a node device serial number, a node device name, or a node device port address, etc.
[0041] 3) The connection relationship between nodes, which can also be called the communication relationship between nodes, is used to indicate that the nodes can communicate with each other. It should be noted that the connection relationship between nodes can be a limited connection relationship or a wireless connection relationship.
[0042] Specifically, the connection relationship between nodes may include a direct connection relationship between nodes, or an indirect connection relationship between nodes; the direct connection relationship between nodes is used to characterize that the nodes can communicate directly, for example, node 1 and node 2 can communicate directly without going through other nodes, then it is considered that there is a direct connection relationship between node 1 and node 2; the indirect connection relationship between nodes is used to characterize that the nodes can communicate through other devices, for example, node 1 and node 2 can communicate indirectly through node 3, then it is considered that there is an indirect connection relationship between node 1 and node 2.
[0043] 4) Topological model refers to a model used to characterize the nodes included in the network and the connection relationship between the nodes. In simple terms, the topological model of the network can tell which nodes the network includes and which nodes are connected among them.
[0044] 5) Visual graph, a graph that visualizes the topological model.
[0045] The embodiments of the present application may provide a data processing method and apparatus, a device and a storage medium. In practical applications, the data processing method may be implemented by a data processing apparatus, and each functional entity in the data processing apparatus may be collaboratively implemented by hardware resources of an electronic device (such as a terminal device), such as computing resources such as a processor, and communication resources (such as for supporting various communication methods such as optical cables and cellular communications).
[0046] The data processing method provided in the embodiment of the present application is applied to a data processing system, and the data processing system includes a data processing terminal. In one example, the data processing system may also include a client. In another example, the data processing system may also include a node device.
[0047] As an example, the structure of the data processing system can be as follows Figure 1 As shown, it includes: a client 10 and a data processing terminal 20.
[0048] In one example, the client 10 and the data processing end 20 may be the same physical entity; in another example, Figure 1 As shown, the client 10 and the data processing end 20 may be different physical entities, and the client 10 and the data processing end 20 interact with each other via a network 30 .
[0049] Here, the client 10 is used to receive the user's operation, and based on the user's operation, sends a request to establish a topology model of the NFV network to the data processing end 20. The data processing end 20 is used to receive the request sent by the client 10, and establish the topology model of the NFV network according to the request.
[0050] In the present application embodiment, based on Figure 1 In the data processing system shown, a client sends an instruction to establish a topology model of a NFV network to a data processing end, and the data processing end receives the instruction to establish a topology model of the NFV network and executes: determining a first node included in a first NFV network, and a first target layer to which the first node belongs in the first NFV network; the first NFV network includes at least two layers; determining a second node that has a connection relationship with the first node among the nodes of the second target layer; the second target layer is a layer in the first NFV network other than the first target layer; and creating a topology model of the first NFV network based at least on the first node, the second node, and the connection relationship between the first node and the second node.
[0051] Next, combine Figure 1 The schematic diagram of the data processing system shown illustrates various embodiments of the data processing method and apparatus, device and storage medium provided in the embodiments of the present application.
[0052] This embodiment provides a data processing method, which is applied to a data processing device, wherein the data processing device can be implemented on an electronic device as a data processing end. The function implemented by the method can be implemented by a processor in the electronic device calling a program code, and of course the program code can be stored in a computer storage medium. It can be seen that the electronic device at least includes a processor and a storage medium.
[0053] The electronic device may be any device having information processing capability. In one embodiment, the electronic device may be a server.
[0054] Of course, the embodiments of the present application are not limited to the provided methods and hardware, and there may be a variety of implementation methods, such as providing a storage medium (storing instructions for executing the data processing method provided by the embodiments of the present application).
[0055] The data processing method provided in the embodiment of the present application is described below.
[0056] To facilitate understanding, let’s first briefly introduce the NFV network.
[0057] For example, Figure 2 The following is a diagram showing the structure of a NFV network. Figure 2 As shown, the NFV network 20 may include, from top to bottom, a network element layer 201, a virtual layer 202, a host layer 203, a top of rack (TOR) layer 204, an end of row (EOR) layer 205, and a routing layer 206.
[0058] The network element layer 201 may include at least one network element 2011; the network element layer 201 is used to manage the virtual machine 2021 included in the virtual layer 202 through the network element 2011. Exemplarily, the network element layer 201 may include one or more of an access and mobility management function (AMF) network element, a session management function (SMF) network element, a network slice selection function (NSSF) network element, a registration and discovery function (NF Repository Function, NRF) network element, a policy control function (PCF) network element, and a unified data management function (UDM) network element. For example, the network element layer 201 may include an SMF network element, so that the network element layer 201 can manage the session management function of the virtual machine 2021 through the SMF network element.
[0059] The virtual layer 202 may include at least one virtual machine 2021 ; the virtual layer 202 is used to be managed by the network element 2011 through the virtual machine 2021 ; or managed by the host 2031 included in the host layer.
[0060] The host layer 203 may include at least one host 2031 ; the host layer 203 is used to manage the virtual machine 2021 through the host 2031 , or communicate with the TOR switch 2041 included in the TOR layer.
[0061] The TOR layer 204 may include at least one TOR switch 2041 ; the TOR layer 204 is used to communicate with the host 2031 through the TOR switch 2041 , or communicate with the EOR switch 2051 included in the EOR layer 205 .
[0062] The EOR layer 205 may include at least one EOR switch 2051 ; the EOR layer 205 is used to communicate with the TOR switch 2041 through the switch 2051 , or communicate with the router 2061 included in the routing layer 206 .
[0063] The routing layer 206 may include at least one router 2061 ; the routing layer 206 is configured to communicate with the EOR switch 2051 through the router 2061 .
[0064] Among them, the network element 2011 included in the network element layer 201 is connected to the virtual machine 2021 included in the virtual layer 202, and the network element 2011 can communicate with the virtual machine 2021 through the connection; the virtual machine 2021 included in the virtual layer 202 is connected to the host 2031 included in the host layer 203, and the virtual machine 2021 can communicate with the host 2031 through the connection; the host 2031 included in the host layer 203 is connected to the TOR switch 2041 included in the TOR layer 204, and the host 2031 can communicate with the TOR switch 2041 through the connection; the TOR switch 2041 included in the TOR layer 204 is connected to the EOR switch 2051 included in the EOR layer 205, and the TOR switch 2041 can communicate with the EOR switch 2051; the EOR switch 2051 included in the EOR layer 205 is connected to the router 2061 included in the routing layer 206, and the EOR switch 2051 can communicate with the router 2061.
[0065] It should be noted that in the actual processing process, Figure 2 Compared with the example of , the layers included in the NFV network can be Figure 2 A subset of all layers in the example, or a NFV network may also include Figure 2 There are many more layers, which are not listed here one by one.
[0066] Figure 3 This is a flow chart of a data processing method according to an embodiment of the present application, which is used to create a topology model of an NFV network. The process is now described by taking the creation of a topology model of a first NFV network as an example.
[0067] It should be noted that when creating the topology model of the first NFV network, it is necessary to know the node information of at least one node, and the electronic device creates the topology model of the first NFV network based on the node information of the one node.
[0068] It can be understood that when creating the topology model of the first NFV network, the node information of multiple nodes may also be known, and the electronic device creates the topology model of the first NFV network based on the node information of the multiple nodes.
[0069] When the electronic device creates a topology model of the first NFV network based on the node information of multiple nodes, the topology model of each node is first obtained based on the node information of each node, and then the topology model of each node is integrated based on the connection relationship between the node information of the multiple nodes, thereby obtaining the topology model of the first NFV network.
[0070] Below, taking the node information of a first node included in the known first NFV network as an example, the process of creating the topology model of the first NFV network is explained.
[0071] like Figure 3 As shown, the method comprises the following steps:
[0072] S301. An electronic device determines a first node included in a first NFV network, and a first target layer to which the first node belongs in the first NFV network.
[0073] The first NFV network is a NFV network for which a topology model needs to be created. Specifically, the first NFV network can be a complete NFV network or a sub-network in a NFV network.
[0074] The first NFV network includes at least two layers; the embodiment of the present application does not specifically limit the number and type of layers included in the first NFV network, and can be configured according to actual needs. For example, the first NFV network may include a virtual layer and a host layer. For another example, the first NFV network may include a network element layer, a virtual layer, a host layer, a TOR layer, an EOR layer, and a routing layer.
[0075] The first node may be a known node in the first network; that is, for the electronic device, the node information of the first node may be directly acquired (regardless of other nodes).
[0076] For example, if the electronic device can directly obtain the node information of node A without going through other nodes, node A can be regarded as a known node; if the electronic device needs to obtain the node information of node B that has a connection relationship with the node based on the node information of node A, node B can be regarded as an unknown node.
[0077] The first target layer is the layer to which the first node belongs in the first NFV network.
[0078] The first target layer may be any one of a network element layer, a virtual layer, a host layer, a TOR layer, an EOR layer or a routing layer. For example, the first target layer is a virtual layer, or the first target layer is a TOR layer, etc.
[0079] In one example, S301 can be implemented as follows: the electronic device receives a user operation, obtains node information of a first node included in the first NFV network in response to the user operation, and identifies an identifier of the first node from the node information of the first node to determine the first node; then, the electronic device identifies an attribute identifier of the first node from the identifier of the first node, parses the attribute identifier of the first node, and obtains the layer to which the first node belongs in the first NFV network as the first target layer.
[0080] In another example, S301 can be implemented as follows: when the first condition is met, the electronic device automatically obtains the node information of the first node included in the first NFV network from a preset location, and identifies the identifier of the first node from the node information of the first node to determine the first node; then the electronic device identifies the attribute identifier of the first node from the identifier of the first node, parses the attribute identifier of the first node, and obtains the layer to which the first node belongs in the first NFV network as the first target layer.
[0081] The specific content of the first condition can be configured according to actual needs. For example, the first condition can be after the first preset time after receiving the reporting information of each node. Among them, the first preset time can be set according to actual needs. For example, the first preset time can be 20 minutes.
[0082] The node information of the first node can be configured according to actual needs, and this embodiment of the present application does not specifically limit this.
[0083] In an example, the node information of the first node may include an identifier of the first node.
[0084] The identifier of the first node may include: an attribute identifier of the first node and a number identifier of the first node.
[0085] For example, the electronic device determines that the identifier of the first node is ZJ012; the electronic device identifies the attribute identifier of the first node as ZJ from the identifier ZJ012 of the first node, parses the attribute identifier ZJ of the first node, obtains that the layer to which the first node belongs in the first NFV network is the host layer, and takes the host layer as the first target layer.
[0086] S302: The electronic device determines, among the nodes in the second target layer, a second node that is connected to the first node.
[0087] The second target layer is a layer in the first NFV network other than the first target layer.
[0088] In one example, the second target layer is an adjacent layer (upper layer or lower layer) of the first target layer in the layers included in the NFV network. For example, the first target layer is a virtual layer; and the second target layer is a host layer.
[0089] The second node is a node in a second target layer included in the NFV network.
[0090] Exemplarily, S302 can be implemented as follows: the electronic device reads a connection relationship table, the connection relationship table includes multiple parts (or sub-tables), each part stores the connection relationship between nodes of two different layers, the electronic device searches the connection relationship table for the part that stores the connection relationship between the nodes of the first target layer and the nodes of the second target layer, traverses the part, and reads the second node that has a connection relationship with the first node in the part.
[0091] It should be noted that the existence of a connection relationship between the first node and the second node can be understood as: there is a direct connection relationship between the first node and the second node; or there is an indirect connection relationship between the first node and the second node. For example, the existence of a connection relationship between the first node and the second node can be understood as: there is a connection relationship between the first node and device A, there is a connection relationship between device A and device B, and there is a connection relationship between device B and the second node.
[0092] The implementation of the electronic device in reading the second node that is connected to the first node may include but is not limited to any one of the following methods 1 to 3.
[0093] Mode 1: The first target layer is the network element layer, and the second target layer is the virtual layer.
[0094] In the storage method of the connection relationship between the first node and the second node, the identifier of a network element may be associated with the identifier of a virtual machine managed by the network element to represent the connection relationship between the network element and the virtual machine managed by the network element.
[0095] Exemplarily, the storage method of the connection relationship between the first node and the second node (the area storing the connection relationship between the nodes of the first target layer and the nodes of the second target layer) can be in the format of Table 1 below.
[0096] Table 1. Example of storage method for connection relationship between first node and second node
[0097]
[0098] Assuming that the first node is identified as AMF001, the electronic device can read the second node that has a connection relationship with the first node in the part storing the connection relationship between the nodes of the first target layer and the nodes of the second target layer as follows: the electronic device searches Table 1 for the virtual machines managed by the network element AMF001, which are identified as VM001, VM002 and VM003, based on the identification of the first node as AMF001, and then uses the virtual machines identified as VM001, VM002 and VM003 as the second nodes.
[0099] Method 2: The first target layer is the virtual layer, and the second target layer is the host layer.
[0100] In the storage method of the connection relationship between the first node and the second node, the identifier of a virtual machine may be associated with the identifier of the host to which the virtual machine belongs, so as to represent the connection relationship between the virtual machine and the host to which the virtual machine belongs.
[0101] Exemplarily, the storage method of the connection relationship between the first node and the second node (the area storing the connection relationship between the nodes of the first target layer and the nodes of the second target layer) can be in the format of Table 2 below.
[0102] Table 2. Example of storage method for connection relationship between first node and second node
[0103]
[0104] Assuming that the first node is identified as VM001, the electronic device can read the second node that has a connection relationship with the first node in the area storing the connection relationship between the nodes of the first target layer and the nodes of the second target layer as follows: the electronic device searches Table 2 for the host to which the virtual machine VM001 belongs, which is identified as ZJ001, based on the identification of the first node as VM001, and uses the host identified as ZJ001 as the second node.
[0105] Method 3: The first target layer is the host layer, and the second target layer is the TOR layer.
[0106] In the storage method of the connection relationship between the first node and the second node, the identifier of a host can be associated with the frame identifier, the frame identifier can be associated with the network port identifier, and the network port identifier can be associated with the TOR switch identifier. In this way, it is equivalent to indirectly associating the host with the TOR switch through the frame and the network port.
[0107] Exemplarily, the storage method of the connection relationship between the first node and the second node (the area storing the connection relationship between the nodes of the first target layer and the nodes of the second target layer) can be in the format of Table 3 below.
[0108] Table 3. Example of storage method for connection relationship between first node and second node
[0109]
[0110] Assuming that the first node is identified as ZJ001, the electronic device can read the second node that has a connection relationship with the first node in the area storing the connection relationship between the nodes of the first target layer and the nodes of the second target layer as follows: the electronic device searches Table 3 based on the identification of the first node as ZJ001, and finds that the frame associated with the host ZJ001 is frame JK001, the network port associated with the frame JK001 is network port WK001, and the TOR switch associated with network port WK001 is TOR001, and then uses the TOR switch identified as TOR001 as the second node.
[0111] In actual implementation, the host identifier can also be the serial number of the host or the name of the host, the network port identifier can be the Media Access Control (MAC) address of the network port, and the TOR switch identifier can be the MAC address of the TOR switch.
[0112] It can be seen that the number of second nodes is uncertain. In practice, the number of second nodes may be 1 or another number.
[0113] It should be noted that, in actual implementation, there are more combinations of the first target layer and the second target layer, for example, the first target layer may be a TOR layer, the second target layer may be an EOR layer, or the first target layer may be an EOR layer, the second target layer may be a TOR layer, etc. In different combinations, the storage method of the connection relationship between the first node and the second node may be different, and specific reference may be made to the above methods 1 to 3, which will not be listed here one by one.
[0114] S303. The electronic device creates a topology model of the first NFV network based at least on the first node, the second node, and a connection relationship between the first node and the second node.
[0115] Specifically, S303 can be implemented as follows: the electronic device inputs at least the first node, the second node, and the connection relationship between the first node and the second node into a topology model generation algorithm, and the topology model generation algorithm organizes at least the first node, the second node, and the connection relationship between the second node and the second node into a topology model of the first NFV network.
[0116] The embodiments of the present application do not impose any unique limitation on the generation algorithm of the topology model.
[0117] In an example, the topology model generation algorithm may include: Tiers algorithm or Transit-stub algorithm.
[0118] In another example, the topology model generation algorithm may also be a user-defined algorithm.
[0119] The data processing method provided in the embodiment of the present application obtains the node information of the first node included in the first NFV network; the node information of the first node includes the identifier of the first node; the first target layer is determined according to the identifier of the first node; the first target layer is the layer to which the first node belongs in the first NFV network; the second node that has a connection relationship with the first node is determined in the node of the second target layer; the second target layer is any layer in the first NFV network except the first target layer; at least according to the first node, the second node and the connection relationship between the first node and the second node, the topology model of the first NFV network is created. In the scheme of the present application, there is no need to interact with other devices for instructions, and the node information of the node is directly processed on the server side to obtain the topology model of the NFV network, which is simple to implement. Especially when the NFV network includes more nodes and the connection relationship between the nodes is more complex, the simplicity of the scheme of the present application becomes more obvious.
[0120] It should be noted that if the first target layer is a network element layer, and the first NFV network includes a plurality of first nodes, when creating a topology model of the first NFV network, before executing S303, Figure 4 As shown, the embodiments of the present application may also include but are not limited to the following S303A.
[0121] S303A: The electronic device obtains a connection relationship between the plurality of first nodes.
[0122] Specifically, the electronic device obtains the connection relationship between each first node and other first nodes for each first node among the multiple first nodes included in the first NFV network.
[0123] The following is an explanation of S303A by taking multiple first nodes including SMF network element 1, UPF network element 1 and UPF network element 2 as an example, which may specifically include but not be limited to the following S303A1 to S303A3.
[0124] S303A1. The electronic device obtains the connection relationship between SMF network element 1 and UPF network element 1.
[0125] The electronic device queries the UPF list managed by SMF network element 1 and determines that the list includes UPF network element 1. Then, there is an N4 link between SMF network element 1 and UPF network element 1, and it can be considered that there is a connection relationship between SMF network element 1 and UPF network element 1.
[0126] It should be noted that if UPF network element 1 is not included in the list, there is no N4 link between SMF network element 1 and UPF network element 1, and it can be considered that there is no connection relationship between SMF network element 1 and UPF network element 1.
[0127] S303A2. The electronic device obtains the connection relationship between SMF network element 1 and UPF network element 2.
[0128] Among them, the implementation of S303A2 refers to S303A1.
[0129] S303A3. The electronic device obtains the connection relationship between UPF network element 1 and UPF network element 2.
[0130] The electronic device queries the interface flow record of the N9 link (UPF-UPF) between UPF network element 1 and UPF network element 2. If the local Internet Protocol (IP) address list in the N9 interface flow record of UPF network element 1 is within the range of the opposite IP address list in the N9 interface flow record of UPF network element 2, and the local IP address list in the N9 interface flow record of UPF network element 2 is within the range of the opposite IP address list in the N9 interface flow record of UPF network element 1,
[0131] If the range is within the range, it means that UPF network element 1 and UPF network element 2 are interconnected, that is, it is considered that there is a
[0132] In connection relationship; otherwise, it is considered that there is no connection relationship between UPF network element 1 and UPF network element 2.
[0133] For example, the N9 interface 1.1 record in UPF network element 1 includes: UPF00001||N911||{117.142.117.241, 117.142.117.242}||{(221.177.15.34, 255.255.255.255)}.
[0134] Among them, UPF00001 is the identifier of UPF network element 1; N911 is used to represent the N9 interface 1.1 record; 117.142.117.241, 117.142.117.242 are the local IP addresses; (221.177.15.34, 255.255.255.255) is the peer IP address.
[0135] The record of a certain N9 interface 2.1 in UPF network element 2 includes: UPF00002||N921||{221.177.15.33, 221.177.15.34, 221.177.15.35, 221.177.15.36, 221.177.15.37, 221.177.15.38, 2409:8005:2901:0000:0001::1, 2409:8005:2901 :0000:0001::2, 2409:8005:2901:0000:0001::3, 2409:8005:2901:0000:0001::4, 2409:8005:2901:0000:0001::5, 2409:8005:2901:0000:0001::6}||{(117.142.117.241, 255.255.255.255)}.
[0136] Among them, UPF00002 is the identifier of UPF network element 2; N921 is used to represent the N9 interface 2.1 record; {221.177.15.33, 221.177.15.34, 221.177.15.35, 221.177.15.36, 221.177.15.37, 221.177.15.38, 2409:8005:2901:0000:0001::1, 2409:8005:2901:000 0:0001::2, 2409:8005:2901:0000:0001::3, 2409:8005:2901:0000:0001::4, 2409:8005:2901:0000:0001::5, 2409:8005:2901:0000:0001::6} is the local IP address, and (117.142.117.241, 255.255.255.255) is the remote IP address.
[0137] Correspondingly, S303 can be implemented as: creating a topology model of the first NFV network at least according to the plurality of first nodes, the connection relationship between the plurality of first nodes, the connection relationship between each of the plurality of first nodes and the second node, and the second node. For specific implementation, please refer to S303.
[0138] Next, in some embodiments, when the first NFV network includes at least three layers, before executing S303, as Figure 4 As shown, the process of creating the topology model of the first NFV network may further include the following S303B.
[0139] S303B: The electronic device determines, in the third target layer, a third node that is connected to the second node.
[0140] The third target layer is any layer in the first NFV network except the first target layer and the second target layer.
[0141] In one example, if the first target layer is the upper layer of the second target layer, the third target layer is the lower layer of the second target layer; or, if the first target layer is the lower layer of the second target layer, the third target layer is the upper layer of the second target layer.
[0142] The implementation of S303B may refer to the description of determining the second node connected to the first node in S303, which is not described in detail here.
[0143] It should be noted that if the number of second nodes connected to the first node determined in S303 is more than one, then in S303B, for each second node, a third node connected to each second node needs to be determined in the third target layer.
[0144] At this time, S303 can be implemented as: creating a topology model of the first NFV network based on at least the first node, the second node, the connection relationship between the first node and the second node, the third node, and the connection relationship between the third node and the second node. The specific creation process can refer to S303.
[0145] It can be understood that the first NFV network may further include a fourth layer, etc. When the first NFV network includes a fourth layer, the specific implementation may refer to S303B, and S301 to S303.
[0146] After the creation of the topology model of the first NFV network is completed, the topology model of the first NFV network can also be presented through a visual diagram (or also called a topology diagram). Figure 5 As shown, the presentation process may include but is not limited to the following S501 and S503.
[0147] S501: The electronic device maps the first node to a first node icon in a first area in a visible graph, and displays node information of the first node.
[0148] Among them, the first area is the area corresponding to the first target layer in the visible graph; the visible graph is used to present the topology model of the first NFV network.
[0149] It should be noted that the visibility graph may be configured as multiple regions, one region corresponding to a layer included in the NFV network. For example, the first target layer corresponds to the first target layer in the visibility graph.
[0150] S501 can be implemented as follows: the electronic device adds a first node icon in the first area in the visible graph, and associates the first node icon with the first node to represent the first node of the first target layer included in the first NFV network through the first node icon; and displays the node information of the first node.
[0151] For example, the electronic device adds a circle to the first area in the visible graph, and the attribute of the circle is set to the identifier of the first node.
[0152] Optionally, the electronic device may also display node information of the first node.
[0153] The present application does not limit the specific manner of displaying the node information of the first node. For example, the node information of the first node may be displayed together with the first node icon. For another example, the node information of the first node may be displayed after the user clicks the first node icon.
[0154] S502: The electronic device maps the second node to a second node icon in a second area in the visible graph.
[0155] The second area is an area in the visible graph corresponding to the second target layer.
[0156] The second node icon may be the same as the first node icon, or the second node icon may be different from the first node icon.
[0157] The implementation of S502 is similar to that of S501. For the specific implementation process, reference may be made to the specific description of mapping the first node to the first node icon in the first area in the visible graph in S501, which will not be described in detail here.
[0158] S503: The electronic device maps the connection relationship between the first node and the second node into a line connecting the first node icon and the second node icon in the visible graph.
[0159] S503 can be implemented as follows: the electronic device adds a first connection line in the visible graph, connects the first node icon in the first area with the second node icon in the second area through the first connection line, and thus represents the connection relationship between the first node and the second node in the first NFV network through the first connection line.
[0160] For example, the electronic device adds line 1 in the visible graph, and connects the first node icon in the first area with the second node icon in the second area through line 1.
[0161] In this way, the topology model of the first NFV network can be presented in a visual manner, so that the nodes included in the first NFV network and the connection relationships between the nodes can be clearly seen, making the logic of the topology model of the first NFV network clearer.
[0162] The content of the node information is described below.
[0163] Still taking the first node as an example, the node information of the first node may also include at least one of the following: alarm information, resource information, performance information, and standard information.
[0164] The alarm information is used to indicate the alarm level of the first node.
[0165] In an example, the first node may have an alarm message for indicating the level of the alarm.
[0166] In another example, the first node may have multiple alarm information, each of which indicates an alarm level. In this example, the highest level of alarm information may be displayed in the visible graph.
[0167] When the alarm information of the first node is displayed in the visual graph, the display mode of the alarm information can be configured according to actual needs.
[0168] In one example, the first node may be rendered in different colors according to different alarm levels. For example, when the alarm levels are divided into: alarm 1, alarm 2, and alarm 3, alarm 1 may be set to yellow, alarm 2 may be set to orange, and alarm 3 may be set to red.
[0169] The resource information may include at least one of the following: the location of the first node, and the type of the first node.
[0170] The performance information may include at least one of the following: a memory usage rate of the first node, and a read / write rate of the first node.
[0171] The standard information is used to characterize the state of the first node; the state may include: normal, upgrade, or maintenance. The standard information may be used to assist in alarm judgment. For example, when the first node has alarm information and the standard information of the first node is displayed as maintenance, it can be considered that the alarm is normal and does not need to be processed.
[0172] By adding node information of nodes in the topology model of the first NFV network, fault analysis and fault demarcation of the first NFV network can be performed according to the node information of the nodes in the topology map without manual processing, thereby improving the maintenance convenience of the NFV network.
[0173] By adding the presentation of node information in the visual diagram, the node information of each node in the network can be clearly known at a glance, further improving the convenience of NFV network maintenance.
[0174] If the first NFV network includes a large number of nodes, the nodes included in each layer can be grouped and presented. The grouping process is now described using the first node as an example. Figure 5 As shown, the specific examples may include but are not limited to the following S504 and S505.
[0175] S504: The electronic device divides the first nodes of the same type among the plurality of the first nodes into a first group.
[0176] Specifically, the electronic device obtains types of multiple first nodes, and divides nodes of the same type into a first group.
[0177] For example, the first node includes: TOR001, TOR002, TOR003, TOR004, TOR005 and TOR006; the corresponding TOR device types are S-TOR, M-TOR, M-TOR, M-TOR, S-TOR and S-TOR, then TOR001, TOR005 and TOR006 can be divided into a first group of the third target layer, and TOR002, TOR003 and TOR004 can be divided into another first group of the third target layer.
[0178] S505: The electronic device maps the first group to a first group of icons in the first area in the visible image.
[0179] The electronic device adds a first group of icons in the visible image and associates the first group of icons with the first group to represent the first group through the first group of icons.
[0180] In one example, the electronic device may simultaneously display the first group of icons and each node icon in the first group.
[0181] In another example, the electronic device may display a first group of icons, and after receiving an operation such as a click on the first group of icons, display icons of each node in the first group.
[0182] In this way, when the first NFV network includes a large number of nodes, the complicated presentation method is eliminated through the grouped display method, and the approximate network structure of the first network is concisely presented, thereby improving the user experience.
[0183] Corresponding to the second embodiment, the presentation of the visual graph may also include but is not limited to the following S506 and S507.
[0184] S506: The electronic device maps the third node into a third node icon in a third area in the visible graph.
[0185] The third area is an area in the visible graph corresponding to the third target layer.
[0186] The third node icon may be the same icon as the first node icon, or the same icon as the second node icon; the third node icon may also be another icon different from both the first node icon and the second node icon.
[0187] For the implementation of S506 , reference may be made to the specific description of the electronic device mapping the first node to the first node icon in the first area in the visible graph in S501 .
[0188] S507: The electronic device maps the connection relationship between the second node and the third node into a line connecting the second node icon and the third node icon in the visible graph.
[0189] The implementation of S507 may refer to the description of the electronic device mapping the connection relationship between the first node and the second node into a line connecting the first node icon and the second node icon in the visible graph in S503.
[0190] Optionally, when the first NFV network includes a large number of network elements, the network elements may also be displayed in pools.
[0191] The standards for network element pooling can be configured according to actual needs.
[0192] In one example, network elements with the same function are grouped into a network element pool. For example, network elements with the same first four parameters in the identification list can be grouped into the same network element pool.
[0193] The display of a network element pool may be implemented as follows: the network elements included in the network element pool are displayed in a visible diagram through a network element pool icon (eg, a rectangular frame composed of dotted lines).
[0194] The present application provides that a communication link between a switch or a router and a server in a first NFV network can also be opened, and node information of each node can be automatically reported through the communication link. Now, the first node is taken as an example for explanation. Figure 6 As shown, it may include but is not limited to the following S601.
[0195] S601: The electronic device starts a communication link between the first node and a server.
[0196] In one example, the electronic device includes a server.
[0197] In one example, S601 may be implemented as: the electronic device starts a communication link layer discovery protocol (Link Layer Discovery Protocol, LLDP) between the first node and the server to form a communication link between the first node and the server.
[0198] S301 may be implemented as follows: the electronic device receives the node information of the first node reported by the first node through the communication link between the first node and the server.
[0199] In one example, the electronic device includes a server.
[0200] Specifically, the in-band operating system of the electronic device periodically sends a Link Layer Discovery Protocol (LLDP) message to the switch through the communication link between the first node and the server.
[0201] After receiving the LLDP message, the switch stores the information to be reported (for example, node information of the node) in the LLDP mib table and sends it to the server through the communication link between the first node and the server.
[0202] In the embodiment of the present application, the node information of the node reported by each node may also be stored. Now, the first node is taken as an example for description, and the specific information may include but is not limited to the following S701 and S702.
[0203] S701. The electronic device determines a storage address of the first target layer.
[0204] When configuring the storage address, the electronic device configures different addresses for the node information of devices in different layers. S701 can be implemented as: the electronic device searches for the address corresponding to the node information of the device storing the first target layer as the storage address of the first target layer.
[0205] S702: The electronic device searches for a storage address for storing node information of the first node under a storage address of the first target layer.
[0206] When configuring the storage address of the first target layer, the electronic device configures different storage addresses for node information of different nodes. S702 can be implemented as follows: the electronic device searches for the storage address of the node information of the first node under the storage address of the first target layer.
[0207] S703: The electronic device stores the node information of the first node in the storage address of the node information for the first node.
[0208] The electronic device stores the acquired node information of the first node at a storage address used to store the node information of the first node.
[0209] Among them, after the electronic device stores the node information of the first node for a first preset period of time, it obtains the node information of the first node included in the first NFV network and establishes a topology model of the first NFV network.
[0210] In this way, on the one hand, it is possible to achieve layered storage, easy to call and update.
[0211] In this way, on the other hand, the node information of the node is updated and reported to the electronic device in a timely manner. The electronic device parses the reported data within the first preset time period after storage. After the analysis is completed, the topology model of the first NFV network is established according to the solution of the present application, thereby improving the timeliness of the update of the network topology model and the generation efficiency of the network topology model.
[0212] Below, the data processing method provided in the embodiment of the present application is further explained through specific application scenarios.
[0213] In the related art, the process of creating a network topology model includes: obtaining the configuration parameters of the switch; generating a call instruction according to the configuration parameters; sending a call instruction to the switch and receiving a first network topology fed back by the switch, wherein the first network topology is a call connection relationship between the switch and a physical server connected to the switch; sending a detection instruction to the physical server, wherein the detection instruction is used to instruct the physical server to run a virtual machine detection program; wherein the virtual machine detection program provides interfaces corresponding to at least two virtualization technologies; obtaining the detection results returned by the virtual machine detection program, and determining a second network topology according to the detection results, wherein the second network topology is a call connection relationship between the virtual server carried in the physical server and the switch; determining the network topology of the current network according to the first network topology and the second network topology
[0214] The creation of the above network topology model has the following disadvantages:
[0215] 1. Under the new NFV network architecture, the multi-layer connection relationship of virtual network elements cannot be visualized, making it difficult to get an overview of the overall status of network cloud devices.
[0216] 2. The six-layer topology and horizontal topology in the network cloud are blank, and there is no feasible solution.
[0217] 3. Traditional network topologies are all manually maintained statically, which results in low efficiency and a large number of errors and omissions.
[0218] 4. Network cloud topology changes frequently and in large quantities (for example, China Mobile's eight regions' NFV Phase I has 20,000 physical machines), and there is a lack of automatic topology quick presentation methods.
[0219] 5. Under the hierarchical NFV cloud architecture, the relationships between the various layers are intricate, a single alarm has far-reaching impact, and there is a lack of effective means to demarcate and analyze faults.
[0220] The solution provided in this application can solve the shortcomings of the above solutions, mainly including:
[0221] 1. An innovative concept of "group", "point", "line" and "surface" is proposed to form a concise, practical and logical visual topological presentation.
[0222] 2. A network topology that integrates horizontal and vertical topologies is proposed, which visualizes the topology from the macro network element connection and micro cloud connection.
[0223] 3. A solution for automatic topology presentation of the underlying network is proposed, which greatly avoids the errors and omissions of traditional static topology.
[0224] 4. A solution for establishing pre-generated topology is proposed, which can achieve topology presentation in seconds, which is fast and efficient.
[0225] 5. A multi-dimensional presentation scheme of topology overlay alarms, performance, resources, and standard workers is proposed, and alarm / topology backtracking and other functions are innovatively embedded into topology visualization.
[0226] Below, a complete and comprehensive NFV network is taken as an example to illustrate the data processing method provided in the embodiment of the present application.
[0227] The present invention proposes a visual topology presentation scheme for network cloud, the core idea of which is a network topology that integrates horizontal and vertical topologies. The horizontal topology visualizes the network element connection topology from a macro level, and the vertical topology visualizes the connection topology within the cloud from a micro level. In order to reasonably solve the connection relationship between multiple layers, the concepts of group, point, surface and line are proposed. At the same time, a scheme for establishing a pre-generated topology is proposed, which realizes automatic topology presentation in seconds. In order to improve the demarcation and positioning of problems, multi-dimensional information such as alarms, performance, resources, and standards is superimposed on the topology, and functions such as alarm / topology backtracking are innovatively embedded in the topology visualization.
[0228] Specific technical solutions include:
[0229] 1. Construct groups, points, surfaces, lines, and topological levels.
[0230] Among them, the vertical topology is divided into six layers, namely network element layer, virtual layer, host layer, TOR layer, EOR layer, and router layer. Each layer is a surface; the device on each layer is a point, and devices of the same type are divided into a group. Devices on different layers are connected by lines.
[0231] For example, Figure 8The topology model of a possible NFV network is shown, which mainly includes: network element layer, virtual layer, host layer, TOR layer, EOR layer, and router layer. Among them, the network element layer includes network element A; the virtual layer includes group 1 (virtual machine (or virtual machine) A-1, virtual machine A-2, virtual machine A-3, virtual machine A-4, virtual machine A-5) and virtual machine B, etc.; the host layer includes host 1, host 2, host 3, host 4, host 5, host 6, host 7, host 8, etc.; the TOR layer includes group 2 (S-TOR, M-TOR, ST-TOR, DM-TOR), etc.; the EOR layer includes EOR group 1, EOR group 2 and other EOR devices; the routing layer includes router 1, router 2, etc.
[0232] Figure 9-Figure 14 The structure of the visible graph is shown in Figure 2. Figure 9-Figure 14 , we can see the presentation process of the visible graph in different situations. Among them, Fig. 9 It mainly illustrates the process of grouping and aggregation; Fig.10 It mainly illustrates the connection between devices at different layers; Fig.11 It mainly illustrates the process of shrinking by group to form a plane visible image; Fig.12 It mainly illustrates the overall display of all layers of the NFV network; Fig.13 It mainly illustrates the structure of the network element layer; Fig.14 The visualization diagram obtained after the above processes is shown.
[0233] 1. Divide the boundaries into layers and build the surface layer by layer.
[0234] Among them, the topology is divided into six layers: network element layer, virtual layer, host layer, TOR layer, EOR layer, and routing layer, and each layer is a plane.
[0235] 2. Create groups and aggregate by category.
[0236] Among them, the devices between the devices can be aggregated according to the same type. For example, virtual machine A-1, virtual machine A-2, virtual machine A-3, virtual machine A-4, and virtual machine A-5 are virtual machines of the same type and can be aggregated into virtual machine group A for folding.
[0237] 3. Each device is a separate point.
[0238] Among them, each device is an independent point and represents a separate device.
[0239] 4. Use lines to connect layers.
[0240] Among them, devices at different layers are connected by lines, which represent the connection relationship between the devices.
[0241] The network topology integrates horizontal and vertical topology, and visualizes the topology from the macro network element connection and micro cloud connection.
[0242] 1.1. Horizontal topology is an overview of the service based architecture (SBA) bus. Basic network elements are mounted on the bus, and the overall situation of the network elements is summarized.
[0243] The electronic device analyzes the resource file of the specified network element to draw a topology map and mounts all basic network elements on the bus. The basic network elements include: AMF, SMF, NSSF, NRF, PCF, UDM, etc.
[0244] The horizontal topology is divided into pools (pools). The network elements in different pools are drawn separately, which makes it easier to distinguish the logical relationship; the network elements are connected through links.
[0245] 1.1 mainly includes the following steps:
[0246] 1) Electronic equipment summarizes network element information and mounts the bus.
[0247] Specifically, based on the network element full record table (v_vnf_ems table), the 5GC network element management table (managed element table) is queried in association. For example, the AMF network element table is: cm_amf_managed element table), and according to the rmuid association query, it is summarized into the total table (cm_5gc_device) to form the basic information of the network element.
[0248] 2) Electronic equipment displays network elements in pools.
[0249] Query the basic information of the network element and obtain the basic information of the network element and enter it into the table cm_5gc_device.
[0250] Taking AMF as an example, the network element management table cm_amf_managed element is associated with the functional entity table cm_amf_amffunction according to the dn interception field and datatime. AMF needs to obtain amf_guami_list (global AMF unique identifier list), and SMF needs to obtain the DN list of UPF managed by SMF.
[0251] Parse the AMF pool (POOL) of the AMF network element and enter it into the table cm_5gc_vnf_pool.
[0252] Query the global AMF unique identifier list. If the values of the first four parameters are the same, they are in the same pool. The network elements in the same pool are displayed through the network element pool icon.
[0253] 3) The electronic equipment parses the N4, N3, and N9 link information of the network elements to form links between network elements.
[0254] N4: SMF and UPF link.
[0255] Query the UPF list collection range (UPF List) managed by SMF. Associate the UPF network element in cm_5gc_device according to the UPF DN list, parse out the corresponding UPF network element, one record for each UPF network element, enter it into the table cm_5gc_circuit, and form a link between SMF and UPF.
[0256] N3: UPF and RAN link
[0257] Query the UPF network element in cm_5gc_device, associate cm_upf_eprpdynn3upf (UPF N3 (UPF-RAN) interface traffic performance measurement) to obtain the N3 interface information of the UPF network element; form a UPF and RAN link.
[0258] N9: UPF to UPF link
[0259] Query the UPF network element in cm_5gc_device. Associate cm_upf_eprpdynn9upf (UPF N9 (UPF-UPF) interface traffic performance measurement) to obtain the N9 interface information of the UPF network element; obtain the N9 interface record of the UPF network element; confirm the interconnection relationship between the UPF network elements based on the interface local and peer IP address lists; poll and analyze each N9 interface of all UPF network elements.
[0260] Get the N9 interface record of the UPF network element. Confirm the interconnection relationship between the UPF network elements based on the local and peer IP address lists of the interface: poll and analyze each N9 interface of all UPF network elements; if the local IP address list recorded by N9 interface 1.1 in UPF network element 1 is within the peer IP address list range of a certain N9 interface 2.1 in UPF network element 2, and the local IP address list of 2.1 is within the peer IP address list range of 1.1, it means that UPF network element 1 and UPF network element 2 are interconnected.
[0261] Fig.13 The diagram illustrates a structure of a visual graph, which is used to describe the structure of the horizontal topology (structure of the network element layer).
[0262] 1.2. The vertical topology establishes the topological connection relationship between the network element layer, virtual layer, host layer, TOR layer, EOR layer, and routing layer.
[0263] 1) The network element layer is associated with the virtual layer.
[0264] The network element establishes a connection relationship with the virtual machine through the virtual machine information carried by the network element; each network element is associated with the host's identifier through the virtual machine identifier (vmid) of the virtual network element in the network element management table (managed element).
[0265] 2) The virtual layer is associated with the host layer.
[0266] The virtual machine establishes a connection with the host through the host to which the virtual machine belongs. The virtual machine is associated with the host through the host name of the host where the virtual machine is located.
[0267] 3) The host is associated with TOR.
[0268] The host is associated with the server chassis through the host serial number; the server chassis is associated with the server network port information table, and the server network port information table is associated with the TOR MAC address.
[0269] 4) TOR is associated with EOR.
[0270] TOR and EOR are associated with the device port number through the device ID.
[0271] 5) EOR is associated with the router.
[0272] The EOR and the router are associated with each other through the EOR device ID and the router ID to establish a connection relationship.
[0273] Constructing an automatic topology presentation solution for the underlying network can greatly avoid the errors and omissions of traditional static topology; establishing a pre-generated topology solution can achieve topology presentation in seconds.
[0274] The connection between the underlying network TOR / EOR, ROUTER and other devices and the server cannot be automatically presented and can only be drawn manually. Enable the LLDP protocol through network devices, establish a data model, and realize automatic topology data acquisition and topology presentation. At the same time, establish a pre-generated topology solution to achieve topology presentation in seconds.
[0275] 1) The electronic device starts the communication link between the server and the switch or router.
[0276] The electronic device starts a communication link layer discovery protocol (Link Layer Discovery Protocol, LLDP) between the first node and the server to form a communication link between the first node and the server.
[0277] 2) The electronic device receives the node information reported by the switch or router through the communication link between the server and the switch or router.
[0278] Specifically, the in-band operating system of the electronic device periodically sends a Link Layer Discovery Protocol (LLDP) message to the switch through a communication link between the switch or router and the server.
[0279] After receiving the LLDP message, the switch or router stores the information to be reported (for example, node information of the node) in the LLDP mib table and sends it to the server through the communication link between the switch or router and the server.
[0280] Pre-generated topology solution: Construct storage processes according to the "point" / "line" / "surface" hierarchy, pre-store relevant data, and realize data pre-generation. Electronic equipment uses crontab pre-scheduling, and scheduling starts 20 minutes after the collection is completed to ensure timely data updates.
[0281] The topology of the device is overlaid with multi-dimensional information such as alarms, performance, resources, and standard work, and the alarm / topology backtracking functions are embedded in the topology visualization. According to the unified data model, the key related fields between more than 300 resource / performance / alarm tables are sorted out; based on the topology, multi-dimensional information is overlaid to assist in fault location.
[0282] 1) Topology overlays alarm, performance, resource, standard worker and other information.
[0283] Each device is superimposed with relevant information, and the device is associated with alarms, performance, resources, and standard data through the device ID, realizing rapid and three-dimensional presentation of device-related information in the topology.
[0284] Device alarms are presented in the form of rendered topology icons. Different alarm levels are marked with different colors, and multi-level alarms are mainly rendered at the high level.
[0285] 2) Embed functions such as alarm / topology backtracking into topology visualization.
[0286] Topology fusion vertical topology backtracking, based on real-time presentation, innovatively backtracks customized time period information to achieve topology traceability.
[0287] Topology fusion alarm backtracking, based on real-time alarms, innovatively backtracks alarm information in a custom time period to make alarms traceable and problems easy to locate.
[0288] Problems can be quickly located by superimposing multi-dimensional information such as alarms, performance, resources, and standards.
[0289] Alarm data overlay: You can quickly locate and view which devices in the entire topology have alarms, and whether the alarm is caused by a fault in the alarm itself or by other devices associated with the alarm.
[0290] Resource data superposition: You can understand the basic information of the current device to help understand the specific topology structure; at the same time, it can also assist in analyzing the cause of the alarm for the device that has an alarm.
[0291] Performance data overlay: By overlaying information such as memory usage and read and write speed, you can help accurately locate whether the alarm is caused by performance reasons.
[0292] Standard engineering data overlay: The engineering information can be synchronized to the topology to determine whether the alarm is caused by the engineering.
[0293] This application scheme has the following advantages:
[0294] 1. Make clever use of a unified data model to sort out the logical data relationship between network organizational structures, introduce the concept of "group" according to the scenario, establish the concept of "point + surface + line", and form a concise, practical, and logically clear visual topology presentation.
[0295] 2. Horizontal and vertical integrated topology, realizing network element connection and cloud connection topology presentation. The horizontal topology is based on the bus topology of the SBA architecture + the logical topology based on the interface link to realize the topology between network elements; the vertical topology realizes the six-layer connection relationship within the cloud, including the logical connection relationship between the network element layer, virtual layer, host layer, TOR layer, EOR layer, and router layer, and the fault level connection relationship is clearly visible.
[0296] 3. The automatic topology presentation solution of the underlying network has significantly improved efficiency compared with the traditional static topology drawing solution.
[0297] 4. Establish a pre-generated topology solution, and the topology is presented in seconds. Use crontab scheduling, start scheduling 20 minutes after the collection is completed, and store by "point" / "line" / "surface" level, by province / honeycomb pool and other dimensions.
[0298] 5. The horizontal and vertical topologies are overlaid with alarms, performance, resources, standard workers and other multi-dimensional presentations, and the alarm / topology backtracking and other functions are embedded in the topology visualization.
[0299] Fig.15 is a structural diagram of a data processing device according to an embodiment of the present application, such as Fig.15 As shown, the data processing device 150 may include a first determining unit 1501, a second determining unit 1502 and a creating unit 1503. Among them:
[0300] The first determination unit 1501 is used to determine a first node included in a first NFV network and a first target layer to which the first node belongs in the first NFV network; the first NFV network includes at least two layers.
[0301] The second determination unit 1502 is used to determine a second node that has a connection relationship with the first node among the nodes of the second target layer; the second target layer is a layer in the first NFV network other than the first target layer.
[0302] The creation unit 1503 is used to create a topology model of the first NFV network based on at least the first node, the second node, and the connection relationship between the first node and the second node.
[0303] In some embodiments, the data processing device 150 further includes a presentation unit. The presentation unit is used to: map the first node to a first node icon in a first area of a visible graph, and display node information of the first node; the first area is an area in the visible graph corresponding to the first target layer; the visible graph is used to present a topology model of the first NFV network;
[0304] In a second area in the visible graph, mapping the second node to a second node icon; the second area is an area in the visible graph corresponding to the second target layer;
[0305] In the visual graph, the connection relationship between the first node and the second node is mapped to a line connecting the first node icon and the second node icon.
[0306] In some embodiments, when the first NFV network includes at least three layers, the second determination unit 1503 is also used to determine a third node in a third target layer that has a connection relationship with the second node; the third target layer is any layer in the first NFV network except the first target layer and the second target layer.
[0307] The creation unit 1504 is specifically used to create a topology model of the first NFV network based on at least the first node, the second node, the connection relationship between the first node and the second node, the third node, and the connection relationship between the third node and the second node.
[0308] In some embodiments, the presentation unit is further configured to: map the third node to a third node icon in a third area in the visible graph; the third area is an area in the visible graph corresponding to the third target layer;
[0309] In the visual graph, the connection relationship between the second node and the third node is mapped to a line connecting the second node icon and the third node icon.
[0310] In some embodiments, the first target layer is the network element layer, the first NFV network includes a plurality of the first nodes, and the second determining unit 1503 is further used to: obtain a connection relationship between the plurality of the first nodes;
[0311] The creation unit 1504 is specifically used to create a topology model of the first NFV network at least based on multiple first nodes, the connection relationship between the multiple first nodes, the connection relationship between each of the multiple first nodes and the second node, and the second node.
[0312] In some embodiments, the presenting unit is further configured to: divide the first nodes of the same type among the plurality of the first nodes into a first group;
[0313] In the visible graph, the first group is mapped as a first group of icons within the first area.
[0314] In some embodiments, the node information of the first node further includes at least one of the following:
[0315] Alarm information; the alarm information is used to indicate the alarm level of the first node;
[0316] Resource information; the resource information includes at least one of the following: the location of the first node, the type of the first node;
[0317] Performance information; the performance information includes at least one of the following: memory usage of the first node, read and write rate of the first node;
[0318] Marking information; the marking information is used to characterize the state of the first node; the state includes: normal, upgrade, or maintenance.
[0319] In some embodiments, the first target layer is: a TOR layer, or an EOR layer, and the data processing device 150 further includes an opening unit, which is used to:
[0320] Opening a communication link between the first node and the server;
[0321] The obtaining node information of a first node included in the first NFV network includes:
[0322] Receive node information of the first node reported by the first node through a communication link between the first node and the server.
[0323] In some embodiments, the data processing device 150 further includes a storage unit, and the storage unit is used to: determine a storage address of the first target layer;
[0324] Searching for a storage address for storing the node information of the first node under the storage address of the first target layer;
[0325] The node information of the first node is stored in the storage address of the node information for the first node; wherein, after the node information of the first node is stored for a first preset time period, the node information of the first node included in the first NFV network is obtained.
[0326] It should be noted that the data processing device provided in the embodiment of the present application includes the various units included, which can be implemented by a processor in an electronic device; of course, it can also be implemented by a specific logic circuit; in the implementation process, the processor can be a central processing unit (CPU, Central Processing Unit), a microprocessor (MPU, Micro Processor Unit), a digital signal processor (DSP, Digital Signal Processor) or a field programmable gate array (FPGA, Field-Programmable Gate Array), etc.
[0327] The description of the above device embodiment is similar to the description of the above method embodiment, and has similar beneficial effects as the method embodiment. For technical details not disclosed in the device embodiment of the present application, please refer to the description of the method embodiment of the present application for understanding.
[0328] It should be noted that in the embodiment of the present application, if the above-mentioned data processing method is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the relevant technology can be embodied in the form of a software product, which is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a U disk, a mobile hard disk, a read-only memory (ROM), a disk or an optical disk. In this way, the embodiment of the present application is not limited to any specific combination of hardware and software.
[0329] Correspondingly, an embodiment of the present application provides an electronic device, including a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and when the processor executes the program, the steps in the data processing method provided in the above embodiment are implemented.
[0330] Correspondingly, an embodiment of the present application provides a storage medium, that is, a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps in the data processing method provided in the above embodiment are implemented.
[0331] It should be noted here that the description of the above storage medium and device embodiments is similar to the description of the above method embodiments, and has similar beneficial effects as the method embodiments. For technical details not disclosed in the storage medium and device embodiments of this application, please refer to the description of the method embodiments of this application for understanding.
[0332] It should be noted that Fig.16 A hardware entity diagram of an electronic device according to an embodiment of the present application is shown in FIG. Fig.16 As shown, the electronic device 160 includes: a processor 1601, at least one communication bus 1602, a user interface 1603, at least one external communication interface 1604 and a memory 1605. The communication bus 1602 is configured to achieve connection and communication between these components. The user interface 1603 may include a display screen, and the external communication interface 1604 may include a standard wired interface and a wireless interface.
[0333] The memory 1605 is configured to store instructions and applications executable by the processor 1601, and can also cache data to be processed or processed by the processor 1601 and various modules in the electronic device (for example, image data, audio data, voice communication data, and video communication data), which can be implemented through flash memory (FLASH) or random access memory (Random Access Memory, RAM).
[0334] It should be understood that "one embodiment" or "an embodiment" mentioned throughout the specification means that specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in some embodiments" appearing throughout the specification may not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present application, the size of the sequence number of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application. The above-mentioned sequence numbers of the embodiments of the present application are for description only and do not represent the advantages and disadvantages of the embodiments.
[0335] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0336] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.
[0337] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0338] In addition, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be a separate unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0339] A person skilled in the art can understand that all or part of the steps of implementing the above method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiment; and the aforementioned storage medium includes: mobile storage devices, read-only memories (ROM), magnetic disks or optical disks, etc., various media that can store program codes.
[0340] Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application can be essentially or partly embodied in the form of a software product that contributes to the relevant technology. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROMs, magnetic disks, or optical disks.
[0341] The above is only an implementation method of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A data processing method, characterized in that: The method comprises: Determine a first node included in a first NFV network, and a first target layer to which the first node belongs in the first NFV network; the first NFV network includes at least two layers; Determine a second node in a connection relationship with the first node among nodes of a second target layer; the second target layer is a layer in the first NFV network other than the first target layer; Creating a topology model of the first NFV network at least according to the first node, the second node, and a connection relationship between the first node and the second node; The method further comprises: In a first area in the visible graph, the first node is mapped to a first node icon, and node information of the first node is displayed; the first area is an area in the visible graph corresponding to the first target layer; the visible graph is used to present a topology model of the first NFV network; In a second area in the visible graph, mapping the second node to a second node icon; the second area is an area in the visible graph corresponding to the second target layer; In the visual graph, the connection relationship between the first node and the second node is mapped to a line connecting the first node icon and the second node icon.
2. The method according to claim 1, characterized in that In the case where the first NFV network includes at least three layers, the method further includes: Determine in a third target layer a third node that is connected to the second node; the third target layer is a layer in the first NFV network other than the first target layer and the second target layer; Correspondingly, creating a topology model of the first NFV network at least according to the first node, the second node, and a connection relationship between the first node and the second node includes: A topology model of the first NFV network is created based on at least the first node, the second node, the connection relationship between the first node and the second node, the third node, and the connection relationship between the third node and the second node.
3. The method according to claim 2, characterized in that The method further comprises: In a third area in the visible graph, the third node is mapped as a third node icon; the third area is an area in the visible graph corresponding to the third target layer; In the visual graph, the connection relationship between the second node and the third node is mapped to a line connecting the second node icon and the third node icon.
4. The method according to claim 1, characterized in that The first target layer is a network element layer, the first NFV network includes a plurality of the first nodes, and the method further includes: Acquire a connection relationship between a plurality of the first nodes; Correspondingly, creating a topology model of the first NFV network at least according to the first node, the second node, and a connection relationship between the first node and the second node includes: A topology model of the first NFV network is created based at least on a plurality of the first nodes, a connection relationship between the plurality of the first nodes, a connection relationship between each of the plurality of the first nodes and the second node, and the second node.
5. The method according to claim 4, characterized in that The method further comprises: Dividing the first nodes of the same type among the plurality of the first nodes into a first group; In the visible graph, the first group is mapped as a first group of icons within the first area.
6. The method according to claim 1, characterized in that The node information of the first node also includes at least one of the following: Alarm information; the alarm information is used to indicate the alarm level of the first node; Resource information; the resource information includes at least one of the following: the location of the first node, the type of the first node; Performance information; the performance information includes at least one of the following: memory usage of the first node, read and write rate of the first node; Standardization information; The standard information is used to represent the state of the first node; The status includes: normal, upgrading or maintenance.
7. The method according to claim 1, characterized in that The first target layer is: a TOR layer, or an EOR layer, and the method further comprises: Opening a communication link between the first node and the server; Obtaining node information of a first node included in the first NFV network includes: Receive node information of the first node reported by the first node through a communication link between the first node and the server.
8. The method according to claim 7, characterized in that The method further comprises: determining a storage address of the first target layer; Searching for a storage address for storing the node information of the first node under the storage address of the first target layer; The node information of the first node is stored in the storage address of the node information for the first node; wherein, after the node information of the first node is stored for a first preset time period, the node information of the first node included in the first NFV network is obtained.
9. A data processing device, characterized in that: The device comprises: A first determining unit, configured to determine a first node included in a first NFV network, and a first target layer to which the first node belongs in the first NFV network; the first NFV network includes at least two layers; A second determining unit is used to determine a second node that has a connection relationship with the first node among the nodes of a second target layer; the second target layer is a layer in the first NFV network other than the first target layer; a creating unit, configured to create a topology model of the first NFV network at least according to the first node, the second node, and a connection relationship between the first node and the second node; A presentation unit, used for mapping the first node to a first node icon in a first area in a visible graph, and displaying node information of the first node; the first area is an area in the visible graph corresponding to the first target layer; the visible graph is used to present a topology model of the first NFV network; in a second area in the visible graph, mapping the second node to a second node icon; the second area is an area in the visible graph corresponding to the second target layer; in the visible graph, mapping a connection relationship between the first node and the second node to a line connecting the first node icon and the second node icon.
10. An electronic device comprising a memory and a processor, wherein the memory stores a computer program executable on the processor, and the processor implements the data processing method according to any one of claims 1 to 8 when executing the program.
11. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the data processing method according to any one of claims 1 to 8 is implemented.
