A management method for software system maintenance information

Use the problem tracking tool to record and repair software system information, calculate upgrade stability and optimization index, solve the problem of inaccurate software system maintenance information management after upgrade, and improve the stability and performance management of the software system.

CN118170418BActive Publication Date: 2024-09-17SHANXI JINYUN TIMES DATA INFORMATION TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

Existing software system maintenance information management methods may cause unstable operation after software upgrades, resulting in inaccurate acquisition of maintenance information.

Method used

Use issue tracking tools to record software system information, repair problems and vulnerabilities in the system, and calculate upgrade stability index and software system optimization index to manage software system maintenance information and judge software performance.

Benefits of technology

It effectively improves the accuracy of software system maintenance information management, ensures the stability and performance of the software system, simplifies the troubleshooting and repair process, and reduces long-term maintenance costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118170418B
    Figure CN118170418B
Patent Text Reader

Abstract

The invention relates to the field of information management, and discloses a method for managing software system maintenance information, which is used to solve the problem of inaccurate acquisition of software system maintenance information when the software system is upgraded. The method comprises: recording software system information according to a problem tracking tool, managing software system documents, and recording release and deployment, repairing problems, loopholes and errors found in the system through software system information, obtaining an upgrade stability index through calculation, managing software system maintenance information according to the upgrade stability index, obtaining a software system optimization index through calculation, and judging the performance of upgraded software according to the software system optimization index, thereby effectively improving the accuracy of software system maintenance information management and facilitating developers to manage the software system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of information management, and more specifically to a management method for software system maintenance information. Background Art

[0002] Software system maintenance information management refers to the collection of various data, documents, logs and indicator information generated during the software system maintenance process, which is used for maintenance records, problem tracking and test records of the software system.

[0003] The existing software system maintenance information management method is to access, record and repair the software operation information, but this management method may cause the software system to run unstable due to software system upgrades, thereby causing inaccurate acquisition of software system maintenance information.

[0004] In view of the above problems, the present invention proposes a solution. Summary of the invention

[0005] In order to overcome the above defects of the prior art, the present invention provides a method for managing software system maintenance information to solve the problems existing in the above background technology.

[0006] To achieve the above object, the present invention provides the following technical solutions:

[0007] A method for managing software system maintenance information comprises the following steps:

[0008] S001: Record software system information based on issue tracking tools, manage software system documentation, and record releases and deployments;

[0009] S002: Repair software system information for problems, vulnerabilities and errors found in the system;

[0010] S003: obtain an upgrade stability index by calculation, and manage software system maintenance information according to the upgrade stability index;

[0011] S004: Obtain a software system optimization index through calculation, and perform performance judgment on the upgraded software according to the software system optimization index.

[0012] Preferably, the specific steps of repairing the software system information are:

[0013] Obtain problem identification and reporting, including detailed problem description, steps to reproduce, and information about the environment in which the problem occurred;

[0014] Conduct problem analysis to determine the root cause of the problem, locate the problem, and ensure that the problem scenario can be accurately reproduced;

[0015] Develop a maintenance plan that clearly defines the steps to resolve the problem, resource allocation, timeline and priority, and determines the urgency of problem repair;

[0016] Make fixes in the code, modify the relevant source code to address the issue, and reference the problem report in the code change;

[0017] Integrate the repaired code into the entire system, perform integration testing, and test the functionality and performance of the overall system;

[0018] Update relevant documents, including user manuals, development documents, and issue status in the issue tracking system, and record the problem fix history and version information in the documents;

[0019] Create a release plan and deploy the fixed code to production environment.

[0020] Preferably, the upgrade stability index calculation step is:

[0021] Divide a day into 12 time periods evenly, and count the number of online users in each time period every day in the previous month;

[0022] Calculate the average number of online users in each time period within a month and record it as the number of online users;

[0023] Use the silhouette coefficient method to determine the number of clusters, and use the K-means clustering method to cluster the online user data in each time period;

[0024] According to the clustering results of the online user data in each time period, the online user influence coefficient when the software is updated is calculated;

[0025] Get the time of the most recent merge of the main branch and calculate the time interval, which is recorded as the code impact coefficient;

[0026] Use test coverage tools to evaluate test coverage and the number of test simulation environments during software upgrade testing, and record it as the test impact coefficient;

[0027] The upgrade stability index is obtained by weighted summing the online user impact coefficient, code impact coefficient, and test impact coefficient.

[0028] Preferably, the step of clustering the number of online users in each time period using the K-means clustering method is as follows:

[0029] Use the silhouette coefficient method to determine the number of clusters;

[0030] Among the 12 online user data points obtained, 3 data points are randomly selected as the initial cluster center points;

[0031] For each data point, calculate the distance between each data point and the center point of each cluster, and assign the data point to the cluster with the closest distance;

[0032] For each cluster, calculate the average value of all its data points, use the average value as the center point of the new cluster, and update the position of the cluster center point;

[0033] Repeat the above steps until the cluster center no longer changes significantly, and take the final cluster as the final cluster.

[0034] Preferably, the step of calculating the distance between each data point and each cluster center point is to obtain the data points and cluster centers in the cluster, and use the Euclidean distance algorithm to calculate the distance between the data points and the cluster center based on the data points in the cluster and the cluster centers.

[0035] Preferably, the software system optimization index calculation steps are:

[0036] Use Apache JMeter performance testing tool to simulate multiple users accessing the software at the same time and record the software response time after the software system is upgraded;

[0037] Use Nagios performance monitoring tool to monitor the CPU usage and memory usage of the software after the software system upgrade;

[0038] The software system optimization index is obtained by weighted summing up the software response time, CPU usage and memory occupancy.

[0039] Technical effects and advantages of the present invention:

[0040] The software system information is recorded according to the problem tracking system, the software system documents are managed, and the release and deployment are recorded. The software system information is repaired for problems, vulnerabilities and errors found in the system. The upgrade stability index is calculated and the software system maintenance information is managed according to the upgrade stability index. The software system optimization index is calculated and the performance of the upgraded software is judged according to the software system optimization index, which effectively improves the accuracy of software system maintenance information management and facilitates developers to manage the software system. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 The figure is a flow chart of calculating the upgrade stability index of the present invention. DETAILED DESCRIPTION

[0042] The technical solution of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the present invention. In addition, the forms of the various structures recorded in the following implementation modes are merely illustrative. The management method of a software system maintenance information involved in the present invention is not limited to the various structures recorded in the following implementation modes. All other implementation modes obtained by ordinary technicians in this field without making creative work belong to the scope of protection of the present invention.

[0043] The present invention provides a method for managing software system maintenance information, comprising the following steps:

[0044] S001: Record software system information based on issue tracking tools, manage software system documentation, and record releases and deployments;

[0045] S002: Repair software system information for problems, vulnerabilities and errors found in the system;

[0046] S003: obtain an upgrade stability index by calculation, and manage software system maintenance information according to the upgrade stability index;

[0047] S004: Obtain a software system optimization index through calculation, and perform performance judgment on the upgraded software according to the software system optimization index.

[0048] The recording of software system information refers to the activities of collecting, recording and managing various system-related information during the software development, maintenance and operation process. This information can cover many aspects, including problem reports, code changes, version control, document updates, release records, user feedback, and performance monitoring. The purpose of recording this information is to provide a traceable, transparent and orderly history so that the team can better understand, manage and improve the software system.

[0049] Recording software system information helps track and manage problems in the system and ensure that they are fixed in a timely manner. It can provide detailed problem descriptions, reproduction steps and solutions, simplify the process of troubleshooting and repairing problems, facilitate understanding of software evolution and new features, improvements and fixes in each version, help team members understand the design, architecture and usage of the system, provide a centralized knowledge base, promote knowledge sharing and collaboration between teams, and enable the team to respond to user expectations and needs in a timely manner.

[0050] In this embodiment, it should be specifically explained that the specific steps of recording the software system information are:

[0051] Record and track problems found in the system through Bugzilla tracking tool, and create clear problem reports in Bugzilla tracking tool, including description of the problem, steps to reproduce, and reporter information. Bugzilla is an open source system for defect tracking and project management, which provides a web interface that allows teams to work together to report, record, track, and resolve defects or problems in software projects;

[0052] Establish a document management system to store and track documents related to the software system, such as user manuals, development documents, and architecture documents. Record important design decisions, system architecture, and business processes in the documents to ensure that the documents are updated in a timely manner.

[0053] Record the release and deployment information of each software, including release time, deployment steps and executors. Record key information during release and deployment, including version number, changes and problem fix information.

[0054] Use requirements management tools to record feedback and new requirements from users to guide the work of the development team. Requirements management tools are software tools used to collect, track, analyze and manage project requirements. These tools help the team understand, record and track project requirements more effectively, ensuring that the project team is more transparent and orderly in the management and satisfaction of requirements throughout the development life cycle;

[0055] Use performance monitoring tools to record system performance indicators, including response time, load, and resource utilization. The performance monitoring tools are software tools used to monitor, analyze, and report the performance of computer systems, applications, or networks. These tools provide real-time or historical data on system resource usage, response time, throughput, and error rate performance indicators. Performance monitoring tools are very important for ensuring the normal operation of the system, discovering performance bottlenecks, optimizing resource utilization, and improving user experience.

[0056] The software system information repair generally refers to the process of resolving problems, defects, errors or other abnormal situations found in the software system. These problems may be reported by users, discovered during testing, observed during performance monitoring, or caused by other channels. The goal of information repair is to restore normal operation in terms of function, performance and security by modifying the relevant parts of the software system.

[0057] Repairing software system information can improve the functionality of the system and ensure that it works as expected. By solving problems in a timely manner, the user experience is improved, and user satisfaction with the software is increased. Users perceive that the software development team is paying attention to their needs and feedback, which enhances user trust in the software and helps improve the stability of the software system. Solving problems and defects helps prevent system crashes, errors or instability. By fixing problems in a timely manner, long-term maintenance costs can be reduced. By promptly fixing problems reported by users, user activity is maintained. Fixing problems and errors helps improve the maintainability of the system. Through continuous information repair, the system code quality is improved, reducing the probability of future problems.

[0058] In this embodiment, it should be specifically explained that the specific steps of repairing the software system information are:

[0059] Problem identification and reporting, including detailed problem description, steps to reproduce, and information about the environment in which the problem occurred;

[0060] Conduct problem analysis to determine the root cause of the problem, locate the problem, and ensure that the problem scenario can be accurately reproduced;

[0061] Develop a maintenance plan that clearly defines the steps to solve the problem, resource allocation, timetable and priority, and determines the urgency of the problem repair to decide whether it needs to be repaired immediately;

[0062] Make fixes in the code, modify the relevant source code to resolve the issue, ensure that the fixed code complies with coding standards and best practices, and reference the issue report in the code changes to associate the fix with the specific issue;

[0063] Integrate the fixed code into the entire system and perform integration testing to ensure that the fix does not affect other parts of the system and test the functionality and performance of the overall system;

[0064] Update relevant documents, including user manuals, development documents, and issue status in the issue tracking system, and record the problem fix history and version information in the documents;

[0065] Develop a release plan and deploy the fixed code to the production environment. Ensure the traceability and stability of the release process.

[0066] When the software is upgraded, the software system maintenance information will be affected to a certain extent. The upgrade usually involves the modification of code and functions. If the team does not update the change log in time, the software system maintenance information may be inaccurate or missing. The upgrade process may expose new problems or lead to the repair of existing problems. These problems should be recorded in the problem tracking system in a timely manner for tracking and resolution. The upgrade may affect the capacity and performance of the system, and the upgrade may introduce new log information or change existing audit records.

[0067] In this embodiment, it should be specifically explained that Figure 1 As shown, the calculation steps of the upgrade stability index are:

[0068] Divide a day into 12 time periods evenly, and count the number of online users in each time period every day in the previous month;

[0069] Calculate the average number of online users in each time period within a month, recorded as the number of online users, and the calculation formula is: , where AV represents the number of online users, M represents the number of online users in the same period of a month, and 12 online user data AV1, AV2, ...AV 12 ;

[0070] The silhouette coefficient method is used to determine the number of clusters, and the K-means clustering method is used to cluster the online user data in each time period. The silhouette coefficient is an indicator for evaluating the quality of clustering results. It combines the compactness and separation of clusters and can be used to determine whether the compactness and separation of clustering results are reasonable.

[0071] According to the clustering results of the online user data in each time period, the online user influence coefficient of the software update is calculated. For example, the center point of the final cluster 1 is J1, the center point of the final cluster 2 is J2, and the center point of the final cluster 3 is J3. Then the weight coefficient of the final cluster 1 is calculated as ;

[0072] Get the time of the most recent merge of the main branch and calculate the time interval, which is recorded as the code impact coefficient. The calculation formula is: , where CD represents the code impact coefficient, T represents the current software update time, and T' represents the time of the most recent merge of the main branch;

[0073] Use a test coverage tool to evaluate test coverage and the number of test simulation environments during software upgrade testing, and record it as the test impact coefficient. The test coverage tool is a software tool used to measure the degree to which code is covered by tests, and helps development teams evaluate the degree to which their test suites cover the source code, thereby determining which parts of the code have been fully tested and which parts have not been covered, thereby guiding further testing work;

[0074] According to the online user impact coefficient, code impact coefficient and test impact coefficient, the weighted sum is used to obtain the upgrade stability index, which is calculated as follows: , where SI represents the upgrade stability index, PE represents the online user impact coefficient. An increase in the number of online users may lead to an increase in system load and affect system performance. The lower the upgrade stability index is, CD represents the code impact coefficient. The longer the code merging time interval is, the greater the impact on system stability is, and the lower the upgrade stability index is. SI represents the test impact coefficient. In the upgraded software system, the larger the test coverage area is, the smaller the possibility of vulnerabilities is, and the higher the upgrade stability index is. a1, a2, and a3 represent the weight coefficients of the online user impact coefficient PE, the code impact coefficient CD, and the test impact coefficient SI. In this embodiment, the specific values ​​of a1, a2, and a3 are not specifically calculated.

[0075] In this embodiment, it should be specifically explained that the steps of clustering the online user data in each time period using the K-means clustering method are as follows:

[0076] Use the silhouette coefficient method to determine the number of clusters. For example, the 12 online user data is , using the silhouette coefficient method, the number of clusters is 3;

[0077] Among the 12 online user data points obtained, three data points are randomly selected as the initial cluster centers. For example, is the initial cluster center;

[0078] For each data point, the distance between each data point and each cluster center is calculated, and the data point is assigned to the cluster with the closest distance. The step of calculating the distance between each data point and each cluster center is to use the Euclidean distance to calculate the distance between the data point and the cluster center, and the calculation formula is: , for example, the distance between AV2 and each cluster center is calculated as , AV2 is assigned to the initial cluster 3. The Euclidean distance is the straight-line distance between two points in the Euclidean space. In the two-dimensional Euclidean space, that is, the distance between two points on the plane, the same formula can also be used to calculate the distance between two points in the higher-dimensional Euclidean space;

[0079] For each cluster, calculate the average value of all its data points, use the average value as the center point of the new cluster, and update the position of the cluster center point. For example, calculate the average value in the initial cluster 1, and the calculation formula is: , then Z1 is taken as the center point of the new cluster;

[0080] Repeat the above steps until the cluster center no longer changes significantly, and take the final cluster as the final cluster.

[0081] The upgrade stability index is compared with the preset threshold. If the upgrade stability index is greater than the preset threshold, it means that the software update has little impact on the software system maintenance information. If the upgrade stability index is less than the preset threshold, it means that the software update has a greater impact on the software system maintenance information. An early warning is issued to relevant development managers to remind them that there are risks in the current software system maintenance information and to enable them to take corresponding measures as soon as possible.

[0082] Testing software performance can verify whether the effect after the upgrade is as expected. By comparing the performance indicators before and after the upgrade, you can evaluate the impact of the upgrade on software performance and determine whether the upgrade has achieved the expected goals. Testing software performance can help discover performance problems that may exist after the upgrade, such as increased response time, decreased throughput, and increased resource utilization. Timely discovery and resolution of these problems can improve software stability and user experience. Testing software performance can provide guidance for subsequent performance optimization.

[0083] By analyzing the performance test results, we can identify performance bottlenecks, develop targeted optimization strategies, and further improve software performance. Upgrading may cause compatibility issues between the software and other components or environments. Testing software performance can evaluate the compatibility of upgraded software in different environments, promptly discover and solve compatibility issues, and ensure that the software can run normally in various environments. Optimizing software performance can improve user satisfaction and user experience. By testing software performance, promptly discovering and solving performance problems, we can ensure that the software still has good performance after the upgrade to meet user needs and expectations.

[0084] In this embodiment, it should be specifically explained that the software system optimization index calculation steps are:

[0085] Use the Apache JMeter performance testing tool to simulate multiple users accessing the software at the same time and record the software response time after the software system is upgraded. The Apache JMeter is an open source tool for performance testing, which is mainly used for performance testing of Web applications, but can also be used to test other types of applications;

[0086] Use Nagios performance monitoring tool to monitor the software CPU usage and memory usage after the software system upgrade. Nagios is an open source network monitoring system used to monitor the operating status of network devices, servers and application IT infrastructure. It can monitor various indicators of the system in real time and send alarms to notify administrators when problems or abnormalities are found.

[0087] The software system optimization index is obtained by weighted summation of software response time, CPU usage, and memory occupancy. The calculation formula is: , where OP represents the software system optimization index, RT represents the software response time, a faster response time can improve the user experience, the user will feel smooth operation and quick response when using the software, thereby enhancing user satisfaction and loyalty, CU represents the software CPU usage rate, a higher CPU usage rate may cause the overall system performance to decline, when the software consumes a large amount of CPU resources, the system response speed may slow down, affecting the user experience, ME represents the memory occupancy rate, a higher memory occupancy rate may cause the overall system performance to decline, when the software consumes a large amount of memory resources, the system response speed may slow down, affecting the user experience, b1, b2, b3 represent the weight coefficients of the software response time RT, the CPU software usage rate CU and the memory occupancy rate ME, and this embodiment does not specifically calculate the specific values ​​of b1, b2, b3.

[0088] Compare the software system optimization index with the preset threshold. If the software system optimization index is less than the preset threshold, the software upgrade has a greater impact on the software operation, and relevant personnel are notified to repair the software. If the software system optimization index is greater than the preset threshold, the software upgrade has little impact on the software operation.

[0089] 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, and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

[0090] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for managing software system maintenance information, characterized in that: The following steps are involved: S001: Record software system information based on issue tracking tools, manage software system documentation, and record releases and deployments; S002: Repair software system information for problems, vulnerabilities and errors found in the system; S003: Obtain an upgrade stability index through calculation, and manage software system maintenance information according to the upgrade stability index; wherein the upgrade stability index calculation steps are as follows: Divide a day into 12 time periods evenly, and count the number of online users in each time period every day in the previous month; Calculate the average number of online users in each time period within a month and record it as the number of online users; Use the silhouette coefficient method to determine the number of clusters, and use the K-means clustering method to cluster the online population data in each time period. The steps of clustering the online population data in each time period using the K-means clustering method are as follows: Use the silhouette coefficient method to determine the number of clusters; Among the 12 online user data points obtained, 3 data points are randomly selected as the initial cluster center points; For each data point, calculate the distance between each data point and the center point of each cluster, and assign the data point to the cluster with the closest distance; The steps for calculating the distance between each data point and each cluster center point are as follows: obtain the data points and cluster center points in the cluster, and use the Euclidean distance algorithm to calculate the distance between the data point and the cluster center based on the data points in the cluster and the cluster center points; For each cluster, calculate the average value of all its data points, use the average value as the center point of the new cluster, and update the position of the cluster center point; Repeat the above steps until the cluster center point no longer changes significantly, and take the final cluster as the final clustering cluster; According to the clustering results of the online user data in each time period, the online user influence coefficient when the software is updated is calculated; Get the time of the most recent merge of the main branch and calculate the time interval, which is recorded as the code impact coefficient; Use test coverage tools to evaluate test coverage and the number of test simulation environments during software upgrade testing, and record it as the test impact coefficient; The upgrade stability index is obtained by weighted summing the online user impact coefficient, code impact coefficient, and test impact coefficient. S004: Obtain a software system optimization index through calculation, and perform performance judgment on the upgraded software according to the software system optimization index.

2. A method for managing software system maintenance information according to claim 1, characterized in that: The specific steps of repairing the software system information are as follows: Obtain problem identification and reporting, including detailed problem description, steps to reproduce, and information about the environment in which the problem occurred; Conduct problem analysis to determine the root cause of the problem, locate the problem, and ensure that the problem scenario can be accurately reproduced; Develop a maintenance plan that clearly defines the steps to resolve the problem, resource allocation, timeline and priority, and determines the urgency of problem repair; Make fixes in the code, modify the relevant source code to address the issue, and reference the problem report in the code change; Integrate the repaired code into the entire system, perform integration testing, and test the functionality and performance of the overall system; Update relevant documents, including user manuals, development documents, and issue status in the issue tracking system, and record the problem fix history and version information in the documents; Create a release plan and deploy the fixed code to production environment.

3. A method for managing software system maintenance information according to claim 1, characterized in that: The software system optimization index calculation steps are as follows: Use Apache JMeter performance testing tool to simulate multiple users accessing the software at the same time and record the software response time after the software system is upgraded; Use Nagios performance monitoring tool to monitor the CPU usage and memory usage of the software after the software system upgrade; The software system optimization index is obtained by weighted summing up the software response time, CPU usage and memory occupancy.