Network health examination method, device, equipment, medium and program product
By determining the abnormal prompt objects and their associated devices and levels in the network health check, and performing health checks based on the topological relationship of the data center, the problem of insufficient network equipment and environment interruption checks caused by relying on prediction in the existing technology is solved, and the Higher inspection accuracy and fault location efficiency.
Patent Information
- Application Number
- CN202411324485.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-23
- Publication Date
- 2025-01-24
- Estimated Expiration
- 2044-09-23
AI Technical Summary
When conducting health checks on network equipment and network environments in the prior art, the methods rely too much on prediction and cannot effectively judge the interruption of other network equipment or services other than the specified switch, resulting in potential losses.
By determine the abnormal prompt objects according to the abnormal prompt information of the network facilities, and based on the data center's topology and abnormal reminder objects, it is determined to determine multiple associated devices associated with the abnormal reminder object. Then, based on the level of an abnormal reminder object, determine the associated object associated with the abnormal reminder object from multiple associated devices to conduct a health check.
It improves the accuracy of network health inspection, avoids the problem of low accuracy caused by the dependency relationship between the object itself, and can more accurately locate abnormalities, improve the fault positioning and disposal efficiency, and reduce unnecessary losses.
Smart Images

Figure CN119363556A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to network technology and financial technology, and in particular to a network health check method, device, equipment, medium and program product. Background Art
[0002] With the explosive growth of data centers in the financial sector, the scale of networks and the complexity of network lines are increasing. Daily network-based health checks are becoming more and more important. By checking whether the network configuration, that is, key elements, meet expectations, we can determine whether the current network equipment and network environment are normal and whether they can provide external services.
[0003] In the process of implementing the embodiments of the present disclosure, it was found that the current inspection method for network equipment and network environment only targets the network itself and relies too much on prediction. However, in addition to the specified switches, the interruption of other network equipment or services also has a great impact. If there are omissions in the prediction, it is easy to cause great losses. Summary of the invention
[0004] In view of the above problems, the present disclosure provides a network health check method, apparatus, device, medium and program product.
[0005] According to the first aspect of the present disclosure, a network health check method is provided, including: determining, based on abnormal prompt information of a network facility, an abnormal prompt object targeted by the abnormal prompt information, wherein the abnormal prompt object is used to indicate an object that provides different functions in the network facility; determining, based on a topological relationship for a data center and an area to which the abnormal prompt object belongs, a plurality of associated devices associated with the abnormal prompt object, wherein the data center is used to provide services to the network facility; determining, based on a hierarchy to which the abnormal prompt object belongs, an associated object associated with the abnormal prompt object from a plurality of associated devices, wherein the hierarchy is used to indicate a level of the abnormal prompt object in the network architecture; and performing a health check on the associated object based on pre-configured inspection scripts of different categories.
[0006] According to an embodiment of the present disclosure, based on the level to which the abnormal prompt object belongs, an associated object associated with the abnormal prompt object is determined from multiple associated devices, including: determining an upper level of the level to which the abnormal prompt object belongs; filtering a target device associated with the upper level from multiple associated devices; and determining the target device as an associated object.
[0007] According to an embodiment of the present disclosure, the levels include, from low to high, a single line level, a single device level, a high availability group level, a network area level, and a network service level; wherein, filtering a target device associated with an upper level from a plurality of associated devices comprises: when it is determined that the level to which the abnormal prompt object belongs is the single line level, filtering a network device having a direct connection relationship with the network line from a plurality of associated devices to obtain a target device associated with the single device level; when it is determined that the abnormal prompt object is a network device, and the level to which the abnormal prompt object belongs is the single device level, filtering other network devices constituting a high availability group from a plurality of associated devices to obtain a target device associated with the high availability group level; when it is determined that the abnormal prompt object is a network device, and the level to which the abnormal prompt object belongs is the high availability group level, filtering other network devices in a network area where the network device is located from a plurality of associated devices to obtain a target device associated with the network area level; and when it is determined that the abnormal prompt object is a network device, and the level to which the abnormal prompt object belongs is the network area level, filtering other network devices providing network services from a plurality of associated devices to obtain a target device associated with the network service level.
[0008] According to an embodiment of the present disclosure, the topological relationship is used to characterize the layout of network devices inside the data center belonging to the same area and the network line connection relationship between the network devices, as well as the linkage relationship between data centers belonging to different areas; wherein, based on the topological relationship for the data center and the belonging area of the abnormal prompt object, multiple associated devices associated with the abnormal prompt object are determined, including: determining a target area that matches the belonging area of the abnormal prompt object from the topological relationship; and determining the network devices inside the data center in the target area as multiple associated devices associated with the abnormal prompt object.
[0009] According to an embodiment of the present disclosure, the network health check method also includes: when it is determined that the abnormal prompt object is a network device, and the level to which the abnormal prompt object belongs is a high availability group level, and there is a linkage relationship between the data center in the area to which the network device belongs and the data centers in other areas, the network devices of the data centers in other areas are determined as associated objects associated with the abnormal prompt object.
[0010] According to an embodiment of the present disclosure, the check script includes: a deployment check script, a configuration check script, and a status check script. The deployment check script is used to check whether there is an abnormality in the deployment of the associated object, the configuration check script is used to check whether there is an abnormality in the configuration of the associated object, and the status check script is used to check whether there is an abnormality in the operation of the associated object;
[0011] The network health check method also includes: when it is determined that the results of the health check on the associated objects are all normal, sending an abnormal prompt information to the third-party device to indicate that the abnormal prompt information is a false alarm.
[0012] According to an embodiment of the present disclosure, the network health check method also includes: when it is determined that there is an abnormality in the result of the health check on the associated object, generating a disposal instruction according to the category of the inspection script corresponding to the abnormality, and sending the disposal instruction to a third-party device; and when a confirmation message sent by the third-party device is received, sending the disposal instruction to the abnormal prompt object so that the disposal instruction is executed on the abnormal prompt object.
[0013] A second aspect of the present disclosure provides a network health check device, including: a first determination module, used to determine the abnormal prompt object targeted by the abnormal prompt information according to the abnormal prompt information of the network facility, wherein the abnormal prompt object is used to indicate the object providing different functions in the network facility; a second determination module, used to determine a plurality of associated devices associated with the abnormal prompt object according to the topological relationship of the data center and the belonging area of the abnormal prompt object, wherein the data center is used to provide services to the network facility; a third determination module, used to determine the associated object associated with the abnormal prompt object from a plurality of associated devices based on the hierarchy to which the abnormal prompt object belongs, wherein the hierarchy is used to indicate the level of the abnormal prompt object in the network architecture; and an inspection module, used to perform a health check on the associated object based on pre-configured inspection scripts of different categories.
[0014] A third aspect of the present disclosure provides an electronic device, comprising: one or more processors; a memory for storing one or more computer programs, wherein the one or more processors execute the one or more computer programs to implement the steps of the network health check method.
[0015] The fourth aspect of the present disclosure further provides a computer-readable storage medium on which a computer program or instruction is stored. When the computer program or instruction is executed by a processor, the steps of the network health check method are implemented.
[0016] The fifth aspect of the present disclosure further provides a computer program product, including a computer program or instructions, which implement the steps of the above-mentioned network health check method when the above-mentioned computer program or instructions are executed by a processor.
[0017] According to the embodiments of the present disclosure, it is possible to actively initiate a network health check in the case of abnormal prompt information. During network health detection, based on the topological relationship for the data center and the belonging area of the abnormal prompt object targeted by the abnormal prompt information, it is possible to accurately determine multiple associated devices associated with the abnormal prompt object, and then determine the associated object associated with the abnormal prompt object from multiple associated devices based on the level to which the abnormal prompt object belongs, so as to achieve the determination of the associated object associated with the abnormal prompt object from different levels in the computer network, improve the accuracy of the network health check, and avoid the problem of low accuracy of the network health check caused by only considering the dependency relationship between the objects themselves. Carrying out different categories of inspections on the associated objects further improves the accuracy of the network monitoring inspection, which is conducive to further clarifying the abnormal objects, disposing of the abnormal objects in a timely manner, and avoiding unnecessary losses. In addition, according to the network health inspection method provided by the present disclosure, it is possible to further accurately locate the abnormality in the case of a failure of the application and an early warning of the device on which the application is installed, thereby improving the efficiency of abnormal location and disposal. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The above contents and other objects, features and advantages of the present disclosure will become more apparent through the following description of the embodiments of the present disclosure with reference to the accompanying drawings, in which:
[0019] Figure 1 The application scenario diagram of the network health check method, apparatus, device, medium and program product according to the embodiment of the present disclosure is schematically shown;
[0020] Figure 2 A flowchart of a network health check method according to an embodiment of the present disclosure is schematically shown;
[0021] Figure 3 A schematic diagram of the hierarchy of a network architecture according to an embodiment of the present disclosure is schematically shown;
[0022] Figure 4 A schematic diagram of a topological structure of a data center according to an embodiment of the present disclosure is schematically shown;
[0023] Figure 5 A flowchart of a network health check method according to another embodiment of the present disclosure is schematically shown;
[0024] Figure 6 A schematic diagram of a network health check device according to an embodiment of the present disclosure is shown; and
[0025] Figure 7 A block diagram of an electronic device suitable for implementing a network health check method according to an embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION
[0026] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present disclosure. In the following detailed description, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of the embodiments of the present disclosure. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of known structures and technologies are omitted to avoid unnecessary confusion of the concepts of the present disclosure.
[0027] The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. The terms "comprise", "include", etc. used herein indicate the existence of features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.
[0028] All terms (including technical and scientific terms) used herein have the meanings commonly understood by those skilled in the art unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification and should not be interpreted in an idealized or overly rigid manner.
[0029] When using expressions such as "at least one of A, B, and C, etc.", they should generally be interpreted according to the meaning of the expression commonly understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.).
[0030] It should be noted that in the embodiments of the present application, certain software, components, models and other existing solutions in the industry may be mentioned, and they should be regarded as exemplary. Their purpose is only to illustrate the feasibility of implementing the technical solution of the present application, but it does not mean that the applicant has or will necessarily use the solution.
[0031] In the technical solution of the present disclosure, the user information (including but not limited to user personal information, user image information, user device information, such as location information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved are all information and data authorized by the user or fully authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of the relevant data comply with relevant laws, regulations and standards, take necessary confidentiality measures, do not violate public order and good morals, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0032] In the scenario of using personal information for automated decision-making, the methods, devices, and systems provided by the embodiments of the present disclosure provide users with corresponding operation portals for users to choose to agree or reject the automated decision-making results; if the user chooses to reject, the expert decision-making process will be entered. The expression "automated decision-making" here refers to the activity of automatically analyzing and evaluating a person's behavioral habits, interests and hobbies, or economic, health, credit status, etc. through computer programs, and making decisions. The expression "expert decision-making" here refers to the activity of making decisions by people who specialize in a certain field, have specialized experience, knowledge and skills, and have reached a certain level of professionalism.
[0033] In the process of implementing the embodiments of the present disclosure, it was found that the current inspection methods for network devices and network environments are only targeted at the network itself and overly rely on prejudgment. However, in addition to the specified switches, other network devices or service interruptions also have a greater impact. If there are omissions in the prejudgment, it is easy to cause large losses. For example, in the relevant examples, although the upstream network layer device only performs health checks on the adjacent downstream network layer devices to solve the technical problem of excessive performance overhead caused by health checks on downstream devices, the main consideration is the relationship between networks, and it is still impossible to judge the current network environment or even the application situation.
[0034] The embodiments of the present disclosure provide a network health check method, device, equipment, medium and program product, which can be applied to the fields of network technology and financial technology. The method includes: determining the abnormal prompt object targeted by the abnormal prompt information according to the abnormal prompt information of the network facility, wherein the abnormal prompt object is used to indicate the object providing different functions in the network facility; determining multiple associated devices associated with the abnormal prompt object based on the topological relationship of the data center and the belonging area of the abnormal prompt object, wherein the data center is used to provide services to the network facility; determining the associated object associated with the abnormal prompt object from multiple associated devices based on the hierarchy to which the abnormal prompt object belongs, wherein the hierarchy is used to indicate the level of the abnormal prompt object in the network architecture; and performing a health check on the associated object based on pre-configured inspection scripts of different categories.
[0035] Figure 1 The application scenario diagram of the network health check method, apparatus, device, medium and program product according to the embodiments of the present disclosure is schematically shown.
[0036] like Figure 1As shown, the application scenario 100 according to this embodiment may include a first network device 101, a second network device 102, a third network device 103, a network 104, and a server 105. The network 104 is used to provide a medium for communication links between the network devices 101, 102, 103, and the server 105. The network 104 may include various connection types, such as wired, wireless communication links, or optical fiber cables, etc.
[0037] The first network device 101, the second network device 102, and the third network device 103 interact with the server 105 through the network 104 to receive or send messages, etc. The first network device 101, the second network device 102, and the third network device 103 can be physical infrastructure belonging to a computer network, including but not limited to routers, switches, hubs, gateways, firewalls, wireless access points, servers, workstations, network storage devices, etc.
[0038] The server 105 may be a server that provides various services, such as a background management server (only as an example) that provides support for the first network device 101, the second network device 102, and the third network device 103. The background management server may analyze and process the received abnormal prompt information, and feed back the processing result to the third-party device, which may be an operating device used by the network operation and maintenance manager to control the first network device 101, the second network device 102, and the third network device 103.
[0039] It should be noted that the network health check method provided in the embodiment of the present disclosure can generally be executed by the server 105. Accordingly, the network health check device provided in the embodiment of the present disclosure can generally be set in the server 105. The network health check method provided in the embodiment of the present disclosure can also be executed by a server or server cluster that is different from the server 105 and can communicate with the first network device 101, the second network device 102, the third network device 103 and / or the server 105. Accordingly, the network health check device provided in the embodiment of the present disclosure can also be set in a server or server cluster that is different from the server 105 and can communicate with the first network device 101, the second network device 102, the third network device 103 and / or the server 105.
[0040] It should be understood that Figure 1 The number of network devices, networks and servers in the embodiment is only for illustration. Any number of network devices, networks and servers may be provided as required.
[0041] The following will be based on Figure 1 The scene described by Figure 2~Figure 5 The network health check method of the disclosed embodiment is described in detail.
[0042] Figure 2 A flowchart schematically shows a network health check method according to an embodiment of the present disclosure.
[0043] like Figure 2 As shown, the network health check method of this embodiment includes operations S210 to S240.
[0044] In operation S210, an abnormal prompt object targeted by the abnormal prompt information is determined according to the abnormal prompt information of the network facility.
[0045] In operation S220, a plurality of associated devices associated with the abnormality prompt object are determined based on the topological relationship for the data center and the belonging area of the abnormality prompt object.
[0046] In operation S230, based on the level to which the abnormality prompt object belongs, an associated object associated with the abnormality prompt object is determined from a plurality of associated devices.
[0047] In operation S240 , health checks are performed on associated objects based on pre-configured check scripts of different categories.
[0048] According to an embodiment of the present disclosure, the network facility may include a physical infrastructure belonging to a computer network, for example, may include but is not limited to network devices, network lines, etc. The network line may be used to connect the network devices.
[0049] According to an embodiment of the present disclosure, abnormal prompt information can be used to indicate that a certain object providing different functions in a network facility has a suspected abnormality. The present disclosure does not specifically limit the method for obtaining abnormal prompt information of network facilities, and may include, but is not limited to, abnormal prompt information generated by a monitoring program installed on a network device when the performance of a network device or a network line is not consistent with the expected performance.
[0050] According to an embodiment of the present disclosure, an abnormal prompt object may be used to indicate objects that provide different functions in a network facility, such as but not limited to network equipment, network lines, network services, etc.
[0051] According to an embodiment of the present disclosure, the belonging area of the abnormal prompt object can be determined, and the data center to which the abnormal prompt object belongs can be determined based on the belonging area. The data center to which the abnormal prompt object belongs is determined from the topological structure of the data center, and based on the topological relationship of the data center, the network devices inside the data center to which the abnormal prompt object belongs are determined as multiple associated devices associated with the abnormal prompt object.
[0052] According to an embodiment of the present disclosure, the level can be used to indicate the level of the abnormal prompt object in the network architecture. For example, the level to which a network device belongs can be a single device level, a high availability group level, a network area level, a network service level, etc., the level to which a network service belongs can be a network service level, and the level to which a network line belongs can be a single line level, etc.
[0053] According to an embodiment of the present disclosure, a data center is used to provide services to network facilities. The topological relationship for the data center may include the topological relationship between regional data centers and the topological relationship of network devices within the data center. The associated object may be used to indicate an object that has an associated relationship with the abnormal prompt object at different levels in the computer network.
[0054] According to an embodiment of the present disclosure, the topological relationship of the network devices within the data center in the area of the data center to which the abnormal prompt object belongs can be determined based on the topological relationship for the data center. According to the level to which the abnormal prompt object belongs, the associated object is determined from the topological relationship of the network devices within the data center in the area of the data center to which the abnormal prompt object belongs.
[0055] According to an embodiment of the present disclosure, different types of check scripts may include indicators for network management and monitoring, such as but not limited to deployment, configuration, and status indicators. Pre-configured check scripts of different types may be called, and then run the check scripts of different types, and determine whether the abnormal prompt information is a false alarm based on the running results.
[0056] According to the embodiments of the present disclosure, it is possible to actively initiate a network health check in the case of abnormal prompt information. During network health detection, based on the topological relationship for the data center and the belonging area of the abnormal prompt object targeted by the abnormal prompt information, it is possible to accurately determine multiple associated devices associated with the abnormal prompt object, and then determine the associated object associated with the abnormal prompt object from multiple associated devices based on the level to which the abnormal prompt object belongs, so as to achieve the determination of the associated object associated with the abnormal prompt object from different levels in the computer network, improve the accuracy of the network health check, and avoid the problem of low accuracy of the network health check caused by only considering the dependency relationship between the objects themselves. Carrying out different categories of inspections on the associated objects further improves the accuracy of the network monitoring inspection, which is conducive to further clarifying the abnormal objects, disposing of the abnormal objects in a timely manner, and avoiding unnecessary losses. In addition, according to the network health inspection method provided by the present disclosure, it is possible to further accurately locate the abnormality when the application fails and the device installed with the application is warned, thereby improving the efficiency of abnormal location and disposal.
[0057] In the process of implementing the concept of the present disclosure, it was found that although the objects that have a dependency relationship with the abnormal prompt object can be determined through the network topology and then a health check can be performed, the accuracy of the health check results will be affected due to service interruptions or high availability exceptions. Therefore, only considering the dependency relationship between the objects themselves will lead to low accuracy of the health check results.
[0058] Based on this, in this embodiment, for the above Figure 2 The operation S230 shown, based on the level to which the abnormal prompt object belongs, determining an associated object associated with the abnormal prompt object from multiple associated devices, may include the operations of: determining a level above the level to which the abnormal prompt object belongs. Filtering a target device associated with the level above from multiple associated devices. Determining the target device as an associated object.
[0059] According to an embodiment of the present disclosure, the network architecture may include multiple hierarchies of different levels. The level of the previous level is higher than the level of the level to which the abnormal prompt object belongs. For example, when the abnormal prompt object is determined to be a network line, the level to which the abnormal prompt object belongs may be a single line level. The level above the level to which the abnormal prompt object belongs may be a single device level.
[0060] According to an embodiment of the present disclosure, the target device associated with the upper layer is used to indicate that the function provided by the target device belongs to the upper layer, or that the target device belongs to the upper layer, etc.
[0061] According to the embodiments of the present disclosure, by targeting the topological relationship of the data center and combining the level of the object in the network architecture, it is possible to determine the associated objects associated with the abnormal prompt object from different levels in the computer network, thereby improving the accuracy of the network health check. This at least partially solves the technical problem that only considering the dependency relationship between the objects themselves will lead to low accuracy of the health check results.
[0062] According to another embodiment of the present disclosure, when it is determined that there is an abnormality in the result of the health check on the associated object, the level to which the current abnormal prompt object belongs can be updated to the previous level in the previous health check.
[0063] Repeat the operation: determine the previous level of the level to which the current abnormal prompt object belongs. Determine multiple associated devices associated with the abnormal prompt object based on the topological relationship of the data center. Filter the target device associated with the previous level from the multiple associated devices. Determine the target device as the associated object.
[0064] According to the embodiments of the present disclosure, by performing health checks layer by layer from low to high, abnormal objects can be accurately determined so as to provide early warnings and resolve risks and faults in the bud.
[0065] Figure 3 The diagram schematically shows a hierarchical diagram of a network architecture according to an embodiment of the present disclosure.
[0066] like Figure 3 As shown, the levels of the network architecture may include, from low to high, a single line level 310 , a single device level 320 , a high availability group level 330 , a network area level 340 , and a network service level 350 .
[0067] In one embodiment, filtering the target device associated with the previous level from multiple associated devices may include the following operations: when it is determined that the level to which the abnormal prompt object belongs is the single-line level 310, filtering the network devices that have a direct connection relationship with the network line from the multiple associated devices to obtain the target device associated with the single-device level 320.
[0068] According to an embodiment of the present disclosure, when the level to which the abnormal prompt object belongs is the single-line level 310, the corresponding abnormal prompt object can be a network line, and by performing a health check on the network devices connected at both ends of the network line, when it is determined that the network devices connected at both ends of the network line are in a normal state, it can be determined that the network line is in a normal state, and the abnormal prompt information is a false alarm information. When it is determined that the network devices connected at both ends of the network line are in an abnormal state, the target device can be further determined based on the high-availability group level 330 of the upper level of the single-device level 320 and the network devices connected at both ends of the network line. For example, it can be determined whether the network devices connected at both ends of the network line are network devices that provide high availability. If so, the other network devices that make up the high-availability group level can be determined as target devices associated with the high-availability group level 330 of the upper level of the single-device level 320.
[0069] According to an embodiment of the present disclosure, network devices connected at both ends of a network line may be determined based on a topological relationship for a data center.
[0070] In another embodiment, when the abnormal prompt information is used to indicate that a network device has a suspected abnormality, it can be determined that the abnormal prompt object targeted by the abnormal prompt information may be the network device.
[0071] When it is determined that the abnormal prompt object is a network device and the level to which the abnormal prompt object belongs is a single device level, other network devices constituting a high availability group can be screened from multiple associated devices to obtain a target device associated with the high availability group level.
[0072] When it is determined that the abnormal prompt object is a network device and the level to which the abnormal prompt object belongs is a high availability group level, other network devices in the network area where the network device is located are screened from multiple associated devices to obtain a target device associated with the network area level.
[0073] When it is determined that the abnormal prompt object is a network device and the level to which the abnormal prompt object belongs is the network area level, other network devices providing network services are screened from multiple associated devices to obtain a target device associated with the network service level.
[0074] According to an embodiment of the present disclosure, other network devices for providing high availability can be determined based on a mapping relationship between multiple associated devices and levels, and the other network devices and the network device together form a high availability group.
[0075] According to an embodiment of the present disclosure, other network devices for providing network services to external devices may be determined based on a mapping relationship between a plurality of associated devices and hierarchies.
[0076] According to the embodiments of the present disclosure, considering that anomalies between different levels in the network architecture will also affect the accuracy of the health check results, the accuracy of the health check results is improved by screening the target devices associated with the upper level from multiple associated devices for health checks. This is beneficial for accurately locating the anomaly when a network device anomaly is prompted but other abnormal information of the specific network device is unclear, thereby improving the efficiency of fault location and handling, and helping operation and maintenance administrators to narrow the scope of locating the root cause of the fault.
[0077] Figure 4 A schematic diagram of a topological structure of a data center according to an embodiment of the present disclosure is schematically shown.
[0078] According to an embodiment of the present disclosure, a data center may include a management data center and data centers in different regions. Figure 4 The topology structure of a data center is further described by taking it as an example, but it is only for illustration and is not intended to limit the scope of the present disclosure.
[0079] like Figure 4 As shown, the topology structure for the data center can include a hierarchical topology structure. The management data center is the core layer, and the data centers in different regions, such as the data center in region 1, the data center in region 2, and the data center in region 3, are the distribution layers. For example, in the core layer, the aggregation switches connected to the data centers belonging to different regions can be defined, and then the core switches connected to the data centers can be defined. In the distribution layer, the switch devices can be defined according to the purpose or manufacturer or business area (production, management, etc.). The topological relationship for the data center can be obtained by obtaining the data of the actual network devices and mapping them to the relevant definitions according to the purpose, type, and level of the network architecture of the network devices.
[0080] According to an embodiment of the present disclosure, the topological relationship can be used to characterize the layout of network devices within data centers belonging to the same area and the network line connection relationship between network devices, as well as the linkage relationship between data centers belonging to different areas.
[0081] Determining multiple associated devices associated with the abnormal prompt object based on the topological relationship of the data center and the belonging area of the abnormal prompt object may include the following operations: determining a target area that matches the belonging area of the abnormal prompt object from the topological relationship, and determining network devices inside the data center of the target area as multiple associated devices associated with the abnormal prompt object.
[0082] According to an embodiment of the present disclosure, multiple associated devices associated with an abnormal prompt object can be determined through area matching, which is beneficial for screening associated devices in the area at a hierarchical level.
[0083] According to another embodiment of the present disclosure, the topological relationship for the data center can be constructed by defining the internal view of each data center. For example, the switch devices in the data center for each area can be defined according to the business areas with different functions. Then, the network devices are mapped to the relevant definitions according to their purpose, type and the level of the network architecture to obtain the topological relationship for the data center.
[0084] According to another embodiment of the present disclosure, the topological relationship for the data center can be constructed by defining a network area view. For example, a network area can be composed of a computer room or multiple computer rooms, such as a network composed of a core switch, an aggregation switch, and a aggregation / access switch. The purpose and type of the switch and the level of the network architecture are mapped to the switch respectively to obtain the topological relationship for the data center.
[0085] According to another embodiment of the present disclosure, in addition to operations S210 to S240, the network health check method may also include the following operations after determining the associated object associated with the abnormal prompt object from multiple associated devices based on the level to which the abnormal prompt object belongs: when it is determined that the abnormal prompt object is a network device, and the level to which the abnormal prompt object belongs is a high availability group level, and there is a linkage relationship between the data center in the area to which the network device belongs and the data centers in other areas, the network devices of the data centers in other areas are also determined as associated objects associated with the abnormal prompt object.
[0086] According to an embodiment of the present disclosure, it is possible to determine whether there is a linkage relationship between a data center in an area to which a network device belongs and data centers in other areas by managing the data center. The linkage relationship can be used to indicate that there is network interaction between data centers.
[0087] According to the embodiments of the present disclosure, since it is taken into consideration that the abnormality of a network device will also affect the abnormality of a network device in a data center with which a linkage relationship exists, by jointly determining the network devices of data centers in other areas with which a linkage relationship exists and the associated objects associated with the abnormal prompt object determined from multiple associated devices as the associated objects associated with the abnormal prompt object, it is possible to improve the accuracy of network health checks by combining the levels of different areas while considering the hierarchical levels within the same area.
[0088] Figure 5 The flowchart of a network health checking method according to another embodiment of the present disclosure is schematically shown.
[0089] According to an embodiment of the present disclosure, the check script may include: a deployment check script, a configuration check script, and a status check script. The deployment check script may be used to check whether there is an abnormality in the deployment of the associated object, the configuration check script may be used to check whether there is an abnormality in the configuration of the associated object, and the status check script may be used to check whether there is an abnormality in the operation of the associated object.
[0090] According to an embodiment of the present disclosure, checking whether the deployment of the associated object is abnormal may include the following deployment indicators, such as software and hardware consistency, high availability of location deployment, device quantity consistency, and device component consistency. Checking whether the configuration of the associated object is abnormal may include the following configuration indicators, such as functional-structural configuration, functional-service configuration, non-functional-management configuration, etc. Checking whether the operation of the associated object is abnormal may include the following status indicators, such as operation status, table items, performance capacity, and traffic balance.
[0091] like Figure 5 As shown, the network health check method of this embodiment includes operations S510 to S560.
[0092] In operation S510 , a pre-configured deployment check script, a configuration check script, and a status check script are called.
[0093] In operation S520, a deployment check script, a configuration check script, and a status check script are respectively run based on the data of the associated object to obtain health check results.
[0094] In operation S530 , the health check results of the associated objects are determined to be normal.
[0095] According to an embodiment of the present disclosure, when it is determined that the results of the health check of the associated objects are all normal, operation S540 is performed; otherwise, operation S550 is performed.
[0096] In operation S540, a prompt indicating that the abnormal prompt information is a false alarm is sent to the third-party device.
[0097] In operation S550 , a handling instruction is generated according to the category of the inspection script corresponding to the abnormality, and the handling instruction is sent to the third-party device.
[0098] In operation S560, when the confirmation information sent by the third-party device is received, the handling instruction is sent to the abnormal prompt object so that the handling instruction is executed on the abnormal prompt object.
[0099] According to an embodiment of the present disclosure, the third-party device may be an operating device used by network operation and maintenance management personnel to control network devices.
[0100] According to the embodiment of the present disclosure, when the results of the health checks corresponding to the three types of check scripts corresponding to the associated object are all normal, the abnormal prompt information is judged to be a false alarm, and the abnormal prompt information can be notified to the operation and maintenance administrator of the object through a third-party device. The health check information can also be notified to the operation and maintenance administrator through a third-party device, and the operation and maintenance administrator can further determine whether to adjust the check script based on the obtained information and judgment conclusion.
[0101] According to the embodiments of the present disclosure, considering that the abnormal prompt object is generally the core of the relationship, if the abnormal prompt object is abnormal, then all surrounding services should be abnormal, so if the current surrounding objects are partially normal and partially abnormal, the disposal instructions can be sent to the third-party device. The operation and maintenance administrator can discuss with other operation and maintenance personnel in a group based on the abnormal associated objects and the categories of abnormal inspection scripts to determine whether there are potential risks and whether the automatically generated disposal instructions are reasonable, so as to solve risks and faults in the bud.
[0102] According to an embodiment of the present disclosure, when the results of the health checks corresponding to the three types of inspection scripts corresponding to the associated objects are all abnormal, it is highly likely that the abnormality is caused by the abnormality of the abnormal prompt object. After the operation and maintenance administrator of the abnormal prompt object confirms the automatically generated disposal instructions, the disposal instructions are sent to the abnormal prompt object.
[0103] According to an embodiment of the present disclosure, the handling instructions may include isolation, restart, etc.
[0104] According to the embodiments of the present disclosure, the efficiency and effect of pre-failure handling of abnormal objects by health checks can be improved through multiple categories of inspection scripts.
[0105] Based on the above network health check method, the present disclosure also provides a network health check device. Figure 6 The device is described in detail.
[0106] Figure 6 The structural block diagram of the network health check device according to an embodiment of the present disclosure is schematically shown.
[0107] like Figure 6 As shown, the network health check device 600 of this embodiment includes a first determination module 610 , a second determination module 620 , a third determination module 630 and a check module 640 .
[0108] The first determination module 610 is used to determine the abnormal prompt object targeted by the abnormal prompt information according to the abnormal prompt information of the network facility, wherein the abnormal prompt object is used to indicate an object providing different functions in the network facility. In one embodiment, the first determination module 610 can be used to perform the operation S210 described above, which will not be repeated here.
[0109] The second determination module 620 is used to determine multiple associated devices associated with the abnormal prompt object based on the topological relationship of the data center and the belonging area of the abnormal prompt object, wherein the data center is used to provide services to the network facilities. In one embodiment, the second determination module 620 can be used to perform the operation S220 described above, which will not be repeated here.
[0110] The third determination module 630 is used to determine the associated object associated with the abnormal prompt object from multiple associated devices based on the hierarchy to which the abnormal prompt object belongs, wherein the hierarchy is used to indicate the level of the abnormal prompt object in the network architecture. In one embodiment, the third determination module 630 can be used to perform the operation S230 described above, which will not be repeated here.
[0111] The inspection module 640 is used to perform health inspection on the associated object based on pre-configured inspection scripts of different categories. In one embodiment, the inspection module 640 can be used to perform the operation S240 described above, which will not be described in detail here.
[0112] According to an embodiment of the present disclosure, the second determination module 620 may include: a first sub-determination unit, a screening unit, and a second sub-determination unit.
[0113] The first sub-determining unit is used to determine the upper level of the level to which the abnormal prompt object belongs. The screening unit is used to screen the target device associated with the upper level from the multiple associated devices. The second sub-determining unit is used to determine the target device as the associated object.
[0114] According to an embodiment of the present disclosure, the levels may include, from low to high, a single line level, a single device level, a high availability group level, a network area level, and a network service level; wherein, filtering a target device associated with an upper level from a plurality of associated devices comprises: when it is determined that the level to which the abnormal prompt object belongs is the single line level, filtering a network device having a direct connection relationship with the network line from a plurality of associated devices to obtain a target device associated with the single device level; when it is determined that the abnormal prompt object is a network device, and the level to which the abnormal prompt object belongs is the single device level, filtering other network devices constituting a high availability group from a plurality of associated devices to obtain a target device associated with the high availability group level; when it is determined that the abnormal prompt object is a network device, and the level to which the abnormal prompt object belongs is the high availability group level, filtering other network devices in the network area where the network device is located from a plurality of associated devices to obtain a target device associated with the network area level; and when it is determined that the abnormal prompt object is a network device, and the level to which the abnormal prompt object belongs is the network area level, filtering other network devices providing network services from a plurality of associated devices to obtain a target device associated with the network service level.
[0115] According to an embodiment of the present disclosure, topological relationships can be used to characterize the layout of network devices within data centers belonging to the same area and the network line connection relationship between network devices, as well as the linkage relationship between data centers belonging to different areas; wherein, based on the topological relationship for the data center and the belonging area of the abnormal prompt object, multiple associated devices associated with the abnormal prompt object are determined, including: determining a target area that matches the belonging area of the abnormal prompt object from the topological relationship; and determining the network devices within the data center in the target area as multiple associated devices associated with the abnormal prompt object.
[0116] According to an embodiment of the present disclosure, the network health check device 600 may further include a fourth determination module. The fourth determination module is used to determine the network devices of the data centers in other regions as associated objects associated with the abnormal prompt object when it is determined that the abnormal prompt object is a network device, and the level to which the abnormal prompt object belongs is a high availability group level, and there is a linkage relationship between the data center in the area to which the network device belongs and the data center in other regions.
[0117] According to an embodiment of the present disclosure, the check script may include: a deployment check script, a configuration check script, and a status check script. The deployment check script is used to check whether there is an abnormality in the deployment of the associated object, the configuration check script is used to check whether there is an abnormality in the configuration of the associated object, and the status check script is used to check whether there is an abnormality in the operation of the associated object;
[0118] The network health check device 600 may further include a sending module. The sending module is used to send a prompt indicating that the abnormal prompt information is a false alarm to the third-party device when it is determined that the results of the health check on the associated objects are all normal.
[0119] According to an embodiment of the present disclosure, the network health check device 600 may further include a generation module and a sending module. The generation module is used to generate a disposal instruction according to the category of the inspection script corresponding to the abnormality when determining that the result of the health check on the associated object is abnormal, and send the disposal instruction to the third-party device. The sending module is used to send the disposal instruction to the abnormal prompt object when receiving the confirmation information sent by the third-party device, so as to execute the disposal instruction on the abnormal prompt object.
[0120] According to an embodiment of the present disclosure, any multiple modules of the first determination module 610, the second determination module 620, the third determination module 630 and the inspection module 640 can be combined into one module for implementation, or any one of the modules can be split into multiple modules. Alternatively, at least part of the functions of one or more of these modules can be combined with at least part of the functions of other modules and implemented in one module. According to an embodiment of the present disclosure, at least one of the first determination module 610, the second determination module 620, the third determination module 630 and the inspection module 640 can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application specific integrated circuit (ASIC), or can be implemented by hardware or firmware such as any other reasonable way of integrating or packaging the circuit, or implemented in any one of the three implementation methods of software, hardware and firmware or in a suitable combination of any of them. Alternatively, at least one of the first determination module 610 , the second determination module 620 , the third determination module 630 , and the checking module 640 may be at least partially implemented as a computer program module, and when the computer program module is executed, a corresponding function may be performed.
[0121] Figure 7 A block diagram of an electronic device suitable for implementing a network health check method according to an embodiment of the present disclosure is schematically shown.
[0122] like Figure 7As shown, the electronic device 700 according to an embodiment of the present disclosure includes a processor 701, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 702 or a program loaded from a storage part 708 to a random access memory (RAM) 703. The processor 701 may include, for example, a general-purpose microprocessor (such as a CPU), an instruction set processor and / or a related chipset and / or a special-purpose microprocessor (for example, an application-specific integrated circuit (ASIC)), etc. The processor 701 may also include an onboard memory for caching purposes. The processor 701 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present disclosure.
[0123] In RAM 703, various programs and data required for the operation of electronic device 700 are stored. Processor 701, ROM 702 and RAM 703 are connected to each other via bus 704. Processor 701 performs various operations of the method flow according to the embodiment of the present disclosure by executing the program in ROM 702 and / or RAM 703. It should be noted that the program can also be stored in one or more memories other than ROM 702 and RAM 703. Processor 701 can also perform various operations of the method flow according to the embodiment of the present disclosure by executing the program stored in one or more memories.
[0124] According to an embodiment of the present disclosure, the electronic device 700 may further include an input / output (I / O) interface 705, which is also connected to the bus 704. The electronic device 700 may further include one or more of the following components connected to the input / output (I / O) interface 705: an input portion 706 including a keyboard, a mouse, etc.; an output portion 707 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage portion 708 including a hard disk, etc.; and a communication portion 709 including a network interface card such as a LAN card, a modem, etc. The communication portion 709 performs communication processing via a network such as the Internet. A drive 710 is also connected to the input / output (I / O) interface 705 as needed. A removable medium 711, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 710 as needed, so that a computer program read therefrom is installed into the storage portion 708 as needed.
[0125] The present disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or may exist independently without being assembled into the device / apparatus / system. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed, the method according to the embodiment of the present disclosure is implemented.
[0126] According to an embodiment of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium, for example, it may include but is not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, an apparatus or a device. For example, according to an embodiment of the present disclosure, the computer-readable storage medium may include the ROM 702 and / or RAM 703 described above and / or one or more memories other than ROM 702 and RAM 703.
[0127] The embodiment of the present disclosure also includes a computer program product, which includes a computer program, and the computer program contains program code for executing the method shown in the flowchart. When the computer program product is run in a computer system, the program code is used to enable the computer system to implement the network health check method provided by the embodiment of the present disclosure.
[0128] The above functions defined in the system / device of the embodiment of the present disclosure are performed when the computer program is executed by the processor 701. According to the embodiment of the present disclosure, the system, device, module, unit, etc. described above can be implemented by a computer program module.
[0129] In one embodiment, the computer program may rely on tangible storage media such as optical storage devices, magnetic storage devices, etc. In another embodiment, the computer program may also be transmitted and distributed in the form of signals on a network medium, and downloaded and installed through the communication part 709, and / or installed from the removable medium 711. The program code contained in the computer program may be transmitted using any appropriate network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0130] In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 709, and / or installed from the removable medium 711. When the computer program is executed by the processor 701, the above functions defined in the system of the embodiment of the present disclosure are performed. According to the embodiment of the present disclosure, the system, device, means, module, unit, etc. described above can be implemented by a computer program module.
[0131] According to an embodiment of the present disclosure, the program code for executing the computer program provided by the embodiment of the present disclosure can be written in any combination of one or more programming languages. Specifically, these computing programs can be implemented using high-level process and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages include, but are not limited to, Java, C++, python, "C" language or similar programming languages. The program code can be executed entirely on the user computing device, partially on the user device, partially on the remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (for example, using an Internet service provider to connect through the Internet).
[0132] The flow charts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0133] It will be appreciated by those skilled in the art that the features described in the various embodiments of the present disclosure may be combined and / or combined in a variety of ways, even if such combinations or combinations are not explicitly described in the present disclosure. In particular, without departing from the spirit and teachings of the present disclosure, the features described in the various embodiments of the present disclosure may be combined and / or combined in a variety of ways. All of these combinations and / or combinations fall within the scope of the present disclosure.
[0134] The embodiments of the present disclosure are described above. However, these embodiments are only for illustrative purposes and are not intended to limit the scope of the present disclosure. Although the embodiments are described above, this does not mean that the measures in the various embodiments cannot be used in combination to advantage. Without departing from the scope of the present disclosure, those skilled in the art may make a variety of substitutions and modifications, which should all fall within the scope of the present disclosure.
Claims
1. A network health check method, characterized in that: The method comprises: Determine, according to the abnormal prompt information of the network facility, the abnormal prompt object targeted by the abnormal prompt information, wherein the abnormal prompt object is used to indicate an object providing different functions in the network facility; Determine a plurality of associated devices associated with the abnormal prompt object based on a topological relationship for the data center and a belonging area of the abnormal prompt object, wherein the data center is used to provide services to the network facility; Based on the hierarchy to which the abnormal prompt object belongs, determining an associated object associated with the abnormal prompt object from the plurality of associated devices, wherein the hierarchy is used to indicate the level of the abnormal prompt object in the network architecture; and Based on pre-configured inspection scripts of different categories, health inspection is performed on the associated objects.
2. The method according to claim 1, characterized in that The determining, based on the level to which the abnormal prompt object belongs, an associated object associated with the abnormal prompt object from the plurality of associated devices comprises: Determine a level above the level to which the abnormal prompt object belongs; Filtering a target device associated with the upper level from the plurality of associated devices; and The target device is determined as the associated object.
3. The method according to claim 2, characterized in that The levels include, from low to high, single line level, single device level, high availability group level, network area level, and network service level; The step of selecting a target device associated with the upper level from the plurality of associated devices includes: When it is determined that the level to which the abnormal prompt object belongs is the single line level, a network device having a direct connection relationship with the network line is selected from the plurality of associated devices to obtain the target device associated with the single device level; When it is determined that the abnormal prompt object is a network device and the level to which the abnormal prompt object belongs is the single device level, other network devices constituting a high availability group are screened from the plurality of associated devices to obtain the target device associated with the high availability group level; When it is determined that the abnormal prompt object is the network device, and the level to which the abnormal prompt object belongs is the high availability group level, other network devices in the network area where the network device is located are screened from the plurality of associated devices to obtain the target device associated with the network area level; and When it is determined that the abnormal prompt object is the network device and the level to which the abnormal prompt object belongs is the network area level, other network devices providing network services are screened from the multiple associated devices to obtain the target device associated with the network service level.
4. The method according to claim 1, characterized in that: The topological relationship is used to characterize the layout of network devices within data centers belonging to the same region and the network line connection relationship between network devices, as well as the linkage relationship between data centers belonging to different regions; The determining of a plurality of associated devices associated with the abnormal prompt object based on the topological relationship of the data center and the belonging area of the abnormal prompt object includes: Determining a target area that matches the belonging area of the abnormality prompt object from the topological relationship; and The network devices inside the data center of the target area are determined as the multiple associated devices associated with the abnormal prompt object.
5. The method according to claim 4, characterized in that The method further comprises: When it is determined that the abnormal prompt object is the network device, and the level to which the abnormal prompt object belongs is the high availability group level, and there is a linkage relationship between the data center in the area to which the network device belongs and the data centers in other areas, the network devices of the data centers in other areas are determined as the associated objects associated with the abnormal prompt object.
6. The method according to any one of claims 1 to 5, characterized in that The inspection script includes: a deployment inspection script, a configuration inspection script and a status inspection script. The deployment inspection script is used to check whether there is an abnormality in the deployment of the associated object, the configuration inspection script is used to check whether there is an abnormality in the configuration of the associated object, and the status inspection script is used to check whether there is an abnormality in the operation of the associated object; The method further comprises: When it is determined that the results of the health check on the associated objects are all normal, a prompt is sent to the third-party device that the abnormal prompt information is a false alarm.
7. The method according to claim 6, characterized in that The method further comprises: When it is determined that the result of the health check on the associated object is abnormal, generating a disposal instruction according to the category of the inspection script corresponding to the abnormality, and sending the disposal instruction to the third-party device; and When the confirmation information sent by the third-party device is received, the handling instruction is sent to the abnormal prompt object so that the handling instruction is executed on the abnormal prompt object.
8. A network health check device, characterized in that: The device comprises: A first determination module is used to determine, according to the abnormal prompt information of the network facility, an abnormal prompt object targeted by the abnormal prompt information, wherein the abnormal prompt object is used to indicate an object providing different functions in the network facility; A second determination module is used to determine a plurality of associated devices associated with the abnormal prompt object based on a topological relationship for a data center and a belonging area of the abnormal prompt object, wherein the data center is used to provide services to the network facility; a third determining module, configured to determine, from the plurality of associated devices, an associated object associated with the abnormal prompt object based on a hierarchy to which the abnormal prompt object belongs, wherein the hierarchy is used to indicate a level of the abnormal prompt object in a network architecture; and The inspection module is used to perform health inspection on the associated objects based on pre-configured inspection scripts of different categories.
9. An electronic device, comprising: one or more processors; a memory for storing one or more computer programs, It is characterized in that the one or more processors execute the one or more computer programs to implement the steps of the method according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program or instruction stored thereon, characterized in that: When the computer program or instruction is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
11. A computer program product comprising a computer program or instructions, characterized in that When the computer program or instruction is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Method and equipment for monitoring network quality
CN108900388A
Method for determining influence range of fault equipment, and related devices
CN113821367A
Network operation and maintenance troubleshooting method, system and related equipment
CN117768299A
Communication device and communication system
JP2013046090A