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

Method and device for obtaining third-party component information of open source project

A component information, third-party technology, applied in the direction of program control device, software maintenance/management, program code conversion, etc., can solve the problems of strong dependence and insufficient third-party component information processing methods, so as to achieve low dependence. Effect

Inactive Publication Date: 2021-02-12
SECZONE TECH CO LTD
View PDF4 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Aiming at the deficiencies of the prior art, the present invention provides a method and device for obtaining third-party component information of open source projects, aiming to solve the problem that the existing composer analysis method has a strong dependence on the network environment and composer plug-in installation environment, and The problem that the processing method for obtaining third-party component information is not comprehensive enough

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 device for obtaining third-party component information of open source project
  • Method and device for obtaining third-party component information of open source project
  • Method and device for obtaining third-party component information of open source project

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] In order to describe the technical content, structural features, achieved goals and effects of the present invention in detail, the following will be described in detail in conjunction with the embodiments and accompanying drawings.

[0035] Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals designate the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary and are intended to explain the present invention and should not be construed as limiting the present invention.

[0036] Please refer to figure 1 , figure 1 It is a flowchart of a method for obtaining third-party component information of an open source project provided by the first embodiment of the present invention. Such as figure 1 As shown, a method for obtaining third-party component information ...

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 provides a method and device for obtaining third-party component information of an open source project, and the method comprises the steps: obtaining a composer.json file provided by theopen source project, and compiling a third-party component according to the composer.json file; detecting a compiling result of the third-party component; if the compilation succeeds, generating a composer.lock file, and analyzing the composer.lock file to obtain corresponding third-party component information; and if the compilation fails, analyzing the composer.json file to obtain correspondingthird-party component information. The processing method for acquiring the third-party component information is more comprehensive, and the dependence on a network environment and a composer plug-ininstallation environment is reduced.

Description

technical field [0001] The present invention relates to the field of computer information acquisition, in particular to a method and device for acquiring third-party component information of open source projects. Background technique [0002] With the wide application of open source projects, more and more open source projects need to analyze their source code and the third-party components they need to reference. By analyzing the third-party components, it is possible to accurately locate some deficiencies in the components and fix them, thereby repairing the deficiencies of the project. [0003] At present, the main tool for obtaining third-party components is composer, but the traditional composer analysis method is highly dependent on the network environment and composer plug-in installation environment, and the processing method for obtaining third-party component information is not comprehensive enough. Contents of the invention [0004] Aiming at the deficiencies o...

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/74G06F8/71G06F8/41G06F9/445
CPCG06F8/43G06F8/71G06F8/74G06F9/44526
Inventor 张小燕万振华王颉董燕李华
Owner SECZONE 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