Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Continuous integration task optimization method and device

A technology of continuous integration and optimization methods, applied in the direction of program code conversion, instruments, calculations, etc., can solve problems such as low software efficiency, and achieve the effects of improving efficiency, reducing time consumption, and improving accuracy

Active Publication Date: 2020-06-23
CHINA MOBILEHANGZHOUINFORMATION TECH CO LTD +1
View PDF12 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] This application provides an optimization method and device for continuous integration tasks to solve the technical problem of low efficiency of continuous software delivery in the prior art

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Continuous integration task optimization method and device
  • Continuous integration task optimization method and device
  • Continuous integration task optimization method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0067] A method for continuous integration task optimization provided by the embodiment of the present application will be further described in detail below in conjunction with the accompanying drawings. The specific implementation of the method may include the following steps (the method flow is as follows: figure 1 shown):

[0068] Step 101, during the software development process, the electronic device obtains source code in the software version library, and determines the actual time consumption of the continuous integration task of at least one code module included in the source code.

[0069] During the software development process, the source code of the software is stored in the database of the electronic device to obtain a software version library, and the electronic device obtains the source code of the software from the software version library, and the source code includes at least one code module, wherein, Code modules can be functional code modules or other code ...

Embodiment 2

[0111] This application provides a continuous integration task optimization device, such as figure 2 As shown, the device includes:

[0112] The obtaining module 201 is used to obtain the source code in the software version library during the software development process, and determine the actual time consumption of the continuous integration task of at least one code module included in the source code;

[0113] A determining module 202, configured to determine the theoretical time-consuming of the continuous integration task of the at least one code module based on the code amount of the at least one code module and the actual time-consuming;

[0114] A judging module 203, configured to judge whether there is a code module continuous integration task in the at least one code module, and the difference between the actual time-consuming and the theoretical time-consuming is greater than a preset threshold;

[0115] The processing module 204 is configured to optimize the conti...

Embodiment 3

[0137] This application provides an electronic device, such as image 3 As shown, the electronic equipment includes:

[0138] Memory 301, configured to store instructions executed by the processor;

[0139] The processor 302 is configured to execute instructions stored in the memory to execute the method described in the first embodiment.

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a continuous integration task optimization method and device. The method comprises the following steps: in a software development process, obtaining a source code in a softwareversion library, determining actual consumed time of continuous task integration of at least one code module included in the source code; determining theoretical time consumption of continuous task integration of the at least one code module based on the code quantity of the at least one code module and the actual time consumption, and judging whether the difference between the actual time consumption and the theoretical time consumption of the continuous integration task of the code module in the at least one code module is greater than a preset threshold, and if so, optimizing the continuous integration task of the code module based on a task optimization strategy, so that the time consumption of the continuous integration task of the code module is reduced. The technical problem that in the prior art, the software continuous delivery efficiency is low is solved.

Description

technical field [0001] The present application relates to the technical field of software development, in particular to a continuous integration task optimization method and device. Background technique [0002] In the process of software development, in order to find software integration errors as early as possible, it is usually necessary to integrate the work of multiple development members. Each member integrates at least once a day, that is to say, there may be multiple integrations per day. It is verified through automated construction, such as compilation, release, and automatic testing, and then integration errors are found. Therefore, continuous integration is an important software development practice in software development. [0003] By connecting each continuous integration task in the software development process in series to form a continuous software delivery pipeline, and the efficiency of each continuous integration task greatly affects the software delivery...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F8/41
CPCG06F8/41G06F8/4441
Inventor 乔中兴张翼飞李伟光
Owner CHINA MOBILEHANGZHOUINFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products