KR20220014745A - Electronic apparatus and controlling method thereof - Google Patents

Electronic apparatus and controlling method thereof Download PDF

Info

Publication number
KR20220014745A
KR20220014745A KR1020200094759A KR20200094759A KR20220014745A KR 20220014745 A KR20220014745 A KR 20220014745A KR 1020200094759 A KR1020200094759 A KR 1020200094759A KR 20200094759 A KR20200094759 A KR 20200094759A KR 20220014745 A KR20220014745 A KR 20220014745A
Authority
KR
South Korea
Prior art keywords
information
electronic device
server
received
external terminal
Prior art date
Application number
KR1020200094759A
Other languages
Korean (ko)
Inventor
박한비
김이준
최소현
Original Assignee
삼성전자주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자주식회사 filed Critical 삼성전자주식회사
Priority to KR1020200094759A priority Critical patent/KR20220014745A/en
Priority to PCT/KR2021/007863 priority patent/WO2022025436A1/en
Publication of KR20220014745A publication Critical patent/KR20220014745A/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/04Key management, e.g. using generic bootstrapping architecture [GBA]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • H04W12/069Authentication using certificates or pre-shared keys
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/70Services for machine-to-machine communication [M2M] or machine type communication [MTC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • H04W48/14Access restriction or access information delivery, e.g. discovery data delivery using user query or user detection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Abstract

An electronic apparatus is disclosed. The electronic apparatus includes: a memory in which first user identification information and first password information corresponding to the first user identification information are stored; a communication interface; and a processor which controls the communication interface to be connected to a server through an access point (AP) device based on the first user identification information and the first password information stored in the memory. The processor controls the communication interface so that the electronic apparatus operates in an AP mode when not connected to the server through the communication interface, and controls, when second password information is received from an external terminal device while the electronic apparatus operates in the AP mode, the communication interface to be connected to the server through the AP device based on the first user identification information and second password.

Description

전자 장치 및 그 제어 방법{ELECTRONIC APPARATUS AND CONTROLLING METHOD THEREOF}ELECTRONIC APPARATUS AND CONTROLLING METHOD THEREOF

본 개시는 전자 장치 및 그 제어방법에 관한 것으로, 더욱 상세하게는 AP 모드 동작 중 외부 단말 장치로부터 업데이트 된 사용자 정보를 수신하는 전자 장치 및 그 제어방법에 대한 것이다.The present disclosure relates to an electronic device and a control method thereof, and more particularly, to an electronic device that receives updated user information from an external terminal device during AP mode operation, and a control method thereof.

IoT(Internet of Things) 네트워크에는 복수의 장치가 포함될 수 있다. 그리고, IoT 네트워크에 포함된 복수의 장치는 하나의 서버에 연결될 수 있다.An Internet of Things (IoT) network may include a plurality of devices. In addition, a plurality of devices included in the IoT network may be connected to one server.

IoT 네트워크 에 포함된 각각의 장치는 AP(Access Point) 장치를 통해 서버에 연결될 수 있다. 여기서, 장치 각각이 서버에 연결되기 위해선 서버에 저장된 사용자 정보가 필요할 수 있다. 기 저장된 사용자만이 서버에 접속할 수 있어야 하기 때문이다. 따라서, 장치 각각은 사용자 정보를 메모리에 저장하여야 하고 서버와 연결을 시도할 때 사용자 정보를 서버에 전송하여 연결을 시도할 수 있다.Each device included in the IoT network can be connected to a server through an AP (Access Point) device. Here, in order for each device to be connected to the server, user information stored in the server may be required. This is because only pre-stored users should be able to access the server. Therefore, each device must store user information in a memory, and when attempting to connect to the server, the device may transmit the user information to the server to attempt the connection.

장치와 서버가 한번 계정 연동이 이루어진 경우, 장치는 반복적으로 서버에 연결될 수 있다. 하지만, 서버에서 사용자 정보를 변경하는 경우 장치와 서버 사이의 계정 연동이 더 이상 유지되지 않을 수 있다. 이 경우, 사용자는 직접 장치에 사용자 정보를 입력해야 할 수 있다.When the device and the server are once account linked, the device may connect to the server repeatedly. However, when user information is changed on the server, account linkage between the device and the server may no longer be maintained. In this case, the user may have to directly input user information into the device.

또한, 사용자가 직접 장치에 사용자 정보를 입력하지 못하는 경우 제어 장치를 이용하여 장치에 사용자 정보를 전송해야 할 수 있다. 여기서, 사용자는 제어 장치를 직접 조작해야 할 수 있다.Also, when the user cannot directly input user information into the device, it may be necessary to transmit the user information to the device using the control device. Here, the user may have to directly manipulate the control device.

사용자가 장치와 서버 사이의 계정 연동을 위하여 수동으로 장치 또는 제어 장치를 조작하는 경우 편의성이 떨어지는 문제점이 있다. 사용자가 처음부터 다시 장치 또는 제어 장치를 조작하여 사용자 정보를 입력하거나 장치 또는 제어 장치의 동작 모드를 변경해야 되기 때문이다.When the user manually manipulates the device or the control device for account linkage between the device and the server, there is a problem in that convenience is reduced. This is because the user has to operate the device or the control device again from the beginning to input user information or change the operation mode of the device or the control device.

본 개시는 상술한 문제를 개선하기 위해 고안된 것으로, 본 개시의 목적은 서버와 연결되지 않으면 AP 모드를 동작하는 동안 외부 단말 장치로부터 사용자 정보를 수신하여 서버와 연결하는 전자 장치 및 그의 제어 방법을 제공함에 있다.The present disclosure has been devised to improve the above problems, and an object of the present disclosure is to provide an electronic device that receives user information from an external terminal device and connects to a server while operating in an AP mode if it is not connected to a server, and a method for controlling the same. is in

상술한 목적을 달성하기 위한 본 실시 예에 따른 전자 장치는, 제1 사용자 식별 정보 및 상기 제1 사용자 식별 정보에 대응되는 제1 패스워드 정보가 저장된 메모리, 통신 인터페이스 및 상기 메모리에 저장된 상기 제1 사용자 식별 정보 및 상기 제1 패스워드 정보에 기초하여 AP (Access Point) 장치를 통해 서버에 연결하도록 상기 통신 인터페이스를 제어하는 프로세서를 포함하며, 상기 프로세서는 상기 통신 인터페이스를 통해 상기 서버와 연결되지 않으면, 상기 전자 장치가 AP 모드로 동작하도록 상기 통신 인터페이스를 제어하고, 상기 전자 장치가 상기 AP 모드로 동작하는 동안 외부 단말 장치로부터 제2 패스워드 정보가 수신되면, 상기 제1 사용자 식별 정보 및 상기 제2 패스워드에 기초하여 상기 AP 장치를 통해 상기 서버에 연결하도록 상기 통신 인터페이스를 제어한다.An electronic device according to an embodiment of the present invention for achieving the above object includes a memory in which first user identification information and first password information corresponding to the first user identification information are stored, a communication interface, and the first user stored in the memory A processor for controlling the communication interface to connect to a server through an AP (Access Point) device based on identification information and the first password information, wherein the processor is not connected to the server through the communication interface, the The electronic device controls the communication interface to operate in the AP mode, and when second password information is received from an external terminal device while the electronic device operates in the AP mode, the first user identification information and the second password based on the control of the communication interface to connect to the server through the AP device.

한편, 상기 메모리는 공유키를 더 저장할 수 있으며, 상기 프로세서는 상기 전자 장치가 상기 AP 모드로 동작하는 동안 상기 외부 단말 장치로부터 공유키를 포함하는 정보가 수신되면, 상기 수신된 정보에 포함된 공유키 및 상기 메모리에 저장된 공유키에 기초하여 상기 제2 패스워드 정보를 수신하기 위한 응답 정보를 상기 외부 단말 장치로 전송할 수 있다.On the other hand, the memory may further store a shared key, and the processor is configured to, when information including a shared key is received from the external terminal device while the electronic device operates in the AP mode, the shared key included in the received information is received. Response information for receiving the second password information may be transmitted to the external terminal device based on the key and the shared key stored in the memory.

한편, 상기 프로세서는 상기 전자 장치가 상기 AP 모드로 동작하는 동안 상기 공유키를 포함하는 제1 프로브 요청 패킷이 수신되면, 상기 수신된 제1 프로브 요청 패킷에 포함된 상기 공유키와 상기 메모리에 저장된 공유키가 일치하는 경우 공유키가 일치하는지 여부를 식별하고, 식별 결과에 기초하여 상기 응답 정보를 상기 외부 단말 장치로 전송할 수 있다.Meanwhile, when a first probe request packet including the shared key is received while the electronic device operates in the AP mode, the processor includes the shared key included in the received first probe request packet and stored in the memory. When the shared keys match, it may be identified whether the shared keys match, and the response information may be transmitted to the external terminal device based on the identification result.

한편, 상기 프로세서는 상기 수신된 제1 프로브 요청 패킷에 포함된 상기 공유키와 상기 메모리에 저장된 공유키가 일치하는 경우, 공유키가 일치함을 나타내는 정보를 포함하는 프로브 응답 패킷을 상기 외부 단말 장치에 전송할 수 있고, 상기 외부 단말 장치로부터 제2 패스워드 정보를 포함하는 제2 프로브 요청 패킷이 수신되면, 상기 제1 사용자 식별 정보 및 상기 제2 패스워드에 기초하여 상기 AP 장치를 통해 상기 서버에 연결하도록 상기 통신 인터페이스를 제어할 수 있다.Meanwhile, when the shared key included in the received first probe request packet matches the shared key stored in the memory, the processor transmits a probe response packet including information indicating that the shared key matches the external terminal device. to connect to the server through the AP device based on the first user identification information and the second password when a second probe request packet including second password information is received from the external terminal device The communication interface may be controlled.

한편, 상기 제1 사용자 식별 정보 및 상기 제1 패스워드 정보는 상기 외부 단말 장치로부터 수신된 정보일 수 있으며, 상기 메모리에 저장된 상기 공유키는 상기 제1 사용자 식별 정보 및 상기 제1 패스워드 정보와 함께 상기 외부 단말 장치로부터 수신된 정보일 수 있다.Meanwhile, the first user identification information and the first password information may be information received from the external terminal device, and the shared key stored in the memory is the first user identification information and the first password information together with the It may be information received from an external terminal device.

한편, 상기 프로세서는 상기 제1 사용자 식별 정보 및 상기 제1 패스워드 정보와 함께 AP 장치의 식별 정보를 수신하며, 상기 수신된 AP 장치의 식별 정보에 대응되는 AP 장치를 통해 상기 서버에 연결하도록 상기 통신 인터페이스를 제어할 수 있다.Meanwhile, the processor receives identification information of the AP device together with the first user identification information and the first password information, and connects to the server through the AP device corresponding to the received identification information of the AP device. You can control the interface.

한편, 상기 프로세서는 상기 제2 패스워드 정보가 수신되면, 상기 메모리에 저장된 상기 제1 패스워드를 상기 제2 패스워드로 업데이트할 수 있다.Meanwhile, when the second password information is received, the processor may update the first password stored in the memory to the second password.

한편, 상기 프로세서는 상기 전자 장치가 상기 AP 모드로 동작하는 동안 상기 AP 장치와 연결이 해제되도록 상기 통신 인터페이스를 제어할 수 있고, 상기 통신 인터페이스를 통해 와이파이 신호를 브로드캐스팅 할 수 있다.Meanwhile, the processor may control the communication interface to disconnect from the AP device while the electronic device operates in the AP mode, and broadcast a Wi-Fi signal through the communication interface.

한편, 상기 프로세서는 상기 외부 단말 장치로부터 상기 서버와 연결 여부에 대한 정보를 요청하는 프로브 요청 패킷이 수신되면, 상기 서버와 연결 여부에 대한 정보를 포함하는 프로브 응답 패킷을 상기 외부 단말 장치로 전송할 수 있다.Meanwhile, when a probe request packet requesting information on whether to connect to the server is received from the external terminal device, the processor may transmit a probe response packet including information on whether to connect to the server to the external terminal device have.

한편, 전자 장치는 디스플레이를 더 포함할 수 있고, 상기 프로세서는 상기 통신 인터페이스를 통해 상기 서버와 연결되지 않으면, 상기 외부 단말 장치에 새로운 사용자 정보를 요청하도록 가이드하는 UI(User Interface)를 표시하도록 상기 디스플레이를 제어할 수 있다.Meanwhile, the electronic device may further include a display, and when the processor is not connected to the server through the communication interface, the electronic device is configured to display a UI (User Interface) for guiding a request for new user information to the external terminal device. You can control the display.

본 개시의 일 실시 예에 따른 제1 사용자 식별 정보 및 상기 제1 사용자 식별 정보에 대응되는 제1 패스워드 정보를 저장하는 전자 장치의 제어 방법은 상기 저장된 상기 제1 사용자 식별 정보 및 상기 제1 패스워드 정보에 기초하여 AP (Access Point) 장치를 통해 서버에 연결하는 단계, 상기 서버와 연결되지 않으면, 상기 전자 장치가 AP 모드로 동작하는 단계 및 상기 전자 장치가 상기 AP 모드로 동작하는 동안 외부 단말 장치로부터 제2 패스워드 정보가 수신되면, 상기 제1 사용자 식별 정보 및 상기 제2 패스워드에 기초하여 상기 AP 장치를 통해 상기 서버에 연결하는 단계를 포함할 수 있다.The method of controlling an electronic device for storing first user identification information and first password information corresponding to the first user identification information according to an embodiment of the present disclosure includes the stored first user identification information and the first password information Connecting to a server through an AP (Access Point) device based on When the second password information is received, the method may include connecting to the server through the AP device based on the first user identification information and the second password.

한편, 상기 전자 장치는 공유키를 더 저장할 수 있으며, 상기 제어 방법은 상기 전자 장치가 상기 AP 모드로 동작하는 동안 상기 외부 단말 장치로부터 공유키를 포함하는 정보가 수신되면, 상기 수신된 정보에 포함된 공유키 및 상기 저장된 공유키에 기초하여 상기 제2 패스워드 정보를 수신하기 위한 응답 정보를 상기 외부 단말 장치로 전송하는 단계를 더 포함할 수 있다.On the other hand, the electronic device may further store the shared key, and the control method includes in the received information when information including the shared key is received from the external terminal device while the electronic device operates in the AP mode. The method may further include transmitting response information for receiving the second password information to the external terminal device based on the shared key and the stored shared key.

한편, 상기 응답 정보를 상기 외부 단말 장치로 전송하는 단계는 상기 전자 장치가 상기 AP 모드로 동작하는 동안 상기 공유키를 포함하는 제1 프로브 요청 패킷이 수신되면, 상기 수신된 제1 프로브 요청 패킷에 포함된 상기 공유키와 상기 저장된 공유키가 일치하는 경우 공유키가 일치하는지 여부를 식별하고, 식별 결과에 기초하여 상기 응답 정보를 상기 외부 단말 장치로 전송할 수 있다.Meanwhile, in the transmitting of the response information to the external terminal device, when a first probe request packet including the shared key is received while the electronic device operates in the AP mode, the received first probe request packet is When the included shared key and the stored shared key match, it may be identified whether the shared key matches, and the response information may be transmitted to the external terminal device based on the identification result.

한편, 상기 제1 사용자 식별 정보 및 상기 제2 패스워드에 기초하여 상기 AP 장치를 통해 상기 서버에 연결하는 단계는 상기 수신된 제1 프로브 요청 패킷에 포함된 상기 공유키와 상기 저장된 공유키가 일치하는 경우, 공유키가 일치함을 나타내는 정보를 포함하는 프로브 응답 패킷을 상기 외부 단말 장치에 전송할 수 있고, 상기 외부 단말 장치로부터 제2 패스워드 정보를 포함하는 제2 프로브 요청 패킷이 수신되면, 상기 제1 사용자 식별 정보 및 상기 제2 패스워드에 기초하여 상기 AP 장치를 통해 상기 서버에 연결할 수 있다.Meanwhile, in the step of connecting to the server through the AP device based on the first user identification information and the second password, the shared key included in the received first probe request packet matches the stored shared key. In this case, a probe response packet including information indicating that the shared key matches may be transmitted to the external terminal device, and when a second probe request packet including second password information is received from the external terminal device, the first The server may be connected through the AP device based on the user identification information and the second password.

한편, 상기 제1 사용자 식별 정보 및 상기 제1 패스워드 정보는 상기 외부 단말 장치로부터 수신된 정보일 수 있으며, 상기 저장된 상기 공유키는 상기 제1 사용자 식별 정보 및 상기 제1 패스워드 정보와 함께 상기 외부 단말 장치로부터 수신된 정보일 수 있다.Meanwhile, the first user identification information and the first password information may be information received from the external terminal device, and the stored shared key is the first user identification information and the first password information together with the external terminal It may be information received from the device.

한편, 상기 제1 사용자 식별 정보 및 상기 제1 패스워드 정보에 기초하여 상기 AP 장치를 통해 서버에 연결하는 단계는 상기 제1 사용자 식별 정보 및 상기 제1 패스워드 정보와 함께 AP 장치의 식별 정보를 수신하며, 상기 수신된 AP 장치의 식별 정보에 대응되는 AP 장치를 통해 상기 서버에 연결할 수 있다.On the other hand, the step of connecting to the server through the AP device based on the first user identification information and the first password information receives the identification information of the AP device together with the first user identification information and the first password information, , it is possible to connect to the server through the AP device corresponding to the received identification information of the AP device.

한편, 상기 제어 방법은 상기 제2 패스워드 정보가 수신되면, 상기 저장된 상기 제1 패스워드를 상기 제2 패스워드로 업데이트하는 단계를 더 포함할 수 있다.Meanwhile, the control method may further include updating the stored first password to the second password when the second password information is received.

한편, 상기 제어 방법은 상기 전자 장치가 상기 AP 모드로 동작하는 동안 상기 AP 장치와 연결이 해제되는 단계 및 와이파이 신호를 브로드캐스팅하는 단계를 더 포함할 수 있다.Meanwhile, the control method may further include disconnecting a connection from the AP device while the electronic device operates in the AP mode and broadcasting a Wi-Fi signal.

한편, 상기 제어 방법은 상기 외부 단말 장치로부터 상기 서버와 연결 여부에 대한 정보를 요청하는 프로브 요청 패킷이 수신되면, 상기 서버와 연결 여부에 대한 정보를 포함하는 프로브 응답 패킷을 상기 외부 단말 장치로 전송하는 단계를 더 포함할 수 있다.Meanwhile, in the control method, when a probe request packet for requesting information on whether to connect to the server is received from the external terminal device, a probe response packet including information on whether to connect to the server is transmitted to the external terminal device It may further include the step of

한편, 상기 제어 방법은 상기 서버와 연결되지 않으면, 상기 외부 단말 장치에 새로운 사용자 정보를 요청하도록 가이드하는 UI(User Interface)를 표시하는 단계를 더 포함할 수 있다.Meanwhile, the control method may further include displaying a user interface (UI) for guiding a request for new user information to the external terminal device when the server is not connected.

도 1은 IoT 기기가 서버에 연결되는 시스템을 설명하기 위한 도면이다.
도 2는 본 개시의 일 실시 예에 따른 전자 장치의 블록도이다.
도 3은 도 2의 전자 장치의 구체적인 구성을 설명하기 위한 블록도이다.
도 4는 본 개시의 일 실시 예에 따른 제어 장치의 블록도이다.
도 5는 본 개시의 일 실시 예에 따른 시스템에서 전자 장치가 서버에 연결되는 동작을 설명하기 위한 흐름도이다.
도 6은 본 개시의 다른 실시 예에 따른 시스템에서 전자 장치가 서버에 연결되는 동작을 설명하기 위한 흐름도이다.
도 7은 전자 장치 및 서버와의 연결이 해제된 경우 수행되는 일 실시 예에 따른 동작을 설명하기 위한 흐름도이다.
도 8은 전자 장치 및 서버와의 연결이 해제된 경우 수행되는 다른 실시 예에 따른 동작을 설명하기 위한 흐름도이다.
도 9는 서버에 연결되는 장치를 비교하는 동작을 설명하기 위한 흐름도이다.
도 10은 전자 장치가 서버와 연결되었는지 여부를 확인하는 동작을 설명하기 위한 흐름도이다.
도 11은 서버에서 생성되는 서버 연결 장치 테이블을 설명하기 위한 표이다.
도 12는 전자 장치 및 제어 장치 사이에 전송되는 프로브 패킷을 설명하기 위한 표이다.
도 13은 일 실시 예에 따른 네트워크 연결 알림과 관련된 UI를 설명하기 위한 도면이다.
도 14는 다른 실시 예에 따른 네트워크 연결 알림과 관련된 UI를 설명하기 위한 도면이다.
도 15는 또 다른 실시 예에 따른 네트워크 연결 알림과 관련된 UI를 설명하기 위한 도면이다.
도 16은 본 개시의 일 실시 예에 따른 전자 장치의 흐름도를 설명하기 위한 도면이다.
1 is a diagram for explaining a system in which an IoT device is connected to a server.
2 is a block diagram of an electronic device according to an embodiment of the present disclosure.
3 is a block diagram illustrating a detailed configuration of the electronic device of FIG. 2 .
4 is a block diagram of a control device according to an embodiment of the present disclosure.
5 is a flowchart illustrating an operation of connecting an electronic device to a server in a system according to an embodiment of the present disclosure.
6 is a flowchart illustrating an operation of connecting an electronic device to a server in a system according to another embodiment of the present disclosure.
7 is a flowchart illustrating an operation performed when a connection between an electronic device and a server is released, according to an embodiment.
8 is a flowchart illustrating an operation performed when the connection between the electronic device and the server is released according to another embodiment.
9 is a flowchart illustrating an operation of comparing devices connected to a server.
10 is a flowchart illustrating an operation of checking whether an electronic device is connected to a server.
11 is a table for explaining a server connection device table generated by the server.
12 is a table for explaining a probe packet transmitted between an electronic device and a control device.
13 is a diagram for explaining a UI related to a network connection notification according to an embodiment.
14 is a diagram for explaining a UI related to a network connection notification according to another embodiment.
15 is a diagram for explaining a UI related to a network connection notification according to another embodiment.
16 is a diagram for explaining a flowchart of an electronic device according to an embodiment of the present disclosure.

이하에서는 첨부 도면을 참조하여 본 개시를 상세히 설명한다.Hereinafter, the present disclosure will be described in detail with reference to the accompanying drawings.

본 개시의 실시 예에서 사용되는 용어는 본 개시에서의 기능을 고려하면서 가능한 현재 널리 사용되는 일반적인 용어들을 선택하였으나, 이는 당 분야에 종사하는 기술자의 의도 또는 판례, 새로운 기술의 출현 등에 따라 달라질 수 있다. 또한, 특정한 경우는 출원인이 임의로 선정한 용어도 있으며, 이 경우 해당되는 개시의 설명 부분에서 상세히 그 의미를 기재할 것이다. 따라서 본 개시에서 사용되는 용어는 단순한 용어의 명칭이 아닌, 그 용어가 가지는 의미와 본 개시의 전반에 걸친 내용을 토대로 정의되어야 한다.Terms used in the embodiments of the present disclosure are selected as currently widely used general terms as possible while considering the functions in the present disclosure, which may vary depending on the intention or precedent of a person skilled in the art, the emergence of new technology, etc. . In addition, in a specific case, there is a term arbitrarily selected by the applicant, and in this case, the meaning will be described in detail in the description of the corresponding disclosure. Therefore, the terms used in the present disclosure should be defined based on the meaning of the term and the contents of the present disclosure, rather than the simple name of the term.

본 명세서에서, "가진다," "가질 수 있다," "포함한다," 또는 "포함할 수 있다" 등의 표현은 해당 특징(예: 수치, 기능, 동작, 또는 부품 등의 구성요소)의 존재를 가리키며, 추가적인 특징의 존재를 배제하지 않는다.In this specification, expressions such as “have,” “may have,” “include,” or “may include” indicate the presence of a corresponding characteristic (eg, a numerical value, function, operation, or component such as a part). and does not exclude the presence of additional features.

A 또는/및 B 중 적어도 하나라는 표현은 "A" 또는 "B" 또는 "A 및 B" 중 어느 하나를 나타내는 것으로 이해되어야 한다.The expression "at least one of A and/or B" is to be understood as indicating either "A" or "B" or "A and B".

본 명세서에서 사용된 "제1," "제2," "첫째," 또는 "둘째,"등의 표현들은 다양한 구성요소들을, 순서 및/또는 중요도에 상관없이 수식할 수 있고, 한 구성요소를 다른 구성요소와 구분하기 위해 사용될 뿐 해당 구성요소들을 한정하지 않는다.As used herein, expressions such as "first," "second," "first," or "second," can modify various elements, regardless of order and/or importance, and refer to one element. It is used only to distinguish it from other components, and does not limit the components.

어떤 구성요소(예: 제1 구성요소)가 다른 구성요소(예: 제2 구성요소)에 "(기능적으로 또는 통신적으로) 연결되어((operatively or communicatively) coupled with/to)" 있다거나 "접속되어(connected to)" 있다고 언급된 때에는, 어떤 구성요소가 다른 구성요소에 직접적으로 연결되거나, 다른 구성요소(예: 제3 구성요소)를 통하여 연결될 수 있다고 이해되어야 할 것이다.A component (eg, a first component) is "coupled with/to (operatively or communicatively)" to another component (eg, a second component); When referring to "connected to", it should be understood that an element may be directly connected to another element or may be connected through another element (eg, a third element).

단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 본 출원에서, "포함하다" 또는 "구성되다" 등의 용어는 명세서상에 기재된 특징, 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.The singular expression includes the plural expression unless the context clearly dictates otherwise. In the present application, terms such as "comprises" or "consisting of" are intended to designate that the features, numbers, steps, operations, components, parts, or combinations thereof described in the specification exist, and are intended to indicate that one or more other It should be understood that this does not preclude the possibility of addition or presence of features or numbers, steps, operations, components, parts, or combinations thereof.

본 개시에서 "모듈" 혹은 "부"는 적어도 하나의 기능이나 동작을 수행하며, 하드웨어 또는 소프트웨어로 구현되거나 하드웨어와 소프트웨어의 결합으로 구현될 수 있다. 또한, 복수의 "모듈" 혹은 복수의 "부"는 특정한 하드웨어로 구현될 필요가 있는 "모듈" 혹은 "부"를 제외하고는 적어도 하나의 모듈로 일체화되어 적어도 하나의 프로세서(미도시)로 구현될 수 있다.In the present disclosure, a “module” or “unit” performs at least one function or operation, and may be implemented as hardware or software, or a combination of hardware and software. In addition, a plurality of “modules” or a plurality of “units” are integrated into at least one module and implemented with at least one processor (not shown) except for “modules” or “units” that need to be implemented with specific hardware. can be

본 명세서에서, 사용자라는 용어는 전자 장치를 사용하는 사람 또는 전자 장치를 사용하는 장치(예: 인공지능 전자 장치)를 지칭할 수 있다.In this specification, the term user may refer to a person who uses an electronic device or a device (eg, an artificial intelligence electronic device) using the electronic device.

이하 첨부된 도면들을 참조하여 본 개시의 일 실시 예를 보다 상세하게 설명한다.Hereinafter, an embodiment of the present disclosure will be described in more detail with reference to the accompanying drawings.

도 1은 IoT 기기가 서버에 연결되는 시스템을 설명하기 위한 도면이다.1 is a diagram for explaining a system in which an IoT device is connected to a server.

도 1을 참조하면, IoT 네트워크는 전자 장치(100), 외부 단말 장치(200), AP 장치(300), 서버(400)를 포함할 수 있다. 구체적으로, IoT 네트워크는 복수의 단말 장치와 복수의 장치(100, 200)와 정보를 주고 받을 수 있는 서버(400)를 포함할 수 있다. 그리고, 복수의 장치(100, 200)와 서버(400) 사이에 정보를 전달하는 AP 장치(300)를 포함할 수 있다.Referring to FIG. 1 , an IoT network may include an electronic device 100 , an external terminal device 200 , an AP device 300 , and a server 400 . Specifically, the IoT network may include a plurality of terminal devices and a server 400 capable of exchanging information with the plurality of devices 100 and 200 . In addition, the AP device 300 for transmitting information between the plurality of devices 100 and 200 and the server 400 may be included.

여기서, 복수의 장치는 전자 장치(100) 및 외부 단말 장치(200)일 수 있다. 전자 장치(100)는 세탁기, 냉장고, TV, 로봇 청소기, 공기 조화기 등 가전 제품을 의미할 수 있다. 외부 단말 장치(200)는 전자 장치(100)를 제어하는 제어 장치를 의미할 수 있다. 본 개시의 외부 단말 장치(200)는 제어 장치(200)로 기재될 수 있다. 외부 단말 장치(200)는 전자 장치(100)에 직접 사용자 정보를 전송할 수 있으며, 프로브 요청 패킷 또는 프로브 응답 패킷을 전자 장치(100)와 주고 받을 수 있다.Here, the plurality of devices may be the electronic device 100 and the external terminal device 200 . The electronic device 100 may refer to home appliances such as a washing machine, a refrigerator, a TV, a robot cleaner, and an air conditioner. The external terminal device 200 may refer to a control device that controls the electronic device 100 . The external terminal device 200 of the present disclosure may be described as a control device 200 . The external terminal device 200 may directly transmit user information to the electronic device 100 , and may transmit/receive a probe request packet or a probe response packet to/from the electronic device 100 .

구현 예에 따라 IoT 네트워크는 전자 장치(100), 외부 단말 장치(200) 및 AP 장치(300)를 포함하고 서버(400)를 제외한 네트워크를 의미할 수 있다. 서버(400)는 복수의 네트워크에 연결되어 있을 수 있으므로, IoT 네트워크는 서버(400)를 제외한 댁내의 가전 장치들로 구성될 수 있다.According to an embodiment, the IoT network may mean a network including the electronic device 100 , the external terminal device 200 , and the AP device 300 , but excluding the server 400 . Since the server 400 may be connected to a plurality of networks, the IoT network may be composed of home appliances except for the server 400 .

도 2는 본 개시의 일 실시 예에 따른 전자 장치의 블록도이다.2 is a block diagram of an electronic device according to an embodiment of the present disclosure.

도 2를 참조하면, 전자 장치(100)는 메모리(110), 통신 인터페이스(120) 및 프로세서(130)로 구성될 수 있다.Referring to FIG. 2 , the electronic device 100 may include a memory 110 , a communication interface 120 , and a processor 130 .

메모리(110)는 프로세서(130)에 포함된 롬(ROM)(예를 들어, EEPROM(electrically erasable programmable read-only memory)), 램(RAM) 등의 내부 메모리로 구현되거나, 프로세서(130)와 별도의 메모리로 구현될 수도 있다. 이 경우, 메모리(110)는 데이터 저장 용도에 따라 전자 장치(100)에 임베디드된 메모리 형태로 구현되거나, 전자 장치(100)에 탈부착이 가능한 메모리 형태로 구현될 수도 있다. 예를 들어, 전자 장치(100)의 구동을 위한 데이터의 경우 전자 장치(100)에 임베디드된 메모리에 저장되고, 전자 장치(100)의 확장 기능을 위한 데이터의 경우 전자 장치(100)에 탈부착이 가능한 메모리에 저장될 수 있다.The memory 110 is implemented as an internal memory such as a ROM (eg, electrically erasable programmable read-only memory (EEPROM)) included in the processor 130 , a RAM, or the like, or with the processor 130 . It may be implemented as a separate memory. In this case, the memory 110 may be implemented in the form of a memory embedded in the electronic device 100 or may be implemented in the form of a memory detachable from the electronic device 100 depending on the purpose of data storage. For example, data for driving the electronic device 100 is stored in a memory embedded in the electronic device 100 , and data for an extended function of the electronic device 100 is detachable from the electronic device 100 . It can be stored in any available memory.

한편, 전자 장치(100)에 임베디드된 메모리의 경우 휘발성 메모리(예: DRAM(dynamic RAM), SRAM(static RAM), 또는 SDRAM(synchronous dynamic RAM) 등), 비휘발성 메모리(non-volatile Memory)(예: OTPROM(one time programmable ROM), PROM(programmable ROM), EPROM(erasable and programmable ROM), EEPROM(electrically erasable and programmable ROM), mask ROM, flash ROM, 플래시 메모리(예: NAND flash 또는 NOR flash 등), 하드 드라이브, 또는 솔리드 스테이트 드라이브(solid state drive(SSD)) 중 적어도 하나로 구현되고, 전자 장치(100)에 탈부착이 가능한 메모리의 경우 메모리 카드(예를 들어, CF(compact flash), SD(secure digital), Micro-SD(micro secure digital), Mini-SD(mini secure digital), xD(extreme digital), MMC(multi-media card) 등), USB 포트에 연결 가능한 외부 메모리(예를 들어, USB 메모리) 등과 같은 형태로 구현될 수 있다.Meanwhile, in the case of a memory embedded in the electronic device 100 , a volatile memory (eg, dynamic RAM (DRAM), static RAM (SRAM), or synchronous dynamic RAM (SDRAM)), non-volatile memory ( Examples: one time programmable ROM (OTPROM), programmable ROM (PROM), erasable and programmable ROM (EPROM), electrically erasable and programmable ROM (EEPROM), mask ROM, flash ROM, flash memory (such as NAND flash or NOR flash, etc.) ), a hard drive, or a solid state drive (SSD), and in the case of a removable memory in the electronic device 100, a memory card (eg, compact flash (CF), SD ( secure digital), Micro-SD (micro secure digital), Mini-SD (mini secure digital), xD (extreme digital), MMC (multi-media card), etc.), external memory that can be connected to the USB port (e.g., USB memory) and the like.

메모리(110)는 제1 사용자 식별 정보 및 제1 사용자 식별 정보에 대응되는 제1 패스워드 정보를 저장할 수 있다.The memory 110 may store the first user identification information and the first password information corresponding to the first user identification information.

여기서, 제1 사용자 식별 정보는 서버에 접속하는데 이용되는 사용자 아이디를 의미할 수 있다. 또한, 제1 사용자 식별 정보는 사용자 각각을 구별하기 위한 정보를 고유키를 의미할 수 있다. 또한, 제1 사용자 식별 정보에 대응되는 제1 패스워드 정보는 사용자 아이디에 대응되는 비밀번호를 의미할 수 있다. 따라서, 제1 사용자 식별 정보 및 제1 패스워드 정보는 서버에 접속하는 데 이용될 수 있다. 서버는 복수의 사용자 각각의 사용자 식별 정보 및 그에 대응되는 패스워드 정보를 저장할 수 있다. 여기서, 사용자 식별 정보 및 패스워드 정보는 사용자 정보에 포함될 수 있다.Here, the first user identification information may mean a user ID used to access the server. In addition, the first user identification information may mean information for distinguishing each user and a unique key. Also, the first password information corresponding to the first user identification information may mean a password corresponding to the user ID. Accordingly, the first user identification information and the first password information may be used to access the server. The server may store user identification information of each of the plurality of users and password information corresponding thereto. Here, user identification information and password information may be included in user information.

통신 인터페이스(120)는 다양한 유형의 통신 방식에 따라 다양한 유형의 외부 장치와 통신을 수행하는 구성이다. 통신 인터페이스(120)는 와이파이 모듈을 의미할 수 있다. 본 개시의 일 실시 예에 따른 전자 장치(100)는 와이파이 모듈을 이용하여 프로브 요청/응답 패킷을 전송 및 수신하는 동작을 개시하였다. 하지만, 다른 실시 예에 따라 전자 장치(100)는 블루투스 모듈, 적외선 통신 모듈 및 무선 통신 모듈을 포함하는 통신 인터페이스(120)를 이용하여 통신을 수행할 수 있다. 여기서, 각 통신 모듈은 적어도 하나의 하드웨어 칩 형태로 구현될 수 있다.The communication interface 120 is configured to communicate with various types of external devices according to various types of communication methods. The communication interface 120 may refer to a Wi-Fi module. The electronic device 100 according to an embodiment of the present disclosure starts an operation of transmitting and receiving a probe request/response packet using a Wi-Fi module. However, according to another embodiment, the electronic device 100 may perform communication using the communication interface 120 including a Bluetooth module, an infrared communication module, and a wireless communication module. Here, each communication module may be implemented in the form of at least one hardware chip.

프로세서(130)는 통신 인터페이스(120)를 이용하여 각종 외부 장치와 통신을 수행할 수 있다. 여기서, 외부 장치는 TV와 같은 디스플레이 장치, set-top box와 같은 영상 처리 장치, 외부 서버, 리모컨과 같은 제어 장치, 블루투스 스피커와 같은 음향 출력 장치, 조명 장치, 스마트 전구, 스마트 플러그, 스마트 청소기, 스마트 냉장고와 같은 가전 기기, IOT 홈 매니저 등과 같은 서버 등을 포함할 수 있다.The processor 130 may communicate with various external devices using the communication interface 120 . Here, the external device includes a display device such as a TV, an image processing device such as a set-top box, an external server, a control device such as a remote control, a sound output device such as a Bluetooth speaker, a lighting device, a smart light bulb, a smart plug, a smart cleaner, It may include a home appliance such as a smart refrigerator, a server such as an IOT home manager, and the like.

와이파이 모듈, 블루투스 모듈은 각각 WiFi 방식, 블루투스 방식으로 통신을 수행한다. 와이파이 모듈이나 블루투스 모듈을 이용하는 경우에는SSID 및 세션 키 등과 같은 각종 연결 정보를 먼저 송수신하여, 이를 이용하여 통신 연결한 후 각종 정보들을 송수신할 수 있다.The Wi-Fi module and the Bluetooth module perform communication using a WiFi method and a Bluetooth method, respectively. In the case of using a Wi-Fi module or a Bluetooth module, various types of connection information such as an SSID and a session key are first transmitted and received, and various types of information can be transmitted/received after communication connection using this.

적외선 통신 모듈은 가시 광선과 밀리미터파 사이에 있는 적외선을 이용하여 근거리에 무선으로 데이터를 전송하는 적외선 통신(IrDA, infrared Data Association)기술에 따라 통신을 수행한다.The infrared communication module communicates according to the infrared data association (IrDA) technology, which wirelessly transmits data in a short distance using infrared that is between visible light and millimeter wave.

무선 통신 모듈은 상술한 통신 방식 이외에 지그비(zigbee), 3G(3rd Generation), 3GPP(3rd Generation Partnership Project), LTE(Long Term Evolution), LTE-A(LTE Advanced), 4G(4th Generation), 5G(5th Generation)등과 같은 다양한 무선 통신 규격에 따라 통신을 수행하는 적어도 하나의 통신 칩을 포함할 수 있다.In addition to the above-described communication methods, the wireless communication module includes Zigbee, 3rd Generation (3G), 3rd Generation Partnership Project (3GPP), Long Term Evolution (LTE), LTE Advanced (LTE-A), 4th Generation (4G), 5G It may include at least one communication chip that performs communication according to various wireless communication standards such as (5th Generation).

그 밖에 통신 인터페이스(120)는LAN(Local Area Network) 모듈, 이더넷 모듈, 페어 케이블, 동축 케이블, 광섬유 케이블 또는 UWB(Ultra Wide-Band) 모듈 등을 이용하여 통신을 수행하는 유선 통신 모듈 중 적어도 하나를 포함할 수 있다.In addition, the communication interface 120 is at least one of a wired communication module for performing communication using a LAN (Local Area Network) module, an Ethernet module, a pair cable, a coaxial cable, an optical fiber cable, or an Ultra Wide-Band (UWB) module. may include

일 예에 따라 통신 인터페이스(120)는 리모컨과 같은 외부 장치 및 외부 서버와 통신하기 위해 동일한 통신 모듈(예를 들어, Wi-Fi 모듈)을 이용할 수 있다.According to an example, the communication interface 120 may use the same communication module (eg, Wi-Fi module) to communicate with an external device such as a remote control and an external server.

다른 예에 따라 통신 인터페이스(120)는 리모컨과 같은 외부 장치 및 외부 서버와 통신하기 위해 상이한 통신 모듈(예를 들어, Wi-Fi 모듈)을 이용할 수 있다. 예를 들어, 통신 인터페이스(120)는 외부 서버와 통신하기 위해 이더넷 모듈 또는 WiFi 모듈 중 적어도 하나를 이용할 수 있고, 리모컨과 같은 외부 장치와 통신하기 위해 BT 모듈을 이용할 수도 있다. 다만 이는 일 실시 예에 불과하며 통신 인터페이스(120)는 복수의 외부 장치 또는 외부 서버와 통신하는 경우 다양한 통신 모듈 중 적어도 하나의 통신 모듈을 이용할 수 있다.According to another example, the communication interface 120 may use a different communication module (eg, a Wi-Fi module) to communicate with an external device such as a remote control and an external server. For example, the communication interface 120 may use at least one of an Ethernet module or a WiFi module to communicate with an external server, and may use a BT module to communicate with an external device such as a remote control. However, this is only an embodiment, and when communicating with a plurality of external devices or external servers, the communication interface 120 may use at least one communication module among various communication modules.

프로세서(130)는 전자 장치의 전반적인 제어 동작을 수행할 수 있다. 구체적으로, 프로세서(130)는 전자 장치의 전반적인 동작을 제어하는 기능을 한다.The processor 130 may perform an overall control operation of the electronic device. Specifically, the processor 130 functions to control the overall operation of the electronic device.

프로세서(130)는 디지털 신호를 처리하는 디지털 시그널 프로세서(digital signal processor(DSP), 마이크로 프로세서(microprocessor), TCON(Time controller)으로 구현될 수 있다. 다만, 이에 한정되는 것은 아니며, 중앙처리장치(central processing unit(CPU)), MCU(Micro Controller Unit), MPU(micro processing unit), 컨트롤러(controller), 어플리케이션 프로세서(application processor(AP)), GPU(graphics-processing unit) 또는 커뮤니케이션 프로세서(communication processor(CP)), ARM 프로세서 중 하나 또는 그 이상을 포함하거나, 해당 용어로 정의될 수 있다. 또한, 프로세서(130)는 프로세싱 알고리즘이 내장된 SoC(System on Chip), LSI(large scale integration)로 구현될 수도 있고, FPGA(Field Programmable gate array) 형태로 구현될 수도 있다. 또한, 프로세서(130)는 메모리에 저장된 컴퓨터 실행가능 명령어(computer executable instructions)를 실행함으로써 다양한 기능을 수행할 수 있다.The processor 130 may be implemented as a digital signal processor (DSP), a microprocessor (microprocessor), or a time controller (TCON) for processing a digital signal, but is not limited thereto, and a central processing unit ( central processing unit (CPU), micro controller unit (MCU), micro processing unit (MPU), controller, application processor (AP), graphics-processing unit (GPU) or communication processor (CP)), may include one or more of an ARM processor, or may be defined by a corresponding term In addition, the processor 130 is a SoC (System on Chip) or LSI (large scale integration) with a built-in processing algorithm. It may be implemented in the form of a field programmable gate array (FPGA), and the processor 130 may perform various functions by executing computer executable instructions stored in a memory.

프로세서(130)는 메모리(110)에 저장된 제1 사용자 식별 정보 및 제1 패스워드 정보에 기초하여 AP (Access Point) 장치(300)를 통해 서버(400)에 연결하도록 통신 인터페이스(120)를 제어하는 프로세서(130)를 포함하며, 프로세서(130)는 통신 인터페이스(120)를 통해 서버(400)와 연결되지 않으면, 전자 장치(100)가 AP 모드로 동작하도록 통신 인터페이스(120)를 제어하고, 전자 장치(100)가 AP 모드로 동작하는 동안 외부 단말 장치(200)로부터 제2 패스워드 정보가 수신되면, 제1 사용자 식별 정보 및 제2 패스워드에 기초하여 AP 장치(300)를 통해 서버(400)에 연결하도록 통신 인터페이스(120)를 제어한다.The processor 130 controls the communication interface 120 to connect to the server 400 through the AP (Access Point) device 300 based on the first user identification information and the first password information stored in the memory 110. It includes a processor 130 , and when the processor 130 is not connected to the server 400 through the communication interface 120 , the electronic device 100 controls the communication interface 120 to operate in the AP mode, and When the second password information is received from the external terminal device 200 while the device 100 operates in the AP mode, the server 400 is transmitted to the server 400 through the AP device 300 based on the first user identification information and the second password. Control the communication interface 120 to connect.

여기서, AP 장치(300)는 댁내 IoT 네트워크에 포함된 복수의 장치와 서버(400) 사이에서 정보를 전달하는 허브 장치를 의미할 수 있다. 전자 장치(100)가 AP 장치(300)를 통해 서버(400)에 연결되는 동작은 프로세서(130)가 저장된 제1 사용자 식별 정보 및 제1 패스워드 정보를 AP 장치(300)에 전송하고, AP 장치(300)는 수신된 제1 사용자 식별 정보 및 제1 패스워드 정보를 서버(400)에 전송하고, 서버(400)는 수신된 제1 사용자 식별 정보 및 제1 패스워드 정보가 기 저장된 사용자 정보와 일치하는 경우 전자 장치(100)가 서버에 연결될 권한이 있음을 식별하여 전자 장치(100)와 연결하는 동작을 의미할 수 있다. 예를 들어, 전자 장치(100)에 저장된 사용자 정보(또는 사용자 계정 정보)에 기초하여 서버(400)에 연결을 시도(또는 로그인 시도)하고 로그인이 성공하면 전자 장치(100) 및 서버(400)가 연결될 수 있다.Here, the AP device 300 may refer to a hub device that transmits information between a plurality of devices included in the home IoT network and the server 400 . When the electronic device 100 is connected to the server 400 through the AP device 300 , the processor 130 transmits stored first user identification information and first password information to the AP device 300 , and the AP device 300 transmits the received first user identification information and first password information to the server 400, and the server 400 matches the received first user identification information and the first password information with pre-stored user information. In this case, it may refer to an operation in which the electronic device 100 identifies that it has an authority to connect to the server and connects with the electronic device 100 . For example, based on user information (or user account information) stored in the electronic device 100, an attempt is made to connect to (or attempt to log in) the server 400 and if the login is successful, the electronic device 100 and the server 400 can be connected

여기서, 전자 장치(100)의 연결 시도가 실패하는 경우가 있을 수 있다. 예를 들어, 전자 장치(100)가 전송한 사용자 정보(제1 사용자 식별 정보 및 제1 패스워드 정보)가 서버(400)에 저장된 사용자 정보와 일치하지 않는 경우가 있을 수 있다. 구체적으로, 아이디가 변경되거나 패스워드가 변경되는 경우가 있을 수 있다. 서버(400)에서는 사용자 정보가 변경되었으나, 전자 장치(100)에서는 변경된 사용자 정보를 업데이트하지 않은 경우 전자 장치(100)의 서버(400)에 대한 연결 시도는 실패할 수 있다. 전자 장치(100)의 연결 시도가 실패하는 경우는 최초의 연결 시도가 실패하는 경우와 이미 기존에 연결이 되었다가 사용자 정보 변경 등의 이유로 연결 시도가 실패하는 경우가 있을 수 있다. 그리고, 프로세서(130)가 통신 인터페이스(120)를 통해 서버(400)와 연결되지 않는 동작은 전자 장치(100)가 서버(400)에 기존에 이미 한번 이상 연결되었으나 현재 연결 시도가 실패한 경우를 의미할 수 있다.Here, there may be a case where the connection attempt of the electronic device 100 fails. For example, there may be a case where user information (first user identification information and first password information) transmitted by the electronic device 100 does not match user information stored in the server 400 . Specifically, there may be cases in which an ID is changed or a password is changed. When user information is changed in the server 400 , but the changed user information is not updated in the electronic device 100 , an attempt to connect the electronic device 100 to the server 400 may fail. When the connection attempt of the electronic device 100 fails, there may be a case where the first connection attempt fails or a case where the connection attempt fails due to a change in user information after having already been connected. In addition, the operation in which the processor 130 is not connected to the server 400 through the communication interface 120 means that the electronic device 100 has already been connected to the server 400 at least once, but the current connection attempt has failed. can do.

프로세서(130)는 전자 장치(100)가 서버(400)에 연결되지 않으면, 전자 장치(100)의 모드를 AP 모드로 변경할 수 있다. 여기서, AP 모드는 전자 장치(100)가 AP의 기능을 수행하는 모드를 의미할 수 있다. 예를 들어, 전자 장치(100)는 AP 모드에서 정보를 외부 장치로 전송할 수 있다. 구체적으로, 프로세서(130)는 AP 모드에서 특정 정보를 포함하는 와이파이 신호를 브로드캐스팅할 수 있다. 여기서, AP 모드는 소프트 AP 모드를 의미할 수 있다. 한편, 와이파이 신호를 전송하는 것으로 기재하였지만 구현 예에 따라 전자 장치(100)는 와이파이 신호를 브로드캐스팅 하는 동작 이외에 다양한 통신 모듈에 기초하여 정보를 주고 받을 수 있다.When the electronic device 100 is not connected to the server 400 , the processor 130 may change the mode of the electronic device 100 to the AP mode. Here, the AP mode may mean a mode in which the electronic device 100 performs an AP function. For example, the electronic device 100 may transmit information to an external device in the AP mode. Specifically, the processor 130 may broadcast a Wi-Fi signal including specific information in the AP mode. Here, the AP mode may mean a soft AP mode. Meanwhile, although it has been described as transmitting a Wi-Fi signal, the electronic device 100 may transmit and receive information based on various communication modules in addition to the operation of broadcasting the Wi-Fi signal according to an embodiment.

전자 장치(100)는 소프트(soft) AP 모드 또는 스테이션(station) 모드로 동작할 수 있다. 여기서, 소프트 AP모드란 전자 장치(100)가 AP가 되어 적어도 하나의 외부 단말 장치가 전자 장치(100)에 연결되는 것을 의미할 수 있다. 전자 장치(100)에 연결된 적어도 하나의 외부 단말 장치는 전자 장치(100)로부터 IP를 할당 받을 수 있으며, 로컬 네트워크에서 정보를 주고 받을 수 있다. 여기서, 스테이션 모드란 전자 장치(100)가 AP 장치(300)에 접속(또는 연결)하는 모드를 의미할 수 있다. 전자 장치(100)는 스테이션 모드에서 AP 장치(300)로부터 IP를 할당 받거나 AP 장치(300)의 IP를 이용할 수 있다. 상술한 전자 장치(100)가 AP 모드로 동작하도록 제어하는 동작은 스테이션 모드에서 AP 모드로 변경하는 동작을 의미할 수 있다. 구체적으로, 프로세서(130)는 전자 장치(100)가 서버(400)에 연결되지 않으면, AP 장치(300)에 접속(또는 연결)되어 있는 스테이션 모드에서 와이파이 신호를 브로드캐스팅하는 AP 모드로 변경할 수 있다.The electronic device 100 may operate in a soft AP mode or a station mode. Here, the soft AP mode may mean that the electronic device 100 becomes an AP and at least one external terminal device is connected to the electronic device 100 . At least one external terminal device connected to the electronic device 100 may receive an IP assignment from the electronic device 100 and may exchange information in a local network. Here, the station mode may mean a mode in which the electronic device 100 accesses (or connects) to the AP device 300 . The electronic device 100 may receive an IP assignment from the AP device 300 or use the IP of the AP device 300 in the station mode. The above-described operation of controlling the electronic device 100 to operate in the AP mode may refer to an operation of changing from the station mode to the AP mode. Specifically, when the electronic device 100 is not connected to the server 400 , the processor 130 may change from a station mode connected to (or connected to) the AP device 300 to an AP mode that broadcasts a Wi-Fi signal. have.

전자 장치(100)가 AP 모드로 변경된 이후, 외부 단말 장치(200)는 전자 장치(100)에 새로운 사용자 정보를 전송할 수 있다. 구체적으로, 외부 단말 장치(200)는 전자 장치(100)가 브로드캐스팅한 와이파이 신호에 기초하여 전자 장치(100)를 특정할 수 있다. 여기서, 와이파이 신호는 새로운 사용자 정보를 요청하는 정보를 포함할 수 있다. 그리고, 외부 단말 장치(200)는 특정된 전자 장치(100)에 새로운 사용자 정보를 전송할 수 있다. 여기서, 새로운 사용자 정보는 업데이트된 사용자 계정 정보를 의미할 수 있다.After the electronic device 100 is changed to the AP mode, the external terminal device 200 may transmit new user information to the electronic device 100 . Specifically, the external terminal device 200 may specify the electronic device 100 based on the Wi-Fi signal broadcast by the electronic device 100 . Here, the Wi-Fi signal may include information requesting new user information. In addition, the external terminal device 200 may transmit new user information to the specified electronic device 100 . Here, the new user information may mean updated user account information.

사용자 정보에 포함된 제1 사용자 식별 정보 및 제1 패스워드 정보 중 제1 패스워드가 제2 패스워드로 변경되었다고 가정한다. 전자 장치(100)는 제1 사용자 식별 정보 및 제1 패스워드 정보로 서버(400)에 연결을 시도하면 실패할 수 있다. 이미 서버(400)는 업데이트된 사용자 정보를 저장하고 있기 때문이다. 따라서, 전자 장치(100)는 업데이트된 사용자 정보가 필요할 수 있다. 전자 장치(100)로부터 와이파이 신호가 수신되면, 외부 단말 장치(200)는 업데이트된 사용자 정보(새로운 사용자 정보)를 전자 장치(100)에 전송할 수 있다. 여기서, 외부 단말 장치(200)는 사용자 정보 중 변경된 정보만을 전자 장치(100)에 전송할 수 있다. 상술한 예시에서 제1 사용자 식별 정보는 변경되지 않고 제1 패스워드 정보만 제2 패스워드 정보로 변경되었다고 가정하였으므로, 외부 단말 장치(200)는 제2 패스워드 정보만을 전자 장치(100)에 전송할 수 있다.It is assumed that the first password among the first user identification information and the first password information included in the user information is changed to the second password. When the electronic device 100 attempts to connect to the server 400 using the first user identification information and the first password information, it may fail. This is because the server 400 already stores the updated user information. Accordingly, the electronic device 100 may need updated user information. When a Wi-Fi signal is received from the electronic device 100 , the external terminal device 200 may transmit updated user information (new user information) to the electronic device 100 . Here, the external terminal device 200 may transmit only changed information among user information to the electronic device 100 . In the above example, since it is assumed that the first user identification information is not changed and only the first password information is changed to the second password information, the external terminal device 200 may transmit only the second password information to the electronic device 100 .

프로세서(130)는 외부 단말 장치(200)로부터 제2 패스워드 정보를 수신할 수 있다. 그리고, 제2 패스워드 정보가 수신되면 기 저장되어 있던 제1 사용자 정보 및 수신된 제2 패스워드 정보에 기초하여 서버(400)에 연결을 시도할 수 있다. 구체적으로, 전자 장치(100)는 제1 사용자 정보 및 제2 패스워드 정보를 AP 장치(300)에 전송하고, AP 장치(300)는 제1 사용자 정보 및 제2 패스워드 정보를 서버(400)에 전송할 수 있다. 그리고, 서버(400)는 수신된 제1 사용자 정보 및 제2 패스워드 정보를 확인하여 전자 장치(100)의 연결 여부를 식별할 수 있다. 서버(400)는 수신된 제1 사용자 정보 및 제2 패스워드 정보와 기 저장된 복수의 사용자 정보 중 하나와 일치하면 전자 장치(100)의 연결 시도를 허락할 수 있다.The processor 130 may receive the second password information from the external terminal device 200 . And, when the second password information is received, a connection to the server 400 may be attempted based on the previously stored first user information and the received second password information. Specifically, the electronic device 100 transmits the first user information and the second password information to the AP device 300 , and the AP device 300 transmits the first user information and the second password information to the server 400 . can In addition, the server 400 may identify whether the electronic device 100 is connected by checking the received first user information and second password information. The server 400 may allow the connection attempt of the electronic device 100 when the received first user information and second password information match one of a plurality of pre-stored user information.

한편, 메모리(110)는 공유키를 더 저장할 수 있으며, 프로세서(130)는 전자 장치(100)가 AP 모드로 동작하는 동안 외부 단말 장치(200)로부터 공유키를 포함하는 정보가 수신되면, 수신된 정보에 포함된 공유키 및 메모리(110)에 저장된 공유키에 기초하여 제2 패스워드 정보를 수신하기 위한 응답 정보를 외부 단말 장치(200)로 전송할 수 있다.Meanwhile, the memory 110 may further store the shared key, and the processor 130 receives information including the shared key from the external terminal device 200 while the electronic device 100 operates in the AP mode. Response information for receiving the second password information may be transmitted to the external terminal device 200 based on the shared key included in the received information and the shared key stored in the memory 110 .

여기서, 공유키는 동일한 IoT 네트워크에 포함된 장치를 구분하는데 이용되는 정보일 수 있다. 예를 들어, 공유키가 동일하면 동일한 IoT 네트워크에 포함되는 것이므로 상호 정보를 주고 받을 수 있으며, 공유키가 상이하면 동일한 IoT 네트워크에 포함되지 않는 것이므로 상호 정보를 주고 받지 않을 수 있다. 따라서, 공유키는 기 저장된 키 또는 기 저장된 방식으로 생성되는 키일 수 있다. 즉, 동일한 IoT 네트워크에 포함된 복수의 장치들은 동일한 공유키를 저장하고 있을 수 있다.Here, the shared key may be information used to distinguish devices included in the same IoT network. For example, if the shared key is the same, since they are included in the same IoT network, mutual information may be exchanged. If the shared key is different, since they are not included in the same IoT network, mutual information may not be exchanged. Accordingly, the shared key may be a pre-stored key or a key generated in a pre-stored manner. That is, a plurality of devices included in the same IoT network may store the same shared key.

외부 단말 장치(200)는 업데이트된 사용자 정보(업데이트된 사용자 정보)를 전자 장치(100)에 전송하기 전에 공유키를 포함하는 정보만을 전자 장치(100)에 전송할 수 있다. 여기서, 공유키를 포함하는 정보는 공유키 이외에 전자 장치(100)의 주소 정보 또는 외부 단말 장치(200)의 식별 정보 등을 추가적으로 포함할 수 있다. 프로세서(130)는 통신 인터페이스(120)를 통해 외부 단말 장치(200)로부터 수신된 정보에서 공유키를 획득할 수 있다. 여기서, 프로세서(130)는 외부 단말 장치(200)가 동일한 IoT 네트워크에서 수신된 정보인지 판단하기 위하여 공유키 비교 동작을 수행할 수 있다. 구체적으로, 프로세서(130)는 외부 단말 장치(200)로부터 수신된 공유키와 전자 장치(100)의 메모리(110)에 저장된 공유키를 비교할 수 있다. 만약, 외부 단말 장치(200)로부터 수신된 공유키와 전자 장치(100)의 메모리(110)에 저장된 공유키가 일치하면, 프로세서(130)는 업데이트된 사용자 정보를 요청하는 제어 명령을 포함하는 응답 정보를 생성할 수 있다. 그리고, 프로세서(130)는 생성된 응답 정보를 와이파이 신호로서 브로드캐스팅할 수 있다. 그리고, 외부 단말 장치(200)는 수신된 응답 정보에 기초하여 업데이트된 사용자 정보(제2 패스워드 정보)를 전자 장치(100)에 전송할 수 있다. 외부 단말 장치(200)로부터 업데이트된 사용자 정보(제2 패스워드 정보)가 수신되면, 프로세서(130)는 수신된 사용자 정보(제2 패스워드 정보)와 기 저장된 사용자 정보 중 변경되지 않은(업데이트 되지 않은) 사용자 정보(제1 사용자 식별 정보)에 기초하여 서버(400)에 연결을 시도할 수 있다. 프로세서(130)는 업데이트된 사용자 정보(제1 사용자 식별 정보 및 제2 패스워드 정보)에 기초하여 서버(400)에 연결을 시도할 수 있으며, 서버(400)는 업데이트된 사용자 정보를 확인하여 전자 장치(100)와 연결될 수 있다.The external terminal device 200 may transmit only information including the shared key to the electronic device 100 before transmitting the updated user information (updated user information) to the electronic device 100 . Here, the information including the shared key may additionally include address information of the electronic device 100 or identification information of the external terminal device 200 in addition to the shared key. The processor 130 may acquire the shared key from information received from the external terminal device 200 through the communication interface 120 . Here, the processor 130 may perform a shared key comparison operation to determine whether the external terminal device 200 is information received from the same IoT network. Specifically, the processor 130 may compare the shared key received from the external terminal device 200 with the shared key stored in the memory 110 of the electronic device 100 . If the shared key received from the external terminal device 200 and the shared key stored in the memory 110 of the electronic device 100 match, the processor 130 responds with a control command requesting updated user information information can be created. In addition, the processor 130 may broadcast the generated response information as a Wi-Fi signal. In addition, the external terminal device 200 may transmit updated user information (second password information) to the electronic device 100 based on the received response information. When the updated user information (second password information) is received from the external terminal device 200, the processor 130 is not changed (not updated) among the received user information (second password information) and pre-stored user information. A connection to the server 400 may be attempted based on user information (first user identification information). The processor 130 may attempt to connect to the server 400 based on the updated user information (the first user identification information and the second password information), and the server 400 checks the updated user information and the electronic device (100) can be connected.

한편, 프로세서(130)는 전자 장치(100)가 AP 모드로 동작하는 동안 공유키를 포함하는 제1 프로브 요청 패킷이 수신되면, 수신된 제1 프로브 요청 패킷에 포함된 공유키와 메모리(110)에 저장된 공유키가 일치하는 경우 공유키가 일치하는지 여부를 식별하고, 식별 결과에 기초하여 응답 정보를 외부 단말 장치(200)로 전송할 수 있다.Meanwhile, when the first probe request packet including the shared key is received while the electronic device 100 operates in the AP mode, the processor 130 includes the shared key and the memory 110 included in the received first probe request packet. When the shared keys stored in the , it is identified whether the shared keys match, and response information may be transmitted to the external terminal device 200 based on the identification result.

상술한 공유키를 포함하는 정보는 제1 프로브 요청 패킷일 수 있다. 제1 프로브 요청 패킷은 공유키, 전자 장치(100) 주소 정보를 포함할 수 있다. 프로세서(130)는 외부 단말 장치(200)로부터 수신된 제1 프로브 요청 패킷에서 공유키를 획득할 수 있다. 그리고, 프로세서(130)는 외부 단말 장치(200)로부터 수신한 공유키와 기 저장된 공유키가 일치하는지 여부를 식별할 수 있다. 그리고, 일치 여부에 대한 식별 결과를 획득할 수 있다. 그리고, 프로세서(130)는 획득된 식별 결과를 포함하는 응답 정보를 생성할 수 있다. 식별 결과는 외부 단말 장치(200)로부터 수신한 공유키와 기 저장된 공유키가 일치한다는 정보 또는 외부 단말 장치(200)로부터 수신한 공유키와 기 저장된 공유키가 일치하지 않는 다는 정보를 포함할 수 있다.The information including the above-described shared key may be the first probe request packet. The first probe request packet may include a shared key and address information of the electronic device 100 . The processor 130 may acquire the shared key from the first probe request packet received from the external terminal device 200 . Then, the processor 130 may identify whether the shared key received from the external terminal device 200 matches the pre-stored shared key. And, it is possible to obtain an identification result of whether or not the match. Then, the processor 130 may generate response information including the obtained identification result. The identification result may include information that the shared key received from the external terminal device 200 and the pre-stored shared key match, or information that the shared key received from the external terminal device 200 and the pre-stored shared key do not match. have.

그리고, 프로세서(130)는 생성된 응답 정보를 외부 단말 장치(200)에 전송할 수 있다. 구체적으로, 프로세서(130)는 생성된 응답 정보를 포함하는 와이파이 신호를 브로드캐스팅할 수 있으며, 외부 단말 장치(200)가 브로드캐스팅된 와이파이 신호를 수신하여 전자 장치(100)의 응답 정보를 획득할 수 있다. 한편, 응답 정보는 프로브 응답 패킷일 수 있다.In addition, the processor 130 may transmit the generated response information to the external terminal device 200 . Specifically, the processor 130 may broadcast a Wi-Fi signal including the generated response information, and the external terminal device 200 may receive the broadcast Wi-Fi signal to obtain response information of the electronic device 100 . can Meanwhile, the response information may be a probe response packet.

한편, 프로세서(130)는 수신된 제1 프로브 요청 패킷에 포함된 공유키와 메모리(110)에 저장된 공유키가 일치하는 경우, 공유키가 일치함을 나타내는 정보를 포함하는 프로브 응답 패킷을 외부 단말 장치(200)에 전송할 수 있고, 외부 단말 장치(200)로부터 제2 패스워드 정보를 포함하는 제2 프로브 요청 패킷이 수신되면, 제1 사용자 식별 정보 및 제2 패스워드에 기초하여 AP 장치(300)를 통해 서버(400)에 연결하도록 통신 인터페이스(120)를 제어할 수 있다.Meanwhile, when the shared key included in the received first probe request packet matches the shared key stored in the memory 110 , the processor 130 transmits a probe response packet including information indicating that the shared key matches the external terminal. When the second probe request packet that can be transmitted to the device 200 and includes the second password information is received from the external terminal device 200 , the AP device 300 is configured based on the first user identification information and the second password. It is possible to control the communication interface 120 to connect to the server 400 through the.

프로세서(130)는 외부 단말 장치(200)로부터 수신한 공유키와 기 저장된 공유키가 일치하면, 공유키가 일치한다는 정보를 포함하는 프로브 응답 패킷을 생성할 수 있다. 그리고, 프로세서(130)는 프로브 응답 패킷을 와이파이 신호로서 브로드캐스팅할 수 있다. 브로드캐스팅된 와이파이 신호를 수신하면, 외부 단말 장치(200)는 통신 인터페이스(220)를 통해 업데이트된 사용자 정보를 전자 장치(100)에 전송할 수 있다. 여기서, 업데이트된 사용자 정보는 제2 패스워드 정보를 의미할 수 있다.When the shared key received from the external terminal device 200 matches the pre-stored shared key, the processor 130 may generate a probe response packet including information indicating that the shared key matches. In addition, the processor 130 may broadcast the probe response packet as a Wi-Fi signal. Upon receiving the broadcast Wi-Fi signal, the external terminal device 200 may transmit updated user information to the electronic device 100 through the communication interface 220 . Here, the updated user information may mean second password information.

구체적으로, 외부 단말 장치(200)는 전자 장치(100)에서 브로드캐스팅된 와이파이 신호가 수신되면, 수신된 와이파이 신호에 포함된 프로브 응답 패킷에 기초하여 식별 결과를 확인할 수 있다. 식별 결과가 공유키가 일치한다는 정보이면, 외부 단말 장치(200)는 업데이트된 사용자 정보를 포함하는 제2 프로브 요청 패킷을 생성할 수 있다. 그리고, 외부 단말 장치(200)는 생성된 제2 프로브 요청 패킷을 전자 장치(100)에 전송할 수 있다. 프로세서(130)는 외부 단말 장치(200)로부터 수신한 제2 프로브 요청 패킷에 기초하여 업데이트된 사용자 정보를 획득할 수 있다. 그리고, 프로세서(130)는 획득한 사용자 정보(제2 패스워드 정보) 및 기 저장된 사용자 정보 중 변경되지 않은 사용자 정보(제1 사용자 식별 정보)에 기초하여 서버(400)에 연결을 시도할 수 있다.Specifically, when a Wi-Fi signal broadcast from the electronic device 100 is received, the external terminal device 200 may check an identification result based on a probe response packet included in the received Wi-Fi signal. If the identification result is information that the shared key matches, the external terminal device 200 may generate a second probe request packet including updated user information. In addition, the external terminal device 200 may transmit the generated second probe request packet to the electronic device 100 . The processor 130 may acquire updated user information based on the second probe request packet received from the external terminal device 200 . In addition, the processor 130 may attempt to connect to the server 400 based on the acquired user information (second password information) and unchanged user information (first user identification information) among previously stored user information.

구현 예에 따라, 패스워드 정보 이외에 사용자 식별 정보가 변경된 경우, 프로세서(130)는 변경된 사용자 식별 정보 및 변경된 패스워드 정보에 기초하여 서버(400)에 연결을 시도할 수 있다.According to an implementation example, when user identification information other than password information is changed, the processor 130 may attempt to connect to the server 400 based on the changed user identification information and the changed password information.

한편, 제1 사용자 식별 정보 및 제1 패스워드 정보는 외부 단말 장치(200)로부터 수신된 정보일 수 있으며, 메모리(110)에 저장된 공유키는 제1 사용자 식별 정보 및 제1 패스워드 정보와 함께 외부 단말 장치(200)로부터 수신된 정보일 수 있다.Meanwhile, the first user identification information and the first password information may be information received from the external terminal device 200 , and the shared key stored in the memory 110 is an external terminal together with the first user identification information and the first password information. It may be information received from the device 200 .

전자 장치(100)의 메모리(110)에 기 저장된 사용자 정보(제1 사용자 식별 정보 및 제1 패스워드 정보)는 업데이트 이전에 외부 단말 장치(200)로부터 수신된 정보일 수 있다. 또한, 기 저장된 사용자 정보와 함께 기 저장된 공유키도 외부 단말 장치(200)로부터 수신될 정보일 수 있다. 외부 단말 장치(200)는 동일한 IoT 네트워크에 포함된 장치에만 공유키를 전송할 수 있다. 따라서, 전자 장치(100) 가 동일한 IoT 네트워크 에 포함되는 것으로 식별하면, 외부 단말 장치(200)는 사용자 정보 및 공유키를 함께 전자 장치(100)에 전송할 수 있다. 전자 장치(100) 및 외부 단말 장치(200)는 공유키로서 동일한 IoT 네트워크에 포함된 장치인지 상호 확인할 수 있다.The user information (first user identification information and first password information) pre-stored in the memory 110 of the electronic device 100 may be information received from the external terminal device 200 before the update. In addition, a shared key pre-stored together with pre-stored user information may also be information to be received from the external terminal device 200 . The external terminal device 200 may transmit the shared key only to devices included in the same IoT network. Accordingly, when the electronic device 100 is identified as being included in the same IoT network, the external terminal device 200 may transmit the user information and the shared key together to the electronic device 100 . The electronic device 100 and the external terminal device 200 may mutually check whether the devices are included in the same IoT network as the shared key.

한편, 프로세서(130)는 제1 사용자 식별 정보 및 제1 패스워드 정보와 함께 AP 장치(300)의 식별 정보를 수신하며, 수신된 AP 장치(300)의 식별 정보에 대응되는 AP 장치(300)를 통해 서버(400)에 연결하도록 통신 인터페이스(120)를 제어할 수 있다.Meanwhile, the processor 130 receives the identification information of the AP device 300 together with the first user identification information and the first password information, and selects the AP device 300 corresponding to the received identification information of the AP device 300 . It is possible to control the communication interface 120 to connect to the server 400 through the.

한편, 프로세서(130)는 사용자 식별 정보와 함께 AP 장치(300)의 식별 정보를 함께 수신할 수 있다. AP 장치(300)의 식별 정보는 동일한 IoT 네트워크에 포함된 AP 장치를 식별하기 위한 정보일 수 있다. 프로세서(130)는 수신된 사용자 정보(제1 사용자 식별 정보 및 제1 패스워드 정보)를 AP 장치(300)의 식별 정보에 대응되는 AP 장치(300)에 전송할 수 있다. 그리고, AP 장치(300)는 수신된 사용자 정보를 서버(400)에 전송할 수 있다. 그리고, 서버(400)는 수신된 사용자 정보를 확인하여 전자 장치(100)가 연결 권한이 있는지 식별할 수 있다. 그리고, 수신된 사용자 정보가 기 저장된 사용자 정보와 일치하면, 서버(400)는 전자 장치(100)의 연결 시도를 허용할 수 있다.Meanwhile, the processor 130 may receive identification information of the AP device 300 together with the user identification information. The identification information of the AP device 300 may be information for identifying an AP device included in the same IoT network. The processor 130 may transmit the received user information (first user identification information and first password information) to the AP device 300 corresponding to the identification information of the AP device 300 . Then, the AP device 300 may transmit the received user information to the server 400 . In addition, the server 400 may identify whether the electronic device 100 has a connection right by checking the received user information. And, if the received user information matches the previously stored user information, the server 400 may allow the electronic device 100 to attempt a connection.

한편, 프로세서(130)는 제2 패스워드 정보가 수신되면, 메모리(110)에 저장된 제1 패스워드를 제2 패스워드로 업데이트할 수 있다.Meanwhile, when the second password information is received, the processor 130 may update the first password stored in the memory 110 to the second password.

프로세서(130)는 외부 단말 장치(200)로부터 업데이트된 사용자 정보를 획득할 수 있다. 일 실시 예에 따라, 사용자 식별 정보 및 패스워드 정보가 모두 변경될 수 있다. 여기서, 프로세서(130)는 수신된 사용자 정보(변경된 사용자 식별 정보 및 변경된 패스워드 정보)에 기초하여 서버(400)에 연결을 시도할 수 있다. 다른 실시 예에 따라, 패스워드 정보만 변경될 수 있다. 여기서, 프로세서(130)는 수신된 사용자 정보에 기초하여 기 저장된 사용자 정보와 비교할 수 있다. 구체적으로, 프로세서(130)는 수신된 사용자 정보와 기 저장된 사용자 정보와 동일한 정보(제1 사용자 식별 정보) 및 동일하지 않은 정보(제2 패스워드 정보)를 획득할 수 있다. 구체적으로, 프로세서(130)는 변경 전 패스워드 정보(제1 패스워드 정보)를 제2 패스워드 정보로 업데이트할 수 있다. 그리고, 획득한 사용자 정보(제1 사용자 식별 정보 및 제2 패스워드 정보)에 기초하여 서버(400)에 연결을 시도할 수 있다.The processor 130 may obtain updated user information from the external terminal device 200 . According to an embodiment, both user identification information and password information may be changed. Here, the processor 130 may attempt to connect to the server 400 based on the received user information (changed user identification information and changed password information). According to another embodiment, only password information may be changed. Here, the processor 130 may compare it with pre-stored user information based on the received user information. Specifically, the processor 130 may obtain information (first user identification information) and information that is not the same as received user information and pre-stored user information (second password information). Specifically, the processor 130 may update the password information before the change (the first password information) to the second password information. In addition, a connection to the server 400 may be attempted based on the acquired user information (first user identification information and second password information).

한편, 프로세서(130)는 전자 장치(100)가 AP 모드로 동작하는 동안 AP 장치(300)와 연결이 해제되도록 통신 인터페이스(120)를 제어할 수 있고, 통신 인터페이스(120)를 통해 와이파이 신호를 브로드캐스팅할 수 있다.Meanwhile, the processor 130 may control the communication interface 120 to release the connection from the AP device 300 while the electronic device 100 operates in the AP mode, and transmit a Wi-Fi signal through the communication interface 120 . can be broadcast.

프로세서(130)는 AP 장치(300)에 접속하는 스테이션 모드로 동작하고 있을 수 있다. 만약, 여기서, 기 설정된 이벤트에 기초하여 전자 장치(100)가 AP 모드(또는 소프트 AP 모드)로 동작하면, 프로세서(130)는 기존에 스테이션 모드에서 접속하고 있던 AP 장치(300)와의 연결을 해제할 수 있다. 그리고, 프로세서(130)는 스테이션 모드를 AP 모드로 변경할 수 있다. 프로세서(130)는 AP 모드에서 특정 정보를 포함하는 와이파이 신호를 브로드캐스팅할 수 있다. 외부 단말 장치(200)는 브로드캐스팅된 와이파이 신호에 기초하여 전자 장치(100)를 특정할 수 있으며, 특정된 전자 장치(100)에 정보를 전송할 수 있다.The processor 130 may be operating in a station mode accessing the AP device 300 . Here, if the electronic device 100 operates in the AP mode (or soft AP mode) based on a preset event, the processor 130 releases the connection with the AP device 300 previously accessed in the station mode. can do. Then, the processor 130 may change the station mode to the AP mode. The processor 130 may broadcast a Wi-Fi signal including specific information in the AP mode. The external terminal device 200 may specify the electronic device 100 based on the broadcast Wi-Fi signal, and may transmit information to the specified electronic device 100 .

한편, 프로세서(130)는 외부 단말 장치(200)로부터 서버(400)와 연결 여부에 대한 정보를 요청하는 프로브 요청 패킷이 수신되면, 서버(400)와 연결 여부에 대한 정보를 포함하는 프로브 응답 패킷을 외부 단말 장치(200)로 전송할 수 있다.Meanwhile, when a probe request packet for requesting information on whether to connect to the server 400 is received from the external terminal device 200 , the processor 130 receives a probe response packet including information on whether to connect to the server 400 . may be transmitted to the external terminal device 200 .

서버(400)와 연결 여부에 대한 정보는 현재 전자 장치(100)가 서버(400)와 연결이 가능한지 여부에 대한 정보를 의미할 수 있다. 구체적으로, 외부 단말 장치(200)는 현재 전자 장치(100)가 서버(400)에 연결될 수 있는지 확인하기 위해 전자 장치(100)에 확인을 요청할 수 있다. 외부 단말 장치(200)는 서버(400)와의 연결 여부에 대한 정보를 요청하는 프로브 요청 패킷을 생성할 수 있으며, 생성된 프로브 요청 패킷을 전자 장치(100)에 전송할 수 있다. 프로세서(130)는 외부 단말 장치(200)로부터 서버(400)와의 연결 여부에 대한 정보 요청을 포함하는 프로브 요청 패킷을 수신하면, 서버(400)와의 연결 여부를 확인할 수 있다. 예를 들어, 전자 장치(100)는 기존 사용자 정보에 기초하여 서버(400)와의 연결을 시도할 수 있다. 프로세서(130)는 전자 장치(100)가 이미 서버(400)에 기존에 연결되었다 하더라도 재연결을 시도할 수 있다. 그리고, 프로세서(130)는 연결 시도에 대한 결과를 포함하는 프로브 응답 패킷을 생성할 수 있다. 그리고, 프로세서(130)는 생성된 프로브 응답 패킷을 와이파이 신호로서 브로드캐스팅할 수 있다.The information on whether to connect to the server 400 may mean information on whether the current electronic device 100 can connect to the server 400 . Specifically, the external terminal device 200 may request confirmation from the electronic device 100 to confirm whether the current electronic device 100 can be connected to the server 400 . The external terminal device 200 may generate a probe request packet for requesting information on whether to connect to the server 400 , and may transmit the generated probe request packet to the electronic device 100 . When the processor 130 receives a probe request packet including a request for information on whether to connect to the server 400 from the external terminal device 200 , the processor 130 may check whether to connect to the server 400 . For example, the electronic device 100 may attempt to connect to the server 400 based on existing user information. The processor 130 may attempt to reconnect even if the electronic device 100 has already been previously connected to the server 400 . Then, the processor 130 may generate a probe response packet including a result of the connection attempt. In addition, the processor 130 may broadcast the generated probe response packet as a Wi-Fi signal.

그리고, 외부 단말 장치(200)는 브로드캐스팅된 와이파이 신호에 기초하여 전자 장치(100)의 프로브 응답 패킷을 수신할 수 있다. 그리고, 전자 장치(100)로부터 프로브 응답 패킷이 수신되면, 외부 단말 장치(200)는 전자 장치(100)의 서버(400)와의 연결 여부에 대한 정보(결과 정보)에 기초하여 전자 장치(100)에 업데이트된 사용자 식별 정보를 전송할지 여부를 결정할 수 있다. 만약, 전자 장치(100)에서 서버(400)와 연결 가능한 상태라면, 외부 단말 장치(200)는 이미 전자 장치(100)가 업데이트된 사용자 정보를 획득한 것으로 식별할 수 있고, 별도로 업데이트된 사용자 정보를 전자 장치(100)에 전송하지 않을 수 있다. 전자 장치(100)에서 서버(400)와 연결 가능하지 않은 상태라면, 외부 단말 장치(200)는 업데이트된 사용자 정보를 전자 장치(100)에 전송할 수 있다. 그리고, 전자 장치(100)는 업데이트된 사용자 정보에 기초하여 서버(400)와의 연결을 시도할 수 있다.In addition, the external terminal device 200 may receive the probe response packet of the electronic device 100 based on the broadcast Wi-Fi signal. Then, when the probe response packet is received from the electronic device 100 , the external terminal device 200 determines whether the electronic device 100 is connected to the server 400 , based on information (result information). It is possible to determine whether to transmit the updated user identification information to the If the electronic device 100 is in a connectable state with the server 400 , the external terminal device 200 may identify that the electronic device 100 has already acquired the updated user information, and separately updated user information may not be transmitted to the electronic device 100 . If the electronic device 100 cannot connect to the server 400 , the external terminal device 200 may transmit updated user information to the electronic device 100 . In addition, the electronic device 100 may attempt to connect to the server 400 based on the updated user information.

한편, 전자 장치(100)는 디스플레이를 더 포함할 수 있고, 프로세서(130)는 통신 인터페이스(120)를 통해 서버(400)와 연결되지 않으면, 외부 단말 장치(200)에 새로운 사용자 정보를 요청하도록 가이드하는 UI(User Interface)를 표시하도록 디스플레이를 제어할 수 있다.Meanwhile, the electronic device 100 may further include a display, and when the processor 130 is not connected to the server 400 through the communication interface 120 , the external terminal device 200 requests new user information. The display may be controlled to display a guiding user interface (UI).

전자 장치(100)의 서버(400)와의 연결 시도가 실패할 수 있다. 서버(400)는 전자 장치(100)가 AP 장치(300)를 통해 전송한 사용자 정보가 기 저장된 사용자 정보(서버(400)에 저장된)와 일치하지 않으면, 전자 장치(100)의 연결 시도를 허용하지 않을 수 있으며, 허용하지 않는다는 정보(연결 실패 정보)를 전자 장치(100)에 전송할 수 있다. 여기서, 서버(400)로부터 연결 실패 정보를 수신하면(AP 장치(300)를 통할 수 있음) 프로세서(130)는 새로운 사용자 정보(업데이트된 사용자 정보)를 외부 단말 장치(200)로부터 수신할 필요가 있다. 다라서, 프로세서(130)는 새로운 사용자 정보를 요청하도록 가이드하는 UI를 표시함으로써 사용자에게 UI를 제공할 수 있다. 이와 관련된 UI는 도 13 내지 도 15에서 후술한다.An attempt of the electronic device 100 to connect to the server 400 may fail. If the user information transmitted by the electronic device 100 through the AP device 300 does not match the pre-stored user information (stored in the server 400), the server 400 allows the electronic device 100 to attempt a connection. It may not do so, and information indicating that it is not allowed (connection failure information) may be transmitted to the electronic device 100 . Here, when connection failure information is received from the server 400 (which may be through the AP device 300 ), the processor 130 needs to receive new user information (updated user information) from the external terminal device 200 . have. Accordingly, the processor 130 may provide a UI to the user by displaying a UI for guiding a request for new user information. A UI related thereto will be described later with reference to FIGS. 13 to 15 .

한편, 구현 예에 따라, UI가 전자 장치(100)가 아니라 외부 단말 장치(200)에 표시되는 형태로 구현될 수 있다. 예를 들어, 전자 장치(100)에서 연결 실패 정보를 서버(400)로부터 수신하면, 프로세서(130)는 수신된 연결 실패 정보를 외부 단말 장치(200)에 전송할 수 있다. 구체적으로, 프로세서(130)는 연결 실패 정보를 포함하는 와이파이 신호를 브로드캐스팅할 수 있다. 여기서, 외부 단말 장치(200)는 브로드캐스팅된 와이파이 신호를 수신하여 전자 장치(100)가 서버(400)에 연결될 수 없는 상태임을 식별할 수 있다. 그리고, 외부 단말 장치(200)는 디스플레이(240)에 전자 장치(100)가 서버(400) 에 연결될 수 없음을 알리는 UI또는 새로운 사용자 정보를 전자 장치(100)에 전송할 것인지 사용자의 명령을 가이드하는 UI 또는 새로운 사용자 정보를 사용자에게 직접 입력하도록 가이드하는 UI를 표시할 수 있다.Meanwhile, according to an implementation example, the UI may be implemented in a form displayed on the external terminal device 200 instead of the electronic device 100 . For example, when the electronic device 100 receives connection failure information from the server 400 , the processor 130 may transmit the received connection failure information to the external terminal device 200 . Specifically, the processor 130 may broadcast a Wi-Fi signal including connection failure information. Here, the external terminal device 200 may receive the broadcast Wi-Fi signal to identify that the electronic device 100 is in a state in which it cannot be connected to the server 400 . In addition, the external terminal device 200 guides the user's command whether to transmit a UI or new user information to the electronic device 100 informing the display 240 that the electronic device 100 cannot be connected to the server 400 A UI or a UI guiding the user to directly input new user information may be displayed.

한편, 상술한 프로브 요청 패킷 또는 프로브 응답 패킷은 802.11 관리 프레임에 대응될 수 있다. 특히, 프로브 요청 패킷 및 프로브 응답 패킷은 정보 요소 필드를 포함할 수 있으며, 정보 요소 필드를 “vendor specific element” 내용으로 설정할 수 있다. 또한, “vendor specific element”는 기 정의된 encryption/decryption을 통하여 암호화될 수 있다. 이와 관련된 구체적인 설명은 도 12에서 후술한다.Meanwhile, the aforementioned probe request packet or probe response packet may correspond to an 802.11 management frame. In particular, the probe request packet and the probe response packet may include an information element field, and the information element field may be set to "vendor specific element" content. Also, the “vendor specific element” may be encrypted through predefined encryption/decryption. A detailed description related thereto will be described later with reference to FIG. 12 .

한편, 상술한 설명에서는 사용자 정보에 사용자 식별 정보 및 패스워드 정보에 포함되는 것으로 기술하였으며, 사용자 정보를 통해 서버(400)에 연결하는 동작을 기술하였다. 여기서, 사용자 정보 이외에 AP 장치 정보가 존재할 수 있다. AP 장치 정보는 AP 장치(300)의 식별 정보 및 식별 정보에 대응되는 패스워드 정보를 의미할 수 있다. 예를 들어, AP 장치 정보는 공유기에 접속하기 위한 아이디 및 패스워드를 의미할 수 있다. 따라서, 외부 단말 장치(200)는 사용자 정보 이외에 추가적으로 AP 장치 정보를 포함하여 전자 장치(100)에 전송할 수 있다. 사용자 정보가 변경되면 전자 장치(100)는 서버(400)에 연결될 수 없으며, AP 장치 정보가 변경되면 전자 장치(100)는 AP 장치(300)에 연결될 수 없다. 따라서, 본 개시에서 설명한 사용자 정보는 AP 장치 정보에도 동일하게 적용될 수 있다.Meanwhile, in the above description, it has been described that the user information is included in the user identification information and the password information, and the operation of connecting to the server 400 through the user information has been described. Here, AP device information may exist in addition to user information. The AP device information may refer to identification information of the AP device 300 and password information corresponding to the identification information. For example, the AP device information may mean an ID and password for accessing the router. Accordingly, the external terminal device 200 may additionally include AP device information in addition to user information and transmit it to the electronic device 100 . When user information is changed, the electronic device 100 cannot be connected to the server 400 , and when the AP device information is changed, the electronic device 100 cannot be connected to the AP device 300 . Accordingly, the user information described in the present disclosure may be equally applied to the AP device information.

한편, 상술한 설명에서 전자 장치(100) 또는 외부 단말 장치(200)는 각각의 동작들에 대하여 기 설정된 시간이 경과하면 처음부터 동작을 수행할 수 있다. 예를 들어, 외부 단말 장치(200)가 전자 장치(100)에 프로브 요청 패킷을 전송한 이후 기 설정된 시간 동안 전송된 제1 프로브 요청 패킷에 대응되는 프로브 응답 패킷이 수신되지 않으면 전자 장치(100) 및 외부 단말 장치(200)는 도 5 내지 도 10의 동작 중 최초의 동작을 다시 수행하도록 제어 될 수 있다. 반대로, 전자 장치(100)가 프로브 응답 패킷을 전송한 이후 외부 단말 장치(200)로부터 제2 프로브 요청 패킷이 수신되지 않으면, 전자 장치(100) 및 외부 단말 장치(200)는 도 5내지 도 10의 동작 중 최초의 동작을 다시 수행도록 제어 될 수 있다.Meanwhile, in the above description, the electronic device 100 or the external terminal device 200 may perform an operation from the beginning when a preset time has elapsed for each operation. For example, when the probe response packet corresponding to the first probe request packet transmitted for a preset time after the external terminal device 200 transmits the probe request packet to the electronic device 100 is not received, the electronic device 100 and the external terminal device 200 may be controlled to perform the first operation again among the operations of FIGS. 5 to 10 . Conversely, if the second probe request packet is not received from the external terminal device 200 after the electronic device 100 transmits the probe response packet, the electronic device 100 and the external terminal device 200 are shown in FIGS. 5 to 10 . It can be controlled to perform the first operation again during the operation of

한편, 상술한 예시에서 외부 단말 장치(200)가 공유키를 전자 장치(100)에 전송하는 실시 예를 기재하였다. 구현 예에 따라, 외부 단말 장치(200)는 공유키를 바로 전자 장치(100)에 전송하지 않을 수 있으며, 전자 장치(100)가 직접 공유키를 외부 단말 장치(200)에 전송하도록 요청하는 제어 명령을 전송할 수 있다. 외부 단말 장치(200)는 전자 장치(100)가 보내온 공유키가 외부 단말 장치(200)에 기 저장된 공유키가 일치하는지 식별할 수 있으며, 일치하는 경우에 전자 장치(100)에 업데이트된 사용자 정보를 전송할 수 있다.Meanwhile, in the above-described example, an embodiment in which the external terminal device 200 transmits the shared key to the electronic device 100 has been described. According to an embodiment, the external terminal device 200 may not directly transmit the shared key to the electronic device 100 , and the electronic device 100 may directly request to transmit the shared key to the external terminal device 200 . command can be sent. The external terminal device 200 may identify whether the shared key sent by the electronic device 100 matches the shared key pre-stored in the external terminal device 200, and if they match, the user information updated in the electronic device 100 can be transmitted.

한편, 본 개시의 전자 장치(100)는 사용자의 인위적인 조작 없이 자동으로 AP 모드로 설정될 수 있으며, 자동으로 업데이트된(변경된) 사용자 정보를 획득할 수 있다. 따라서, 사용자는 업데이트된 사용자 정보로 인하여 전자 장치(100)가 서버(400)와의 연결이 실패하였는지 여부를 알기 전에 전자 장치(100)가 업데이트된 사용자 정보를 획득할 수 있다. 따라서, 사용자가 직접 전자 장치(100) 및 외부 단말 장치(200)를 조작하지 않아도 되므로 사용자의 편의성이 향상될 수 있다. 또한, 전자 장치(100)가 서버(400)와 연결이 끊어진 이후 자동으로 다시 재연결되므로 전자 장치(100) 및 서버(400)와의 연결 동작이 수행되는 시간이 단축될 수 있다.Meanwhile, the electronic device 100 of the present disclosure may be automatically set to the AP mode without artificial manipulation of the user, and may automatically obtain updated (changed) user information. Accordingly, the electronic device 100 may obtain the updated user information before the user knows whether the connection with the server 400 has failed due to the updated user information. Accordingly, since the user does not need to directly manipulate the electronic device 100 and the external terminal device 200 , user convenience can be improved. In addition, since the electronic device 100 is automatically reconnected after being disconnected from the server 400 , the time for performing a connection operation between the electronic device 100 and the server 400 may be shortened.

한편, 이상에서는 전자 장치(100)를 구성하는 간단한 구성에 대해서만 도시하고 설명하였지만, 구현 시에는 다양한 구성이 추가로 구비될 수 있다. 이에 대해서는 도 2를 참조하여 이하에서 설명한다.Meanwhile, although only a simple configuration constituting the electronic device 100 has been illustrated and described above, various configurations may be additionally provided when implemented. This will be described below with reference to FIG. 2 .

도 3은 도 2의 전자 장치의 구체적인 구성을 설명하기 위한 블록도이다.3 is a block diagram illustrating a detailed configuration of the electronic device of FIG. 2 .

도 3을 참조하면, 전자 장치(100)는 메모리(110), 통신 인터페이스(120), 프로세서(130), 디스플레이(140), 사용자 인터페이스(150), 입출력 인터페이스(160)를 포함할 수 있다.Referring to FIG. 3 , the electronic device 100 may include a memory 110 , a communication interface 120 , a processor 130 , a display 140 , a user interface 150 , and an input/output interface 160 .

한편, 메모리(110), 통신 인터페이스(120) 및 프로세서(130)의 동작 중에서 앞서 설명한 것과 동일한 동작에 대해서는 중복 설명은 생략한다.Meanwhile, redundant descriptions of the same operations as described above among the operations of the memory 110 , the communication interface 120 , and the processor 130 will be omitted.

디스플레이(140)는 LCD(Liquid Crystal Display), OLED(Organic Light Emitting Diodes) 디스플레이, PDP(Plasma Display Panel) 등과 같은 다양한 형태의 디스플레이로 구현될 수 있다. 디스플레이(140)내에는 a-si TFT, LTPS(low temperature poly silicon) TFT, OTFT(organic TFT) 등과 같은 형태로 구현될 수 있는 구동 회로, 백라이트 유닛 등도 함께 포함될 수 있다. 한편, 디스플레이(140)는 터치 센서와 결합된 터치 스크린, 플렉시블 디스플레이(flexible display), 3차원 디스플레이(3D display) 등으로 구현될 수 있다.The display 140 may be implemented as various types of displays, such as a liquid crystal display (LCD), an organic light emitting diode (OLED) display, a plasma display panel (PDP), and the like. The display 140 may also include a driving circuit, a backlight unit, and the like, which may be implemented in the form of an a-si TFT, a low temperature poly silicon (LTPS) TFT, or an organic TFT (OTFT). Meanwhile, the display 140 may be implemented as a touch screen combined with a touch sensor, a flexible display, a three-dimensional display, or the like.

또한, 본 개시의 일 실시 예에 따른, 디스플레이(140)는 영상을 출력하는 디스플레이 패널뿐만 아니라, 디스플레이 패널을 하우징하는 베젤을 포함할 수 있다. 특히, 본 개시의 일 실시 예에 따른, 베젤은 사용자 인터렉션을 감지하기 위한 터치 센서(미도시)를 포함할 수 있다.Also, according to an embodiment of the present disclosure, the display 140 may include a bezel housing the display panel as well as a display panel for outputting an image. In particular, according to an embodiment of the present disclosure, the bezel may include a touch sensor (not shown) for detecting user interaction.

사용자 인터페이스(150)는 버튼, 터치 패드, 마우스 및 키보드와 같은 장치로 구현되거나, 상술한 디스플레이 기능 및 조작 입력 기능도 함께 수행 가능한 터치 스크린으로도 구현될 수 있다. 여기서, 버튼은 전자 장치(100)의 본체 외관의 전면부나 측면부, 배면부 등의 임의의 영역에 형성된 기계적 버튼, 터치 패드, 휠 등과 같은 다양한 유형의 버튼이 될 수 있다.The user interface 150 may be implemented as a device such as a button, a touch pad, a mouse, and a keyboard, or may be implemented as a touch screen capable of performing the above-described display function and manipulation input function together. Here, the button may be various types of buttons such as a mechanical button, a touch pad, a wheel, etc. formed in an arbitrary area such as the front, side, or rear of the exterior of the main body of the electronic device 100 .

입출력 인터페이스(160)는 HDMI(High Definition Multimedia Interface), MHL (Mobile High-Definition Link), USB (Universal Serial Bus), DP(Display Port), 썬더볼트(Thunderbolt), VGA(Video Graphics Array)포트, RGB 포트, D-SUB(D-subminiature), DVI(Digital Visual Interface) 중 어느 하나의 인터페이스일 수 있다.Input/output interface 160 is HDMI (High Definition Multimedia Interface), MHL (Mobile High-Definition Link), USB (Universal Serial Bus), DP (Display Port), Thunderbolt (Thunderbolt), VGA (Video Graphics Array) port, The interface may be any one of an RGB port, a D-subminiature (D-SUB), and a digital visual interface (DVI).

입출력 인터페이스(160)는 오디오 및 비디오 신호 중 적어도 하나를 입출력 할 수 있다.The input/output interface 160 may input/output at least one of audio and video signals.

구현 예에 따라, 입출력 인터페이스(160)는 오디오 신호만을 입출력하는 포트와 비디오 신호만을 입출력하는 포트를 별개의 포트로 포함하거나, 오디오 신호 및 비디오 신호를 모두 입출력하는 하나의 포트로 구현될 수 있다.Depending on the implementation, the input/output interface 160 may include a port for inputting and outputting only an audio signal and a port for inputting and outputting only a video signal as separate ports, or may be implemented as a single port for inputting and outputting both an audio signal and a video signal.

한편, 도 2 및 도 3의 전자 장치는 IoT 네트워크에 포함된 장치에서 대표적인 구성 만을 도시하였다. 따라서, IoT 네트워크에 포함된 전자 장치(100)는 실제로 추가적인 구성을 더 포함할 수 있다.Meanwhile, the electronic device of FIGS. 2 and 3 shows only a representative configuration of the device included in the IoT network. Accordingly, the electronic device 100 included in the IoT network may actually further include an additional configuration.

도 4는 본 개시의 일 실시 예에 따른 제어 장치의 블록도이다.4 is a block diagram of a control device according to an embodiment of the present disclosure.

도 4를 참조하면, 외부 단말 장치(200) (또는 제어 장치)는 메모리(210), 통신 인터페이스(220), 프로세서(230), 디스플레이(240), 사용자 인터페이스(250) 및 입출력 인터페이스(260)를 포함할 수 있다.Referring to FIG. 4 , the external terminal device 200 (or control device) includes a memory 210 , a communication interface 220 , a processor 230 , a display 240 , a user interface 250 , and an input/output interface 260 . may include

한편, 메모리(210), 통신 인터페이스(220), 프로세서(230), 디스플레이(240), 사용자 인터페이스(250) 및 입출력 인터페이스(260)는 도 3의 구성과 유사한 구성일 수 있다. 따라서, 중복되는 설명을 생략한다.Meanwhile, the memory 210 , the communication interface 220 , the processor 230 , the display 240 , the user interface 250 , and the input/output interface 260 may have a configuration similar to that of FIG. 3 . Accordingly, redundant descriptions are omitted.

마이크(270)는 활성화 상태에서 사용자의 음성을 수신할 수 있다. 예를 들어, 마이크는 전자 장치(100)의 상측이나 전면 방향, 측면 방향 등에 일체형으로 형성될 수 있다. 마이크는 아날로그 형태의 사용자 음성을 수집하는 마이크, 수집된 사용자 음성을 증폭하는 앰프 회로, 증폭된 사용자 음성을 샘플링하여 디지털 신호로 변환하는 A/D 변환회로, 변환된 디지털 신호로부터 노이즈 성분을 제거하는 필터 회로 등과 같은 다양한 구성을 포함할 수 있다.The microphone 270 may receive a user's voice in an activated state. For example, the microphone may be integrally formed in an upper side, a front direction, a side direction, or the like of the electronic device 100 . The microphone is a microphone that collects the user's voice in analog form, an amplifier circuit that amplifies the collected user's voice, an A/D conversion circuit that samples the amplified user's voice and converts it into a digital signal, and a microphone that removes noise components from the converted digital signal. It may include various configurations such as filter circuits and the like.

카메라(280)는 피사체를 촬상하여 촬상 영상을 생성하기 위한 구성이며, 여기서 촬상 영상은 동영상과 정지 영상 모두를 포함하는 개념이다. 카메라(280)는 적어도 하나의 외부 기기에 대한 이미지를 획득할 수 있으며, 카메라, 렌즈, 적외선 센서 등으로 구현될 수 있다.The camera 280 is configured to generate a captured image by capturing a subject, wherein the captured image is a concept including both a moving image and a still image. The camera 280 may acquire an image of at least one external device, and may be implemented as a camera, a lens, an infrared sensor, or the like.

카메라(180)는 렌즈와 이미지 센서를 포함할 수 있다. 렌즈의 종류에는 일반적인 범용 렌즈, 광각 렌즈, 줌 렌즈 등이 있으며, 전자 장치(100)의 종류, 특성, 사용 환경 등에 따라 결정될 수 있다. 이미지 센서로는 상보성 금속 산화물 반도체(Complementary Metal Oxide Semiconductor: CMOS)와 전하결합소자(Charge Coupled Device: CCD) 등이 사용될 수 있다.The camera 180 may include a lens and an image sensor. The type of lens includes a general general-purpose lens, a wide-angle lens, a zoom lens, and the like, and may be determined according to the type, characteristic, and use environment of the electronic device 100 . As the image sensor, a complementary metal oxide semiconductor (CMOS) and a charge coupled device (CCD) may be used.

도 5는 본 개시의 일 실시 예에 따른 시스템에서 전자 장치가 서버에 연결되는 동작을 설명하기 위한 흐름도이다.5 is a flowchart illustrating an operation of connecting an electronic device to a server in a system according to an embodiment of the present disclosure.

도 5를 참조하면, 전자 장치(100)는 제어 장치(200)로부터 사용자 정보를 수신하고, 수신된 사용자 정보에 기초하여 서버(400)에 연결될 수 있다.Referring to FIG. 5 , the electronic device 100 may receive user information from the control device 200 and may be connected to the server 400 based on the received user information.

전자 장치(100)는 제어 장치(200)로부터 사용자 정보를 수신하기 위하여 제어 장치(200)와 통신을 수행하기 위한 모드로 변경될 필요성이 있다. 전자 장치(100)는 AP 모드로 설정될 수 있다 (S505). 일 실시 예에 따라, 사용자는 전자 장치(100)가 제어 장치(200)와 상호 통신을 수행하도록 전자 장치(100)의 모드를 AP 모드로 변경할 수 있다. 다른 실시 예에 따라, 기 설정된 조건이 만족되면, 전자 장치(100)는 자동으로 AP 모드로 변경될 수 있다.The electronic device 100 needs to be changed to a mode for performing communication with the control device 200 in order to receive user information from the control device 200 . The electronic device 100 may be set to an AP mode (S505). According to an embodiment, the user may change the mode of the electronic device 100 to the AP mode so that the electronic device 100 performs mutual communication with the control device 200 . According to another embodiment, when a preset condition is satisfied, the electronic device 100 may automatically change to the AP mode.

한편, AP 모드로 변경된 전자 장치(100)는 와이파이 신호를 브로드캐스팅할 수 있다. 여기서, 와이파이 신호를 브로드캐스팅하는 동작은 전자 장치(100)에 접속할 수 있는 정보를 포함하는 와이파이 신호를 타겟 없이 전자 장치(100)가 위치한 공간에 방사하는 동작을 의미할 수 있다. 전자 장치(100)가 방사하는 와이파이 신호가 제어 장치(200)에 전송될 수 있다 (S510).Meanwhile, the electronic device 100 changed to the AP mode may broadcast a Wi-Fi signal. Here, the operation of broadcasting the Wi-Fi signal may refer to an operation of radiating a Wi-Fi signal including information for accessing the electronic device 100 to a space in which the electronic device 100 is located without a target. A Wi-Fi signal emitted by the electronic device 100 may be transmitted to the control device 200 (S510).

그리고, 제어 장치(200)는 전자 장치(100)의 와이파이 신호를 수신하여 전자 장치(100)의 AP 모드에 접속하는 것으로 결정할 수 있다 (S515). 일 실시 예에 따라, 사용자는 제어 장치(200)와 통신이 가능한 장치 리스트에서 전자 장치(100)를 직접 선택하여 전자 장치(100)의 AP 모드에 접속하는 것으로 결정할 수 있다. 다른 실시 예에 따라, 제어 장치(200)는 기 설정된 조건이 만족되면, 제어 장치(200)는 자동으로 전자 장치(100)의 AP 모드에 접속하는 것으로 결정할 수 있다.Then, the control device 200 may receive the Wi-Fi signal of the electronic device 100 and determine to access the AP mode of the electronic device 100 ( S515 ). According to an embodiment, the user may determine to access the AP mode of the electronic device 100 by directly selecting the electronic device 100 from the list of devices capable of communicating with the control device 200 . According to another embodiment, when a preset condition is satisfied, the control device 200 may determine to automatically access the AP mode of the electronic device 100 .

제어 장치(200)가 전자 장치(100)의 AP 모드에 접속하는 것으로 결정하면, 제어 장치(200)는 전자 장치(100)와 통신을 수행할 수 있다. 그리고, 제어 장치(200)는 전자 장치(100)에 제1 사용자 정보를 전송할 수 있다 (S520). 여기서, 제1 사용자 정보는 서버와 연결하기 위한 식별 정보를 의미할 수 있다. 그리고, 제어 장치(200)는 제1 사용자 정보를 전자 장치(100)에 전송한 이후 전자 장치(100)의 AP 모드에 접속을 해제할 수 있고 AP 장치(300)와 연결할 수 있다. 제1 사용자 정보를 전송한 이후에는 전자 장치(100)와 정보를 계속하여 주고 받을 필요가 없기 때문이다.When the control device 200 determines to access the AP mode of the electronic device 100 , the control device 200 may communicate with the electronic device 100 . Then, the control device 200 may transmit the first user information to the electronic device 100 (S520). Here, the first user information may mean identification information for connection with the server. In addition, after transmitting the first user information to the electronic device 100 , the control device 200 may release the access to the AP mode of the electronic device 100 and connect to the AP device 300 . This is because there is no need to continuously exchange information with the electronic device 100 after transmitting the first user information.

전자 장치(100)는 AP 모드를 해제하고 제어 장치(200)로부터 수신한 제1 사용자 정보에 기초하여 서버(400)와 연결을 시도할 수 있다 (S525). 구체적으로, 전자 장치(100)는 수신된 제1 사용자 정보를 AP 장치(300)에 전송할 수 있다 (S530). 그리고, AP 장치(300)는 전자 장치(100)로부터 수신된 제1 사용자 정보를 서버(400)에 전송할 수 있다 (S535).The electronic device 100 may release the AP mode and attempt a connection with the server 400 based on the first user information received from the control device 200 (S525). Specifically, the electronic device 100 may transmit the received first user information to the AP device 300 (S530). Then, the AP device 300 may transmit the first user information received from the electronic device 100 to the server 400 (S535).

서버(400)는 전자 장치(100) 및 AP 장치(300)를 통해 수신된 제1 사용자 정보에 기초하여 사용자 정보를 확인할 수 있다 (S540). 구체적으로, 서버(400)는 수신된 제1 사용자 정보가 기 저장된 사용자 정보와 일치하는지 여부를 판단할 수 있다. 그리고, 서버(400)는 제1 사용자 정보 및 기 저장된 사용자 정보의 일치 여부에 기초하여 전자 장치(100)와 연결할지 여부를 결정할 수 있다. 그리고, 서버(400)는 연결 여부 결과를 AP 장치(300)에 전송할 수 있다.The server 400 may check user information based on the first user information received through the electronic device 100 and the AP device 300 ( S540 ). Specifically, the server 400 may determine whether the received first user information matches pre-stored user information. In addition, the server 400 may determine whether to connect with the electronic device 100 based on whether the first user information and pre-stored user information match. In addition, the server 400 may transmit a connection result to the AP device 300 .

구체적으로, 사용자 정보가 일치하지 않으면 서버(400)는 전자 장치(100)가 서버(400)에 연결될 권한이 없는 것으로 식별할 수 있다. 전자 장치(100)가 서버(400)에 연결될 권한이 없는 것으로 식별하면, 서버(400)는 권한이 없다는 정보를 포함하는 신호를 AP 장치(300)에 전송할 수 있으며, AP 장치(300)는 수신된 정보를 전자 장치(100)에 전송할 수 있다. 전자 장치(100)는 수신된 정보를 사용자에게 제공할 수 있다.Specifically, if the user information does not match, the server 400 may identify the electronic device 100 as not having an authority to connect to the server 400 . When the electronic device 100 identifies that it is not authorized to connect to the server 400 , the server 400 may transmit a signal including information indicating that the user does not have the authority to the AP device 300 , and the AP device 300 receives information may be transmitted to the electronic device 100 . The electronic device 100 may provide the received information to the user.

구체적으로, 사용자 정보가 일치하면 서버(400)는 전자 장치(100)가 서버(400)에 연결될 권한이 있는 것으로 식별할 수 있다. 전자 장치(100)가 서버(400)에 연결된 권한이 있는 것으로 식별되면, 서버(400)는 전자 장치(100)와 통신을 수행할 수 있다. 여기서, 전자 장치(100)와 통신을 수행하는 동작은 AP 장치(300)를 통해 정보를 주고 받는 것을 의미할 수 있다. 예를 들어, 서버(400)는 제어 명령을 AP 장치(300)를 통해 전자 장치(100)에 전송할 수 있다. 또한, 전자 장치(100)는 제어 상태 정보를 AP 장치(300)를 통해 서버(400)에 전송할 수 있다.Specifically, if the user information matches, the server 400 may identify the electronic device 100 as having an authority to connect to the server 400 . When it is identified that the electronic device 100 has the authority to be connected to the server 400 , the server 400 may communicate with the electronic device 100 . Here, the operation of performing communication with the electronic device 100 may mean exchanging information through the AP device 300 . For example, the server 400 may transmit a control command to the electronic device 100 through the AP device 300 . Also, the electronic device 100 may transmit control state information to the server 400 through the AP device 300 .

AP 장치(300)는 서버(400)로부터 수신한 연결 여부 결과를 전자 장치(100)에 전송할 수 있다 (S550). 그리고, 전자 장치(100)는 AP 장치(300)로부터 수신한 연결 여부 결과를 사용자에게 제공할 수 있다 (S555). 여기서, 사용자에게 제공하는 동작은 스피커를 통해 오디오 데이터가 출력되는 동작 또는 디스플레이를 통해 이미지 데이터로 출력되는 동작을 의미할 수 있다.The AP device 300 may transmit the connection status result received from the server 400 to the electronic device 100 (S550). In addition, the electronic device 100 may provide the user with the connection status result received from the AP device 300 ( S555 ). Here, the operation provided to the user may mean an operation of outputting audio data through a speaker or an operation of outputting image data through a display.

AP 장치(300)는 서버(400)로부터 수신한 연결 여부 결과를 제어 장치(200)에 전송할 수 있다 (S560). 그리고, 제어 장치(200)는 수신한 연결 여부 결과에 기초하여 전자 장치(100) 및 서버(400)가 상호 연결되어 있는지 식별할 수 있다 (S565). 전자 장치(100) 및 서버(400)가 상호 연결되어 있다면, 제어 장치(200)는 상호 연결되어 있다는 정보를 저장하고 기 설정된 주기로 상호 연결 여부 결과를 반복적으로 식별할 수 있다. 전자 장치(100) 및 서버(400)가 상호 연결되어 있지 않다면, 제어 장치(200)는 AP 장치(300)와 연결을 종료할 수 있다 (S570). 여기서, 제어 장치(200)가 AP 장치(300)와 연결을 종료하는 이유는 제어 장치(200)가 전자 장치(100)와 정보를 주고 받을 수 있도록 준비하기 위함이다. 전자 장치(100)와 서버(400)가 연결되어 있지 않다는 것은 S540 단계에서 사용자 정보가 일치하지 않았기 때문일 수 있다. 따라서, 전자 장치(100)가 서버(400)에 연결될 권한이 없는 경우, 제어 장치(200)는 새로운 사용자 정보를 전자 장치(100)에 전송할 필요가 있을 수 있다. 제어 장치(200)가 전자 장치(100)에 새로운 사용자 정보를 전송하기 위해선 AP 장치(300)와의 연결을 종료하고 전자 장치(100)의 AP 모드에 접속해야 할 수 있다. 여기서, 전자 장치(100)는 AP 모드로 설정될 수 있다 (S575). 일 실시 예에 따라, 전자 장치(100)가 AP 모드로 설정되기 위해서 사용자가 직접 전자 장치(100)를 제어할 수 있다. 다른 실시 예에 따라, 전자 장치(100)는 기 설정된 조건에 기초하여 자동으로 AP 모드로 설정될 수 있다.The AP device 300 may transmit the connection status result received from the server 400 to the control device 200 (S560). Then, the control device 200 may identify whether the electronic device 100 and the server 400 are interconnected based on the received connection status result (S565). If the electronic device 100 and the server 400 are interconnected, the control device 200 may store information indicating that they are interconnected and repeatedly identify the interconnection result at a preset cycle. If the electronic device 100 and the server 400 are not connected to each other, the control device 200 may terminate the connection with the AP device 300 ( S570 ). Here, the reason why the control device 200 terminates the connection with the AP device 300 is to prepare the control device 200 to exchange information with the electronic device 100 . The reason that the electronic device 100 and the server 400 are not connected may be because user information does not match in step S540 . Accordingly, when the electronic device 100 does not have an authority to connect to the server 400 , the control device 200 may need to transmit new user information to the electronic device 100 . In order for the control device 200 to transmit new user information to the electronic device 100 , it may need to terminate the connection with the AP device 300 and access the AP mode of the electronic device 100 . Here, the electronic device 100 may be set to an AP mode (S575). According to an embodiment, in order for the electronic device 100 to be set to the AP mode, the user may directly control the electronic device 100 . According to another embodiment, the electronic device 100 may be automatically set to the AP mode based on a preset condition.

도 6은 본 개시의 다른 실시 예에 따른 시스템에서 전자 장치가 서버에 연결되는 동작을 설명하기 위한 흐름도이다.6 is a flowchart illustrating an operation of connecting an electronic device to a server in a system according to another embodiment of the present disclosure.

도 6을 참조하면, 전자 장치(100)는 AP 모드로 설정될 수 있다 (S605). 그리고, 전자 장치(100)는 AP 모드로 동작하는 동안 와이파이 신호를 브로드캐스팅 할 수 있다 (S610). 그리고, 제어 장치(200)는 AP 장치(300)와 연결되어 있는 동안 전자 장치(100)에서 브로드캐스팅되는 와이파이 신호를 수신하면, AP 장치(300)와의 연결을 해제할 수 있다 (S615). 구체적으로, 제어 장치(200)는 AP 장치(300)와 정보를 주고 받는 상태에 있다가, 전자 장치(100)로부터 와이파이 신호가 전송되면 AP 장치(300)와의 연결을 해제(또는 종료)할 수 있다. 그리고, 제어 장치(200)는 전자 장치(100)의 AP 모드에 접속할 수 있다 (S620). 그리고, 제어 장치(200)는 공유키를 생성할 수 있다 (S625). 여기서, 공유키는 기 설정된 방식으로 생성될 수 있으며, 공유키는 전자 장치(100) 및 제어 장치(200)가 서로 동일한 IoT 네트워크에 포함되어 있는지 여부를 확인하는데 이용될 수 있다.Referring to FIG. 6 , the electronic device 100 may be set to an AP mode (S605). Then, the electronic device 100 may broadcast a Wi-Fi signal while operating in the AP mode (S610). Then, when the control device 200 receives a Wi-Fi signal broadcast from the electronic device 100 while being connected to the AP device 300 , the control device 200 may release the connection with the AP device 300 ( S615 ). Specifically, the control device 200 is in a state of exchanging information with the AP device 300 , and when a Wi-Fi signal is transmitted from the electronic device 100 , the control device 200 may disconnect (or terminate) the connection with the AP device 300 . have. Then, the control device 200 may access the AP mode of the electronic device 100 (S620). Then, the control device 200 may generate a shared key (S625). Here, the shared key may be generated in a preset manner, and the shared key may be used to check whether the electronic device 100 and the control device 200 are included in the same IoT network.

한편, S625 단계에서 공유키가 생성되는 것으로 기재하였지만, 구현 예에 따라 공유키는 기 저장된 상태일 수 있다.Meanwhile, although it has been described that the shared key is generated in step S625, the shared key may be in a pre-stored state according to an embodiment.

제어 장치(200)는 공유키 및 제1 사용자 정보를 전자 장치(100)에 전송할 수 있다 (S630). 그리고, 전자 장치(100)는 제어 장치(200)로부터 수신한 공유키를 저장할 수 있다 (S635). 그리고, 전자 장치(100)는 AP 모드를 해제하고, 제어 장치(200)로부터 수신한 제1 사용자 정보에 기초하여 서버(400)에 연결을 시도할 수 있다 (S640). 전자 장치(100)는 제1 사용자 정보를 AP 장치(300)에 전송할 수 있다. 그리고, AP 장치(300)는 전자 장치(100)로부터 수신된 제1 사용자 정보를 서버(400)에 전송할 수 있다. 서버(400)는 AP 장치(300)로부터 수신한 제1 사용자 정보와 기 저장된 사용자 정보를 확인할 수 있다 (S655). 구체적으로, 서버(400) 는 제1 사용자 정보에 기초하여 전자 장치(100) 가 서버(400)에 연결될 권한이 있는지 여부를 식별할 수 있다. 한편, S655 단계는 도5의 S540 단계에 대응되므로 중복 설명을 생략한다.The control device 200 may transmit the shared key and the first user information to the electronic device 100 (S630). Then, the electronic device 100 may store the shared key received from the control device 200 (S635). Then, the electronic device 100 may release the AP mode and attempt to connect to the server 400 based on the first user information received from the control device 200 ( S640 ). The electronic device 100 may transmit the first user information to the AP device 300 . In addition, the AP device 300 may transmit the first user information received from the electronic device 100 to the server 400 . The server 400 may check the first user information received from the AP device 300 and pre-stored user information (S655). Specifically, the server 400 may identify whether the electronic device 100 is authorized to connect to the server 400 based on the first user information. Meanwhile, since step S655 corresponds to step S540 of FIG. 5 , a redundant description is omitted.

서버(400)는 연결 여부 결과를 AP 장치(300)에 전송할 수 있다 (S660). 그리고, AP 장치(300)는 연결 여부 결과를 전자 장치(100)에 전송할 수 있다 (S665). 그리고, 연결 여부 결과가 전자 장치(100)와 서버(400)가 상호 연결되어 있다는 정보를 포함하면, 전자 장치(100)는 서버(400)와 연결될 수 있다 (S670).The server 400 may transmit the connection status result to the AP device 300 (S660). Then, the AP device 300 may transmit a result of whether the connection has been made to the electronic device 100 (S665). And, if the connection result includes information that the electronic device 100 and the server 400 are interconnected, the electronic device 100 may be connected to the server 400 ( S670 ).

AP 장치(300)는 연결 여부 결과를 제어 장치(200)에 전송할 수 있다 (S675). 그리고, 제어 장치(200)는 연결 여부 결과를 사용자에게 제공할 수 있다. 여기서, 사용자에게 제공하는 동작은 스피커를 통해 오디오 데이터가 출력되는 동작 또는 디스플레이를 통해 이미지 데이터로 출력되는 동작을 의미할 수 있다. 한편, 연결 여부 결과가 전자 장치(100)와 서버(400)가 상호 연결되어 있다는 정보를 포함하면, 제어 장치(200)는 서버 연결 장치 테이블을 저장할 수 있다 (S680). 여기서, 서버 연결 장치 테이블이란, 서버와 연결되는 복수의 장치 중 제어 장치(200)와 동일한 IoT 네트워크에 포함된 적어도 하나의 장치에 대한 정보를 포함하는 테이블을 의미할 수 있다.The AP device 300 may transmit the result of whether the connection is made to the control device 200 (S675). In addition, the control device 200 may provide a connection result to the user. Here, the operation provided to the user may mean an operation of outputting audio data through a speaker or an operation of outputting image data through a display. Meanwhile, if the connection result includes information indicating that the electronic device 100 and the server 400 are interconnected, the control device 200 may store the server connection device table (S680). Here, the server connection device table may mean a table including information on at least one device included in the same IoT network as the control device 200 among a plurality of devices connected to the server.

도 7은 전자 장치 및 서버와의 연결이 해제된 경우 수행되는 일 실시 예에 따른 동작을 설명하기 위한 흐름도이다.7 is a flowchart illustrating an operation performed when a connection between an electronic device and a server is released, according to an embodiment.

도 7을 참조하면, 전자 장치(100)와 서버(400) 사이의 연결이 해제될 수 있다 (S705). 전자 장치(100)와 서버(400) 사이의 연결이 해제되는 이유는 다양할 수 있다. 일 예로, 서버(400)에 접속할 수 있는 사용자 계정과 관련된 정보가 변경될 수 있다. 만약, 기존에 제1 사용자 정보에 기초하여 전자 장치(100)와 서버(400)가 연결되어 있다고 가정한다. 여기서, 서버(400)에서 제1 사용자 정보에 포함된 패스워드가 변경되었다고 가정한다. 이 경우, 전자 장치(100)는 더 이상 제1 사용자 정보에 기초하여 서버(400)에 연결할 수 없다.Referring to FIG. 7 , the connection between the electronic device 100 and the server 400 may be released ( S705 ). The reasons for disconnecting the connection between the electronic device 100 and the server 400 may be various. For example, information related to a user account that can access the server 400 may be changed. It is assumed that the electronic device 100 and the server 400 are previously connected based on the first user information. Here, it is assumed that the password included in the first user information is changed in the server 400 . In this case, the electronic device 100 can no longer connect to the server 400 based on the first user information.

여기서, 만약, 전자 장치(100)가 서버(400)와의 연결이 해제되었음을 식별한 경우, 전자 장치(100)는 자동으로 AP 모드로 설정할 수 있다 (S710). 그리고, 전자 장치(100)는 AP 모드로 동작하는 동안 와이파이 신호를 브로드캐스팅 할 수 있다 (S715).Here, if the electronic device 100 identifies that the connection with the server 400 has been released, the electronic device 100 may automatically set the AP mode (S710). Then, the electronic device 100 may broadcast a Wi-Fi signal while operating in the AP mode (S715).

그리고, 제어 장치(200)가 AP 장치(300)와 연결되어 있는 동안 전자 장치(100)로부터 수신한 와이파이 신호를 수신하면, AP 장치(300)와의 연결을 해제할 수 있다 (S720). 그리고, 제어 장치(200)는 전자 장치(100)의 AP 모드에 접속할 수 있다 (S725). 그리고, 제어 장치(200)가 전자 장치(100)의 AP 모드에 접속한 이 후, 제어 장치(200)는 제2 사용자 정보를 전자 장치(100)에 전송할 수 있다 (S730). 여기서, 제어 장치(200)는 제2 사용자 정보 및 공유키를 함께 전송할 수 있다. 제2 사용자 정보는 제1 사용자 정보에서 패스워드가 변경된 정보를 의미할 수 있다.In addition, when the control device 200 receives a Wi-Fi signal received from the electronic device 100 while being connected to the AP device 300 , the connection with the AP device 300 may be canceled ( S720 ). Then, the control device 200 may access the AP mode of the electronic device 100 (S725). Then, after the control device 200 accesses the AP mode of the electronic device 100 , the control device 200 may transmit second user information to the electronic device 100 ( S730 ). Here, the control device 200 may transmit the second user information and the shared key together. The second user information may mean information in which a password is changed from the first user information.

제어 장치(200)로부터 제2 사용자 정보를 수신하면, 전자 장치(100)는 AP 모드를 해제하고 제2 사용자 정보에 기초하여 서버(400)에 연결을 시도할 수 있다 (S735). 구체적으로, 전자 장치(100)는 제2 사용자 정보를 AP 장치(300)에 전송할 수 있다 (S740). 그리고, AP 장치(300)는 전자 장치(100)로부터 수신된 제2 사용자 정보를 서버(400)에 전송할 수 있다 (S745).Upon receiving the second user information from the control device 200, the electronic device 100 may release the AP mode and attempt to connect to the server 400 based on the second user information (S735). Specifically, the electronic device 100 may transmit the second user information to the AP device 300 (S740). Then, the AP device 300 may transmit the second user information received from the electronic device 100 to the server 400 (S745).

서버(400)는 AP 장치(300)로부터 수신된 제2 사용자 정보와 기 저장된 사용자 정보를 비교하여 사용자 정보를 확인할 수 있다 (S750). 구체적으로, 서버(400)는 제2 사용자 정보가 기 저장된 사용자 정보에 포함되어 있는지 여부를 비교할 수 있다. 만약, 제2 사용자 정보가 기 저장된 사용자 정보에 포함되어 있으면, 전자 장치(100)가 서버(400) 에 연결될 권한이 있는 것으로 식별할 수 있다. 또한, 제2 사용자 정보가 기 저장된 사용자 정보에 포함되어 있지 않으면, 전자 장치(100)가 서버(400)에 연결될 권한이 없는 것으로 식별할 수 있다. 그리고, 서버(400)는 연결 여부 결과를 전자 장치(100) 및 제어 장치(200)에 전송할 수 있다. 연결 여부 결과는 AP 장치(300)를 통해 서버(400)에서 전자 장치(100) 및 제어 장치(200)에 전달될 수 있다. 구체적으로, 서버(400)는 연결 여부 결과를 AP 장치(300)에 전송할 수 있다 (S755).The server 400 may check the user information by comparing the second user information received from the AP device 300 with the pre-stored user information (S750). Specifically, the server 400 may compare whether the second user information is included in the pre-stored user information. If the second user information is included in the pre-stored user information, the electronic device 100 may be identified as having an authority to connect to the server 400 . In addition, if the second user information is not included in the pre-stored user information, it may be identified that the electronic device 100 does not have an authority to connect to the server 400 . In addition, the server 400 may transmit a connection result to the electronic device 100 and the control device 200 . The connection status result may be transmitted from the server 400 to the electronic device 100 and the control device 200 through the AP device 300 . Specifically, the server 400 may transmit the connection status result to the AP device 300 (S755).

AP 장치(300)는 연결 여부 결과를 전자 장치(100)에 전송할 수 있다. 만약, 연결 여부 결과에 전자 장치(100)가 서버(400)에 연결될 권한이 있다는 정보가 포함되어 있다면, 전자 장치(100)는 서버(400)와 연결될 수 있다 (S765). 만약, 연결 여부 결과에 전자 장치(100)가 서버(400)에 연결될 권한이 없다는 정보가 포함되어 있다면, 전자 장치(100)는 연결 여부 결과에 대한 정보를 사용자에게 제공할 수 있다.The AP device 300 may transmit a connection status result to the electronic device 100 . If the connection result includes information indicating that the electronic device 100 is authorized to connect to the server 400 , the electronic device 100 may be connected to the server 400 ( S765 ). If the connection status result includes information that the electronic device 100 is not authorized to connect to the server 400 , the electronic device 100 may provide information on the connection status result to the user.

또한, AP 장치(300)는 연결 여부 결과를 제어 장치(200)에 전송할 수 있다 (S770). 그리고, 제어 장치(200)는 연결 여부 결과를 사용자에게 제공할 수 있다. 여기서, 사용자에게 제공하는 동작은 스피커를 통해 오디오 데이터가 출력되는 동작 또는 디스플레이를 통해 이미지 데이터로 출력되는 동작을 의미할 수 있다. 만약, 연결 여부 결과에 전자 장치(100)가 서버(400)에 연결될 권한이 있다는 정보가 포함되어 있다면, 제어 장치(200)는 서버 연결 장치 테이블을 저장할 수 있다 (S775). 여기서, 서버 연결 장치 테이블이란, 서버와 연결되는 복수의 장치 중 제어 장치(200)와 동일한 IoT 네트워크에 포함된 적어도 하나의 장치에 대한 정보를 포함하는 테이블을 의미할 수 있다.In addition, the AP device 300 may transmit a connection result to the control device 200 (S770). In addition, the control device 200 may provide a connection result to the user. Here, the operation provided to the user may mean an operation of outputting audio data through a speaker or an operation of outputting image data through a display. If the connection result includes information indicating that the electronic device 100 is authorized to connect to the server 400, the control device 200 may store the server connection device table (S775). Here, the server connection device table may mean a table including information on at least one device included in the same IoT network as the control device 200 among a plurality of devices connected to the server.

도 8은 전자 장치 및 서버와의 연결이 해제된 경우 수행되는 다른 실시 예에 따른 동작을 설명하기 위한 흐름도이다.8 is a flowchart illustrating an operation performed when the connection between the electronic device and the server is released according to another embodiment.

도 8을 참조하면, 전자 장치(100)는 서버(400)와 연결이 해제될 수 있다 (S805). 그리고, 전자 장치(100)는 서버(400)와 연결이 해제되면 AP 모드를 설정할 수 있다 (S810). 그리고, 전자 장치(100)는 와이파이 신호를 브로드캐스팅할 수 있다 (S815). S805 내지 S815 동작은 도 7의 S705 내지 S715 동작에 대응될 수 있는 바 중복 설명을 생략한다.Referring to FIG. 8 , the electronic device 100 may be disconnected from the server 400 ( S805 ). Then, when the connection with the server 400 is released, the electronic device 100 may set the AP mode (S810). Then, the electronic device 100 may broadcast a Wi-Fi signal (S815). Operations S805 to S815 may correspond to operations S705 to S715 of FIG. 7 , and thus redundant description will be omitted.

한편, 전자 장치(100)로부터 와이파이 신호를 수신하면, 제어 장치(200)는 공유키를 포함하는 제1 프로브 요청 패킷을 생성할 수 있다 (S820). 여기서, 공유키는 기 저장된 키를 의미하거나 기 저장된 방식에 의해 생성된 키를 의미할 수 있다. 그리고, 제어 장치(200)는 생성된 제1 프로브 요청 패킷을 전자 장치(100)에 전송할 수 있다 (S825).Meanwhile, upon receiving the Wi-Fi signal from the electronic device 100 , the control device 200 may generate a first probe request packet including the shared key ( S820 ). Here, the shared key may mean a pre-stored key or a key generated by a pre-stored method. Then, the control device 200 may transmit the generated first probe request packet to the electronic device 100 (S825).

그리고, 제어 장치(200)로부터 제1 프로브 요청 패킷을 수신하면, 전자 장치(100)는 기 저장된 공유키와 새로 수신된 공유키(제1 프로브 요청 패킷에 포함된 공유키)가 일치하는지 식별할 수 있다 (S830). 여기서, 기 저장된 공유키란 전자 장치(100)가 제1 프로브 요청 패킷을 전송 받기 이전에 제어 장치(200)로부터 수신하였던 공유키를 의미할 수 있다. 현재 S805 단계는 이전에 전자 장치(100)가 서버(400)에 연결이 되었으나 패스워드 등의 변경으로 인하여 서버(400)와의 연결이 해제된 상황을 가정하고 있다. 따라서, 전자 장치(100)는 이미 제어 장치(200)로부터 공유키를 획득한 상태일 수 있다. 예를 들어, 도 6의 S630 단계와 같이 전자 장치(100)는 제1 사용자 정보를 수신하면서 공유키를 함께 수신할 수 있다. 그리고, 전자 장치(100)는 서버(400)와 연결이 해제된 이후에 제어 장치(200)로부터 제1 프로브 요청 패킷을 수신할 수 있다.And, upon receiving the first probe request packet from the control device 200, the electronic device 100 identifies whether the previously stored shared key and the newly received shared key (the shared key included in the first probe request packet) match. It can be (S830). Here, the pre-stored shared key may mean a shared key received from the control device 200 before the electronic device 100 receives the first probe request packet. Currently, in step S805, it is assumed that the electronic device 100 was previously connected to the server 400, but the connection to the server 400 was released due to a change of a password or the like. Accordingly, the electronic device 100 may have already acquired the shared key from the control device 200 . For example, as in step S630 of FIG. 6 , the electronic device 100 may receive the shared key together while receiving the first user information. Then, the electronic device 100 may receive the first probe request packet from the control device 200 after the connection with the server 400 is released.

기 저장된 공유키와 새로 수신된 공유키(제1 프로브 요청 패킷에 포함된 공유키)가 일치하지 않으면, 전자 장치(100)는 제어 장치(200)가 동일한 IoT 네트워크에 포함된 장치가 아니라고 식별할 수 있다. 따라서, 제어 장치(200)에 별도의 응답 패킷을 전송하지 않을 수 있다.If the previously stored shared key and the newly received shared key (the shared key included in the first probe request packet) do not match, the electronic device 100 identifies that the control device 200 is not a device included in the same IoT network. can Accordingly, a separate response packet may not be transmitted to the control device 200 .

기 저장된 공유키와 새로 수신된 공유키(제1 프로브 요청 패킷에 포함된 공유키)가 일치하면, 전자 장치(100)는 제어 장치(200)가 동일한 IoT 네트워크에 포함된 장치라고 식별할 수 있다. 그리고, 공유키가 일치함을 나타내는 정보를 포함하는 프로브 응답 패킷을 생성할 수 있다 (S835). 한편, 전자 장치(100) 가 생성하는 프로브 응답 패킷에는 전자 장치(100) 에 기 저장되어 있던 공유키가 포함될 수 있다. 그리고, 전자 장치(100)는 생성된 프로브 응답 패킷을 제어 장치(200)에 전송할 수 있다 (S840).When the previously stored shared key and the newly received shared key (the shared key included in the first probe request packet) match, the electronic device 100 may identify the control device 200 as a device included in the same IoT network. . Then, it is possible to generate a probe response packet including information indicating that the shared key matches (S835). Meanwhile, the probe response packet generated by the electronic device 100 may include a shared key previously stored in the electronic device 100 . Then, the electronic device 100 may transmit the generated probe response packet to the control device 200 (S840).

제어 장치(200)는 전자 장치(100)로부터 프로브 응답 패킷을 수신하면, 프로브 응답 패킷에 포함된 공유키(전자 장치(100)에 기 저장되어 있던 공유키)와 제어 장치(200)의 공유키를 비교하여 일치 여부를 식별할 수 있다 (S845).When the control device 200 receives the probe response packet from the electronic device 100 , the shared key (shared key previously stored in the electronic device 100 ) included in the probe response packet and the shared key of the control device 200 . It is possible to identify whether they match by comparing them (S845).

제어 장치(200)의 공유키와 전자 장치(100)의 공유키가 일치하지 않으면, 제어 장치(200)는 전자 장치(100)가 동일한 IoT 네트워크에 포함된 장치가 아니라고 식별할 수 있다. 그리고, 제어 장치(200)는 전자 장치(100)에 제2 사용자 정보를 포함하는 제2 프로브 요청 패킷을 전송하지 않을 수 있다.If the shared key of the control device 200 and the shared key of the electronic device 100 do not match, the control device 200 may identify that the electronic device 100 is not a device included in the same IoT network. Also, the control device 200 may not transmit the second probe request packet including the second user information to the electronic device 100 .

제어 장치(200)의 공유키와 전자 장치(100)의 공유키가 일치하면, 제어 장치(200)는 전자 장치(100)가 동일한 IoT 네트워크에 포함된 장치라고 식별할 수 있다. 그리고, 제어 장치(200)는 공유키 및 제2 사용자 정보를 포함하는 제2 프로브 요청 패킷을 생성할 수 있다 (S850). 구현 예에 따라, 제2 프로브 요청 패킷은 공유키를 포함하지 않을 수 있다. 이미 S830 단계 또는 S845 단계에서 공유키를 확인하였기 때문이다.When the shared key of the control device 200 and the shared key of the electronic device 100 match, the control device 200 may identify the electronic device 100 as a device included in the same IoT network. Then, the control device 200 may generate a second probe request packet including the shared key and second user information (S850). According to an implementation example, the second probe request packet may not include a shared key. This is because the shared key has already been checked in step S830 or step S845.

그리고, 제어 장치(200)는 생성된 제2 프로브 요청 패킷을 전자 장치(100)에 전송할 수 있다 (S855). 그리고, 전자 장치(100)는 제어 장치(200)로부터 제2 프로브 요청 패킷을 수신하면, 제2 프로브 요청 패킷에 포함된 제2 사용자 정보를 획득할 수 있다. 그리고, 전자 장치(100)는 획득한 제2 사용자 정보에 기초하여 서버(400)와 연결을 시도할 수 있다 (S860). 구체적으로, 전자 장치(100)는 제2 사용자 정보를 AP 장치(300)에 전송할 수 있다 (S865). 그리고, AP 장치(300)는 서버(400)에 제2 사용자 정보를 전송할 수 있다 (S870). 그리고, 서버(400)는 수신된 제2 사용자 정보와 기 저장된 사용자 정보를 비교하여 일치 여부를 식별할 수 있다 (S875). 여기서, S865, S870, S875 단계는 도6의 S645, S650, S655 단계 또는 도7의 S740, S745, S750 단계에 대응될 수 있다. 따라서, 중복되는 설명을 생략한다. 한편, 도 8에는 기재하지 않았지만, 도 6의 S660, S665, S670, S675, S680 단계 또는 도7의 S755, S760, S765, S770, S775 단계가 추가로 적용될 수 있다.Then, the control device 200 may transmit the generated second probe request packet to the electronic device 100 (S855). In addition, when receiving the second probe request packet from the control device 200 , the electronic device 100 may acquire second user information included in the second probe request packet. Then, the electronic device 100 may attempt to connect to the server 400 based on the acquired second user information (S860). Specifically, the electronic device 100 may transmit the second user information to the AP device 300 (S865). Then, the AP device 300 may transmit the second user information to the server 400 (S870). Then, the server 400 may compare the received second user information with the pre-stored user information to identify whether they match (S875). Here, steps S865, S870, and S875 may correspond to steps S645, S650, and S655 of FIG. 6 or steps S740, S745, and S750 of FIG. 7 . Accordingly, redundant descriptions are omitted. Meanwhile, although not described in FIG. 8 , steps S660, S665, S670, S675, and S680 of FIG. 6 or steps S755, S760, S765, S770, and S775 of FIG. 7 may be additionally applied.

도 9는 서버에 연결되는 장치를 비교하는 동작을 설명하기 위한 흐름도이다.9 is a flowchart illustrating an operation of comparing devices connected to a server.

도 9를 참조하면, 제어 장치(200)는 도6의 S680 단계 또는 도 7의 S775 단계를 통하여 서버 연결 장치 테이블을 저장하고 있을 수 있다 (S905). 즉, 제어 장치(200)는 서버와 연결된 복수의 장치 중 제어 장치(200)와 동일한 IoT 네트워크에 포함된 적어도 하나의 장치에 대한 정보를 포함하는 서버 연결 장치 테이블을 제어 장치(200)의 메모리(210)에 저장하고 있을 수 있다. 그리고, 제어 장치(200)는 주기적으로 서버(400)에 서버 연결 장치 리스트를 요청할 수 있다.Referring to FIG. 9 , the control device 200 may store the server connection device table through step S680 of FIG. 6 or step S775 of FIG. 7 ( S905 ). That is, the control device 200 stores the server connection device table including information on at least one device included in the same IoT network as the control device 200 among a plurality of devices connected to the server in the memory ( 210) may be stored. In addition, the control device 200 may periodically request the server 400 for a list of server connection devices.

구체적으로, 제어 장치(200)는 AP 장치(300)에 서버 연결 장치 리스트 요청을 전송할 수 있다 (S910). 그리고, AP 장치(300)는 서버 연결 장치 리스트를 서버(400)에 전송할 수 있다 (S915). 그리고, 서버(400)는 수신된 서버 연결 장치 리스트 요청에 기초하여 서버 연결 장치 리스트를 생할 수 있다 (S920). 여기서, 서버 연결 장치 리스트는 서버(400)에 연결된 복수의 장치 중 제어 장치(200)와 동일한 IoT 네트워크에 포함된 적어도 하나의 장치에 대한 정보를 포함할 수 있다. 그리고, 서버(400)는 생성된 서버 연결 장치 리스트를 AP 장치(300)에 전송할 수 있다 (S925). 그리고, AP 장치(300)는 서버 연결 장치 리스트를 제어 장치(200)에 전송할 수 있다 (S930).Specifically, the control device 200 may transmit a server connection device list request to the AP device 300 (S910). Then, the AP device 300 may transmit the server-connected device list to the server 400 (S915). Then, the server 400 may generate a server-connected device list based on the received server-connected device list request (S920). Here, the server connection device list may include information on at least one device included in the same IoT network as the control device 200 among a plurality of devices connected to the server 400 . Then, the server 400 may transmit the created server-connected device list to the AP device 300 (S925). Then, the AP device 300 may transmit the server connection device list to the control device 200 (S930).

그리고, 제어 장치(200)는 수신된 서버 연결 장치 리스트와 기 저장된 서버 연결 장치 테이블을 비교할 수 있다 (S935). 그리고, 제어 장치(200)는 현재 전자 장치(100)가 서버(400)에 연결되어 있는지 여부를 식별할 수 있다 (S940). 구체적으로, 전자 장치(100)는 서버 연결 장치 테이블에 포함된 장치와 서버 연결 장치 리스트에 포함된 장치가 일치하는지 여부를 비교할 수 있다. 여기서, 서버 연결 장치 테이블은 제어 장치(200)에서 생성된 테이블을 의미하고, 서버 연결 장치 리스트는 서버(400)에서 생성된 리스트를 의미할 수 있다.Then, the control device 200 may compare the received server connection device list with a pre-stored server connection device table (S935). Then, the control device 200 may identify whether the electronic device 100 is currently connected to the server 400 (S940). Specifically, the electronic device 100 may compare whether a device included in the server-connected device table and a device included in the server-connected device list match. Here, the server-connected device table may mean a table generated by the control device 200 , and the server-connected device list may mean a list generated by the server 400 .

전자 장치(100) 및 서버(400)가 연결되어 있는 경우, 제어 장치(200)는 기 설정된 주기마다 서버 연결 장치 리스트를 서버(400)에 요청할 수 있다. 예를 들어, 하루에 한번 S910 내지 S940 동작을 반복할 수 있다.When the electronic device 100 and the server 400 are connected, the control device 200 may request a server connection device list from the server 400 every preset period. For example, operations S910 to S940 may be repeated once a day.

전자 장치(100) 및 서버(400)가 연결되어 있지 않은 경우, 제어 장치(200)는 전자 장치(100)와 서버(400)가 연결되어 있지 않다는 정보(연결 종료 정보)를 전자 장치(100)에 전송할 수 있다 (S945). 여기서, 연결 종료 정보는 S935단계에서 수행된 비교 동작에 기초하여 연결 장치 리스트에서 제외된 장치에 전송하는 프로브 요청 패킷일 수 있다. 다만, S945는 필수로 수행되지 않을 수 있다. 도 6의 S665 단계 또는 도7의 S760 단계에 의하여 이미 전자 장치(100)는 서버(400)와의 연결이 종료되었다는 정보를 수신하였기 때문이다.When the electronic device 100 and the server 400 are not connected, the control device 200 transmits information indicating that the electronic device 100 and the server 400 are not connected (connection termination information) to the electronic device 100 . can be transmitted to (S945). Here, the connection termination information may be a probe request packet transmitted to a device excluded from the connection device list based on the comparison operation performed in step S935. However, S945 may not be necessarily performed. This is because the electronic device 100 has already received information indicating that the connection with the server 400 has been terminated by step S665 of FIG. 6 or step S760 of FIG. 7 .

전자 장치(100)는 서버(400)와의 연결이 종료되었다는 정보를 수신하면 전자 장치(100)는 서버(400)와 연결이 해제되었음을 확인할 수 있다 (S950). 그리고, 서버(400)와의 연결이 해제되면 전자 장치(100)는 AP 모드를 자동으로 설정할 수 있다 (S955).When the electronic device 100 receives information that the connection with the server 400 has been terminated, the electronic device 100 may confirm that the connection with the server 400 has been released (S950). Then, when the connection with the server 400 is released, the electronic device 100 may automatically set the AP mode (S955).

도 10은 전자 장치가 서버와 연결되었는지 여부를 확인하는 동작을 설명하기 위한 흐름도이다.10 is a flowchart illustrating an operation of checking whether an electronic device is connected to a server.

도 10을 참조하면, 제어 장치(200)는 AP 모드로 동작하고 있는 전자 장치(100)에 프로브 요청 패킷을 전송함으로써 전자 장치(100)가 서버(400)에 연결되어 있는지 여부를 확인할 수 있다. 도 9의 실시 예에서는 전자 장치(100)에 별도의 프로브 응답 패킷을 전송하지 않고 서버(400)를 통해서만 전자 장치(100) 및 서버(400)와의 연결 여부를 확인하였지만, 도 10의 실시 예에서는 추가적으로 전자 장치(100)를 통해 전자 장치(100) 및 서버(400)와의 연결 여부를 확인할 수 있다. 예를 들어, 전자 장치(100) 및 서버(400)가 항상 서버와 연결되는 것은 아니므로, 실시간으로 전자 장치(100)및 서버(400)와의 연결 여부를 판단하기 어려울 수 있다. 따라서, 제어 장치(200)는 전자 장치(100)가 직접 서버(400)와 연결을 시도하도록 제어 명령을 전송할 수 있다. 전송되는 제어 명령은 도 10의 프로브 요청 패킷에 포함될 수 있다. 따라서, 도 10에서 기재한 S1005 내지 S1055 단계들은 도 9의 S940 단계 이후의 동작들에 대응될 수 있다. 구체적으로, 도 10에서 기재한 S1005 내지 S1055 단계들은 S940 단계에서 전자 장치(100) 및 서버(400)가 연결되어 있지 않다고 판단된 경우에 수행되는 동작들일 수 있다.Referring to FIG. 10 , the control device 200 may check whether the electronic device 100 is connected to the server 400 by transmitting a probe request packet to the electronic device 100 operating in the AP mode. In the embodiment of FIG. 9 , the connection with the electronic device 100 and the server 400 is checked only through the server 400 without transmitting a separate probe response packet to the electronic device 100 , but in the embodiment of FIG. 10 , Additionally, it is possible to check whether the electronic device 100 and the server 400 are connected through the electronic device 100 . For example, since the electronic device 100 and the server 400 are not always connected to the server, it may be difficult to determine whether the electronic device 100 and the server 400 are connected in real time. Accordingly, the control device 200 may transmit a control command so that the electronic device 100 directly attempts to connect with the server 400 . The transmitted control command may be included in the probe request packet of FIG. 10 . Accordingly, steps S1005 to S1055 described in FIG. 10 may correspond to operations after step S940 of FIG. 9 . Specifically, steps S1005 to S1055 described in FIG. 10 may be operations performed when it is determined in step S940 that the electronic device 100 and the server 400 are not connected.

구체적으로, 제어 장치(200)는 전자 장치(100) 및 서버(400)의 연결 여부 정보를 요청하는 프로브 요청 패킷을 생성할 수 있다 (S1005). 그리고, 제어 장치(200)는 생성된 프로브 요청 패킷을 전자 장치(100)에 전송할 수 있다 (S1010). 그리고, 전자 장치(100)는 제어 장치(200)로부터 수신한 프로브 요청 패킷을 수신하면, 서버(400)와의 연결 여부를 확인할 수 있다 (S1015). S1015 단계는 S640 내지 S665 단계에 대응될 수 있다. 따라서, 중복되는 동작은 도 10에서 생략한다.Specifically, the control device 200 may generate a probe request packet for requesting information on whether the electronic device 100 and the server 400 are connected (S1005). Then, the control device 200 may transmit the generated probe request packet to the electronic device 100 (S1010). Then, upon receiving the probe request packet received from the control device 200 , the electronic device 100 may check whether the connection with the server 400 is established ( S1015 ). Step S1015 may correspond to steps S640 to S665. Accordingly, overlapping operations are omitted in FIG. 10 .

전자 장치(100)는 서버와 연결 여부 정보를 포함하는 프로브 응답 패킷을 생성할 수 있다 (S1020). 그리고, 생성된 프로브 응답 패킷을 제어 장치(200)에 전송할 수 있다 (S1025). 제어 장치(200)는 전자 장치(100)로부터 수신한 프로브 응답 패킷에 기초하여 전자 장치(100) 및 서버(400)가 연결되어 있는지 여부를 식별할 수 있다 (S1030).The electronic device 100 may generate a probe response packet including information on whether to connect to the server (S1020). Then, the generated probe response packet may be transmitted to the control device 200 (S1025). The control device 200 may identify whether the electronic device 100 and the server 400 are connected based on the probe response packet received from the electronic device 100 ( S1030 ).

S1030 단계에서 전자 장치(100) 및 서버(400)가 연결되어 있다고 식별되면, 제어 장치(200)는 주기적으로 서버 연결 장치 리스트를 서버(400)에 요청할 수 있다. 구체적으로, 제어 장치(200)는 서버 연결 장치 리스트 요청을 AP 장치(300)에 전송할 수 있다 (S1035). 그리고, AP 장치(300)는 서버 연결 장치 리스트 요청을 서버(400)에 전송할 수 있다 (S1040). 그리고, 서버(400)는 서버 연결 장치 리스트 요청에 기초하여 서버 연결 장치 리스트를 생성할 수 있다 (S1045). 여기서, S1035, S1040, S1045 단계는 도 9의 S910, S915, S920 단계에 대응될 수 있다. 또한, S1045 단계 이후에 도9의 S925, S930, S935, S940 단계가 추가적으로 적용될 수 있다. 이와 중복되는 설명을 생략한다.When it is identified that the electronic device 100 and the server 400 are connected in step S1030 , the control device 200 may periodically request a server connection device list from the server 400 . Specifically, the control device 200 may transmit a server connection device list request to the AP device 300 (S1035). Then, the AP device 300 may transmit a server connection device list request to the server 400 (S1040). Then, the server 400 may generate a server-connected device list based on the server-connected device list request (S1045). Here, steps S1035, S1040, and S1045 may correspond to steps S910, S915, and S920 of FIG. 9 . In addition, steps S925, S930, S935, and S940 of FIG. 9 may be additionally applied after step S1045. A description that overlaps with this will be omitted.

S1030 단계에서 전자 장치(100) 및 서버(400)가 연결되어 있지 않다고 식별되면, 제어 장치(200)는 전자 장치(100)에 AP 모드 재설정 요청을 전송할 수 있다 (S1050). 그리고, 전자 장치(100)는 제어 장치(200)로부터 수신된 AP 모드 재설정 요청에 기초하여 전자 장치(100)의 모드를 AP 모드로 재설정할 수 있다 (S1055). 여기서 “재설정”은 “설정”으로 대체하여 적용될 수 있다. 또한, S1055 단계는 도 8의 S805 내지 S875 단계에 대응될 수 있다. 중복되는 설명은 생략한다.If it is identified that the electronic device 100 and the server 400 are not connected in step S1030 , the control device 200 may transmit an AP mode reset request to the electronic device 100 ( S1050 ). Then, the electronic device 100 may reset the mode of the electronic device 100 to the AP mode based on the AP mode reset request received from the control device 200 (S1055). Here, “reset” may be replaced with “setting” and applied. Also, step S1055 may correspond to steps S805 to S875 of FIG. 8 . A duplicate description will be omitted.

도 11은 서버에서 생성되는 서버 연결 장치 테이블을 설명하기 위한 표이다.11 is a table for explaining a server connection device table generated by the server.

도 11을 참조하면, 제어 장치(200)는 제어 장치(200)의 메모리(210)에 저장된 서버 연결 장치 테이블 (1105)을 저장할 수 있다. 서버 연결 장치 테이블을 획득하는 과정은 도 6의 S680 단계에 해당할 수 있다. 구체적으로, 서버 연결 장치 테이블은 서버(400)에 연결되는 복수의 장치 중 제어 장치(200)와 동일한 IoT 네트워크에 포함된 장치에 대한 정보를 포함할 수 있다.Referring to FIG. 11 , the control device 200 may store the server connection device table 1105 stored in the memory 210 of the control device 200 . The process of acquiring the server connection device table may correspond to step S680 of FIG. 6 . Specifically, the server connection device table may include information on a device included in the same IoT network as the control device 200 among a plurality of devices connected to the server 400 .

서버 연결 장치 테이블은 식별 번호, 최근 접속 시간, 장치 종류, 공유키, 기기별(또는 장치별) MAC(Media Access Control) 주소 중 적어도 하나를 포함할 수 있다. 공유키가 동일하면 동일한 IoT 네트워크에 포함되는 것일 수 있다. MAC 주소는 장치 고유의 주소일 수 있다. 따라서, 제어 장치(200)는 MAC 주소에 기초하여 특정 장치에 정보를 전송할 수 있다. 예를 들어, 서버 연결 장치 테이블에 전자 장치(100)에 대응되는 MAC 주소가 포함되어 있다면, 제어 장치(200)는 전자 장치(100)에 대응되는 MAC 주소에 기초하여 사용자 정보를 전자 장치(100)에 전송할 수 있다.The server-connected device table may include at least one of an identification number, a recent access time, a device type, a shared key, and a media access control (MAC) address for each device (or for each device). If the shared key is the same, it may be included in the same IoT network. The MAC address may be a device-specific address. Accordingly, the control device 200 may transmit information to a specific device based on the MAC address. For example, if the MAC address corresponding to the electronic device 100 is included in the server connection device table, the control device 200 transmits user information to the electronic device 100 based on the MAC address corresponding to the electronic device 100 . ) can be sent to

도 12는 전자 장치 및 제어 장치 사이에 전송되는 프로브 패킷을 설명하기 위한 표이다.12 is a table for explaining a probe packet transmitted between an electronic device and a control device.

도 12를 참조하면, 프로브 패킷은 802.11 관리 프레임(management frame)의 프로브 요청/응답 패킷일 수 있다. 802.11 관리 프레임은 무선 단말 및 AP(Access Point) 사이에서 통신을 확립하기 위한 관리용 프레임을 의미할 수 있다. 802.11 관리 프레임은 802.11 MAC 헤더 및 프레임 몸체로 구성될 수 있다. 여기서, 프레임 몸체는 가변 길이를 갖는 정보 요소(Information Element) 필드를 포함할 수 있다. 정보 요소 필드는 요소 식별(Element ID) 정보, 길이 정보, OUI(Organizationally Unique Identifier) 정보, vender specific element 정보를 포함할 수 있다.12 , the probe packet may be a probe request/response packet of an 802.11 management frame. The 802.11 management frame may refer to a management frame for establishing communication between a wireless terminal and an access point (AP). The 802.11 management frame may consist of an 802.11 MAC header and a frame body. Here, the frame body may include an information element field having a variable length. The information element field may include element identification (Element ID) information, length information, Organizationally Unique Identifier (OUI) information, and vendor specific element information.

여기서, vender specific element 정보(1205)는 암호화된 데이터일 수 있으며, 식별 번호, 기기별 MAC 주소, 공유키, 정의 내용을 포함할 수 있다. 여기서 정의 내용이란, 전송되는 패킷의 목적을 나타내는 것을 의미할 수 있다. 예를 들어, 제1 타입(type #1)의 정의 내용은 연결이 해제된 장치를 찾는 것일 수 있으며, 제2 타입(type #2)의 정의 내용은 이 장치가 제어 장치에 셋업(set up)될 수 있다는 것일 수 있다.Here, the vendor specific element information 1205 may be encrypted data, and may include an identification number, a MAC address for each device, a shared key, and definition content. Here, the definition content may mean indicating the purpose of a transmitted packet. For example, the definition of the first type (type #1) may be to find a disconnected device, and the definition of the second type (type #2) is that the device is set up in the control device. it could be that it could be

도 13은 일 실시 예에 따른 네트워크 연결 알림과 관련된 UI를 설명하기 위한 도면이다.13 is a diagram for explaining a UI related to a network connection notification according to an embodiment.

도 13을 참조하면, 전자 장치(100)(도 13에서 세탁기로 도시)가 디스플레이(140)를 포함하고 있는 것을 가정한다. 전자 장치(100)가 서버(400)와의 연결이 해제된 경우, 전자 장치(100)의 디스플레이(140)에 연결 해제에 대응되는 이미지(1305)가 표시될 수 있다. 여기서, 이미지(1305)는 전자 장치(100)에 대응되는 아이콘, 서버(400)에 대응되는 아이콘, 연결 해제에 대응되는 아이콘(1310) 및 연결 해제 정보(1315)를 포함할 수 있다. 여기서, 연결 해제 정보란 상호 연결이 해제된 장치들의 이름(또는 종류) 및 연결 해제 이유 중 적어도 하나를 포함할 수 있다. 여기서, 연결 해제 아이콘(1310)은 전자 장치(100)에 대응되는 아이콘 및 서버(400)에 대응되는 아이콘 사이에 표시될 수 있다. 연결 해제된 장치의 아이콘 사이에 연결 해제 아이콘(1310)이 표시되므로, 사용자는 어느 장치의 연결이 해제되었는지 쉽게 인지할 수 있다.Referring to FIG. 13 , it is assumed that the electronic device 100 (shown as a washing machine in FIG. 13 ) includes the display 140 . When the electronic device 100 disconnects from the server 400 , an image 1305 corresponding to the disconnection may be displayed on the display 140 of the electronic device 100 . Here, the image 1305 may include an icon corresponding to the electronic device 100 , an icon corresponding to the server 400 , an icon 1310 corresponding to disconnection, and connection disconnection information 1315 . Here, the disconnection information may include at least one of the names (or types) of devices that have been disconnected from each other and the reasons for disconnecting the connection. Here, the disconnection icon 1310 may be displayed between the icon corresponding to the electronic device 100 and the icon corresponding to the server 400 . Since a disconnection icon 1310 is displayed between icons of disconnected devices, the user can easily recognize which device has been disconnected.

한편, 도 13내지 도 15의 실시 예는 전자 장치(100)의 디스플레이(140)에 이미지(1305)가 표시되는 것으로 가정하였지만, 구현 예에 따라 제어 장치(200)의 디스플레이(240)에 표시될 수 있다.Meanwhile, although it is assumed that the image 1305 is displayed on the display 140 of the electronic device 100 in the embodiment of FIGS. 13 to 15 , it may be displayed on the display 240 of the control device 200 according to an embodiment. can

도 14는 다른 실시 예에 따른 네트워크 연결 알림과 관련된 UI를 설명하기 위한 도면이다.14 is a diagram for explaining a UI related to a network connection notification according to another embodiment.

도 14를 참조하면, 전자 장치(100)(도 14에서 세탁기로 도시)가 디스플레이(140)를 포함하고 있는 것을 가정한다. 전자 장치(100)가 서버(400)와의 연결이 해제된 경우, 전자 장치(100)의 디스플레이(140)에 전자 장치(100)에 새로운 사용자 정보를 업데이트하도록 가이드하는 이미지(1405)가 표시될 수 있다. 여기서, 이미지(1405)는 전자 장치(100)에 새로운 사용자 정보를 전송할 것인지 여부를 묻는 UI(1410)를 포함할 수 있다.Referring to FIG. 14 , it is assumed that the electronic device 100 (shown as a washing machine in FIG. 14 ) includes the display 140 . When the electronic device 100 disconnects from the server 400 , an image 1405 guiding the electronic device 100 to update new user information may be displayed on the display 140 of the electronic device 100 . have. Here, the image 1405 may include a UI 1410 asking whether to transmit new user information to the electronic device 100 .

UI(1410)에 기초하여 사용자에 의해 새로운 사용자 정보를 전송하는 제어 명령이 선택되면, 전자 장치(100)는 새로운 사용자 정보를 요청하는 제어 신호를 제어 장치(200)에 전송할 수 있고, 제어 장치(200)는 전자 장치(100)에 새로운 사용자 정보를 전송할 수 있다.When a control command for transmitting new user information is selected by the user based on the UI 1410, the electronic device 100 may transmit a control signal requesting new user information to the control device 200, and the control device ( 200 may transmit new user information to the electronic device 100 .

한편, 도 14의 실시 예는 전자 장치(100)의 디스플레이(140)에 이미지(1405)가 표시되는 것으로 가정하였지만, 구현 예에 따라 제어 장치(200)의 디스플레이(240)에 표시될 수 있다. 구체적으로, UI(1410)에 기초하여 새로운 사용자 정보를 전송하는 제어 명령이 사용자에 의해 선택되면, 제어 장치(200)는 전자 장치(100)에 새로운 사용자 정보를 전송할 수 있다.Meanwhile, although it is assumed that the image 1405 is displayed on the display 140 of the electronic device 100 in the embodiment of FIG. 14 , it may be displayed on the display 240 of the control device 200 according to an embodiment. Specifically, when a control command for transmitting new user information is selected by the user based on the UI 1410 , the control device 200 may transmit the new user information to the electronic device 100 .

도 15는 또 다른 실시 예에 따른 네트워크 연결 알림과 관련된 UI를 설명하기 위한 도면이다.15 is a diagram for explaining a UI related to a network connection notification according to another embodiment.

도 15를 참조하면, 전자 장치(100)가 디스플레이(140)를 포함하고 있는 것을 가정한다. 전자 장치(100)가 서버(400)와의 연결이 해제된 경우, 전자 장치(100)의 디스플레이(140)에 전자 장치(100)에 사용자 정보를 입력하도록 가이드하는 이미지(1505)가 표시될 수 있다. 여기서, 이미지(1505)는 사용자 식별 정보 및 식별 정보에 대응되는 패스워드를 입력하는 UI(1510)를 포함할 수 있다.15 , it is assumed that the electronic device 100 includes the display 140 . When the electronic device 100 disconnects from the server 400 , an image 1505 guiding to input user information into the electronic device 100 may be displayed on the display 140 of the electronic device 100 . . Here, the image 1505 may include user identification information and a UI 1510 for inputting a password corresponding to the identification information.

일 실시 예에 따라, UI(1510)에 기초하여 사용자 정보가 모두 입력되면, 전자 장치(100)는 입력된 사용자 정보에 기초하여 서버(400)에 연결을 시도할 수 있다.According to an embodiment, when all user information is input based on the UI 1510 , the electronic device 100 may attempt to connect to the server 400 based on the input user information.

다른 실시 예에 따라, UI(1510)에 기초하여 사용자 정보가 모두 입력되면, 전자 장치(100)는 새로운 사용자 정보를 요청하는 제어 신호를 제어 장치(200)에 전송할 수 있다. 여기서, 전자 장치(100)에 입력되는 사용자 정보는 기존 사용자 정보(새로운 사용자 정보가 아닌)일 수 있다. 여기서, 제어 신호 전송 동작은 와이파이 신호를 브로드캐스팅 하는 것일 수 있다. 그리고, 제어 장치(200)가 새로운 사용자 정보를 요청하는 제어 신호를 수신하면, 전자 장치(100)에 새로운 사용자 정보를 전송할 수 있다.According to another embodiment, when all user information is input based on the UI 1510 , the electronic device 100 may transmit a control signal requesting new user information to the control device 200 . Here, the user information input to the electronic device 100 may be existing user information (not new user information). Here, the control signal transmission operation may be broadcasting a Wi-Fi signal. In addition, when the control device 200 receives a control signal requesting new user information, it may transmit new user information to the electronic device 100 .

한편, 도 15의 실시 예는 전자 장치(100)의 디스플레이(140)에 이미지(1505)가 표시되는 것으로 가정하였지만, 구현 예에 따라 제어 장치(200)의 디스플레이(240)에 표시될 수 있다. UI(1510)에 기초하여 사용자 정보가 사용자에 의해 모두 입력되면, 제어 장치(200)는 새로운 사용자 정보를 전자 장치(100)에 전송할 수 있다. 여기서, 제어 장치(200)에 입력되는 사용자 정보는 새로운 사용자 정보일 수 있다.Meanwhile, although it is assumed that the image 1505 is displayed on the display 140 of the electronic device 100 in the embodiment of FIG. 15 , it may be displayed on the display 240 of the control device 200 according to an embodiment. When all user information is input by the user based on the UI 1510 , the control device 200 may transmit new user information to the electronic device 100 . Here, the user information input to the control device 200 may be new user information.

도 16은 본 개시의 일 실시 예에 따른 전자 장치의 흐름도를 설명하기 위한 도면이다.16 is a diagram for explaining a flowchart of an electronic device according to an embodiment of the present disclosure.

도 16을 참조하면, 본 개시의 일 실시 예에 따른 제1 사용자 식별 정보 및 제1 사용자 식별 정보에 대응되는 제1 패스워드 정보를 저장하는 전자 장치(100)의 제어 방법은 저장된 제1 사용자 식별 정보 및 제1 패스워드 정보에 기초하여 AP (Access Point) 장치(300)를 통해 서버(400)에 연결하는 단계 (S1605), 서버(400)와 연결되지 않으면, 전자 장치(100)가 AP 모드로 동작하는 단계 (S1610) 및 전자 장치(100)가 AP 모드로 동작하는 동안 외부 단말 장치(200)로부터 제2 패스워드 정보가 수신되면, 제1 사용자 식별 정보 및 제2 패스워드에 기초하여 AP 장치(300)를 통해 서버(400)에 연결하는 단계 (S1615)를 포함할 수 있다.Referring to FIG. 16 , a control method of the electronic device 100 for storing first user identification information and first password information corresponding to the first user identification information according to an embodiment of the present disclosure includes the stored first user identification information and connecting to the server 400 through the AP (Access Point) device 300 on the basis of the first password information (S1605). If the server 400 is not connected, the electronic device 100 operates in the AP mode. step S1610 and when the second password information is received from the external terminal device 200 while the electronic device 100 operates in the AP mode, the AP device 300 based on the first user identification information and the second password It may include a step of connecting to the server 400 through (S1615).

한편, 전자 장치(100)는 공유키를 더 저장할 수 있으며, 제어 방법은 전자 장치(100)가 AP 모드로 동작하는 동안 외부 단말 장치(200)로부터 공유키를 포함하는 정보가 수신되면, 수신된 정보에 포함된 공유키 및 저장된 공유키에 기초하여 제2 패스워드 정보를 수신하기 위한 응답 정보를 외부 단말 장치(200)로 전송하는 단계를 더 포함할 수 있다.Meanwhile, the electronic device 100 may further store the shared key, and the control method is when information including the shared key is received from the external terminal device 200 while the electronic device 100 operates in the AP mode, the received The method may further include transmitting response information for receiving the second password information to the external terminal device 200 based on the shared key included in the information and the stored shared key.

한편, 응답 정보를 외부 단말 장치(200)로 전송하는 단계는 전자 장치(100)가 AP 모드로 동작하는 동안 공유키를 포함하는 제1 프로브 요청 패킷이 수신되면, 수신된 제1 프로브 요청 패킷에 포함된 공유키와 저장된 공유키가 일치하는 경우 공유키가 일치하는지 여부를 식별하고, 식별 결과에 기초하여 응답 정보를 외부 단말 장치(200)로 전송할 수 있다.Meanwhile, in the step of transmitting the response information to the external terminal device 200 , when the first probe request packet including the shared key is received while the electronic device 100 operates in the AP mode, the received first probe request packet is When the included shared key and the stored shared key match, it may be identified whether the shared key matches, and response information may be transmitted to the external terminal device 200 based on the identification result.

한편, 제1 사용자 식별 정보 및 제2 패스워드에 기초하여 AP 장치(300)를 통해 서버(400)에 연결하는 단계 (S1615)는 수신된 제1 프로브 요청 패킷에 포함된 공유키와 저장된 공유키가 일치하는 경우, 공유키가 일치함을 나타내는 정보를 포함하는 프로브 응답 패킷을 외부 단말 장치(200)에 전송할 수 있고, 외부 단말 장치(200)로부터 제2 패스워드 정보를 포함하는 제2 프로브 요청 패킷이 수신되면, 제1 사용자 식별 정보 및 제2 패스워드에 기초하여 AP 장치(300)를 통해 서버(400)에 연결할 수 있다.Meanwhile, in the step of connecting to the server 400 through the AP device 300 based on the first user identification information and the second password (S1615), the shared key included in the received first probe request packet and the stored shared key are If they match, a probe response packet including information indicating that the shared key matches may be transmitted to the external terminal device 200 , and a second probe request packet including second password information is transmitted from the external terminal device 200 . When received, the server 400 may be connected through the AP device 300 based on the first user identification information and the second password.

한편, 제1 사용자 식별 정보 및 제1 패스워드 정보는 외부 단말 장치(200)로부터 수신된 정보일 수 있으며, 저장된 공유키는 제1 사용자 식별 정보 및 제1 패스워드 정보와 함께 외부 단말 장치(200)로부터 수신된 정보일 수 있다.Meanwhile, the first user identification information and the first password information may be information received from the external terminal device 200 , and the stored shared key is transmitted from the external terminal device 200 together with the first user identification information and the first password information. It may be received information.

한편, 제1 사용자 식별 정보 및 제1 패스워드 정보에 기초하여 AP 장치(300)를 통해 서버(400)에 연결하는 단계 (S1605)는 제1 사용자 식별 정보 및 제1 패스워드 정보와 함께 AP 장치(300)의 식별 정보를 수신하며, 수신된 AP 장치(300)의 식별 정보에 대응되는 AP 장치(300)를 통해 서버(400)에 연결할 수 있다.Meanwhile, in the step of connecting to the server 400 through the AP device 300 based on the first user identification information and the first password information (S1605), the AP device 300 together with the first user identification information and the first password information ), and may connect to the server 400 through the AP device 300 corresponding to the received identification information of the AP device 300 .

한편, 제어 방법은 제2 패스워드 정보가 수신되면, 저장된 제1 패스워드를 제2 패스워드로 업데이트하는 단계를 더 포함할 수 있다.Meanwhile, the control method may further include updating the stored first password to the second password when the second password information is received.

한편, 제어 방법은 전자 장치(100)가 AP 모드로 동작하는 동안 AP 장치(300)와 연결이 해제되는 단계 및 와이파이 신호를 브로드캐스팅하는 단계를 더 포함할 수 있다.Meanwhile, the control method may further include disconnecting the connection from the AP device 300 and broadcasting a Wi-Fi signal while the electronic device 100 operates in the AP mode.

한편, 제어 방법은 외부 단말 장치(200)로부터 서버(400)와 연결 여부에 대한 정보를 요청하는 프로브 요청 패킷이 수신되면, 서버(400)와 연결 여부에 대한 정보를 포함하는 프로브 응답 패킷을 외부 단말 장치(200)로 전송하는 단계를 더 포함할 수 있다.Meanwhile, in the control method, when a probe request packet requesting information on whether to connect to the server 400 is received from the external terminal device 200 , a probe response packet including information on whether to connect to the server 400 is transmitted to the outside. The method may further include transmitting to the terminal device 200 .

한편, 제어 방법은 서버(400)와 연결되지 않으면, 외부 단말 장치(200)에 새로운 사용자 정보를 요청하도록 가이드하는 UI(User Interface)를 표시하는 단계를 더 포함할 수 있다.Meanwhile, the control method may further include displaying a user interface (UI) guiding a request for new user information to the external terminal device 200 when the server 400 is not connected.

한편, 도 16과 같은 전자 장치의 제어 방법은 도 2 또는 도 3의 구성을 가지는 전자 장치 상에서 실행될 수 있으며, 그 밖의 구성을 가지는 전자 장치 상에서도 실행될 수 있다.Meanwhile, the method of controlling the electronic device as shown in FIG. 16 may be executed on the electronic device having the configuration of FIG. 2 or FIG. 3 , and may also be executed on the electronic device having other configurations.

한편, 상술한 본 개시의 다양한 실시 예들에 따른 방법들은, 기존 전자 장치에 설치 가능한 어플리케이션 형태로 구현될 수 있다.Meanwhile, the above-described methods according to various embodiments of the present disclosure may be implemented in the form of an application that can be installed in an existing electronic device.

또한, 상술한 본 개시의 다양한 실시 예들에 따른 방법들은, 기존 전자 장치에 대한 소프트웨어 업그레이드, 또는 하드웨어 업그레이드 만으로도 구현될 수 있다.In addition, the above-described methods according to various embodiments of the present disclosure may be implemented only by software upgrade or hardware upgrade of an existing electronic device.

또한, 상술한 본 개시의 다양한 실시 예들은 전자 장치에 구비된 임베디드 서버, 또는 전자 장치 및 디스플레이 장치 중 적어도 하나의 외부 서버를 통해 수행되는 것도 가능하다.In addition, various embodiments of the present disclosure described above may be performed through an embedded server provided in an electronic device or an external server of at least one of an electronic device and a display device.

한편, 본 개시의 일시 예에 따르면, 이상에서 설명된 다양한 실시 예들은 기기(machine)(예: 컴퓨터)로 읽을 수 있는 저장 매체(machine-readable storage media)에 저장된 명령어를 포함하는 소프트웨어로 구현될 수 있다. 기기는, 저장 매체로부터 저장된 명령어를 호출하고, 호출된 명령어에 따라 동작이 가능한 장치로서, 개시된 실시 예들에 따른 전자 장치를 포함할 수 있다. 명령이 프로세서에 의해 실행될 경우, 프로세서가 직접, 또는 프로세서의 제어 하에 다른 구성요소들을 이용하여 명령에 해당하는 기능을 수행할 수 있다. 명령은 컴파일러 또는 인터프리터에 의해 생성 또는 실행되는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장매체는, 비일시적(non-transitory) 저장매체의 형태로 제공될 수 있다. 여기서, '비일시적'은 저장매체가 신호(signal)를 포함하지 않으며 실재(tangible)한다는 것을 의미할 뿐 데이터가 저장매체에 반영구적 또는 임시적으로 저장됨을 구분하지 않는다.Meanwhile, according to a temporary example of the present disclosure, the various embodiments described above may be implemented as software including instructions stored in a machine-readable storage media readable by a machine (eg, a computer). can The device is a device capable of calling a stored command from a storage medium and operating according to the called command, and may include the electronic device according to the disclosed embodiments. When the instruction is executed by the processor, the processor may perform a function corresponding to the instruction by using other components directly or under the control of the processor. Instructions may include code generated or executed by a compiler or interpreter. The device-readable storage medium may be provided in the form of a non-transitory storage medium. Here, 'non-transitory' means that the storage medium does not include a signal and is tangible, and does not distinguish that data is semi-permanently or temporarily stored in the storage medium.

또한, 본 개시의 일 실시 예에 따르면, 이상에서 설명된 다양한 실시 예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory (CD-ROM))의 형태로, 또는 어플리케이션 스토어(예: 플레이 스토어TM)를 통해 온라인으로 배포될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.Also, according to an embodiment of the present disclosure, the method according to the various embodiments described above may be included in a computer program product and provided. Computer program products may be traded between sellers and buyers as commodities. The computer program product may be distributed in the form of a machine-readable storage medium (eg, compact disc read only memory (CD-ROM)) or online through an application store (eg, Play Store™). In the case of online distribution, at least a portion of the computer program product may be temporarily stored or temporarily generated in a storage medium such as a memory of a server of a manufacturer, a server of an application store, or a relay server.

또한, 상술한 다양한 실시 예들에 따른 구성 요소(예: 모듈 또는 프로그램) 각각은 단수 또는 복수의 개체로 구성될 수 있으며, 전술한 해당 서브 구성 요소들 중 일부 서브 구성 요소가 생략되거나, 또는 다른 서브 구성 요소가 다양한 실시 예에 더 포함될 수 있다. 대체적으로 또는 추가적으로, 일부 구성 요소들(예: 모듈 또는 프로그램)은 하나의 개체로 통합되어, 통합되기 이전의 각각의 해당 구성 요소에 의해 수행되는 기능을 동일 또는 유사하게 수행할 수 있다. 다양한 실시 예들에 따른, 모듈, 프로그램 또는 다른 구성 요소에 의해 수행되는 동작들은 순차적, 병렬적, 반복적 또는 휴리스틱하게 실행되거나, 적어도 일부 동작이 다른 순서로 실행되거나, 생략되거나, 또는 다른 동작이 추가될 수 있다.In addition, each of the components (eg, a module or a program) according to the various embodiments described above may be composed of a single or a plurality of entities, and some sub-components of the aforementioned sub-components may be omitted, or other sub-components may be omitted. Components may be further included in various embodiments. Alternatively or additionally, some components (eg, a module or a program) may be integrated into a single entity, so that functions performed by each corresponding component prior to integration may be performed identically or similarly. According to various embodiments, operations performed by a module, program, or other component may be sequentially, parallelly, repetitively or heuristically executed, or at least some operations may be executed in a different order, omitted, or other operations may be added. can

이상에서는 본 개시의 바람직한 실시 예에 대하여 도시하고 설명하였지만, 본 개시는 상술한 특정의 실시 예에 한정되지 아니하며, 청구범위에서 청구하는 본 개시의 요지를 벗어남이 없이 당해 개시에 속하는 기술분야에서 통상의 지식을 가진 자에 의해 다양한 변형 실시가 가능한 것은 물론이고, 이러한 변형실시들은 본 개시의 기술적 사상이나 전망으로부터 개별적으로 이해되어져서는 안될 것이다.In the above, preferred embodiments of the present disclosure have been illustrated and described, but the present disclosure is not limited to the specific embodiments described above, and is generally used in the technical field belonging to the present disclosure without departing from the gist of the present disclosure as claimed in the claims. Various modifications may be made by those having the knowledge of

100: 전자 장치 200: 외부 단말 장치
300: AP 장치 400: 서버
100: electronic device 200: external terminal device
300: AP device 400: server

Claims (20)

전자 장치에 있어서,
제1 사용자 식별 정보 및 상기 제1 사용자 식별 정보에 대응되는 제1 패스워드 정보가 저장된 메모리;
통신 인터페이스; 및
상기 메모리에 저장된 상기 제1 사용자 식별 정보 및 상기 제1 패스워드 정보에 기초하여 AP (Access Point) 장치를 통해 서버에 연결하도록 상기 통신 인터페이스를 제어하는 프로세서;를 포함하며,
상기 프로세서는,
상기 통신 인터페이스를 통해 상기 서버와 연결되지 않으면, 상기 전자 장치가 AP 모드로 동작하도록 상기 통신 인터페이스를 제어하고,
상기 전자 장치가 상기 AP 모드로 동작하는 동안 외부 단말 장치로부터 제2 패스워드 정보가 수신되면, 상기 제1 사용자 식별 정보 및 상기 제2 패스워드에 기초하여 상기 AP 장치를 통해 상기 서버에 연결하도록 상기 통신 인터페이스를 제어하는, 전자 장치.
In an electronic device,
a memory in which first user identification information and first password information corresponding to the first user identification information are stored;
communication interface; and
A processor for controlling the communication interface to connect to a server through an AP (Access Point) device based on the first user identification information and the first password information stored in the memory;
The processor is
If it is not connected to the server through the communication interface, control the communication interface so that the electronic device operates in an AP mode,
If second password information is received from an external terminal device while the electronic device operates in the AP mode, the communication interface is configured to connect to the server through the AP device based on the first user identification information and the second password to control the electronic device.
제1항에 있어서,
상기 메모리는,
공유키를 더 저장하며,
상기 프로세서는,
상기 전자 장치가 상기 AP 모드로 동작하는 동안 상기 외부 단말 장치로부터 공유키를 포함하는 정보가 수신되면, 상기 수신된 정보에 포함된 공유키 및 상기 메모리에 저장된 공유키에 기초하여 상기 제2 패스워드 정보를 수신하기 위한 응답 정보를 상기 외부 단말 장치로 전송하는, 전자 장치.
According to claim 1,
The memory is
Store more shared keys,
The processor is
When information including a shared key is received from the external terminal device while the electronic device operates in the AP mode, the second password information is based on the shared key included in the received information and the shared key stored in the memory. An electronic device for transmitting response information for receiving a , to the external terminal device.
제2항에 있어서,
상기 프로세서는,
상기 전자 장치가 상기 AP 모드로 동작하는 동안 상기 공유키를 포함하는 제1 프로브 요청 패킷이 수신되면, 상기 수신된 제1 프로브 요청 패킷에 포함된 상기 공유키와 상기 메모리에 저장된 공유키가 일치하는 경우 공유키가 일치하는지 여부를 식별하고, 식별 결과에 기초하여 상기 응답 정보를 상기 외부 단말 장치로 전송하는, 전자 장치.
3. The method of claim 2,
The processor is
When the first probe request packet including the shared key is received while the electronic device operates in the AP mode, the shared key included in the received first probe request packet matches the shared key stored in the memory. case, it is determined whether the shared key matches, and based on the identification result, the electronic device transmits the response information to the external terminal device.
제3항에 있어서,
상기 프로세서는,
상기 수신된 제1 프로브 요청 패킷에 포함된 상기 공유키와 상기 메모리에 저장된 공유키가 일치하는 경우, 공유키가 일치함을 나타내는 정보를 포함하는 프로브 응답 패킷을 상기 외부 단말 장치에 전송하고,
상기 외부 단말 장치로부터 제2 패스워드 정보를 포함하는 제2 프로브 요청 패킷이 수신되면, 상기 제1 사용자 식별 정보 및 상기 제2 패스워드에 기초하여 상기 AP 장치를 통해 상기 서버에 연결하도록 상기 통신 인터페이스를 제어하는, 전자 장치.
4. The method of claim 3,
The processor is
When the shared key included in the received first probe request packet matches the shared key stored in the memory, transmitting a probe response packet including information indicating that the shared key matches to the external terminal device;
When a second probe request packet including second password information is received from the external terminal device, the communication interface is controlled to connect to the server through the AP device based on the first user identification information and the second password which is an electronic device.
제2항에 있어서,
상기 제1 사용자 식별 정보 및 상기 제1 패스워드 정보는 상기 외부 단말 장치로부터 수신된 정보이며,
상기 메모리에 저장된 상기 공유키는,
상기 제1 사용자 식별 정보 및 상기 제1 패스워드 정보와 함께 상기 외부 단말 장치로부터 수신된 정보인, 전자 장치.
3. The method of claim 2,
The first user identification information and the first password information are information received from the external terminal device,
The shared key stored in the memory,
The electronic device is information received from the external terminal device together with the first user identification information and the first password information.
제1항에 있어서,
상기 프로세서는,
상기 제1 사용자 식별 정보 및 상기 제1 패스워드 정보와 함께 AP 장치의 식별 정보를 수신하며, 상기 수신된 AP 장치의 식별 정보에 대응되는 AP 장치를 통해 상기 서버에 연결하도록 상기 통신 인터페이스를 제어하는, 전자 장치.
According to claim 1,
The processor is
receiving identification information of the AP device together with the first user identification information and the first password information, and controlling the communication interface to connect to the server through the AP device corresponding to the received identification information of the AP device; electronic device.
제1항에 있어서,
상기 프로세서는,
상기 제2 패스워드 정보가 수신되면, 상기 메모리에 저장된 상기 제1 패스워드를 상기 제2 패스워드로 업데이트하는, 전자 장치.
According to claim 1,
The processor is
When the second password information is received, the electronic device of updating the first password stored in the memory to the second password.
제1항에 있어서,
상기 프로세서는,
상기 전자 장치가 상기 AP 모드로 동작하는 동안 상기 AP 장치와 연결이 해제되도록 상기 통신 인터페이스를 제어하고,
상기 통신 인터페이스를 통해 와이파이 신호를 브로드캐스팅하는, 전자 장치.
According to claim 1,
The processor is
controlling the communication interface so that the connection with the AP device is released while the electronic device operates in the AP mode;
An electronic device that broadcasts a Wi-Fi signal through the communication interface.
제1항에 있어서,
상기 프로세서는,
상기 외부 단말 장치로부터 상기 서버와 연결 여부에 대한 정보를 요청하는 프로브 요청 패킷이 수신되면, 상기 서버와 연결 여부에 대한 정보를 포함하는 프로브 응답 패킷을 상기 외부 단말 장치로 전송하는, 전자 장치.
According to claim 1,
The processor is
When a probe request packet for requesting information on whether to connect to the server is received from the external terminal device, the electronic device transmits a probe response packet including information on whether to connect to the server to the external terminal device.
제1항에 있어서,
디스플레이;를 더 포함하고,
상기 프로세서는,
상기 통신 인터페이스를 통해 상기 서버와 연결되지 않으면, 상기 외부 단말 장치에 새로운 사용자 정보를 요청하도록 가이드하는 UI(User Interface)를 표시하도록 상기 디스플레이를 제어하는, 전자 장치.
According to claim 1,
Display; further comprising,
The processor is
and controlling the display to display a UI (User Interface) for guiding a request for new user information to the external terminal device when the server is not connected through the communication interface.
제1 사용자 식별 정보 및 상기 제1 사용자 식별 정보에 대응되는 제1 패스워드 정보를 저장하는 전자 장치의 제어 방법에 있어서,
상기 저장된 상기 제1 사용자 식별 정보 및 상기 제1 패스워드 정보에 기초하여 AP (Access Point) 장치를 통해 서버에 연결하는 단계;
상기 서버와 연결되지 않으면, 상기 전자 장치가 AP 모드로 동작하는 단계; 및
상기 전자 장치가 상기 AP 모드로 동작하는 동안 외부 단말 장치로부터 제2 패스워드 정보가 수신되면, 상기 제1 사용자 식별 정보 및 상기 제2 패스워드에 기초하여 상기 AP 장치를 통해 상기 서버에 연결하는 단계;를 포함하는, 제어 방법.
A method of controlling an electronic device for storing first user identification information and first password information corresponding to the first user identification information, the method comprising:
connecting to a server through an AP (Access Point) device based on the stored first user identification information and the first password information;
operating the electronic device in an AP mode if not connected to the server; and
When second password information is received from an external terminal device while the electronic device operates in the AP mode, connecting to the server through the AP device based on the first user identification information and the second password; comprising, a method of control.
제11항에 있어서,
상기 전자 장치는 공유키를 더 저장하며,
상기 전자 장치가 상기 AP 모드로 동작하는 동안 상기 외부 단말 장치로부터 공유키를 포함하는 정보가 수신되면, 상기 수신된 정보에 포함된 공유키 및 상기 저장된 공유키에 기초하여 상기 제2 패스워드 정보를 수신하기 위한 응답 정보를 상기 외부 단말 장치로 전송하는 단계;를 더 포함하는, 제어 방법.
12. The method of claim 11,
The electronic device further stores a shared key,
When information including a shared key is received from the external terminal device while the electronic device operates in the AP mode, the second password information is received based on the shared key included in the received information and the stored shared key Transmitting response information to the external terminal device; further comprising, the control method.
제12항에 있어서,
상기 응답 정보를 상기 외부 단말 장치로 전송하는 단계는,
상기 전자 장치가 상기 AP 모드로 동작하는 동안 상기 공유키를 포함하는 제1 프로브 요청 패킷이 수신되면, 상기 수신된 제1 프로브 요청 패킷에 포함된 상기 공유키와 상기 저장된 공유키가 일치하는 경우 공유키가 일치하는지 여부를 식별하고, 식별 결과에 기초하여 상기 응답 정보를 상기 외부 단말 장치로 전송하는, 제어 방법.
13. The method of claim 12,
Transmitting the response information to the external terminal device comprises:
When the first probe request packet including the shared key is received while the electronic device operates in the AP mode, the shared key included in the received first probe request packet matches the stored shared key. A control method for identifying whether keys match, and transmitting the response information to the external terminal device based on the identification result.
제13항에 있어서,
상기 제1 사용자 식별 정보 및 상기 제2 패스워드에 기초하여 상기 AP 장치를 통해 상기 서버에 연결하는 단계는,
상기 수신된 제1 프로브 요청 패킷에 포함된 상기 공유키와 상기 저장된 공유키가 일치하는 경우, 공유키가 일치함을 나타내는 정보를 포함하는 프로브 응답 패킷을 상기 외부 단말 장치에 전송하고,
상기 외부 단말 장치로부터 제2 패스워드 정보를 포함하는 제2 프로브 요청 패킷이 수신되면, 상기 제1 사용자 식별 정보 및 상기 제2 패스워드에 기초하여 상기 AP 장치를 통해 상기 서버에 연결하는, 제어 방법.
14. The method of claim 13,
The step of connecting to the server through the AP device based on the first user identification information and the second password comprises:
When the shared key included in the received first probe request packet matches the stored shared key, transmitting a probe response packet including information indicating that the shared key matches to the external terminal device;
When a second probe request packet including second password information is received from the external terminal device, the server is connected to the server through the AP device based on the first user identification information and the second password.
제12항에 있어서,
상기 제1 사용자 식별 정보 및 상기 제1 패스워드 정보는 상기 외부 단말 장치로부터 수신된 정보이며,
상기 저장된 상기 공유키는,
상기 제1 사용자 식별 정보 및 상기 제1 패스워드 정보와 함께 상기 외부 단말 장치로부터 수신된 정보인, 제어 방법.
13. The method of claim 12,
The first user identification information and the first password information are information received from the external terminal device,
The stored shared key is,
information received from the external terminal device together with the first user identification information and the first password information.
제11항에 있어서,
상기 제1 사용자 식별 정보 및 상기 제1 패스워드 정보에 기초하여 상기 AP 장치를 통해 서버에 연결하는 단계는,
상기 제1 사용자 식별 정보 및 상기 제1 패스워드 정보와 함께 AP 장치의 식별 정보를 수신하며, 상기 수신된 AP 장치의 식별 정보에 대응되는 AP 장치를 통해 상기 서버에 연결하는, 제어 방법.
12. The method of claim 11,
The step of connecting to a server through the AP device based on the first user identification information and the first password information includes:
receiving identification information of the AP device together with the first user identification information and the first password information, and connecting to the server through the AP device corresponding to the received identification information of the AP device.
제11항에 있어서,
상기 제2 패스워드 정보가 수신되면, 상기 저장된 상기 제1 패스워드를 상기 제2 패스워드로 업데이트하는 단계;를 더 포함하는, 제어 방법.
12. The method of claim 11,
When the second password information is received, updating the stored first password to the second password; further comprising a control method.
제11항에 있어서,
상기 전자 장치가 상기 AP 모드로 동작하는 동안 상기 AP 장치와 연결이 해제되는 단계; 및
와이파이 신호를 브로드캐스팅하는 단계;를 더 포함하는, 제어 방법.
12. The method of claim 11,
disconnecting from the AP device while the electronic device operates in the AP mode; and
Broadcasting the Wi-Fi signal; further comprising, a control method.
제11항에 있어서,
상기 외부 단말 장치로부터 상기 서버와 연결 여부에 대한 정보를 요청하는 프로브 요청 패킷이 수신되면, 상기 서버와 연결 여부에 대한 정보를 포함하는 프로브 응답 패킷을 상기 외부 단말 장치로 전송하는 단계;를 더 포함하는, 제어 방법.
12. The method of claim 11,
When a probe request packet for requesting information on whether to connect to the server is received from the external terminal device, transmitting a probe response packet including information on whether to connect to the server to the external terminal device; further comprising to do, control method.
제11항에 있어서,
상기 서버와 연결되지 않으면, 상기 외부 단말 장치에 새로운 사용자 정보를 요청하도록 가이드하는 UI(User Interface)를 표시하는 단계;를 더 포함하는, 제어 방법.
12. The method of claim 11,
Displaying a UI (User Interface) for guiding a request for new user information to the external terminal device when not connected to the server; further comprising a control method.
KR1020200094759A 2020-07-29 2020-07-29 Electronic apparatus and controlling method thereof KR20220014745A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR1020200094759A KR20220014745A (en) 2020-07-29 2020-07-29 Electronic apparatus and controlling method thereof
PCT/KR2021/007863 WO2022025436A1 (en) 2020-07-29 2021-06-23 Electronic device and control method therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020200094759A KR20220014745A (en) 2020-07-29 2020-07-29 Electronic apparatus and controlling method thereof

Publications (1)

Publication Number Publication Date
KR20220014745A true KR20220014745A (en) 2022-02-07

Family

ID=80035635

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020200094759A KR20220014745A (en) 2020-07-29 2020-07-29 Electronic apparatus and controlling method thereof

Country Status (2)

Country Link
KR (1) KR20220014745A (en)
WO (1) WO2022025436A1 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10064062B2 (en) * 2016-06-07 2018-08-28 Sears Brands, L.L.C. System and method for automatically and securely registering an internet of things device
KR101747927B1 (en) * 2016-10-06 2017-06-16 주식회사 엔비레즈 System for registrating additional user for device
KR102314690B1 (en) * 2017-04-11 2021-10-20 삼성전자주식회사 Device And Communication Connection Method Thereof
KR20190130206A (en) * 2018-04-23 2019-11-22 (주)아이씨엔캐스트 SECURITY ENHANCED THIRD PARTY'S SECURITY AUTHENTICATION SYSTEM OF IoT DEVICES IN CASE OF LOST AND METHOD THEREOF
KR20190134922A (en) * 2018-05-15 2019-12-05 삼성전자주식회사 A method and a electronic device connecting a plurality of electronic devices to a server through a hub

Also Published As

Publication number Publication date
WO2022025436A1 (en) 2022-02-03

Similar Documents

Publication Publication Date Title
US11588655B2 (en) Home appliance, network connection system for home appliance and network connection method of home appliance
US20150095933A1 (en) Device Pairing
US20150358792A1 (en) Wireless communication system, pairing apparatus, method for pairing plural devices and program for causing computer to implement that method
KR20190099586A (en) Electronic apparatus, controlling method of electronic apparatus and server
US9503439B2 (en) Communication system and communication method
KR20200112299A (en) Method for setting of a device based on information associated with account and electronic device thereof
US10523763B2 (en) Communication device, communication method, controlled device, and non-transitory computer readable medium
US20140071225A1 (en) Transmission system, relay apparatus and transmission terminal
KR20130001751A (en) Wireless communication apparatus and control method thereof
KR20160048528A (en) Closed caption-supported content receiving apparatus and display apparatus, system having the same and closed caption-providing method thereof
US20170041469A1 (en) Management system, computer program product, and management method
US20170149981A1 (en) Manipulation system, communication terminal, communication system, method for manipulation, and recording medium
EP3208991B1 (en) Network security for internet of things
US10250692B2 (en) Voice user interface for pairing between devices
US10305905B2 (en) Access control device, communication system, program, and method for controlling access
WO2014143761A2 (en) Systems and methods for configuration of wireless camera
US10834595B2 (en) Service providing apparatus configured to control communication mode between communication terminals, service communicating system, service providing method and recording medium configured to perform same
US20160105490A1 (en) Communications management system and communications management method
KR20190086295A (en) User terminal device, electronic device, system comprising the same and control method thereof
KR20220014745A (en) Electronic apparatus and controlling method thereof
KR20210060111A (en) Electronic device and control method thereof
US9258436B2 (en) Method of easily configuring a network camera
CN103647786A (en) Television and method and remote storage device log-in method and device thereof
KR101735714B1 (en) Remote control apparatus having integrated remote control program and method for remote control
KR102615155B1 (en) Electronic device and controlling method of electronic device