Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and system for solving optimal version of open source component in software project

A software project and component technology, applied in version control, software maintenance/management, platform integrity maintenance, etc., can solve problems such as unsolvable third-party components, and achieve the effect of recommending effective and avoiding invalid

Pending Publication Date: 2022-08-09
SECZONE TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In the field of software development, software composition analysis (SCA, Software Composition Analysis) tools are generally used to analyze third-party components (open source components) in the project, and display risk information such as vulnerabilities and licenses of these components, and give these problematic components The third-party component recommends a replacement version to solve the problem. Although the replacement version may fix the problems of the current component, due to the corresponding dependencies between the various open source components in the project, after the replacement version, it may lead to new The problem component comes out
So it is fundamentally impossible to solve the problem of third-party components in the project

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
  • Method and system for solving optimal version of open source component in software project
  • Method and system for solving optimal version of open source component in software project
  • Method and system for solving optimal version of open source component in software project

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] In order to describe the technical content, structural features, achieved objects and effects of the present invention in detail, the following detailed description is given in conjunction with the embodiments and the accompanying drawings.

[0045] This embodiment discloses a method for finding the optimal version of an open source component in a software project, so as to make an optimal and effective recommendation for the version of an open source component used in a software development project, and use the recommended corresponding version in the project open source components that do not introduce new risks. In order to facilitate the understanding of the method in this embodiment, the involved basic knowledge is first described. In software development projects, in order to improve development efficiency, a large number of open source components (also called third-party components) are generally used, and the open source components used in the project can be ana...

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 method and a system for solving an optimal version of an open source component in a software project. The method comprises the following steps: acquiring a dependency tree of the open source component of a target project; sequentially traversing and processing each sub-tree of the dependency tree from each root node of the dependency tree by adopting a backtracking method; obtaining a sorting solution set of the subtree; performing comprehensive analysis on the sorting solution sets of all the sub-trees to obtain a comprehensive solution set corresponding to the target item; according to the comprehensive solution set, combining the recorded dependency relationship tree corresponding to each sorting solution, and analyzing an optimal solution set of an open source component push plate version corresponding to the target item; through the method, from the perspective of the whole target project, on the basis of analyzing the risk degree of each open source component, all open source components in the target project are synthesized to give an optimal version recommendation set, so that invalid open source component version recommendation is avoided, and the recommendation is more effective to adapt to the current target project.

Description

technical field [0001] The invention relates to the technical field of open source component version sorting, in particular to a method and system for solving the optimal version of an open source component in a software project. Background technique [0002] In the field of software development, software composition analysis (SCA, Software Composition Analysis) tools are generally used to analyze third-party components (open source components) in the project, and display risk information such as vulnerabilities and licenses of these components, and give these problematic components. The third-party component recommends a replacement version to solve the problem. Although the replacement version may fix the problem of the current component, due to the corresponding dependencies between the various open source components in the project, after the replacement version, it may lead to new The problem component comes out. Therefore, it is fundamentally impossible to solve the pr...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/71G06F21/57
CPCG06F8/71G06F21/577
Inventor 汪杰万振华王颉李华董燕
Owner SECZONE TECH CO LTD