Enterprise research and development process quality management platform

Through the full life cycle management tool, combined with quality control services, code scanning and testing, machine learning and artificial intelligence technology, the problems in the existing technology that incomplete project R&D life cycle management and difficult to meet the safety requirements of the power grid industry are solved, and the problem of incomplete project R&D life cycle management and difficult to meet the safety requirements of the power grid industry has been achieved. Safer and efficient R&D process management.

CN118886784APending Publication Date: 2024-11-01HUNAN ELECTRIC POWER DISPATCH HIGH TECH DEV
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202411091651.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-09
Publication Date
2024-11-01

AI Technical Summary

Technical Problem

The existing enterprise R&D process quality management platform lacks the ability to manage the entire project R&D life cycle, especially in terms of safety, stability and reliability requirements of the power grid industry, resulting in code quality assurance but other key aspects of project management have not been obtained. Effective support and integration.

Method used

Provide comprehensive life cycle management tools, covering multiple dimensions such as code quality control, project management, team collaboration, safety and compliance, and realize the project through system initialization, quality control services, code scanning and testing, machine learning and artificial intelligence technology. Create full lifecycle management and tracking to maintenance.

Benefits of technology

It realizes safer and more efficient management of R&D processes in industries such as power grids, supports automated and periodic code scanning, and integrates quality management services, improves data consistency and user experience, and meets the security and performance requirements of specific industries.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118886784A_ABST
    Figure CN118886784A_ABST
Patent Text Reader

Abstract

The invention discloses an enterprise research and development process quality management platform, and belongs to the field of process quality management, and the enterprise research and development process quality management platform comprises the following steps: initializing a project, defining a structure and a target, and generating main body data; setting a code scanning and testing scheme, and associating the code scanning and testing scheme with the main body data. And associating the source code warehouse and establishing connection. And setting a code scanning period, and recording and triggering a scanning task by the system. And uploading a performance test script, and preparing an automatic test. Starting code scanning, identifying problems and displaying results. And executing the test script, and summarizing the data into a report. Asynchronously processing the task, updating the result to an interface, monitoring the progress and manually terminating the task. The method has the beneficial effects of a full-life-cycle management and control mechanism, integrated quality management service, automatic and periodic code scanning, performance test script automatic execution, multi-dimensional quality evaluation and the like.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of management platforms, and more specifically, to an enterprise R&D process quality management platform. Background Art

[0002] The enterprise R&D process quality management platform is a product based on advanced technology, which aims to improve the efficiency and quality of the enterprise R&D process. Its product architecture mainly includes three parts: front-end interface, back-end server and database. The front-end interface provides a user-friendly operation interface, the back-end server implements the core functional logic, and the database stores and manages data. Its principle is to achieve comprehensive monitoring and management of the R&D process, including demand management, project management, quality management, etc. by integrating various tools and methods. Functions include R&D plan formulation, task allocation, progress tracking, quality assessment, etc., which are achieved through methods and steps, including comprehensive management of demand collection, analysis, design, development, testing and deployment, to ensure the efficient operation of the R&D process and the improvement of the quality of results.

[0003] However, existing technologies have some obvious limitations and shortcomings. First, most of them focus on code-level analysis and lack comprehensive management capabilities for the entire project development life cycle. This means that although code quality is guaranteed to a certain extent, other key aspects of project management, such as demand tracking, iteration planning, and continuous integration, are not effectively supported and integrated. Secondly, existing products are also unable to meet the security requirements of specific industries such as the power grid industry. The power grid industry has extremely high standards for security, stability, and reliability, but existing technologies often do not specifically address the security needs unique to these industries, resulting in difficulty in achieving the expected security performance in actual applications. Summary of the invention

[0004] The purpose of the present invention is to provide an enterprise R&D process quality management platform to solve the problems raised in the above-mentioned background technology: the existing technology has some obvious limitations and shortcomings. First of all, most of them focus on code-level analysis and lack the ability to comprehensively manage the entire project R&D life cycle. This means that although the quality of the code is guaranteed to a certain extent, other key aspects of project management, such as demand tracking, iteration planning, continuous integration, etc., are not effectively supported and integrated. Secondly, existing products are also unable to meet the security requirements of specific industries such as the power grid industry. The power grid industry has extremely high standards for security, stability and reliability, but the existing technology often does not specifically address the security needs unique to these industries, resulting in difficulty in achieving the expected security performance in actual applications.

[0005] In view of these shortcomings, the present invention proposes a new solution, which aims to provide a comprehensive lifecycle management tool that not only covers code quality control, but also includes multiple dimensions such as project management, team collaboration, and security compliance, so as to meet the strict requirements of key industries such as power grids for R&D process management. Through this innovative approach, the present invention can overcome the limitations of existing technologies and provide a safer and more efficient R&D management tool for industries such as power grids.

[0006] Technical solution:

[0007] The enterprise R&D process quality management platform comprises the following steps:

[0008] S1. Initialize the project instance through the system and clarify the project structure and goals;

[0009] Enter the project information, and the system will generate the main project data;

[0010] S2. Use the quality control service to set up code scanning and testing plans and associate them with the project subject;

[0011] The configured information is converted into quality control parameters and associated with the project subject data;

[0012] S3. Associating the project with the source code repository to achieve centralized management and version control of the code;

[0013] Enter the address and authentication information of the source code repository, and the system will establish a connection between the project and the source code repository;

[0014] S4. Set the periodicity of code scanning according to project requirements, supporting regular scanning and triggering scanning after each code submission;

[0015] The set scanning cycle parameters are recorded by the system and the code scanning task is triggered at the appropriate time;

[0016] S5. In the test case solution management module, upload the performance test script to the server to prepare for automated testing;

[0017] The test script is uploaded to the server as input data, and the system is prepared for subsequent test execution;

[0018] S6. Code scanning management in quality control service is responsible for starting code scanning tasks;

[0019] The system conducts in-depth analysis of source code to identify security, reliability, and maintainability issues;

[0020] After the source code is scanned, the analysis results are collected and visualized;

[0021] S7. Test case management is responsible for executing test scripts, and the system automatically runs tests and collects data;

[0022] The data generated by the execution of the test script is captured by the system and summarized into a test report for reference;

[0023] S8. The scanning executor is responsible for asynchronously processing code scanning tasks;

[0024] The task data is sent to the executor, and the execution results are returned to the system and updated to the interface;

[0025] S9. Monitor the task progress through the interface and manually terminate long-running tasks;

[0026] Check the task progress in real time. The system provides the function of manually terminating the task.

[0027] Preferably, the S5 system also uses machine learning algorithms to analyze historical test data and project codes, automatically generates new test cases, and covers more scenarios and edge cases; views and selects to enable dynamically generated test cases in the test case management module; the system continuously updates and optimizes test cases based on the latest code and changes of the project, so that the test cases are synchronized with the actual situation of the project.

[0028] Preferably, the S5 system automatically executes the generated test cases and monitors the test process in real time.

[0029] Preferably, after collecting detailed test data and testing is completed, the system uses data analysis tools to conduct in-depth analysis of the test results and automatically identify potential problems and risks;

[0030] The analysis results are presented in the form of a visual report, including test coverage, defects found, and key indicators of performance bottlenecks;

[0031] Based on the analysis results, the system automatically generates improvement suggestions and can selectively apply these suggestions to optimize test cases and project code.

[0032] Preferably, the user views and chooses to enable automatically generated test cases in the test case management module;

[0033] The system will continuously update and optimize test cases based on the latest code and changes of the project, so that the test cases are synchronized with the actual situation of the project.

[0034] Preferably, the S5 system continuously optimizes test strategies and use cases based on feedback and test results to improve the effectiveness and efficiency of testing;

[0035] The system uses artificial intelligence technology to predict faults and performance issues, and generates targeted test cases in advance for verification;

[0036] The test optimization suggestions are reviewed and confirmed through the system interface, making the optimization process transparent and controllable. Preferably, the machine learning algorithm analyzes historical test data and project code including the following steps:

[0037] S5-1-1. Collect all historical test data from the project's test management system, including test cases, test results, defect reports, and test environment configuration;

[0038] Collect source code version information, record the project code change history and corresponding test data;

[0039] S5-1-2. Extract features from the test data, including the execution time of the test cases, the number of passes and failures, the severity and frequency of defects;

[0040] Perform static analysis on the project code to extract code complexity, code coverage, and code dependency features;

[0041] S5-1-3. Clean the data to delete invalid and duplicate records;

[0042] Standardize data formats and handle missing values ​​and outliers;

[0043] S5-1-4. Select a machine learning model according to project requirements, including random forest, support vector machine, deep learning model LSTM and Transformer;

[0044] S5-1-5. Use the preprocessed historical test data and project code features to train the model;

[0045] The supervised learning method is adopted to train the machine learning model by taking historical test cases and results as training data.

[0046] Preferably, the automatic generation of new test cases comprises the following steps:

[0047] S5-2-1. Perform static analysis on the latest code of the project and extract code features;

[0048] Compare code change history to identify new and modified code modules;

[0049] S5-2-2. Use the trained machine learning model to predict new code features and generate new test cases;

[0050] Generate detailed test case descriptions based on the test case suggestions output by the model, including test steps, expected results, and test environment configuration;

[0051] S5-2-3. Prioritize the generated test cases based on the prediction results and the impact of the code changes;

[0052] Prioritize the generation of test cases covering high-risk code modules to ensure test coverage of key functions;

[0053] S5-2-4. The generated test cases are stored in the test management system and integrated with the existing test case library;

[0054] Add an identifier to each test case to distinguish dynamically generated test cases;

[0055] S5-2-5. During the next test execution, the system automatically selects and executes a new test case;

[0056] Record test execution results and update the test case library.

[0057] Preferably, the system uses artificial intelligence technology to predict the occurrence of faults and performance problems, including the following steps:

[0058] S5-3-1. Perform static analysis on the latest code and performance data of the project to extract code and performance characteristics;

[0059] Compare code change history to identify new and modified code modules;

[0060] S5-3-2. Use the trained machine learning model to predict new code features and performance data;

[0061] Generate prediction results of faults and performance issues, including fault type, probability of occurrence, and impact range;

[0062] S5-3-3. Present the prediction results in a visual report, including the predicted time, impact range, and cause of failures and performance issues;

[0063] Provide an interactive interface to view detailed forecast results and analysis reports;

[0064] S5-3-4. The system issues early warnings for high-risk failures and performance issues based on the prediction results;

[0065] Notify relevant persons in charge through email, SMS, and system notification to take preventive measures in a timely manner;

[0066] S5-3-5. Based on the prediction results, the system generates suggestions for handling faults and performance issues, including repair plans and optimization measures;

[0067] Provides automated processing options to automatically apply repairs and optimization measures.

[0068] Preferably, generating targeted test cases in advance for verification includes the following steps:

[0069] S5-4-1. Based on the prediction results, identify the code modules and performance bottlenecks that need to be tested;

[0070] Determine specific goals for targeted testing, including verifying code correctness, evaluating performance metrics, and detecting security vulnerabilities;

[0071] S5-4-2. Generate targeted test cases using the trained machine learning model, covering high-risk modules and performance bottlenecks. The generated test cases include detailed test steps, expected results, and test environment configuration;

[0072] S5-4-3. According to the actual situation and needs of the project, optimize the generated test cases to make the test cases effective and executable; manually adjust and supplement the test cases to improve the test coverage and test effect.

[0073] S5-4-4. The generated test cases are stored in the test management system and integrated with the existing test case library; an identifier is added to each test case to distinguish the automatically generated targeted test cases;

[0074] S5-4-5. The system automatically executes all selected test cases, including dynamically generated targeted test cases; real-time monitoring during the test process, and collection of detailed test data;

[0075] S5-4-6. After the test is completed, the system conducts an in-depth analysis of the test results to identify potential problems and risks; the analysis results are displayed in the form of a visual report, including test coverage, defects found, and key indicators of performance bottlenecks; based on the test results and feedback information, the test cases are further optimized and adjusted. Compared with the prior art, the advantages of the present invention are:

[0076] (1) The existing technologies usually only focus on specific links in the R&D process, such as code scanning or system testing. In contrast, the present invention provides a control mechanism covering the entire R&D process, from project creation, code development, quality control to testing and maintenance, and realizes the management and tracking of the entire life cycle.

[0077] (2) The present invention integrates code scanning and system testing into a unified platform through integrated quality management services, avoiding the problems of scattered tools and data islands in the prior art. This integrated approach improves data consistency, simplifies the operation process, and enhances user experience.

[0078] (3) In view of the shortcomings of manually triggered scanning in the prior art, the present invention supports automated and periodic code scanning, reduces human intervention, and improves efficiency. Users can flexibly configure the scanning cycle according to project requirements to ensure continuous monitoring of code quality.

[0079] (4) The present invention allows users to upload performance test scripts and automatically execute tests to generate reports, which usually requires complex configuration and manual operations in the prior art. Through the real-time feedback mechanism, the present invention enables the development team to quickly respond to performance issues and accelerate the optimization process.

[0080] (5) For areas with special security requirements such as power grid systems, this invention not only analyzes code quality, but also pays special attention to the security, reliability and maintainability of the system. This multi-dimensional quality assessment helps companies understand and improve their software products more comprehensively.

[0081] (6) The present invention provides a visual data display method, which enables users to intuitively understand the analysis results and test reports. Compared with the prior art, this visualization method greatly improves the readability and ease of use of information.

[0082] (7) The present invention adopts an asynchronous processing mechanism to optimize resource utilization and speed up processing. At the same time, the task monitoring function allows users to track the scanning progress in real time and intervene when necessary, thereby improving the flexibility and controllability of the system.

[0083] (8) Aiming at the special needs of industries such as power grid, the present invention provides customized solutions, which are often overlooked in the prior art. This targeted approach ensures that the software product not only meets the general quality standards, but also meets the security and performance requirements of specific industries. BRIEF DESCRIPTION OF THE DRAWINGS

[0084] Figure 1 It is a schematic diagram of the overall structure of a comprehensive R&D management tool of the present invention. DETAILED DESCRIPTION

[0085] For examples, see Figure 1 , the present invention provides a comprehensive R&D management tool, which has the following features:

[0086] Full life cycle management and control: Unlike existing technologies that only focus on specific aspects of R&D, the present invention covers the entire R&D process from project creation to maintenance, achieving full process management and tracking.

[0087] Integrated quality control: Integrating code scanning and system testing through a unified platform solves the problems of tool fragmentation and data silos, and improves data consistency and user experience.

[0088] Automation and periodic scanning: Supports automation and periodic code scanning, which reduces manual operations, improves efficiency, and allows users to configure scanning cycles according to needs.

[0089] Performance testing and real-time feedback: Users can upload test scripts, and the system automatically executes tests and generates reports, simplifying complex configurations and manual operations and speeding up response and optimization of performance issues.

[0090] Security, reliability and maintainability analysis: Especially for fields with special security requirements such as power grid systems, this invention not only evaluates code quality, but also focuses on the security, reliability and maintainability of the system.

[0091] Visual display and result analysis: Provides intuitive visual data display to improve the readability and ease of use of information.

[0092] Asynchronous processing and task monitoring: Asynchronous processing improves resource utilization and processing speed, while allowing users to monitor task progress in real time, enhancing the flexibility and controllability of the system.

[0093] Targeted industry solutions: Provide customized solutions for specific industries such as power grid, ensuring that software products not only meet quality standards, but also meet the security and performance requirements of specific industries.

[0094] The enterprise R&D process quality management platform includes the following steps:

[0095] S1. Initialize the project instance through the system and clarify the project structure and goals;

[0096] Enter the project information, and the system will generate the main project data;

[0097] S2. Use the quality control service to set up code scanning and testing plans and associate them with the project subject;

[0098] The configured information is converted into quality control parameters and associated with the main project data;

[0099] S3. Associate the project with the source code repository to achieve centralized management and version control of the code;

[0100] Specifically, the specific operations for associating a project with a source code repository are as follows:

[0101] Select source code repository: The user selects the type of source code repository to be associated (such as Git, SVN, Mercurial, etc.).

[0102] The system provides multiple repository options, and users can choose the appropriate version control system based on project requirements.

[0103] Configure the source code repository and enter repository information: The user enters the address of the source code repository (such as the URL of the Git repository) and authentication information (such as user name, password, or SSH key).

[0104] The system verifies the input information to ensure the authority and validity of the connected warehouse.

[0105] Set the repository path: The user configures the storage path of the project in the repository and specifies the root directory of the project code.

[0106] The system creates the corresponding directory structure in the repository and initializes the version control configuration.

[0107] Establish a connection between the project and the code repository, connect to the repository: the system establishes a connection between the project and the source code repository through the entered warehouse address and authentication information.

[0108] After successful connection, the system displays basic information of the warehouse (such as branch name, submission record, etc.).

[0109] Clone repository: The system clones the code from the remote source code repository to the local project directory to obtain the latest code version.

[0110] Users can choose to clone a specific branch or tag to ensure the consistency of the project code.

[0111] Implement centralized code management and version control, and configure version control strategies: Users set the project's version control strategy, including branch management, submission specifications, merge strategies, etc.

[0112] The system provides version control policy templates, which users can adjust according to project requirements.

[0113] Code submission and push: After the user modifies the code in the local development environment, the code is submitted (committed) through the system interface.

[0114] The system records submission logs, including submitter information, submission time, modification content, etc.

[0115] Users push local submissions to remote repositories through the system interface to achieve centralized management of code.

[0116] Branch management: Users create and manage branches through the system interface to achieve the development of different functional modules or versions.

[0117] The system provides branch merging and conflict resolution functions to ensure code consistency and integration.

[0118] Version rollback: Users can view historical submission records through the system interface and select a specific version to rollback.

[0119] The system supports version comparison (diff) and version recovery (revert) to help users track and fix problems; enter the address and authentication information of the source code repository, and the system will establish a connection between the project and the source code repository;

[0120] S4. Set the periodicity of code scanning according to project requirements, supporting regular scanning and triggering scanning after each code submission;

[0121] The set scanning cycle parameters are recorded by the system and the code scanning task is triggered at the appropriate time;

[0122] S5. In the test case solution management module, upload the performance test script to the server to prepare for automated testing;

[0123] The test script is uploaded to the server as input data, and the system is prepared for subsequent test execution;

[0124] S6. Code scanning management in quality control service is responsible for starting code scanning tasks;

[0125] The system conducts in-depth analysis of source code to identify security, reliability, and maintainability issues;

[0126] After the source code is scanned, the analysis results are collected and visualized;

[0127] S7. Test case management is responsible for executing test scripts, and the system automatically runs tests and collects data;

[0128] The data generated by the test script execution is captured by the system and summarized into a test report for reference;

[0129] S8. The scanning executor is responsible for asynchronously processing code scanning tasks;

[0130] The task data is sent to the executor, and the execution results are returned to the system and updated to the interface;

[0131] S9. Monitor the task progress through the interface and manually terminate long-running tasks;

[0132] Check the task progress in real time. The system provides the function of manually terminating the task.

[0133] The S5 system also uses machine learning algorithms to analyze historical test data and project code, automatically generating new test cases to cover more scenarios and edge cases; view and enable dynamically generated test cases in the test case management module; the system continuously updates and optimizes test cases based on the latest code and changes of the project, so that the test cases are synchronized with the actual situation of the project.

[0134] The S5 system automatically executes the generated test cases, monitors the test process in real time, and collects detailed test data. After the test is completed, the system uses data analysis tools to conduct in-depth analysis of the test results and automatically identify potential problems and risks;

[0135] The analysis results are presented in the form of a visual report, including test coverage, defects found, and key indicators of performance bottlenecks;

[0136] Based on the analysis results, the system automatically generates improvement suggestions and can selectively apply these suggestions to optimize test cases and project code.

[0137] The S5 system continuously optimizes test strategies and use cases based on feedback and test results to improve the effectiveness and efficiency of testing;

[0138] The system uses artificial intelligence technology to predict faults and performance issues, and generates targeted test cases in advance for verification;

[0139] Test optimization suggestions are reviewed and confirmed through the system interface, making the optimization process transparent and controllable.

[0140] The machine learning algorithm analyzes historical test data and project code including the following steps:

[0141] S5-1-1. Collect all historical test data from the project's test management system. The historical test data includes test cases, test results, defect reports, and test environment configurations.

[0142] Collect source code version information, record project code change history and corresponding test data;

[0143] S5-1-2. Extract features from test data, including test case execution time, number of passes and failures, and severity and frequency of defects;

[0144] Perform static analysis on project code to extract code complexity, code coverage, and code dependency features;

[0145] S5-1-3. Clean the data to delete invalid and duplicate records;

[0146] Standardize data formats and handle missing values ​​and outliers;

[0147] S5-1-4. Select machine learning models according to project requirements. Machine learning models include random forest, support vector machine, deep learning model LSTM and Transformer;

[0148] S5-1-5. Use the preprocessed historical test data and project code features to train the model;

[0149] A supervised learning approach is used to train the machine learning model using historical test cases and results as training data.

[0150] Automatically generating new test cases involves the following steps:

[0151] S5-2-1. Perform static analysis on the latest code of the project and extract code features;

[0152] Compare code change history to identify new and modified code modules;

[0153] S5-2-2. Use the trained machine learning model to predict new code features and generate new test cases;

[0154] Generate detailed test case descriptions based on the test case suggestions output by the model, including test steps, expected results, and test environment configuration;

[0155] S5-2-3. Prioritize the generated test cases based on the prediction results and the impact of the code changes;

[0156] Prioritize the generation of test cases covering high-risk code modules to ensure test coverage of key functions;

[0157] S5-2-4. Store the generated test cases in the test management system and integrate them with the existing test case library;

[0158] Add an identifier to each test case to distinguish dynamically generated test cases;

[0159] S5-2-5. During the next test execution, the system automatically selects and executes a new test case;

[0160] Record test execution results and update the test case library.

[0161] The system uses artificial intelligence technology to predict failures and performance issues, including the following steps:

[0162] S5-3-1. Perform static analysis on the latest code and performance data of the project to extract code and performance characteristics;

[0163] Compare code change history to identify new and modified code modules;

[0164] Specifically, choose a static analysis tool: According to the project's programming language and technology stack, choose an appropriate static analysis tool (such as SonarQube, Coverity, Fortify, etc.).

[0165] Configure static analysis tools, set analysis rules and inspection standards.

[0166] Perform static analysis: Use static analysis tools to perform a comprehensive scan of your latest code to check for potential issues in your code.

[0167] The analysis results include code quality indicators (such as complexity, duplicate code, code comments, etc.), security vulnerabilities, performance issues, etc.

[0168] Result collection and reporting: Collect static analysis results and generate detailed analysis reports.

[0169] The report includes the problems found, the severity of the problems, the lines of code where the problems are located, and repair suggestions.

[0170] Static analysis of performance data and performance indicator inspection: Analyze the collected performance data and check whether each performance indicator meets expectations.

[0171] Identify anomalies and trend changes in performance data and identify possible performance bottlenecks.

[0172] Performance bottleneck identification: Based on static analysis results and performance data, identify code modules and functions that may affect project performance.

[0173] Combine historical performance data and project requirements to determine the focus of performance optimization.

[0174] Comprehensive analysis and optimization suggestions, comprehensive static analysis results: Comprehensively analyze the code static analysis results and performance data analysis results to identify the correlation between code quality and performance issues.

[0175] Based on the problems found, specific optimization suggestions are put forward, including code improvement, performance tuning, etc.

[0176] Generate analysis report: Generate a static analysis comprehensive report based on the comprehensive analysis results.

[0177] The report content includes the problems found, the severity of the problems, repair suggestions, optimization directions, etc.

[0178] S5-3-2. Use the trained machine learning model to predict new code features and performance data;

[0179] Generate prediction results of faults and performance issues, including fault type, probability of occurrence, and impact range;

[0180] S5-3-3. Present the prediction results in a visual report, including the predicted time, impact range, and cause of failures and performance issues;

[0181] Provide an interactive interface to view detailed forecast results and analysis reports;

[0182] S5-3-4. The system issues early warnings for high-risk failures and performance issues based on the prediction results;

[0183] Notify relevant persons in charge through email, SMS, and system notification to take preventive measures in a timely manner;

[0184] S5-3-5. Based on the prediction results, the system generates suggestions for handling faults and performance issues, including repair plans and optimization measures;

[0185] Provides automated processing options to automatically apply repairs and optimization measures.

[0186] Generating targeted test cases in advance for verification includes the following steps:

[0187] S5-4-1. Based on the prediction results, identify the code modules and performance bottlenecks that need to be tested;

[0188] Determine specific goals for targeted testing, including verifying code correctness, evaluating performance metrics, and detecting security vulnerabilities;

[0189] S5-4-2. Use the trained machine learning model to generate targeted test cases, covering high-risk modules and performance bottlenecks. The generated test cases include detailed test steps, expected results, and test environment configuration;

[0190] S5-4-3. According to the actual situation and needs of the project, optimize the generated test cases to make them effective and executable; manually adjust and supplement the test cases to improve the test coverage and test effect.

[0191] S5-4-4. Store the generated test cases in the test management system and integrate them with the existing test case library; add an identifier to each test case to distinguish the automatically generated targeted test cases;

[0192] S5-4-5. The system automatically executes all selected test cases, including dynamically generated targeted test cases; real-time monitoring during the test process, and collection of detailed test data;

[0193] S5-4-6. After the test is completed, the system conducts an in-depth analysis of the test results to identify potential problems and risks; the analysis results are presented in the form of a visual report, including test coverage, defects found, and key indicators of performance bottlenecks; based on the test results and feedback information, the test cases are further optimized and adjusted.

[0194] The above shows and describes the basic principles, main features and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited by the above embodiments. The above embodiments and descriptions are only preferred examples of the present invention and are not intended to limit the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, which fall within the scope of the present invention. The scope of protection of the present invention is defined by the attached claims and their equivalents.

Claims

1. Enterprise R&D process quality management platform, It is characterized in that The operation of the enterprise R&D process quality management platform includes the following steps: S1. Initialize the project instance through the system and clarify the project structure and goals; Enter the project information, and the system will generate the main project data; S2. Use the quality control service to set up code scanning and testing plans and associate them with the project subject; The configured information is converted into quality control parameters and associated with the project subject data; S3. Associating the project with the source code repository to achieve centralized management and version control of the code; Enter the address and authentication information of the source code repository, and the system will establish a connection between the project and the source code repository; S4. Set the periodicity of code scanning according to project requirements, supporting regular scanning and triggering scanning after each code submission; The set scanning cycle parameters are recorded by the system and the code scanning task is triggered at the appropriate time; S5. In the test case solution management module, upload the performance test script to the server to prepare for automated testing; The test script is uploaded to the server as input data, and the system is prepared for subsequent test execution; S6. Code scanning management in quality control service is responsible for starting code scanning tasks; The system conducts in-depth analysis of source code to identify security, reliability, and maintainability issues; After the source code is scanned, the analysis results are collected and visualized; S7. Test case management is responsible for executing test scripts, and the system automatically runs tests and collects data; The data generated by the execution of the test script is captured by the system and summarized into a test report for reference; S8. The scanning executor is responsible for asynchronously processing code scanning tasks; The task data is sent to the executor, and the execution results are returned to the system and updated to the interface; S9. Monitor the task progress through the interface and manually terminate long-running tasks; Check the task progress in real time. The system provides the function of manually terminating the task.

2. The enterprise R&D process quality management platform according to claim 1, It is characterized in that The S5 system also uses machine learning algorithms to analyze historical test data and project codes, automatically generates new test cases, and covers more scenarios and edge cases; views and selects to enable dynamically generated test cases in the test case management module; the system continuously updates and optimizes test cases based on the latest code and changes of the project, so that the test cases are synchronized with the actual situation of the project.

3. The enterprise R&D process quality management platform according to claim 1, It is characterized in that The S5 system automatically executes the generated test cases and monitors the test process in real time.

4. The enterprise R&D process quality management platform according to claim 3, It is characterized in that Collect detailed test data After the test is completed, the system uses data analysis tools to conduct in-depth analysis of the test results and automatically identify potential problems and risks; The analysis results are presented in the form of a visual report, including test coverage, defects found, and key indicators of performance bottlenecks; Based on the analysis results, the system automatically generates improvement suggestions and can selectively apply these suggestions to optimize test cases and project code.

5. The enterprise R&D process quality management platform according to claim 1, It is characterized in that The user views and chooses to enable automatically generated test cases in the test case management module; The system will continuously update and optimize test cases based on the latest code and changes of the project, so that the test cases are synchronized with the actual situation of the project.

6. The enterprise R&D process quality management platform according to claim 1, It is characterized in that The S5 system continuously optimizes test strategies and use cases based on feedback and test results to improve the effectiveness and efficiency of testing; The system uses artificial intelligence technology to predict faults and performance issues, and generates targeted test cases in advance for verification; Test optimization suggestions are reviewed and confirmed through the system interface, making the optimization process transparent and controllable.

7. The enterprise R&D process quality management platform according to claim 2, It is characterized in that The machine learning algorithm analyzes historical test data and project code including the following steps: S5-1-1. Collect all historical test data from the project's test management system, including test cases, test results, defect reports, and test environment configuration; Collect source code version information, record the project code change history and corresponding test data; S5-1-2. Extract features from the test data, including the execution time of the test cases, the number of passes and failures, the severity and frequency of defects; Perform static analysis on the project code to extract code complexity, code coverage, and code dependency features; S5-1-3. Clean the data to delete invalid and duplicate records; Standardize data formats and handle missing values ​​and outliers; S5-1-4. Select a machine learning model according to project requirements, including random forest, support vector machine, deep learning model LSTM and Transformer; S5-1-5. Use the preprocessed historical test data and project code features to train the model; The supervised learning method is adopted to train the machine learning model by taking historical test cases and results as training data.

8. The enterprise R&D process quality management platform according to claim 2, It is characterized in that The automatic generation of new test cases comprises the following steps: S5-2-1. Perform static analysis on the latest code of the project and extract code features; Compare code change history to identify new and modified code modules; S5-2-2. Use the trained machine learning model to predict new code features and generate new test cases; Generate detailed test case descriptions based on the test case suggestions output by the model, including test steps, expected results, and test environment configuration; S5-2-3. Prioritize the generated test cases based on the prediction results and the impact of the code changes; Prioritize the generation of test cases covering high-risk code modules to ensure test coverage of key functions; S5-2-4. The generated test cases are stored in the test management system and integrated with the existing test case library; Add an identifier to each test case to distinguish dynamically generated test cases; S5-2-5. During the next test execution, the system automatically selects and executes a new test case; Record test execution results and update the test case library.

9. The enterprise R&D process quality management platform according to claim 4, It is characterized in that The system uses artificial intelligence technology to predict failures and performance issues, including the following steps: S5-3-1. Perform static analysis on the latest code and performance data of the project to extract code and performance characteristics; Compare code change history to identify new and modified code modules; S5-3-2. Use the trained machine learning model to predict new code features and performance data; Generate prediction results of faults and performance issues, including fault type, probability of occurrence, and impact range; S5-3-3. Present the prediction results in a visual report, including the predicted time, impact range, and cause of failures and performance issues; Provide an interactive interface to view detailed forecast results and analysis reports; S5-3-4. The system issues early warnings for high-risk failures and performance issues based on the prediction results; Notify relevant persons in charge through email, SMS, and system notification to take preventive measures in a timely manner; S5-3-5. Based on the prediction results, the system generates suggestions for handling faults and performance issues, including repair plans and optimization measures; Provides automated processing options to automatically apply repairs and optimization measures.

10. The enterprise R&D process quality management platform according to claim 6, It is characterized in that Generating targeted test cases in advance for verification includes the following steps: S5-4-1. Based on the prediction results, identify the code modules and performance bottlenecks that need to be tested; Determine specific goals for targeted testing, including verifying code correctness, evaluating performance metrics, and detecting security vulnerabilities; S5-4-2. Generate targeted test cases using the trained machine learning model, covering high-risk modules and performance bottlenecks. The generated test cases include detailed test steps, expected results, and test environment configuration; S5-4-3. According to the actual situation and needs of the project, optimize the generated test cases to make the test cases effective and executable; manually adjust and supplement the test cases to improve the test coverage and test effect. S5-4-4. The generated test cases are stored in the test management system and integrated with the existing test case library; an identifier is added to each test case to distinguish the automatically generated targeted test cases; S5-4-5. The system automatically executes all selected test cases, including dynamically generated targeted test cases; real-time monitoring during the test process, and collection of detailed test data; S5-4-6. After the test is completed, the system conducts an in-depth analysis of the test results to identify potential problems and risks; the analysis results are presented in the form of a visual report, including test coverage, defects found, and key indicators of performance bottlenecks; based on the test results and feedback information, the test cases are further optimized and adjusted.

Citation Information

Cited By

  • Software development method and system based on low-code platform

    CN119166123A

  • Financial bank business security test method, device, equipment and medium

    CN119167379A

  • Automobile development test management method based on ALM system

    CN119597645A