This application is a National Phase Entry of PCT International Application No. PCT/KR2019/000655, which was filed on Jan. 16, 2019 and claims priority to Korean Patent Application No. 10-2018-0022238, which was filed on Feb. 23, 2018, the contents of which are incorporated herein by reference.

BACKGROUND

1. Field

Various embodiments relate to an electronic device and method for outputting an alarm, and a system including a locking device coupled to the electronic device.

2. Description of the Related Art

Recently, various services and additional functions provided by electronic devices are gradually expanding. In order to increase the effective value of such electronic devices and satisfy various needs of users, communication service providers or electronic device manufacturers provide more various functions and develop electronic devices competitively in order to differentiate the same from those of other companies.

Such an electronic device may be charged by receiving power through a cable (e.g., a USB cable) connected to a charger, and the cable may be used as a locking device in order to prevent theft of the electronic device.

SUMMARY

A locking device for preventing theft may include a switch, or may use a dedicated recognition signal in order to prevent theft. For example, when the electronic device and the cable are forcibly disconnected in the state in which the electronic device and the locking device are connected, an alarm indicating theft is output from a separate alarm device connected to the cable.

In this way, since a separate dedicated recognition signal is used to prevent theft and a separate alarm device is provided for outputting an alarm indicating that a theft is occurring, the circuit of the locking device may be complicated and additional costs may be incurred. In addition, since an alarm is output only from the separate alarm device and no alarm is output from the electronic device, it is not effective for preventing theft.

According to various embodiments, it is possible to provide an electronic device and a method for outputting an alarm and a system including a locking device connected to the electronic device.

According to various embodiments, it is possible to output an alarm from an electronic device when a theft occurs without a separate signal line for preventing theft and a separate alarm device for outputting an alarm for indicating that a theft is occurring.

An electronic device according to various embodiments may include a connection terminal and a processor. The processor may be configured to: detect a connection with a locking device via the connection terminal; receive an identifier of the locking device from the locking device; identify the received identifier and set the electronic device to an alarm mode; detect a disconnection between the electronic device and the locking device; and output an alarm in response to the detected disconnection.

According to various embodiments, an alarm output method of an electronic device may include: an operation of detecting a connection with a locking device via the connection terminal; an operation of receiving an identifier of the locking device from the locking device; an operation of identifying the received identifier and setting the electronic device to an alarm mode; an operation of detecting a disconnection between the electronic device and the locking device; and an operation of outputting an alarm in response to the detected disconnection.

According to various embodiments, a system may include an electronic device and a locking device configured to be connected with the electronic device via a connection terminal of the electronic device, wherein the locking device may include a first connection terminal to be connected with a charger and a second connection terminal to be connected with the electronic device, and the electronic device may be configured to: detect a connection with the locking device via the second connection terminal; receive an identifier of the locking device from the locking device; identify the received identifier and set the electronic device to an alarm mode; detect a disconnection from the second connection terminal of the locking device; and output an alarm in response to the detected disconnection.

According to various embodiments, when a theft occurs, the electronic device detects a disconnection from the locking device and outputs an alarm, thereby preventing the theft.

In addition, according to various embodiments, an alarm for indicating that a theft is occurring is output from the electronic device without using a separate recognition signal for preventing theft. Thus, additional costs for the provision of a separate alarm device can be reduced.

