A line card management method and system based on distributed system OLT equipment

Through the distributed system management line card, the BP neural network model and log matching technology are used to realize the intelligent management of OLT equipment line cards, solve the problem of low management efficiency in the existing technology, and improve the management efficiency and cost-effectiveness.

CN118509745BActive Publication Date: 2024-09-17SHENZHEN HS FIBER COMM EQUIP CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202410955425.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-17
Publication Date
2024-09-17
Estimated Expiration
2044-07-17

AI Technical Summary

Technical Problem

Line card management of existing OLT equipment relies on local consoles or command line interfaces, resulting in low management efficiency, increased manpower and time costs, and lack of distributed management capabilities, making it difficult to achieve efficient and intelligent management of line cards.

Method used

A distributed system is used to manage line cards. By constructing a distributed management cluster of line cards, a variety of parameter data are collected in real time. The BP neural network model is used for fault prediction and performance evaluation, and keyword matching is performed in conjunction with OLT equipment logs to achieve line card management. Intelligent management and maintenance.

Benefits of technology

It improves the efficiency and robustness of line card management, reduces labor costs, enables accurate fault determination and performance prediction of line cards, and supports automated replacement and upgrade operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118509745B
    Figure CN118509745B
Patent Text Reader

Abstract

The invention discloses a line card management method and system based on a distributed system OLT device, and relates to the field of digital transmission. The invention obtains a line card historical data matrix set and a line card real-time data matrix, and compares the line card real-time data matrix with the standard steady-state value of each parameter of the line card, thereby determining whether the line card has a fault at present, thereby realizing the management of the line card; if the current line card does not have a fault, the parameter data of the line card at a future moment is predicted by constructing a final BP neural network model; thereby determining whether the line card is likely to fail at a future moment, and when there is a possibility of failure at a future moment, an upgrade operation is required; finally, keyword matching is performed in the log data of the OLT device, and the state of the line card is determined from two aspects of data collected by the line card itself and the log data, thereby further accurately managing the line card.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of digital transmission, and in particular, relates to a line card management method and system based on distributed system OLT equipment. Background Art

[0002] The line card of the OLT device, also known as the service board card or interface card, is an important component in the OLT device; it is used to provide physical connection with the external network or user equipment and realize the data receiving and sending functions; the line card usually has the following characteristics and functions: the line card provides a variety of interface types, such as Ethernet interface, PON interface, etc., to adapt to different network requirements and user equipment types; the line card has a certain data processing capability and can forward, filter, prioritize and process the data packets passing through it to ensure network performance and service quality; the line card usually also has an uplink interface for connecting the OLT device to the upper-layer network equipment to realize data exchange and transmission; the line card can be managed and monitored through the management interface so as to monitor and configure its working status and performance; in order to meet the needs of future network expansion, the line card usually has a certain degree of scalability and can insert other functional modules or increase the number of interfaces.

[0003] Chinese patent CN105337757A discloses a line card management method and system, the method comprising: a main control board establishes a communication connection with at least one line card through an Ethernet interface; the main control board manages the at least one line card through inter-board communication messages based on the Ethernet interface; the management problem of line cards without CPUs on the line cards is solved, and the hardware cost of the line cards can be reduced; in addition, in this solution, the interaction of inter-board communication messages is completed through the Ethernet interface, and the Ethernet interface is full-duplex, which solves the serious conflict problem on the I2C bus.

[0004] The existing line card management method of OLT equipment mainly relies on local console or command line interface for operation. If this method is used, on-site engineers need to go to the location of the equipment for real-time management and maintenance. The operation process is cumbersome and requires configuration and management of each line card, which is inefficient and increases labor and time costs. Summary of the invention

[0005] In view of the problems in the related art, the present invention proposes a line card management method and system based on a distributed system OLT device to overcome the above technical problems existing in the existing related art.

[0006] In order to solve the above technical problems, the present invention is achieved through the following technical solutions:

[0007] The present invention is a line card management method based on a distributed system OLT device, comprising the following steps:

[0008] S1. Construct a line card distributed management cluster, which collects various parameter data of each line card on the OLT device in real time to obtain a line card historical data matrix set and a line card real-time data matrix;

[0009] S2. Compare the real-time data matrix of the line card with the steady-state values ​​of various parameters of the line card, and determine whether the line card needs to be replaced or repaired according to the comparison result;

[0010] The line card historical data matrix set is used to train and test the initial BP neural network model to obtain the final BP neural network model;

[0011] Then the final BP neural network model is used to predict the future parameter data of the line card to obtain the future data matrix set of the line card;

[0012] S3, comparing the line card future data matrix set with the steady-state values ​​of various parameters of the line card, and determining whether the line card needs to be upgraded according to the comparison result;

[0013] S4, the line card distributed management cluster collects OLT device log data in real time, then performs keyword matching on the OLT device log data, and determines whether the line card needs to be replaced, repaired or upgraded according to the matching results;

[0014] By building a line card distributed management cluster, each node in the line card distributed management cluster can manage and process the line card individually. Therefore, when each or some nodes have problems, other nodes can continue to manage the line card, making the entire line card management more robust; the line card distributed management cluster and the nodes can communicate to achieve information sharing, making the processing of the line card more efficient; by obtaining the line card historical data matrix set and the line card real-time data matrix, the line card real-time data matrix is ​​compared with the standard steady-state value of each parameter of the line card to determine whether the line card is currently faulty. If there is a fault, the line card needs to be replaced or repaired, thus realizing the management of the line card; if the current line card is not faulty at the current moment, by building the most Finally, the BP neural network model predicts the parameter data of the line card in the future, so as to obtain the parameter data of the line card in the future; then the parameter data of the line card in the future is compared with the standard steady-state values ​​of each parameter of the line card, so as to determine whether the line card is likely to fail in the future. When there is a possibility of failure in the future, it indicates that the performance of the current line card is insufficient, so an upgrade operation is required; finally, keyword matching is performed from the log data of the OLT device to prevent the situation where the collected line card data cannot tell whether the line card is faulty. The log data can be used to determine whether the line card is faulty, and the status of the line card can be determined from the data collected by the line card itself and the log data, so as to further accurately manage the line card.

[0015] Preferably, the S1 comprises the following steps:

[0016] S11, constructing a line card distributed management cluster; the line card distributed management cluster includes a line card upgrade node set , Line card data collection node set , Line card fault prediction node set , OLT equipment log collection node set And line card information database node set ; , , , and Respectively represent the line card upgrade node concentration Nodes, line card data collection nodes are concentrated in the Nodes, line card fault prediction nodes nodes, OLT equipment log collection nodes Node and line card information database node set nodes; , , , and They respectively represent the total number of nodes in the line card upgrade node concentration, the total number of nodes in the line card data collection node concentration, the total number of nodes in the line card fault prediction node concentration, the total number of nodes in the OLT device log collection node concentration, and the total number of nodes in the line card information database node concentration;

[0017] The nodes in the line card upgrade node set, line card data collection node set, line card fault prediction node set, OLT device log collection node set and line card information database node set are connected through a network, data is shared in real time and each node can process tasks independently;

[0018] S12. Set line card status parameter type set , line card data historical collection cycle and working line card set ; Indicates the setting Line card status parameter type, Indicates the total number of line card status parameter types that are set; Indicates the first Line cards, Indicates the total number of line cards working on the OLT device;

[0019] The historical data collection period of the line card is divided into time points to obtain a historical time point set. , Indicates the first A historical point in time, Indicates the total number of historical time points divided from the historical data collection period of the line card;

[0020] The line card data collection node set Each node in the And line card status parameter type set Work Line Card Set Collect the data of each line card in the system to obtain the line card historical data matrix set , Indicates Historical data matrix of line cards; as follows,

[0021] ;

[0022] in, Indicates Line card No. At a historical point in time Data corresponding to each line card status parameter type;

[0023] The line card data collection node set collects the line card historical data matrix set Database node set storing incoming line card information middle;

[0024] S13, the line card data collection node set Each node in the line card status parameter type set Work Line Card Set The data of each line card in the system is collected in real time to obtain the real-time data matrix of the line card. ;as follows,

[0025] ;

[0026] in, Indicates Line Card No. Real-time data corresponding to each line card status parameter type;

[0027] By setting the line card upgrade node set, line card data collection node set, line card fault prediction node set, OLT equipment log collection node set and line card information database node set, each specific operation has a corresponding node set, making the processing of line cards more efficient; the line card status parameter type set includes, for example, throughput, delay, packet loss rate, port status and error counter count; by comprehensively considering these types of data, it is possible to more accurately analyze and understand whether there is a fault in the line card.

[0028] Preferably, S2 comprises the following steps:

[0029] S21, according to the line card state parameter type set Set the steady-state value set of line card status parameters And the difference threshold set , Indicates The steady-state value of a line card status parameter type, Indicates The difference threshold of the line card status parameter type;

[0030] S22, the line card real-time data matrix Each column of data in the line card state parameter steady-state value set Subtract each data in to obtain the line card real-time difference data matrix;

[0031] S23, traverse each row of the line card real-time difference data matrix, and compare each row of the line card real-time difference data matrix with the difference threshold set Compare each difference threshold in ;

[0032] During the traversal process, when there is data in the current traversal row of the line card real-time difference data matrix that is greater than or equal to the difference threshold set When the difference threshold of the corresponding position in the traversal line is exceeded, it indicates that the line card corresponding to the current traversal line is faulty and needs to be replaced or repaired;

[0033] When there is no data in the current traversal row of the line card real-time difference data matrix that is greater than or equal to the difference threshold set When the difference threshold of the corresponding position in the traversal line is reached, it indicates that the line card corresponding to the currently traversed row does not have a fault, and the process goes to S24;

[0034] S24, constructing an initial BP neural network model, using the line card historical data matrix set Train and test the initial BP neural network model to obtain the final BP neural network model;

[0035] S25, according to the line card historical data matrix set The final BP neural network model is used to predict the line card data at the future moment, and the line card future data matrix set is obtained. , Indicates The future data matrix of each line card;

[0036] The steady-state value set of the line card status parameters includes the data values ​​of each data of the line card collected when the line card is in a normal working state. Therefore, each data in the real-time data matrix of the line card is subtracted from the data in the steady-state value set of the line card status parameters to obtain whether the various parameters of the current line card are in a normal state; then the error of each parameter of the current line card is limited by setting a difference threshold set. When the error exceeds the limited error, it is determined that the current line card has a fault; thereby, a quantitative analysis is performed on whether the line card has a fault, making it more reliable to determine whether the line card has a fault.

[0037] Preferably, the S24 comprises the following steps:

[0038] S241, set the training data ratio value and the test data ratio value; reconstruct the initial BP neural network model; set the number of input nodes of the initial BP neural network model to , the number of hidden layer nodes is And the number of output nodes is ;

[0039] The line card historical data matrix set is compared according to the training data ratio value and the test data ratio value. The historical data matrix of each line card is divided into data to obtain the line card historical training data matrix set , Line card historical test data matrix set and line card historical data matrix set to be predicted ; , and Respectively represent The historical training data matrix, historical test data matrix and historical data matrix to be predicted of each line card are as follows:

[0040] ; ; ;

[0041] in, , and Respectively represent The historical training data matrix, historical test data matrix, and historical data matrix to be predicted of the line card The line card status parameter type is in Data at a historical time point; , and Respectively represent the number of historical times divided into training data, test data, and data to be predicted; ;

[0042] S242, setting a training error threshold; and Inputting into the initial BP neural network model for training, when the training error in the process of training the initial BP neural network model is less than the training error threshold, stopping the training to obtain the trained BP neural network model;

[0043] The initial weight set of the trained BP neural network model is set to And the initial bias set is ; and Respectively represent the first The weight value and Bias value, and Respectively represent the total number of weight values ​​and the total number of bias values ​​in the trained BP neural network model;

[0044] S243. Setting the accuracy threshold ; Set the line card historical test data matrix Input it into the trained BP neural network model for testing. After the test is completed, the first test accuracy is obtained. ;

[0045] When the first test accuracy Greater than or equal to the accuracy threshold When the trained BP neural network model is used as the final BP neural network model; otherwise, the trained BP neural network model is optimized to obtain the final BP neural network model;

[0046] By using the line card historical training data matrix set and the line card historical test data matrix set to train and test the initial BP neural network model, the final BP neural network model has better prediction performance for the line card parameter data, providing accurate model support for the subsequent prediction of the line card parameter data in the future.

[0047] Preferably, optimizing the trained BP neural network model in S243 to obtain a final BP neural network model comprises the following steps:

[0048] S2431. Constructing monarch butterfly populations , represents the number of A monarch butterfly, represents the size of the monarch butterfly population; sets the search space dimension of the monarch butterfly population to , the current number of iterations is The maximum number of iterations is and the migration rate is ;

[0049] S2432: the initial weight set and the initial bias set Merge to get the initial weight bias set , represents the first numerical values;

[0050] According to the initial weight bias set Set the initial position of each monarch butterfly in the monarch butterfly population and get the initial position matrix ;as follows,

[0051] ;

[0052] in, Indicates the number of The monarch butterfly initially located at The weight of the dimensions; The calculation formula is as follows,

[0053] ;

[0054] According to the test accuracy And the accuracy threshold Setting the fitness function of the monarch butterfly population ;as follows,

[0055] ;

[0056] In the formula, represents the correction parameter;

[0057] S2433, randomly dividing the monarch butterfly population into two parts to obtain a first monarch butterfly sub-population and the second monarch butterfly subpopulation ; and Respectively represent the first The first monarch butterfly and the second monarch butterfly subpopulation A monarch butterfly, and represent the size of the first monarch butterfly sub-population and the size of the second monarch butterfly sub-population respectively; and The calculation formula is as follows,

[0058] ; ;

[0059] In the formula, Express The result of rounding;

[0060] S2434, start the iteration operation, and set the current number of iterations Set to 1; the first monarch butterfly subpopulation in each iteration and the second monarch butterfly subpopulation According to the migration rate Conduct migration operations;

[0061] From the first monarch butterfly subpopulation or the second monarch butterfly subpopulation Generate new monarch butterfly individuals and according to the fitness function of the monarch butterfly population The first monarch butterfly population and the second monarch butterfly subpopulation Update the position of each monarch butterfly in;

[0062] In addition, in each iteration process, the fitness function of the monarch butterfly population is Calculate the fitness of each monarch butterfly and find the individual with the best fitness;

[0063] After each round of iteration, the current number of iterations Perform plus one;

[0064] S2435, when When , stop the iteration operation and get the final position matrix ;as follows,

[0065] ;

[0066] in, Indicates the number of The monarch butterfly ended up in The components of the dimensions; according to the fitness function of the monarch butterfly population Calculate the final position matrix The fitness value of each position in the final fitness set is obtained; the final position corresponding to the maximum fitness value of the final fitness set is taken as the optimal position;

[0067] S2436, respectively substituting the component values ​​in each dimension in the optimal position into the trained BP neural network model to obtain an optimized BP neural network model;

[0068] Use the line card historical test data matrix set in the S243 The optimized BP neural network model is tested again, and the second test accuracy is obtained after the test is completed. ;

[0069] When the second test accuracy Greater than or equal to the accuracy threshold When the second test accuracy is greater than 0.001, the optimized BP neural network model is used as the final BP neural network model; otherwise, S2431 to S2435 are repeated for the optimized BP neural network model until the second test accuracy is greater than 0.001. Greater than or equal to the accuracy threshold , get the final BP neural network model;

[0070] By using the monarch butterfly optimization algorithm to optimize the weights and bias values ​​of each node of the BP neural network model, the monarch butterfly optimization algorithm has the characteristics of simple calculation, fewer required calculation parameters, and rapid convergence, which makes it more efficient to find the optimal node weights and bias values ​​of the BP neural network model, thereby making the optimization efficiency of the BP neural network model higher.

[0071] Preferably, the S25 comprises the following steps:

[0072] S251. Set future time point set , Indicates A future time point, Indicates the total number of set future time points;

[0073] S252: The line card historical data matrix set to be predicted Input into the final BP neural network model for prediction to obtain the future data matrix set of the line card ; as follows,

[0074] ;

[0075] in, Indicates Line card No. At a future time point Data corresponding to each line card status parameter type;

[0076] By predicting various parameter data of the line card at a future moment, data support is provided for subsequent determination of whether the line card will fail at a future moment.

[0077] Preferably, S3 comprises the following steps:

[0078] S31, calculating the future data matrix set of the line card The average value of each row of data in each matrix in the future average data matrix of the line card is obtained ;as follows,

[0079] ;

[0080] in, Indicates Line Card No. Line card status parameter type set at a future time point The average value at each time point, ;

[0081] S32, the future average data matrix of the line card Each column of data in the line card state parameter steady-state value set Subtract each data in to get the future difference data matrix of the line card ;as follows,

[0082] ;

[0083] in, Indicates Line Card No. Line card status parameter type set at a future time point The average value of each time point in the line card state parameter steady-state value concentration The absolute value of the difference between the steady-state values ​​of the line card status parameter types;

[0084] S32, using S23 to calculate the future difference data matrix of the line card Perform operations;

[0085] When the line card comes to the difference data matrix The current traversal row contains data greater than or equal to the difference threshold set When the difference threshold of the corresponding position in the traversal row is reached, it indicates that the line card corresponding to the current traversal row has a fault. At this time, the line card upgrade node set Upgrade the line card corresponding to the current traversal row;

[0086] When there is no data in the current traversal row of the line card real-time difference data matrix that is greater than or equal to the difference threshold set When the difference threshold of the corresponding position in the line card is reached, the line card upgrades the node set There is no need to upgrade the line card corresponding to the currently traversed row;

[0087] By comparing various parameter data of the line card at a future time with the steady-state data, it is known whether various parameter data of the line card at a future time are normal, and a data basis is provided for determining whether there is a fault in the line card.

[0088] Preferably, S4 comprises the following steps:

[0089] S41, the OLT device log collection node set Collect the logs of OLT devices in real time to obtain the real-time log data set of OLT devices , Indicates the first OLT device log data, Indicates the total number of OLT device log data collected in a single real-time collection;

[0090] S42. Set the line card fault log keyword set And the key words set of the line card upgrade log , and Respectively represent Line card fault log keywords and Line card upgrade log keywords, and They respectively represent the total number of line card fault log keywords and the total number of line card log keywords to be upgraded;

[0091] S43: real-time log data set of the OLT device During the traversal process, each log data in the real-time log data set of the OLT device is compared with the line card fault log keyword set. And the key words set of the line card upgrade log Perform matching operation on each keyword in the

[0092] When there is log data in the real-time log data set of the OLT device that contains the line card fault log keyword set If all the keywords in the log data are found, the line card corresponding to the log data needs to be replaced or repaired; otherwise, the line card corresponding to the log data does not need to be replaced or repaired;

[0093] When the real-time log data set of the OLT device contains log data containing the line card to be upgraded log keyword set When all keywords are in the line card, the node set is upgraded The line card corresponding to the log data is upgraded; otherwise, the line card upgrade node set There is no need to upgrade the line card corresponding to the log data;

[0094] By re-judging the status of the line card from the log, it is possible to prevent the occurrence of a situation where the status of the line card is incorrectly determined due to the previous determination based on the data of the line card itself, and further ensure the accuracy of the final determination of whether the line card is faulty.

[0095] A line card management system based on a distributed system OLT device, comprising a line card parameter data acquisition module, a line card parameter data storage module, a first line card state determination module, a line card parameter data prediction model construction module, a line card parameter data prediction module, a second line card state determination module, an OLT device log acquisition module, an OLT device log matching module, and a second line card state determination module;

[0096] The line card parameter data acquisition module is used to collect various parameter data of each line card on the OLT device in real time using a line card distributed management cluster;

[0097] The line card parameter data storage module is used to store the line card data collected by the line card parameter data collection module into a database;

[0098] The first line card status determination module compares the line card historical data matrix set and the line card real-time data matrix with the steady-state values ​​of various parameters of the line card, and determines whether the line card needs to be replaced or repaired according to the comparison result;

[0099] The line card parameter data prediction model building module is used to build the final BP neural network model;

[0100] The line card parameter data prediction module is used to predict the future parameter data of the line card to obtain a future data matrix set of the line card;

[0101] The second line card state determination module is used to compare the line card future data matrix set with the steady-state value of each parameter of the line card, and determine whether the line card needs to be upgraded according to the comparison result;

[0102] The OLT device log collection module is used to collect OLT device log data in real time using a line card distributed management cluster;

[0103] The OLT device log matching module is used to perform keyword matching on the OLT device log data;

[0104] The second line card status determination module is used to determine whether the line card needs to be replaced, repaired or upgraded according to the matching result.

[0105] The present invention has the following beneficial effects:

[0106] 1. The present invention sets a line card parameter data acquisition module, a line card parameter data storage module, a first line card state determination module, a line card parameter data prediction model construction module, a line card parameter data prediction module, a second line card state determination module, an OLT device log acquisition module, an OLT device log matching module and a second line card state determination module; by constructing a line card distributed management cluster, each node in the line card distributed management cluster can manage and process the line card individually, so when each or some nodes have problems, other nodes can continue to manage the line card, thereby making the entire line card management more robust; the line card distributed management cluster and the nodes can communicate to achieve information sharing, so that the processing of the line card is more efficient; by obtaining the line card historical data matrix set and the line card real-time data matrix, the line card real-time data matrix is ​​compared with the standard steady-state value of each parameter of the line card, so as to determine whether the line card is currently faulty. If there is a fault, the line card needs to be replaced or repaired, so The management of line cards is realized; if the current line card does not have any faults at the current moment, the parameter data of the line card at the future moment is predicted by constructing the final BP neural network model, so as to obtain the parameter data of the line card at the future moment; then the parameter data of the line card at the future moment is compared with the standard steady-state values ​​of each parameter of the line card, so as to determine whether the line card is likely to fail at the future moment. When there is a possibility of failure at the future moment, it indicates that the performance of the current line card is insufficient, so an upgrade operation is required; finally, keyword matching is performed from the log data of the OLT device to prevent the situation where the collected line card data cannot tell whether the line card has a fault. The log data can be used to determine whether the line card has a fault, and the state of the line card can be determined from the data collected from the line card itself and the log data, so as to further accurately manage the line card; there is no need for engineers to go to the site to monitor and manage each line card in real time, and they only need to go to the site to replace the line card when a line card fails, saving manpower.

[0107] 2. In the present invention, the steady-state value set of the line card status parameters includes the data values ​​of each data of the line card collected when the line card is in a normal working state. Therefore, each data in the real-time data matrix of the line card is subtracted from the data in the steady-state value set of the line card status parameters to obtain whether the various parameters of the current line card are in a normal state; then the error of each parameter of the current line card is limited by setting a difference threshold set. When the error exceeds the limited error, it is determined that the current line card has a fault; thereby a quantitative analysis of whether the line card has a fault is performed, making it more reliable to determine whether the line card has a fault.

[0108] 3. In the present invention, the weight value and bias value of each node of the BP neural network model are optimized by using the monarch butterfly optimization algorithm. The monarch butterfly optimization algorithm has the characteristics of simple calculation, fewer required calculation parameters, and rapid convergence, so that the efficiency of finding the optimal node weight value and bias value of the BP neural network model is higher, thereby making the optimization efficiency of the BP neural network model higher.

[0109] Of course, any product implementing the present invention does not necessarily need to achieve all of the advantages described above at the same time. BRIEF DESCRIPTION OF THE DRAWINGS

[0110] In order to more clearly illustrate the technical solutions of the embodiments of the invention, the drawings required for describing the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the invention. For ordinary technicians in this field, they can also obtain drawings based on these drawings without paying creative work.

[0111] Figure 1 The present invention is a flow chart of a line card management system based on a distributed system OLT device for managing line cards. DETAILED DESCRIPTION

[0112] The following will be combined with the drawings in the embodiments of the invention to clearly and completely describe the technical solutions in the embodiments of the invention. Obviously, the described embodiments are only part of the embodiments of the invention, not all of the embodiments. Based on the embodiments in the invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the invention.

[0113] In the description of the present invention, it is necessary to understand that the terms "opening", "upper", "lower", "top", "middle", "inside" and the like indicating orientation or positional relationship are only for the convenience of describing the invention and simplifying the description, and do not indicate or imply that the components or elements referred to must have a specific orientation, be constructed and operate in a specific orientation, and therefore cannot be understood as limiting the invention.

[0114] The present invention is a line card management method based on a distributed system OLT device, comprising the following steps:

[0115] S1. Construct a line card distributed management cluster, which collects various parameter data of each line card on the OLT device in real time to obtain a line card historical data matrix set and a line card real-time data matrix;

[0116] The S1 comprises the following steps:

[0117] S11, constructing a line card distributed management cluster; the line card distributed management cluster includes a line card upgrade node set , Line card data collection node set , Line card fault prediction node set , OLT equipment log collection node set And line card information database node set ; , , , and Respectively represent the line card upgrade node concentration Nodes, line card data collection nodes are concentrated in the Nodes, line card fault prediction nodes nodes, OLT equipment log collection nodes Node and line card information database node set nodes; , , , and They respectively represent the total number of nodes in the line card upgrade node concentration, the total number of nodes in the line card data collection node concentration, the total number of nodes in the line card fault prediction node concentration, the total number of nodes in the OLT device log collection node concentration, and the total number of nodes in the line card information database node concentration;

[0118] The nodes in the line card upgrade node set, line card data collection node set, line card fault prediction node set, OLT device log collection node set and line card information database node set are connected through a network, data is shared in real time and each node can process tasks independently;

[0119] S12. Set line card status parameter type set , line card data historical collection cycle and working line card set ; Indicates the setting Line card status parameter type, Indicates the total number of line card status parameter types that are set; Indicates the first Line cards, Indicates the total number of line cards working on the OLT device;

[0120] The historical data collection period of the line card is divided into time points to obtain a historical time point set. , Indicates the first A historical point in time, Indicates the total number of historical time points divided from the historical data collection period of the line card;

[0121] The line card data collection node set Each node in the And line card status parameter type set Work Line Card Set Collect the data of each line card in the system to obtain the line card historical data matrix set , Indicates Historical data matrix of line cards; as follows,

[0122] ;

[0123] in, Indicates Line card No. At a historical point in time Data corresponding to each line card status parameter type;

[0124] The line card data collection node set collects the line card historical data matrix set Database node set storing incoming line card information middle;

[0125] S13, the line card data collection node set Each node in the line card status parameter type set Work Line Card Set The data of each line card in the system is collected in real time to obtain the real-time data matrix of the line card. ;as follows,

[0126] ;

[0127] in, Indicates Line Card No. Real-time data corresponding to each line card status parameter type;

[0128] S2. Compare the real-time data matrix of the line card with the steady-state values ​​of various parameters of the line card, and determine whether the line card needs to be replaced or repaired according to the comparison result;

[0129] The line card historical data matrix set is used to train and test the initial BP neural network model to obtain the final BP neural network model;

[0130] Then the final BP neural network model is used to predict the future parameter data of the line card to obtain the future data matrix set of the line card;

[0131] The S2 comprises the following steps:

[0132] S21, according to the line card state parameter type set Set the steady-state value set of line card status parameters And the difference threshold set , Indicates The steady-state value of a line card status parameter type, Indicates The difference threshold of the line card status parameter type;

[0133] S22, the line card real-time data matrix Each column of data in the line card state parameter steady-state value set Subtract each data in to obtain the line card real-time difference data matrix;

[0134] S23, traverse each row of the line card real-time difference data matrix, and compare each row of the line card real-time difference data matrix with the difference threshold set Compare each difference threshold in ;

[0135] During the traversal process, when there is data in the current traversal row of the line card real-time difference data matrix that is greater than or equal to the difference threshold set When the difference threshold of the corresponding position in the traversal line is exceeded, it indicates that the line card corresponding to the current traversal line is faulty and needs to be replaced or repaired;

[0136] When there is no data in the current traversal row of the line card real-time difference data matrix that is greater than or equal to the difference threshold set When the difference threshold of the corresponding position in the traversal line is reached, it indicates that the line card corresponding to the currently traversed row does not have a fault, and the process goes to S24;

[0137] S24, constructing an initial BP neural network model, using the line card historical data matrix set Train and test the initial BP neural network model to obtain the final BP neural network model;

[0138] The S24 comprises the following steps:

[0139] S241, set the training data ratio value and the test data ratio value; reconstruct the initial BP neural network model; set the number of input nodes of the initial BP neural network model to , the number of hidden layer nodes is And the number of output nodes is ;

[0140] The line card historical data matrix set is compared according to the training data ratio value and the test data ratio value. The historical data matrix of each line card is divided into data to obtain the line card historical training data matrix set , Line card historical test data matrix set and line card historical data matrix set to be predicted ; , and Respectively represent The historical training data matrix, historical test data matrix and historical data matrix to be predicted of each line card are as follows:

[0141] ; ; ;

[0142] in, , and Respectively represent The historical training data matrix, historical test data matrix, and historical data matrix to be predicted of the line card The line card status parameter type is in Data at a historical time point; , and Respectively represent the number of historical times divided into training data, test data, and data to be predicted; ;

[0143] S242, setting a training error threshold; and Inputting into the initial BP neural network model for training, when the training error in the process of training the initial BP neural network model is less than the training error threshold, stopping the training to obtain the trained BP neural network model;

[0144] The initial weight set of the trained BP neural network model is set to And the initial bias set is ; and Respectively represent the first The weight value and Bias value, and Respectively represent the total number of weight values ​​and the total number of bias values ​​in the trained BP neural network model;

[0145] S243. Setting the accuracy threshold ; Set the line card historical test data matrix Input it into the trained BP neural network model for testing. After the test is completed, the first test accuracy is obtained. ;

[0146] When the first test accuracy Greater than or equal to the accuracy threshold When the trained BP neural network model is used as the final BP neural network model; otherwise, the trained BP neural network model is optimized to obtain the final BP neural network model;

[0147] In S243, the trained BP neural network model is optimized to obtain a final BP neural network model, which includes the following steps:

[0148] S2431. Constructing monarch butterfly populations , represents the number of A monarch butterfly, represents the size of the monarch butterfly population; sets the search space dimension of the monarch butterfly population to , the current number of iterations is The maximum number of iterations is and the migration rate is ;

[0149] S2432: the initial weight set and the initial bias set Merge to get the initial weight bias set , represents the first numerical values;

[0150] According to the initial weight bias set Set the initial position of each monarch butterfly in the monarch butterfly population and get the initial position matrix ;as follows,

[0151] ;

[0152] in, Indicates the number of The monarch butterfly initially located at The weight of the dimensions; The calculation formula is as follows,

[0153] ;

[0154] According to the test accuracy And the accuracy threshold Setting the fitness function of the monarch butterfly population ;as follows,

[0155] ;

[0156] In the formula, represents the correction parameter;

[0157] S2433, randomly dividing the monarch butterfly population into two parts to obtain a first monarch butterfly sub-population and the second monarch butterfly subpopulation ; and Respectively represent the first The first monarch butterfly and the second monarch butterfly subpopulation A monarch butterfly, and represent the size of the first monarch butterfly sub-population and the size of the second monarch butterfly sub-population respectively; and The calculation formula is as follows,

[0158] ; ;

[0159] In the formula, Express The result of rounding;

[0160] S2434, start the iteration operation, and set the current number of iterations Set to 1; the first monarch butterfly subpopulation in each iteration and the second monarch butterfly subpopulation According to the migration rate Conduct migration operations;

[0161] From the first monarch butterfly subpopulation or the second monarch butterfly subpopulation Generate new monarch butterfly individuals and according to the fitness function of the monarch butterfly population The first monarch butterfly population and the second monarch butterfly subpopulation Update the position of each monarch butterfly in;

[0162] In addition, in each iteration process, the fitness function of the monarch butterfly population is Calculate the fitness of each monarch butterfly and find the individual with the best fitness;

[0163] After each round of iteration, the current number of iterations Perform plus one;

[0164] S2435, when When , stop the iteration operation and get the final position matrix ;as follows,

[0165] ;

[0166] in, Indicates the number of The monarch butterfly ended up in The components of the dimensions; according to the fitness function of the monarch butterfly population Calculate the final position matrix The fitness value of each position in the final fitness set is obtained; the final position corresponding to the maximum fitness value of the final fitness set is taken as the optimal position;

[0167] S2436, respectively substituting the component values ​​in each dimension in the optimal position into the trained BP neural network model to obtain an optimized BP neural network model;

[0168] Use the line card historical test data matrix set in the S243 The optimized BP neural network model is tested again, and the second test accuracy is obtained after the test is completed. ;

[0169] When the second test accuracy Greater than or equal to the accuracy threshold When the second test accuracy is greater than 0.001, the optimized BP neural network model is used as the final BP neural network model; otherwise, S2431 to S2435 are repeated for the optimized BP neural network model until the second test accuracy is greater than 0.001. Greater than or equal to the accuracy threshold Until now, the final BP neural network model is obtained;

[0170] S25, according to the line card historical data matrix set The final BP neural network model is used to predict the line card data at the future moment, and the line card future data matrix set is obtained. , Indicates The future data matrix of each line card;

[0171] The S25 comprises the following steps:

[0172] S251. Set future time point set , Indicates A future time point, Indicates the total number of set future time points;

[0173] S252: The line card historical data matrix set to be predicted Input into the final BP neural network model for prediction to obtain the future data matrix set of the line card ; as follows,

[0174] ;

[0175] in, Indicates Line card No. At a future time point Data corresponding to each line card status parameter type;

[0176] S3, comparing the line card future data matrix set with the steady-state values ​​of various parameters of the line card, and determining whether the line card needs to be upgraded according to the comparison result;

[0177] The S3 comprises the following steps:

[0178] S31, calculating the future data matrix set of the line card The average value of each row of data in each matrix in the future average data matrix of the line card is obtained ;as follows,

[0179] ;

[0180] in, Indicates Line Card No. Line card status parameter type set at a future time point The average value at each time point, ;

[0181] S32, the future average data matrix of the line card Each column of data in the line card state parameter steady-state value set Subtract each data in to get the future difference data matrix of the line card ;as follows,

[0182] ;

[0183] in, Indicates Line Card No. Line card status parameter type set at a future time point The average value of each time point in the line card state parameter steady-state value concentration The absolute value of the difference between the steady-state values ​​of the line card status parameter types;

[0184] S32, using S23 to calculate the future difference data matrix of the line card Perform operations;

[0185] When the line card comes to the difference data matrix The current traversal row contains data greater than or equal to the difference threshold set When the difference threshold of the corresponding position in the traversal row is reached, it indicates that the line card corresponding to the current traversal row has a fault. At this time, the line card upgrade node set Upgrade the line card corresponding to the current traversal row;

[0186] When there is no data in the current traversal row of the line card real-time difference data matrix that is greater than or equal to the difference threshold set When the difference threshold of the corresponding position in the line card is reached, the line card upgrades the node set There is no need to upgrade the line card corresponding to the currently traversed row;

[0187] S4, the line card distributed management cluster collects OLT device log data in real time, then performs keyword matching on the OLT device log data, and determines whether the line card needs to be replaced, repaired or upgraded according to the matching results;

[0188] The S4 comprises the following steps:

[0189] S41, the OLT device log collection node set Collect the logs of OLT devices in real time to obtain the real-time log data set of OLT devices , Indicates the first OLT device log data, Indicates the total number of OLT device log data collected in a single real-time collection;

[0190] S42. Set the line card fault log keyword set And the key words set of the line card upgrade log ;

[0191] S43: real-time log data set of the OLT device During the traversal process, each log data in the real-time log data set of the OLT device is compared with the line card fault log keyword set. And the key words set of the line card upgrade log Perform matching operation on each keyword in the

[0192] When there is log data in the real-time log data set of the OLT device that contains the line card fault log keyword set If all the keywords in the log data are found, the line card corresponding to the log data needs to be replaced or repaired; otherwise, the line card corresponding to the log data does not need to be replaced or repaired;

[0193] When the real-time log data set of the OLT device contains log data containing the line card to be upgraded log keyword set When all keywords are in the line card, the node set is upgraded The line card corresponding to the log data is upgraded; otherwise, the line card upgrade node set There is no need to upgrade the line card corresponding to the log data.

[0194] A line card management system based on a distributed system OLT device, comprising a line card parameter data acquisition module, a line card parameter data storage module, a first line card state determination module, a line card parameter data prediction model construction module, a line card parameter data prediction module, a second line card state determination module, an OLT device log acquisition module, an OLT device log matching module, and a second line card state determination module;

[0195] The line card parameter data acquisition module is used to collect various parameter data of each line card on the OLT device in real time using a line card distributed management cluster;

[0196] The line card parameter data storage module is used to store the line card data collected by the line card parameter data collection module into a database;

[0197] The first line card status determination module compares the line card historical data matrix set and the line card real-time data matrix with the steady-state values ​​of various parameters of the line card, and determines whether the line card needs to be replaced or repaired according to the comparison result;

[0198] The line card parameter data prediction model building module is used to build the final BP neural network model;

[0199] The line card parameter data prediction module is used to predict the future parameter data of the line card to obtain a future data matrix set of the line card;

[0200] The second line card state determination module is used to compare the line card future data matrix set with the steady-state value of each parameter of the line card, and determine whether the line card needs to be upgraded according to the comparison result;

[0201] The OLT device log collection module is used to collect OLT device log data in real time using a line card distributed management cluster;

[0202] The OLT device log matching module is used to perform keyword matching on the OLT device log data;

[0203] The second line card status determination module is used to determine whether the line card needs to be replaced, repaired or upgraded according to the matching result.

[0204] In the description of this specification, the description with reference to the terms "one embodiment", "example", "specific example", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.

[0205] The preferred embodiments of the invention disclosed above are only used to help explain the invention. The preferred embodiments do not describe all the details in detail, nor do they limit the invention to the specific implementation methods described. Obviously, many modifications and changes can be made according to the content of this specification. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the invention, so that those skilled in the art can understand and use the invention well.

Claims

1. A line card management method based on a distributed system OLT device, characterized in that: The following steps are involved: S1. Construct a line card distributed management cluster, which collects various parameter data of each line card on the OLT device in real time to obtain a line card historical data matrix set and a line card real-time data matrix; S2, comparing the real-time data matrix of the line card with the steady-state values ​​of each parameter of the line card, and determining whether the line card needs to be replaced or repaired according to the comparison result; using the historical data matrix set of the line card to train and test the initial BP neural network model and predict the future parameter data of the line card to obtain the future data matrix set of the line card; S3, comparing the line card future data matrix set with the steady-state values ​​of various parameters of the line card, and determining whether the line card needs to be upgraded according to the comparison result; S4. The line card distributed management cluster collects OLT device log data in real time, performs keyword matching on the OLT device log data, and determines whether the line card needs to be replaced, repaired or upgraded according to the matching result.

2. A line card management method based on a distributed system OLT device according to claim 1, characterized in that: The S1 comprises the following steps: S11, constructing a line card distributed management cluster; the line card distributed management cluster includes a line card upgrade node set, a line card data collection node set, a line card fault prediction node set, an OLT device log collection node set and a line card information database node set; S12, setting a line card state parameter type set, a line card data historical collection cycle, and a working line card set; dividing the line card data historical collection cycle by time points to obtain a historical time point set; each node in the line card data collection node set collects data from each line card in the working line card set according to the historical time point set and the line card state parameter type set to obtain a line card historical data matrix set; S13. Each node in the line card data collection node set collects data of each line card in the working line card set in real time according to the line card state parameter type set to obtain a line card real-time data matrix.

3. A line card management method based on a distributed system OLT device according to claim 2, characterized in that: The S2 comprises the following steps: S21, setting a line card state parameter steady-state value set and a difference threshold set according to the line card state parameter type set; S22, subtract each column of data in the line card real-time data matrix from each data in the line card state parameter steady-state value set to obtain a line card real-time difference data matrix; S23, traversing each row of data of the line card real-time difference data matrix, and comparing each data of each row in the line card real-time difference data matrix with each difference threshold in the difference threshold set; during the traversal process, when there is data in the current traversal row of the line card real-time difference data matrix that is greater than or equal to the difference threshold at the corresponding position in the difference threshold set, it indicates that the line card corresponding to the current traversal row has a fault and needs to be replaced or repaired; when there is no data in the current traversal row of the line card real-time difference data matrix that is greater than or equal to the difference threshold at the corresponding position in the difference threshold set, it indicates that the line card corresponding to the current traversal row has no fault, and enters S24; S24, constructing an initial BP neural network model, using the line card historical data matrix set to train and test the initial BP neural network model to obtain a final BP neural network model; S25. According to the line card historical data matrix set, the final BP neural network model is used to predict the line card data at a future time to obtain the line card future data matrix set.

4. A line card management method based on a distributed system OLT device according to claim 3, characterized in that: The S24 comprises the following steps: S241, setting a training data ratio value and a test data ratio value; reconstructing an initial BP neural network model; dividing the historical data matrix of each line card in the line card historical data matrix set according to the training data ratio value and the test data ratio value, to obtain a line card historical training data matrix set, a line card historical test data matrix set, and a line card historical data matrix set to be predicted; S242, setting a training error threshold; inputting the line card historical training data matrix set into the initial BP neural network model for training, and when the training error in the process of training the initial BP neural network model is less than the training error threshold, stopping the training to obtain a trained BP neural network model; setting an initial weight set and an initial bias set for the trained BP neural network model; S243. Setting the accuracy threshold ; Input the line card historical test data matrix set into the trained BP neural network model for testing. After the test is completed, the first test accuracy is obtained. ;when Greater than or equal to When the trained BP neural network model is used as the final BP neural network model; otherwise, the trained BP neural network model is optimized to obtain the final BP neural network model.

5. A line card management method based on a distributed system OLT device according to claim 4, characterized in that: In S243, the trained BP neural network model is optimized to obtain a final BP neural network model, which includes the following steps: S2431, build monarch butterfly population; set the current number of iterations to The maximum number of iterations is and the migration rate is ; S2432, merging the initial weight set and the initial bias set to obtain an initial weight bias set; setting the initial position of each monarch butterfly in the monarch butterfly population according to the initial weight bias set to obtain an initial position matrix; and determining the initial position matrix according to the test accuracy. And the accuracy threshold Set the fitness function of the monarch butterfly population; S2433, randomly dividing the monarch butterfly population into two parts to obtain a first monarch butterfly sub-population and a second monarch butterfly sub-population; S2434, start the iteration operation, and set the current number of iterations Set to 1; in each iteration, the migration rate between the first monarch butterfly subpopulation and the second monarch butterfly subpopulation is Perform migration operations; generate new monarch butterfly individuals from the first monarch butterfly sub-population or the second monarch butterfly sub-population and update the position of each monarch butterfly in the first monarch butterfly sub-population and the second monarch butterfly sub-population according to the fitness function of the monarch butterfly population; in addition, in each round of iteration, calculate the fitness of each monarch butterfly according to the fitness function of the monarch butterfly population and find the individual with the best fitness; after each round of iteration, Perform plus one; S2435, when When , stop the iteration operation and get the final position matrix ; According to the fitness function of the monarch butterfly population Calculate the final position matrix The fitness value of each position in the final fitness set is obtained; the final position corresponding to the maximum fitness value of the final fitness set is taken as the optimal position; S2436, respectively substitute the component values ​​in each dimension in the optimal position into the trained BP neural network model to obtain an optimized BP neural network model; use the line card historical test data matrix set in S243 to test the optimized BP neural network model again, and obtain the second test accuracy after the test is completed. ;when Greater than or equal to When the second test accuracy is greater than 0.001, the optimized BP neural network model is used as the final BP neural network model; otherwise, S2431 to S2435 are repeated for the optimized BP neural network model until the second test accuracy is greater than 0.

001. Greater than or equal to the accuracy threshold So far, the final BP neural network model is obtained.

6. A line card management method based on a distributed system OLT device according to claim 4, characterized in that: The S25 comprises the following steps: S251, setting a future time point set; S252: Input the line card historical data matrix set to be predicted into the final BP neural network model for prediction, and obtain the line card future data matrix set.

7. A line card management method based on a distributed system OLT device according to claim 6, characterized in that: The S3 comprises the following steps: S31, calculating the average value of each row of data in each matrix in the line card future data matrix set to obtain the line card future average data matrix; S32, subtract each column of data in the future average data matrix of the line card from each data in the steady-state value set of the state parameter of the line card to obtain a future difference data matrix of the line card; S32, operating the future difference data matrix of the line card in the manner of S23; When there is data in the current traversal row of the future difference data matrix of the line card that is greater than or equal to the difference threshold at the corresponding position in the difference threshold set, it means that the line card corresponding to the current traversal row has a fault, and at this time, the line card upgrade node set performs an upgrade operation on the line card corresponding to the current traversal row; When there is no data in the currently traversed row of the line card real-time difference data matrix that is greater than or equal to the difference threshold at the corresponding position in the difference threshold set, the line card upgrade node set does not need to upgrade the line card corresponding to the currently traversed row.

8. A line card management method based on a distributed system OLT device according to claim 7, characterized in that: The S4 comprises the following steps: S41, the OLT device log collection node set collects the logs of the OLT device in real time to obtain an OLT device real-time log data set; S42, setting a line card fault log keyword set and a line card upgrade log keyword set; S43, traversing the real-time log data set of the OLT device, during the traversal process, matching each log data in the real-time log data set of the OLT device with each keyword in the line card fault log keyword set and the line card to-be-upgraded log keyword set; when there is log data in the real-time log data set of the OLT device that contains all the keywords in the line card fault log keyword set, it is necessary to replace or repair the line card corresponding to the log data; otherwise, it is not necessary to replace or repair the line card corresponding to the log data; when there is log data in the real-time log data set of the OLT device that contains all the keywords in the line card to-be-upgraded log keyword set, the line card upgrade node set upgrades the line card corresponding to the log data; otherwise, the line card upgrade node set does not need to upgrade the line card corresponding to the log data.

9. A system for implementing the line card management method based on a distributed system OLT device as claimed in any one of claims 1 to 8, characterized in that: It includes a line card parameter data acquisition module, a line card parameter data storage module, a first line card state determination module, a line card parameter data prediction model construction module, a line card parameter data prediction module, a second line card state determination module, an OLT device log acquisition module, an OLT device log matching module and a second line card state determination module.

Citation Information

Patent Citations

  • Line card management method and system

    CN105337757A

  • Upgrading method for cluster system, active main board and cluster system

    CN107547255A

  • Sensorless equipment fault prediction method based on optimized Elman neural network

    CN116663419A

  • Distributed telemetry data acquisition system and method

    CN116668881A

  • Multi-source timing data fault diagnosis method and medium based on graph neural network

    JP7004364B1