Method and system for identifying open-source software package based on binary files
First Claim
1. A method for identifying an open-source software package from a binary file for which an open-source license is to be checked, the method comprising:
- accessing a database generated to include a plurality of open-source software packages having a plurality of open-source files, a plurality of open-source software package names, a plurality of open-source file names, and open-source software package version information, based on a plurality of first identifiers included in each of the plurality of open-source files;
receiving the binary file;
extracting at least one second identifier included in the binary file by performing a string search on the binary file; and
extracting at least one first identifier that matches the at least one second identifier from the database, and outputting an open-source software package and open-source software package version information corresponding to the at least one first identifier,wherein the extracting of the at least one second identifier included in the binary file includes;
extracting at least one open-source software package name and at least one open-source file name corresponding to the at least one first identifier, from the plurality of open-source software package names and the plurality of open-source file names;
assigning a weight to the at least one open-source software package name, based on the at least one open-source software package name and the at least one open-source file name; and
detecting an open-source software package name having the highest weight from the at least one open-source software package name to which the weight is assigned.
2 Assignments
0 Petitions
Accused Products
Abstract
Provided are a method and system for identifying an open-source software package from a binary file for which an open-source license is to be checked. The method includes: accessing a database generated to include a plurality of open-source software packages having a plurality of open-source files and open-source software package version information, based on a plurality of first identifiers included in each of the plurality of open-source files; receiving the binary file; extracting at least one second identifier included in the binary file by performing a string search on the binary file; and extracting at least one first identifier that matches the at least one second identifier from the database, and outputting an open-source software package and open-source software package version information corresponding to the at least one first identifier.
-
Citations
24 Claims
-
1. A method for identifying an open-source software package from a binary file for which an open-source license is to be checked, the method comprising:
-
accessing a database generated to include a plurality of open-source software packages having a plurality of open-source files, a plurality of open-source software package names, a plurality of open-source file names, and open-source software package version information, based on a plurality of first identifiers included in each of the plurality of open-source files; receiving the binary file; extracting at least one second identifier included in the binary file by performing a string search on the binary file; and extracting at least one first identifier that matches the at least one second identifier from the database, and outputting an open-source software package and open-source software package version information corresponding to the at least one first identifier, wherein the extracting of the at least one second identifier included in the binary file includes; extracting at least one open-source software package name and at least one open-source file name corresponding to the at least one first identifier, from the plurality of open-source software package names and the plurality of open-source file names; assigning a weight to the at least one open-source software package name, based on the at least one open-source software package name and the at least one open-source file name; and detecting an open-source software package name having the highest weight from the at least one open-source software package name to which the weight is assigned. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A system for identifying an open-source software package from a binary file for which an open-source license is to be checked, the system comprising:
-
a storage unit storing a database generated to include a plurality of open-source software packages having a plurality of open-source files, a plurality of open-source software package names, a plurality of open-source file names, and open-source software package version information, based on a plurality of first identifiers included in each of the plurality of open-source files; a receiver configured to receive the binary file; a processor configured to extract at least one second identifier included in the binary file by performing a string search on the binary file, to extract at least one first identifier that matches the at least one second identifier from the database, and to detect an open-source software package and open-source software package version information corresponding to the at least one first identifier; and an output device configured to output the detected open-source software package and open-source software package version information, wherein the processor is configured to; extract at least one open-source software package name and at least one open-source file name corresponding to the at least one first identifier, from the plurality of open-source software package names and the plurality of open-source file names; assign a weight to the at least one open-source software package name, based on the at least one open-source software package name and the at least one open-source file name; and detect an open-source software package name having the highest weight from the at least one open-source software package name to which the weight is assigned. - View Dependent Claims (14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24)
-
Specification