A diagnosis and correction method based on SRIO bus
Through auxiliary bus and support vector machine technology, real-time monitoring and repair of SRIO bus network faults solves the problem of fault spread in existing technologies, improves the efficiency of fault diagnosis and correction, reduces management costs, and ensures the stability of network communication. .
Patent Information
- Application Number
- CN202410970374.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-19
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2044-07-19
AI Technical Summary
In the existing technology, the fault diagnosis and recovery of the SRIO bus communication network lacks real-time monitoring and rapid recovery means, which may cause the fault to spread to other nodes and affect the communication function of the entire network.
An auxiliary bus is used to monitor and correct SRIO bus network faults. Faulty nodes are identified through data cleaning and support vector machines (SVM), and the self-repair program is launched to evaluate the repair effect and ensure the accuracy and stability of network communication status.
It realizes real-time monitoring and rapid fault identification, reduces the risk of fault spread, improves the accuracy of fault diagnosis and correction efficiency, reduces management costs, and ensures the normal operation of network communication functions.
Smart Images

Figure CN118540208B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of SRIO bus fault analysis, and in particular to a diagnosis and correction method based on SRIO bus. Background Art
[0002] With the rapid development of communication technology, SRIO bus has been widely used in high-performance computing, data processing and other fields due to its high speed, low latency and high reliability. However, there are still many challenges in the fault diagnosis and recovery technology of SRIO bus communication network. In the existing technology, there is often a lack of effective real-time monitoring and rapid recovery methods for the handling of any node failure in the network, which may cause the failure to spread to other nodes through the switching node, affecting the communication function of the entire network. Summary of the invention
[0003] In view of the above-mentioned deficiencies in the prior art, the present invention provides a diagnosis and correction method based on the SRIO bus, which uses an auxiliary bus to monitor and correct the network failure of the SRIO bus.
[0004] In order to achieve the above-mentioned object of the invention, the technical solution adopted by the present invention is:
[0005] Provided is a diagnosis and correction method based on SRIO bus, comprising:
[0006] Step S1: construct an auxiliary bus matching the SRIO bus communication network, each network node in the SRIO bus communication network is connected to the auxiliary bus respectively, the auxiliary bus obtains the communication status of each network node, collects data representing the communication status, and obtains a data set about the communication status of each network node. A ;
[0007] Step S2: According to the serial number of the network nodes, the data group of each network node is sequentially A Clean and output new data groups B ;
[0008] Step S3: Extracting data sets B The characteristics of each data in the output feature vector of each data, using the support vector machine SVM to output the fault information of the network node and the number of network nodes that have faults;
[0009] Step S4: After outputting the fault information of the network node, the network node where the fault occurs is marked as a faulty node, the fault self-repair program is started, the faulty node is repaired, and the repair coefficient is calculated, and the self-repair effect is evaluated according to the repair coefficient.
[0010] Furthermore, in step S2, the data set A The cleaning method is:
[0011] Step S21: Obtaining a data set A The amount of data in n , and with the standard data volume Make comparisons;
[0012] like , then the amount of data in the data group is normal, and it is directly output as a new data group B ;
[0013] like , then the data in the data group is excessive and the redundant data needs to be deleted, and step S22 is executed;
[0014] like , then the data in the data group is missing and needs to be supplemented, and step S23 is executed;
[0015] Step S22: Setting the data standard value representing the communication status on the network node , get the standard data set , build data comparison function , is the comparison function,
[0016] y n is the output comparison value, is the error correction coefficient;
[0017] Traverse each data and its corresponding data standard value in turn, and input the data comparison function Calculate the comparison value y n , the comparison value y n The corresponding difference threshold Make comparisons;
[0018] like , then the data is normal data;
[0019] like , then the data It is abnormal data and deletes the abnormal data;
[0020] Until the data set A The amount of data in When the data deletion process stops, the new data group is output B , if the data set A After all the data in the traversal is completed, it still cannot satisfy , then return to step S1, the auxiliary bus reacquires the data group of the network node A ;
[0021] Step S23: Using the data comparison function in step S22, traverse each data and its corresponding data standard value in turn, and input the data comparison function Calculate the comparison value y n , the comparison value y n The corresponding difference threshold Make comparisons;
[0022] like , then the data is normal data;
[0023] like , then the data For abnormal data, With data Insert a data between , ;in, For the m -1 network node n data, For the m -2 network nodes n individual data;
[0024] Until the amount of data in the data group meets When , the data filling process stops and the new data group is output B , if the data set A After traversing all the data in, it still cannot satisfy , then return to step S1, the auxiliary bus reacquires the data group of the network node A .
[0025] Further, step S3 includes:
[0026] Step S31: Extracting data sets The characteristics of each data in the output feature vector of each data
[0027] ;
[0028] in, k is the element of the eigenvector, is the label of the feature, is the characteristic value, N is the total amount of features of the data;
[0029] Step S32: Constructing the hyperplane equation of the support vector machine SVM , , is the label of the data, x is a variable, b is the bias term, w is the weight vector, and the decision objective function is constructed according to the hyperplane equation ;
[0030] Step S33: The feature vector of each data Input into the decision objective function In the output, the feature vector The decision value of , define the decision threshold ;
[0031] when When , the eigenvector Corresponding data For normal data, is the slack variable;
[0032] when When , the eigenvector Corresponding data For fault data, generate fault information for each network node according to the data type corresponding to the fault data , and the number of network nodes that have failed .
[0033] Further, step S4 includes:
[0034] Step S41: After outputting the fault information of the network node, the network node where the fault occurs is marked as a faulty node, the auxiliary bus is disconnected from each network node and the faulty node, and the faulty node is Start the corresponding fault self-repair program , and re-establish network connections with the network nodes at both ends of the failed node;
[0035] Step S42: The auxiliary bus reconnects to the self-repaired network node and executes steps S1-S3 to recollect data representing the communication status of each self-repaired network node and output the fault information of the self-repaired network node. , and the number of network nodes that have failed ;
[0036] Step S43: Calculate the repair coefficient after the self-repair process ;
[0037] ;
[0038] in, For fault information The amount of failure in For fault information The amount of failure in M is the number of network nodes in the SRIO bus communication network, is the weight coefficient of the total network repair rate, is the weight coefficient of the repair rate of a single network node;
[0039] Step S44: Setting the threshold of the repair coefficient ;
[0040] like , the self-repair effect of the faulty node is good, and the process returns to step S41 to continue starting the fault self-repair program until all faulty nodes are repaired;
[0041] like , then the self-repair effect of the faulty node is poor, and a fault report information is generated and sent to the management personnel for processing.
[0042] Furthermore, the data set in step S1 ; For the m The first n data, n is the amount of data, m It is the number of the network node in the SRIO bus communication network.
[0043] The beneficial effects of the present invention are as follows: the SRIO bus-based diagnosis and correction method provided by the present invention can monitor the communication status of each node in the network in real time, collect the status data of each network node, and perform data cleaning to ensure the accuracy of the collected data, reduce the error of fault identification, and after the fault is quickly identified, use the self-repair program to repair it, and evaluate the self-repair effect to determine whether human intervention is needed, effectively avoid the fault from spreading to other nodes, and ensure the normal communication function of the entire network. At the same time, it also improves the accuracy of fault diagnosis and the efficiency of fault correction, and reduces management costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 It is a flow chart of the diagnosis and correction method based on SRIO bus. DETAILED DESCRIPTION
[0045] The specific implementation modes of the present invention are described below so that those skilled in the art can understand the present invention. However, it should be clear that the present invention is not limited to the scope of the specific implementation modes. For those of ordinary skill in the art, as long as various changes are within the spirit and scope of the present invention as defined and determined by the attached claims, these changes are obvious, and all inventions and creations utilizing the concept of the present invention are protected.
[0046] like Figure 1 As shown, a diagnosis and correction method based on SRIO bus includes:
[0047] Step S1: construct an auxiliary bus matching the SRIO bus communication network, each network node in the SRIO bus communication network is connected to the auxiliary bus respectively, the auxiliary bus obtains the communication status of each network node, collects data representing the communication status, and obtains a data set about the communication status of each network node. A ; Data set ; For the m The first n data, n is the amount of data, m is the number of the network node in the SRIO bus communication network. In this embodiment, the data summarizing the communication status includes key parameters such as transmission rate, delay, error rate, etc.
[0048] Step S2: According to the serial number of the network nodes, the data group of each network node is sequentially A Clean and output new data groups B ; In step S2, the data set A The cleaning method is:
[0049] Step S21: Obtaining a data set A The amount of data in n , and with the standard data volume Make comparisons;
[0050] like , then the amount of data in the data group is normal, and it is directly output as a new data group B ;
[0051] like , then the data in the data group is excessive and the redundant data needs to be deleted, and step S22 is executed;
[0052] like , then the data in the data group is missing and needs to be supplemented, and step S23 is executed;
[0053] Step S22: Setting the data standard value representing the communication status on the network node , get the standard data set , build data comparison function , is the comparison function,
[0054] y n is the output comparison value, The error correction coefficient is introduced to expand the error range of data comparison and avoid accidental deletion. The value of is related to the data type. The larger the data value, the larger the correction coefficient. The bigger it is, the smaller it is;
[0055] Traverse each data and its corresponding data standard value in turn, and input the data comparison function Calculate the comparison value y n , the comparison value y n The corresponding difference threshold Make comparisons;
[0056] like , then the data is normal data;
[0057] like , then the data It is abnormal data and deletes the abnormal data;
[0058] Difference Threshold Indicates the allowable value of the difference between the data and the data standard value, which is greater than the difference threshold It is not allowed, indicating that the data is not of the same type as the data standard value and the data needs to be deleted. The types of each data are different, and the differences in their data values are also very large. By comparing the data with the data standard value, it is possible to determine whether the data at that location is authentic.
[0059] Until the data set A The amount of data in When the data deletion process stops, the new data group is output B , if the data set A After all the data in the traversal is completed, it still cannot satisfy , then return to step S1, the auxiliary bus reacquires the data group of the network node A ;
[0060] Step S23: Using the data comparison function in step S22, traverse each data and its corresponding data standard value in turn, and input the data comparison function Calculate the comparison value y n , the comparison value y n The corresponding difference threshold Make comparisons;
[0061] like , then the data is normal data;
[0062] like , then the data For abnormal data, data The data of the previous position is missing, and it is supplemented by referring to the data of the corresponding position of the adjacent network node. With data Insert a data between , ;in, For the m -1 network node n data, For the m -2 network nodes n individual data;
[0063] Until the amount of data in the data group meets When , the data filling process stops and the new data group is output B , if the data set A After traversing all the data in, it still cannot satisfy , then return to step S1, the auxiliary bus reacquires the data group of the network node A .
[0064] Step S3: Extracting data sets B The feature of each data in the output is the feature vector of each data, and the support vector machine SVM is used to output the fault information of the network node and the number of network nodes that have faults. Step S3 specifically includes:
[0065] Step S31: Extracting data sets The characteristics of each data in the output feature vector of each data
[0066] ;
[0067] in, k is the element of the eigenvector, is the label of the feature, is the characteristic value, N is the total amount of features of the data;
[0068] Step S32: Constructing the hyperplane equation of the support vector machine SVM , , is the label of the data, x is a variable, b is the bias term, w is the weight vector, and the decision objective function is constructed according to the hyperplane equation ;
[0069] Step S33: The feature vector of each data Input into the decision objective function In the output, the feature vector The decision value of , define the decision threshold ; Decision threshold It represents the standard for fault judgment using decision value. If the decision value is greater than or equal to the decision threshold, it indicates that the data corresponding to the feature vector is not fault data. The size of the decision value represents the size of the fault reflected by the data.
[0070] when When , the eigenvector Corresponding data For normal data, is the slack variable;
[0071] when When , the eigenvector Corresponding data For fault data, generate fault information for each network node according to the data type corresponding to the fault data , and the number of network nodes that have failed .
[0072] Step S4: After outputting the fault information of the network node, the network node where the fault occurs is marked as a faulty node, the fault self-repair program is started, the faulty node is repaired, and the repair coefficient is calculated, and the self-repair effect is evaluated according to the repair coefficient. Step S4 specifically includes:
[0073] Step S41: After outputting the fault information of the network node, the network node where the fault occurs is marked as a faulty node, the auxiliary bus is disconnected from each network node and the faulty node, and the faulty node is Start the corresponding fault self-repair program , and re-establish network connections with the network nodes at both ends of the failed node;
[0074] Step S42: The auxiliary bus reconnects to the self-repaired network node and executes steps S1-S3 to recollect data representing the communication status of each self-repaired network node and output the fault information of the self-repaired network node. , and the number of network nodes that have failed ;
[0075] Step S43: Calculate the repair coefficient after the self-repair process ;
[0076] ;
[0077] in, For fault information The amount of failure in For fault information The amount of failure in M is the number of network nodes in the SRIO bus communication network, is the weight coefficient of the total network repair rate, is the weight coefficient of the repair rate of a single network node;
[0078] Step S44: Setting the threshold of the repair coefficient , threshold Indicates that the repair coefficient Criteria for judging the effectiveness of self-repair;
[0079] like , the self-repair effect of the faulty node is good, and the process returns to step S41 to continue starting the fault self-repair program until all faulty nodes are repaired;
[0080] like , then the self-repair effect of the faulty node is poor, it may be that the hardware in the SRIO bus communication network has a fault, and a fault report information is generated and sent to the management personnel to eliminate and handle the hardware fault.
[0081] The SRIO bus-based diagnosis and correction method provided by the present invention can monitor the communication status of each node in the network in real time, collect the status data of each network node, and perform data cleaning to ensure the accuracy of the collected data, reduce the error of fault identification, and use the self-repair program to repair the fault after rapid identification, and evaluate the self-repair effect to determine whether human intervention is needed, effectively avoiding the spread of the fault to other nodes and ensuring the normal communication function of the entire network. At the same time, it also improves the accuracy of fault diagnosis and the efficiency of fault correction, and reduces management costs.
Claims
1. A diagnosis and correction method based on SRIO bus, characterized in that: include: Step S1: construct an auxiliary bus matching the SRIO bus communication network, each network node in the SRIO bus communication network is connected to the auxiliary bus respectively, the auxiliary bus obtains the communication status of each network node, collects data representing the communication status, and obtains a data set about the communication status of each network node. A ; Step S2: Array the data set of each network node in turn according to the serial number of the network nodes. A Clean and output new data groups B ; Step S3: Extracting data sets B The characteristics of each data in the output feature vector of each data, using the support vector machine SVM to output the fault information of the network node and the number of network nodes that have faults; Step S4: After outputting the fault information of the network node, the network node where the fault occurs is marked as a faulty node, the fault self-repair program is started, the faulty node is repaired, and the repair coefficient is calculated, and the self-repair effect is evaluated according to the repair coefficient; In step S2, the data set A The cleaning method is: Step S21: Obtaining a data set A The amount of data in n , and with the standard data volume Make comparisons; like , then the amount of data in the data group is normal, and it is directly output as a new data group B ; like , then the data in the data group is excessive and the redundant data needs to be deleted, and step S22 is executed; like , then the data in the data group is missing and needs to be supplemented, and step S23 is executed; Step S22: Setting the data standard value representing the communication status on the network node , get the standard data set , build data comparison function , is the comparison function, y n is the output comparison value, is the error correction coefficient; Traverse each data and its corresponding data standard value in turn, and input the data comparison function Calculate the comparison value y n , the comparison value y n The corresponding difference threshold Make comparisons; like , then the data is normal data; like , then the data It is abnormal data and deletes the abnormal data; Until the data set A The amount of data in When the data deletion process stops, the new data group is output B , if the data set A After all the data in the traversal is completed, it still cannot satisfy , then return to step S1, the auxiliary bus reacquires the data group of the network node A ; Step S23: Using the data comparison function in step S22, traverse each data and its corresponding data standard value in turn, and input the data comparison function Calculate the comparison value y n , the comparison value y n The corresponding difference threshold Make comparisons; like , then the data is normal data; like , then the data For abnormal data, With data Insert a data between , ;in, For the m -1 network node n data, For the m -2 network nodes n individual data; Until the amount of data in the data group meets When , the data filling process stops and the new data group is output B , if the data set A After traversing all the data in, it still cannot satisfy , then return to step S1, the auxiliary bus reacquires the data group of the network node A ; The step S3 comprises: Step S31: Extracting data sets The characteristics of each data in the output feature vector of each data ; in, k is the element of the eigenvector, is the label of the feature, is the characteristic value, N is the total amount of features of the data; Step S32: Constructing the hyperplane equation of the support vector machine SVM , , is the label of the data, x is a variable, b is the bias term, w is the weight vector, and the decision objective function is constructed according to the hyperplane equation ; Step S33: The feature vector of each data Input into the decision objective function In the output, the feature vector The decision value of , define the decision threshold ; when When , the eigenvector Corresponding data For normal data, is the slack variable; when When , the eigenvector Corresponding data For fault data, generate fault information for each network node according to the data type corresponding to the fault data , and the number of network nodes that have failed ; The step S4 comprises: Step S41: After outputting the fault information of the network node, the network node where the fault occurs is marked as a faulty node, the auxiliary bus is disconnected from each network node and the faulty node, and the faulty node is Start the corresponding fault self-repair program , and re-establish network connections with the network nodes at both ends of the failed node; Step S42: The auxiliary bus reconnects to the self-repaired network node and executes steps S1-S3 to recollect data representing the communication status of each self-repaired network node and output the fault information of the self-repaired network node. , and the number of network nodes that have failed ; Step S43: Calculate the repair coefficient after the self-repair process ; ; in, For fault information The amount of failure in For fault information The amount of failure in M is the number of network nodes in the SRIO bus communication network, is the weight coefficient of the total network repair rate, is the weight coefficient of the repair rate of a single network node; Step S44: Setting the threshold of the repair coefficient ; like , the self-repair effect of the faulty node is good, and the process returns to step S41 to continue starting the fault self-repair program until all faulty nodes are repaired; like , then the self-repair effect of the faulty node is poor, and a fault report information is generated and sent to the management personnel for processing; The data set in step S1 ; For the m The first n data, n is the amount of data, m It is the number of the network node in the SRIO bus communication network.
