Continuous Integration Information Aggregation System

By designing a continuous integration information aggregation system, the lack of standardization problem in software development is solved, automated testing and vulnerability detection are realized, and the efficiency and quality of software development are improved.

CN114328185BActive Publication Date: 2024-10-22INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202111479011.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-30
Publication Date
2024-10-22
Estimated Expiration
2041-11-30

AI Technical Summary

Technical Problem

The existing technology lacks a standardized continuous integration information aggregation system, making it difficult to achieve efficient automated testing and code quality control in software development.

Method used

A continuous integration information aggregation system including multiple software information monitoring modules and data interaction modules is designed to improve software development efficiency and quality by monitoring the software development process, automating testing and deployment, detecting code vulnerabilities, and recording and tracking legacy issues. .

Benefits of technology

It realizes automated testing and vulnerability detection in the software development process, improves software development efficiency and quality, and ensures code quality and release reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114328185B_ABST
    Figure CN114328185B_ABST
Patent Text Reader

Abstract

An embodiment of the present invention relates to a continuous integration information aggregation system, comprising: multiple software information monitoring modules and a data exchange module; the multiple software information monitoring modules provide the function of monitoring the software development process; the data exchange module is used to obtain software development data, and update the obtained software development data to a database, so that the system can realize automated testing or discover code vulnerabilities in software development during the software development process, thereby improving software development efficiency and quality.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of software development, and in particular to a continuous integration information aggregation system. Background Art

[0002] Nowadays, in the era of rapid development of the Internet industry, the frequency and cycle of software product development and delivery are getting shorter and shorter.

[0003] Software development has higher and higher requirements for development efficiency and product quality. Continuous integration is a software development practice, that is, team members frequently integrate their work, usually each member integrates at least once a day, which means that multiple integrations may occur every day. Each integration is verified by automated builds to detect integration errors as early as possible. The purpose of continuous integration is to allow products to iterate quickly while maintaining high quality. Before the code is integrated into the trunk, it must pass automated testing. As long as one test case fails, it cannot be integrated. Therefore, a large part of agile software development is due to continuous integration. However, there is currently no fully standardized universal continuous integration information aggregation system for the development of a new software product. Therefore, a fully standardized and universal continuous integration information aggregation system has become an important part of software development. Summary of the invention

[0004] In view of this, in order to solve the above technical problems or part of the technical problems, an embodiment of the present invention provides a continuous integration information aggregation system.

[0005] In a first aspect, an embodiment of the present invention provides a continuous integration information aggregation system, including: a plurality of software information monitoring modules and a data interaction module;

[0006] The multiple software information monitoring modules provide a function of monitoring the software development process;

[0007] The data exchange module is used to obtain software development data and update the obtained software development data to a database.

[0008] Optionally, the multiple software information monitoring modules include: a software basic environment information display module, a software progress dashboard module, a static inspection module, an automated use case module, an automated deployment module, a Mantis Bug tracking and analysis module, and a legacy issue tracking module.

[0009] Optionally, the software basic environment information display module is used to display basic environment information of software in the development process.

[0010] Optionally, the software progress dashboard module is used to display the development nodes of the software in the development process;

[0011] Determining whether the software is released is based on the development node.

[0012] Optionally, the static checking module is used to detect vulnerabilities in the development code of the software in the development process and display the detection results;

[0013] The development codes with no vulnerabilities found are updated to the database, and the software information of the development codes with vulnerabilities is recorded.

[0014] Optionally, the automated use case module is used to perform use case testing on software in the development process to detect software functions.

[0015] Optionally, the automated deployment module is used to associate and deploy software with an environment in which the software is to be run.

[0016] Optionally, the Mantis Bug tracking and analysis module is used to receive Bug data obtained by testing the software and / or test data that failed when performing use case testing on the software in the development process;

[0017] The bug data and / or the test data are displayed and the problem handling results are recorded.

[0018] Optionally, the legacy issue tracking module is used to record legacy issues generated during the software development process;

[0019] Setting a final resolution time for the outstanding issues;

[0020] When the interval between the current time and the final resolution time is less than or equal to the time threshold, a prompt message is triggered.

[0021] Optionally, the system further includes a directory navigation module;

[0022] The directory navigation module is used to display multiple software information monitoring modules.

[0023] The continuous integration information aggregation system provided by the embodiment of the present invention includes: multiple software information monitoring modules and a data exchange module; the multiple software information monitoring modules provide the function of monitoring the software development process; the data exchange module is used to obtain software development data, and update the obtained software development data to a database. With this system, automated testing can be implemented or code vulnerabilities of software development can be discovered during the software development process, thereby improving software development efficiency and quality. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 A schematic diagram of the structure of a continuous integration information aggregation system provided by the present invention. DETAILED DESCRIPTION

[0025] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are 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.

[0026] To facilitate understanding of the embodiments of the present invention, specific embodiments will be further explained below in conjunction with the accompanying drawings. The embodiments do not constitute a limitation on the embodiments of the present invention.

[0027] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions.

[0028] Although the embodiments of the present invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention. The scope of the present invention is defined by the appended claims and their equivalents, and the embodiments do not constitute limitations on the embodiments of the present invention.

[0029] Figure 1 A structural diagram of a continuous integration information aggregation system provided by the present invention, such as Figure 1 As shown, the present invention can adopt standardized processes to integrate various technologies such as centos, python, django, layui, crawlers, mysql, etc. to complete the construction of the continuous integration information aggregation system. The language, framework, database and development environment used by the system can be completed as follows: build or use the existing centos system environment for system development; the front end can adopt the layui framework, and the latest version can be downloaded directly from the official website; the back end can be completed using the python scripting language and the django framework; the database is installed using the mysql database, and the basic association configuration of the django framework and the database is completed; static inspection, Mantis Bug tracking analysis and other functions need to be connected to the external website system, and the data is obtained by the python crawler method.

[0030] Optionally, the homepage of the page built with the Django framework and the LayUI application framework includes a menu bar, and the menu bar includes multiple software information monitoring modules of the continuous integration information aggregation system.

[0031] The continuous integration information aggregation system of the present invention specifically includes: multiple software information monitoring modules and a data exchange module; wherein the multiple software information monitoring modules provide the function of monitoring the software development process; the data exchange module is used to obtain software development data, and update the obtained software development data to the database.

[0032] Furthermore, the front-end page interaction of the data interaction module uses the template of the Django framework and the method provided by the LayUI application framework to obtain various software development data in the software development process. The obtained software development data can be directly written, modified and updated by operating the MySQL database through Python.

[0033] Furthermore, the multiple software information monitoring modules include a software basic environment information display module, a software progress dashboard module, a static inspection module, an automated use case module, an automated deployment module, a Mantis Bug tracking and analysis module, and a legacy issue tracking module.

[0034] Optionally, the software basic environment information display module is used to display the basic environment information of the software in the development process. For continuous integration, building basic environment information for software development is the most basic and indispensable, and is an important symbol of continuous integration. Developers can trigger the opening of the display page by clicking the basic environment information display module in the menu bar. The content of the display page displays the basic environment information of each software development project. The main environment information is presented in the database table. The data interaction is triggered by the add, delete, modify and check buttons of layui to perform real-time update, modification and maintenance of the environment information.

[0035] Optionally, the software progress dashboard module is used to display the development nodes of the software in the development process, and whether the software is released can be determined based on the development nodes.

[0036] Specifically, each development node is presented in the database table for addition, deletion, modification and query, and the development stage of each software development, such as pre-research, TR4, TR5, board closing, project completion and other nodes, is judged, and can be distinguished by different colors to highlight the current node of software development. At the same time, after the initial development of the software is completed, multiple rounds of testing are carried out until the test results meet expectations after several rounds of testing, and the software can be released.

[0037] Optionally, the static check module is used to detect vulnerabilities in the development code of the software in the development process and display the detection results; update the development code without vulnerabilities to the database, and record the software information of the development code with vulnerabilities.

[0038] Specifically, the page of the static inspection module displays the page address of each static inspection tool, and crawls the static inspection page of the software through pythonrequest, such as the scanning results of Coverity, Fority and other scanning platforms, uses python and html to analyze and splice, outputs the overall scanning results of each software, and displays them. Among them, the scanning results can include: software development code quality, whether there are security issues, information related to existing security issues, software vulnerabilities, functional vulnerabilities, etc.

[0039] Optionally, you can also set up scheduled tasks, for example, automatically trigger static inspection scans at dawn every day, call the crawling interface to update and synchronize the software development code after the scan is completed, and perform static inspections on the software development code, that is, after the developer has developed the software code every day, perform automatic scanning at dawn every day to find vulnerabilities and problems in time. The developer can see the vulnerabilities and problems that appeared the day before the next day, and solve them in time to improve the quality of software development.

[0040] Optionally, the automated use case module is used to perform use case testing on software in the development process and detect software functions, including: a single automated use case, displaying the use case's commands, steps, additions, deletions, modifications, and inquiries in a page data table, adding an execution button, and the tester can click the execution button to trigger the transmission of the command tasks that need to be executed by the use case to the background to execute the use case. Alternatively, use case set task creation: combine and sort the above-mentioned single automated use cases into a use case set, and also present them in a page data table, add an execution button to trigger execution. Through automated use case testing, if there is a test case failure, the software development code cannot be integrated. If there is no test case failure, the software development code can be integrated.

[0041] Optionally, the automated deployment module is used to associate and deploy the software with the environment in which the software is to be run.

[0042] Specifically, place the environment and device information that need to be deployed in a table that can be added, deleted, modified and queried, query and associate the software products built through continuous integration with the environment to be deployed, and then trigger the execution of automated deployment.

[0043] Optionally, the Mantis Bug Tracking and Analysis Module is used to receive Bug data obtained from testing the software and / or test data that failed when the software in the development process was tested with a use case; display the Bug data and / or the test data and record the problem handling results. That is, the problems that arise when the test case tests one or more functions of the software are recorded, or the Bugs that arise when the tester tests the software are recorded, and the recorded problems are displayed. When the developer sees the existing problems, he can perform processing operations such as code modification, and the Mantis Bug Tracking and Analysis Module can also record the developer's processing operations.

[0044] Optionally, the legacy issue tracking module is used to record legacy issues generated during the software development process; set a final resolution time for the legacy issues; and trigger a prompt message when the interval between the current time and the final resolution time is less than or equal to a time threshold.

[0045] Specifically, the legacy issues generated at each stage of the software development process can be recorded in the legacy issue tracking table of the legacy issue tracking module, and the final resolution time can be set. A scheduled task can be set in the background to automatically read the final resolution time of each legacy issue set according to the preset time (for example, 9 am every day) and determine the time interval between the current time and the final resolution time. When the time interval is less than or equal to the time threshold (for example, 2 days), Python is used to automatically send emails to remind relevant developers, so that the relevant developers can solve the legacy issues in a timely manner to ensure software development efficiency.

[0046] Optionally, the continuous integration information aggregation system of the present invention further includes a directory navigation module; the directory navigation module is used to display multiple software information monitoring modules.

Claims

1. A continuous integration information aggregation system, characterized in that: include: Multiple software information monitoring modules and data interaction modules; The multiple software information monitoring modules provide a function of monitoring the software development process, and the multiple software information monitoring modules include a software basic environment information display module, a software progress dashboard module, a static inspection module, an automated use case module, an automated deployment module, a Mantis Bug tracking and analysis module, and a legacy problem tracking module; The static inspection module is used to regularly detect vulnerabilities in the development code of the software in the development process and display the detection results; Update the development code with no vulnerabilities to the database, and record the software information of the development code with vulnerabilities; The method of regularly detecting vulnerabilities in the development code of software in the development process includes: Trigger a static check scan of the software, call the crawling interface to update the synchronized software development code, and perform a static check on the software development code; The automated use case module is used to perform use case testing on software in the development process and detect software functions, including: displaying the commands, steps, additions, deletions, modifications and inquiries of the use case in the page data table, adding an execution button so that the tester can click the execution button to trigger the transmission of the command task to be executed by the use case to the background to execute the use case; The Mantis Bug tracking and analysis module is used to receive Bug data obtained by testing software and / or test data that failed when performing use case testing on software in the development process; display the Bug data and / or the test data so that developers can handle problems based on the Bug and / or the test data, and record the problem handling results; The data interaction module is used to obtain various software development data in the software development process, and to update the obtained software development data to the database.

2. The system according to claim 1, characterized in that The software basic environment information display module is used to display the basic environment information of the software in the development process.

3. The system according to claim 1, characterized in that The software progress dashboard module is used to display the development nodes of the software in the development process; Determining whether the software is released is based on the development node.

4. The system according to claim 1, characterized in that The automatic deployment module is used to associate and deploy software with the environment in which the software is to be run.

5. The system according to claim 1, characterized in that The legacy issue tracking module is used to record the legacy issues generated during the software development process; Setting a final resolution time for the outstanding issues; When the interval between the current time and the final resolution time is less than or equal to the time threshold, a prompt message is triggered.

6. The system according to claim 1, characterized in that The system also includes a directory navigation module; The directory navigation module is used to display multiple software information monitoring modules.

Citation Information

Patent Citations

  • Continuous software project integration method and device

    CN105955749A

  • Continuous integrating method and device for virtual cloud system

    CN106227657A

  • Static code scanning result processing method and device

    CN108304327A

  • Method and system for automatically reporting software defects

    CN109189674A

  • A continuous integration method and a continuous integration system

    CN109408382A