CROSS-REFERENCE TO RELATED THE APPLICATION

This application is based on and claims priority under 35 U.S.C. § 119 to Korean Patent Application No. 10-2020-0123700 filed on Sep. 24, 2020 in the Korean Intellectual Property Office, the disclosure of which is incorporated by reference herein in its entirety.

BACKGROUND

Field

The disclosure relates to an electronic apparatus which solves occurrence of an error, and a method of controlling the same.

Description of the Related Art

With diversification of the kinds and functions of an electronic apparatus, a method of detecting an error that occurs in the electronic apparatus or solving the error has attracted attention.

In a case where the electronic apparatus does not autonomously detect an error or does not previously grasp or improve a condition that an error is likely to occur, it is possible to solve an error only after the error actually occurs.

Although an error actually occurs in the electronic apparatus, in a case where a system stores only information about an error that frequently occurs in the electronic apparatus or about a previously defined error, it is possible to give the information or provide a guide for solving the error to a user only when the stored information matches the actually occurred error. In this case, the previously defined guide for a user is not much different in a handling condition from that for a service engineer. Therefore, when an error is handled by the service engineer, handling services are varied depending on the experiences and capabilities of the service engineer aside from the given service guide.

Further, a previously defined diagnosis or solution may cause a secondary problem based on a wrong diagnosis and service, or provide a service or the like again, thereby lowering reliability. Thus, such an unnecessary service results in an intangible loss due to a damaged image of a product and a manufacturer, and a tangible quality cost recurs due to a reservice and a plurality of serviced parts due to a wrong diagnosis.

SUMMARY

An aspect of the disclosure is to provide an electronic apparatus, which can more efficiently predict and prevent an error, and a method of controlling the same.

According to an embodiment of the disclosure, there is provided an electronic apparatus including a processor, and a memory configured to store instructions executable by the processor in which the processor is configured to: obtain state data about operations of a plurality of components in the electronic apparatus, identify a state error of a first component among the plurality of components based on the obtained state data, obtain error data about a correlation between the identified state error of the first component and a second component causing the state error among the plurality of components, identify possibility of occurrence of the state error of the first component based on the obtained state data and the obtained error data, and perform an error-related operation for the second component correlating with the state error of the first component.

The error data may include a model learned to perform calculation for the correlation between the identified state error of the first component and the second component causing the state error.

The processor may be configured to display a graphic user interface (GUI), which shows the state error of the first component and parameters about the second component corresponding to the state error, on a display.

The processor may be configured to perform the error-related operation for the second component based on a user's input received through the GUI.

The processor may be configured to perform the error-related operation by changing setting for parameters about the second component to lower the possibility of occurrence of the state error.

The processor may be configured to: display a GUI, which shows the state error of the first component and parameters about the second component corresponding to the state error, on a display, based on the possibility of occurrence of the state error not lowered by changing the setting for the parameters; and perform the error-related operation for the second component based on a user's input received through the GUI.

The processor may be configured to periodically identify the possibility of occurrence of the state error of the first component.

The processor may be configured to identify the state error of the first component based on state data of an operation of the first component and state data of an operation of the second component.

The electronic apparatus may further include a display and a high-definition multimedia interface (HDMI) port, and the first component may be the display and the second component may be the HDMI port.

According to an embodiment of the disclosure, there is provided a method of controlling an electronic apparatus, including: obtaining state data about operations of a plurality of components in the electronic apparatus, identifying a state error of a first component among the plurality of components based on the obtained state data, obtaining error data about a correlation between the identified state error of the first component and a second component causing the state error among the plurality of components, identifying possibility of occurrence of the state error of the first component based on the obtained state data and the obtained error data, and performing an error-related operation for the second component correlating with the state error of the first component.

The error data may include a model learned to perform calculation for the correlation between the identified state error of the first component and the second component causing the state error.

The method may further include displaying a graphic user interface (GUI), which shows the state error of the first component and parameters about the second component corresponding to the state error, on a display.

The method may further include performing an error-related operation for the second component based on a user's input received through the GUI.

The performing of the error-related operation may include performing the error-related operation by changing setting for parameters about the second component to lower the possibility of occurrence of the state error.

The performing of the error-related operation may include displaying a GUI, which shows the state error of the first component and parameters about the second component corresponding to the state error, on a display, based on the possibility of occurrence of the state error not lowered by changing the setting for the parameters, and performing the error-related operation for the second component based on a user's input received through the GUI.

The identifying of the possibility of occurrence of the state error of the first component may include periodically identify the possibility of occurrence of the state error of the first component.

The identifying of the state error of the first component may include identifying the state error based on state data of an operation of the first component and state data of an operation of the second component affecting the state error of the first component.

The first component may be a display of the electronic apparatus and the second component may be a high-definition multimedia interface (HDMI) port of the electronic apparatus.

According to an embodiment of the disclosure, there is provided a recording medium stored with a computer program including a code, which performs a method of controlling an electronic apparatus, as a computer-readable code, the method including: obtaining state data about operations of a plurality of components in the electronic apparatus; identifying a state error of a first component among the plurality of components based on the obtained state data, obtaining error data about a correlation between the identified state error of the first component and a second component causing the state error among the plurality of components, identifying possibility of occurrence of the state error of the first component based on the obtained state data and the obtained error data, and performing an error-related operation for the second component correlating with the state error of the first component.

