Back to results
US 11,636,022 B2Granted
Server and control method thereof
AssigneeSamsung Electronics Co., Ltd.
InventorsNamki Lee, Seunghwan Lee
Life of this patent
Estimating the term…
Abstract
A control method of a server is provided. The method includes acquiring code information about a program, identifying at least one error with respect to a code style included in the code information based on a predetermined code style rule, acquiring at least one error information with respect to the identified code style, and modifying the code style by inputting the code information and the error information to an artificial intelligence model in which the code style rule is trained.
Claims10
A control method of a server, the method comprising:
- acquiring code information about a program;
- identifying at least one error with respect to a code style comprised in the code information based on a predetermined code style rule;
- acquiring information of different errors corresponding to different code style check tools that identified a same error with respect to the code style;
- and
- modifying the code style by inputting the code information and the information of at least one of the different errors to an artificial intelligence model,
- wherein the acquiring of the information of the different errors comprises:
- based on an error of the code style comprised in the code information being detected by using a first tool among the plurality of code style check tools, acquiring a first type of error information related to the first tool, and
- after changing a code style check tool from the first tool to a second tool, acquiring a second type of error information related to the second tool,
- wherein the first tool and the second tool generate different error information for the same error detected from the code style included in the code information,
- wherein the artificial intelligence model is configured to be trained based on the predetermined code style rule and the first type of error information, and continuously to be trained based on the predetermined code style rule, the code information, and the second type of error information different from the first type of error information,
- wherein the identifying of the at least one error comprises, based on a changed code style rule being input with regard to the code style rule, identifying the at least one error with respect to the code style comprised in the code information based on the changed code style rule, and
- wherein the changed code style rule is a rule in which a predetermined operation rule is added to the predetermined code style rule.
9 more elements
A server comprising:
- a communicator comprising a circuit;
- a memory comprising at least one instruction;
- and
- at least one processor configured to execute the at least one instruction,
- wherein the at least one processor is further configured, based on code information about a program received from at least one user terminal device being acquired through the communicator, to:
- identify at least one error with respect to a code style comprised in the code information based on a predetermined codes style rule,
- acquire information of different errors corresponding to different code style check tools that identified a same error with respect to the code style, and
- modify the code style by inputting the code information and the information of at least one of the different errors to an artificial intelligence model,
- wherein the at least one processor is further configured to:
- based on an error of the code style comprised in the code information being detected by using a first tool among the plurality of code style check tools, acquire a first type of error information related to the first tool, and
- after changing a code style check tool from the first tool to a second tool, acquire a second type of error information related to the second tool,
- wherein the first tool and the second tool generate different error information for the same error detected from the code style included in the code information,
- wherein the artificial intelligence model is configured to be trained based on the predetermined code style rule and the first type of error information, and continuously, to be trained based on the predetermined code style rule, the code information, and the second type of error information different from the first type of error information,
- wherein the at least one processor is further configured to:
- based on a changed code style rule being input with regard to the code style rule, identify the at least one error with respect to the code style comprised in the code information based on the changed code style rule, and
- wherein the changed code style rule is a rule in which a predetermined operation rule is added to the predetermined code style rule.
13 more elements
Dependencies are inferred from the claim text.