Judgment method and device for link between switch and server

Through machine learning algorithms and Bayesian network model, combined with information acquisition and fault location, the problem of incomplete link status judgment in the existing technology is solved, efficient and accurate link status monitoring and fault location are achieved, and the network is reduced Maintenance cost.

CN119052128APending Publication Date: 2024-11-29CHONGQING QINHAN TECHNOLOGY CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410927072.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-11
Publication Date
2024-11-29

AI Technical Summary

Technical Problem

In the judgment of links between switches and servers, it is difficult to effectively integrate and associate information from multiple levels and data sources, resulting in incomplete judgment results, and achieving efficient link judgment systems requires complex system architecture and high performance. Computing resources increase costs.

Method used

Using machine learning algorithms and Bayesian network model, through information collection, data processing and fault location, comprehensive monitoring of link status is achieved, determining whether there are abnormalities in the link, and automatically notifying the administrator in the abnormal situation.

Benefits of technology

It improves the accuracy of link state analysis and the accuracy of fault location, and outputs analysis results in real time, significantly improves the efficiency of link fault detection and processing, and reduces the complexity and time cost of network maintenance.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

The invention relates to the technical field of communication, in particular to a method and a device for judging a link between a switch and a server. The method comprises the following steps: S1, collecting link state information from a switch and a server, wherein the link state information comprises a port state, a transmission rate and the number of error frames; s2, collecting protocol state information of a network layer and a transmission layer, wherein the protocol state information comprises an I CMP echo request / response and a TCP connection state; and S3, carrying out data cleaning and format conversion on the collected link state information. According to the invention, through integration of information acquisition, data processing, state analysis and fault positioning, comprehensive monitoring of the link state is realized. The machine learning algorithm and the Bayesian network model are adopted, the link state analysis precision and the fault positioning accuracy are improved, the analysis result can be output in real time, an administrator is automatically notified under the abnormal condition, the link fault detection and processing efficiency is remarkably improved, and the network maintenance complexity and time cost are reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technology, and in particular to a method and device for determining a link between a switch and a server. Background Art

[0002] In the modern information society, computer networks have become an indispensable part of the daily lives of enterprises, governments and individuals. The quality and reliability of network infrastructure directly affect the efficiency and security of business operations. Especially in data centers and enterprise internal networks, the link between switches and servers is an important connection link, and its stability and performance are particularly important. The switch is the hub of network data, responsible for forwarding and transmitting data packets, while the server is the core device that provides computing, storage and service functions. The link status between the two is directly related to the transmission efficiency and reliability of the entire network.

[0003] In actual operation, the link between the switch and the server is often affected by various factors, resulting in performance degradation or even failure. These problems can be divided into physical layer problems, data link layer problems, and network layer problems.

[0004] Traditional link detection methods mainly rely on manual inspection and simple tools. These methods include: Manual inspection: Troubleshoot link problems by manually checking the configuration of network devices, status indicators, cable connections, etc. This method is time-consuming and labor-intensive, and it is easy to miss some hidden faults.

[0005] Network testing tools: Use command-line tools such as ping and traceroute to test network connectivity. Although these tools can help find connectivity issues at the network level, they are often powerless against issues at the physical layer and data link layer.

[0006] Network monitoring system: Some enterprises use network monitoring systems, such as Nagios and Zabbix, to monitor device status through the SNMP protocol. These systems can provide the operating status and performance indicators of the equipment, but usually can only provide static data and cannot perform in-depth link status analysis and fault location.

[0007] Although modern link judgment technology has overcome the limitations of traditional methods to a certain extent, there are still some shortcomings in practical applications: the link status involves multiple levels and multiple data sources. How to effectively integrate and associate these data to provide comprehensive and consistent judgment results is a complex problem. At the same time, realizing an efficient link judgment system usually requires complex system architecture and high-performance computing resources, which increases the cost of implementation and maintenance. For this reason, we propose a method and device for judging the link between a switch and a server. Summary of the invention

[0008] The purpose of the present invention is to provide a method and device for determining a link between a switch and a server, so as to solve the problems raised in the above background technology.

[0009] In order to solve the above technical problems, the present invention adopts the following technical solutions:

[0010] A method for determining a link between a switch and a server comprises the following steps:

[0011] S1: Collect link status information from switches and servers, including port status, transmission rate, and number of error frames;

[0012] S2: Collects protocol status information of the network layer and transport layer, including ICMP echo request / reply and TCP connection status;

[0013] S3: performing data cleaning and format conversion on the collected link status information;

[0014] S4: Based on the preprocessed data, the machine learning algorithm is used to analyze the link status and determine whether there is any abnormality in the link;

[0015] S5: In case of link abnormality, further locate the fault point to determine whether it is a physical layer fault, a data link layer fault, or a network layer fault;

[0016] S6: Generate a fault report, including the fault type, fault location and recommended repair measures;

[0017] S7: Display the link status analysis result and the fault location report through a graphical interface, and selectively send a notification to a network administrator.

[0018] Preferably, the step of collecting link status information from the switch and the server includes obtaining information on port status, transmission rate and number of error frames using SNMP protocol.

[0019] Preferably, the step of collecting network layer and transport layer protocol status information includes obtaining network layer connectivity information using ICMP protocol.

[0020] Preferably, the link status analysis comprises the following steps:

[0021] a) extracting features from the preprocessed data to generate feature vectors for analysis;

[0022] b) inputting the feature vector into a pre-trained support vector machine (SVM) model;

[0023] c) Classify the feature vectors through the support vector machine (SVM) model to determine whether the link is normal.

[0024] Preferably, in the case of link abnormality, the step of further locating the fault point includes:

[0025] a) Use the Bayesian network model to analyze abnormal links;

[0026] b) Determine the network layer where the fault point is located, including the physical layer, data link layer and network layer;

[0027] c) Generate detailed information on the fault location and fault type based on the analysis results of the Bayesian network model.

[0028] Preferably, the fault report generation includes a detailed description of the fault type, fault location and suggested repair measures.

[0029] Preferably, the result output includes displaying the link status in real time through a Web interface, and notifying the administrator via email and SMS when an abnormality is detected.

[0030] A device for determining a link between a switch and a server, applicable to a method for determining a link between a switch and a server, comprising:

[0031] An information collection module is used to collect link status information and protocol status information from switches and servers;

[0032] Data processing module, used for data cleaning and format conversion of collected information;

[0033] A status analysis module, used for performing link status analysis based on preprocessed data;

[0034] Fault location module, used to locate the fault point and generate a fault report in case of link abnormality;

[0035] The result output module is used to output the link status analysis results and fault location report and notify the network administrator.

[0036] Preferably, the information collection module uses the SNMP protocol to collect information on port status, transmission rate and number of error frames from the switch and the server.

[0037] Preferably, the status analysis module uses a support vector machine (SVM) algorithm to perform link status analysis on the preprocessed data.

[0038] It can be seen without a doubt that the above-mentioned technical solution of the present application can definitely solve the technical problem to be solved by the present application.

[0039] At the same time, through the above technical solutions, the present invention has at least the following beneficial effects:

[0040] The present invention realizes comprehensive monitoring of link status by integrating information collection, data processing, status analysis and fault location. The machine learning algorithm and Bayesian network model are used to improve the accuracy of link status analysis and fault location, and the analysis results can be output in real time, and the administrator can be automatically notified in abnormal situations, which significantly improves the efficiency of link fault detection and processing and reduces the complexity and time cost of network maintenance. DETAILED DESCRIPTION

[0041] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0042] Example 1

[0043] A method for determining a link between a switch and a server comprises the following steps:

[0044] S1: Collect link status information from switches and servers, including port status, transmission rate, and number of error frames;

[0045] S2: Collects protocol status information of the network layer and transport layer, including ICMP echo request / reply and TCP connection status;

[0046] S3: performing data cleaning and format conversion on the collected link status information;

[0047] S4: Based on the preprocessed data, the machine learning algorithm is used to analyze the link status and determine whether there is any abnormality in the link;

[0048] S5: In case of link abnormality, further locate the fault point to determine whether it is a physical layer fault, a data link layer fault, or a network layer fault;

[0049] S6: Generate a fault report, including the fault type, fault location and recommended repair measures;

[0050] S7: Displays link status analysis results and fault location reports through a graphical interface and optionally sends notifications to network administrators, providing a systematic approach that comprehensively covers the link status of the physical layer, data link layer, and network layer through multiple information collection methods.

[0051] Data cleaning and format conversion are used to ensure data accuracy and consistency, and improve the accuracy of subsequent analysis. Machine learning algorithms are used to analyze link status to achieve efficient and intelligent judgment of link status and reduce human intervention. When the link is abnormal, the fault point can be quickly located, the fault type and location can be accurately determined, and the troubleshooting time can be shortened. Detailed fault reports are generated to help network administrators quickly understand the fault situation and take appropriate repair measures. Multiple result output methods display the link status in real time, and promptly notify the administrator when an abnormality occurs, improving network operation and maintenance efficiency and response speed.

[0052] The steps to collect link status information from switches and servers include using the SNMP protocol to obtain information about port status, transmission rate, and number of error frames. Using the SNMP protocol, link status information can be collected from network devices in a standardized and efficient manner, reducing implementation complexity. Ensure that the collected data includes rich link status information, such as port status, transmission rate, and number of error frames, to provide comprehensive link health status.

[0053] The steps of collecting the network layer and transport layer protocol status information include using the ICMP protocol to obtain the network layer connectivity information, quickly detecting the connection status of the network layer, and timely discovering and locating the connectivity problems at the network layer. Supplementing the link status information makes the link judgment more comprehensive and accurate, and improves the coverage of link status monitoring.

[0054] Link status analysis includes the following steps:

[0055] a) extracting features from the preprocessed data to generate feature vectors for analysis;

[0056] b) inputting the feature vector into a pre-trained support vector machine (SVM) model;

[0057] c) The feature vectors are classified by the support vector machine (SVM) model to determine whether the link is normal. Through feature extraction, the most important features that reflect the link status can be extracted from the data to improve the efficiency of data utilization. The pre-trained SVM model is used to classify the feature vectors to ensure the efficiency and accuracy of the analysis, which is suitable for real-time link status monitoring. The link status is judged by the machine learning model, which reduces human errors and improves the intelligence and automation level of link status judgment.

[0058] In the case of link abnormality, the steps to further locate the fault point include:

[0059] a) Use the Bayesian network model to analyze abnormal links;

[0060] b) Determine the network layer where the fault point is located, including the physical layer, data link layer and network layer;

[0061] c) Generate detailed information about the fault location and fault type based on the analysis results of the Bayesian network model. The Bayesian network model can be used to conduct in-depth analysis of abnormal links in complex situations and provide more accurate fault location. It can distinguish faults at different network levels, improve the accuracy of fault location, and ensure targeted fault repair. Generate detailed fault information, including location and type, which helps to quickly diagnose and solve problems and improve network reliability and maintainability.

[0062] Fault report generation includes a detailed description of the fault type, fault location, and recommended repair measures. It provides a detailed fault report that includes the fault type, location, and repair suggestions to help network administrators quickly understand the fault situation and take effective repair measures. The standardization and detail of fault reports improves the efficiency and effectiveness of fault handling and reduces the impact of network faults on business.

[0063] The output of the results includes real-time display of link status through the Web interface, and notification of administrators via email and SMS when anomalies are detected. Real-time display of link status through the Web interface provides a visual management tool for network administrators to monitor network conditions. Email and SMS notification functions in abnormal situations ensure that administrators can receive alerts in a timely manner, respond and handle problems quickly, and improve the response speed and efficiency of network operation and maintenance.

[0064] Example 2

[0065] A device for determining a link between a switch and a server, applicable to a method for determining a link between a switch and a server, comprising:

[0066] An information collection module is used to collect link status information and protocol status information from switches and servers;

[0067] Data processing module, used for data cleaning and format conversion of collected information;

[0068] A status analysis module, used for performing link status analysis based on preprocessed data;

[0069] Fault location module, used to locate the fault point and generate a fault report in case of link abnormality;

[0070] The result output module is used to output the link status analysis results and fault location report, and notify the network administrator, providing a complete link judgment device to realize the automation of the entire process of information collection, data processing, status analysis, fault location and result output, reduce manual operations, and improve judgment efficiency and accuracy. The modular design of the device is easy to maintain and upgrade, and improves the flexibility and scalability of the system. Through integration, the entire link judgment process is made more compact and efficient, and the overall network monitoring and management intelligence level is improved.

[0071] The information collection module uses the SNMP protocol to collect information about port status, transmission rate, and number of error frames from switches and servers. The SNMP protocol can efficiently and accurately obtain necessary link status information from devices, simplify the information collection process, and ensure the accuracy and consistency of collected data. Supporting standard protocols makes the device compatible and can interact with a variety of network devices, expanding its scope of application.

[0072] The status analysis module uses the support vector machine (SVM) algorithm to analyze the link status of the preprocessed data. It uses the support vector machine (SVM) algorithm to provide an efficient link status analysis method with high classification accuracy, which is suitable for large-scale data analysis. The machine learning algorithm improves the automation level of link status judgment, reduces human intervention, and improves the intelligence and reliability of link status analysis.

[0073] From the above, we can know that:

[0074] The present invention addresses the following technical issues: Although modern link judgment technology has overcome the limitations of traditional methods to a certain extent, there are still some deficiencies in practical applications: the link status involves multiple levels and multiple data sources. How to effectively integrate and associate these data to provide comprehensive and consistent judgment results is a complex issue. At the same time, realizing an efficient link judgment system usually requires complex system architecture and high-performance computing resources, which increases the cost of implementation and maintenance; the technical solutions of the above-mentioned embodiments are adopted.

[0075] By setting the above technical solution, the present application can certainly solve the above technical problems and achieve the following technical effects:

[0076] The present invention realizes comprehensive monitoring of link status by integrating information collection, data processing, status analysis and fault location. The machine learning algorithm and Bayesian network model are used to improve the accuracy of link status analysis and fault location, and the analysis results can be output in real time, and the administrator can be automatically notified in abnormal situations, which significantly improves the efficiency of link fault detection and processing and reduces the complexity and time cost of network maintenance.

[0077] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral one; it can be a mechanical connection, an electrical connection, or communication with each other; it can be a direct connection, or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0078] Obviously, the embodiments described above are only some embodiments of the present invention, rather than all embodiments. The preferred embodiments of the present invention are given in the specification, but they do not limit the patent scope of the present invention. The present invention can be implemented in many different forms. On the contrary, the purpose of providing these embodiments is to make the understanding of the disclosure of the present invention more thorough and comprehensive. Although the present invention has been described in detail with reference to the aforementioned embodiments, for those skilled in the art, it is still possible to modify the technical solutions recorded in the aforementioned specific implementation methods, or to perform equivalent replacements for some of the technical features therein. Any equivalent structure made using the contents of the specification of the present invention, directly or indirectly used in other related technical fields, is also within the scope of patent protection of the present invention.

Claims

1. A method for determining a link between a switch and a server, characterized in that: The following steps are involved: S1: Collect link status information from switches and servers, including port status, transmission rate, and number of error frames; S2: Collects protocol status information of the network layer and transport layer, including ICMP echo request / reply and TCP connection status; S3: performing data cleaning and format conversion on the collected link status information; S4: Based on the preprocessed data, the machine learning algorithm is used to analyze the link status and determine whether there is any abnormality in the link; S5: In case of link abnormality, further locate the fault point to determine whether it is a physical layer fault, a data link layer fault, or a network layer fault; S6: Generate a fault report, including the fault type, fault location and recommended repair measures; S7: Display the link status analysis result and the fault location report through a graphical interface, and selectively send a notification to a network administrator.

2. A method for determining a link between a switch and a server according to claim 1, characterized in that: The step of collecting link status information from the switch and the server includes using the SNMP protocol to obtain information on port status, transmission rate and number of error frames.

3. A method for determining a link between a switch and a server according to claim 1, characterized in that: The step of collecting the network layer and transport layer protocol status information includes obtaining the network layer connectivity information using the ICMP protocol.

4. A method for determining a link between a switch and a server according to claim 2, characterized in that: The link status analysis comprises the following steps: a) extracting features from the preprocessed data to generate feature vectors for analysis; b) inputting the feature vector into a pre-trained support vector machine (SVM) model; c) Classify the feature vectors through the support vector machine (SVM) model to determine whether the link is normal.

5. The method for determining a link between a switch and a server according to claim 1, characterized in that: In the case of link abnormality, the step of further locating the fault point includes: a) Use the Bayesian network model to analyze abnormal links; b) Determine the network layer where the fault point is located, including the physical layer, data link layer and network layer; c) Generate detailed information on the fault location and fault type based on the analysis results of the Bayesian network model.

6. A method for determining a link between a switch and a server according to claim 1, characterized in that: The fault report generation includes a detailed description of the fault type, fault location and suggested repair measures.

7. A method for determining a link between a switch and a server according to claim 5, characterized in that: The result output includes real-time display of link status through a web interface, and notifying the administrator via email and SMS when an abnormality is detected.

8. A device for determining a link between a switch and a server, applicable to a method for determining a link between a switch and a server as claimed in any one of claims 1 to 7, characterized in that: include: An information collection module is used to collect link status information and protocol status information from switches and servers; Data processing module, used for data cleaning and format conversion of collected information; A status analysis module, used for performing link status analysis based on preprocessed data; Fault location module, used to locate the fault point and generate a fault report in case of link abnormality; The result output module is used to output the link status analysis results and fault location report and notify the network administrator.

9. The device for determining a link between a switch and a server according to claim 8, characterized in that: The information collection module uses the SNMP protocol to collect information on port status, transmission rate and number of error frames from switches and servers.

10. The device for determining a link between a switch and a server according to claim 8, characterized in that: The state analysis module uses a support vector machine (SVM) algorithm to perform link state analysis on the preprocessed data.

Citation Information

Cited By

  • Server link fault positioning system and method, electronic equipment and storage medium

    CN120602390A

  • Server link fault location system, method, electronic equipment and storage medium

    CN120602390B