Automatic assembly line verification statistical method, device and system for application software

Through the automated pipeline verification statistical method, the problem of low efficiency of existing pipeline verification is solved, fast and efficient verification rate statistics are achieved, and verification efficiency is improved.

CN119807074APending Publication Date: 2025-04-11INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510022408.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-07
Publication Date
2025-04-11

AI Technical Summary

Technical Problem

The existing pipeline verification process is slow, which affects the verification efficiency, especially due to the large source data, which leads to inefficient verification rate statistical efficiency.

Method used

Through the automated pipeline verification statistical method, the original verification rate data table of the application software to be verified is read, the data is filtered according to the specified filter conditions, a new verification rate data table is generated, and the verification rate statistical results are calculated using preset formulas.

Benefits of technology

It improves the verification rate statistical efficiency of the application software, reduces the calculation amount, and realizes the verification rate statistical results without manual processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119807074A_ABST
    Figure CN119807074A_ABST
Patent Text Reader

Abstract

The invention discloses an automatic assembly line verification statistical method, device and equipment for application software and a storage medium, and relates to the field of software testing.The method comprises the steps that an original verification rate data table of to-be-verified application software is read; performing data screening on the original verification rate data table according to a specified screening condition, and generating a new verification rate data table according to screened effective data; and calculating the data in the new verification rate data table by using a preset formula to obtain a verification rate statistical result. According to the scheme provided by the invention, the verification rate statistical efficiency of the application software is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of software testing, and in particular to an automated pipeline verification statistical method, device, equipment and storage medium for application software. Background Art

[0002] Continuous delivery standardization transformation refers to the automation and standardization of software development and delivery processes through the construction of a series of standardized processes and tool chains, thereby improving the speed and quality of software releases and reducing risks.

[0003] Specifically, continuous delivery standardization means: through the standardization of release units, standard requirements are formulated in terms of code base, build deployment, product management, etc., the management granularity of code base and version package (product) is clarified, management is standardized, redundancy is eliminated, and a standardized delivery process of tool chain capabilities such as code management, build and deployment, product management, and production is created. After the application software completes the continuous delivery standardization transformation, it is necessary to monitor the verification rate of the continuous deployment pipeline in real time before going into production to ensure the security and stability of the production upper limit process.

[0004] The current pipeline verification is based on the pivot table function of the table tool to achieve verification rate statistics for each application software. However, due to the large source data, the current pipeline verification process is slow, affecting the verification efficiency. Summary of the invention

[0005] The present invention provides an automated pipeline verification statistics method, device, equipment and storage medium for application software, which improves the verification rate statistics efficiency of application software.

[0006] According to one aspect of the present invention, there is provided an automated pipeline verification statistical method for application software, comprising:

[0007] Read the original verification rate data table of the application software to be verified;

[0008] The original verification rate data table is screened according to the specified screening conditions, and a new verification rate data table is generated according to the screened valid data;

[0009] The verification rate statistics are calculated using a preset formula for the data in the new verification rate data table.

[0010] In one embodiment, the verification rate statistics are calculated using a preset formula for the data in the new verification rate data table, including:

[0011] The verification rate statistics are calculated using a preset formula for the data in the new verification rate data table, and the verification rate statistics are displayed in the new verification rate data table.

[0012] In one embodiment, the verification rate statistics are displayed in a new verification rate data table, including:

[0013] The verification rate statistics are highlighted in the new verification rate data table.

[0014] In one embodiment, the verification rate statistics are displayed in a new verification rate data table, including:

[0015] The new verification rate data table highlights the verification rate statistics that do not reach the preset threshold.

[0016] In one embodiment, reading the original verification rate data table of the application software to be verified includes:

[0017] When obtaining a pipeline verification statistics request for the application software to be verified, the original verification rate data table of the application software to be verified is read.

[0018] In one embodiment, the specified screening conditions include at least one of the following: verification time range, verification department, and verification pipeline.

[0019] In one embodiment, the verification rate statistics include the development center verification rate and the industry research center verification rate.

[0020] According to another aspect of the present invention, there is provided an automated pipeline verification and statistics device for application software, comprising:

[0021] A reading module, used for reading the original verification rate data table of the application software to be verified;

[0022] A screening module is used to screen the original verification rate data table according to the specified screening conditions, and generate a new verification rate data table according to the screened valid data;

[0023] The statistical module is used to calculate the verification rate statistical results using a preset formula for the data in the new verification rate data table.

[0024] According to another aspect of the present invention, there is provided an electronic device, comprising: a processor, and a memory communicatively connected to the processor;

[0025] Memory stores computer-executable instructions;

[0026] The processor executes the computer-executable instructions stored in the memory to implement the automated pipeline verification statistical method of the above application software.

[0027] According to another aspect of the present invention, a computer-readable storage medium is provided, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the automated pipeline verification statistical method of the above-mentioned application software.

[0028] According to another aspect of the present invention, there is provided a computer program product, comprising a computer program stored in a computer-readable storage medium, from which at least one processor can read the computer program, and the at least one processor implements the above-mentioned automated pipeline verification statistical method for the application software when executing the computer program.

[0029] The technical solution of the embodiment of the present invention, after reading the original verification rate data table of the application software to be verified, performs data screening on the original verification rate data table according to specified screening conditions, generates a new verification rate data table according to the screened valid data, and then uses a preset formula to calculate the data in the new verification rate data table to obtain the verification rate statistical results. It adopts an automated pipeline verification statistical method, and does not require manual processing. It only needs to specify the required screening conditions to obtain the verification rate statistical results of the application software, which reduces the calculation amount of verification rate statistics and improves statistical efficiency.

[0030] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0032] Figure 1 A flowchart of an automated pipeline verification statistical method for application software provided by an embodiment of the present invention;

[0033] Figure 2 A schematic diagram of the structure of an automated pipeline verification and statistics device for application software provided by an embodiment of the present invention;

[0034] Figure 3 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0035] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiment of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiment of the present invention. Obviously, the described embodiment is only an embodiment of a part of the present invention, not all of the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work should fall within the scope of protection of the present invention. The acquisition, storage, use, and processing of data in the technical scheme of this application comply with the relevant provisions of national laws and regulations.

[0036] Figure 1 A flowchart of an automated pipeline verification statistical method for application software provided by an embodiment of the present invention is shown in FIG. Figure 1 As shown, the automated pipeline verification statistical method for application software provided in this embodiment includes:

[0037] Step S110, reading the original verification rate data table of the application software to be verified.

[0038] The automated pipeline verification and statistical method for application software provided in the embodiments of the present application is applied to any computer or server with processing capabilities, which is used for automated pipeline verification and statistics of application software, and the computer or server can be deployed locally or in the cloud. For application software, after completing the continuous interaction standardization transformation, it is necessary to monitor the verification rate of the deployment pipeline in real time before the upper limit of production. The continuous deployment pipeline refers to a tool for putting application software that has undergone continuous delivery standardization transformation into production.

[0039] For the application software to be verified, in order to count its verification rate, it is first necessary to obtain the original verification rate data table. The original verification rate data table is a table composed of various data recorded when the application software is verified on the continuous deployment pipeline. When the application software is used on a large scale, it needs to be fully verified. Therefore, the longer the continuous deployment pipeline is, the more verification departments there are, and the more data there is in the original verification rate data table. For the original verification rate data table that includes massive data, it requires a lot of work to count it. In this embodiment, an automated verification rate statistics method is provided. The original verification rate data table of the application software to be verified can include the verification rate data of one application software to be verified, and can also include the verification rate data of all application software on the continuous deployment pipeline.

[0040] Step S120 , screening the original verification rate data table according to the specified screening conditions, and generating a new verification rate data table according to the screened valid data.

[0041] After reading the original verification rate data table of the application software to be verified, it is first necessary to filter it, obtain the valid data in the original verification rate data table under the specified filtering conditions, and generate a new verification rate data table based on the filtered valid data. The original verification rate data table includes all the verification rate data of the application software to be verified on the continuous deployment pipeline, or the original verification rate data table includes all the verification rate data of all application software deployed on the continuous deployment pipeline. For the verification rate statistics of application software, generally, the verification rate data that meets certain conditions will be counted according to the needs, such as the verification rate data for a certain time period, or the verification rate data of the application software for a certain business department. Therefore, it is necessary to filter the data in the original verification rate data table according to the specified filtering conditions to obtain a new verification rate data table.

[0042] The specified screening conditions for screening the data of the original verification rate data table include at least one of the following: verification time range, verification department, and verification pipeline. That is, statistics can be collected for verification rate data within a certain time range, or for verification rate data of a certain verification department, or for verification rate data of a certain verification pipeline, etc.

[0043] Step S130: Using a preset formula to calculate the data in the new verification rate data table to obtain verification rate statistics.

[0044] After obtaining the new verification rate data table, the verification rate statistics of the application software to be verified can be calculated using a preset formula. The preset formula can be at least one statistical calculation formula for the verification rate, such as the total number of verified applications, the proportion of verified applications to the total number of verified applications, etc. After obtaining the verification rate statistics, if the statistical result is higher than the preset threshold, the application software meets the production requirements and can be put into production. If the statistical result is not higher than the preset threshold, the developer of the application software can continue to develop the application software.

[0045] The verification of the continuous deployment pipeline of application software mainly includes two categories: development center verification and industry research center verification. Among them, development center verification means that the continuous deployment pipeline needs to be fully verified and tested in advance before it can be used by the application software for production and launch. Therefore, the process of verification in the development center environment is called development center verification. Industry research center verification means that the continuous deployment pipeline needs to be fully verified and tested in advance before it can be used by the application software for production and launch. Therefore, the process of verification in the industry research center environment is called industry research center verification. Then accordingly, the verification rate of application software includes two categories: development center verification rate and industry research center verification rate. Among them, the development center verification rate refers to the percentage of all pipelines in an application software that have completed development center verification within the total number of pipelines. The industry research center verification rate refers to the percentage of all pipelines in an application software that have completed industry research center verification within the total number of pipelines.

[0046] In the embodiment of the present application, the verification rate statistics include the development center verification rate and the industry research center verification rate.

[0047] Furthermore, after calculating the verification rate statistics using a preset formula for the data in the new verification rate data table, the verification rate statistics can be displayed in the new verification rate data table, that is, in the verification rate data table generated by the screened valid data, the display of the verification rate statistics is added, so that the application software developer can not only intuitively see the verification rate statistics, but also see the statistical data of the verification rate at the same time, so that the developer can analyze the reasons for the pass / fail of the verification rate of the application software, and provide a basis for the subsequent development and update of the application software.

[0048] Furthermore, when displaying the verification rate statistics in the new verification rate data table, the verification rate statistics can be highlighted. For example, the relevant content of the verification rate statistics can be bolded, highlighted, marked with color, etc., so as to more conveniently view the verification rate statistics. The highlight display rules for the verification rate statistics can be designed by the user or have a default design.

[0049] Furthermore, when displaying the verification rate statistics in the new verification rate data table, the verification rate statistics that do not reach the preset threshold can be highlighted in the new verification rate data table. Since the pass rate that does not reach the preset threshold is of greater concern to the user, when highlighting the verification rate statistics, only the verification rate statistics that do not reach the preset threshold can be highlighted. Alternatively, the verification rate statistics that reach the preset threshold and the verification rate statistics that do not reach the preset threshold can be displayed separately using different highlight display methods.

[0050] The automated pipeline verification and statistical method for application software provided in this embodiment, after reading the original verification rate data table of the application software to be verified, performs data screening on the original verification rate data table according to specified screening conditions, generates a new verification rate data table according to the screened valid data, and then uses a preset formula to calculate the data in the new verification rate data table to obtain the verification rate statistical results. An automated pipeline verification and statistical method is adopted, and there is no need for manual processing. The verification rate statistical results of the application software can be obtained by simply specifying the required screening conditions, which reduces the calculation amount of the verification rate statistics and improves the statistical efficiency.

[0051] Furthermore, when obtaining the pipeline verification statistics request for the application software to be verified, the original verification rate data table of the application software to be verified can be read. That is, the trigger condition for obtaining the original verification rate data table of the application software to be verified is to obtain the pipeline verification statistics request for the application software to be verified. When the user needs to perform verification statistics on the application software to be verified, a verification statistics request can be sent, and the verification statistics request can also include screening conditions for the verification rate data, or can also include personalized settings such as the focus display method of the verification rate statistics results.

[0052] The automated pipeline verification and statistical method for application software provided in the embodiment of the present application can be designed into a complete automated statistical calculation tool through any programming language. For example, based on the preset functions of reading, calculating, generating, and saving tables in a common programming language, the original verification rate data table can be read first, and then the valid data can be filtered and saved to the new verification rate data table through the specified filtering conditions set by the user; secondly, a calculation formula is set or a preset calculation formula is used to calculate the valid data according to the calculation formula to obtain the expected verification rate statistical results, and the results are saved to a new page or a new cell of the new verification rate data table; finally, the format of the new table can be adjusted, and the verification rate results that need to be paid special attention can be bolded and marked in red to facilitate the convenience of users to view the results.

[0053] For an automated statistical tool that implements the automated pipeline verification statistical method for application software provided in the embodiments of the present application, a specific automated statistical tool mainly includes the following functional logic.

[0054] 1. Identify and obtain the main information of the source data in the original verification rate data table: including the abbreviation of the application software, the name of the continuous deployment pipeline, the verification status of the development center, the verification status of the industry research center, etc.

[0055] 2. Create a result report framework: including the application abbreviation, the total number of continuous deployment pipelines, the number of verified continuous deployment pipelines, the verification rate of the development center, and the verification rate of the industry research center.

[0056] 3. Statistical calculation: Based on the application abbreviation, use statistical algorithms to calculate the total number of continuous deployment pipelines and the number of verified continuous deployment pipelines, and fill each application abbreviation and its corresponding total number of continuous deployment pipelines and the number of verified continuous deployment pipelines into the result report. Create a percentage calculation function to calculate the development center verification rate and the industry research center verification rate, and also add them to the result report.

[0057] 4. Adjust the format: adjust the font size and format aesthetics of the result report. At the same time, the cells for the development center verification rate and industry research center verification rate that do not meet the requirements are marked in red and bold to achieve the prompt function.

[0058] 5. After everything is completed, print and save the corresponding result report to the local computer, and the whole process is completed.

[0059] For the above-mentioned automated statistical tool, when using it, first obtain the original data to be counted to the directory at the same level as the tool, and then execute the screening and statistical functions of the automated statistical tool. The corresponding result report will be generated for the user to the directory at the same level, and a prompt "Calculation completed" will be displayed.

[0060] Figure 2 A schematic diagram of the structure of an automated pipeline verification and statistics device for application software provided by an embodiment of the present invention, such as Figure 2 As shown, the automatic pipeline verification and statistical device for application software provided in this embodiment includes:

[0061] The reading module 21 is used to read the original verification rate data table of the application software to be verified; the screening module 22 is used to screen the data in the original verification rate data table according to the specified screening conditions, and generate a new verification rate data table according to the screened valid data; the statistical module 23 is used to use a preset formula to calculate the verification rate statistical results for the data in the new verification rate data table.

[0062] The automated pipeline verification and statistical device for application software provided in this embodiment is used to implement Figure 1 The implementation principle and technical effect of the automated pipeline verification statistical method for application software provided in the illustrated embodiment are similar and will not be described in detail here.

[0063] In one embodiment, the statistical module 23 is specifically configured to calculate the verification rate statistical results using a preset formula on the data in the new verification rate data table, and display the verification rate statistical results in the new verification rate data table.

[0064] In one embodiment, the statistical module 23 is specifically configured to focus on displaying the verification rate statistical results in the new verification rate data table.

[0065] In one embodiment, the statistical module 23 is specifically configured to focus on displaying the statistical results of the verification rates that do not reach a preset threshold in the new verification rate data table.

[0066] In one embodiment, the reading module 21 is specifically configured to read the original verification rate data table of the application software to be verified when obtaining a pipeline verification statistics request for the application software to be verified.

[0067] In one embodiment, the specified screening conditions include at least one of the following: verification time range, verification department, and verification pipeline.

[0068] In one embodiment, the verification rate statistics include the development center verification rate and the industry research center verification rate.

[0069] Figure 3 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 3 As shown, the electronic device may include: a transceiver 31 , a processor 32 , and a memory 33 .

[0070] The processor 32 executes the computer execution instructions stored in the memory, so that the processor 32 executes the scheme in the above embodiment. The processor 32 can be a general-purpose processor, including a central processing unit CPU, a network processor (NP), etc.; it can also be a digital signal processor DSP, an application-specific integrated circuit ASIC, a field programmable gate array FPGA or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.

[0071] The memory 33 is connected to the processor 32 via a system bus and completes communication between them. The memory 33 is used to store computer program instructions.

[0072] The transceiver 31 may be used to obtain tasks to be executed and configuration information of the tasks to be executed.

[0073] The system bus can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The system bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus. The transceiver is used to realize the communication between the database access device and other computers (such as clients, read-write libraries, and read-only libraries). The memory may include random access memory (RAM) and may also include non-volatile memory.

[0074] The electronic device provided in the embodiment of the present application may be a computer or server deployed by the automated pipeline verification and statistical device of the application software in the above-mentioned embodiment.

[0075] An embodiment of the present application also provides a computer-readable storage medium, in which computer instructions are stored. When the computer instructions are executed on a computer, the computer executes the technical solution of the automated pipeline verification statistical method of the application software of the above embodiment.

[0076] An embodiment of the present application also provides a computer program product, which includes a computer program stored in a computer-readable storage medium. At least one processor can read the computer program from the computer-readable storage medium. When at least one processor executes the computer program, it can implement the technical solution of the automated pipeline verification statistical method of the application software in the above embodiment.

[0077] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0078] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A statistical method for automated pipeline verification of application software, characterized in that: include: Read the original verification rate data table of the application software to be verified; Screening the original verification rate data table according to the specified screening conditions, and generating a new verification rate data table according to the screened valid data; The verification rate statistics are calculated using a preset formula on the data in the new verification rate data table.

2. The method according to claim 1, characterized in that The method of calculating the verification rate statistics using a preset formula for the data in the new verification rate data table includes: The verification rate statistics are calculated using a preset formula for the data in the new verification rate data table to obtain the verification rate statistics, and the verification rate statistics are displayed in the new verification rate data table.

3. The method according to claim 2, characterized in that The displaying of the verification rate statistics in the new verification rate data table includes: The verification rate statistics are highlighted in the new verification rate data table.

4. The method according to claim 3, characterized in that The displaying of the verification rate statistics in the new verification rate data table includes: The new verification rate data table focuses on displaying verification rate statistics that do not reach a preset threshold.

5. The method according to any one of claims 1 to 4, characterized in that: The method of reading the original verification rate data table of the application software to be verified includes: When obtaining the pipeline verification statistics request for the application software to be verified, the original verification rate data table of the application software to be verified is read.

6. The method according to any one of claims 1 to 4, characterized in that: The specified screening conditions include at least one of the following: verification time range, verification department, and verification pipeline.

7. The method according to any one of claims 1 to 4, characterized in that: The verification rate statistics include the development center verification rate and the industry research center verification rate.

8. An automated pipeline verification and statistical device for application software, characterized in that: include: A reading module, used for reading the original verification rate data table of the application software to be verified; A screening module, used to screen the original verification rate data table according to a specified screening condition, and generate a new verification rate data table according to the screened valid data; The statistical module is used to calculate the verification rate statistical results using a preset formula on the data in the new verification rate data table.

9. An electronic device, characterized in that: include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the automated pipeline verification statistical method for application software according to any one of claims 1-7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement an automated pipeline verification statistical method for application software according to any one of claims 1 to 7.

11. A computer program product, characterized in that It includes a computer program stored in a computer-readable storage medium. At least one processor can read the computer program from the computer-readable storage medium. When the at least one processor executes the computer program, the automated pipeline verification statistical method for the application software as described in any one of claims 1 to 7 can be implemented.