Open-source-license analyzing method and apparatus
AssigneeChina Unionpay Co., Ltd.
InventorsBiao YU, Danni JIANG
Life of this patent
Estimating the term…
Abstract
Embodiments of the present disclosure relate to the field of computer technologies and, in particular, to an open-source-license analyzing method and apparatus, including: receiving a file-to-be-tested and a planning condition; detecting an open-source license involved in the file-to-be-tested; matching the detected open-source license with the planning condition to determine a first conflict between the detected open-source license and the planning condition; and generating a first risk assessment report based on the first conflict. The embodiments of the present disclosure are used to analyze and evaluate the risk of using open-source licenses.
Claims20
An open-source-license analyzing method, comprising:
- receiving a file-to-be-tested and a planning condition;
- detecting an open-source license involved in the file-to-be-tested;
- matching the detected open-source license with the planning condition to determine a first conflict between the detected open-source license and the planning condition;
- and
- generating a first risk assessment report based on the first conflict.
An open-source-license analyzing apparatus, comprising:
- a receiving unit configured to receive a file-to-be-tested and a planning condition;
- a detecting unit configured to detect an open-source license involved in the file-to-be-tested;
- a matching unit configured to perform conflict matching between the detected open-source license and the planning condition, and determine a first conflict between the detected open-source license and the planning condition;
- and
- a reporting unit configured to generate a first risk assessment report according to the first conflict.
An electronic device, comprising:
- a processor, a memory, a transceiver, and a bus interface, wherein:
- the processor, the memory, and the transceiver are connected via the bus interface;
- the transceiver is configured to receive a file-to-be-tested and a planning condition;
- the processor is configured to:
- detect an open-source license involved in the file-to-be-tested;
- match the detected open-source license with the planning condition to determine a first conflict between the detected open-source license and the planning condition;
- and generate a first risk assessment report based on the first conflict;
- the memory is configured to store one or more executable programs, and store data used by the processor during operation;
- and
- the bus interface is configured to provide interfaces.
(canceled)
Dependencies are inferred from the claim text.