Information determination method and device, equipment, storage medium and computer program product
By constructing the target topology of network devices and evaluating their impact, the problem of inaccurate impact of alarm events in the prior art is solved, and a more scientific impact assessment is achieved.
Patent Information
- Application Number
- CN202411163300.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-22
- Publication Date
- 2024-12-06
AI Technical Summary
The prior art relies on human experience in determining the impact of alarm events on network systems, resulting in inaccurate impact.
By determining the interaction relationship between network devices, the target network topology is constructed, the target alarm information is obtained, and the target network equipment related to the alarm information is determined from the network device based on the target network topology, and the degree of impact is evaluated.
It improves the accuracy of the impact of alarm events on network systems, reduces the dependence on human experience, and enhances the scientific nature of impact assessment.
Smart Images

Figure CN119094319A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to an information determination method, device, equipment, storage medium and computer program product. Background Art
[0002] With the development of science and technology, it is becoming increasingly important to determine the impact of alarm events on network systems in complex network scenarios. At present, in the related art, possible failures or events in the network system are constructed into a tree structure in advance based on human experience, and then the impact of the alarm event on the network system is determined based on the tree structure. However, in the related art, the impact of the alarm event on the network system is completely dependent on human experience, resulting in inaccurate impact of the determined alarm event on the network system. Summary of the invention
[0003] In order to solve the above technical problems, the embodiments of the present application hope to provide an information determination method, device, equipment, storage medium and computer program product, which solves the problem of inaccurate impact of alarm events on network systems when determining the impact of alarm events on network systems in related technologies.
[0004] The technical solution of this application is implemented as follows:
[0005] A method for determining information, the method comprising:
[0006] Determine the interaction relationship between network devices in the network system; wherein the network devices include physical devices and virtual devices;
[0007] Based on the interaction relationship, construct a target network topology for the network device; wherein the target network topology represents the hierarchical relationship between the network devices;
[0008] Acquire target alarm information, and determine a target network device related to the target alarm information from the network devices based on the target alarm information and the target network topology;
[0009] In the above solution, the step of constructing a target network topology for the network device based on the interaction relationship includes:
[0010] Building a first network topology based on the first interaction relationship between the physical devices;
[0011] Based on the second interaction relationship between the virtual devices, construct a second network topology; wherein the interaction relationship includes the first interaction relationship and the second interaction relationship;
[0012] The target network topology is constructed based on the first network topology and the second network topology.
[0013] In the above solution, the step of constructing a first network topology based on the first interaction relationship between the physical devices includes:
[0014] Constructing a first node for the network system, and determining the physical device as a second node;
[0015] determining first level information between each second node and the first node;
[0016] Determine second level information between the second nodes based on the first interactive relationship;
[0017] The first network topology is constructed based on the first node, the second node, the first layer information and the second layer information.
[0018] In the above solution, the second network topology is constructed based on the second interaction relationship between the virtual devices, including:
[0019] Determine the first virtual device as the third node, and determine the second virtual device as the fourth node; wherein the first virtual device is a device in the virtual device that has an interactive relationship with the physical device; and the second virtual device is a device in the virtual device other than the first virtual device;
[0020] Based on the second interactive relationship, determine the third level information between the third node and the fourth node, and based on the second interactive relationship, determine the fourth level information between the fourth nodes;
[0021] Based on the second interactive relationship, determining a connection relationship between fourth nodes at the same level;
[0022] The second network topology is constructed based on the connection relationship, the third node, the fourth node, the third-level information and the fourth-level information.
[0023] In the above solution, constructing the target network topology based on the first network topology and the second network topology includes:
[0024] Based on the interaction relationship between the physical device and the virtual device, determine the fifth level information between the first physical device and the first virtual device in the first network topology; wherein the first physical device is a device among the physical devices that has an interaction relationship with the first virtual device;
[0025] The target network topology is constructed based on the first network topology, the second network topology and the fifth-level information.
[0026] In the above solution, the step of determining a target network device related to the target alarm information from the network devices based on the target alarm information and the target network topology includes:
[0027] Determine a first network device that generates the target alarm information;
[0028] Based on the target network topology, a second network device associated with the first network device is determined among the network devices; wherein the target network device includes the first network device and the second network device.
[0029] In the above scheme, the method further comprises:
[0030] Determine the type of the target network device; wherein different types of network devices have different functions;
[0031] Based on the type of the target network device, determining a plurality of evaluation indicators corresponding to the target network device;
[0032] Acquire historical operation data of the target network device corresponding to each evaluation indicator;
[0033] Based on the historical operation data corresponding to each evaluation indicator, the impact degree of the target alarm information on the target network device is determined.
[0034] In the above solution, determining the impact degree of the target alarm information on the target network device based on the historical operation data corresponding to each evaluation indicator includes:
[0035] Processing the historical operation data to determine a target parameter of the target network device for each evaluation indicator; wherein the target parameter represents the transmission performance of the target network device;
[0036] Determining the weight of each evaluation indicator;
[0037] Based on the multiple weights and the multiple target parameters, the degree of influence of the target alarm information on the target network device is determined.
[0038] An information determination device, the device comprising:
[0039] A first determining unit, configured to determine an interaction relationship between network devices in a network system; wherein the network devices include physical devices and virtual devices;
[0040] A processing unit, configured to construct a target network topology for the network device based on the interaction relationship; wherein the target network topology represents hierarchical information between the network devices;
[0041] The second determining unit is used to obtain target alarm information, and determine a target network device related to the target alarm information from the network devices based on the target alarm information and the target network topology.
[0042] An information determination device, the device comprising: a processor, a memory, and a communication bus;
[0043] The communication bus is used to realize the communication connection between the processor and the memory;
[0044] The processor is used to execute the information determination program in the memory to implement the steps of the above-mentioned information determination method.
[0045] A computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of the above-mentioned information determination method.
[0046] A computer program product comprises a computer program, wherein the computer program implements the above-mentioned information determination method when executed by a processor.
[0047] The information determination method, apparatus, device, storage medium and computer program product provided in the embodiments of the present application can determine the interaction relationship between network devices including physical devices and virtual devices in the network system, and based on the interaction relationship between the network devices, construct a target network topology for the network devices that characterizes the hierarchical relationship between the network devices, so that after obtaining the target alarm information, the target network devices related to the target alarm information can be determined from the network devices based on the target alarm information and the target network topology. In this way, after obtaining the target alarm information, the target network devices related to the target alarm information can be directly determined from the network devices according to the target network topology that characterizes the hierarchical relationship between the network devices, instead of relying entirely on human experience when determining the impact scope of the alarm event as in the related art. This solves the problem of inaccurate impact of the determined alarm event on the network system when determining the impact scope of the alarm event in the related art. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] Figure 1 A flowchart of an information determination method provided in an embodiment of the present application;
[0049] Figure 2 A flowchart of another information determination method provided in an embodiment of the present application;
[0050] Figure 3 A schematic diagram of the structure of a network topology for a physical device in an information determination method provided in an embodiment of the present application;
[0051] Figure 4 A schematic diagram of the structure of a network topology for a virtual device in an information determination method provided in an embodiment of the present application;
[0052] Figure 5 A schematic diagram of the structure of an information determination device provided in an embodiment of the present application;
[0053] Figure 6 A schematic diagram of the structure of an information determination device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0054] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.
[0055] It should be understood that the "embodiments of the present application" or "the aforementioned embodiments" mentioned throughout the specification mean that specific features, structures or characteristics related to the embodiments are included in at least one embodiment of the present application. Therefore, "in the embodiments of the present application" or "in the aforementioned embodiments" appearing throughout the specification may not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics may be combined in one or more embodiments in any suitable manner. In the various embodiments of the present application, the size of the sequence numbers 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 embodiments 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.
[0056] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0057] The present application embodiment provides an information determination method, which can be applied to an information determination device, referring to Figure 1 As shown, the method comprises the following steps:
[0058] Step 101: Determine the interaction relationship between network devices in the network system.
[0059] Among them, network devices include physical devices and virtual devices.
[0060] In the embodiment of the present application, physical devices may include physical hosts and physical switches; virtual devices may include virtual machines, virtual switches and virtual routers (VR). Among them, virtual switches may include border virtual switches (Border Virtual Switch, BVS) and distributed virtual switches (Distributed Virtual Switch, DVS).
[0061] In the embodiment of the present application, a configuration file of each network device in the network system may be obtained first, and then the interaction relationship between the network devices may be determined according to the configuration file of each network device.
[0062] Step 102: Based on the interaction relationship, construct a target network topology for the network device.
[0063] The target network topology represents the hierarchical relationship between network devices.
[0064] In an embodiment of the present application, the hierarchical information between each physical device, the hierarchical information between each virtual device, and the hierarchical information between the physical device and the virtual device can be determined based on the interaction relationship between each network device in the network system. Then, a target network topology for the network device can be constructed based on multiple different hierarchical information.
[0065] Step 103: Acquire target alarm information, and determine a target network device related to the target alarm information from network devices based on the target alarm information and the target network topology.
[0066] The target alarm information may refer to log information generated when an alarm event occurs in a network device. In an achievable manner, the alarm event may refer to a failure of a network device or an attack on the network device.
[0067] It should be noted that the target alarm information may include a device identifier, a device name, and an interface identifier of a network device.
[0068] In an embodiment of the present application, the target alarm information generated by the network device can be obtained by monitoring the network device, and then the target alarm event is analyzed to determine the alarm device that generates the target alarm information. Thereafter, the target network device that has an associated relationship with the alarm device is determined from the network device according to the target network topology.
[0069] The information determination method provided in the embodiment of the present application can, after obtaining the target alarm information, directly determine the target network device related to the target alarm information from the network devices according to the target network topology that characterizes the hierarchical relationship between the network devices, instead of relying entirely on human experience when determining the impact scope of the alarm event as in the related art. This solves the problem of inaccurate impact of the determined alarm event on the network system when determining the impact of the alarm event on the network system in the related art.
[0070] Based on the above embodiments, the embodiments of the present application provide an information determination method, referring to Figure 2 As shown, the method comprises the following steps:
[0071] Step 201: Information determines the interaction relationship between network devices in the device network system.
[0072] Among them, network devices include physical devices and virtual devices.
[0073] In an embodiment of the present application, the configuration information of each physical device and each virtual device in the network system can be analyzed to determine the interaction relationship between physical devices, the interaction relationship between virtual devices, and the interaction relationship between physical devices and virtual devices.
[0074] It should be noted that the configuration information of each network device may include a device identification of the network device, relevant information of network devices that have an interactive relationship with the device, and forwarding configuration of the network device.
[0075] Exemplarily, the code corresponding to the interaction relationship between network devices may be as follows:
[0076] {"xxx":{#Network device ID
[0077] "xxxx":{#Port ID of network device
[0078] "peerDeviceID":"yyy",#ID of the peer device
[0079] "peerDeviceType":"zzz",#Type of peer device
[0080] "peerVportID":"yyyy"#Port ID of the peer device}
[0081] }
[0082] }
[0083] Step 202: The information determining device constructs a first network topology based on a first interactive relationship between physical devices.
[0084] The first network topology may refer to a network topology structure for a physical device.
[0085] In the embodiment of the present application, step 202 can be implemented through steps 202a to 202c.
[0086] Step 202a: The information determines that the device constructs a first node for the network system and determines that the physical device is a second node.
[0087] In an embodiment of the present application, each physical device in the network system corresponds to a second node; the first interaction relationship may refer to the interaction relationship between the physical devices in the network device; the first node may refer to the root node of the first network topology, and at the same time, the root node of the first network topology is also the root node of the target network topology.
[0088] It should be noted that the first node (ie, the root node) is unique; each physical device corresponds to a second node.
[0089] In one achievable manner, Figure 3 As shown, the first node may refer to a network system; the second node may refer to a physical switch and a physical host.
[0090] Step 202b: The information determination device determines the first level information between each second node and the first node, and determines the second level information between the second nodes based on the first interaction relationship.
[0091] In an embodiment of the present application, the first-level information may refer to the connection relationship between each physical device and the root node; the second-level information may refer to the connection relationship and hierarchical relationship between the physical devices.
[0092] It should be noted that not all second nodes have an interactive relationship with the first node, that is, not all second nodes are located at the same level. At this time, the second-level information may refer to the connection relationship and hierarchical relationship between physical devices (ie, second nodes) at different levels.
[0093] In an embodiment of the present application, the connection relationship and hierarchical relationship (i.e., first hierarchical information) between each second node and the first node, as well as the connection relationship and hierarchical relationship (i.e., second hierarchical information) between second nodes of different hierarchies can be determined respectively based on the first interaction relationship between the physical devices.
[0094] Step 202c: The information determination device constructs a first network topology based on the first node, the second node, the first-level information, and the second-level information.
[0095] In an embodiment of the present application, an association relationship between the first node and the second node and an association relationship between the second nodes can be established based on the first node, the second node, the hierarchical information between each second node and the first node, and the hierarchical information between the second nodes, thereby obtaining a first network topology for the physical device.
[0096] In one achievable manner, Figure 3As shown, when the physical device includes a physical switch and a physical host, the first network topology may include the connection relationship between the network system and the physical switch in the resource pool of the cloud platform, the connection relationship between the physical switch in the resource pool of the cloud platform and the physical host in the resource pool of the cloud platform, and the connection relationship between the physical host in the resource pool of the cloud platform and the virtual device. That is, when the physical device includes a physical switch and a physical host, the first network topology for the physical device may be constructed based on the connection information between the network system and the physical switch, the hierarchical information between the physical switch and the physical host, and the hierarchical information between the physical host and the virtual device.
[0097] Step 203: The information determining device constructs a second network topology based on the second interactive relationship between the virtual devices.
[0098] The interaction relationship includes a first interaction relationship and a second interaction relationship; and the second network topology may refer to a network topology structure for a virtual device.
[0099] In the embodiment of the present application, step 203 can be implemented through steps 203a to 203d.
[0100] Step 203a: The information determination device determines that the first virtual device is the third node, and determines that the second virtual device is the fourth node.
[0101] The first virtual device is a device in the virtual device that has an interactive relationship with the physical device; the second virtual device is a device in the virtual device other than the first virtual device.
[0102] In the embodiment of the present application, the first virtual device may refer to a border virtual switch; the second virtual device may refer to a device other than the first virtual device in the virtual device; each first virtual device corresponds to a third node; each second virtual device corresponds to a fourth node. In an implementable manner, the first virtual device may refer to a border virtual switch; the second virtual device may refer to a virtual router, a distributed virtual switch, or a virtual machine in the virtual device.
[0103] It should be noted that a physical device can have an interactive relationship with different virtual switches at the same time, that is, a physical device can correspond to multiple first virtual devices, that is, a second node can correspond to multiple third nodes, and accordingly, a first virtual device can also have an interactive relationship with multiple second virtual devices at the same time, that is, the first and third nodes can correspond to multiple fourth nodes.
[0104] Step 203b: The information determination device determines the third level information between the third node and the fourth node based on the second interaction relationship, and determines the fourth level information between the fourth nodes based on the second interaction relationship.
[0105] In an embodiment of the present application, the second interaction relationship refers to the interaction relationship between each virtual device in the network system; the third-level information may refer to the connection relationship between each first virtual device (i.e., the third node) and the second virtual device (i.e., the fourth node); the fourth-level information may include the connection relationship between each second virtual device (i.e., the fourth node).
[0106] It should be noted that not all second virtual devices have an interactive relationship with the first virtual device, that is, not all second virtual devices are located at the same level. At this time, the fourth-level information may include level information between second virtual devices at the same level and level information between second virtual devices at different levels (i.e., the fourth node).
[0107] In the embodiment of the present application, the connection relationship (i.e., third-level information) between each second virtual device (i.e., fourth node) and the first virtual device (i.e., third node) and the connection relationship (i.e., fourth-level information) between the second virtual devices can be determined based on the second interaction relationship between the virtual devices. If there are multiple first virtual devices, the connection relationship between each third node and each fourth node is determined separately based on the second interaction relationship.
[0108] Step 203c: The information determination device determines the connection relationship between fourth nodes at the same level based on the second interaction relationship.
[0109] It should be noted that the second virtual devices at the same level may also have an interactive relationship, that is, the fourth nodes at the same level may also have a connection relationship. At this time, the connection relationship between the fourth nodes at the same level may be determined based on the interactive relationship between the second virtual devices.
[0110] In one implementable manner, the third node may refer to a border virtual switch, and the fourth node may include a virtual machine and a distributed virtual switch that have an interactive relationship with the border virtual switch. Since the distributed virtual switch and the virtual machine can also interact with each other, at this time, it can be determined based on the second interactive relationship whether the virtual machine and the distributed virtual switch actually have an interactive relationship.
[0111] Step 203d: The information determination device constructs a second network topology based on the connection relationship, the third node, the fourth node, the third-level information, and the fourth-level information.
[0112] In the embodiments of the present application, Figure 4 As shown, an association relationship between each virtual device can be established based on the third node, the fourth node, the connection relationship, the third level information and the fourth level information, so as to obtain a second network topology for the virtual device.
[0113] In one achievable manner, Figure 4 As shown, if the virtual device includes a border virtual switch, a virtual router vr, a virtual machine vm, and a distributed virtual switch dvs, a second network topology for the virtual device can be constructed based on the third-level information between the virtual machine vm1, the virtual machine vm2, the distributed virtual switch dvs1, the virtual router vr1 and the border virtual switch, the fourth-level information between the distributed virtual switch dvs1 and the virtual router vr2, and the fourth-level relationship between the distributed virtual switch dvs1 and the virtual machine vm3.
[0114] Step 204: The information determination device constructs a target network topology based on the first network topology and the second network topology.
[0115] In an embodiment of the present application, a first network topology corresponding to a physical device and a second network topology corresponding to a virtual device may be connected to construct a target network topology for the network device.
[0116] In the embodiment of the present application, step 204 can be implemented through steps 204a to 204b.
[0117] Step 204a: Based on the interaction relationship between the physical device and the virtual device, determine the fifth-level information between the node corresponding to the first physical device and the third node in the first network topology.
[0118] The first physical device is a device in the physical device that has an interactive relationship with the first virtual device.
[0119] In the embodiment of the present application, the node corresponding to the first physical device may refer to the bottommost node in the first network topology; the third node may refer to the topmost root node in the second network topology. In an achievable manner, the first physical device may refer to a physical host; the third node (i.e., the first virtual device) may refer to a border virtual switch.
[0120] In the embodiment of the present application, the hierarchical information between the leaf node in the first network topology and the third node in the second network topology can be determined according to the interaction relationship between the physical device and the virtual device.
[0121] Step 204b: The information determination device constructs a target network topology based on the node corresponding to the first physical device, the third node, the first network topology, the second network topology and the fifth-level information.
[0122] In an embodiment of the present application, an association relationship between a first network topology for a physical device and a second network topology for a virtual device can be established based on the nodes, the third nodes, the fifth-level information, the first network topology, and the second network topology corresponding to the first physical device, thereby obtaining a target network topology for the network device.
[0123] Step 205: The information determination device determines the first network device that generates the target alarm information.
[0124] In an embodiment of the present application, field extraction and semantic analysis can be performed on the target alarm information to determine the device identifier of the network device generating the target alarm information, and then the first network device generating the target alarm information can be determined from the network system based on the device identifier.
[0125] Step 206: The information determination device determines, based on the target network topology, a second network device in the network devices that has an association relationship with the first network device.
[0126] The target network device includes a first network device and a second network device.
[0127] In the embodiment of the present application, the target network device may refer to a network device that is affected by the failure / attack when a network system fails or is attacked.
[0128] In the embodiment of the present application, after determining the first network device that generates the target alarm information, the target network topology corresponding to the network device can be analyzed to determine the second network device in the network device that has an associated relationship with the first network device, and then the first network device and the second network device are used as target network devices. It should be noted that the second network device includes not only an associated device that has an interactive relationship with the first network device, but also a network device that has an interactive relationship with the associated device.
[0129] It should be noted that, the closer the hierarchical information of the second network device in the target network topology is to the first network device, the more affected the alarm event is; the farther the hierarchical information of the second network device in the target network topology is from the first network device, the less affected the alarm event is.
[0130] In one achievable manner, Figure 4 As shown, according to the second network topology, when the virtual router vr1 generates an alarm message, the virtual machine vm3 will also be affected, but there are two paths from vm3 to the border virtual switch, that is, the actual path from vm3 to the border virtual switch may not pass through vr1. At this time, it is necessary to further determine the affected network device in combination with the forwarding configuration of vm3.
[0131] In other embodiments of the present application, the method may further include the following steps.
[0132] Step 207: The information determination device determines the type of the target network device.
[0133] Among them, different types of network devices have different functions.
[0134] In the embodiment of the present application, the target network devices can be divided into different types according to their functions. In one achievable manner, if the target network devices can include physical hosts, physical switches, virtual switches, and virtual routers, after being divided according to the functions of the network devices, the target network devices can be divided into host-type network devices, switch-type network devices, and router-type network devices.
[0135] Step 208: The information determination device determines a plurality of evaluation indicators corresponding to the target network device based on the type of the target network device.
[0136] In the embodiment of the present application, different types of target network devices correspond to different evaluation indicators.
[0137] In an achievable manner, the evaluation indicators corresponding to host-type network devices may include host configuration data and data plane configuration; the evaluation indicators corresponding to switch-type network devices may include resource usage statistics, traffic statistics, packet loss status statistics, and packet forwarding rate; the evaluation indicators corresponding to router-type network devices may include memory capacity, flash memory capacity, packet loss status statistics, and resource usage statistics. Among them, the host configuration data may include the number of central processing units (CPUs), CPU frequency, and memory quantity, and the data plane configuration data may include the number of forwarding cores, the number of sessions, and interrupt statistics.
[0138] Step 209: The information determination device obtains historical operation data corresponding to each evaluation indicator of the target network device.
[0139] In the embodiment of the present application, the information determination device can obtain the historical operation data of each target network device for each evaluation indicator according to the log information of the network device. It should be noted that the historical operation data can refer to the operation data of the target network device before the alarm event occurs.
[0140] In one achievable manner, the information determination device may obtain the operation data within thirty minutes before the alarm event occurs based on the log information.
[0141] In one feasible method, if the target network device is a switch-type network device, the information determination device will obtain the resource usage statistics, traffic statistics, packet loss status statistics and packet forwarding rate of the device in a period of time before the alarm event occurs based on the log information of the network device; if the target network device is a host-type network device, the information determination device will obtain the CPU quantity, frequency, memory quantity, forwarding core number, session number and interrupt statistics of the device in a period of time before the alarm event occurs.
[0142] Step 210: The information determination device determines the impact of the target alarm information on the target network device based on the historical operation data corresponding to each evaluation indicator.
[0143] In an embodiment of the present application, the target parameters of the target network device for each evaluation indicator can be determined based on the historical operation data corresponding to each evaluation indicator, and then the degree of impact of the target network device (i.e., the degree of impact of the target alarm information on the target network device) can be determined based on multiple target parameters.
[0144] In the embodiment of the present application, step 210 can be implemented through steps 210a to 210c.
[0145] Step 210a: The information determination device processes the historical operation data to determine the target parameters of the target network device for each evaluation indicator.
[0146] The target parameter represents the transmission performance of the target network device. The larger the target parameter is, the greater the fluctuation value of the transmission performance of the network device is, and the greater the degree of influence of the alarm event on the target network device is.
[0147] In an embodiment of the present application, after obtaining the historical operating data of each evaluation indicator of the target network device, the average value of the historical operating data of each evaluation indicator is calculated respectively, and then the historical operating data of each evaluation indicator and the average value of the corresponding historical operating data are operated to obtain the standard deviation of the historical operating data of each evaluation indicator (i.e., the target parameter).
[0148] It should be noted that each evaluation indicator may correspond to one target parameter, and multiple evaluation indicators may correspond to multiple target parameters.
[0149] Step 210b: The information determination device determines the weight of each evaluation indicator.
[0150] In the embodiment of the present application, the weight represents the importance of the evaluation indicator, and the weight of each evaluation indicator of each target network device can be determined according to the application scenario, which is not specifically limited here.
[0151] It should be noted that the sum of the weights of all evaluation indicators is 1.
[0152] Step 210c: The information determination device determines the impact degree of the target alarm information on the target network device based on multiple weights and multiple target parameters.
[0153] In an embodiment of the present application, after determining the weight and target parameter of each evaluation indicator of each target network device, the information determination device can respectively calculate each obtained weight and corresponding target parameter to obtain an evaluation result for the evaluation indicator, and then calculate the evaluation results of all evaluation indicators to obtain the degree of impact of the target alarm information on each target network device.
[0154] In an embodiment of the present application, after obtaining the target alarm information generated when an alarm event occurs, the target network devices affected by the alarm event are first determined based on the target network topology, and then the standard deviation of the operating data of the target network devices before the alarm event occurs (i.e., the target parameter) is calculated to determine the degree of impact of each target network device, thereby improving the accuracy of determining the degree of impact of the target network devices.
[0155] It should be noted that, for the description of the same steps and the same contents in this embodiment as those in other embodiments, reference can be made to the description in other embodiments and will not be repeated here.
[0156] The information determination method provided in the embodiment of the present application can, after obtaining the target alarm information, directly determine the target network device related to the target alarm information from the network devices according to the target network topology that characterizes the hierarchical relationship between the network devices, instead of relying entirely on human experience when determining the impact scope of the alarm event as in the related art. This solves the problem of inaccurate impact of the determined alarm event on the network system when determining the impact scope of the alarm event on the network system in the related art.
[0157] Based on the above embodiments, the embodiments of the present application provide an information determination device, which can be applied to Figures 1-2 In the information determination method provided in the corresponding embodiment, refer to Figure 5 As shown, the information determination device 3 may include: a first determination unit 31, a processing unit 32, and a second determination unit 33, wherein:
[0158] A first determining unit 31 is used to determine the interaction relationship between network devices in the network system; wherein the network devices include physical devices and virtual devices;
[0159] The processing unit 32 is used to construct a target network topology for the network device based on the interaction relationship; wherein the target network topology represents the hierarchical relationship between the network devices;
[0160] The second determining unit 33 is configured to obtain target alarm information, and determine a target network device related to the target alarm information from the network devices based on the target alarm information and the target network topology.
[0161] In other embodiments of the present application, the processing unit 32 is further configured to perform the following steps:
[0162] Building a first network topology based on a first interaction relationship between physical devices;
[0163] Based on the second interaction relationship between the virtual devices, construct a second network topology; wherein the interaction relationship includes the first interaction relationship and the second interaction relationship;
[0164] Based on the first network topology and the second network topology, a target network topology is constructed.
[0165] In other embodiments of the present application, the processing unit 32 is further configured to perform the following steps:
[0166] Constructing a first node for the network system and determining a physical device as a second node;
[0167] determining first level information between each second node and the first node;
[0168] Based on the first interaction relationship, determining second level information between second nodes;
[0169] A first network topology is constructed based on the first node, the second node, the first-level information, and the second-level information.
[0170] In other embodiments of the present application, the processing unit 32 is further configured to perform the following steps:
[0171] Determine the first virtual device as the third node, and determine the second virtual device as the fourth node; wherein the first virtual device is a device in the virtual device that has an interactive relationship with the physical device; and the second virtual device is a device in the virtual device other than the first virtual device;
[0172] Determine the third level information between the third node and the fourth node based on the second interaction relationship, and determine the fourth level information between the fourth nodes based on the second interaction information;
[0173] Based on the second interaction relationship, determining a connection relationship between fourth nodes at the same level;
[0174] A second network topology is constructed based on the connection relationship, the third node, the fourth node, the third-level information, and the fourth-level information.
[0175] In other embodiments of the present application, the processing unit 32 is further configured to perform the following steps:
[0176] Based on the interaction relationship between the physical device and the virtual device, determine the fifth level information between the first physical device and the first virtual device in the first network topology; wherein the first physical device is a device in the physical device that has an interaction relationship with the first virtual device;
[0177] A target network topology is constructed based on the first network topology, the second network topology and the fifth-level information.
[0178] In other embodiments of the present application, the second determining unit 33 is further configured to perform the following steps:
[0179] Determining a first network device that generates target alarm information;
[0180] Based on the target network topology, a second network device associated with the first network device is determined among the network devices; wherein the target network device includes the first network device and the second network device.
[0181] In other embodiments of the present application, the second determining unit 33 is further configured to perform the following steps:
[0182] Determine the type of the target network device; wherein different types of network devices have different functions;
[0183] Based on the type of the target network device, determine multiple evaluation indicators corresponding to the target network device;
[0184] Obtain historical operation data of the target network device corresponding to each evaluation indicator;
[0185] Based on the historical operation data corresponding to each evaluation indicator, determine the impact of the target alarm information on the target network equipment.
[0186] In other embodiments of the present application, the second determining unit 33 is further configured to perform the following steps:
[0187] Processing historical operation data to determine target parameters of the target network device for each evaluation indicator; wherein the target parameters represent the transmission performance of the target network device;
[0188] Determine the weight of each evaluation indicator;
[0189] Based on multiple weights and multiple target parameters, the impact degree of the target alarm information on the target network device is determined.
[0190] It should be noted that the specific implementation process of the steps performed by each unit in this embodiment can be referred to Figures 1-2 The implementation process of the information determination method provided in the corresponding embodiment will not be repeated here.
[0191] The information determination device provided in the embodiment of the present application can, after obtaining the target alarm information, directly determine the target network device related to the target alarm information from the network device according to the target network topology that characterizes the hierarchical relationship between the network devices, instead of relying entirely on human experience when determining the impact scope of the alarm event as in the related art. This solves the problem of inaccuracy in determining the impact of the alarm event on the network system when determining the impact of the alarm event on the network system in the related art.
[0192] Based on the above embodiments, the embodiments of the present application provide an information determination device, which can be applied to Figures 1-2 In the information determination method provided in the corresponding embodiment, refer to Figure 6 As shown, the information determination device 4 may include: a processor 41, a memory 42 and a communication bus 43, wherein:
[0193] The communication bus 43 is used to realize the communication connection between the processor 41 and the memory 42;
[0194] The processor 41 is used to execute the information determination program in the memory 42 to implement the following steps:
[0195] Determine the interaction relationship between network devices in the network system; wherein the network devices include physical devices and virtual devices;
[0196] Based on the interaction relationship, a target network topology for the network device is constructed; wherein the target network topology represents the hierarchical relationship between the network devices;
[0197] Target alarm information is acquired, and target network devices related to the target alarm information are determined from network devices based on the target alarm information and the target network topology.
[0198] In other embodiments of the present application, the processor 41 is used to execute the memory 42 to build a target network topology for the network device based on the interaction relationship, so as to implement the following steps:
[0199] Building a first network topology based on a first interaction relationship between physical devices;
[0200] Based on the second interaction relationship between the virtual devices, construct a second network topology; wherein the interaction relationship includes the first interaction relationship and the second interaction relationship;
[0201] Based on the first network topology and the second network topology, a target network topology is constructed.
[0202] In other embodiments of the present application, the processor 41 is used to execute the information determination program in the memory 42 to construct a first network topology based on the first interactive relationship between the physical devices to implement the following steps:
[0203] Constructing a first node for the network system and determining a physical device as a second node;
[0204] determining first level information between each second node and the first node;
[0205] Based on the first interaction relationship, determining second level information between second nodes;
[0206] A first network topology is constructed based on the first node, the second node, the first-level information, and the second-level information.
[0207] In other embodiments of the present application, the processor 41 is used to execute the information determination program in the memory 42 to construct a second network topology based on the second interactive relationship between the virtual devices to implement the following steps:
[0208] Determine the first virtual device as the third node, and determine the second virtual device as the fourth node; wherein the first virtual device is a device in the virtual device that has an interactive relationship with the physical device; and the second virtual device is a device in the virtual device other than the first virtual device;
[0209] Determine the third level information between the third node and the fourth node based on the second interaction relationship, and determine the fourth level information between the fourth nodes based on the second interaction information;
[0210] Based on the second interaction relationship, determining a connection relationship between fourth nodes at the same level;
[0211] A second network topology is constructed based on the connection relationship, the third node, the fourth node, the third-level information, and the fourth-level information.
[0212] In other embodiments of the present application, the processor 41 is used to execute the information determination program in the memory 42 to construct a target network topology based on the first network topology and the second network topology to implement the following steps:
[0213] Based on the interaction relationship between the physical device and the virtual device, determine the fifth level information between the first physical device and the first virtual device in the first network topology; wherein the first physical device is a device in the physical device that has an interaction relationship with the first virtual device;
[0214] A target network topology is constructed based on the first network topology, the second network topology and the fifth-level information.
[0215] In other embodiments of the present application, the processor 41 is further configured to execute the information determination program in the memory 42 to determine the target network device related to the target alarm information from the network device based on the target alarm information and the target network topology, so as to implement the following steps:
[0216] Determining a first network device that generates target alarm information;
[0217] Based on the target network topology, a second network device associated with the first network device is determined among the network devices; wherein the target network device includes the first network device and the second network device.
[0218] In other embodiments of the present application, the processor 41 is further configured to execute the information determination program in the memory 42 to implement the following steps:
[0219] Determine the type of the target network device; wherein different types of network devices have different functions;
[0220] Based on the type of the target network device, determine multiple evaluation indicators corresponding to the target network device;
[0221] Obtain historical operation data of the target network device corresponding to each evaluation indicator;
[0222] Based on the historical operation data corresponding to each evaluation indicator, determine the impact of the target alarm information on the target network equipment.
[0223] In other embodiments of the present application, the processor 41 is further configured to execute the information determination program in the memory 42 to determine the degree of influence of the target alarm information on the target network device based on the historical operation data corresponding to each evaluation indicator, so as to implement the following steps:
[0224] Processing historical operation data to determine target parameters of the target network device for each evaluation indicator; wherein the target parameters represent the transmission performance of the target network device;
[0225] Determine the weight of each evaluation indicator;
[0226] Based on multiple weights and multiple target parameters, the impact degree of the target alarm information on the target network device is determined.
[0227] It should be noted that the specific implementation process of the steps executed by the processor in this embodiment can refer to Figures 1-2 The implementation process of the information determination method provided in the corresponding embodiment will not be repeated here.
[0228] The information determination device provided in the embodiment of the present application can, after obtaining the target alarm information, directly determine the target network device related to the target alarm information from the network devices according to the target network topology that characterizes the hierarchical relationship between the network devices, instead of relying entirely on human experience when determining the impact scope of the alarm event as in the related art. This solves the problem of inaccurate impact of the alarm event on the network system when determining the impact of the alarm event on the network system in the related art.
[0229] Based on the foregoing embodiments, the embodiments of the present application provide a computer-readable storage medium, which stores one or more programs, and the one or more programs can be executed by one or more processors to implement Figures 1-2 The corresponding embodiments provide steps of the information determination method.
[0230] Based on the above embodiments, an embodiment of the present application provides a computer program product, the computer program product includes a computer program, the computer program is executed by a processor to achieve Figures 1-2 The corresponding embodiments provide steps of the information determination method.
[0231] It should be noted that the above-mentioned computer-readable storage medium can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a flash memory (Flash Memory), a magnetic surface memory, an optical disc, or a compact disc read-only memory (CD-ROM) and other memories; it can also be various electronic devices including one or any combination of the above-mentioned memories, such as mobile phones, computers, tablet devices, personal digital assistants, etc.
[0232] 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.
[0233] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0234] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0235] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0236] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0237] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
Claims
1. A method for determining information, characterized in that: The method comprises: Determine the interaction relationship between network devices in the network system; wherein the network devices include physical devices and virtual devices; Based on the interaction relationship, construct a target network topology for the network device; wherein the target network topology represents the hierarchical relationship between the network devices; Target alarm information is acquired, and a target network device related to the target alarm information is determined from the network devices based on the target alarm information and the target network topology.
2. The method according to claim 1, characterized in that The constructing a target network topology for the network device based on the interaction relationship includes: Building a first network topology based on the first interaction relationship between the physical devices; Based on the second interaction relationship between the virtual devices, construct a second network topology; wherein the interaction relationship includes the first interaction relationship and the second interaction relationship; The target network topology is constructed based on the first network topology and the second network topology.
3. The method according to claim 2, characterized in that The constructing a first network topology based on the first interaction relationship between the physical devices includes: Constructing a first node for the network system, and determining the physical device as a second node; determining first level information between each second node and the first node; Determine second level information between the second nodes based on the first interaction relationship; The first network topology is constructed based on the first node, the second node, the first layer information and the second layer information.
4. The method according to claim 2, characterized in that: The constructing a second network topology based on the second interactive relationship between the virtual devices includes: Determine the first virtual device as the third node, and determine the second virtual device as the fourth node; wherein the first virtual device is a device in the virtual device that has an interactive relationship with the physical device; and the second virtual device is a device in the virtual device other than the first virtual device; Based on the second interactive relationship, determine the third level information between the third node and the fourth node, and based on the second interactive relationship, determine the fourth level information between the fourth nodes; Based on the second interactive relationship, determining a connection relationship between fourth nodes at the same level; The second network topology is constructed based on the connection relationship, the third node, the fourth node, the third layer information and the fourth layer information.
5. The method according to claim 4, characterized in that The constructing the target network topology based on the first network topology and the second network topology includes: Based on the interaction relationship between the physical device and the virtual device, determine the fifth level information between the first physical device and the first virtual device in the first network topology; wherein the first physical device is a device among the physical devices that has an interaction relationship with the first virtual device; The target network topology is constructed based on the first network topology, the second network topology and the fifth-level information.
6. The method according to claim 1, characterized in that The determining, from the network devices, a target network device related to the target alarm information based on the target alarm information and the target network topology comprises: Determine a first network device that generates the target alarm information; Based on the target network topology, a second network device associated with the first network device is determined among the network devices; wherein the target network device includes the first network device and the second network device.
7. The method according to claim 6, characterized in that The method further comprises: Determine the type of the target network device; wherein different types of network devices have different functions; Based on the type of the target network device, determining a plurality of evaluation indicators corresponding to the target network device; Acquire historical operation data of the target network device corresponding to each evaluation indicator; Based on the historical operation data corresponding to each evaluation indicator, the impact degree of the target alarm information on the target network device is determined.
8. The method according to claim 7, characterized in that The determining, based on the historical operation data corresponding to each evaluation indicator, the degree of influence of the target alarm information on the target network device includes: Processing the historical operation data to determine a target parameter of the target network device for each evaluation indicator; wherein the target parameter represents the transmission performance of the target network device; Determining the weight of each evaluation indicator; Based on the multiple weights and the multiple target parameters, the degree of influence of the target alarm information on the target network device is determined.
9. An information determination device, characterized in that: The device comprises: A first determining unit, configured to determine an interaction relationship between network devices in a network system; wherein the network devices include physical devices and virtual devices; A processing unit, configured to construct a target network topology for the network device based on the interaction relationship; wherein the target network topology represents a hierarchical relationship between the network devices; The second determining unit is used to obtain target alarm information, and determine a target network device related to the target alarm information from the network devices based on the target alarm information and the target network topology.
10. An information determination device, characterized in that The device comprises: a processor, a memory and a communication bus; The communication bus is used to realize the communication connection between the processor and the memory; The processor is used to execute the information determination program in the memory to implement the steps of the information determination method according to any one of claims 1 to 8.
11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of the information determination method according to any one of claims 1 to 8.
12. A computer program product, comprising a computer program, characterized in that: When the computer program is executed by a processor, the computer program implements the information determination method according to any one of claims 1 to 8.
