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

Component matching method and device, electronic equipment and computer readable storage medium

A component and to-be-matched technology, applied in the field of component matching, can solve the problem of long overall time-consuming, and achieve the effect of improving efficiency and shortening time.

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

AI Technical Summary

Problems solved by technology

But in this way, when faced with a large number of codes and files, the overall matching takes a long time

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
  • Component matching method and device, electronic equipment and computer readable storage medium
  • Component matching method and device, electronic equipment and computer readable storage medium
  • Component matching method and device, electronic equipment and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] In order to describe in detail the technical content, structural features, achieved objects and effects of the present application, detailed descriptions are given below with reference to the embodiments and the accompanying drawings.

[0035] see Figure 1 to Figure 4 , an embodiment of the present application discloses a method for component matching, including:

[0036] 101. Encode all folders and all files under at least part of the level directory of the component to be matched with the first code and the second code, respectively, to form the structure to be matched. That is, all folders are encoded with the same first code, all files are encoded with the same second code, and the to-be-matched structure obtained after the component to be matched is encoded has a corresponding structure to the to-be-matched component.

[0037] Exemplarily, the first code and the second code may be encoded with binary symbols "1" and "0" respectively, that is, all folders are enco...

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 component matching method and device, electronic equipment and a computer readable storage medium. The component matching method comprises the steps that all folders and all files under at least part of level directories of a to-be-matched component are coded through first codes and second codes to form a to-be-matched structure; coding structure matching is carried out on the to-be-matched structure and all component structures in a matching library, all folders and all files under at least part of level directories of all components in the component library are coded through third codes and fourth codes respectively to obtain all the component structures, and the first codes are the same as or correspond to the third codes; the second code is the same as or corresponds to the fourth code; and determining whether the component structure is successfully matched or not according to a matching result. According to the invention, the assembly matching time can be shortened.

Description

technical field [0001] The present application relates to the technical field of component matching, and in particular, to a method, apparatus, electronic device, and computer-readable storage medium for component matching. Background technique [0002] With the rise of open source components, more and more enterprises tamper with open source components to form new components for use. In order to trace the source of the current tampered open source components, file-level matching algorithms and codes are routinely used in the market. Level matching algorithm, through file Hash matching and line-level matching algorithm for code fragments, the matching degree calculation and source traceability of open source components are performed. However, in this way, when faced with a large number of codes and files, the overall matching takes a long time. [0003] Therefore, it is necessary to provide a component matching method that is beneficial to shorten the matching time to solve...

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/41
CPCG06F8/44
Inventor 尹杰万振华王颉李华董燕
Owner SECZONE TECH CO LTD