Router intelligent operation and maintenance system
Through the design of the router's intelligent operation and maintenance system, the script library and problem analysis module are used to match the preset script files to realize self-service solution of router problems, solve the problem of waste of operation and maintenance resources and increase in cost, and improve the user experience and operation and maintenance efficiency. .
Patent Information
- Application Number
- CN202411013256.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-26
- Publication Date
- 2024-09-17
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing router operation and maintenance system relies too much on the traditional door-to-door service model when dealing with common problems, resulting in a waste of operation and maintenance human resources and increased costs, and lacks an intelligent self-service solution mechanism.
A router intelligent operation and maintenance system is designed, including a script library module, a problem analysis module, a problem matching module and a work order allocation module. By analyzing the router operating data and matching preset script files, it guides users to solve problems by themselves and assigns them when necessary. Operation and maintenance personnel to achieve reasonable allocation of operation and maintenance resources.
It realizes rapid identification and self-service solution of router problems, lowers the threshold for users to solve problems, improves user experience and efficiency, reduces operation and maintenance costs, and improves the accuracy and efficiency of problem solving through continuous optimization of the script library.
Smart Images

Figure CN118659958A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of network equipment operation and maintenance systems, and more specifically, to an intelligent operation and maintenance system for routers. Background Art
[0002] With the rapid development of network technology, the stable operation of routers, as key devices for connecting to the Internet, is crucial to ensuring the quality of network communications. Various failures and problems are inevitable in the long-term operation of routers, which require timely maintenance and processing. Therefore, establishing an efficient router operation and maintenance system is of great significance to improving network operation stability and user satisfaction.
[0003] Although the current router operation and maintenance system has been integrated with employee database management and work order systems, and has initially achieved standardization and automation of the operation and maintenance process, it still shows obvious limitations when handling actual operation and maintenance tasks. The system mainly relies on generating work orders and dispatching technicians to provide on-site services to solve router problems. This mechanism undoubtedly ensures that problems can be responded to quickly, but it also ignores the important potential of users to solve problems by themselves. In fact, many common router problems, such as basic adjustments to configuration errors and optimization of channel selection, can be quickly solved by executing preset script files. This type of solution is not only simple and efficient, but also can significantly improve user experience and reduce waiting time. However, when facing such simple problems, the current operation and maintenance system may rely too much on the traditional door-to-door service model due to the lack of intelligent judgment mechanism, which not only wastes operation and maintenance human resources, but also increases operation and maintenance costs invisibly. Summary of the invention
[0004] In order to overcome the problem of waste of operation and maintenance human resources caused by the prior art, the present invention proposes a router intelligent operation and maintenance system to solve the above problem.
[0005] The present invention provides the following technical solutions: A router intelligent operation and maintenance system, comprising: A script library module, used to establish a central script library and a terminal script library, wherein the central script library is deployed in a central server, and the terminal script library is deployed on a terminal router, wherein the central script library stores a plurality of pre-set script files and a script number and a problem vector corresponding to each script file, and wherein the terminal script library synchronizes the script files and the corresponding script numbers and problem vectors in the central script library; An employee database module is used to store employee information, including responsible areas and work arrangements; A first work order generating module, configured to obtain information of a router to be maintained and generate a first maintenance work order, wherein the first maintenance work order includes contact information and a router number; A problem analysis module is used to obtain the operation data of the corresponding router according to the router number, analyze the operation data of the router, and obtain the problem vector of the router; The problem matching module searches for a matching script file in the central script library according to the problem vector of the router. If the match is successful, the script number of the matching script file is sent to the user. If the match fails, a second maintenance work order is generated and sent to the work order library. The terminal execution module is used to input the script number into the router terminal, obtain the corresponding script file from the terminal script library according to the script number, and execute it; A script feedback module is used to obtain the script execution status of the terminal execution module, where the script execution status is not executed, executed but not effective, and executed and effective. If the script execution status is executed and effective, the first maintenance work order is recorded as completed, otherwise a second maintenance work order is generated and sent to the work order library; A work order allocation module, including a work order library, is used to allocate an employee to a second maintenance work order in the work order library according to employee information; A recording module, used to record the maintenance records of all first maintenance work orders and second maintenance work orders; The optimization module is used to optimize the problem vectors corresponding to the script files in the central script library according to the maintenance records.
[0006] Preferably, the problem vector includes five dimensions: network traffic, channel quality, network quality, network security, and routing table, and the component values of each dimension are set with a corresponding value range; the work arrangement includes several future time periods and the task status corresponding to each time period, and the task status includes a no-task status and a task status; the operation data includes traffic data, channel data, delay data, packet loss rate data and router log data, and the router log data includes security logs and routing table logs.
[0007] Preferably, the step of obtaining the problem vector of the router includes: Get the operation data of the router; Obtain the component value of the network traffic dimension in the problem vector according to the traffic data of the router; Obtaining component values of the channel quality dimension in the problem vector according to the channel data of the router; Obtain the component values of the network quality dimension in the problem vector according to the delay data and packet loss rate data of the router; Obtain the component values of the three dimensions of network security and routing table in the problem vector based on the router log data; The component values of the above five dimensions are used to form the router's problem vector.
[0008] Preferably, the component value of the network traffic dimension is obtained by the following formula: ; In the formula, Represents the component value of the network traffic dimension, represents the maximum value function, represents the minimum value function, Indicates the lower limit of the value range corresponding to the network traffic dimension. Indicates the upper limit of the value range corresponding to the network traffic dimension; Indicates the most recent preset Traffic data over time, Preset Standard flow data over time; The component values of the channel quality dimension are obtained by the following formula: ; In the formula, Represents the component value of the channel quality dimension, Indicates the lower limit of the value range corresponding to the channel quality dimension, Indicates the upper limit of the value range corresponding to the channel quality dimension; Indicates the occupancy rate of the channel used by the router. It represents the average occupancy rate of all channels; The component values of the network quality dimension are obtained by the following formula: ; In the formula, Represents the component value of the network quality dimension, Indicates the lower limit of the value range corresponding to the network quality dimension. Indicates the upper limit of the value range corresponding to the network quality dimension; represents the preset delay weight, Indicates the preset packet loss weight, Indicates the preset reference delay value, Indicates the delay value of the router. Indicates the packet loss rate of the router.
[0009] Preferably, the step of obtaining the component values of the network security dimension includes: obtaining the network security log, counting the most recent preset The number of security events recorded within a certain period of time is recorded as a security index. If the security index is greater than a preset security threshold, the component value of the network security dimension is set to the upper limit of the value range corresponding to the network security dimension; otherwise, the component value of the network security dimension is set to the lower limit of the value range corresponding to the network security dimension; The step of obtaining the component values of the routing table dimension includes: obtaining the routing table log, counting the recent The number of routing table changes within a time period is recorded as the routing table index. If the routing table index is greater than the preset routing table threshold, the component value of the routing table dimension is set to the upper limit of the value range corresponding to the routing table dimension; otherwise, the component value of the routing table dimension is set to the lower limit of the value range corresponding to the routing table dimension.
[0010] Preferably, the step of searching for a matching script file in a central script library according to the problem vector of the router includes: Get the problem vectors corresponding to all script files in the central script library to get the vector group , get the router's problem vector and record it as vector ; Calculating vectors With vector group The distance between each vector in , and take the minimum value of all calculated distances as ; judge Whether it is less than or equal to the preset distance threshold; If so, the match is successful and the The corresponding script file is used as the matching script file; If not, the match fails.
[0011] Preferably, the step of generating the second maintenance work order includes: obtaining the geographic location of the router and setting the work order priority; using the first maintenance work order, the geographic location of the router and the work order priority to form the second maintenance work order; wherein the work order priority includes the highest priority, high priority, medium priority and low priority.
[0012] Preferably, allocating an employee to the second maintenance work order in the work order library according to the employee information includes: sorting the second maintenance work orders in the work order library in the order of highest priority, high priority, medium priority and low priority; Get the first second maintenance work order in the work order library and record it as the work order to be assigned; Obtain all employees corresponding to the responsible area where the router is located to form a set of candidate employees; Determine whether the priority of the work order to be assigned is the highest priority; If not, select any employee from the candidate employee set as the target employee, obtain the target employee's most recent time period without a task as the target time period, assign the work order to be assigned to the target time period, update the task status of the target time period to a tasked state, and remove the work order to be assigned from the work order library; If so, obtain the most recent time period of each employee in the candidate employee set when they are in a task-free state to form a first time period set, and select the most recent time period in the first time period set as the idle time period; Determine whether the time difference between the current time and the start time of the idle period is within the preset priority time; If yes, the to-be-assigned work order is assigned to the idle time period, the task status of the idle time period is updated to the task status, and the to-be-assigned work order is removed from the work order library; If not, get the closest location to the router. All employees corresponding to the responsible area form an expanded employee set, where ; Obtain the most recent time period without tasks of each employee from the expanded employee set to form a second time period set; The nearest time period in the second time period set is selected as the priority time period, the to-be-assigned work order is assigned to the priority time period, the task status of the priority time period is updated to a task-having status, and the to-be-assigned work order is removed from the work order library.
[0013] Preferably, the maintenance record of the first maintenance work order includes the work order generation time, the first maintenance work order, the problem vector of the router, the matching script file and the script execution status; the maintenance record of the second maintenance work order includes the work order generation time, the second maintenance work order, the assigned employee, the completion time and the maintenance process.
[0014] Preferably, the problem vector corresponding to the script file in the script library of the optimization center according to the maintenance record includes: Obtain any script file in the central script library and record it as the script to be optimized; Traverse all maintenance records of the first maintenance work order, filter out the matching script files that are the same as the script to be optimized, and the script execution status is executed and effective, and select the most recent one from these records. records, forming the target record set, where ; Use all the problem vectors in the target record set and the problem vectors corresponding to the script to be optimized to form a vector optimization set; Calculate the sum of the distances between each vector and all other vectors in the vector optimization set as the selection parameter of the vector; Use the vector with the smallest selected parameter as the optimization vector; The problem vector currently corresponding to the script to be optimized is replaced with the optimization vector to complete the optimization of the problem vector corresponding to the script file.
[0015] The present invention provides a router intelligent operation and maintenance system, which has the following beneficial effects: The script library module enables rapid identification and self-service resolution of common router problems. The system can intelligently analyze router operation data, match preset script files, and guide users to execute, thereby lowering the threshold for users to solve problems and improving user experience and efficiency. At the same time, the solution also retains the work order management mechanism, but by distinguishing between the first maintenance work order and the second maintenance work order, it realizes the reasonable allocation of operation and maintenance resources, avoids unnecessary door-to-door services, and effectively reduces operation and maintenance costs. In addition, the system also has the ability to continuously optimize, and continuously optimizes the problem vectors and script files in the central script library through the maintenance records of the first maintenance work order. This continuous optimization mechanism helps to improve the accuracy and efficiency of script problem solving and further reduce the need for manual intervention. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 A schematic diagram of a module of a router intelligent operation and maintenance system of the present invention; Figure 2 It is a schematic diagram of the problem vector optimization steps corresponding to a script file of a router intelligent operation and maintenance system of the present invention. DETAILED DESCRIPTION
[0017] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention. Example
[0018] See also Figure 1 In this embodiment, a router intelligent operation and maintenance system includes: A script library module, used to establish a central script library and a terminal script library, wherein the central script library is deployed in a central server, and the terminal script library is deployed on a terminal router, wherein the central script library stores a plurality of pre-set script files and a script number and a problem vector corresponding to each script file, and wherein the terminal script library synchronizes the script files and the corresponding script numbers and problem vectors in the central script library; The employee database module is used to store employee information, including responsible areas and work arrangements; A first work order generating module, used to obtain information of the router to be maintained to generate a first maintenance work order, the first maintenance work order including contact information and a router number; A problem analysis module is used to obtain the operation data of the corresponding router according to the router number, analyze the operation data of the router, and obtain the problem vector of the router; The problem vector includes five dimensions: network traffic, channel quality, network quality, network security, and routing table. The component values of each dimension are set with corresponding value ranges; the work arrangement includes several future time periods and the task status corresponding to each time period. The task status includes no task status and task status; the operation data includes traffic data, channel data, delay data, packet loss rate data and router log data. The router log data includes security logs and routing table logs.
[0019] In this embodiment, a plurality of pre-set script files are stored in the central script library. These script files can be written by professional technicians, and each script file provides a solution for a specific network problem. For example, script file 1 is used to solve the problem of abnormal network traffic, and script file 2 is used to optimize channel quality, etc. Each script file is assigned a unique script number. At the same time, each script file is also associated with a problem vector. In this implementation, the problem vector can reflect the type of problem faced by the router from five dimensions: network traffic, channel quality, network quality, network security and routing table. Since the router usually faces the problem of disconnecting the network when a failure occurs, the terminal script library is deployed on the router terminal, so that the script file can still be obtained and executed after the router is disconnected from the Internet. The terminal script library synchronizes the script file and the corresponding script number and problem vector from the central script library, which can be synchronized regularly or after the central script library is optimized.
[0020] The employee database module stores the information of all maintenance personnel in the company. Each employee information contains the employee's name, responsible area, work schedule and other information. The work schedule is organized by time period, indicating the task status of the employee in a specific time period, specifically no task status or task status. Through this module, data support can be provided for the allocation of subsequent maintenance work orders to ensure that the work orders can be allocated reasonably.
[0021] The first work order module can receive the user's warranty information through the Internet, telephone, etc., and generate an initial work order containing contact information and router number. The problem analysis module obtains the operation data of the router according to the router number, including traffic data, channel data, delay data, packet loss rate data, and router log data. Then, a comprehensive analysis of these data is performed to determine the problem vector of the router. The problem vector includes five dimensions: network traffic, channel quality, network quality, network security, and routing table. The component value of each dimension has a corresponding value range, such as 0 to 1. The size of the value reflects the degree of the problem in the dimension. The larger the value, the greater the problem in the corresponding dimension.
[0022] The steps to obtain the router's problem vector include: Get the operation data of the router; Obtain the component value of the network traffic dimension in the problem vector according to the traffic data of the router; Obtaining component values of the channel quality dimension in the problem vector according to the channel data of the router; Obtain the component values of the network quality dimension in the problem vector according to the delay data and packet loss rate data of the router; Obtain the component values of the three dimensions of network security and routing table in the problem vector based on the router log data; The component values of the above five dimensions are used to form the router's problem vector.
[0023] The component values of the network traffic dimension are obtained by the following formula: ; In the formula, Represents the component value of the network traffic dimension, represents the maximum value function, represents the minimum value function, Indicates the lower limit of the value range corresponding to the network traffic dimension. Indicates the upper limit of the value range corresponding to the network traffic dimension; Indicates the most recent preset Traffic data over time, Indicates the preset Standard flow data over time; The component values of the channel quality dimension are obtained by the following formula: ; In the formula, Represents the component value of the channel quality dimension, Indicates the lower limit of the value range corresponding to the channel quality dimension, Indicates the upper limit of the value range corresponding to the channel quality dimension; Indicates the occupancy rate of the channel used by the router. It represents the average occupancy rate of all channels; The component values of the network quality dimension are obtained by the following formula: ; In the formula, Represents the component value of the network quality dimension, Indicates the lower limit of the value range corresponding to the network quality dimension. Indicates the upper limit of the value range corresponding to the network quality dimension; represents the preset delay weight, Indicates the preset packet loss weight, Indicates the preset reference delay value, Indicates the delay value of the router. Indicates the packet loss rate of the router.
[0024] The steps for obtaining the component values of the network security dimension include: obtaining network security logs, counting the most recent preset The number of security events recorded within a certain period of time is recorded as a security index. If the security index is greater than a preset security threshold, the component value of the network security dimension is set to the upper limit of the value range corresponding to the network security dimension; otherwise, the component value of the network security dimension is set to the lower limit of the value range corresponding to the network security dimension; The steps for obtaining the component values of the routing table dimension include: obtaining the routing table log, counting the recent The number of routing table changes within a time period is recorded as the routing table index. If the routing table index is greater than the preset routing table threshold, the component value of the routing table dimension is set to the upper limit of the value range corresponding to the routing table dimension; otherwise, the component value of the routing table dimension is set to the lower limit of the value range corresponding to the routing table dimension.
[0025] In this embodiment, we conduct an in-depth analysis of the status of the router based on its real-time operation data, thereby constructing a problem vector. This vector consists of multiple dimensions, and the value of each dimension directly reflects the degree of the problem in the corresponding field. Specifically: For the network traffic dimension, the network traffic data within the past hour can be analyzed and compared with the standard traffic threshold set based on historical data. If the traffic within one hour differs from the standard traffic we pre-set, the greater the problem with the traffic is. For the channel quality dimension, the greater the occupancy rate of the current channel compared to the average occupancy rate of all channels, the greater the problem with the current channel selection is. For the network quality dimension, the delay and packet loss rate data of the router are comprehensively considered, and equal weights are assigned to each, such as 0.5 each. The weighted sum is calculated to reflect the overall status of the network quality. Generally, the greater the delay and packet loss rate, the greater the problem with the network quality.
[0026] For the network security dimension, if the number of network security event triggers exceeds the preset threshold, such as 5 times, within a specific time window, such as 30 minutes, it means that the router may be attacked, so it can be considered that there is a major problem in the network security dimension. Otherwise, the problem in the network security dimension is considered to be minor. Routing table dimension: Monitor the update frequency of the routing table within a specific time period, such as 30 minutes. If the number of updates is far beyond the normal range, such as more than 30 times, it may be caused by improper routing protocol configuration, such as setting the timer too short, which may cause network instability. It can be considered that there is a major problem in the routing table dimension.
[0027] The problem matching module searches for a matching script file in the central script library according to the problem vector of the router. If the match is successful, the script number of the matching script file is sent to the user. If the match fails, a second maintenance work order is generated and sent to the work order library. The steps of searching for a matching script file in the central script library according to the problem vector of the router include: Get the problem vectors corresponding to all script files in the central script library to get the vector group , get the router's problem vector and record it as vector ; Calculating vectors With vector group The distance between each vector in , and take the minimum value of all calculated distances as ; judge Whether it is less than or equal to the preset distance threshold; If so, the match is successful and the The corresponding script file is used as the matching script file; If not, the match fails.
[0028] In this embodiment, by calculating the distance between problem vectors and a preset distance threshold to find a matching script file, the problem that can be solved by the matched script file can be closest to the problem on the current router surface, thereby increasing the possibility that the script file can solve the problem, thereby improving the efficiency and accuracy of network maintenance; in this embodiment, the method for calculating the distance between vectors can be existing technologies such as cosine similarity and Euclidean distance, and the distance threshold can be set by the staff according to the method for calculating the distance.
[0029] In this embodiment, if a script file that meets the conditions cannot be successfully found during the system automatic matching process, this often means that the problem faced by the current router is more complex or special and difficult to solve directly through the preset script file. Therefore, a further work order needs to be generated so that staff can be arranged for manual processing later.
[0030] The terminal execution module is used to input the script number into the router terminal, obtain the corresponding script file from the terminal script library according to the script number, and execute it; The script feedback module is used to obtain the script execution status of the terminal execution module. The script execution status is not executed, executed but not effective, and executed and effective. If the script execution status is executed and effective, the first maintenance work order is recorded as completed, otherwise a second maintenance work order is generated and sent to the work order library; In this embodiment, the script number is input into the terminal of the router by remotely inputting it into the router terminal through the IP of the router or by the user logging into the router backend by himself through the local area network, and the corresponding script is automatically executed by inputting the script number. Under normal circumstances, if the router is still connected to the Internet, the former is used, and if the router is disconnected from the Internet, the latter is used. At the same time, the user can also choose not to execute the script file and wait for the subsequent staff to process it directly; when the user chooses to execute the script, if the script solves the problem, the maintenance of the router is completed, otherwise it will be handled by the staff later. The operation complexity of the user's self-problem is reduced by the script number method. Therefore, the user can take immediate action to solve the problem according to his own needs and capabilities. Directly executing the script can respond quickly and solve the router problem immediately, which significantly shortens the troubleshooting time. At the same time, by guiding some users to solve the problem by themselves, the workload of the staff is effectively reduced, and human resources can be more reasonably allocated to more complex or urgent tasks, thereby achieving cost savings.
[0031] A work order allocation module, including a work order library, is used to allocate an employee to a second maintenance work order in the work order library according to employee information; The steps of generating the second maintenance work order include: obtaining the geographic location of the router and setting the work order priority; using the first maintenance work order, the geographic location of the router and the work order priority to form the second maintenance work order; wherein the work order priority includes the highest priority, high priority, medium priority and low priority.
[0032] Assigning employees to the second maintenance work order in the work order library based on employee information includes: sorting the second maintenance work orders in the work order library in the order of highest priority, high priority, medium priority and low priority; Get the first second maintenance work order in the work order library and record it as the work order to be assigned; Obtain all employees corresponding to the responsible area where the router is located to form a set of candidate employees; Determine whether the priority of the work order to be assigned is the highest priority; If not, select any employee from the candidate employee set as the target employee, obtain the target employee's most recent time period without a task as the target time period, assign the work order to be assigned to the target time period, update the task status of the target time period to a tasked state, and remove the work order to be assigned from the work order library; If so, obtain the most recent time period of each employee in the candidate employee set when they are in a task-free state to form a first time period set, and select the most recent time period in the first time period set as the idle time period; Determine whether the time difference between the current time and the start time of the idle period is within the preset priority time; If yes, the to-be-assigned work order is assigned to the idle time period, the task status of the idle time period is updated to the task status, and the to-be-assigned work order is removed from the work order library; If not, get the closest location to the router. All employees corresponding to the responsible area form an expanded employee set, where ; Obtain the most recent time period without tasks of each employee from the expanded employee set to form a second time period set; The nearest time period in the second time period set is selected as the priority time period, the to-be-assigned work order is assigned to the priority time period, the task status of the priority time period is updated to a task-having status, and the to-be-assigned work order is removed from the work order library.
[0033] In this embodiment, the work order allocation mechanism strictly follows the priority principle to ensure efficient response. Specifically, for the highest priority work orders, the system first evaluates the processing capabilities of employees in the current area within a preset time window, such as 24 hours. If there is an employee in the area who can take over the processing within this time frame, it will be directly assigned to the employee. If the current area cannot meet this timeliness requirement, the system will automatically expand the search range to adjacent areas to find the employee who can respond and process the work order the fastest. This strategy ensures that the highest priority work orders can be processed quickly, thereby improving overall service efficiency and response speed.
[0034] A recording module, used to record the maintenance records of all first maintenance work orders and second maintenance work orders; The maintenance record of the first maintenance work order includes the work order generation time, the first maintenance work order, the problem vector of the router, the matching script file and the script execution status; the maintenance record of the second maintenance work order includes the work order generation time, the second maintenance work order, the assigned employee, the completion time and the maintenance process.
[0035] In this embodiment, the recording module records information of all first maintenance work orders and second maintenance work orders, wherein the maintenance process can be uploaded by the corresponding employees; these records can provide references for subsequent personnel configuration optimization, product performance improvement, and service quality improvement.
[0036] The optimization module is used to optimize the problem vectors corresponding to the script files in the central script library according to the maintenance records.
[0037] Example 2 See also Figure 2 Based on Example 1, the problem vectors corresponding to the script files in the script library of the maintenance record optimization center include: S1. Obtain any script file in the central script library and record it as the script to be optimized; S2. Traverse all maintenance records of the first maintenance work order, filter out the records whose matching script files are the same as the script to be optimized and whose script execution status is executed and effective, and select the most recent one from these records. records, forming the target record set, where ; S3, using all the problem vectors in the target record set and the problem vectors corresponding to the script to be optimized to form a vector optimization set; S4, calculating the sum of the distances between each vector and all other vectors in the vector optimization set as the selection parameter of the vector; S5. Use the vector with the smallest selection parameter as the optimization vector; S6. Replace the problem vector currently corresponding to the script to be optimized with the optimization vector, and complete the optimization of the problem vector corresponding to the script file.
[0038] In this embodiment, we provide a method for optimizing the problem vectors corresponding to script files in the central script library, aiming to improve the accuracy and efficiency of script files in solving practical problems of routers. First, a script to be optimized is selected from the script library, and then the maintenance records of all the first maintenance work orders are carefully traversed to accurately screen out those matching script files that are the same as the script to be optimized and whose execution status is executed and effective, especially selecting a record that is the most recent and best represents the current router problem status to form a target record set. Then, the problem vectors in these records and the current problem vectors of the script to be optimized are used to construct a vector optimization set. By calculating the distance between each vector in the set and all other vectors as the selection parameter, we identify the optimization vector that best represents the mainstream problem characteristics and has the smallest selection parameter. Finally, the problem vector of the script to be optimized is replaced with this optimization vector, thereby completing the optimization of the problem vector corresponding to the script file.
[0039] In the several embodiments provided by the present invention, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of the units is only one, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0040] The above description is only a specific implementation mode of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.
[0041] Finally: The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A router intelligent operation and maintenance system, It is characterized in that include: A script library module, used to establish a central script library and a terminal script library, wherein the central script library is deployed on a central server, and the terminal script library is deployed on a terminal router, wherein the central script library stores a plurality of pre-set script files and a script number and a problem vector corresponding to each script file, and wherein the terminal script library synchronizes the script files and the corresponding script numbers and problem vectors in the central script library; An employee database module is used to store employee information, including responsible areas and work arrangements; A first work order generating module, configured to obtain information of a router to be maintained and generate a first maintenance work order, wherein the first maintenance work order includes contact information and a router number; A problem analysis module is used to obtain the operation data of the corresponding router according to the router number, analyze the operation data of the router, and obtain the problem vector of the router; The problem matching module searches for a matching script file in the central script library according to the problem vector of the router. If the match is successful, the script number of the matching script file is sent to the user. If the match fails, a second maintenance work order is generated and sent to the work order library. The terminal execution module is used to input the script number into the router terminal, obtain the corresponding script file from the terminal script library according to the script number, and execute it; A script feedback module is used to obtain the script execution status of the terminal execution module, where the script execution status is not executed, executed but not effective, and executed and effective. If the script execution status is executed and effective, the first maintenance work order is recorded as completed, otherwise a second maintenance work order is generated and sent to the work order library; A work order allocation module, including a work order library, is used to allocate an employee to a second maintenance work order in the work order library according to employee information; A recording module, used to record the maintenance records of all first maintenance work orders and second maintenance work orders; The optimization module is used to optimize the problem vectors corresponding to the script files in the central script library according to the maintenance records.
2. The router intelligent operation and maintenance system according to claim 1, It is characterized in that The problem vector includes five dimensions: network traffic, channel quality, network quality, network security, and routing table. The component values of each dimension are set with corresponding value ranges; the work arrangement includes several future time periods and the task status corresponding to each time period, and the task status includes a no-task status and a task status; the operation data includes traffic data, channel data, delay data, packet loss rate data, and router log data, and the router log data includes security logs and routing table logs.
3. The router intelligent operation and maintenance system according to claim 2, It is characterized in that The step of obtaining the problem vector of the router comprises: Get the operation data of the router; Obtain the component value of the network traffic dimension in the problem vector according to the traffic data of the router; Obtaining component values of the channel quality dimension in the problem vector according to the channel data of the router; Obtain the component values of the network quality dimension in the problem vector according to the delay data and packet loss rate data of the router; Obtain the component values of the three dimensions of network security and routing table in the problem vector based on the router log data; The component values of the above five dimensions are used to form the router's problem vector.
4. The router intelligent operation and maintenance system according to claim 3, It is characterized in that The component value of the network traffic dimension is obtained by the following formula: ; In the formula, Represents the component value of the network traffic dimension, represents the maximum value function, represents the minimum value function, Indicates the lower limit of the value range corresponding to the network traffic dimension. Indicates the upper limit of the value range corresponding to the network traffic dimension; Indicates the most recent preset Traffic data over time, Indicates the preset Standard flow data over time; The component values of the channel quality dimension are obtained by the following formula: ; In the formula, Represents the component value of the channel quality dimension, Indicates the lower limit of the value range corresponding to the channel quality dimension, Indicates the upper limit of the value range corresponding to the channel quality dimension; Indicates the occupancy rate of the channel used by the router. It represents the average occupancy rate of all channels; The component values of the network quality dimension are obtained by the following formula: ; In the formula, Represents the component value of the network quality dimension, Indicates the lower limit of the value range corresponding to the network quality dimension. Indicates the upper limit of the value range corresponding to the network quality dimension; represents the preset delay weight, Indicates the preset packet loss weight, Indicates the preset reference delay value, Indicates the delay value of the router. Indicates the packet loss rate of the router.
5. The router intelligent operation and maintenance system according to claim 4, It is characterized in that The step of obtaining the component values of the network security dimension includes: obtaining the network security log, counting the most recent preset The number of security events recorded within a certain period of time is recorded as a security index. If the security index is greater than a preset security threshold, the component value of the network security dimension is set to the upper limit of the value range corresponding to the network security dimension; otherwise, the component value of the network security dimension is set to the lower limit of the value range corresponding to the network security dimension; The step of obtaining the component values of the routing table dimension includes: obtaining the routing table log, counting the recent The number of routing table changes within a time period is recorded as the routing table index. If the routing table index is greater than the preset routing table threshold, the component value of the routing table dimension is set to the upper limit of the value range corresponding to the routing table dimension; otherwise, the component value of the routing table dimension is set to the lower limit of the value range corresponding to the routing table dimension.
6. The router intelligent operation and maintenance system according to claim 5, It is characterized in that The step of searching for a matching script file in a central script library according to the problem vector of the router comprises: Get the problem vectors corresponding to all script files in the central script library to get the vector group , get the router's problem vector and record it as vector ; Calculating vectors With vector group The distance between each vector in , and take the minimum value of all calculated distances as ; judge Whether it is less than or equal to the preset distance threshold; If so, the match is successful and the The corresponding script file is used as the matching script file; If not, the match fails.
7. The router intelligent operation and maintenance system according to claim 6, It is characterized in that The steps of generating the second maintenance work order include: obtaining the geographic location of the router and setting the work order priority; using the first maintenance work order, the geographic location of the router and the work order priority to form the second maintenance work order; wherein the work order priority includes the highest priority, high priority, medium priority and low priority.
8. The router intelligent operation and maintenance system according to claim 7, It is characterized in that The allocating an employee to the second maintenance work order in the work order library according to the employee information includes: sorting the second maintenance work orders in the work order library in the order of highest priority, high priority, medium priority and low priority; Get the first second maintenance work order in the work order library and record it as the work order to be assigned; Obtain all employees corresponding to the responsible area where the router is located to form a set of candidate employees; Determine whether the priority of the work order to be assigned is the highest priority; If not, select any employee from the candidate employee set as the target employee, obtain the target employee's most recent time period without a task as the target time period, assign the work order to be assigned to the target time period, update the task status of the target time period to a tasked state, and remove the work order to be assigned from the work order library; If so, obtain the most recent time period of each employee in the candidate employee set when they are in a task-free state to form a first time period set, and select the most recent time period in the first time period set as the idle time period; Determine whether the time difference between the current time and the start time of the idle period is within the preset priority time; If yes, the to-be-assigned work order is assigned to the idle time period, the task status of the idle time period is updated to the task status, and the to-be-assigned work order is removed from the work order library; If not, get the closest location to the router. All employees corresponding to the responsible area form an expanded employee set, where ; Obtain the most recent time period without tasks of each employee from the expanded employee set to form a second time period set; The nearest time period in the second time period set is selected as the priority time period, the to-be-assigned work order is assigned to the priority time period, the task status of the priority time period is updated to a task-having status, and the to-be-assigned work order is removed from the work order library.
9. The router intelligent operation and maintenance system according to claim 8, It is characterized in that The maintenance record of the first maintenance work order includes the work order generation time, the first maintenance work order, the problem vector of the router, the matching script file and the script execution status; the maintenance record of the second maintenance work order includes the work order generation time, the second maintenance work order, the assigned employee, the completion time and the maintenance process.
10. The router intelligent operation and maintenance system according to claim 9, It is characterized in that The problem vector corresponding to the script file in the script library of the maintenance record optimization center includes: Obtain any script file in the central script library and record it as the script to be optimized; Traverse all maintenance records of the first maintenance work order, filter out the matching script files that are the same as the script to be optimized, and the script execution status is executed and effective, and select the most recent one from these records. records, forming the target record set, where ; Use all the problem vectors in the target record set and the problem vectors corresponding to the script to be optimized to form a vector optimization set; Calculate the sum of the distances between each vector and all other vectors in the vector optimization set as the selection parameter of the vector; Use the vector with the smallest selected parameter as the optimization vector; The problem vector currently corresponding to the script to be optimized is replaced with the optimization vector to complete the optimization of the problem vector corresponding to the script file.
