KR102531331B1 - Electronic apparatus and method for registering ownership - Google Patents

Electronic apparatus and method for registering ownership Download PDF

Info

Publication number
KR102531331B1
KR102531331B1 KR1020180081848A KR20180081848A KR102531331B1 KR 102531331 B1 KR102531331 B1 KR 102531331B1 KR 1020180081848 A KR1020180081848 A KR 1020180081848A KR 20180081848 A KR20180081848 A KR 20180081848A KR 102531331 B1 KR102531331 B1 KR 102531331B1
Authority
KR
South Korea
Prior art keywords
electronic device
external electronic
registration
information
registration request
Prior art date
Application number
KR1020180081848A
Other languages
Korean (ko)
Other versions
KR20200007575A (en
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 KR1020180081848A priority Critical patent/KR102531331B1/en
Priority to PCT/KR2019/008587 priority patent/WO2020013639A1/en
Priority to US17/258,507 priority patent/US11523363B2/en
Publication of KR20200007575A publication Critical patent/KR20200007575A/en
Application granted granted Critical
Publication of KR102531331B1 publication Critical patent/KR102531331B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W60/00Affiliation to network, e.g. registration; Terminating affiliation with the network, e.g. de-registration
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/018Certifying business or products
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/88Detecting or preventing theft or loss
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/20Administration of product repair or maintenance

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Resources & Organizations (AREA)
  • Economics (AREA)
  • Strategic Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • General Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • Accounting & Taxation (AREA)
  • Telephone Function (AREA)
  • Telephonic Communication Services (AREA)

Abstract

다양한 실시예에 따르면, 전자 장치는, 제1 외부 전자 장치 또는 제2 외부 전자 장치와 통신을 제공하도록 구성된 적어도 하나의 통신 회로, 상기 적어도 하나의 통신 회로에 작동적으로(operatively) 연결된 적어도 하나의 프로세서 및 장치 등록 요청 정보를 포함하고, 상기 적어도 하나의 프로세서에 작동적으로 연결된 메모리를 포함하고, 상기 메모리는, 실행될 때, 상기 적어도 하나의 프로세서가, 상기 적어도 하나의 통신 회로를 통하여, 상기 제1 외부 전자 장치와 제1 통신이 연결되면, 상기 전자 장치를 상기 제2 외부 전자 장치에 등록하기 위한 상기 장치 등록 요청 정보를 적어도 포함하는 장치 등록 요청을 상기 제1 외부 전자 장치에 전달하고, 상기 제1 외부 전자 장치로부터 상기 장치 등록 요청에 대한 응답을 수신하고, 상기 응답에 기반하여, 상기 적어도 하나의 통신 회로를 통하여, 상기 제2 외부 전자 장치와 제2 통신이 연결되면, 상기 전자 장치의 등록 요청에 기반하여 업데이트되는 장치 등록 갱신 정보를 상기 제2 외부 전자 장치로부터 수신하고, 및 상기 수신된 장치 등록 갱신 정보를 상기 메모리에 저장하도록 설정된 인스트럭션들을 저장할 수 있다. 또한 다른 실시예들이 가능하다.According to various embodiments, an electronic device includes at least one communication circuit configured to provide communication with a first external electronic device or a second external electronic device, and at least one communication circuit operatively connected to the at least one communication circuit. a memory comprising a processor and device registration request information and operatively coupled to the at least one processor, wherein the memory, when executed, causes, via the at least one communication circuitry, the at least one processor to: 1 when first communication is established with an external electronic device, a device registration request including at least the device registration request information for registering the electronic device with the second external electronic device is transmitted to the first external electronic device; When a response to the device registration request is received from a first external electronic device and second communication is connected with the second external electronic device through the at least one communication circuit based on the response, the electronic device Instructions configured to receive device registration update information updated based on a registration request from the second external electronic device and store the received device registration update information in the memory may be stored. Other embodiments are also possible.

Description

소유권을 등록하는 전자 장치 및 방법{ELECTRONIC APPARATUS AND METHOD FOR REGISTERING OWNERSHIP}Electronic device and method for registering ownership {ELECTRONIC APPARATUS AND METHOD FOR REGISTERING OWNERSHIP}

다양한 실시예들은 소유권을 등록하는 전자 장치 및 방법에 관한 것이다.Various embodiments relate to electronic devices and methods for registering ownership.

무선 통신 기술의 발달에 따라, 다양한 전자 장치들은 원격 서버와의 연동을 통해 기능을 수행할 수 있다. With the development of wireless communication technology, various electronic devices may perform functions through interworking with a remote server.

예를 들어, 최근 확산되고 있는 사물 인터넷(internet of things: IoT) 장치(예를 들어, 세탁기, 냉장고, 에어컨, 보일러, 로봇 청소기, TV, 무인 카메라, 계량기, 또는 라우터)를 원격으로 제어하는 것이 이에 해당되며, 원격 서버를 거쳐서 간접적으로 제어하는 것을 통해 사용자가 물리적 위치에 구애 받지 않고 언제 어디서나 장치를 제어할 수 있다.For example, remotely controlling Internet of things (IoT) devices (e.g., washing machines, refrigerators, air conditioners, boilers, robot vacuum cleaners, TVs, unmanned cameras, meters, or routers), which have recently become widespread, This corresponds to this, and through indirect control through a remote server, the user can control the device anytime, anywhere, regardless of physical location.

이와 같이 원격 서버를 통해 IoT 장치를 제어하기 위해서는 먼저 사용자가 IoT 장치의 소유권을 원격 서버에 등록하는 과정이 필요하다.In this way, in order to control the IoT device through the remote server, the user needs to first register the ownership of the IoT device in the remote server.

일반적으로, IoT 장치의 제조사에서는 IoT 장치의 등록을 위해 모바일 앱 또는 홈페이지를 제공할 수 있고, IoT 장치를 구입한 사용자는 모바일 앱 또는 홈페이지를 통해 IoT 장치의 소유권을 원격 서버에 등록하여 IoT 장치의 다양한 기능을 원격으로 제어할 수 있다.In general, a manufacturer of an IoT device may provide a mobile app or homepage for registration of the IoT device, and a user who purchases an IoT device registers ownership of the IoT device to a remote server through the mobile app or homepage to register the IoT device. Various functions can be controlled remotely.

사용자가 IoT 장치의 소유권을 등록하기 위해서는 사용자의 사용자 식별 정보를 이용하여 사용자를 인증하는 과정과 IoT 장치의 장치 식별 정보(예: 시리얼 번호 또는 해시코드)를 원격 서버에 전달하고, 이를 확인하여 등록하는 과정이 필요하다. 일반적으로, 사용자가 장치 식별 정보를 원격 서버에 전달하는 방법으로는, 사용자의 직접 입력 또는 근거리 무선 통신을 활용한 자동 입력이 이용될 수 있다. 그런데, 장치 식별 정보는 소유자 이외의 다른 사용자에게 노출되거나, 해킹에 의한 보안성에 취약할 수 있고, 이에 의해 다른 사용자가 장치의 소유권을 등록할 수 있는 문제가 발생할 수 있다.In order for a user to register ownership of an IoT device, the process of authenticating the user using the user's user identification information and the device identification information (e.g., serial number or hash code) of the IoT device are transmitted to the remote server, confirmed, and registered. process is needed. In general, as a method for the user to transfer device identification information to a remote server, a user's direct input or automatic input using short-range wireless communication may be used. However, the device identification information may be exposed to users other than the owner or may be vulnerable to security due to hacking, which may cause another user to register ownership of the device.

또한, IoT 장치를 다른 사용자에게 양도한 경우 소유권 이전 과정이 필요하다. 일반적으로, IoT 장치의 소유권 이전 방법으로는, 원 소유자가 장치의 소유권 등록을 해제한 이후, 양도받은 소유자가 IoT 장치를 재 등록할 수 있다. 그런데, 원 소유자가 소유권 등록을 해제하지 않은 경우, 양도받은 소유자는 이를 해결하기 위해 제조사의 CS(customer satisfaction) 센터를 통해 장치의 실 소유자임을 증명하여 이전 소유권의 해제를 요청해야만 하는 불편한 상황이 발생할 수 있다.In addition, when an IoT device is transferred to another user, an ownership transfer process is required. In general, as a method of transferring ownership of an IoT device, after the original owner cancels registration of ownership of the device, the transferred owner may re-register the IoT device. However, if the original owner does not cancel the ownership registration, the transferred owner must prove that he is the actual owner of the device through the manufacturer's CS (customer satisfaction) center to request release of the previous ownership. can

다양한 실시예에 따르면, 전자 장치의 소유권을 원격 서버에 등록하기 위한 정보를 전자 장치와 원격 서버 간에 최신성을 유지하여 안전하게 공유함으로써, 사용자가 전자 장치의 소유권을 편리하고 안전하게 등록할 수는 방법이 제공될 수 있다.According to various embodiments, a method for a user to conveniently and safely register ownership of an electronic device is provided by keeping information for registering ownership of the electronic device in a remote server up to date and safely sharing it between the electronic device and the remote server. can be provided.

다양한 실시예에 따르면, 전자 장치를 다른 사용자에게 양도한 경우, 이전 사용자가 장치 등록을 해제하지 않더라도 전자 장치의 소유권을 편리하고 안전하게 재 등록할 수 있는 방법이 제공될 수 있다.According to various embodiments, when an electronic device is transferred to another user, a method for conveniently and safely re-registering ownership of the electronic device may be provided even if the previous user does not cancel the device registration.

다양한 실시예에 따르면, 전자 장치와 원격 서버 간의 통신 네트워크 연결이 제공되지 않는 환경에서도 전자 장치의 소유권을 등록할 수 있는 소유권을 등록할 수 있는 방법이 제공될 수 있다.According to various embodiments, a method for registering ownership of an electronic device may be provided even in an environment in which a communication network connection between the electronic device and a remote server is not provided.

다양한 실시예에 따르면, 전자 장치는, 제1 외부 전자 장치 또는 제2 외부 전자 장치와 통신을 제공하도록 구성된 적어도 하나의 통신 회로, 상기 적어도 하나의 통신 회로에 작동적으로(operatively) 연결된 적어도 하나의 프로세서 및 장치 등록 요청 정보를 포함하고, 상기 적어도 하나의 프로세서에 작동적으로 연결된 메모리를 포함하고, 상기 메모리는, 실행될 때, 상기 적어도 하나의 프로세서가, 상기 적어도 하나의 통신 회로를 통하여, 상기 제1 외부 전자 장치와 제1 통신이 연결되면, 상기 전자 장치를 상기 제2 외부 전자 장치에 등록하기 위한 상기 장치 등록 요청 정보를 적어도 포함하는 장치 등록 요청을 상기 제1 외부 전자 장치에 전달하고, 상기 제1 외부 전자 장치로부터 상기 장치 등록 요청에 대한 응답을 수신하고, 상기 응답에 기반하여, 상기 적어도 하나의 통신 회로를 통하여, 상기 제2 외부 전자 장치와 제2 통신이 연결되면, 상기 전자 장치의 등록 요청에 기반하여 업데이트되는 장치 등록 갱신 정보를 상기 제2 외부 전자 장치로부터 수신하고, 및 상기 수신된 장치 등록 갱신 정보를 상기 메모리에 저장하도록 설정된 인스트럭션들을 저장할 수 있다.According to various embodiments, an electronic device includes at least one communication circuit configured to provide communication with a first external electronic device or a second external electronic device, and at least one communication circuit operatively connected to the at least one communication circuit. a memory comprising a processor and device registration request information and operatively coupled to the at least one processor, wherein the memory, when executed, causes, via the at least one communication circuitry, the at least one processor to: 1 when first communication is established with an external electronic device, a device registration request including at least the device registration request information for registering the electronic device with the second external electronic device is transmitted to the first external electronic device; When a response to the device registration request is received from a first external electronic device and second communication is connected with the second external electronic device through the at least one communication circuit based on the response, the electronic device Instructions configured to receive device registration update information updated based on a registration request from the second external electronic device and store the received device registration update information in the memory may be stored.

다양한 실시예에 따르면, 전자 장치는, 제1 외부 전자 장치 또는 제2 외부 전자 장치와 통신을 제공하도록 구성된 적어도 하나의 통신 회로, 상기 적어도 하나의 통신 회로에 작동적으로(operatively) 연결된 적어도 하나의 프로세서 및 상기 적어도 하나의 프로세서에 작동적으로 연결된 메모리를 포함하고, 상기 메모리는, 실행될 때, 상기 적어도 하나의 프로세서가, 상기 적어도 하나의 통신 회로를 통하여, 상기 제1 외부 전자 장치로부터 상기 제2 외부 전자 장치의 식별을 위한 장치 식별 정보 및 상기 제2 외부 전자 장치의 장치 등록을 위한 장치 등록 요청 정보를 적어도 포함하는 장치 등록 요청을 수신하고, 상기 장치 등록 요청에 기반하여, 상기 메모리에 저장된 상기 제2 외부 전자 장치의 장치 등록을 인증하기 위한 장치 등록 인증 정보를 확인하고, 상기 확인된 장치 등록 인증 정보 및 상기 장치 등록 요청에 포함된 상기 장치 등록 요청 정보에 기반하여, 상기 제2 외부 전자 장치의 장치 등록을 수행하고, 상기 제2 외부 전자 장치의 장치 등록 결과를 상기 제1 외부 전자 장치로 전송하고, 및 상기 적어도 하나의 통신 회로를 통하여, 상기 제2 외부 전자 장치가 연결되면, 상기 제2 외부 전자 장치의 등록 요청에 기반하여 업데이트되는 장치 등록 갱신 정보를 상기 제2 외부 전자 장치에 전송하도록 설정된 인스트럭션들을 저장할 수 있다.According to various embodiments, an electronic device includes at least one communication circuit configured to provide communication with a first external electronic device or a second external electronic device, and at least one communication circuit operatively connected to the at least one communication circuit. a processor and a memory operably coupled to the at least one processor, wherein the memory, when executed, causes the at least one processor to, via the at least one communication circuit, from the first external electronic device to the second electronic device; Receiving a device registration request including at least device identification information for identification of an external electronic device and device registration request information for device registration of the second external electronic device, and based on the device registration request, the device registration request stored in the memory. Device registration authentication information for authenticating device registration of a second external electronic device is checked, and based on the checked device registration authentication information and the device registration request information included in the device registration request, the second external electronic device performs device registration of the second external electronic device, transmits a device registration result of the second external electronic device to the first external electronic device, and when the second external electronic device is connected through the at least one communication circuit, the first external electronic device 2 Store instructions configured to transmit device registration update information updated based on a registration request of the external electronic device to the second external electronic device.

다양한 실시예에 따르면, 인스트럭션들을 비일시적으로 저장하고 있는 저장 매체에 있어서, 상기 인스트럭션들은 적어도 하나의 회로에 의해서 실행될 때에 상기 적어도 하나의 회로로 하여금 적어도 하나의 동작을 수행하도록 설정된 것으로, 상기 적어도 하나의 동작은, 전자 장치가 제1 외부 전자 장치와 제1 통신이 연결되면, 상기 전자 장치를 제2 외부 전자 장치에 등록하기 위한 장치 등록 요청 정보를 적어도 포함하는 장치 등록 요청을 상기 제1 외부 전자 장치에 전달하는 동작, 상기 제1 외부 전자 장치로부터 상기 장치 등록 요청에 대한 응답을 수신하는 동작, 상기 응답에 기반하여, 상기 제2 외부 전자 장치와 제2 통신이 연결되면, 상기 전자 장치의 등록 요청에 기반하여 업데이트되는 장치 등록 갱신 정보를 상기 제2 외부 전자 장치로부터 수신하는 동작, 및 상기 수신된 장치 등록 갱신 정보를 상기 메모리에 저장하는 동작을 포함할 수 있다.According to various embodiments, in a storage medium for non-temporarily storing instructions, the instructions are configured to cause the at least one circuit to perform at least one operation when executed by the at least one circuit, and the at least one When the electronic device first communicates with the first external electronic device, a device registration request including at least device registration request information for registering the electronic device with the second external electronic device is transmitted to the first external electronic device. Transmitting to the device, receiving a response to the device registration request from the first external electronic device, and registering the electronic device when second communication is established with the second external electronic device based on the response The method may include receiving device registration update information updated based on a request from the second external electronic device, and storing the received device registration update information in the memory.

다양한 실시예들에 따르면, 전자 장치의 소유권을 원격 서버에 등록하기 위한 정보를 전자 장치와 원격 서버 간에 최신성을 유지하여 안전하게 공유할 수 있는 소유권을 등록하는 전자 장치 및 방법을 제공함으로써, 사용자가 전자 장치의 소유권을 편리하고 안전하게 등록할 수 있다.According to various embodiments, by providing an electronic device and method for registering ownership, which can safely share information for registering ownership of an electronic device with a remote server by maintaining up-to-date information between the electronic device and the remote server, Ownership of electronic devices can be conveniently and safely registered.

다양한 실시예들에 따르면, 전자 장치를 다른 사용자에게 양도한 경우, 이전 사용자가 장치 등록을 해제하지 않더라도 전자 장치의 소유권을 편리하고 안전하게 재 등록할 수 있다.According to various embodiments, when an electronic device is transferred to another user, ownership of the electronic device can be conveniently and safely re-registered even if the previous user does not cancel the device registration.

다양한 실시예들에 따르면, 전자 장치와 원격 서버 간의 통신 네트워크 연결이 제공되지 않는 환경에서도 전자 장치의 소유권을 등록할 수 있다.According to various embodiments, ownership of an electronic device may be registered even in an environment in which a communication network connection between the electronic device and a remote server is not provided.

도 1은 다양한 실시예들에 따른 네트워크 환경 내의 전자 장치의 블럭도이다.
도 2는 다양한 실시예들에 따른 전자 장치의 장치 등록을 위한 시스템을 나타내는 블록도이다.
도 3은 다양한 실시예들에 따른 전자 장치가 전자 장치의 장치 등록을 요청하는 동작을 설명하기 위한 흐름도이다.
도 4는 다양한 실시예들에 따른 서버 장치가 전자 장치의 장치 등록을 수행하는 동작을 설명하기 위한 흐름도이다.
도 5는 다양한 실시예들에 따른 전자 장치, 제1 외부 전자 장치 및 제2 외부 전자 장치가 전자 장치의 장치 등록을 수행하는 동작을 설명하기 위한 흐름도이다.
도 6은 다양한 실시예들에 따른 전자 장치, 제1 외부 전자 장치 및 제2 외부 전자 장치가 전자 장치의 장치 초기화 후 장치 등록을 수행하는 동작을 설명하기 위한 흐름도이다.
도 7은 다양한 실시예들에 따른 전자 장치, 제1 외부 전자 장치 및 제2 외부 전자 장치가 전자 장치의 장치 등록 후 동기화되지 않은 상태에서 다른 사용자에 의해 장치 초기화 후 장치 등록을 수행하는 동작을 설명하기 위한 흐름도이다.
도 8은 다양한 실시예들에 따른 전자 장치 및 제2 외부 전자 장치가 전자 장치의 장치 초기화에 따라 장치 등록을 해제하는 동작을 설명하기 위한 흐름도이다.
도 9는 다양한 실시예들에 따른 전자 장치에서 수행되는 동작을 설명하기 위한 흐름도이다.
도 10은 다양한 실시예들에 따른 서버 장치에서 수행되는 동작을 설명하기 위한 흐름도이다.
도 11은 다양한 실시예들에 따른 외부 전자 장치에서 수행되는 동작을 설명하기 위한 흐름도이다.
도 12는 다양한 실시예들에 따른 외부 전자 장치에서 전자 장치의 장치 등록을 수행하기 위한 사용자 인터페이스를 예시한 도면이다.
1 is a block diagram of an electronic device in a network environment according to various embodiments.
2 is a block diagram illustrating a system for device registration of an electronic device according to various embodiments.
3 is a flowchart illustrating an operation of requesting device registration of an electronic device by an electronic device according to various embodiments.
4 is a flowchart illustrating an operation of performing device registration of an electronic device by a server device according to various embodiments of the present disclosure;
5 is a flowchart illustrating an operation of performing device registration of an electronic device by an electronic device, a first external electronic device, and a second external electronic device according to various embodiments of the present disclosure;
6 is a flowchart illustrating an operation of performing device registration after device initialization of an electronic device by an electronic device, a first external electronic device, and a second external electronic device according to various embodiments of the present disclosure.
7 illustrates an operation of performing device registration after device initialization by another user in a state in which an electronic device, a first external electronic device, and a second external electronic device are not synchronized after device registration of the electronic device according to various embodiments. It is a flow chart for
8 is a flowchart illustrating an operation of canceling device registration according to device initialization of an electronic device and a second external electronic device according to various embodiments of the present disclosure;
9 is a flowchart illustrating an operation performed in an electronic device according to various embodiments.
10 is a flowchart illustrating an operation performed in a server device according to various embodiments.
11 is a flowchart illustrating an operation performed in an external electronic device according to various embodiments.
12 is a diagram illustrating a user interface for performing device registration of an electronic device in an external electronic device according to various embodiments.

도 1은, 다양한 실시예들에 따른, 네트워크 환경(100) 내의 전자 장치(101)의 블럭도이다. 도 1을 참조하면, 네트워크 환경(100)에서 전자 장치(101)는 제 1 네트워크(198)(예: 근거리 무선 통신 네트워크)를 통하여 전자 장치(102)와 통신하거나, 또는 제 2 네트워크(199)(예: 원거리 무선 통신 네트워크)를 통하여 전자 장치(104) 또는 서버(108)와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 서버(108)를 통하여 전자 장치(104)와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 프로세서(120), 메모리(130), 입력 장치(150), 음향 출력 장치(155), 표시 장치(160), 오디오 모듈(170), 센서 모듈(176), 인터페이스(177), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 포함할 수 있다. 어떤 실시예에서는, 전자 장치(101)에는, 이 구성요소들 중 적어도 하나(예: 표시 장치(160) 또는 카메라 모듈(180))가 생략되거나, 하나 이상의 다른 구성 요소가 추가될 수 있다. 어떤 실시예에서는, 이 구성요소들 중 일부들은 하나의 통합된 회로로 구현될 수 있다. 예를 들면, 센서 모듈(176)(예: 지문 센서, 홍채 센서, 또는 조도 센서)은 표시 장치(160)(예: 디스플레이)에 임베디드된 채 구현될 수 있다.1 is a block diagram of an electronic device 101 within a network environment 100, according to various embodiments. Referring to FIG. 1 , in a network environment 100, an electronic device 101 communicates with an electronic device 102 through a first network 198 (eg, a short-range wireless communication network) or through a second network 199. It is possible to communicate with the electronic device 104 or the server 108 through (eg, a long-distance wireless communication network). According to one embodiment, the electronic device 101 may communicate with the electronic device 104 through the server 108 . According to an embodiment, the electronic device 101 includes a processor 120, a memory 130, an input device 150, an audio output device 155, a display device 160, an audio module 170, a sensor module ( 176), interface 177, haptic module 179, camera module 180, power management module 188, battery 189, communication module 190, subscriber identification module 196, or antenna module 197 ) may be included. In some embodiments, in the electronic device 101, at least one of these components (eg, the display device 160 or the camera module 180) may be omitted or one or more other components may be added. In some embodiments, some of these components may be implemented as a single integrated circuit. For example, the sensor module 176 (eg, a fingerprint sensor, an iris sensor, or an illumination sensor) may be implemented while being embedded in the display device 160 (eg, a display).

프로세서(120)는, 예를 들면, 소프트웨어(예: 프로그램(140))를 실행하여 프로세서(120)에 연결된 전자 장치(101)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)을 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일실시예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(120)는 다른 구성요소(예: 센서 모듈(176) 또는 통신 모듈(190))로부터 수신된 명령 또는 데이터를 휘발성 메모리(132)에 로드하고, 휘발성 메모리(132)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(134)에 저장할 수 있다. 일실시예에 따르면, 프로세서(120)는 메인 프로세서(121)(예: 중앙 처리 장치 또는 어플리케이션 프로세서), 및 이와는 독립적으로 또는 함께 운영 가능한 보조 프로세서(123)(예: 그래픽 처리 장치, 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서)를 포함할 수 있다. 추가적으로 또는 대체적으로, 보조 프로세서(123)은 메인 프로세서(121)보다 저전력을 사용하거나, 또는 지정된 기능에 특화되도록 설정될 수 있다. 보조 프로세서(123)는 메인 프로세서(121)와 별개로, 또는 그 일부로서 구현될 수 있다.The processor 120, for example, executes software (eg, the program 140) to cause at least one other component (eg, hardware or software component) of the electronic device 101 connected to the processor 120. It can control and perform various data processing or calculations. According to one embodiment, as at least part of data processing or operation, the processor 120 transfers instructions or data received from other components (e.g., sensor module 176 or communication module 190) to volatile memory 132. , process commands or data stored in the volatile memory 132 , and store resultant data in the non-volatile memory 134 . According to one embodiment, the processor 120 includes a main processor 121 (eg, a central processing unit or an application processor), and a secondary processor 123 (eg, a graphics processing unit, an image signal processor) that may operate independently of or in conjunction therewith. , sensor hub processor, or communication processor). Additionally or alternatively, the secondary processor 123 may be configured to use less power than the main processor 121 or to be specialized for a designated function. The secondary processor 123 may be implemented separately from or as part of the main processor 121 .

보조 프로세서(123)는, 예를 들면, 메인 프로세서(121)가 인액티브(예: 슬립) 상태에 있는 동안 메인 프로세서(121)를 대신하여, 또는 메인 프로세서(121)가 액티브(예: 어플리케이션 실행) 상태에 있는 동안 메인 프로세서(121)와 함께, 전자 장치(101)의 구성요소들 중 적어도 하나의 구성요소(예: 표시 장치(160), 센서 모듈(176), 또는 통신 모듈(190))와 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성 요소(예: 카메라 모듈(180) 또는 통신 모듈(190))의 일부로서 구현될 수 있다.The secondary processor 123 may, for example, take the place of the main processor 121 while the main processor 121 is in an inactive (eg, sleep) state, or the main processor 121 is active (eg, running an application). ) state, together with the main processor 121, at least one of the components of the electronic device 101 (eg, the display device 160, the sensor module 176, or the communication module 190) It is possible to control at least some of the related functions or states. According to one embodiment, the auxiliary processor 123 (eg, image signal processor or communication processor) may be implemented as part of other functionally related components (eg, camera module 180 or communication module 190). there is.

메모리(130)는, 전자 장치(101)의 적어도 하나의 구성요소(예: 프로세서(120) 또는 센서모듈(176))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(140)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(130)는, 휘발성 메모리(132) 또는 비휘발성 메모리(134)를 포함할 수 있다.The memory 130 may store various data used by at least one component (eg, the processor 120 or the sensor module 176) of the electronic device 101 . The data may include, for example, input data or output data for software (eg, program 140) and commands related thereto. The memory 130 may include volatile memory 132 or non-volatile memory 134 .

프로그램(140)은 메모리(130)에 소프트웨어로서 저장될 수 있으며, 예를 들면, 운영 체제(142), 미들 웨어(144) 또는 어플리케이션(146)을 포함할 수 있다.The program 140 may be stored as software in the memory 130 and may include, for example, an operating system 142 , middleware 144 , or an application 146 .

입력 장치(150)는, 전자 장치(101)의 구성요소(예: 프로세서(120))에 사용될 명령 또는 데이터를 전자 장치(101)의 외부(예: 사용자)로부터 수신할 수 있다. 입력 장치(150)은, 예를 들면, 마이크, 마우스, 또는 키보드를 포함할 수 있다.The input device 150 may receive a command or data to be used for a component (eg, the processor 120) of the electronic device 101 from an outside of the electronic device 101 (eg, a user). The input device 150 may include, for example, a microphone, mouse, or keyboard.

음향 출력 장치(155)는 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 장치(155)는, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있고, 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일실시예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.The sound output device 155 may output sound signals to the outside of the electronic device 101 . The audio output device 155 may include, for example, a speaker or a receiver. The speaker can be used for general purposes, such as multimedia playback or recording playback, and the receiver can be used to receive an incoming call. According to one embodiment, the receiver may be implemented separately from the speaker or as part of it.

표시 장치(160)는 전자 장치(101)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 표시 장치(160)은, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일실시예에 따르면, 표시 장치(160)는 터치를 감지하도록 설정된 터치 회로(touch circuitry), 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 센서 회로(예: 압력 센서)를 포함할 수 있다.The display device 160 may visually provide information to the outside of the electronic device 101 (eg, a user). The display device 160 may include, for example, a display, a hologram device, or a projector and a control circuit for controlling the device. According to an embodiment, the display device 160 may include a touch circuitry set to detect a touch or a sensor circuit (eg, a pressure sensor) set to measure the intensity of force generated by the touch. there is.

오디오 모듈(170)은 소리를 전기 신호로 변환시키거나, 반대로 전기 신호를 소리로 변환시킬 수 있다. 일실시예에 따르면, 오디오 모듈(170)은, 입력 장치(150)를 통해 소리를 획득하거나, 음향 출력 장치(155), 또는 전자 장치(101)와 직접 또는 무선으로 연결된 외부 전자 장치(예: 전자 장치(102)) (예: 스피커 또는 헤드폰))를 통해 소리를 출력할 수 있다.The audio module 170 may convert sound into an electrical signal or vice versa. According to one embodiment, the audio module 170 acquires sound through the input device 150, the sound output device 155, or an external electronic device connected directly or wirelessly to the electronic device 101 (eg: Sound may be output through the electronic device 102 (eg, a speaker or a headphone).

센서 모듈(176)은 전자 장치(101)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일실시예에 따르면, 센서 모듈(176)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다.The sensor module 176 detects an operating state (eg, power or temperature) of the electronic device 101 or an external environmental state (eg, a user state), and generates an electrical signal or data value corresponding to the detected state. can do. According to one embodiment, the sensor module 176 may include, for example, a gesture sensor, a gyro sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a bio sensor, It may include a temperature sensor, humidity sensor, or light sensor.

인터페이스(177)는 전자 장치(101)이 외부 전자 장치(예: 전자 장치(102))와 직접 또는 무선으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜들을 지원할 수 있다. 일실시예에 따르면, 인터페이스(177)는, 예를 들면, HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다.The interface 177 may support one or more designated protocols that may be used to directly or wirelessly connect the electronic device 101 to an external electronic device (eg, the electronic device 102). According to one embodiment, the interface 177 may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.

연결 단자(178)는, 그를 통해서 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 물리적으로 연결될 수 있는 커넥터를 포함할 수 있다. 일실시예에 따르면, 연결 단자(178)은, 예를 들면, HDMI 커넥터, USB 커넥터, SD 카드 커넥터, 또는 오디오 커넥터(예: 헤드폰 커넥터)를 포함할 수 있다.The connection terminal 178 may include a connector through which the electronic device 101 may be physically connected to an external electronic device (eg, the electronic device 102). According to one embodiment, the connection terminal 178 may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (eg, a headphone connector).

햅틱 모듈(179)은 전기적 신호를 사용자가 촉각 또는 운동 감각을 통해서 인지할 수 있는 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 일실시예에 따르면, 햅틱 모듈(179)은, 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다.The haptic module 179 may convert electrical signals into mechanical stimuli (eg, vibration or motion) or electrical stimuli that a user may perceive through tactile or kinesthetic senses. According to one embodiment, the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.

카메라 모듈(180)은 정지 영상 및 동영상을 촬영할 수 있다. 일실시예에 따르면, 카메라 모듈(180)은 하나 이상의 렌즈들, 이미지 센서들, 이미지 시그널 프로세서들, 또는 플래시들을 포함할 수 있다.The camera module 180 may capture still images and moving images. According to one embodiment, the camera module 180 may include one or more lenses, image sensors, image signal processors, or flashes.

전력 관리 모듈(188)은 전자 장치(101)에 공급되는 전력을 관리할 수 있다. 일실시예에 따르면, 전력 관리 모듈(388)은, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구현될 수 있다.The power management module 188 may manage power supplied to the electronic device 101 . According to one embodiment, the power management module 388 may be implemented as at least part of a power management integrated circuit (PMIC), for example.

배터리(189)는 전자 장치(101)의 적어도 하나의 구성 요소에 전력을 공급할 수 있다. 일실시예에 따르면, 배터리(189)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다.The battery 189 may supply power to at least one component of the electronic device 101 . According to one embodiment, the battery 189 may include, for example, a non-rechargeable primary cell, a rechargeable secondary cell, or a fuel cell.

통신 모듈(190)은 전자 장치(101)와 외부 전자 장치(예: 전자 장치(102), 전자 장치(104), 또는 서버(108))간의 직접(예: 유선) 통신 채널 또는 무선 통신 채널의 수립, 및 수립된 통신 채널을 통한 통신 수행을 지원할 수 있다. 통신 모듈(190)은 프로세서(120)(예: 어플리케이션 프로세서)와 독립적으로 운영되고, 직접(예: 유선) 통신 또는 무선 통신을 지원하는 하나 이상의 커뮤니케이션 프로세서를 포함할 수 있다. 일실시예에 따르면, 통신 모듈(190)은 무선 통신 모듈(192)(예: 셀룰러 통신 모듈, 근거리 무선 통신 모듈, 또는 GNSS(global navigation satellite system) 통신 모듈) 또는 유선 통신 모듈(194)(예: LAN(local area network) 통신 모듈, 또는 전력선 통신 모듈)을 포함할 수 있다. 이들 통신 모듈 중 해당하는 통신 모듈은 제 1 네트워크(198)(예: 블루투스, Wi-Fi direct 또는 IrDA(infrared data association) 같은 근거리 통신 네트워크) 또는 제 2 네트워크(199)(예: 셀룰러 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN)와 같은 원거리 통신 네트워크)를 통하여 외부 전자 장치와 통신할 수 있다. 이런 여러 종류의 통신 모듈들은 하나의 구성 요소(예: 단일 칩)으로 통합되거나, 또는 서로 별도의 복수의 구성 요소들(예: 복수 칩들)로 구현될 수 있다. 무선 통신 모듈(192)은 가입자 식별 모듈(196)에 저장된 가입자 정보(예: 국제 모바일 가입자 식별자(IMSI))를 이용하여 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크 내에서 전자 장치(101)를 확인 및 인증할 수 있다.The communication module 190 is a direct (eg, wired) communication channel or a wireless communication channel between the electronic device 101 and an external electronic device (eg, the electronic device 102, the electronic device 104, or the server 108). Establishment and communication through the established communication channel may be supported. The communication module 190 may include one or more communication processors that operate independently of the processor 120 (eg, an application processor) and support direct (eg, wired) communication or wireless communication. According to one embodiment, the communication module 190 is a wireless communication module 192 (eg, a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 194 (eg, : a local area network (LAN) communication module or a power line communication module). Among these communication modules, the corresponding communication module is a first network 198 (eg, a short-range communication network such as Bluetooth, Wi-Fi direct, or IrDA (infrared data association)) or a second network 199 (eg, a cellular network, the Internet). , or through a computer network (e.g., a telecommunications network such as a LAN or WAN) to communicate with an external electronic device. These various types of communication modules may be integrated into one component (eg, a single chip) or implemented as a plurality of separate components (eg, multiple chips). The wireless communication module 192 uses subscriber information (eg, International Mobile Subscriber Identifier (IMSI)) stored in the subscriber identification module 196 within a communication network such as the first network 198 or the second network 199. The electronic device 101 may be identified and authenticated.

안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 하나 이상의 안테나들을 포함할 수 있고, 이로부터, 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부 전자 장치 간에 송신되거나 수신될 수 있다.The antenna module 197 may transmit or receive signals or power to the outside (eg, an external electronic device). According to one embodiment, the antenna module 197 may include one or more antennas, from which at least one suitable for a communication scheme used in a communication network such as the first network 198 or the second network 199 of antennas may be selected by the communication module 190, for example. A signal or power may be transmitted or received between the communication module 190 and an external electronic device through the selected at least one antenna.

상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, GPIO(general purpose input and output), SPI(serial peripheral interface), 또는 MIPI(mobile industry processor interface))를 통해 서로 연결되고 신호(예: 명령 또는 데이터)를 상호간에 교환할 수 있다.At least some of the components are connected to each other through a communication method between peripheral devices (eg, a bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)) and signal ( e.g. commands or data) can be exchanged with each other.

일실시예에 따르면, 명령 또는 데이터는 제 2 네트워크(199)에 연결된 서버(108)를 통해서 전자 장치(101)와 외부의 전자 장치(104)간에 송신 또는 수신될 수 있다. 전자 장치(102, 104) 각각은 전자 장치(101)와 동일한 또는 다른 종류의 장치일 수 있다. 일실시예에 따르면, 전자 장치(101)에서 실행되는 동작들의 전부 또는 일부는 외부 전자 장치들(102, 104 또는 108) 중 하나 이상의 외부 장치들에서 실행될 수 있다. 예를 들면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로, 또는 사용자 또는 다른 장치로부터의 요청에 반응하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 하나 이상의 외부 전자 장치들에게 그 기능 또는 그 서비스의 적어도 일부를 수행하라고 요청할 수 있다. 상기 요청을 수신한 하나 이상의 외부 전자 장치들은 요청된 기능 또는 서비스의 적어도 일부, 또는 상기 요청과 관련된 추가 기능 또는 서비스를 실행하고, 그 실행의 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다.According to an embodiment, commands or data may be transmitted or received between the electronic device 101 and the external electronic device 104 through the server 108 connected to the second network 199 . Each of the electronic devices 102 and 104 may be the same as or different from the electronic device 101 . According to an embodiment, all or part of operations executed in the electronic device 101 may be executed in one or more external devices among the external electronic devices 102 , 104 , and 108 . For example, when the electronic device 101 needs to perform a certain function or service automatically or in response to a request from a user or another device, the electronic device 101 instead of executing the function or service by itself. Alternatively or additionally, one or more external electronic devices may be requested to perform the function or at least part of the service. One or more external electronic devices receiving the request may execute at least a part of the requested function or service or an additional function or service related to the request, and deliver the execution result to the electronic device 101 . The electronic device 101 may provide the result as at least part of a response to the request as it is or additionally processed. To this end, for example, cloud computing, distributed computing, or client-server computing technology may be used.

도 2는 다양한 실시예들에 따른 전자 장치의 장치 등록을 위한 시스템을 나타내는 블록도(200)이다.2 is a block diagram 200 illustrating a system for device registration of an electronic device according to various embodiments.

도 2을 참조하면, 전자 장치의 장치 등록을 위한 시스템에는, 전자 장치(201)(예: 도 1의 전자 장치(101)), 제1 외부 전자 장치(202)(예: 도 1의 전자 장치(102 또는 104)) 및 제2 외부 전자 장치(208)(예: 도 1의 서버(108))를 포함할 수 있다. 다양한 실시예에 따르면, 상기 전자 장치(201), 상기 제1 외부 전자 장치(202) 및 상기 제2 외부 전자 장치(208)는 도 1에서 설명한 전자 장치(101)와 실질적으로 동일하거나, 유사하게 구현될 수 있다.Referring to FIG. 2 , the system for device registration of an electronic device includes an electronic device 201 (eg, the electronic device 101 of FIG. 1 ) and a first external electronic device 202 (eg, the electronic device of FIG. 1 ). (102 or 104)) and a second external electronic device 208 (eg, the server 108 of FIG. 1). According to various embodiments, the electronic device 201 , the first external electronic device 202 , and the second external electronic device 208 are substantially the same as or similar to the electronic device 101 described in FIG. 1 . can be implemented

전자 장치(201)는 도 1에서 설명한 전자 장치(101)와 실질적으로 동일하거나, 유사하게 구현될 수 있으며, 구성요소들 중 적어도 하나(예: 표시 장치(160), 햅틱 모듈(179), 또는 카메라 모듈(180))가 생략되거나, 하나 이상의 다른 구성요소가 추가되어 구현되는 사물 인터넷(internet of things: IoT) 장치일 수 있다. 전자 장치(201)는 사용자가 제1 외부 전자 장치(202)(예: 모바일 장치)를 이용하거나, 제2 외부 전자 장치(208)(예: 서버 장치)에 직접적으로 통신을 연결하여, 제2 외부 전자 장치(208)에 전자 장치(201)를 등록하는 것에 의해, 상기 사용자는 제2 외부 전자 장치(208)를 통해 전자 장치(201)를 원격으로 제어할 수 있다. 예를 들어, 전자 장치(201)는 가정용 기기(예컨대, 세탁기, 냉장고, 로봇 청소기, 또는 TV), 전등, 계량기(예컨대, 전기 계량기, 또는 가스 계량기), 온/습도 조절 기기(예컨대, 에어컨, 보일러, 또는 가습기), 보안 기기(예컨대, 무인 카메라, 또는 보안 센서), 라우터(예컨대, Wi-Fi 공유기)와 같은 IoT 장치일 수 있다.The electronic device 201 may be implemented substantially the same as or similar to the electronic device 101 described in FIG. 1, and may include at least one of components (eg, the display device 160, the haptic module 179, or The camera module 180) may be omitted or may be an internet of things (IoT) device implemented by adding one or more other components. The electronic device 201 is configured by a user using a first external electronic device 202 (eg, a mobile device) or directly connecting communication with a second external electronic device 208 (eg, a server device) to obtain a second external electronic device 201 . By registering the electronic device 201 with the external electronic device 208 , the user can remotely control the electronic device 201 through the second external electronic device 208 . For example, the electronic device 201 may be a household appliance (eg, a washing machine, a refrigerator, a robot vacuum cleaner, or a TV), a light, a meter (eg, an electric meter or a gas meter), a temperature/humidity control device (eg, an air conditioner, It may be an IoT device such as a boiler or a humidifier), a security device (eg, an unmanned camera or a security sensor), or a router (eg, a Wi-Fi router).

다양한 실시예에 따른 전자 장치(201)는 제1 외부 전자 장치(202) 또는 제2 외부 전자 장치(208)와 통신을 수행하기 위한 적어도 하나의 통신 회로(예: 도 1의 통신 모듈(190)), 적어도 하나의 프로세서(예: 도 1의 프로세서(120)), 메모리(예: 도 1의 메모리(130))를 포함할 수 있다. 예를 들어, 전자 장치(201)는 적어도 하나의 통신 모듈(190)에서 제공하는 근거리 통신 네트워크(예: 도 1의 제1 네트워크(198))(예: 블루투스 저전력(Bluetooth low energy: BLE) 통신, NFC(near field communication), 블루투스(Bluetooth), Wi-Fi direct 또는 IrDA(infrared data association))를 통한 근거리 무선 통신으로 제1 외부 전자 장치(202)에 데이터를 전송하거나 수신할 수 있다. 또한, 전자 장치(201)는 적어도 하나의 통신 모듈(190)에서 제공하는 원거리 통신 네트워크(예: 도 1의 제2 네트워크(199))(예: LAN(local area network) 통신, 전력선 통신, WAN(wide area network) 통신, 셀룰러 네트워크 통신 또는 인터넷)을 통한 원거리 유무선 통신으로 제1 외부 전자 장치(202) 및/또는 제2 외부 전자 장치(208)와 데이터를 전송하거나 수신할 수 있다.The electronic device 201 according to various embodiments includes at least one communication circuit (eg, the communication module 190 of FIG. 1 ) for communicating with the first external electronic device 202 or the second external electronic device 208. ), at least one processor (eg, the processor 120 of FIG. 1 ), and a memory (eg, the memory 130 of FIG. 1 ). For example, the electronic device 201 uses a short-range communication network (eg, the first network 198 of FIG. 1 ) provided by at least one communication module 190 (eg, Bluetooth low energy (BLE) communication). , Near field communication (NFC), Bluetooth, Wi-Fi direct, or infrared data association (IrDA) may transmit or receive data to or from the first external electronic device 202 through short-range wireless communication. In addition, the electronic device 201 uses a long-distance communication network (eg, the second network 199 of FIG. 1 ) provided by at least one communication module 190 (eg, local area network (LAN) communication, power line communication, and WAN). Data may be transmitted or received with the first external electronic device 202 and/or the second external electronic device 208 through long-distance wired/wireless communication through (wide area network) communication, cellular network communication, or the Internet.

제1 외부 전자 장치(202)는 도 1에서 설명한 전자 장치(102 또는 104)와 실질적으로 동일하거나, 유사하게 구현될 수 있으며, 스마트폰과 같은 모바일 장치일 수 있다. 제1 외부 전자 장치(202)는 사용자가 전자 장치(201)(예: IoT 장치)를 제2 외부 전자 장치(208)(예: 서버 장치)에 등록할 수 있도록 지원하는 어플리케이션이 설치되어 있거나, 웹사이트의 접속을 지원할 수 있다. 또는, 제1 외부 전자 장치(202)는 장치 등록된 전자 장치(201)를 제2 외부 전자 장치(208)을 통해 원격으로 제어할 수 있도록 지원하는 어플리케이션이 설치되어 있거나, 웹사이트에 접속하여 제어할 수 있도록 지원할 수 있다.The first external electronic device 202 may be implemented substantially the same as or similar to the electronic device 102 or 104 described in FIG. 1 , and may be a mobile device such as a smart phone. The first external electronic device 202 has an application installed that allows the user to register the electronic device 201 (eg, IoT device) with the second external electronic device 208 (eg, a server device), or Access to the website can be supported. Alternatively, the first external electronic device 202 has an application installed that supports remote control of the device-registered electronic device 201 through the second external electronic device 208, or is controlled by accessing a website. can support you to do it.

다양한 실시예에 따른 제1 외부 전자 장치(202)는 전자 장치(201) 또는 제2 외부 전자 장치(208)와 통신을 수행하기 위한 적어도 하나의 통신 회로(예: 도 1의 통신 모듈(190)), 적어도 하나의 프로세서(예: 도 1의 프로세서(120)), 메모리(예: 도 1의 메모리(130)), 전자 장치(201)의 장치 등록을 수행하거나, 원격으로 제어하기 위한 사용자 인터페이스를 표시하는 디스플레이(예: 도 1의 표시 장치(160))를 포함할 수 있다. 예를 들어, 제1 외부 전자 장치(202)는 적어도 하나의 통신 모듈(190)에서 제공하는 근거리 통신 네트워크(예: 도 1의 제1 네트워크(198)) (예: 블루투스 저전력(Bluetooth low energy: BLE) 통신, NFC(near field communication), 블루투스(Bluetooth), Wi-Fi direct 또는 IrDA(infrared data association))을 통한 근거리 무선 통신으로 전자 장치(201)에 데이터를 전송하거나 수신할 수 있다. 또한, 제1 외부 전자 장치(202)는 적어도 하나의 통신 모듈(190)에서 제공하는 원거리 통신 네트워크(예: 도 1의 제2 네트워크(199))(예: LAN(local area network) 통신, 전력선 통신, WAN(wide area network) 통신, 셀룰러 네트워크 통신 또는 인터넷)를 통한 원거리 유무선 통신으로 전자 장치(201) 및/또는 제2 외부 전자 장치(208)와 데이터를 전송하거나 수신할 수 있다.The first external electronic device 202 according to various embodiments includes at least one communication circuit (for example, the communication module 190 of FIG. 1 ) for communicating with the electronic device 201 or the second external electronic device 208 . ), at least one processor (eg, the processor 120 of FIG. 1), a memory (eg, the memory 130 of FIG. 1), and a user interface for performing device registration or remotely controlling the electronic device 201. may include a display (eg, the display device 160 of FIG. 1 ) for displaying. For example, the first external electronic device 202 may use a short-range communication network (eg, the first network 198 of FIG. 1 ) provided by at least one communication module 190 (eg, Bluetooth low energy: Data may be transmitted to or received from the electronic device 201 through short-range wireless communication through BLE) communication, near field communication (NFC), Bluetooth, Wi-Fi direct, or infrared data association (IrDA). In addition, the first external electronic device 202 is a long-distance communication network (eg, second network 199 of FIG. 1) provided by at least one communication module 190 (eg, local area network (LAN) communication, power line Data may be transmitted or received with the electronic device 201 and/or the second external electronic device 208 through long-distance wired/wireless communication through communication, wide area network (WAN) communication, cellular network communication, or the Internet.

제2 외부 전자 장치(208)는 도 1에서 설명한 서버(108)와 실질적으로 동일하거나, 유사하게 구현될 수 있으며, 클라우드 서버와 같은 서버 장치일 수 있다. 제2 외부 전자 장치(208)는 전자 장치(201)(예: IoT 장치)를 제조한 제조자 또는 제조사에 의해 관리 및/또는 제어될 수 있고, 전자 장치(201)를 등록하기 위한 정보를 최신성을 유지하여 메모리(예: 도 1의 메모리(130))에 저장할 수 있으며, 저장된 정보에 기반하여 전자 장치(201)의 장치 등록을 수행할 수 있다.The second external electronic device 208 may be implemented substantially the same as or similar to the server 108 described in FIG. 1 and may be a server device such as a cloud server. The second external electronic device 208 may be managed and/or controlled by the manufacturer or manufacturer of the electronic device 201 (eg, IoT device), and information for registering the electronic device 201 is updated. may be maintained and stored in a memory (eg, the memory 130 of FIG. 1 ), and device registration of the electronic device 201 may be performed based on the stored information.

다양한 실시예에 따른 제2 외부 전자 장치(208)는 전자 장치(201) 또는 제1 외부 전자 장치(202)와 통신을 수행하기 위한 적어도 하나의 통신 회로(예: 도 1의 통신 모듈(190)), 적어도 하나의 프로세서(예: 도 1의 프로세서(120)), 메모리(예: 도 1의 메모리(130))를 포함할 수 있다. 예를 들어, 제2 외부 전자 장치(208)는 적어도 하나의 통신 모듈(190)에서 제공하는 원거리 통신 네트워크(예: 도 1의 제2 네트워크(199))(예: LAN(local area network) 통신, 전력선 통신, WAN(wide area network) 통신, 셀룰러 네트워크 통신 또는 인터넷)를 통한 원거리 유무선 통신으로 전자 장치(201) 및/또는 제1 외부 전자 장치(202)와 데이터를 전송하거나 수신할 수 있다.The second external electronic device 208 according to various embodiments includes at least one communication circuit (for example, the communication module 190 of FIG. 1 ) for communicating with the electronic device 201 or the first external electronic device 202 . ), at least one processor (eg, the processor 120 of FIG. 1 ), and a memory (eg, the memory 130 of FIG. 1 ). For example, the second external electronic device 208 communicates with a long-distance communication network (eg, the second network 199 of FIG. 1 ) provided by at least one communication module 190 (eg, a local area network (LAN) communication). Data may be transmitted or received with the electronic device 201 and/or the first external electronic device 202 through long-distance wired/wireless communication through power line communication, wide area network (WAN) communication, cellular network communication, or the Internet.

도 3은 다양한 실시예들에 따른 전자 장치가 전자 장치의 장치 등록을 요청하는 동작을 설명하기 위한 흐름도(300)이다.3 is a flowchart 300 illustrating an operation of requesting device registration of an electronic device by an electronic device according to various embodiments.

다양한 실시예에 따르면, 동작 301 내지 동작 306은 도 1 또는 도 2의 전자 장치(101, 201) 또는 프로세서(120)를 통해 실행될 수 있다. 상기 전자 장치(201)는 상기 동작 301 내지 동작 306이 실행되도록 하는 인스트럭션들을 메모리(예: 도 1의 메모리(130))에 저장할 수 있다. 한 실시예에서, 동작 301 내지 동작 306 중 적어도 하나가 생략되거나, 일부 동작들이 동시에 병렬로 수행되거나, 일부 동작들의 순서가 바뀌거나, 다른 동작이 추가될 수 있다.According to various embodiments, operations 301 to 306 may be executed through the electronic device 101 or 201 or the processor 120 of FIG. 1 or 2 . The electronic device 201 may store instructions for executing operations 301 to 306 in a memory (eg, the memory 130 of FIG. 1 ). In one embodiment, at least one of operations 301 to 306 may be omitted, some operations may be simultaneously performed in parallel, the order of some operations may be changed, or other operations may be added.

동작 301에서, 다양한 실시예에 따른 전자 장치(201)(예: IoT 장치)는, 적어도 하나의 통신 회로(예: 도 1의 통신 모듈(190))를 통하여, 외부 전자 장치(예: 도 2의 제1 외부 전자 장치(202))(예: 모바일 장치)와 근거리 통신 네트워크(예: 도 1의 제1 네트워크(198)(예: 블루투스 저전력(Bluetooth low energy: BLE) 통신, NFC(near field communication), 블루투스(Bluetooth), Wi-Fi direct 또는 IrDA(infrared data association))를 통한 제1 통신(예: 근거리 무선 통신)을 연결할 수 있다. 예를 들면, 전자 장치(201)는 사용자에 의해 처음 구입된 장치 초기화 상태일 수 있으며, 적어도 하나의 통신 회로를 통해 원거리 통신 네트워크(199)가 지원될 수 있는 장치이나, 초기 장치 설정이 수행되기 전이나, 장치 등록이 수행되기 전에는 원거리 통신 네트워크(199)가 지원되지 않는 장치일 수 있다. 전자 장치(201)는 전원이 인가되어 부팅이 완료된 상태에서 외부 전자 장치(202)가 근접하는 것에 의해 자동 또는 수동으로 상기 외부 전자 장치(202)에 근거리 통신 네트워크를 통한 근거리 무선 통신을 연결할 수 있다. 또는, 전자 장치(201)는 전원이 인가되어 부팅이 완료된 상태에서 근접한 외부 전자 장치(202)로부터의 연결 요청에 의해 상기 외부 전자 장치(202)에 근거리 무선 통신을 연결할 수 있다.In operation 301, the electronic device 201 (eg, IoT device) according to various embodiments, via at least one communication circuit (eg, the communication module 190 of FIG. 1 ), an external electronic device (eg, FIG. 2 ) of the first external electronic device 202) (eg, a mobile device) and a short-range communication network (eg, the first network 198 of FIG. 1 (eg, Bluetooth low energy: BLE) communication, NFC (near field) communication), Bluetooth, Wi-Fi direct, or IrDA (infrared data association) through first communication (eg, short-distance wireless communication). For example, the electronic device 201 is configured by a user A device that may be initially purchased and may be in an initialization state, and may support the telecommunications network 199 through at least one communication circuit, or a telecommunications network ( 199) may be an unsupported device The electronic device 201 automatically or manually closes the external electronic device 202 by approaching the external electronic device 202 in a state in which power is applied and booting is completed. Short-range wireless communication through a communication network may be connected, or the electronic device 201 may connect to the external electronic device 202 by requesting a connection from a nearby external electronic device 202 in a state in which power is applied and booting is completed. Short-distance wireless communication can be connected.

동작 302에서, 다양한 실시예에 따른 전자 장치(201)는, 외부 전자 장치(202)로 전자 장치(201)의 장치 등록 요청(또는 장치 등록 요청 메시지)을 전송할 수 있다. 예를 들어, 전자 장치(201)는 외부 전자 장치(202)와 근거리 무선 통신이 연결되면, 상기 전자 장치(201)의 상태가 장치 초기화 상태인지를 확인하고, 장치 초기화 상태인 것으로 확인되면, 상기 외부 전자 장치(202)에 상기 장치 등록 요청을 전송하고, 상기 외부 전자 장치(202)가 서버 장치(208)에 상기 장치 등록 요청을 전달하도록 할 수 있다. 또는, 전자 장치(201)는 외부 전자 장치(202)와 근거리 무선 통신이 연결되면, 상기 전자 장치(201)의 상태가 장치 등록 상태인지를 확인하고, 장치 등록 상태가 아닌 것으로 확인되면, 상기 외부 전자 장치(202)에 상기 장치 등록 요청을 전송하고, 상기 외부 전자 장치(202)가 서버 장치(208)에 상기 장치 등록 요청을 전달하도록 할 수 있다.In operation 302, the electronic device 201 according to various embodiments may transmit a device registration request (or a device registration request message) of the electronic device 201 to the external electronic device 202. For example, when short-range wireless communication is connected with the external electronic device 202, the electronic device 201 checks whether the electronic device 201 is in a device initialization state, and if it is confirmed that the electronic device 201 is in a device initialization state, The device registration request may be transmitted to the external electronic device 202 , and the external electronic device 202 may transmit the device registration request to the server device 208 . Alternatively, when the short-range wireless communication is connected with the external electronic device 202, the electronic device 201 checks whether the electronic device 201 is in a device registration state, and if it is confirmed that the device is not registered, the external electronic device 201 checks whether or not the electronic device 201 is in a device registration state. The device registration request may be transmitted to the electronic device 202, and the external electronic device 202 may transmit the device registration request to the server device 208.

다양한 실시예에 따르면, 전자 장치(201)는 전자 장치(201)의 메모리(예: 도 1의 메모리(130)) 내에 전자 장치(201)의 장치 등록을 위한 장치 등록 요청 정보를 저장할 수 있다. 상기 장치 등록 요청 정보는 전자 장치(201)의 생산 과정에서 상기 전자 장치(201)의 장치 등록을 수행할 수 있도록 전자 장치(201)에 부여된 키 정보를 포함할 수 있으며, 서버 장치(208)에도 전자 장치(201)의 장치 등록을 인증할 수 있도록 상기 키 정보와 동일한 키 정보를 포함하는 장치 등록 인증 정보를 상기 서버 장치(208)의 메모리(예: 도 1의 메모리(130))에 저장할 수 있다. 예를 들어, 상기 키 정보는 128 비트의 UUID(universally unique identifier) 포맷의 정보일 수 있다. 전자 장치(201)는 외부 전자 장치(202)를 이용하여 상기 전자 장치(201)의 메모리에 저장된 장치 등록 요청 정보를 적어도 포함하는 장치 등록 요청을 서버 장치(208)에 전달할 수 있다.According to various embodiments, the electronic device 201 may store device registration request information for device registration of the electronic device 201 in a memory of the electronic device 201 (eg, the memory 130 of FIG. 1 ). The device registration request information may include key information given to the electronic device 201 so as to perform device registration of the electronic device 201 during the manufacturing process of the electronic device 201, and the server device 208 In order to authenticate the device registration of the electronic device 201, device registration authentication information including the same key information as the key information is stored in the memory of the server device 208 (eg, the memory 130 of FIG. 1). can For example, the key information may be information in a 128-bit universally unique identifier (UUID) format. The electronic device 201 may transmit a device registration request including at least device registration request information stored in the memory of the electronic device 201 to the server device 208 using the external electronic device 202 .

또한, 전자 장치(201)는 전자 장치(201)의 메모리 내에 전자 장치(201)를 식별하기 위한 장치 식별 정보를 저장할 수 있다. 상기 장치 식별 정보는 전자 장치(201)의 생산 과정에서 상기 전자 장치(201)를 고유하게 식별할 수 있도록 부여된 시리얼 번호(serial number)나 해시 코드(hash code)일 수 있으며, 서버 장치(208)에도 전자 장치(201)를 식별할 수 있도록 상기 장치 식별 정보를 서버 장치(208)의 메모리에 저장할 수 있다. 전자 장치(201)는 외부 전자 장치(202)를 이용하여 전자 장치(201)의 메모리에 저장된 상기 장치 등록 요청 정보와 함께 상기 장치 식별 정보를 포함하는 장치 등록 요청을 서버 장치(208)에 전달할 수 있다. 또는, 상기 시리얼 번호는 전자 장치(201)의 표면이나 박스에 텍스트나 QR 코드로 인쇄된 형태로 사용자에게 제공될 수 있다. 이 경우, 외부 전자 장치(202)에서 전자 장치(201)의 장치 등록을 위해 제공되는 사용자 인터페이스를 통해 사용자가 직접 입력할 수 있다.Also, the electronic device 201 may store device identification information for identifying the electronic device 201 in a memory of the electronic device 201 . The device identification information may be a serial number or hash code assigned to uniquely identify the electronic device 201 during the manufacturing process of the electronic device 201, and the server device 208 ), the device identification information may be stored in the memory of the server device 208 so that the electronic device 201 can be identified. The electronic device 201 may transmit a device registration request including the device identification information together with the device registration request information stored in the memory of the electronic device 201 to the server device 208 using the external electronic device 202. there is. Alternatively, the serial number may be provided to the user in the form of text or QR code printed on the surface or box of the electronic device 201 . In this case, a user may directly input information through a user interface provided for device registration of the electronic device 201 in the external electronic device 202 .

동작 303에서, 다양한 실시예에 따른 전자 장치(201)는, 외부 전자 장치(202)로부터 장치 등록 요청에 대한 응답을 수신할 수 있다. 예를 들어, 외부 전자 장치(202)는 서버 장치(208)가 전자 장치(201)에 대한 장치 등록을 수행하고, 수행된 장치 등록 결과 통보를 수신할 수 있다. 외부 전자 장치(202)는 서버 장치(208)로부터 장치 등록 결과 통보를 수신하면, 수신된 장치 등록 결과 통보를 상기 전자 장치(201)에 전달할 수 있다.In operation 303, the electronic device 201 according to various embodiments may receive a response to the device registration request from the external electronic device 202. For example, the external electronic device 202 may perform device registration of the electronic device 201 by the server device 208 and receive a notification of a result of the device registration. Upon receiving the device registration result notification from the server device 208, the external electronic device 202 may transfer the received device registration result notification to the electronic device 201.

동작 304에서, 다양한 실시예에 따른 전자 장치(201)는, 적어도 하나의 통신 회로(예: 도 1의 통신 모듈(190))를 통하여, 서버 장치(208)와 원거리 통신 네트워크(예: 도 1의 제2 네트워크(199)(예: LAN(local area network) 통신, 전력선 통신, WAN(wide area network) 통신, 셀룰러 네트워크 통신 또는 인터넷)를 통한 제2 통신(예: 원거리 유무선 통신)을 연결할 수 있다. 예를 들면, 전자 장치(201)는 적어도 하나의 통신 회로를 통해 원거리 통신 네트워크(199)가 지원될 수 있는 장치이나, 초기 장치 설정이 수행되기 전이나, 장치 등록이 수행되기 전에는 원거리 통신 네트워크(199)가 지원되지 않는 장치일 수 있다. 전자 장치(201)는 초기 장치 설정을 수행하거나, 외부 전자 장치(202)를 이용하여 장치 등록 요청을 전송하고, 장치 등록 결과를 확인하여 원거리 통신 네트워크(199)의 사용이 가능한 상태가 되면, 전자 장치(201)가 동작하는 것에 의해 자동 또는 수동으로 상기 서버 장치(208)와 원거리 유무선 통신을 연결할 수 있다.In operation 304, the electronic device 201 according to various embodiments connects the server device 208 and a remote communication network (eg, the communication module 190 of FIG. 1) through at least one communication circuit (eg, the communication module 190 of FIG. 1). Second communication (eg, long-distance wired/wireless communication) through a second network 199 (eg, local area network (LAN) communication, power line communication, wide area network (WAN) communication, cellular network communication, or Internet) of For example, the electronic device 201 is a device capable of supporting the telecommunications network 199 through at least one communication circuit, but telecommunications are performed before initial device setting or device registration is performed. It may be a device that is not supported by the network 199. The electronic device 201 performs initial device setting, transmits a device registration request using the external electronic device 202, and checks the device registration result to perform long-distance communication. When the use of the network 199 becomes available, the electronic device 201 may be automatically or manually connected to the server device 208 through wired or wireless communication.

동작 305에서, 다양한 실시예에 따른 전자 장치(201)는, 서버 장치(208)와 원거리 유무선 통신이 연결되면, 전자 장치(201)의 등록에 기반하여 업데이트되는 장치 등록 갱신 정보를 상기 서버 장치(208)로부터 수신할 수 있다. 예를 들어, 전자 장치(201)는 전자 장치(201)의 장치 등록을 위한 장치 등록 요청을 전송하고, 장치 등록 결과를 확인한 이후, 처음으로 서버 장치(208)와 연결될 때, 상기 장치 등록 갱신 정보를 수신할 수 있다. 예를 들어, 장치 등록 갱신 정보는 상기 서버 장치(208)의 메모리 내에 상기 전자 장치(201)의 장치 등록에 기반하여 업데이트되어 저장되는 것으로, 상기 전자 장치(201)에 대한 장치 등록이 수행되기 이전에는 처음으로(예: 출고 시점) 상기 전자 장치(201)에 부여된 키 정보와 동일한 키 정보를 포함할 수 있고, 상기 전자 장치(201)의 등록이 수행되는 것에 기반하여 새로 생성된 키 정보로 업데이트되는 정보일 수 있다.In operation 305, when the remote wired/wireless communication is connected with the server device 208, the electronic device 201 according to various embodiments sends device registration update information updated based on the registration of the electronic device 201 to the server device ( 208). For example, when the electronic device 201 transmits a device registration request for device registration of the electronic device 201, checks the device registration result, and connects to the server device 208 for the first time, the device registration renewal information. can receive For example, the device registration renewal information is updated and stored in the memory of the server device 208 based on the device registration of the electronic device 201, and before the device registration of the electronic device 201 is performed. may include the same key information as the key information assigned to the electronic device 201 for the first time (eg, at the time of shipment), and is newly generated based on the registration of the electronic device 201. It may be updated information.

동작 306에서, 다양한 실시예에 따른 전자 장치(201)는, 수신된 장치 등록 갱신 정보를 전자 장치(201)의 메모리에 저장할 수 있다. 예를 들어, 전자 장치(201)는 수신된 장치 등록 갱신 정보를 상기 장치 등록 요청 정보로서 상기 전자 장치(201)의 메모리에 업데이트하여 저장할 수 있다. 예를 들면, 전자 장치(201)의 장치 등록 요청 이전에 상기 전자 장치(201)의 메모리에 저장된 장치 등록 요청 정보에는 제1 키 정보가 포함될 수 있고, 서버 장치(208)로부터 수신된 장치 등록 갱신 정보에는 제2 키 정보가 포함될 경우, 전자 장치(201)는 상기 장치 등록 요청 정보에 포함된 제1 키 정보를 상기 장치 등록 갱신 정보에 포함된 제2 키 정보로 업데이트하여 저장할 수 있다. 다양한 실시예에 따르면, 전자 장치(201)는 상기 장치 등록 요청 정보가 업데이트되는 것에 기반하여, 상기 장치 등록 요청 정보의 업데이트에 대한 신호를 상기 서버 장치(208)에 전송할 수 있다.In operation 306, the electronic device 201 according to various embodiments may store the received device registration update information in the memory of the electronic device 201. For example, the electronic device 201 may update and store the received device registration update information in the memory of the electronic device 201 as the device registration request information. For example, the device registration request information stored in the memory of the electronic device 201 before the device registration request of the electronic device 201 may include first key information, and the device registration update received from the server device 208 If the information includes second key information, the electronic device 201 may update and store the first key information included in the device registration request information as second key information included in the device registration update information. According to various embodiments, the electronic device 201 may transmit a signal for updating the device registration request information to the server device 208 based on the update of the device registration request information.

도 4는 다양한 실시예들에 따른 서버 장치가 전자 장치의 장치 등록을 수행하는 동작을 설명하기 위한 흐름도(400)이다.4 is a flowchart 400 illustrating an operation of performing device registration of an electronic device by a server device according to various embodiments.

다양한 실시예에 따르면, 동작 401 내지 405는 서버 장치(예: 도 1의 서버(108) 또는 도 2의 제2 외부 전자 장치(또는 서버 장치)(208)) 또는 서버 장치에 포함되는 프로세서(예: 도 1의 프로세서(120))를 통해 실행될 수 있다. 서버 장치(208)는 상기 동작 401 내지 동작 405가 실행되도록 하는 인스트럭션들을 서버 장치(208)의 메모리(예: 도 1의 메모리(130))에 저장할 수 있다. 한 실시예에서, 동작 401 내지 405 중 적어도 하나가 생략되거나, 일부 동작들이 동시에 병렬로 수행되거나, 일부 동작들의 순서가 바뀌거나, 다른 동작이 추가될 수 있다.According to various embodiments, operations 401 to 405 may be performed by a server device (eg, the server 108 of FIG. 1 or the second external electronic device (or server device) 208 of FIG. 2 ) or a processor included in the server device (eg, the server 108 of FIG. 1 or the second external electronic device (or server device) 208 of FIG. 2 ). : It can be executed through the processor 120 of FIG. 1). The server device 208 may store instructions for executing operations 401 to 405 in a memory (eg, memory 130 of FIG. 1 ) of the server device 208 . In one embodiment, at least one of operations 401 to 405 may be omitted, some operations may be simultaneously performed in parallel, the order of some operations may be changed, or other operations may be added.

동작 401에서, 다양한 실시예에 따른 서버 장치(208)는, 적어도 하나의 통신 회로(예: 도 1의 통신 모듈(190))를 통하여, 외부 전자 장치(예: 도 2의 제1 외부 전자 장치(202))(예: 모바일 장치)와 원거리 통신 네트워크(예: 도 1의 제2 네트워크(199)(예: LAN(local area network) 통신, 전력선 통신, WAN(wide area network) 통신, 셀룰러 네트워크 통신 또는 인터넷)를 통한 원거리 유무선 통신을 연결할 수 있고, 상기 외부 전자 장치(202)로부터 전자 장치(IoT 장치)(예: 도 2의 전자 장치(201))의 식별을 위한 장치 식별 정보 및 상기 전자 장치(201)의 장치 등록을 위한 장치 등록 정보를 적어도 포함하는 장치 등록 요청을 수신할 수 있다. 예를 들어, 서버 장치(208)는 외부 전자 장치(202)가 연결되면, 상기 외부 전자 장치(202)의 사용자 계정에 기반하여, 사용자에 대한 인증을 수행하고, 상기 사용자에 대한 사용자 인증이 수행되면, 상기 외부 전자 장치(202)로부터 상기 전자 장치(201)에 대한 상기 장치 등록 요청을 수신할 수 있다.In operation 401, the server device 208 according to various embodiments, via at least one communication circuit (eg, the communication module 190 of FIG. 1 ), an external electronic device (eg, the first external electronic device of FIG. 2 ) 202) (e.g. mobile device) and a telecommunications network (e.g. second network 199 of FIG. 1 (e.g. local area network) communication, power line communication, wide area network (WAN) communication, cellular network It is possible to connect long-distance wired/wireless communication through communication or the Internet, and device identification information for identification of an electronic device (IoT device) (eg, the electronic device 201 of FIG. 2) from the external electronic device 202 and the electronic device It may receive a device registration request including at least device registration information for device registration of the device 201. For example, when the external electronic device 202 is connected to the server device 208, the external electronic device ( Based on the user account of 202), user authentication is performed, and when the user authentication is performed, the device registration request for the electronic device 201 is received from the external electronic device 202. can

동작 402에서, 다양한 실시예에 따른 서버 장치(208)는, 전자 장치(201)에 대한 장치 등록 요청에 기반하여, 서버 장치(208)의 메모리(예: 도 1의 메모리(130))에 저장된 상기 전자 장치(201)의 장치 등록을 인증하기 위한 장치 등록 인증 정보를 확인할 수 있다. 예를 들어, 서버 장치(208)는 상기 장치 등록 요청에 포함된 상기 전자 장치(201)의 장치 식별 정보를 확인하고, 확인된 장치 식별 정보를 이용하여 상기 서버 장치(208)의 메모리에 저장된 상기 전자 장치(201)에 대응하는 상기 장치 등록 인증 정보를 확인할 수 있다. 상기 장치 등록 인증 정보는 전자 장치(201)의 생산 과정에서 상기 전자 장치(201)에 부여된 키 정보와 동일한 키 정보를 포함할 수 있다. 또한, 서버 장치(208)는 상기 서버 장치(208)의 메모리 내에 전자 장치(201)의 장치 등록에 기반하여 업데이트되는 장치 등록 갱신 정보를 저장할 수 있다. 상기 서버 장치(208)의 메모리에 저장된 상기 전자 장치(201)에 대응하는 상기 장치 등록 인증 정보와 상기 장치 등록 갱신 정보는 상기 전자 장치(201)에 대한 장치 등록이 수행되기 이전에는 처음으로(예: 출고 시점) 상기 전자 장치(201)에 부여된 키 정보와 동일한 키 정보를 포함할 수 있다.In operation 402, the server device 208 according to various embodiments, based on the device registration request to the electronic device 201, stored in the memory (eg, the memory 130 of FIG. 1) of the server device 208. Device registration authentication information for authenticating device registration of the electronic device 201 may be checked. For example, the server device 208 checks the device identification information of the electronic device 201 included in the device registration request, and uses the checked device identification information to check the device identification information stored in the memory of the server device 208. The device registration authentication information corresponding to the electronic device 201 may be checked. The device registration authentication information may include the same key information as key information given to the electronic device 201 during the manufacturing process of the electronic device 201 . In addition, the server device 208 may store device registration renewal information updated based on device registration of the electronic device 201 in a memory of the server device 208 . The device registration authentication information and the device registration update information corresponding to the electronic device 201 stored in the memory of the server device 208 are first (eg, before device registration of the electronic device 201 is performed). : At the time of delivery) The same key information as the key information assigned to the electronic device 201 may be included.

동작 403에서, 다양한 실시예에 따른 서버 장치(208)는, 상기 확인된 장치 등록 인증 정보 및 상기 장치 등록 요청에 포함된 상기 장치 등록 요청 정보에 기반하여, 상기 전자 장치(201)의 장치 등록을 수행할 수 있다. 예를 들어, 서버 장치(208)는 상기 확인된 장치 등록 인증 정보에 포함된 키 정보와 상기 장치 등록 요청 정보에 포함된 키 정보가 일치하면, 상기 전자 장치(201)에 대한 장치 등록을 수행할 수 있다. 또는, 서버 장치(208)는 상기 확인된 장치 등록 인증 정보에 포함된 키 정보와 상기 장치 등록 요청 정보에 포함된 키 정보가 일치하지 않으면, 상기 전자 장치(201)에 대한 장치 등록을 거절할 수 있다.In operation 403, the server device 208 according to various embodiments performs device registration of the electronic device 201 based on the checked device registration authentication information and the device registration request information included in the device registration request. can be done For example, the server device 208 may perform device registration for the electronic device 201 when key information included in the checked device registration authentication information and key information included in the device registration request information match. can Alternatively, the server device 208 may reject device registration for the electronic device 201 when key information included in the checked device registration authentication information and key information included in the device registration request information do not match. there is.

다양한 실시예에 따르면, 서버 장치(208)는 상기 전자 장치(201)의 장치 등록 과정에서, 상기 장치 등록 요청에 포함된 전자 장치(201)의 장치 식별 정보에 기반하여, 서버 장치(208)의 메모리에 저장된 전자 장치(201)에 대응하는 장치 등록 갱신 정보를 확인할 수 있다. 서버 장치(208)는 확인된 장치 등록 갱신 정보 및 상기 장치 등록 요청에 포함된 장치 등록 요청 정보가 일치하면, 상기 서버 장치(208)의 메모리에 저장된 이전 장치 등록 갱신 정보를 새로 생성된 장치 등록 갱신 정보로 업데이트하여 저장할 수 있다. 예를 들면, 전자 장치(201)의 장치 등록 요청 이전에 상기 서버 장치(208)의 메모리에 저장된 장치 등록 갱신 정보에는 제1 키 정보가 포함될 수 있고, 상기 장치 등록 요청에 포함된 장치 등록 요청 정보에 제1 키 정보가 포함될 경우, 서버 장치(208)는 제2 키 정보를 생성하고, 상기 서버 장치(208)의 메모리에 저장된 장치 등록 갱신 정보에 포함된 제1 키 정보를 상기 생성된 제2 키 정보로 업데이트하여 저장할 수 있다. 또는, 전자 장치(201)의 장치 등록 요청 이전에 상기 서버 장치(208)의 메모리에 저장된 장치 등록 갱신 정보에는 제2 키 정보가 포함될 수 있고, 상기 장치 등록 요청에 포함된 장치 등록 요청 정보에 제1 키 정보가 포함될 경우, 서버 장치(208)는 상기 서버 장치(208)의 메모리에 저장된 장치 등록 갱신 정보에 포함된 제2 키 정보를 유지하여 저장할 수 있다. 이는 서버 장치(208)가 전자 장치(201)(IoT 장치)에 대한 장치 등록을 수행한 이후, 상기 전자 장치(201)가 상기 서버 장치(208)에 연결하지 못한 상태에서, 전자 장치(201)가 장치 초기화되는 경우에도, 서버 장치(208)가 전자 장치(201)의 장치 등록을 수행할 수 있도록 하기 위함이다.According to various embodiments, in a device registration process of the electronic device 201, the server device 208 determines the identity of the server device 208 based on the device identification information of the electronic device 201 included in the device registration request. Device registration update information corresponding to the electronic device 201 stored in the memory may be checked. The server device 208 updates the newly generated device registration update information by replacing the previous device registration update information stored in the memory of the server device 208 when the checked device registration update information and the device registration request information included in the device registration request match. Information can be updated and saved. For example, device registration renewal information stored in the memory of the server device 208 prior to the device registration request of the electronic device 201 may include first key information, and device registration request information included in the device registration request. When the first key information is included in , the server device 208 generates second key information, and converts the first key information included in the device registration update information stored in the memory of the server device 208 to the generated second key information. It can be updated and saved with key information. Alternatively, the device registration update information stored in the memory of the server device 208 prior to the device registration request of the electronic device 201 may include second key information, and the device registration request information included in the device registration request may include a second key information. When 1 key information is included, the server device 208 may maintain and store second key information included in device registration update information stored in the memory of the server device 208 . After the server device 208 performs device registration for the electronic device 201 (IoT device), in a state in which the electronic device 201 fails to connect to the server device 208, the electronic device 201 This is to allow the server device 208 to perform device registration of the electronic device 201 even when the device is initialized.

동작 404에서, 다양한 실시예에 따른 서버 장치(208)는, 전자 장치(201)에 대한 장치 등록 결과를 외부 전자 장치(202)에 통보할 수 있다. 예를 들어, 서버 장치(208)는 전자 장치(201)의 장치 등록이 수행되면, 전자 장치(201)의 장치 등록이 성공됨을 나타내는 메시지를 외부 전자 장치(202)에 통보할 수 있다. 또는 서버 장치(208)는 전자 장치(201)의 장치 등록이 거절되면, 전자 장치(201)의 장치 등록이 거절됨을 나타내는 메시지를 외부 전자 장치(202)에 통보할 수 있다.In operation 404 , the server device 208 according to various embodiments may notify the external electronic device 202 of a device registration result for the electronic device 201 . For example, when device registration of the electronic device 201 is performed, the server device 208 may notify the external electronic device 202 of a message indicating that device registration of the electronic device 201 is successful. Alternatively, when device registration of the electronic device 201 is rejected, the server device 208 may notify the external electronic device 202 of a message indicating that device registration of the electronic device 201 is rejected.

동작 405에서, 다양한 실시예에 따른 서버 장치(208)는, 전자 장치(201)와 원거리 유무선 통신이 연결되면, 전자 장치(201)의 등록에 기반하여 업데이트되는 장치 등록 갱신 정보를 상기 전자 장치(201)에 전송할 수 있다. 예를 들어, 서버 장치(208)는 외부 전자 장치(202)를 통해 전자 장치(201)에 대한 장치 등록을 수행한 이후, 처음으로 전자 장치(201)와 연결될 때, 상기 장치 등록 갱신 정보를 전자 장치(201)로 전송할 수 있다. 다양한 실시예에 따르면, 서버 장치(208)는 장치 등록 갱신 정보를 전송하는 것에 응답하여, 전자 장치(201)로부터 장치 등록 요청 정보의 업데이트에 대한 신호를 상기 전자 장치(201)로부터 수신할 수 있고, 상기 신호의 수신에 응답하여, 서버 장치(208)의 메모리에 저장된 상기 전자 장치(201)에 대응하는 장치 등록 인증 정보를 장치 등록 갱신 정보로 동기화하여 저장할 수 있다.In operation 405, when the electronic device 201 and long-distance wired/wireless communication are connected, the server device 208 according to various embodiments transmits device registration update information updated based on the registration of the electronic device 201 to the electronic device ( 201) can be sent. For example, when the server device 208 performs device registration for the electronic device 201 through the external electronic device 202 and is connected to the electronic device 201 for the first time, the server device 208 transmits the device registration renewal information electronically. device 201. According to various embodiments, the server device 208 may receive a signal for updating device registration request information from the electronic device 201 in response to transmitting the device registration update information, and , In response to reception of the signal, device registration authentication information corresponding to the electronic device 201 stored in the memory of the server device 208 may be synchronized and stored as device registration update information.

도 5는 다양한 실시예들에 따른 전자 장치, 제1 외부 전자 장치 및 제2 외부 전자 장치가 전자 장치의 장치 등록을 수행하는 동작을 설명하기 위한 흐름도(500)이다.5 is a flowchart 500 illustrating an operation of performing device registration of an electronic device by an electronic device, a first external electronic device, and a second external electronic device according to various embodiments.

다양한 실시예에 따르면, 동작 501 내지 동작 510은 전자 장치(IoT 장치)(201)(예: 도 1의 전자 장치(101) 또는 도 2의 전자 장치(201)), 제1 외부 전자 장치(모바일 장치)(202)(예: 도 1의 전자 장치(102 또는 104) 또는 도 2의 제1 외부 전자 장치(202)) 및 제2 외부 전자 장치(서버 장치)(208)(예: 도 1의 서버(108) 또는 도 2의 제2 외부 전자 장치(208)) 또는 전자 장치(201), 제1 외부 전자 장치(202) 및 제2 외부 전자 장치(208)에 각각 포함되는 프로세서(예: 도 1의 프로세서(120))를 통해 실행될 수 있다. 또한, 전자 장치(201), 제1 외부 전자 장치(202) 및 제2 외부 전자 장치(208)의 각각에는 동작 501 내지 동작 510이 실행되도록 하는 인스트럭션들을 메모리(예: 도 1의 메모리(130))에 저장할 수 있다. 한 실시예에서, 동작 501 내지 동작 510 중 적어도 하나가 생략되거나, 일부 동작들이 동시에 병렬로 수행되거나, 일부 동작들의 순서가 바뀌거나, 다른 동작이 추가될 수 있다.According to various embodiments, operations 501 to 510 may include an electronic device (IoT device) 201 (eg, the electronic device 101 of FIG. 1 or the electronic device 201 of FIG. 2 ), a first external electronic device (mobile device) 202 (eg, the electronic device 102 or 104 of FIG. 1 or the first external electronic device 202 of FIG. 2 ) and a second external electronic device (server device) 208 (eg, the electronic device 102 or 104 of FIG. 1 ) The server 108 or the second external electronic device 208 of FIG. 2) or a processor included in the electronic device 201, the first external electronic device 202, and the second external electronic device 208, respectively 1 processor 120). In addition, each of the electronic device 201, the first external electronic device 202, and the second external electronic device 208 stores instructions for executing operations 501 to 510 (for example, the memory 130 of FIG. 1). ) can be stored. In one embodiment, at least one of operations 501 to 510 may be omitted, some operations may be simultaneously performed in parallel, the order of some operations may be changed, or another operation may be added.

다양한 실시예에 따른 전자 장치(IoT 장치)(201)는, 전자 장치(201)의 메모리(예: 도 1의 메모리(130)) 내에 전자 장치(201)의 장치 등록을 위한 장치 등록 요청 정보를 저장할 수 있다. 예를 들어, 장치 등록 요청 정보는 전자 장치(201)의 생산 과정에서 상기 전자 장치(201)의 장치 등록을 수행할 수 있도록 전자 장치(201)에 부여된 초기 키 정보(예: 출고 시점에 저장된 키 정보)로서 제1 키 정보를 포함할 수 있다. 또한, 제2 외부 전자 장치(서버 장치)(208)에도 상기 전자 장치(201)의 장치 등록을 인증할 수 있도록 상기 제1 키 정보와 동일한 제1 키 정보를 포함하는 장치 등록 인증 정보를 제2 외부 전자 장치(208)의 메모리(예: 도 1의 메모리(130))에 저장할 수 있다. 또한, 제2 외부 전자 장치(208)에는 상기 전자 장치(201)의 장치 등록에 기반하여 업데이트되는 정보로서, 상기 전자 장치(201)에 대한 최초 장치 등록이 수행되기 이전에는 상기 제1 키 정보와 동일한 제1 키 정보를 포함하는 장치 등록 갱신 정보를 제2 외부 전자 장치(208)의 메모리에 저장할 수 있다. 예를 들어, 제2 외부 전자 장치(208)의 메모리에는 상기 전자 장치(201)에 대한 최초 장치 등록이 수행되기 이전에는 상기 전자 장치(201)의 생산 과정에서 상기 전자 장치(201)에 부여된 초기 키 정보로서 상기 제1 키 정보와 동일한 제1 키 정보를 포함하는 상기 장치 등록 인증 정보 및 상기 장치 등록 갱신 정보를 저장할 수 있다.An electronic device (IoT device) 201 according to various embodiments sends device registration request information for device registration of the electronic device 201 into a memory (eg, memory 130 of FIG. 1 ) of the electronic device 201 . can be saved For example, the device registration request information is initial key information assigned to the electronic device 201 to perform device registration of the electronic device 201 during the manufacturing process of the electronic device 201 (eg, stored at the time of shipment). key information) may include first key information. In addition, device registration authentication information including the same first key information as the first key information is also transmitted to the second external electronic device (server device) 208 to authenticate device registration of the electronic device 201. It can be stored in the memory of the external electronic device 208 (eg, the memory 130 of FIG. 1). In addition, the second external electronic device 208 is information updated based on the device registration of the electronic device 201, and the first key information and Device registration update information including the same first key information may be stored in the memory of the second external electronic device 208 . For example, before the first device registration of the electronic device 201 is performed in the memory of the second external electronic device 208, the electronic device 201 is assigned during the production process of the electronic device 201. The device registration authentication information and the device registration renewal information including the same first key information as the first key information may be stored as initial key information.

동작 501에서, 다양한 실시예에 따른 전자 장치(IoT 장치)(201)는, 제1 외부 전자 장치(모바일 장치)(202)를 이용하여 전자 장치(201)의 장치 등록을 제2 외부 전자 장치(서버 장치)(208)에 의해 수행될 수 있도록 하는 장치 등록 요청(또는 장치 등록 요청 메시지)을 제1 외부 전자 장치(모바일 장치)(202)에 전송할 수 있다. 예를 들어, 전자 장치(201)는 제1 외부 전자 장치(202)와 근거리 무선 통신을 연결할 수 있다. 예를 들면, 전자 장치(201)는 전원이 인가되어 부팅이 완료된 상태에서 제1 외부 전자 장치(202)가 근접하는 것에 의해 자동 또는 수동으로 상기 제1 외부 전자 장치(202)와 근거리 무선 통신을 연결할 수 있다. 또는, 전자 장치(201)는 근접한 제1 외부 전자 장치(202)로부터의 연결 요청에 의해 상기 제1 외부 전자 장치(202)와 근거리 무선 통신을 연결할 수 있다.In operation 501, the electronic device (IoT device) 201 according to various embodiments performs device registration of the electronic device 201 using the first external electronic device (mobile device) 202 to a second external electronic device ( A device registration request (or device registration request message) to be performed by the server device 208 may be transmitted to the first external electronic device (mobile device) 202 . For example, the electronic device 201 may connect the first external electronic device 202 and short-range wireless communication. For example, the electronic device 201 automatically or manually performs short-range wireless communication with the first external electronic device 202 when the first external electronic device 202 approaches in a state in which power is applied and booting is completed. can connect Alternatively, the electronic device 201 may establish short-range wireless communication with the first external electronic device 202 in response to a connection request from the first external electronic device 202 .

다양한 실시예에 따르면, 전자 장치(201)는 제1 외부 전자 장치(202)와 근거리 무선 통신이 연결되면, 전자 장치(201)의 메모리 내에 저장된 상기 전자 장치(201)의 장치 등록을 위한 장치 등록 요청 정보를 확인하고, 확인된 장치 등록 요청 정보를 포함하는 장치 등록 요청을 상기 제1 외부 전자 장치(202)에 전송할 수 있다. 예를 들면, 전자 장치(201)는 제1 외부 전자 장치(202)와 근거리 무선 통신이 연결되면, 상기 전자 장치(201)의 상태를 확인할 수 있고, 확인된 상태에 기반하여 상기 장치 등록 요청을 상기 제1 외부 전자 장치(202)에 전송할 수 있다. 예를 들어, 전자 장치(201)는 사용자에 의해 처음 구입된 장치 초기화 상태이거나, 사용자에 의해 수행된 장치 초기화 상태일 수 있으며, 전자 장치(201)의 상태가 장치 초기화 상태인 것이 확인되면, 상기 제1 외부 전자 장치(202)에 장치 등록 요청을 전송할 수 있다. 또는, 전자 장치(201)는 사용자에 의해 초기 장치 설정이 완료된 상태인 경우, 전자 장치(201)의 장치 등록이 수행된 상태인지를 확인하고, 전자 장치(201)의 장치 등록이 미등록 상태인 것이 확인되면, 상기 제1 외부 전자 장치(202)에 장치 등록 요청을 전송할 수 있다.According to various embodiments, when the electronic device 201 is connected to the first external electronic device 202 through short-range wireless communication, device registration for device registration of the electronic device 201 stored in the memory of the electronic device 201 is performed. Request information may be checked, and a device registration request including the checked device registration request information may be transmitted to the first external electronic device 202 . For example, when short-range wireless communication is connected with the first external electronic device 202, the electronic device 201 may check the state of the electronic device 201 and send the device registration request based on the checked state. It can be transmitted to the first external electronic device 202 . For example, the electronic device 201 may be in a device initialization state initially purchased by a user or may be in a device initialization state performed by a user, and when it is confirmed that the electronic device 201 is in a device initialization state, A device registration request may be transmitted to the first external electronic device 202 . Alternatively, when the initial device setting is completed by the user, the electronic device 201 checks whether device registration of the electronic device 201 has been performed, and confirms that the device registration of the electronic device 201 is not registered. If confirmed, a device registration request may be transmitted to the first external electronic device 202 .

다양한 실시예에 따르면, 전자 장치(201)는 전자 장치(201)의 메모리 내에 전자 장치(201)를 식별하기 위한 장치 식별 정보를 저장할 수 있다. 상기 장치 식별 정보는 전자 장치(201)의 생산 과정에서 상기 전자 장치(201)를 고유하게 식별할 수 있도록 부여된 시리얼 번호(serial number)나 해시 코드(hash code)일 수 있다. 전자 장치(201)는 제1 외부 전자 장치(202)로 전송되는 장치 등록 요청에 상기 장치 식별 정보를 포함할 수 있다. 또는, 장치 식별 정보는 전자 장치(201)의 메모리에 저장되지 않고, 전자 장치(201)의 표면이나 박스에 텍스트나 QR 코드로 인쇄된 형태로 사용자에게 제공될 수 있다. 이 경우, 제1 외부 전자 장치(202)에서 전자 장치(201)의 장치 등록을 위해 제공되는 사용자 인터페이스를 통해 사용자가 상기 장치 식별 정보를 직접 입력할 수 있다.According to various embodiments, the electronic device 201 may store device identification information for identifying the electronic device 201 in a memory of the electronic device 201 . The device identification information may be a serial number or hash code assigned to uniquely identify the electronic device 201 during the manufacturing process of the electronic device 201 . The electronic device 201 may include the device identification information in the device registration request transmitted to the first external electronic device 202 . Alternatively, the device identification information may be provided to the user in the form of text or QR code printed on the surface or box of the electronic device 201 without being stored in the memory of the electronic device 201 . In this case, a user may directly input the device identification information through a user interface provided for device registration of the electronic device 201 in the first external electronic device 202 .

동작 502에서, 다양한 실시예에 따른 제1 외부 전자 장치(모바일 장치)(202)는, 전자 장치(201)로부터 전자 장치(201)의 장치 등록 요청을 수신하면, 수신된 장치 등록 요청을 제2 외부 전자 장치(서버 장치)(208)에 전달할 수 있다. 예를 들어, 제1 외부 전자 장치(202)는 상기 전자 장치(201)를 제2 외부 전자 장치(208)에 등록할 수 있도록 지원하는 어플리케이션이 설치되어 있거나, 또는 웹사이트의 접속을 지원할 수 있는 모바일 장치일 수 있다. 예를 들어, 제1 외부 전자 장치(202)는 원거리 통신 네트워크를 통한 원거리 유무선 통신으로 제2 외부 전자 장치(208)에 연결되고, 전자 장치(201)로부터 수신된 장치 등록 요청을 상기 제2 외부 전자 장치(208)에 전달할 수 있다.In operation 502, when receiving a device registration request of the electronic device 201 from the electronic device 201, the first external electronic device (mobile device) 202 according to various embodiments transmits the received device registration request to a second device. It can be transmitted to the external electronic device (server device) 208 . For example, the first external electronic device 202 may have an application for registering the electronic device 201 with the second external electronic device 208 installed, or may support access to a website. It may be a mobile device. For example, the first external electronic device 202 is connected to the second external electronic device 208 through long-distance wired/wireless communication through a long-distance communication network, and transmits a device registration request received from the electronic device 201 to the second external electronic device 202 . It can be transmitted to the electronic device 208 .

동작 503에서, 다양한 실시예에 따른 제2 외부 전자 장치(서버 장치)(208) 는, 전자 장치(201)가 제1 외부 전자 장치(202)를 이용하여 전달하는, 전자 장치(201)의 장치 등록 요청이 수신되면, 상기 전자 장치(201)에 대한 장치 등록을 수행할 수 있다. 예를 들어, 제2 외부 전자 장치(208)는 제1 외부 전자 장치(202)와 원거리 유무선 통신을 연결할 수 있고, 상기 제1 외부 전자 장치(202)로부터 상기 전자 장치(201)의 식별을 위한 장치 식별 정보 및 상기 전자 장치(201)의 장치 등록을 위한 장치 등록 정보를 포함하는 장치 등록 요청을 수신할 수 있다. 예를 들어, 제2 외부 전자 장치(208)는 제1 외부 전자 장치(202)가 연결되면, 제1 외부 전자 장치(202)의 사용자 계정에 기반하여, 사용자에 대한 인증을 수행하고, 상기 사용자에 대한 사용자 인증이 수행되면, 상기 제1 외부 전자 장치(202)로부터 상기 전자 장치(201)에 대한 장치 등록 요청을 수신할 수 있다.In operation 503, the second external electronic device (server device) 208 according to various embodiments transmits information transmitted by the electronic device 201 using the first external electronic device 202, a device of the electronic device 201. When a registration request is received, device registration of the electronic device 201 may be performed. For example, the second external electronic device 208 may connect the first external electronic device 202 through long-distance wired/wireless communication, and for identification of the electronic device 201 from the first external electronic device 202. A device registration request including device identification information and device registration information for device registration of the electronic device 201 may be received. For example, when the first external electronic device 202 is connected, the second external electronic device 208 performs user authentication based on the user account of the first external electronic device 202, and the user When user authentication for is performed, a device registration request for the electronic device 201 may be received from the first external electronic device 202 .

다양한 실시예에 따르면, 제2 외부 전자 장치(208)는 전자 장치(201)에 대한 장치 등록 요청에 기반하여, 제2 외부 전자 장치(208)의 메모리에 저장된 상기 전자 장치(201)의 장치 등록을 인증하기 위한 장치 등록 인증 정보를 확인할 수 있다. 예를 들어, 제2 외부 전자 장치(208)는 상기 장치 등록 요청에 포함된 전자 장치(201)의 장치 식별 정보를 확인하고, 확인된 장치 식별 정보에 대응하는 장치 등록 인증 정보를 확인할 수 있다. 제2 외부 전자 장치(208)는 확인된 장치 등록 인증 정보 및 전자 장치(201)의 장치 등록 요청 정보에 포함된 키 정보를 비교하여, 상호 일치하면, 상기 전자 장치(201)에 대한 장치 등록을 수행할 수 있다. 또는, 제2 외부 전자 장치(208)는 확인된 장치 등록 인증 정보 및 전자 장치(201)의 장치 등록 요청 정보에 포함된 키 정보가 일치하지 않으면, 상기 전자 장치(201)에 대한 장치 등록을 거절할 수 있다. 예를 들면, 제2 외부 전자 장치(208)의 메모리에 저장된 장치 등록 인증 정보에는 제1 키 정보가 포함될 수 있고, 상기 장치 등록 요청 정보에 제1 키 정보가 포함될 경우, 제2 외부 전자 장치(208)는 전자 장치(201)에 대한 장치 등록을 수행할 수 있다.According to various embodiments, the second external electronic device 208 registers the device of the electronic device 201 stored in the memory of the second external electronic device 208 based on a device registration request to the electronic device 201 . You can check the device registration authentication information for authentication. For example, the second external electronic device 208 may check device identification information of the electronic device 201 included in the device registration request, and check device registration authentication information corresponding to the checked device identification information. The second external electronic device 208 compares the checked device registration authentication information and the key information included in the device registration request information of the electronic device 201, and if they match, device registration of the electronic device 201 is performed. can be done Alternatively, the second external electronic device 208 rejects device registration for the electronic device 201 when the checked device registration authentication information and the key information included in the device registration request information of the electronic device 201 do not match. can do. For example, device registration authentication information stored in the memory of the second external electronic device 208 may include first key information, and when the device registration request information includes the first key information, the second external electronic device ( 208 ) may perform device registration for the electronic device 201 .

다양한 실시예에 따르면, 제2 외부 전자 장치(208)는 전자 장치(201)에 대한 장치 등록을 수행하는 과정에서, 제2 외부 전자 장치(208)의 메모리에 저장된 전자 장치(201)에 대응하는 장치 등록 갱신 정보를 확인할 수 있다. 제2 외부 전자 장치(208)는 확인된 장치 등록 갱신 정보 및 전자 장치(201)의 장치 등록 요청에 포함된 키 정보를 비교하여, 상호 일치하면, 상기 제2 외부 전자 장치(208)의 메모리에 저장된 장치 등록 갱신 정보를 새로 생성된 장치 등록 갱신 정보로 업데이트하여 저장할 수 있다. 예를 들면, 제2 외부 전자 장치(208)의 메모리에 저장된 장치 등록 갱신 정보에는 제1 키 정보가 포함될 수 있고, 상기 장치 등록 요청 정보에 제1 키 정보가 포함될 경우, 제2 외부 전자 장치(208)는 제2 키 정보를 생성하고, 제2 외부 전자 장치(208)의 메모리에 저장된 장치 등록 갱신 정보에 포함된 제1 키 정보를 상기 생성된 제2 키 정보로 업데이트하여 저장할 수 있다.According to various embodiments, in the process of performing device registration on the electronic device 201, the second external electronic device 208 corresponds to the electronic device 201 stored in the memory of the second external electronic device 208. Device registration update information can be checked. The second external electronic device 208 compares the checked device registration update information and the key information included in the device registration request of the electronic device 201, and if they match, the key information is stored in the memory of the second external electronic device 208. Stored device registration update information may be updated and stored with newly generated device registration update information. For example, device registration update information stored in the memory of the second external electronic device 208 may include first key information, and when the device registration request information includes the first key information, the second external electronic device ( 208 ) may generate second key information, update first key information included in device registration update information stored in the memory of the second external electronic device 208 to the generated second key information, and store the updated key information.

동작 504에서, 다양한 실시예에 따른 제2 외부 전자 장치(서버 장치)(208)는, 전자 장치(201)에 대한 장치 등록 결과를 제1 외부 전자 장치(모바일 장치)(202)에 통보할 수 있다. 예를 들어, 제2 외부 전자 장치(208)는 전자 장치(201)에 대한 장치 등록이 수행되면, 장치 등록이 성공됨을 나타내는 메시지를 제1 외부 전자 장치(202)에 통보할 수 있다. 또는, 제2 외부 전자 장치(208)는 전자 장치(201)에 대한 장치 등록이 거절되면, 장치 등록이 거절됨을 나타내는 메시지를 제1 외부 전자 장치(202)에 통보할 수 있다. In operation 504, the second external electronic device (server device) 208 according to various embodiments may notify the first external electronic device (mobile device) 202 of a device registration result for the electronic device 201. there is. For example, when device registration for the electronic device 201 is performed, the second external electronic device 208 may notify the first external electronic device 202 of a message indicating that the device registration is successful. Alternatively, when the device registration of the electronic device 201 is rejected, the second external electronic device 208 may notify the first external electronic device 202 of a message indicating that the device registration is rejected.

동작 505에서, 제1 외부 전자 장치(202)는 제2 외부 전자 장치(208)로부터 장치 등록 결과가 수신되면, 수신된 장치 등록 결과를 전자 장치(201)에 전달할 수 있다.In operation 505 , when a device registration result is received from the second external electronic device 208 , the first external electronic device 202 may transmit the received device registration result to the electronic device 201 .

동작 506에서, 다양한 실시예에 따른 전자 장치(IoT 장치)(201)는, 제2 외부 전자 장치(서버 장치)(208)에 원거리 통신 네트워크(199)를 통한 원거리 유무선 통신을 연결할 수 있다. 예를 들어, 전자 장치(201)는 초기 장치 설정을 수행하거나, 제1 외부 전자 장치(202)를 이용하여 장치 등록 요청을 전송하고, 장치 등록 결과를 확인하여 원거리 통신 네트워크(199)의 사용이 가능한 상태에서 전자 장치(201)가 동작하는 것에 의해 자동 또는 수동으로 상기 제2 외부 전자 장치(208)에 원거리 유무선 통신을 연결할 수 있다.In operation 506, the electronic device (IoT device) 201 according to various embodiments may connect the second external electronic device (server device) 208 through long-distance wired/wireless communication through the telecommunication network 199. For example, the electronic device 201 performs initial device setting, transmits a device registration request using the first external electronic device 202, and confirms the device registration result so that the use of the telecommunications network 199 is confirmed. When the electronic device 201 operates in a possible state, remote wired/wireless communication may be automatically or manually connected to the second external electronic device 208 .

동작 507에서, 다양한 실시예에 따른 전자 장치(IoT 장치)(201)는, 제2 외부 전자 장치(208)와 원거리 유무선 통신이 연결되면, 전자 장치(201)의 등록에 기반하여 업데이트되는 장치 등록 갱신 정보(예: 제2 키)를 상기 제2 외부 전자 장치(208)로부터 수신할 수 있다. 예를 들어, 전자 장치(201)는 전자 장치(201)의 장치 등록을 위한 장치 등록 요청을 전송하고, 장치 등록 결과를 확인한 이후, 처음으로 제2 외부 전자 장치(208)와 연결될 때, 제2 외부 전자 장치(208)로부터 상기 장치 등록 갱신 정보를 수신할 수 있다.In operation 507, when the electronic device (IoT device) 201 according to various embodiments is connected to the second external electronic device 208 through long-distance wired/wireless communication, the device registration is updated based on the registration of the electronic device 201. Update information (eg, a second key) may be received from the second external electronic device 208 . For example, when the electronic device 201 transmits a device registration request for device registration of the electronic device 201 and checks the device registration result, when connected to the second external electronic device 208 for the first time, The device registration renewal information may be received from the external electronic device 208 .

동작 508에서, 다양한 실시예에 따른 전자 장치(IoT 장치)(201)는, 수신된 장치 등록 갱신 정보를 전자 장치(201)의 메모리에 저장할 수 있다. 예를 들어, 전자 장치(201)는 수신된 장치 등록 갱신 정보를 상기 장치 등록 요청 정보로서 상기 전자 장치(201)의 메모리에 업데이트하여 저장할 수 있다. 예를 들면, 전자 장치(201)의 장치 등록 요청 이전에 상기 전자 장치(201)의 메모리에 저장된 장치 등록 요청 정보에는 제1 키 정보가 포함될 수 있고, 제2 외부 전자 장치(208)로부터 수신된 장치 등록 갱신 정보에는 제2 키 정보가 포함될 경우, 전자 장치(201)는 상기 장치 등록 요청 정보에 포함된 제1 키 정보를 상기 장치 등록 갱신 정보에 포함된 제2 키 정보로 업데이트하여 저장할 수 있다.In operation 508, the electronic device (IoT device) 201 according to various embodiments may store the received device registration update information in the memory of the electronic device 201. For example, the electronic device 201 may update and store the received device registration update information in the memory of the electronic device 201 as the device registration request information. For example, the device registration request information stored in the memory of the electronic device 201 prior to the device registration request of the electronic device 201 may include first key information, and the first key information received from the second external electronic device 208 If the device registration update information includes second key information, the electronic device 201 may update and store the first key information included in the device registration request information as second key information included in the device registration update information. .

동작 509에서, 다양한 실시예에 따른 전자 장치(IoT 장치)(201)는, 상기 장치 등록 요청 정보가 업데이트되는 것(또는 장치 등록 갱신 정보의 수신)에 기반하여, 상기 장치 등록 요청 정보의 업데이트에 대한 신호(또는 장치 등록 갱신 정보의 수신 확인에 대한 신호)를 상기 제2 외부 전자 장치(208)에 전송할 수 있다.In operation 509, the electronic device (IoT device) 201 according to various embodiments updates the device registration request information based on the update of the device registration request information (or reception of the device registration update information). A signal for confirmation (or a signal for confirmation of receipt of device registration update information) may be transmitted to the second external electronic device 208 .

동작 510에서, 다양한 실시예에 따른 제2 외부 전자 장치(서버 장치)(208)는, 전자 장치(201)로 장치 등록 갱신 정보를 전송하는 것에 응답하여, 상기 전자 장치(201)로부터 장치 등록 요청 정보의 업데이트에 대한 신호를 수신할 수 있고, 상기 신호의 수신에 기반하여, 제2 외부 전자 장치(208)의 메모리에 저장된 전자 장치(201)에 대응하는 장치 등록 인증 정보를 장치 등록 갱신 정보로 동기화하여 저장할 수 있다. 그러면, 전자 장치(201)의 메모리에 저장된 장치 등록 요청 정보와 제2 외부 전자 장치(208)의 메모리에 저장된 상기 전자 장치(201)에 대한 장치 등록 인증 정보 및 장치 등록 갱신 정보가 모두 상기 전자 장치(201)의 등록에 기반하여 생성된 제2 키 정보로 동기화하여 저장할 수 있다.In operation 510, the second external electronic device (server device) 208 according to various embodiments requests a device registration from the electronic device 201 in response to transmitting device registration update information to the electronic device 201. A signal for information update may be received, and based on the reception of the signal, device registration authentication information corresponding to the electronic device 201 stored in the memory of the second external electronic device 208 is converted to device registration update information. You can sync and save. Then, both the device registration request information stored in the memory of the electronic device 201 and the device registration authentication information and device registration update information about the electronic device 201 stored in the memory of the second external electronic device 208 are the electronic device It can be synchronized and stored with the second key information generated based on the registration of step (201).

도 6은 다양한 실시예들에 따른 전자 장치, 제1 외부 전자 장치 및 제2 외부 전자 장치가 전자 장치의 장치 초기화 후 장치 등록을 수행하는 동작을 설명하기 위한 흐름도(600)이다.6 is a flowchart 600 illustrating an operation of performing device registration after device initialization of an electronic device by an electronic device, a first external electronic device, and a second external electronic device according to various embodiments.

다양한 실시예에 따르면, 동작 601 내지 동작 611은 전자 장치(IoT 장치)(201)(예: 도 1의 전자 장치(101) 또는 도 2의 전자 장치(201)), 제1 외부 전자 장치(모바일 장치)(202)(예: 도 1의 전자 장치(102, 또는 104) 또는 도 2의 제1 외부 전자 장치(202)) 및 제2 외부 전자 장치(서버 장치)(208)(예: 도 1의 서버(108) 또는 도 2의 제2 외부 전자 장치(208)) 또는 전자 장치(201), 제1 외부 전자 장치(202) 및 제2 외부 전자 장치(208)에 각각 포함되는 프로세서(예: 도 1의 프로세서(120))를 통해 실행될 수 있다. 또한, 전자 장치(201), 제1 외부 전자 장치(202) 및 제2 외부 전자 장치(208)의 각각에는 동작 601 내지 동작 611이 실행되도록 하는 인스트럭션들을 메모리(예: 도 1의 메모리(130))에 저장할 수 있다. 한 실시예에서, 동작 601 내지 동작 611 중 적어도 하나가 생략되거나, 일부 동작들이 동시에 병렬로 수행되거나, 일부 동작들의 순서가 바뀌거나, 다른 동작이 추가될 수 있다.According to various embodiments, operations 601 to 611 include an electronic device (IoT device) 201 (eg, the electronic device 101 of FIG. 1 or the electronic device 201 of FIG. 2 ), a first external electronic device (mobile device) 202 (eg, the electronic device 102 or 104 in FIG. 1 or the first external electronic device 202 in FIG. 2) and a second external electronic device (server device) 208 (eg, FIG. 1 of the server 108 or the second external electronic device 208 of FIG. 2 ) or a processor included in the electronic device 201, the first external electronic device 202, and the second external electronic device 208, respectively (eg: It may be executed through the processor 120 of FIG. 1 . In addition, each of the electronic device 201, the first external electronic device 202, and the second external electronic device 208 stores instructions for executing operations 601 to 611 (eg, the memory 130 of FIG. 1). ) can be stored. In one embodiment, at least one of operations 601 to 611 may be omitted, some operations may be simultaneously performed in parallel, the order of some operations may be changed, or another operation may be added.

다양한 실시예에 따른 전자 장치(IoT 장치)(201)의 메모리(예: 도 1의 메모리(130)) 내에 저장된 장치 등록 요청 정보에는 전자 장치(201)의 장치 등록에 기반하여 업데이트된 키 정보로서 제2 키 정보를 포함할 수 있다. 또한, 제2 외부 전자 장치(서버 장치)(208)의 메모리(예: 도 1의 메모리(130)) 내에 저장된 상기 전자 장치(201)에 대응하는 장치 등록 인증 정보 및 장치 등록 갱신 정보에도 상기 전자 장치(201)의 장치 등록에 기반하여 업데이트된 키 정보로서 제2 키 정보를 포함할 수 있다.In the device registration request information stored in the memory (eg, the memory 130 of FIG. 1 ) of the electronic device (IoT device) 201 according to various embodiments, as key information updated based on the device registration of the electronic device 201 Second key information may be included. In addition, the device registration authentication information and device registration renewal information corresponding to the electronic device 201 stored in the memory (eg, the memory 130 of FIG. 1) of the second external electronic device (server device) 208 also include the electronic device registration information. Second key information may be included as key information updated based on device registration of the device 201 .

동작 601에서, 다양한 실시예에 따른 전자 장치(IoT 장치)(201)는 전자 장치(201)의 상태를 장치 초기화 상태로 변경할 수 있다. 예를 들어, 전자 장치(201)는 사용자의 필요(예: 다른 사용자에게 전자 장치가 양도된 경우)에 따라 장치 초기화 상태로 변경할 수 있다. 예를 들어, 전자 장치(201)는 전자 장치(201)의 장치 초기화를 수행하기 위해 별도의 H/W적 또는 S/W적으로 구성된 장치 초기화 버튼이 마련될 수 있고, 사용자가 상기 장치 초기화 버튼을 누르는 것에 의해 전자 장치(201)의 장치 초기화가 수행될 수 있다. 전자 장치(201)의 상태가 장치 초기화 상태로 변경되면, 전자 장치(201)에 대해 기존에 설정된 장치 설정이나 장치 등록이 초기화될 수 있다. 다양한 실시예에 따르면, 전자 장치(201)는 장치 초기화 상태로 변경되는 경우, 전자 장치(201)의 메모리 내에 저장된 전자 장치(201)의 사용에 따라 축적된 데이터가 삭제될 수 있으나, 전자 장치(201)의 장치 등록을 위한 장치 등록 요청 정보와 전자 장치(201)의 식별을 위한 장치 식별 정보는 삭제되지 않고 유지될 수 있다. 예를 들어, 장치 등록 요청 정보 및 장치 식별 정보는 상기 전자 장치(201)의 메모리에 S/W적으로 마련되어 있는 Trustzone과 같은 별도의 보안 영역에 저장되거나, 별도의 H/W적으로 구성된 보안 메모리에 저장될 수 있다.In operation 601, the electronic device (IoT device) 201 according to various embodiments may change the state of the electronic device 201 to a device initialization state. For example, the electronic device 201 may change to a device initialization state according to a user's need (eg, when the electronic device is transferred to another user). For example, the electronic device 201 may have a separate H/W or S/W configured device initialization button to perform device initialization of the electronic device 201, and the user presses the device initialization button. Device initialization of the electronic device 201 may be performed by pressing . When the state of the electronic device 201 is changed to the device initialization state, device settings or device registration previously set for the electronic device 201 may be initialized. According to various embodiments, when the electronic device 201 is changed to a device initialization state, data accumulated according to the use of the electronic device 201 stored in the memory of the electronic device 201 may be deleted, but the electronic device 201 ( Device registration request information for device registration of 201) and device identification information for identification of the electronic device 201 may be maintained without being deleted. For example, the device registration request information and device identification information are stored in a separate security area such as a trustzone provided in a software manner in the memory of the electronic device 201 or a secure memory configured in a separate H/W manner. can be stored in

다양한 실시예에 따르면, 전자 장치(201)는 전자 장치(201)의 메모리 내에 전자 장치(201)의 장치 초기화 카운트를 나타내는 장치 초기화 카운트 정보를 저장할 수 있다. 전자 장치(201)(예: 도 1의 프로세서(120))는, 전자 장치(201)가 장치 초기화되는 것이 감지된 경우, 상기 장치 초기화 카운트를 1 증가시킨 장치 초기화 카운트 정보를 상기 전자 장치(201)의 메모리에 업데이트하여 저장할 수 있다. 예를 들어, 장치 초기화 카운트 정보는 전자 장치(201)가 초기화되었음을 나타낼 수 있는 정보로서, 제2 외부 전자 장치(208)가 상기 장치 초기화 카운트 정보를 확인하는 것에 의해 전자 장치(201)의 장치 초기화 여부를 판단할 수 있고, 전자 장치(201)의 장치 초기화 여부에 기반하여, 제2 외부 전자 장치(208)에 등록된 전자 장치(201)의 등록을 해제할 수 있도록 하기 위함이다. 또한, 전자 장치(201)는 제2 외부 전자 장치(208)와 원거리 유무선 통신이 연결된 경우, 상기 업데이트된 장치 초기화 카운트 정보를 상기 제2 외부 전자 장치(208)에 전송할 수 있다.According to various embodiments, the electronic device 201 may store device initialization count information representing the device initialization count of the electronic device 201 in a memory of the electronic device 201 . When the electronic device 201 (eg, the processor 120 of FIG. 1 ) detects that the electronic device 201 is being initialized, the device initialization count information obtained by incrementing the device initialization count by 1 is transmitted to the electronic device 201 . ) can be updated and stored in memory. For example, the device initialization count information is information indicating that the electronic device 201 has been initialized, and when the second external electronic device 208 checks the device initialization count information, the device initialization of the electronic device 201 is performed. This is to determine whether or not the electronic device 201 has been initialized, and to deregister the electronic device 201 registered to the second external electronic device 208 based on whether or not the electronic device 201 is initialized. In addition, the electronic device 201 may transmit the updated device initialization count information to the second external electronic device 208 when long-distance wired/wireless communication is connected with the second external electronic device 208 .

동작 602에서, 다양한 실시예에 따른 전자 장치(IoT 장치)(201)(예: 도 1의 프로세서(120))는, 제1 외부 전자 장치(모바일 장치)(예: 도 1의 전자 장치(102 또는 104) 또는 도 2의 제1 외부 전자 장치(202))를 이용하여 전자 장치(201)의 장치 등록을 제2 외부 전자 장치(서버 장치)(208)에 의해 수행될 수 있도록 하는 장치 등록 요청(또는 장치 등록 요청 메시지)을 제1 외부 전자 장치(모바일 장치)(202)에 전송할 수 있다. 예를 들어, 전자 장치(201)는 전자 장치(201)의 상태가 장치 초기화 상태인 것이 확인되면, 상기 제1 외부 전자 장치(202)에 장치 등록 요청을 전송할 수 있다. 또는, 전자 장치(201)는 사용자에 의해 초기 장치 설정이 완료된 상태인 경우, 전자 장치(201)의 장치 등록이 수행된 상태인지를 확인하고, 전자 장치(201)의 장치 등록이 미등록 상태인 것이 확인되면, 상기 제1 외부 전자 장치(202)에 장치 등록 요청을 전송할 수 있다.In operation 602, an electronic device (IoT device) 201 (eg, the processor 120 of FIG. 1 ) according to various embodiments, a first external electronic device (mobile device) (eg, the electronic device 102 of FIG. 1 ) or 104) or a device registration request for performing device registration of the electronic device 201 by the second external electronic device (server device) 208 using the first external electronic device 202 of FIG. 2 ) (or a device registration request message) may be transmitted to the first external electronic device (mobile device) 202 . For example, when it is confirmed that the electronic device 201 is in a device initialization state, the electronic device 201 may transmit a device registration request to the first external electronic device 202 . Alternatively, when the initial device setting is completed by the user, the electronic device 201 checks whether device registration of the electronic device 201 has been performed, and confirms that the device registration of the electronic device 201 is not registered. If confirmed, a device registration request may be transmitted to the first external electronic device 202 .

동작 603에서, 다양한 실시예에 따른 제1 외부 전자 장치(모바일 장치)(202)는, 전자 장치(201)로부터 전자 장치(201)의 장치 등록 요청을 수신하면, 수신된 장치 등록 요청을 제2 외부 전자 장치(서버 장치)(208)에 전달할 수 있다.In operation 603, upon receiving a device registration request of the electronic device 201 from the electronic device 201, the first external electronic device (mobile device) 202 according to various embodiments transmits the received device registration request to the second external electronic device 202. It can be transmitted to the external electronic device (server device) 208 .

동작 604에서, 다양한 실시예에 따른 제2 외부 전자 장치(서버 장치)(208)는, 전자 장치(201)가 제1 외부 전자 장치(202)를 이용하여 전달하는 전자 장치(201)의 장치 등록 요청이 수신되면, 상기 전자 장치(201)에 대한 장치 등록을 수행할 수 있다.In operation 604, the second external electronic device (server device) 208 according to various embodiments registers the electronic device 201 transmitted by the electronic device 201 using the first external electronic device 202. When the request is received, device registration of the electronic device 201 may be performed.

다양한 실시예에 따르면, 제2 외부 전자 장치(208)는 수신된 장치 등록 요청에 기반하여, 제2 외부 전자 장치(208)의 메모리(예: 도 1의 메모리(130))에 저장된 장치 등록 인증 정보를 확인하고, 확인된 장치 등록 인증 정보와 장치 등록 요청 정보에 포함된 키 정보가 모두 제2 키 정보인 것이 확인되면, 상기 전자 장치(201)의 장치 등록을 수행할 수 있다. 또한, 제2 외부 전자 장치(208)는 수신된 장치 등록 요청에 기반하여, 상기 제2 외부 전자 장치(208)의 메모리에 저장된 상기 전자 장치(201)의 정보에 대응하는 장치 등록 갱신 정보를 확인하고, 확인된 장치 등록 갱신 정보와 상기 장치 등록 요청 정보에 포함된 키 정보가 모두 제2 키 정보인 것이 확인되면, 제3 키 정보를 생성하고, 상기 제2 외부 전자 장치(208)의 메모리에 저장된 장치 등록 갱신 정보에 포함된 제2 키 정보를 상기 생성된 제3 키 정보로 업데이트하여 저장할 수 있다.According to various embodiments, the second external electronic device 208 performs device registration authentication stored in a memory (eg, memory 130 of FIG. 1 ) of the second external electronic device 208 based on the received device registration request. When the information is checked and it is confirmed that both the checked device registration authentication information and the key information included in the device registration request information are second key information, device registration of the electronic device 201 can be performed. In addition, the second external electronic device 208 checks device registration update information corresponding to the information of the electronic device 201 stored in the memory of the second external electronic device 208 based on the received device registration request. and when it is confirmed that both the checked device registration renewal information and the key information included in the device registration request information are second key information, third key information is generated and stored in the memory of the second external electronic device 208. The second key information included in the stored device registration update information may be updated and stored as the generated third key information.

동작 605에서, 다양한 실시예에 따른 제2 외부 전자 장치(서버 장치)(208)는, 전자 장치(201)에 대한 장치 등록 결과(또는 장치 등록 요청의 수신 확인에 대한 신호)를 제1 외부 전자 장치(모바일 장치)(202)에 통보할 수 있다. In operation 605, the second external electronic device (server device) 208 according to various embodiments sends a device registration result (or a signal for confirmation of receipt of the device registration request) to the electronic device 201 to the first external electronic device. The device (mobile device) 202 may be notified.

동작 606에서, 제1 외부 전자 장치(202)는 제2 외부 전자 장치(208)로부터 장치 등록 결과가 수신되면, 수신된 장치 등록 결과를 전자 장치(201)에 전달할 수 있다.In operation 606 , when a device registration result is received from the second external electronic device 208 , the first external electronic device 202 may transfer the received device registration result to the electronic device 201 .

동작 607에서, 다양한 실시예에 따른 전자 장치(IoT 장치)(201)는, 제2 외부 전자 장치(서버 장치)(208)에 원거리 통신 네트워크(199)를 통한 원거리 유무선 통신을 연결할 수 있다.In operation 607, the electronic device (IoT device) 201 according to various embodiments may connect the second external electronic device (server device) 208 through long-distance wired/wireless communication through the telecommunication network 199.

동작 608에서, 다양한 실시예에 따른 전자 장치(IoT 장치)(201)는, 제2 외부 전자 장치(208)와 원거리 유무선 통신이 연결되면, 전자 장치(201)의 등록에 기반하여 업데이트되는 장치 등록 갱신 정보를 상기 제2 외부 전자 장치(208)로부터 수신할 수 있다. 예를 들어, 전자 장치(201)는 전자 장치(201)의 장치 등록을 위한 장치 등록 요청을 전송하고, 장치 등록 결과를 확인한 이후, 처음으로 제2 외부 전자 장치(208)와 연결될 때, 제2 외부 전자 장치(208)로부터 상기 장치 등록 갱신 정보를 수신할 수 있다.In operation 608, when the electronic device (IoT device) 201 according to various embodiments is connected to the second external electronic device 208 through long-distance wired/wireless communication, the device registration is updated based on the registration of the electronic device 201. Update information may be received from the second external electronic device 208 . For example, when the electronic device 201 transmits a device registration request for device registration of the electronic device 201 and checks the device registration result, when connected to the second external electronic device 208 for the first time, The device registration renewal information may be received from the external electronic device 208 .

동작 609에서, 다양한 실시예에 따른 전자 장치(IoT 장치)(201)는, 수신된 장치 등록 갱신 정보를 전자 장치(201)의 메모리에 저장할 수 있다. 예를 들어, 전자 장치(201)는 수신된 장치 등록 갱신 정보를 상기 장치 등록 요청 정보로서 상기 전자 장치(201)의 메모리에 업데이트하여 저장할 수 있다. 예를 들면, 전자 장치(201)의 장치 등록 요청 이전에 상기 전자 장치(201)의 메모리에 저장된 장치 등록 요청 정보에는 제2 키 정보가 포함될 수 있고, 제2 외부 전자 장치(208)로부터 수신된 장치 등록 갱신 정보에는 제3 키 정보가 포함될 경우, 전자 장치(201)는 상기 장치 등록 요청 정보에 포함된 제2 키 정보를 상기 장치 등록 갱신 정보에 포함된 제3 키 정보로 업데이트하여 저장할 수 있다.In operation 609, the electronic device (IoT device) 201 according to various embodiments may store the received device registration update information in the memory of the electronic device 201. For example, the electronic device 201 may update and store the received device registration update information in the memory of the electronic device 201 as the device registration request information. For example, the device registration request information stored in the memory of the electronic device 201 prior to the device registration request of the electronic device 201 may include second key information, and the second key information received from the second external electronic device 208 When third key information is included in the device registration update information, the electronic device 201 may update and store second key information included in the device registration request information as third key information included in the device registration update information. .

동작 610에서, 다양한 실시예에 따른 전자 장치(IoT 장치)(201)는, 상기 장치 등록 요청 정보가 업데이트되는 것(또는 장치 등록 갱신 정보의 수신)에 기반하여, 상기 장치 등록 요청 정보의 업데이트에 대한 신호(또는 장치 등록 갱신 정보의 수신 확인에 대한 신호)를 상기 제2 외부 전자 장치(208)에 전송할 수 있다.In operation 610, the electronic device (IoT device) 201 according to various embodiments updates the device registration request information based on the updating of the device registration request information (or reception of the device registration update information). A signal for confirmation (or a signal for confirmation of receipt of device registration update information) may be transmitted to the second external electronic device 208 .

동작 611에서, 다양한 실시예에 따른 제2 외부 전자 장치(서버 장치)(208)는, 전자 장치(201)에 장치 등록 갱신 정보를 전송하는 것에 응답하여, 상기 전자 장치(201)로부터 장치 등록 요청 정보의 업데이트에 대한 신호를 수신할 수 있고, 상기 신호의 수신에 응답하여, 제2 외부 전자 장치(208)의 메모리에 저장된 전자 장치(201)에 대응하는 장치 등록 인증 정보를 장치 등록 갱신 정보로 동기화하여 저장할 수 있다. 그러면, 전자 장치(201)의 메모리에 저장된 장치 등록 요청 정보와 제2 외부 전자 장치(208)의 메모리에 저장된 상기 전자 장치(201)에 대한 장치 등록 인증 정보 및 장치 등록 갱신 정보가 모두 상기 전자 장치(201)의 등록에 기반하여 생성된 제3 키 정보로 동기화하여 저장할 수 있다.In operation 611, the second external electronic device (server device) 208 according to various embodiments requests a device registration from the electronic device 201 in response to transmitting device registration update information to the electronic device 201. A signal for information update may be received, and in response to receiving the signal, device registration authentication information corresponding to the electronic device 201 stored in the memory of the second external electronic device 208 is converted to device registration update information. You can sync and save. Then, both the device registration request information stored in the memory of the electronic device 201 and the device registration authentication information and device registration update information about the electronic device 201 stored in the memory of the second external electronic device 208 are the electronic device It can be synchronized and stored with the third key information generated based on the registration of (201).

도 7은 다양한 실시예들에 따른 전자 장치, 제1 외부 전자 장치 및 제2 외부 전자 장치가 전자 장치의 장치 등록 후 동기화되지 않은 상태에서 다른 사용자에 의해 장치 초기화 후 장치 등록을 수행하는 동작을 설명하기 위한 흐름도(700)이다.7 illustrates an operation of performing device registration after device initialization by another user in a state in which an electronic device, a first external electronic device, and a second external electronic device are not synchronized after device registration of the electronic device according to various embodiments. It is a flow chart 700 for doing.

다양한 실시예에 따르면, 동작 701 내지 동작 716은 전자 장치(IoT 장치)(201)(예: 도 1의 전자 장치(101) 또는 도 2의 전자 장치(201)), 제1 외부 전자 장치(모바일 장치)(202a)(예: 도 1의 전자 장치(102 또는 104) 또는 도 2의 제1 외부 전자 장치(202)), 제2 외부 전자 장치(서버 장치)(208)(예: 도 1의 서버(108) 또는 도 2의 제2 외부 전자 장치(208)) 및 제3 외부 전자 장치(모바일 장치)(202b)(예: 도 1의 전자 장치(102 또는 104) 또는 도 2의 제1 외부 전자 장치(202)) 또는 전자 장치(201), 제1 외부 전자 장치(202a), 제2 외부 전자 장치(208) 및 제3 외부 전자 장치(202b)에 각각 포함되는 프로세서(예: 도 1의 프로세서(120))를 통해 실행될 수 있다. 또한, 전자 장치(201), 제1 외부 전자 장치(202a), 제2 외부 전자 장치(208) 및 제3 외부 전자 장치(202b)의 각각에는 동작 701 내지 동작 716이 실행되도록 하는 인스트럭션들을 메모리(예: 도 1의 메모리(130))에 저장할 수 있다. 한 실시예에서, 동작 701 내지 동작 716 중 적어도 하나가 생략되거나, 일부 동작들이 동시에 병렬로 수행되거나, 일부 동작들의 순서가 바뀌거나, 다른 동작이 추가될 수 있다.According to various embodiments, operations 701 to 716 may include an electronic device (IoT device) 201 (eg, the electronic device 101 of FIG. 1 or the electronic device 201 of FIG. 2 ), a first external electronic device (mobile device) 202a (eg, the electronic device 102 or 104 of FIG. 1 or the first external electronic device 202 of FIG. 2 ), a second external electronic device (server device) 208 (eg, the electronic device 102 or 104 of FIG. 1 ) Server 108 or second external electronic device 208 in FIG. 2) and third external electronic device (mobile device) 202b (eg, electronic device 102 or 104 in FIG. 1 or first external electronic device in FIG. 2) Processors (eg, those included in the electronic device 202) or the electronic device 201, the first external electronic device 202a, the second external electronic device 208, and the third external electronic device 202b, respectively It may be executed through the processor 120). In addition, each of the electronic device 201, the first external electronic device 202a, the second external electronic device 208, and the third external electronic device 202b stores instructions for executing operations 701 to 716 ( Example: may be stored in the memory 130 of FIG. 1 . In one embodiment, at least one of operations 701 to 716 may be omitted, some operations may be simultaneously performed in parallel, the order of some operations may be changed, or another operation may be added.

다양한 실시예에 따른 전자 장치(IoT 장치)(201)의 메모리(예: 도 1의 메모리(130)) 내에 저장된 장치 등록 요청 정보에는 전자 장치(201)의 장치 등록에 기반하여 업데이트된 키 정보로서 제2 키 정보를 포함할 수 있다. 또한, 제2 외부 전자 장치(서버 장치)(208)의 메모리(예: 도 1의 메모리(130)) 내에 저장된 상기 전자 장치(201)에 대응하는 장치 등록 인증 정보 및 장치 등록 갱신 정보에도 상기 전자 장치(201)의 장치 등록에 기반하여 업데이트된 키 정보로서 제2 키 정보를 포함할 수 있다.In the device registration request information stored in the memory (eg, the memory 130 of FIG. 1 ) of the electronic device (IoT device) 201 according to various embodiments, as key information updated based on the device registration of the electronic device 201 Second key information may be included. In addition, the device registration authentication information and device registration renewal information corresponding to the electronic device 201 stored in the memory (eg, the memory 130 of FIG. 1) of the second external electronic device (server device) 208 also include the electronic device registration information. Second key information may be included as key information updated based on device registration of the device 201 .

동작 701에서, 다양한 실시예에 따른 전자 장치(IoT 장치)(201)는 전자 장치(201)의 상태를 장치 초기화 상태로 변경할 수 있다. 예를 들어, 전자 장치(201)는 사용자의 필요(예: 다른 사용자에게 전자 장치가 양도된 경우)에 따라 장치 초기화 상태로 변경할 수 있다.In operation 701, the electronic device (IoT device) 201 according to various embodiments may change the state of the electronic device 201 to a device initialization state. For example, the electronic device 201 may change to a device initialization state according to a user's need (eg, when the electronic device is transferred to another user).

동작 702에서, 다양한 실시예에 따른 전자 장치(IoT 장치)(201)는, 제1 외부 전자 장치(모바일 장치)(202a)(예: 도 1의 전자 장치(102 또는 104) 또는 도 2의 제1 외부 전자 장치(202))를 이용하여 전자 장치(201)의 장치 등록을 제2 외부 전자 장치(서버 장치)(208)에 의해 수행될 수 있도록 하는 장치 등록 요청(또는 장치 등록 요청 메시지)을 제1 외부 전자 장치(모바일 장치)(202a)에 전송할 수 있다.In operation 702, the electronic device (IoT device) 201 according to various embodiments of the present disclosure sends a first external electronic device (mobile device) 202a (eg, the electronic device 102 or 104 of FIG. 1 or the first external electronic device (mobile device) 202a). 1 Send a device registration request (or device registration request message) that allows the second external electronic device (server device) 208 to perform device registration of the electronic device 201 using the external electronic device 202). It can be transmitted to the first external electronic device (mobile device) 202a.

동작 703에서, 다양한 실시예에 따른 제1 외부 전자 장치(모바일 장치)(202a)는, 전자 장치(201)로부터 전자 장치(201)의 장치 등록 요청을 수신하면, 수신된 장치 등록 요청을 제2 외부 전자 장치(서버 장치)(208)에 전달할 수 있다.In operation 703, when receiving a device registration request of the electronic device 201 from the electronic device 201, the first external electronic device (mobile device) 202a according to various embodiments transmits the received device registration request to a second external electronic device 202a. It can be transmitted to the external electronic device (server device) 208 .

동작 704에서, 다양한 실시예에 따른 제2 외부 전자 장치(서버 장치(208)는, 전자 장치(201)가 제1 외부 전자 장치(202a)를 이용하여 전달하는 전자 장치(201)의 장치 등록 요청이 수신되면, 제2 외부 전자 장치(208)의 메모리(예: 도 1의 메모리(130))에 저장된 장치 등록 갱신 정보와 등록 요청 정보에 포함된 키 정보가 모두 제2 키 정보인 것이 확인되면, 상기 전자 장치(201)에 대한 장치 등록을 수행할 수 있다. 또한, 제2 외부 전자 장치(208)는 상기 전자 장치(201)의 장치 등록에 기반하여, 제3 키 정보를 생성하고, 상기 제2 외부 전자 장치(208)의 메모리에 저장된 장치 등록 갱신 정보에 포함된 제2 키 정보를 상기 생성된 제3 키 정보로 업데이트하여 저장할 수 있다.In operation 704, the second external electronic device (server device 208) according to various embodiments sends a device registration request of the electronic device 201 transmitted by the electronic device 201 using the first external electronic device 202a. is received, it is confirmed that both the device registration update information stored in the memory of the second external electronic device 208 (eg, the memory 130 of FIG. 1) and the key information included in the registration request information are the second key information. , may perform device registration for the electronic device 201. In addition, the second external electronic device 208 generates third key information based on the device registration of the electronic device 201, and The second key information included in the device registration update information stored in the memory of the second external electronic device 208 may be updated and stored as the generated third key information.

동작 705에서, 다양한 실시예에 따른 제2 외부 전자 장치(서버 장치)(208)는, 전자 장치(201)에 대한 장치 등록 결과(또는 장치 등록 요청의 수신 확인에 대한 신호)를 제1 외부 전자 장치(모바일 장치)(202a)에 통보할 수 있다. 일 실시예에 따르면, 전자 장치(IoT 장치)(201)는, 전자 장치(201)의 장치 등록을 요청한 후, 전자 장치(201)의 장치 등록 과정이 미완료된 상태에서, 상기 전자 장치(201)를 다른 사용자에게 양도할 수 있다. 예를 들어, 제1 외부 전자 장치(202a)가 제2 외부 전자 장치(208)로부터 수신된 장치 등록 결과를 전자 장치(201)로 전달하지 못한 상태일 수 있다. 이 경우, 전자 장치(IoT 장치)(201)는, 장치 등록에 기반하여 업데이트된 장치 정보 갱신 정보가 수신되지 않아, 전자 장치(201)의 메모리에 저장된 장치 등록 요청 정보에는 장치 등록 요청 이전의 제2 키 정보가 그대로 유지되어 저장될 수 있다.In operation 705, the second external electronic device (server device) 208 according to various embodiments sends a device registration result (or a signal for confirmation of receipt of the device registration request) to the electronic device 201 to the first external electronic device. The device (mobile device) 202a may be notified. According to an embodiment, after the electronic device (IoT device) 201 requests device registration of the electronic device 201, in a state where the device registration process of the electronic device 201 is not completed, the electronic device 201 can be transferred to another user. For example, the first external electronic device 202a may be in a state where the device registration result received from the second external electronic device 208 has not been transmitted to the electronic device 201 . In this case, the electronic device (IoT device) 201 does not receive the device information update information updated based on the device registration, and the device registration request information stored in the memory of the electronic device 201 includes information prior to the device registration request. 2 Key information can be maintained and stored.

동작 706에서, 다양한 실시예에 따른 전자 장치(IoT 장치)(201)는 전자 장치(201)의 상태를 장치 초기화 상태로 변경할 수 있다. 예를 들어, 전자 장치(201)는 사용자의 필요(예: 다른 사용자에게 전자 장치가 양도된 경우)에 따라 장치 초기화 상태로 변경할 수 있다. 예를 들면, 전자 장치(201)는 다른 사용자에게 양도될 수 있고, 양도받은 다른 사용자에 의해 상기 전자 장치(201)의 상태가 장치 초기화 상태로 변경될 수 있다.In operation 706, the electronic device (IoT device) 201 according to various embodiments may change the state of the electronic device 201 to a device initialization state. For example, the electronic device 201 may change to a device initialization state according to a user's need (eg, when the electronic device is transferred to another user). For example, the electronic device 201 may be transferred to another user, and the state of the electronic device 201 may be changed to a device initialization state by the transferred user.

동작 707에서, 다양한 실시예에 따른 전자 장치(IoT 장치)(201)는 이전 사용자의 제1 외부 전자 장치(202a)와 다른 제3 외부 전자 장치(모바일 장치)(202b)를 이용하여 전자 장치(201)의 장치 등록을 제2 외부 전자 장치(서버 장치)(208)에 의해 수행될 수 있도록 하는 장치 등록 요청(예: 장치 등록 요청 메시지)을 제3 외부 전자 장치(모바일 장치)(202b)에 전송할 수 있다.In operation 707, the electronic device (IoT device) 201 according to various embodiments uses a third external electronic device (mobile device) 202b different from the first external electronic device 202a of the previous user to use the electronic device ( Sending a device registration request (eg, device registration request message) to the third external electronic device (mobile device) 202b to allow the device registration of 201) to be performed by the second external electronic device (server device) 208 can transmit

동작 708에서, 다양한 실시예에 따른 제3 외부 전자 장치(모바일 장치)(202b)는, 전자 장치(201)로부터 전자 장치(201)의 장치 등록 요청을 수신하면, 수신된 장치 등록 요청을 제2 외부 전자 장치(서버 장치)(208)에 전달할 수 있다.In operation 708, when receiving a device registration request of the electronic device 201 from the electronic device 201, the third external electronic device (mobile device) 202b according to various embodiments sends the received device registration request to the second external electronic device 202b. It can be transmitted to the external electronic device (server device) 208 .

일 실시예에 따르면, 제2 외부 전자 장치(서버 장치)(208)의 메모리에 저장된 장치 등록 갱신 정보와 장치 등록 인증 정보는 일치 하지 않을 수 있다. 예를 들어, 제2 외부 전자 장치(208)의 메모리에 저장된 장치 등록 갱신 정보에는 상기 전자 장치(201)의 등록에 기반하여 업데이트된 제3 키 정보가 포함될 수 있고, 장치 등록 인증 정보에는 상기 전자 장치(201)의 장치 등록 이전의 제2 키 정보가 그대로 유지되어 포함될 수 있다.According to an embodiment, device registration update information stored in the memory of the second external electronic device (server device) 208 and device registration authentication information may not match. For example, device registration update information stored in the memory of the second external electronic device 208 may include third key information updated based on the registration of the electronic device 201, and the device registration authentication information may include the electronic device 201. Second key information prior to device registration of the device 201 may be maintained and included.

동작 709에서, 다양한 실시예에 따른 제2 외부 전자 장치(서버 장치)(208)는, 전자 장치(201)가 제3 외부 전자 장치(202b)를 이용하여 전달하는 전자 장치(201)의 장치 등록 요청이 수신되면, 상기 전자 장치(201)에 대한 장치 등록을 수행할 수 있다. 예를 들어, 제2 외부 전자 장치(208)는 제3 외부 전자 장치(202b)가 연결되면, 제3 외부 전자 장치(202b)의 사용자 계정에 기반하여, 사용자에 대한 인증을 수행하고, 상기 사용자에 대한 사용자 인증이 수행되면, 상기 제3 외부 전자 장치(202b)로부터 상기 전자 장치(201)에 대한 장치 등록 요청을 수신할 수 있다.In operation 709, the second external electronic device (server device) 208 according to various embodiments registers the electronic device 201 transmitted by the electronic device 201 using the third external electronic device 202b. If the request is received, device registration of the electronic device 201 may be performed. For example, when the third external electronic device 202b is connected, the second external electronic device 208 performs user authentication based on the user account of the third external electronic device 202b, and the user When user authentication for is performed, a device registration request for the electronic device 201 may be received from the third external electronic device 202b.

다양한 실시예에 따르면, 제2 외부 전자 장치(서버 장치)(208)는 수신된 장치 등록 요청에 기반하여, 제2 외부 전자 장치(208)의 메모리에 저장된 장치 등록 인증 정보를 확인하고, 확인된 장치 등록 인증 정보와 장치 등록 요청 정보에 포함된 키 정보가 모두 제2 키 정보인 것이 확인되면, 상기 전자 장치(201)의 장치 등록을 수행할 수 있다. According to various embodiments, the second external electronic device (server device) 208 checks device registration authentication information stored in the memory of the second external electronic device 208 based on the received device registration request, and confirms the device registration authentication information. When it is confirmed that both the device registration authentication information and the key information included in the device registration request information are second key information, device registration of the electronic device 201 may be performed.

일 실시예에 따르면, 제2 외부 전자 장치(208)의 메모리에 저장된 장치 등록 갱신 정보와 전자 장치(201)로부터 수신된 장치 등록 요청 정보는 일치 하지 않을 수 있다. 예를 들어, 제2 외부 전자 장치(208)는 수신된 장치 등록 요청에 기반하여, 제2 외부 전자 장치(208)의 메모리에 저장된 장치 등록 갱신 정보에 포함된 키 정보가 제3 키 정보이고, 상기 장치 등록 요청에 포함된 키 정보가 제2 키 정보인 것으로 상호 일치하지 않는 것이 확인되면, 새로이 키 정보를 생성하지 않고, 상기 제2 외부 전자 장치(208)의 메모리에 저장된 장치 등록 갱신 정보에 포함된 제3 키 정보를 그대로 유지하여 저장할 수 있다.According to an embodiment, the device registration update information stored in the memory of the second external electronic device 208 and the device registration request information received from the electronic device 201 may not match. For example, based on the received device registration request, the second external electronic device 208 determines that key information included in device registration update information stored in a memory of the second external electronic device 208 is third key information; If it is confirmed that the key information included in the device registration request is the second key information and does not match, key information is not newly generated, and the device registration update information stored in the memory of the second external electronic device 208 The included third key information may be maintained and stored as it is.

동작 710에서, 다양한 실시예에 따른 제2 외부 전자 장치(서버 장치)(208)는, 전자 장치(201)에 대한 장치 등록 결과(또는 장치 등록 요청의 수신 확인에 대한 신호)를 제3 외부 전자 장치(모바일 장치)(202b)에 통보할 수 있다. In operation 710, the second external electronic device (server device) 208 according to various embodiments sends a device registration result (or a signal for confirmation of receipt of the device registration request) to the electronic device 201 to a third external electronic device. The device (mobile device) 202b may be notified.

동작 711에서, 제3 외부 전자 장치(202b)는 제2 외부 전자 장치(208)로부터 장치 등록 결과가 수신되면, 수신된 장치 등록 결과를 전자 장치(201)에 전달할 수 있다.In operation 711, when a device registration result is received from the second external electronic device 208, the third external electronic device 202b may transfer the received device registration result to the electronic device 201.

동작 712에서, 다양한 실시예에 따른 전자 장치(IoT 장치)(201)는, 제2 외부 전자 장치(서버 장치)(208)에 원거리 통신 네트워크(199)를 통한 원거리 유무선 통신을 연결할 수 있다. 예를 들어, 전자 장치(201)는 초기 장치 설정을 수행하거나, 제3 외부 전자 장치(202b)를 이용하여 장치 등록 요청을 전송하고, 장치 등록 결과를 확인하여 원거리 통신 네트워크(199)의 사용이 가능한 상태에서 전자 장치(201)가 동작하는 것에 의해 자동 또는 수동으로 상기 제2 외부 전자 장치(208)에 원거리 유무선 통신을 연결할 수 있다.In operation 712, the electronic device (IoT device) 201 according to various embodiments may connect the second external electronic device (server device) 208 through long-distance wired/wireless communication through the telecommunication network 199. For example, the electronic device 201 performs initial device setting, transmits a device registration request using the third external electronic device 202b, and confirms the device registration result so that the use of the telecommunications network 199 is confirmed. When the electronic device 201 operates in a possible state, remote wired/wireless communication may be automatically or manually connected to the second external electronic device 208 .

동작 713에서, 다양한 실시예에 따른 전자 장치(IoT 장치)(201)는, 제2 외부 전자 장치(208)와 원거리 유무선 통신이 연결되면, 제2 외부 전자 장치(208)에서 상기 전자 장치(201)의 장치 등록 요청에 의한 장치 등록에 기반하여 생성된 것이 아니라, 이전의 장치 등록에 기반하여 생성된 제3 키 정보를 포함하는 장치 등록 갱신 정보를 수신할 수 있다.In operation 713, when the electronic device (IoT device) 201 according to various embodiments is connected to the second external electronic device 208 and long-distance wired/wireless communication, the second external electronic device 208 detects the electronic device 201. ) may receive device registration renewal information including third key information generated based on previous device registration, rather than generated based on device registration by the device registration request.

동작 714에서, 다양한 실시예에 따른 전자 장치(IoT 장치)(201)는, 수신된 장치 등록 갱신 정보를 전자 장치(201)의 메모리에 저장할 수 있다. 예를 들어, 전자 장치(201)는 수신된 장치 등록 갱신 정보를 상기 장치 등록 요청 정보로서 상기 전자 장치(201)의 메모리에 업데이트하여 저장할 수 있다. 예를 들면, 전자 장치(201)의 장치 등록 요청 이전에 상기 전자 장치(201)의 메모리에 저장된 장치 등록 요청 정보에는 제2 키 정보가 포함될 수 있고, 제2 외부 전자 장치(208)로부터 수신된 장치 등록 갱신 정보에는 제3 키 정보가 포함될 경우, 전자 장치(201)는 상기 장치 등록 요청 정보에 포함된 제2 키 정보를 상기 장치 등록 갱신 정보에 포함된 제3 키 정보로 업데이트하여 저장할 수 있다.In operation 714, the electronic device (IoT device) 201 according to various embodiments may store the received device registration update information in the memory of the electronic device 201. For example, the electronic device 201 may update and store the received device registration update information in the memory of the electronic device 201 as the device registration request information. For example, the device registration request information stored in the memory of the electronic device 201 prior to the device registration request of the electronic device 201 may include second key information, and the second key information received from the second external electronic device 208 When third key information is included in the device registration update information, the electronic device 201 may update and store second key information included in the device registration request information as third key information included in the device registration update information. .

동작 715에서, 다양한 실시예에 따른 전자 장치(IoT 장치)(201)는, 상기 장치 등록 요청 정보가 업데이트되는 것(또는 장치 등록 갱신 정보의 수신)에 기반하여, 상기 장치 등록 요청 정보의 업데이트에 대한 신호(또는 장치 등록 갱신 정보의 수신 확인에 대한 신호)를 상기 제2 외부 전자 장치(208)에 전송할 수 있다.In operation 715, the electronic device (IoT device) 201 according to various embodiments updates the device registration request information based on the device registration request information being updated (or device registration update information received). A signal for confirmation (or a signal for confirmation of receipt of device registration update information) may be transmitted to the second external electronic device 208 .

동작 716에서, 다양한 실시예에 따른 제2 외부 전자 장치(서버 장치)(208)는, 전자 장치(201)에 장치 등록 갱신 정보를 전송하는 것에 응답하여, 상기 전자 장치(201)로부터 장치 등록 요청 정보의 업데이트에 대한 신호를 수신할 수 있고, 상기 신호의 수신에 응답하여, 제2 외부 전자 장치(208)의 메모리에 저장된 전자 장치(201)에 대응하는 장치 등록 인증 정보를 장치 등록 갱신 정보로 동기화하여 저장할 수 있다. 그러면, 전자 장치(201)의 메모리에 저장된 장치 등록 요청 정보와 제2 외부 전자 장치(208)의 메모리에 저장된 상기 전자 장치(201)에 대한 장치 등록 인증 정보 및 장치 등록 갱신 정보가 모두 상기 전자 장치(201)의 등록에 기반하여 생성된 제3 키 정보로 동기화하여 저장할 수 있다.In operation 716, the second external electronic device (server device) 208 according to various embodiments requests a device registration from the electronic device 201 in response to transmitting device registration update information to the electronic device 201. A signal for information update may be received, and in response to receiving the signal, device registration authentication information corresponding to the electronic device 201 stored in the memory of the second external electronic device 208 is converted to device registration update information. You can sync and save. Then, both the device registration request information stored in the memory of the electronic device 201 and the device registration authentication information and device registration update information about the electronic device 201 stored in the memory of the second external electronic device 208 are the electronic device It can be synchronized and stored with the third key information generated based on the registration of (201).

도 8은 다양한 실시예들에 따른 전자 장치 및 제2 외부 전자 장치가 전자 장치의 장치 초기화에 따라 장치 등록을 해제하는 동작을 설명하기 위한 흐름도(800)이다.8 is a flowchart 800 illustrating an operation of deregistering a device according to device initialization of an electronic device and a second external electronic device according to various embodiments of the present disclosure.

다양한 실시예에 따르면, 동작 801 내지 동작 805는 전자 장치(IoT 장치)(201)(예: 도 1의 전자 장치(101) 또는 도 2의 전자 장치(201)) 및 제2 외부 전자 장치(서버 장치)(208)(예: 도 1의 서버(108) 또는 도 2의 제2 외부 전자 장치(208)) 또는 전자 장치(201) 및 제2 외부 전자 장치(208)에 각각 포함되는 프로세서(예: 도 1의 프로세서(120))를 통해 실행될 수 있다. 또한, 전자 장치(201) 및 제2 외부 전자 장치(208)의 각각에는 동작 801 내지 동작 805가 실행되도록 하는 인스트럭션들을 메모리(예: 도 1의 메모리(130))에 저장할 수 있다. 한 실시예에서, 동작 801 내지 동작 805 중 적어도 하나가 생략되거나, 일부 동작들이 동시에 병렬로 수행되거나, 일부 동작들의 순서가 바뀌거나, 다른 동작이 추가될 수 있다.According to various embodiments, operations 801 to 805 may include an electronic device (IoT device) 201 (eg, the electronic device 101 of FIG. 1 or the electronic device 201 of FIG. 2 ) and a second external electronic device (server device) 208 (eg, the server 108 of FIG. 1 or the second external electronic device 208 of FIG. 2 ) or a processor included in the electronic device 201 and the second external electronic device 208, respectively : It can be executed through the processor 120 of FIG. 1). In addition, each of the electronic device 201 and the second external electronic device 208 may store instructions for executing operations 801 to 805 in a memory (eg, the memory 130 of FIG. 1 ). In one embodiment, at least one of operations 801 to 805 may be omitted, some operations may be simultaneously performed in parallel, the order of some operations may be changed, or another operation may be added.

다양한 실시예에 따른 전자 장치(IoT 장치)(201)는, 전자 장치(201)의 메모리(예: 도 1의 메모리(130)) 내에 전자 장치(201)의 장치 초기화 카운트를 나타내는 장치 초기화 카운트 정보를 저장할 수 있다. 예를 들어, 장치 초기화 카운트 정보는 전자 장치(201)가 생산되어 출시된 상태에서는 장치 초기화 카운트는 0으로 설정될 수 있다.An electronic device (IoT device) 201 according to various embodiments includes device initialization count information indicating a device initialization count of the electronic device 201 in a memory (eg, memory 130 of FIG. 1 ) of the electronic device 201 can be saved. For example, the device initialization count information may be set to 0 when the electronic device 201 is produced and released.

동작 801에서, 다양한 실시예에 따른 전자 장치(IoT 장치)(201)는, 제2 외부 전자 장치(208)와 원거리 유무선 통신이 연결되면, 전자 장치(201)의 메모리에 저장된 장치 초기화 카운트 정보를 상기 제2 외부 전자 장치(208)에 전송할 수 있다. 예를 들어, 전자 장치(201)는 초기 장치 설정을 수행하거나, 전자 장치(201)의 장치 등록이 완료되어 원거리 통신 네트워크(199)의 사용이 가능한 상태에서 전자 장치(201)가 동작하는 것에 의해 자동 또는 수동으로 상기 제2 외부 전자 장치(208)에 원거리 유무선 통신을 연결할 수 있다. 그러면, 전자 장치(201)는 원거리 유무선 통신이 연결된 제2 외부 전자 장치(208)에 상기 장치 초기화 카운트 정보를 전송할 수 있다.In operation 801, when the electronic device (IoT device) 201 according to various embodiments is connected to the second external electronic device 208 and long-distance wired/wireless communication, the device initialization count information stored in the memory of the electronic device 201 is displayed. It can be transmitted to the second external electronic device 208 . For example, the electronic device 201 performs initial device setting, or the electronic device 201 operates in a state in which device registration of the electronic device 201 is completed and the telecommunications network 199 can be used. Remote wired or wireless communication may be connected to the second external electronic device 208 automatically or manually. Then, the electronic device 201 may transmit the device initialization count information to the second external electronic device 208 to which long-distance wired/wireless communication is connected.

동작 802에서, 다양한 실시예에 따른 제2 외부 전자 장치(서버 장치)(208)는, 원거리 유무선 통신으로 연결된 전자 장치(201)로부터 장치 초기화 카운트 정보를 수신할 수 있다. 다양한 실시예에 따르면, 제2 외부 전자 장치(서버 장치)(208)의 메모리(예: 도 1의 메모리(130))에는 장치 등록이 완료된 전자 장치(201)에 대한 장치 초기화 카운트 정보를 저장할 수 있다. 예를 들어, 제2 외부 전자 장치(208)는 처음으로 장치 등록을 요청한 전자 장치(201)의 장치 등록을 수행한 후, 상기 전자 장치(201)와 처음으로 연결될 때, 상기 전자 장치(201)로부터 장치 초기화 카운트 정보를 수신하고, 제2 외부 전자 장치(208)의 메모리에 상기 전자 장치(201)에 대응하는 장치 초기화 카운트 정보를 생성하여 저장할 수 있다. 상기 제2 외부 전자 장치(208)의 메모리에 저장된 상기 장치 초기화 카운트 정보에는 상기 전자 장치(201)의 메모리에 저장된 장치 초기화 카운트 정보와 동일한 장치 초기화 카운트 0이 설정될 수 있다.In operation 802, the second external electronic device (server device) 208 according to various embodiments may receive device initialization count information from the electronic device 201 connected through long-distance wired/wireless communication. According to various embodiments, the memory of the second external electronic device (server device) 208 (eg, the memory 130 of FIG. 1 ) may store device initialization count information for the electronic device 201 for which device registration is completed. there is. For example, when the second external electronic device 208 is connected to the electronic device 201 for the first time after performing device registration of the electronic device 201 that requested device registration for the first time, the electronic device 201 Device initialization count information may be received from the external electronic device 208 , and device initialization count information corresponding to the electronic device 201 may be generated and stored in a memory of the second external electronic device 208 . The device initialization count information stored in the memory of the second external electronic device 208 may be set to the same device initialization count 0 as the device initialization count information stored in the memory of the electronic device 201 .

동작 803에서, 다양한 실시예에 따른 전자 장치(IoT 장치)(201)는 전자 장치(201)의 상태를 장치 초기화 상태로 변경할 수 있다. 예를 들어, 전자 장치(201)는 사용자의 필요(예: 다른 사용자에게 전자 장치가 양도된 경우)에 따라 장치 초기화 상태로 변경할 수 있다. 예를 들어, 전자 장치(201)는 전자 장치(201)의 장치 초기화를 수행하기 위해 별도의 H/W적 또는 S/W적으로 구성된 장치 초기화 버튼이 마련될 수 있고, 사용자가 상기 장치 초기화 버튼을 누르는 것에 의해 전자 장치(201)의 장치 초기화가 수행될 수 있다. 전자 장치(201)의 상태가 장치 초기화 상태로 변경되면, 전자 장치(201)에 대해 기존에 설정된 장치 설정이나 장치 등록이 초기화될 수 있다. 다양한 실시예에 따르면, 전자 장치(201)는 장치 초기화 상태로 변경되는 경우, 전자 장치(201)의 메모리 내에 저장된 전자 장치(201)의 사용에 따라 축적된 데이터가 삭제될 수 있으나, 전자 장치(201)의 장치 등록을 위한 장치 등록 요청 정보와 전자 장치(201)의 식별을 위한 장치 식별 정보는 삭제되지 않고 유지될 수 있다.In operation 803, the electronic device (IoT device) 201 according to various embodiments may change the state of the electronic device 201 to a device initialization state. For example, the electronic device 201 may change to a device initialization state according to a user's need (eg, when the electronic device is transferred to another user). For example, the electronic device 201 may have a separate H/W or S/W configured device initialization button to perform device initialization of the electronic device 201, and the user presses the device initialization button. Device initialization of the electronic device 201 may be performed by pressing . When the state of the electronic device 201 is changed to the device initialization state, device settings or device registration previously set for the electronic device 201 may be initialized. According to various embodiments, when the electronic device 201 is changed to a device initialization state, data accumulated according to the use of the electronic device 201 stored in the memory of the electronic device 201 may be deleted, but the electronic device 201 ( Device registration request information for device registration of 201) and device identification information for identification of the electronic device 201 may be maintained without being deleted.

다양한 실시예에 따르면, 전자 장치(201)는, 전자 장치(201)가 장치 초기화되는 것이 감지된 경우, 상기 장치 초기화 카운트를 1 증가시킨 장치 초기화 카운트 정보를 전자 장치(201)의 메모리에 업데이트하여 저장할 수 있다. 예를 들어, 전자 장치(201)는 이전의 장치 초기화 카운트 0에서 1을 증가시킨 1로 설정된 장치 초기화 카운트 정보를 상기 전자 장치(201)의 메모리에 저장할 수 있다.According to various embodiments, when the electronic device 201 detects that the device is being initialized, the device initialization count information by increasing the device initialization count by 1 is updated in the memory of the electronic device 201 to can be saved For example, the electronic device 201 may store device initialization count information set to 1 in the memory of the electronic device 201 by increasing 1 from the previous device initialization count 0.

동작 804에서, 다양한 실시예에 따른 전자 장치(IoT 장치)(201)는, 제2 외부 전자 장치(208)와 원거리 유무선 통신이 연결되면, 전자 장치(201)의 메모리에 저장된 장치 초기화 카운트 정보를 상기 제2 외부 전자 장치(208)에 전송할 수 있다. 예를 들어, 전자 장치(201)는 장치 초기화를 수행한 후, 초기 장치 설정을 수행하거나, 전자 장치(201)의 장치 등록이 완료되어 원거리 통신 네트워크(199)의 사용이 가능한 상태에서 전자 장치(201)가 동작하는 것에 의해 자동 또는 수동으로 상기 제2 외부 전자 장치(208)에 원거리 유무선 통신을 연결할 수 있다. 그러면, 전자 장치(201)는 원거리 유무선 통신이 연결된 제2 외부 전자 장치(208)에 상기 장치 초기화 카운트 정보를 전송할 수 있다.In operation 804, when the electronic device (IoT device) 201 according to various embodiments is connected to the second external electronic device 208 and long-distance wired/wireless communication, the device initialization count information stored in the memory of the electronic device 201 is displayed. It can be transmitted to the second external electronic device 208 . For example, after performing device initialization, the electronic device 201 performs initial device setting, or in a state in which device registration of the electronic device 201 is completed and the telecommunication network 199 can be used, the electronic device ( 201) may automatically or manually connect the second external electronic device 208 through wired/wireless communication. Then, the electronic device 201 may transmit the device initialization count information to the second external electronic device 208 to which long-distance wired/wireless communication is connected.

동작 805에서, 다양한 실시예에 따른 제2 외부 전자 장치(서버 장치)(208)는, 원거리 유무선 통신으로 연결된 전자 장치(201)로부터 장치 초기화 카운트 정보를 수신하면, 수신된 장치 초기화 카운트 정보에 기반하여, 상기 전자 장치(201)의 장치 등록을 해제하고, 제2 외부 전자 장치(208)의 메모리에 저장된 상기 전자 장치(201)에 대응하는 장치 초기화 카운트 정보를 업데이트할 수 있다. 예를 들어, 제2 외부 전자 장치(208)는 원거리 유무선 통신으로 연결된 전자 장치(201)의 장치 식별 정보에 기반하여, 상기 전자 장치(201)의 장치 등록 상태를 확인할 수 있다. 제2 외부 전자 장치(208)는 상기 전자 장치(201)가 장치 등록 상태인 것이 확인되면, 제2 외부 전자 장치(208)의 메모리에 저장된 상기 전자 장치(201)에 대응하는 장치 초기화 카운트 정보를 확인하고, 상기 확인된 장치 초기화 카운트 정보의 장치 초기화 카운트가 상기 수신된 장치 초기화 카운트 정보의 장치 초기화 카운트보다 작으면, 상기 전자 장치(201)에 대한 장치 등록을 해제할 수 있다. 예를 들면, 제2 외부 전자 장치(208)의 메모리에 저장된 장치 초기화 카운트 정보의 장치 초기화 카운트가 0으로 설정될 수 있고, 상기 전자 장치(201)로부터 수신된 장치 초기화 카운트 정보의 장치 초기화 카운트가 1로 설정될 경우, 제2 외부 전자 장치(208)는 상기 전자 장치(201)에 대한 장치 등록을 해제할 수 있고, 제2 외부 전자 장치(208)의 메모리에 저장된 장치 초기화 카운트 정보의 장치 초기화 카운트를 1로 업데이트하여 저장할 수 있다.In operation 805, when the second external electronic device (server device) 208 according to various embodiments receives device initialization count information from the electronic device 201 connected through long-distance wired/wireless communication, based on the received device initialization count information Accordingly, device registration of the electronic device 201 may be canceled, and device initialization count information corresponding to the electronic device 201 stored in the memory of the second external electronic device 208 may be updated. For example, the second external electronic device 208 can check the device registration state of the electronic device 201 based on device identification information of the electronic device 201 connected through long-distance wired/wireless communication. When it is confirmed that the electronic device 201 is in a device registration state, the second external electronic device 208 transmits device initialization count information corresponding to the electronic device 201 stored in the memory of the second external electronic device 208. If the device initialization count of the confirmed device initialization count information is smaller than the device initialization count of the received device initialization count information, the device registration of the electronic device 201 may be canceled. For example, the device initialization count of the device initialization count information stored in the memory of the second external electronic device 208 may be set to 0, and the device initialization count of the device initialization count information received from the electronic device 201 is When set to 1, the second external electronic device 208 may cancel device registration with the electronic device 201, and device initialization of the device initialization count information stored in the memory of the second external electronic device 208 You can update the count to 1 and save it.

도 9는 다양한 실시예들에 따른 전자 장치(IoT 장치)에서 수행되는 동작을 설명하기 위한 흐름도(900)이다.9 is a flowchart 900 for describing an operation performed in an electronic device (IoT device) according to various embodiments.

다양한 실시예에 따르면, 동작 901 내지 동작 913은 도 1 또는 도 2의 전자 장치(101, 201) 또는 프로세서(120)를 통해 실행될 수 있다. 상기 전자 장치(201)는 상기 동작 901 내지 동작 913이 실행되도록 하는 인스트럭션들을 메모리(예: 도 1의 메모리(130))에 저장할 수 있다. 한 실시예에서, 동작 901 내지 동작 913 중 적어도 하나가 생략되거나, 일부 동작들이 동시에 병렬로 수행되거나, 일부 동작들의 순서가 바뀌거나, 다른 동작이 추가될 수 있다.According to various embodiments, operations 901 to 913 may be executed through the electronic device 101 or 201 or the processor 120 of FIG. 1 or 2 . The electronic device 201 may store instructions for executing operations 901 to 913 in a memory (eg, the memory 130 of FIG. 1 ). In one embodiment, at least one of operations 901 to 913 may be omitted, some operations may be simultaneously performed in parallel, the order of some operations may be changed, or another operation may be added.

동작 901에서, 다양한 실시예에 따른 전자 장치(201)(예: IoT 장치)는, 전원이 인가되어 부팅이 완료될 수 있다.In operation 901, power is applied to the electronic device 201 (eg, IoT device) according to various embodiments, and booting may be completed.

동작 902에서, 다양한 실시예에 따른 전자 장치(201)는, 전자 장치(201)의 상태가 장치 등록된 상태인지를 확인할 수 있다. 예를 들면, 전자 장치(201)는 사용자에 의해 처음 구입된 장치 초기화 상태이거나, 사용자에 의해 수행된 장치 초기화 상태일 수 있으며, 전자 장치(201)의 상태가 장치 초기화 상태인 것이 확인되면, 전자 장치(201)의 장치 등록이 수행되지 않은 상태인 것을 확인할 수 있다. 전자 장치(201)는 전자 장치(201)의 상태가 기 등록된 상태인 것으로 확인되면 동작 904를 수행하고, 기 등록된 상태가 아닌 것으로 확인되면 동작 903을 수행할 수 있다.In operation 902, the electronic device 201 according to various embodiments may check whether the state of the electronic device 201 is a device registered state. For example, the electronic device 201 may be in a device initialization state initially purchased by a user or may be in a device initialization state performed by a user, and when it is confirmed that the electronic device 201 is in a device initialization state, It can be confirmed that the device registration of the device 201 is not performed. The electronic device 201 may perform operation 904 when it is determined that the electronic device 201 is in a pre-registered state, and may perform operation 903 when it is determined that the electronic device 201 is not in a pre-registered state.

동작 903에서, 다양한 실시예에 따른 전자 장치(201)는, 전자 장치(201)의 상태가 장치 등록되지 않은 상태인 것으로 확인되면, 외부 전자 장치(202)(예: 도 1의 전자 장치(102 또는 104) 또는 도 2의 제1 외부 전자 장치(202))(예: 모바일 장치)와 근거리 통신 네트워크(예: 도 1의 제1 네트워크(198))을 통한 근거리 무선 통신을 연결할 수 있고, 근거리 무선 통신이 연결된 외부 전자 장치(202)를 이용하여 전자 장치(201)에 대한 장치 등록 요청을 서버 장치(208)(예: 도 1의 서버(108) 또는 도 2의 제2 외부 전자 장치(208))에 전달할 수 있다. In operation 903, if the electronic device 201 according to various embodiments determines that the state of the electronic device 201 is a device unregistered state, the external electronic device 202 (eg, the electronic device 102 of FIG. 1) or 104) or the first external electronic device 202 of FIG. 2) (eg, a mobile device) and a short-range communication network (eg, the first network 198 of FIG. 1) may be connected to short-range wireless communication, and short-range A device registration request for the electronic device 201 is transmitted to the server device 208 (eg, the server 108 of FIG. 1 or the second external electronic device 208 of FIG. 2 ) using the external electronic device 202 to which wireless communication is connected. )) can be passed on.

동작 904에서, 다양한 실시예에 따른 전자 장치(201)는, 서버 장치(208)(예: 도 1의 서버(108) 또는 도 2의 제2 외부 전자 장치(208))와 원거리 통신 네트워크(예: 도 1의 제2 네트워크(199))의 사용이 가능한 상태인지를 확인할 수 있다. 예를 들어, 전자 장치(201)는 초기 장치 설정을 수행하거나, 외부 전자 장치(202)를 이용하여 장치 등록 요청을 전송하고, 장치 등록 결과를 확인한 경우, 서버 장치(208)에 원거리 유무선 통신을 연결할 수 있다. 전자 장치(201)는 서버 장치(208)에 원거리 유무선 통신이 연결되면 동작 905를 수행하고, 원거리 유무선 통신이 연결되지 않으면, 전자 장치(201)의 초기 장치 설정을 수행하여 서버 장치(208)에 대한 연결을 다시 시도할 수 있다.In operation 904, the electronic device 201 according to various embodiments connects the server device 208 (eg, the server 108 of FIG. 1 or the second external electronic device 208 of FIG. 2) and a long-distance communication network (eg, the server 108 of FIG. 1 ). : It can be checked whether the use of the second network 199 of FIG. 1 is possible. For example, when the electronic device 201 performs initial device setting, transmits a device registration request using the external electronic device 202, and confirms the device registration result, remote wired/wireless communication is performed with the server device 208. can connect The electronic device 201 performs operation 905 when long-distance wired/wireless communication is connected to the server device 208, and performs initial device setting of the electronic device 201 when long-distance wired/wireless communication is not connected to the server device 208. You can try connecting again.

동작 905에서, 다양한 실시예에 따른 전자 장치(201)는, 전자 장치(201)의 상태가 장치 등록 상태이면 동작 907을 수행하고, 전자 장치(201)의 상태가 장치 등록 상태가 아니면, 동작 906에서 전자 장치(201)의 장치 등록이 완료될 때까지 대기할 수 있다.In operation 905, the electronic device 201 according to various embodiments performs operation 907 if the state of the electronic device 201 is a device registration state, and performs operation 906 if the state of the electronic device 201 is not a device registration state. may wait until device registration of the electronic device 201 is completed.

동작 907에서, 다양한 실시예에 따른 전자 장치(201)는, 전자 장치(201)의 메모리에 저장된 장치 초기화 카운트 정보를 상기 서버 장치(208)에 전송할 수 있다.In operation 907 , the electronic device 201 according to various embodiments may transmit device initialization count information stored in a memory of the electronic device 201 to the server device 208 .

동작 908에서, 다양한 실시예에 따른 전자 장치(201)는, 전자 장치(201)에 대한 장치 등록에 기반하여 서버 장치(208)에 의해 업데이트되는 장치 등록 갱신 정보를 수신할 수 있다. 전자 장치(201)는 서버 장치(208)로부터 장치 등록 갱신 정보를 수신하면, 동작 909에서 수신된 장치 등록 갱신 정보에 기반하여, 전자 장치(201)의 메모리에 저장된 장치 등록 요청 정보를 업데이트할 수 있다. 전자 장치(201)는 장치 등록 갱신 정보가 수신되지 않으면 동작 910을 수행할 수 있다.In operation 908 , the electronic device 201 according to various embodiments may receive device registration update information updated by the server device 208 based on device registration of the electronic device 201 . Upon receiving the device registration update information from the server device 208, the electronic device 201 may update the device registration request information stored in the memory of the electronic device 201 based on the received device registration update information in operation 909. there is. The electronic device 201 may perform operation 910 when device registration renewal information is not received.

동작 910에서, 다양한 실시예에 따른 전자 장치(201)는, 전자 장치(201)의 장치 등록이 해제되는지를 확인할 수 있다. 전자 장치(201)는 전자 장치(201)의 장치 등록이 해제되면 동작 913을 수행하고, 전자 장치(201)의 장치 등록이 해제되지 않으면 동작 911을 수행할 수 있다. 예를 들어, 전자 장치(201)는 전자 장치(201)의 장치 등록이 유지되면 장치 등록에 따라 제공될 수 있는 기능을 수행할 수 있고, 장치 등록이 해제되면 전자 장치(201)의 재부팅을 수행되고, 재부팅이 완료된 이후, 전자 장치(201)는 장치 등록에 따라 제공될 수 있는 기능을 수행할 수 없게 된다.In operation 910, the electronic device 201 according to various embodiments may check whether device registration of the electronic device 201 is released. The electronic device 201 may perform operation 913 when device registration of the electronic device 201 is released, and may perform operation 911 when device registration of the electronic device 201 is not released. For example, if the device registration of the electronic device 201 is maintained, the electronic device 201 may perform a function that may be provided according to the device registration, and if the device registration is cancelled, the electronic device 201 may be rebooted. After the reboot is completed, the electronic device 201 cannot perform functions that can be provided according to device registration.

동작 911에서, 다양한 실시예에 따른 전자 장치(201)는, 전자 장치(201)가 장치 초기화되는 것을 확인할 수 있다. 예를 들어, 전자 장치(201)는 사용자의 필요(예: 다른 사용자에게 전자 장치가 양도된 경우)에 따라 장치 초기화 상태로 변경될 수 있다. 예를 들어, 전자 장치(201)는 전자 장치(201)의 장치 초기화를 수행하기 위해 별도의 H/W적 또는 S/W적으로 구성된 장치 초기화 버튼이 마련될 수 있고, 사용자가 상기 장치 초기화 버튼을 누르는 것에 의해 전자 장치(201)의 장치 초기화가 수행될 수 있다. 전자 장치(201)는 전자 장치(201)의 장치 초기화가 수행되지 않으면 본 흐름도의 방법이 종료되고, 전자 장치(201)의 장치 초기화가 수행되면 동작 912를 수행할 수 있다. 예를 들어, 전자 장치(201)는 전자 장치(201)가 장치 초기화되지 않으면 장치 등록에 따라 제공될 수 있는 기능을 수행할 수 있고, 장치 초기화가 감지된 경우, 동작 912를 수행할 수 있다.In operation 911, the electronic device 201 according to various embodiments may check that the electronic device 201 is device initialized. For example, the electronic device 201 may change to a device initialization state according to a user's need (eg, when the electronic device is transferred to another user). For example, the electronic device 201 may have a separate H/W or S/W configured device initialization button to perform device initialization of the electronic device 201, and the user presses the device initialization button. Device initialization of the electronic device 201 may be performed by pressing . The electronic device 201 may perform operation 912 when device initialization of the electronic device 201 is not performed, the method of the present flowchart ends, and device initialization of the electronic device 201 is performed. For example, the electronic device 201 can perform a function that can be provided according to device registration if the electronic device 201 is not device initialized, and can perform operation 912 when device initialization is detected.

동작 912에서, 다양한 실시예에 따른 전자 장치(201)는, 전자 장치(201)가 장치 초기화되는 것이 감지된 경우, 상기 장치 초기화 카운트를 1 증가시킨 장치 초기화 카운트 정보를 상기 전자 장치(201)의 메모리에 업데이트하여 저장할 수 있다. 예를 들어, 전자 장치(201)는 이전의 장치 초기화 카운트 0에서 1을 증가시킨 1로 설정된 장치 초기화 카운트 정보를 전자 장치(201)의 메모리에 저장할 수 있다.In operation 912, when it is detected that the electronic device 201 is device initialized, the electronic device 201 according to various embodiments provides device initialization count information obtained by incrementing the device initialization count by 1 to the electronic device 201. It can be updated and stored in memory. For example, the electronic device 201 may store, in the memory of the electronic device 201 , device initialization count information set to 1 by increasing 1 from the previous device initialization count 0 .

동작 913에서, 다양한 실시예에 따른 전자 장치(201)는, 전자 장치(201)의 장치 초기화에 따라 재부팅 동작을 수행할 수 있다.In operation 913, the electronic device 201 according to various embodiments may perform a rebooting operation according to device initialization of the electronic device 201.

도 10은 다양한 실시예들에 따른 서버 장치에서 수행되는 동작을 설명하기 위한 흐름도(1000)이다.10 is a flowchart 1000 for describing an operation performed in a server device according to various embodiments.

다양한 실시예에 따르면, 동작 1001 내지 1016는 서버 장치(예: 도 1의 서버(108) 또는 도 2의 제2 외부 전자 장치(서버 장치)(208)) 또는 서버 장치(108, 208)에 포함되는 프로세서(예: 도 1의 프로세서(120))를 통해 실행될 수 있다. 상기 서버 장치(208)는 상기 동작 1001 내지 1016가 실행되도록 하는 인스트럭션들을 서버 장치(208)의 메모리(예: 도 1의 메모리(130))에 저장할 수 있다. 한 실시예에서, 동작 1001 내지 1016 중 적어도 하나가 생략되거나, 일부 동작들이 동시에 병렬로 수행되거나, 일부 동작들의 순서가 바뀌거나, 다른 동작이 추가될 수 있다.According to various embodiments, operations 1001 to 1016 are included in a server device (eg, the server 108 of FIG. 1 or the second external electronic device (server device) 208 of FIG. 2) or the server devices 108 and 208. It may be executed through a processor (eg, the processor 120 of FIG. 1). The server device 208 may store instructions for executing the operations 1001 to 1016 in a memory (eg, memory 130 of FIG. 1 ) of the server device 208 . In one embodiment, at least one of operations 1001 to 1016 may be omitted, some operations may be simultaneously performed in parallel, the order of some operations may be changed, or other operations may be added.

동작 1001에서, 다양한 실시예에 따른 서버 장치(208)는 원거리 통신 네트워크(199)를 통한 원거리 유무선 통신으로 전자 장치(201)(예: IoT 장치)가 연결될 수 있다. 예를 들어, 전자 장치(201)는 원거리 통신 네트워크(199)가 지원될 수 있는 장치일 수 있고, 전자 장치(201)의 메모리(예: 도 1의 메모리(130))에 서버 장치(208)에 연결할 수 있게 하는 로그인 정보(예: 기기 인증 정보)가 저장된 장치일 수 있다. 이 경우, 전자 장치(201)는 초기 장치 설정이 수행되기 전이나, 장치 등록이 수행되기 전에도 상기 전자 장치(201)의 메모리에 저장된 로그인 정보를 이용하여 원거리 통신 네트워크(199)를 통한 원거리 유무선 통신으로 서버 장치(208)에 연결하는 것이 가능할 수 있다.In operation 1001, the server device 208 according to various embodiments may be connected to the electronic device 201 (eg, IoT device) through long-distance wired/wireless communication through the telecommunication network 199. For example, the electronic device 201 may be a device capable of supporting the telecommunications network 199, and a server device 208 may be stored in a memory of the electronic device 201 (eg, the memory 130 of FIG. 1). It may be a device that stores log-in information (e.g., device authentication information) that allows connection to the device. In this case, the electronic device 201 performs long-distance wired/wireless communication through the telecommunications network 199 using login information stored in the memory of the electronic device 201 even before initial device setting or device registration is performed. It may be possible to connect to the server device 208 with

동작 1002에서, 다양한 실시예에 따른 서버 장치(208)는 연결된 전자 장치(201)가 장치 등록된 장치인지를 확인할 수 있다. 서버 장치(208)는 전자 장치(201)가 등록된 장치이면 동작 1003을 수행하고, 등록되지 않은 장치이면 동작 1011을 수행할 수 있다.In operation 1002, the server device 208 according to various embodiments may check whether the connected electronic device 201 is a registered device. The server device 208 may perform operation 1003 if the electronic device 201 is a registered device and may perform operation 1011 if the electronic device 201 is not registered.

동작 1003에서, 다양한 실시예에 따른 서버 장치(208)는 연결된 전자 장치(201)로부터 장치 초기화 카운트 정보를 수신할 수 있다.In operation 1003, the server device 208 according to various embodiments may receive device initialization count information from the connected electronic device 201.

동작 1004에서, 다양한 실시예에 따른 서버 장치(208)는 수신된 장치 초기화 카운트 정보에 기반하여, 상기 전자 장치(201)의 장치 등록을 해제할지를 결정할 수 있다. 예를 들어, 서버 장치(208)는 수신된 장치 초기화 카운트 정보의 장치 초기화 카운트가 서버 장치(208)의 메모리에 저장된 상기 전자 장치(201)에 대응하는 장치 초기화 카운트 정보의 장치 초기화 카운트보다 큰 값을 가지는지를 확인할 수 있다. 서버 장치(208)는 수신된 초기화 카운트 정보의 장치 초기화 카운트가 큰 값을 가지는 것으로 확인되면 동작 1005를 수행하고, 수신된 초기화 카운트 정보의 장치 초기화 카운트가 동일한 값을 가지는 것으로 확인되면 동작 1007을 수행할 수 있다. 상기 동작 1007에서 서버 장치(208)는 전자 장치(201)가 장치 등록 후 처음 연결이 아닌 경우, 본 흐름도의 방법이 종료되고, 전자 장치(201)가 장치 등록 후 처음 연결된 경우, 동작 1014를 수행할 수 있다. 예들 들어, 전자 장치(201)가 기 등록된 장치인 경우, 장치 등록에 따른 기능을 제공할 수 있다.In operation 1004, the server device 208 according to various embodiments may determine whether to cancel device registration of the electronic device 201 based on the received device initialization count information. For example, the server device 208 determines that the device initialization count of the received device initialization count information is greater than the device initialization count of the device initialization count information corresponding to the electronic device 201 stored in the memory of the server device 208. You can check if it has . The server device 208 performs operation 1005 when it is confirmed that the device initialization count of the received initialization count information has a large value, and performs operation 1007 when it is confirmed that the device initialization count of the received initialization count information has the same value. can do. In operation 1007, the server device 208 performs operation 1014 when the electronic device 201 is not connected for the first time after device registration, the method of this flowchart ends, and when the electronic device 201 is connected for the first time after device registration. can do. For example, if the electronic device 201 is a previously registered device, a function according to device registration may be provided.

동작 1005에서, 다양한 실시예에 따른 서버 장치(208)는 서버 장치(208)의 메모리에 저장된 장치 초기화 카운트 정보를 상기 전자 장치(201)로부터 수신된 장치 초기화 카운트 정보로 업데이트할 수 있다.In operation 1005 , the server device 208 according to various embodiments may update device initialization count information stored in a memory of the server device 208 with device initialization count information received from the electronic device 201 .

동작 1006에서, 다양한 실시예에 따른 서버 장치(208)는 전자 장치(201)가 장치 초기화 상태인 것으로 인지하고, 상기 전자 장치(201)에 대한 장치 등록을 초기화(해제)할 수 있다.In operation 1006, the server device 208 according to various embodiments may recognize that the electronic device 201 is in a device initialization state and initialize (cancel) device registration for the electronic device 201.

동작 1011에서, 다양한 실시예에 따른 서버 장치(208)는 외부 전자 장치(예: 도 2의 제1 외부 전자 장치(202))(예: 모바일 장치)로부터 전자 장치(201)에 대한 장치 등록 요청을 수신할 수 있다.In operation 1011, the server device 208 according to various embodiments requests device registration for the electronic device 201 from an external electronic device (eg, the first external electronic device 202 of FIG. 2) (eg, a mobile device). can receive

동작 1012에서, 다양한 실시예에 따른 서버 장치(208)는 전자 장치(201)에 대한 장치 등록 요청에 기반하여, 상기 전자 장치(201)에 대한 장치 등록을 수행할 수 있다.In operation 1012, the server device 208 according to various embodiments may perform device registration for the electronic device 201 based on the device registration request for the electronic device 201.

동작 1013에서, 다양한 실시예에 따른 서버 장치(208)는 전자 장치(201)의 등록에 기반하여, 서버 장치(208)의 메모리에 저장된 장치 등록 갱신 정보를 업데이트할 수 있다.In operation 1013 , the server device 208 according to various embodiments may update device registration update information stored in a memory of the server device 208 based on the registration of the electronic device 201 .

동작 1014에서, 다양한 실시예에 따른 서버 장치(208)는 상기 전자 장치(201)가 장치 등록 후 처음으로 연결된 경우, 전자 장치(201)의 등록에 기반하여 업데이트되는 장치 등록 갱신 정보를 상기 전자 장치(201)에 전송할 수 있다.In operation 1014, when the electronic device 201 is connected for the first time after device registration, the server device 208 according to various embodiments sends device registration renewal information updated based on the registration of the electronic device 201 to the electronic device 201 . (201).

동작 1015에서, 다양한 실시예에 따른 서버 장치(208)는 상기 전자 장치(201)로부터 장치 등록 요청 정보의 업데이트에 대한 신호를 수신할 수 있다.In operation 1015, the server device 208 according to various embodiments may receive a signal for updating device registration request information from the electronic device 201.

동작 1016에서, 다양한 실시예에 따른 서버 장치(208)는 상기 신호의 수신에 응답하여, 서버 장치(208)의 메모리에 저장된 상기 전자 장치(201)에 대응하는 장치 등록 인증 정보를 상기 장치 등록 갱신 정보로 동기화하여 저장할 수 있다.In operation 1016, the server device 208 according to various embodiments updates the device registration authentication information corresponding to the electronic device 201 stored in the memory of the server device 208 in response to receiving the signal. Information can be synchronized and stored.

도 11은 다양한 실시예들에 따른 외부 전자 장치에서 수행되는 동작을 설명하기 위한 흐름도(1100)이다.11 is a flowchart 1100 for describing an operation performed in an external electronic device according to various embodiments.

다양한 실시예에 따르면, 동작 1101 내지 1105는 외부 전자 장치(예: 도 1의 전자 장치(102 또는 104) 또는 도 2의 제1 외부 전자 장치(202))(예: 모바일 장치) 또는 외부 전자 장치(202)에 포함되는 프로세서(예: 도 1의 프로세서(120))를 통해 실행될 수 있다. 외부 전자 장치(202)는 상기 동작 1101 내지 1105가 실행되도록 하는 인스트럭션들을 외부 전자 장치(202)의 메모리(예: 도 1의 메모리(130))에 저장할 수 있다. 한 실시예에서, 동작 1101 내지 1105 중 적어도 하나가 생략되거나, 일부 동작들이 동시에 병렬로 수행되거나, 일부 동작들의 순서가 바뀌거나, 다른 동작이 추가될 수 있다.According to various embodiments, operations 1101 to 1105 may be an external electronic device (eg, the electronic device 102 or 104 of FIG. 1 or the first external electronic device 202 of FIG. 2 ) (eg, a mobile device) or an external electronic device. It can be executed through a processor included in 202 (eg, processor 120 of FIG. 1). The external electronic device 202 may store instructions for executing the operations 1101 to 1105 in a memory (eg, the memory 130 of FIG. 1 ) of the external electronic device 202 . In one embodiment, at least one of operations 1101 to 1105 may be omitted, some operations may be simultaneously performed in parallel, some operations may be reordered, or other operations may be added.

동작 1101에서, 다양한 실시예에 따른 외부 전자 장치(202)는 근거리 통신 네트워크(198)를 통한 근거리 무선 통신으로 전자 장치(예: 도 2의 전자 장치(201))(예: IoT 장치)와 연결될 수 있다. 예를 들면, 외부 전자 장치(202)는 전자 장치(201)에 근접하는 것에 의해 자동 또는 수동으로 상기 전자 장치(201)와 근거리 무선 통신을 연결할 수 있다. 또는 외부 전자 장치(202)는 전자 장치(201)에 연결 요청을 전송하고, 전자 장치(201)로부터 연결 요청이 수락되면, 근거리 무선 통신을 연결할 수 있다.In operation 1101, the external electronic device 202 according to various embodiments is connected to an electronic device (eg, the electronic device 201 of FIG. 2) (eg, an IoT device) through short-range wireless communication through the short-range communication network 198. can For example, the external electronic device 202 may automatically or manually connect short-range wireless communication with the electronic device 201 by approaching the electronic device 201 . Alternatively, the external electronic device 202 transmits a connection request to the electronic device 201, and when the connection request is accepted from the electronic device 201, short-range wireless communication can be connected.

동작 1102에서, 다양한 실시예에 따른 외부 전자 장치(202)는 전자 장치(201)와 근거리 무선 통신이 연결되면, 상기 전자 장치(201)로부터 장치 등록을 위한 장치 등록 요청을 수신할 수 있다.In operation 1102, when the external electronic device 202 according to various embodiments is connected to the electronic device 201 through short-range wireless communication, it may receive a device registration request for device registration from the electronic device 201.

동작 1103에서, 다양한 실시예에 따른 외부 전자 장치(202)는 전자 장치(201)로부터 수신된 장치 등록 요청을 서버 장치(208)에 전달할 수 있다. 예를 들면, 외부 전자 장치(202)는 서버 장치(208)에 연결되면, 외부 전자 장치(202)의 사용자 계정에 기반하여, 상기 서버 장치(208)로부터 사용자에 대한 인증을 받고, 상기 사용자에 대한 사용자 인증이 수행되면, 상기 전자 장치(201)에 대한 장치 등록 요청을 상기 서버 장치(208)에 전달할 수 있다.In operation 1103, the external electronic device 202 according to various embodiments may transfer the device registration request received from the electronic device 201 to the server device 208. For example, when the external electronic device 202 is connected to the server device 208, based on the user account of the external electronic device 202, the user is authenticated by the server device 208, and the user When user authentication is performed, a device registration request for the electronic device 201 may be transmitted to the server device 208 .

동작 1104에서, 다양한 실시예에 따른 외부 전자 장치(202)는 서버 장치(208)가 전자 장치(201)에 대한 장치 등록을 수행하고, 수행된 장치 등록 결과 통보를 수신할 수 있다.In operation 1104, the external electronic device 202 according to various embodiments may perform device registration of the electronic device 201 by the server device 208 and receive a notification of a result of the device registration.

동작 1105에서, 외부 전자 장치(202)는 서버 장치(208)로부터 장치 등록 결과가 수신되면, 수신된 장치 등록 결과를 전자 장치(201)에 전달할 수 있다.In operation 1105 , when the device registration result is received from the server device 208 , the external electronic device 202 may transmit the received device registration result to the electronic device 201 .

도 12는 다양한 실시예들에 따른 외부 전자 장치에서 전자 장치의 장치 등록을 수행하기 위한 사용자 인터페이스를 예시한 도면(1200)이다.12 is a diagram 1200 illustrating a user interface for performing device registration of an electronic device in an external electronic device according to various embodiments.

도 12를 참조하면, 다양한 실시예에 따른 외부 전자 장치(202)는 사용자가 전자 장치(201)를 서버 장치(208)에 등록할 수 있도록 지원하는 어플리케이션이 설치되어 있거나, 웹사이트의 접속을 지원할 수 있다. 도 12의 (a)와 같이, 외부 전자 장치(202)는 서버 장치(208)에 등록하기 위한 전자 장치(201)를 추가할 수 있는 사용자 인터페이스(1210)를 표시할 수 있다. 도 12의 (a)에서 사용자가 라우터(예를 들어, Wi-Fi 공유기)를 선택(1211)할 수 있다. Referring to FIG. 12 , an external electronic device 202 according to various embodiments has an application that allows a user to register the electronic device 201 to a server device 208 or has an application that supports access to a website. can As shown in (a) of FIG. 12 , the external electronic device 202 may display a user interface 1210 capable of adding the electronic device 201 for registration to the server device 208 . In (a) of FIG. 12, the user may select a router (eg, a Wi-Fi router) (1211).

도 12의 (b)에서 외부 전자 장치(202)는 사용자에 의해 선택된 전자 장치(201)(예: 라우터)와 외부 전자 장치(202)가 근거리 무선 통신이 연결되는 상태를 나타내는 사용자 인터페이스(1220)를 표시할 수 있다.In (b) of FIG. 12, the external electronic device 202 is a user interface 1220 indicating a state in which the electronic device 201 (eg, a router) selected by the user and the external electronic device 202 are connected through short-range wireless communication. can be displayed.

도 12의 (c)에서 외부 전자 장치(202)는 전자 장치(201)(예: 라우터)로부터 서버 장치(208)에 장치를 등록하기 위한 장치 등록 요청을 수신하고, 수신된 장치 등록 요청을 서버 장치(208)에 전송하는 상태를 나타내는 사용자 인터페이스(1230)를 표시할 수 있다. 또한, 상기 사용자 인터페이스(1230)의 상단에는 상기 IoT 장치(201)에 대한 장치 등록 과정의 진행 정도를 나타내는 정보(1235)를 표시할 수 있다.In (c) of FIG. 12, the external electronic device 202 receives a device registration request for registering a device in the server device 208 from the electronic device 201 (eg, a router), and sends the received device registration request to the server. The device 208 may display a user interface 1230 indicating the transmission status. In addition, information 1235 representing a progress level of a device registration process for the IoT device 201 may be displayed at the top of the user interface 1230 .

도 12의 (d)에서 외부 전자 장치(202)는 서버 장치(208)에 장치 등록 요청을 전송하고, 서버 장치(208)에서 상기 전자 장치(201)에 대한 장치 등록이 진행되어 완료되는 상태를 나타내는 사용자 인터페이스(1240)를 표시할 수 있다. 또한, 상기 사용자 인터페이스(1240)의 상단에는 상기 전자 장치(201)에 대한 장치 등록 과정의 진행 정도를 나타내는 정보(1245)를 표시할 수 있다.In (d) of FIG. 12, the external electronic device 202 transmits a device registration request to the server device 208, and the server device 208 indicates a state in which device registration for the electronic device 201 is in progress and completed. A user interface 1240 may be displayed. In addition, information 1245 representing a progress level of a device registration process for the electronic device 201 may be displayed at the top of the user interface 1240 .

다양한 실시예에 따른 전자 장치(예: 도 1의 전자 장치(101) 또는 도 2의 전자 장치(202))(예: IoT 장치)는, 제1 외부 전자 장치(예: 도 1의 전자 장치(102 또는 104) 또는 도 2의 제1 외부 전자 장치(202))(예: 모바일 장치) 또는 제2 외부 전자 장치(예: 도 1의 서버(108) 또는 도 2의 제2 외부 전자 장치(208))(예: 서버 장치)와 통신을 제공하도록 구성된 적어도 하나의 통신 회로(예: 도 1의 통신 모듈(190)), 상기 적어도 하나의 통신 회로에 작동적으로 연결된 적어도 하나의 프로세서(예: 도 1의 프로세서(120)) 및 장치 등록 요청 정보를 포함하고, 상기 적어도 하나의 프로세서에 작동적으로 연결된 메모리(예: 도 1의 메모리(120))를 포함하고, 상기 메모리(130)는, 실행될 때, 상기 적어도 하나의 프로세서(120)가, 상기 적어도 하나의 통신 회로를 통하여, 상기 제1 외부 전자 장치(202)와 제1 통신(예: 근거리 무선 통신)이 연결되면, 상기 전자 장치(201)를 상기 제2 외부 전자 장치(208)에 등록하기 위한 상기 장치 등록 요청 정보를 적어도 포함하는 장치 등록 요청을 상기 제1 외부 전자 장치(202)에 전달하고, 상기 제1 외부 전자 장치(202)로부터 상기 장치 등록 요청에 대한 응답을 수신하고, 상기 응답에 기반하여, 상기 적어도 하나의 통신 회로를 통하여, 상기 제2 외부 전자 장치(208)와 제2 통신(예: 원거리 유무선 통신)이 연결되면, 상기 전자 장치(201)의 등록 요청에 기반하여 업데이트되는 장치 등록 갱신 정보를 상기 제2 외부 전자 장치(208)로부터 수신하고 및 상기 수신된 장치 등록 갱신 정보를 상기 메모리(130)에 저장하도록 설정된 인스트럭션들을 저장할 수 있다.An electronic device (eg, the electronic device 101 of FIG. 1 or the electronic device 202 of FIG. 2 ) (eg, an IoT device) according to various embodiments includes a first external electronic device (eg, the electronic device of FIG. 1 ( 102 or 104) or the first external electronic device 202 in FIG. 2) (eg, a mobile device) or a second external electronic device (eg, the server 108 in FIG. 1 or the second external electronic device 208 in FIG. 2 ) )) (eg, a server device) and at least one communication circuit configured to provide communication (eg, communication module 190 of FIG. 1 ), at least one processor operatively coupled to the at least one communication circuit (eg, The processor 120 of FIG. 1) and a memory including device registration request information and operatively coupled to the at least one processor (eg, the memory 120 of FIG. 1), the memory 130 comprising: When executed, when the at least one processor 120 is connected to the first external electronic device 202 through the at least one communication circuit for first communication (eg, short-range wireless communication), the electronic device ( 201) is transmitted to the first external electronic device 202, and the device registration request including at least the device registration request information for registering the device with the second external electronic device 208 is transmitted, and the first external electronic device 202 ) receives a response to the device registration request, and based on the response, second communication (eg, long-distance wired/wireless communication) is connected with the second external electronic device 208 through the at least one communication circuit. , receive device registration update information updated based on the registration request of the electronic device 201 from the second external electronic device 208 and store the received device registration update information in the memory 130 Set instructions can be saved.

다양한 실시예에 따른 전자 장치(201)에 있어서, 상기 인스트럭션들은 상기 프로세서가, 상기 제1 통신이 연결되면, 상기 전자 장치의 상태를 확인하고, 및 상기 확인된 전자 장치의 상태에 기반하여, 상기 적어도 하나의 통신 회로를 통하여, 상기 장치 등록 요청을 상기 제1 외부 전자 장치에 전송하도록 설정될 수 있다.In the electronic device 201 according to various embodiments, the instructions may cause the processor to check a state of the electronic device when the first communication is connected, and based on the checked state of the electronic device, The device registration request may be transmitted to the first external electronic device through at least one communication circuit.

다양한 실시예에 따른 전자 장치(201)에 있어서, 상기 장치 등록 요청은 상기 전자 장치의 식별을 위한 장치 식별 정보를 포함할 수 있다.In the electronic device 201 according to various embodiments, the device registration request may include device identification information for identifying the electronic device.

다양한 실시예에 따른 전자 장치(201)에 있어서, 상기 인스트럭션들은 상기 프로세서가, 상기 수신된 장치 등록 갱신 정보를 상기 장치 등록 요청 정보로서 상기 메모리에 업데이트하여 저장하도록 설정될 수 있다.In the electronic device 201 according to various embodiments, the instructions may be set such that the processor updates and stores the received device registration update information in the memory as the device registration request information.

다양한 실시예에 따른 전자 장치(201)에 있어서, 상기 인스트럭션들은 상기 프로세서가, 상기 장치 등록 요청 정보가 업데이트되는 것에 기반하여, 상기 적어도 하나의 통신 회로를 통하여, 상기 장치 등록 요청 정보의 업데이트에 대한 신호를 상기 제2 외부 전자 장치에 전송하도록 설정될 수 있다.In the electronic device 201 according to various embodiments, the instructions may cause the processor to update the device registration request information through the at least one communication circuit based on the update of the device registration request information. A signal may be transmitted to the second external electronic device.

다양한 실시예에 따른 전자 장치(201)에 있어서, 상기 메모리는 상기 전자 장치의 장치 초기화 카운트를 나타내는 장치 초기화 카운트 정보를 포함하고, 상기 인스트럭션들은 상기 프로세서가, 상기 적어도 하나의 통신 회로를 통하여, 상기 제2 외부 전자 장치와 상기 제2 통신이 연결되면, 상기 전자 장치의 상기 장치 초기화 카운트 정보를 상기 제2 외부 전자 장치에 전송하도록 설정될 수 있다.In the electronic device 201 according to various embodiments, the memory includes device initialization count information representing a device initialization count of the electronic device, and the instructions cause the processor to, through the at least one communication circuit, When the second communication is established with the second external electronic device, the device initialization count information of the electronic device may be transmitted to the second external electronic device.

다양한 실시예에 따른 전자 장치(201)에 있어서, 상기 인스트럭션들은 상기 프로세서가, 상기 전자 장치가 장치 초기화되는 것이 감지된 경우, 상기 장치 초기화 카운트를 증가시킨 장치 초기화 카운트 정보를 상기 메모리에 업데이트하여 저장하도록 설정될 수 있다.In the electronic device 201 according to various embodiments of the present disclosure, the instructions include, when the processor detects that the electronic device is being initialized, updating and storing device initialization count information that has increased the device initialization count in the memory. can be set to

다양한 실시예에 따른 전자 장치(201)에 있어서, 상기 인스트럭션들은 상기 프로세서가, 상기 장치 초기화 카운트 정보가 업데이트되는 것에 기반하여, 상기 적어도 하나의 통신 회로를 통하여, 상기 업데이트된 장치 초기화 카운트 정보를 상기 제2 외부 전자 장치에 전송하도록 설정될 수 있다.In the electronic device 201 according to various embodiments, the instructions may cause the processor to send the updated device initialization count information through the at least one communication circuit based on the device initialization count information being updated. It can be set to be transmitted to the second external electronic device.

다양한 실시예에 따른 전자 장치(201)에 있어서, 상기 적어도 하나의 통신 회로는, 상기 제1 외부 전자 장치와 근거리 통신 네트워크를 통한 상기 제1 통신을 제공하도록 구성된 적어도 하나의 제1 통신 회로 및 상기 제2 외부 전자 장치와 원거리 통신 네트워크를 통한 상기 제2 통신을 제공하도록 구성된 적어도 하나의 제2 통신 회로를 포함할 수 있다.In the electronic device 201 according to various embodiments, the at least one communication circuit includes at least one first communication circuit configured to provide the first communication with the first external electronic device through a local area network; and at least one second communication circuitry configured to provide the second communication with a second external electronic device through a telecommunications network.

다양한 실시예에 따른 전자 장치(예: 도 1의 서버(108) 또는 도 2의 제2 외부 전자 장치(208))(예: 서버 장치)는, 제1 외부 전자 장치(예: 도 1의 전자 장치(102 또는 104) 또는 도 2의 제1 외부 전자 장치(202))(예: 모바일 장치) 또는 제2 외부 전자 장치(예: 도 1의 전자 장치(101) 또는 도 2의 전자 장치(201))(예: IoT 장치)와 통신을 제공하도록 구성된 적어도 하나의 통신 회로(예: 도 1의 통신 모듈(190)), 상기 적어도 하나의 통신 회로에 작동적으로 연결된 적어도 하나의 프로세서(예: 도 1의 프로세서(120)) 및 상기 적어도 하나의 프로세서에 작동적으로 연결된 메모리(예: 도 1의 메모리(130))를 포함하고, 상기 메모리(130)는, 실행될 때, 상기 적어도 하나의 프로세서(120)가, 상기 적어도 하나의 통신 회로를 통하여, 상기 제1 외부 전자 장치(202)로부터 상기 제2 외부 전자 장치(201)의 식별을 위한 장치 식별 정보 및 상기 제2 외부 전자 장치(201)의 장치 등록을 위한 장치 등록 요청 정보를 적어도 포함하는 장치 등록 요청을 수신하고, 상기 장치 등록 요청에 기반하여, 상기 메모리(130)에 저장된 상기 제2 외부 전자 장치(201)의 장치 등록을 인증하기 위한 장치 등록 인증 정보를 확인하고, 상기 확인된 장치 등록 인증 정보 및 상기 장치 등록 요청에 포함된 상기 장치 등록 요청 정보에 기반하여, 상기 제2 외부 전자 장치(201)의 장치 등록을 수행하고, 상기 제2 외부 전자 장치(201)의 장치 등록 결과를 상기 제1 외부 전자 장치(202)로 전송하고, 및 상기 적어도 하나의 통신 회로를 통하여, 상기 제2 외부 전자 장치(201)가 연결되면, 상기 제2 외부 전자 장치(201)의 등록 요청에 기반하여 업데이트되는 장치 등록 갱신 정보를 상기 제2 외부 전자 장치(201)에 전송하도록 설정된 인스트럭션들을 저장할 수 있다.An electronic device (eg, the server 108 of FIG. 1 or the second external electronic device 208 of FIG. 2 ) (eg, the server device) according to various embodiments includes a first external electronic device (eg, the electronic device of FIG. 1 ). Device 102 or 104 or first external electronic device 202 in FIG. 2 (eg mobile device) or second external electronic device (eg electronic device 101 in FIG. 1 or electronic device 201 in FIG. 2 ) )) (eg, an IoT device) and at least one communication circuit configured to provide communication (eg, communication module 190 of FIG. 1 ), at least one processor operatively coupled to the at least one communication circuit (eg, processor 120 of FIG. 1) and a memory operatively coupled to the at least one processor (eg, memory 130 of FIG. 1 ), wherein the memory 130, when executed, operates on the at least one processor (120) provides device identification information for identification of the second external electronic device 201 and the second external electronic device 201 from the first external electronic device 202 through the at least one communication circuit. Receiving a device registration request including at least device registration request information for device registration of and authenticating the device registration of the second external electronic device 201 stored in the memory 130 based on the device registration request device registration authentication information for the second external electronic device 201 is checked, and device registration of the second external electronic device 201 is performed based on the checked device registration authentication information and the device registration request information included in the device registration request; When the device registration result of the second external electronic device 201 is transmitted to the first external electronic device 202, and the second external electronic device 201 is connected through the at least one communication circuit, the Instructions configured to transmit device registration renewal information updated based on a registration request of the second external electronic device 201 to the second external electronic device 201 may be stored.

다양한 실시예에 따른 전자 장치(208)에 있어서, 상기 인스트럭션들은 상기 프로세서가, 상기 적어도 하나의 통신 회로를 통하여, 상기 제1 외부 전자 장치가 연결되면, 상기 제1 외부 전자 장치의 사용자 계정에 기반하여, 사용자에 대한 인증을 수행하고, 및 상기 사용자에 대한 사용자 인증이 수행되면, 상기 제1 외부 전자 장치로부터 상기 제2 외부 전자 장치에 대한 상기 장치 등록 요청을 수신하도록 설정될 수 있다.In the electronic device 208 according to various embodiments, the instructions are based on a user account of the first external electronic device when the processor connects the first external electronic device through the at least one communication circuit. Accordingly, authentication of the user may be performed, and when the user authentication of the user is performed, the device registration request for the second external electronic device may be received from the first external electronic device.

다양한 실시예에 따른 전자 장치(208)에 있어서, 상기 인스트럭션들은 상기 프로세서가, 상기 장치 등록 요청에 포함된 상기 제2 외부 전자 장치의 상기 장치 식별 정보에 기반하여, 상기 메모리에 저장된 상기 제2 외부 전자 장치에 대응하는 상기 장치 등록 갱신 정보를 확인하고, 상기 확인된 장치 등록 갱신 정보 및 상기 장치 등록 요청에 포함된 상기 장치 등록 요청 정보가 일치하면, 상기 메모리에 저장된 장치 등록 갱신 정보를 업데이트하여 저장하도록 설정될 수 있다.In the electronic device 208 according to various embodiments, the instructions cause the processor to determine the second external electronic device stored in the memory based on the device identification information of the second external electronic device included in the device registration request. The device registration update information corresponding to the electronic device is checked, and if the checked device registration update information and the device registration request information included in the device registration request match, the device registration update information stored in the memory is updated and stored. can be set to

다양한 실시예에 따른 전자 장치(208)에 있어서, 상기 인스트럭션들은 상기 프로세서가, 상기 장치 등록 요청에 포함된 상기 제2 외부 전자 장치의 상기 장치 식별 정보에 기반하여, 상기 메모리에 저장된 상기 제2 외부 전자 장치에 대응하는 상기 장치 등록 갱신 정보를 확인하고, 상기 확인된 장치 등록 갱신 정보 및 상기 장치 등록 요청에 포함된 상기 장치 등록 요청 정보가 일치하지 않으면, 상기 메모리에 저장된 장치 등록 갱신 정보를 유지하여 저장하도록 설정될 수 있다.In the electronic device 208 according to various embodiments, the instructions cause the processor to determine the second external electronic device stored in the memory based on the device identification information of the second external electronic device included in the device registration request. The device registration update information corresponding to the electronic device is checked, and if the checked device registration update information and the device registration request information included in the device registration request do not match, the device registration update information stored in the memory is maintained. Can be set to save.

다양한 실시예에 따른 전자 장치(208)에 있어서, 상기 인스트럭션들은 상기 프로세서가, 상기 장치 등록 요청에 포함된 상기 제2 외부 전자 장치의 상기 장치 식별 정보에 기반하여, 상기 메모리에 저장된 상기 제2 외부 전자 장치에 대응하는 상기 장치 등록 인증 정보를 확인하고, 상기 확인된 장치 등록 인증 정보와 상기 장치 등록 요청에 포함된 상기 장치 등록 요청 정보가 일치하면, 상기 제2 외부 전자 장치에 대한 장치 등록을 수행하도록 설정될 수 있다.In the electronic device 208 according to various embodiments, the instructions cause the processor to determine the second external electronic device stored in the memory based on the device identification information of the second external electronic device included in the device registration request. The device registration authentication information corresponding to the electronic device is checked, and if the checked device registration authentication information and the device registration request information included in the device registration request match, the device registration of the second external electronic device is performed. can be set to

다양한 실시예에 따른 전자 장치(208)에 있어서, 상기 인스트럭션들은 상기 프로세서가, 상기 적어도 하나의 통신 회로를 통하여, 상기 제2 외부 전자 장치로부터 상기 제2 외부 전자 장치의 상기 장치 등록 요청 정보의 업데이트에 대한 신호를 수신하고, 상기 신호의 수신에 응답하여, 상기 메모리에 저장된 상기 제2 외부 전자 장치에 대응하는 상기 장치 등록 인증 정보를 상기 장치 등록 갱신 정보로 동기화하여 저장하도록 설정될 수 있다.In the electronic device 208 according to various embodiments, the instructions may cause the processor to update the device registration request information of the second external electronic device from the second external electronic device through the at least one communication circuit. Receive a signal for and, in response to receiving the signal, synchronize and store the device registration authentication information corresponding to the second external electronic device stored in the memory as the device registration update information.

다양한 실시예에 따른 전자 장치(208)에 있어서, 상기 메모리는 상기 제2 외부 전자 장치의 장치 초기화 카운트를 나타내는 장치 초기화 카운트 정보를 포함하고, 상기 인스트럭션들은 상기 프로세서가, 상기 적어도 하나의 통신 회로를 통하여, 상기 제2 외부 전자 장치로부터 상기 제2 외부 전자 장치의 장치 초기화 카운트 정보를 수신하고, 상기 제2 외부 전자 장치의 상기 장치 식별 정보에 기반하여, 상기 메모리에 저장된 상기 제2 외부 전자 장치에 대응하는 상기 장치 초기화 카운트 정보를 확인하고, 상기 확인된 장치 초기화 카운트 정보의 장치 초기화 카운트가 상기 수신된 장치 초기화 카운트 정보의 장치 초기화 카운트보다 작으면, 상기 제2 외부 전자 장치에 대한 장치 등록을 해제하도록 설정될 수 있다.In the electronic device 208 according to various embodiments, the memory includes device initialization count information indicating a device initialization count of the second external electronic device, and the instructions cause the processor to configure the at least one communication circuit. device initialization count information of the second external electronic device is received from the second external electronic device, and based on the device identification information of the second external electronic device, the second external electronic device stored in the memory Check the corresponding device initialization count information, and if the device initialization count of the checked device initialization count information is smaller than the device initialization count of the received device initialization count information, release the device registration with the second external electronic device. can be set to

다양한 실시예에 따른 전자 장치(208)에 있어서, 상기 인스트럭션들은 상기 프로세서가, 상기 제2 외부 전자 장치에 대한 장치 등록을 해제하는 것에 응답하여, 상기 메모리에 저장된 상기 제2 외부 전자 장치에 대응하는 상기 장치 초기화 카운트 정보를 상기 수신된 장치 초기화 카운트 정보로 동기화하여 저장하도록 설정될 수 있다.In the electronic device 208 according to various embodiments of the present disclosure, the instructions correspond to instructions corresponding to the second external electronic device stored in the memory in response to deregistration of the device with respect to the second external electronic device by the processor. The device initialization count information may be set to be synchronized with the received device initialization count information and stored.

다양한 실시예에 따른 전자 장치(208)에 있어서, 상기 적어도 하나의 통신 회로는, 상기 제1 외부 전자 장치 또는 상기 제2 외부 전자 장치와 원거리 통신 네트워크를 통한 통신을 제공하도록 구성될 수 있다.In the electronic device 208 according to various embodiments, the at least one communication circuit may be configured to provide communication with the first external electronic device or the second external electronic device through a long-distance communication network.

다양한 실시예에 따른 인스트럭션들을 비일시적으로 저장하고 있는 저장 매체에 있어서, 상기 인스트럭션들은 적어도 하나의 회로에 의해서 실행될 때에 상기 적어도 하나의 회로로 하여금 적어도 하나의 동작을 수행하도록 설정된 것으로, 상기 적어도 하나의 동작은, 전자 장치가 제1 외부 전자 장치와 제1 통신이 연결되면, 상기 전자 장치를 제2 외부 전자 장치에 등록하기 위한 장치 등록 요청 정보를 적어도 포함하는 장치 등록 요청을 상기 제1 외부 전자 장치에 전달하는 동작, 상기 제1 외부 전자 장치로부터 상기 장치 등록 요청에 대한 응답을 수신하는 동작, 상기 응답에 기반하여, 상기 제2 외부 전자 장치와 제2 통신이 연결되면, 상기 전자 장치의 등록 요청에 기반하여 업데이트되는 장치 등록 갱신 정보를 상기 제2 외부 전자 장치로부터 수신하는 동작, 및 상기 수신된 장치 등록 갱신 정보를 상기 메모리에 저장하는 동작을 포함할 수 있다.In a storage medium for non-temporarily storing instructions according to various embodiments, the instructions are configured to cause the at least one circuit to perform at least one operation when executed by the at least one circuit, and the at least one circuit The operation may include, when the electronic device first communicates with the first external electronic device, sends a device registration request including at least device registration request information for registering the electronic device with the second external electronic device to the first external electronic device. Sending a response to the device registration request from the first external electronic device, receiving a response to the device registration request from the first external electronic device, and when second communication is established with the second external electronic device based on the response, the registration request of the electronic device and receiving device registration update information updated based on the second external electronic device from the second external electronic device, and storing the received device registration update information in the memory.

다양한 실시예에 따른 저장 매체에 있어서, 상기 전자 장치가 상기 제2 외부 전자 장치와 상기 제2 통신이 연결되면, 상기 전자 장치의 장치 초기화 카운트를 나타내는 장치 초기화 카운트 정보를 상기 제2 외부 전자 장치에 전송하는 동작, 상기 전자 장치가 장치 초기화되는 것이 감지된 경우, 상기 장치 초기화 카운트를 증가시킨 장치 초기화 카운트 정보를 업데이트하여 저장하는 동작, 및 상기 장치 초기화 카운트 정보가 업데이트되는 것에 기반하여, 상기 업데이트된 장치 초기화 카운트 정보를 상기 제2 외부 전자 장치에 전송하는 동작을 더 포함할 수 있다.In the storage medium according to various embodiments, when the electronic device connects the second communication with the second external electronic device, device initialization count information indicating a device initialization count of the electronic device is transmitted to the second external electronic device. transmitting, updating and storing device initialization count information that increased the device initialization count when device initialization is detected by the electronic device, and updating the device initialization count information based on the updated device initialization count information. The method may further include transmitting device initialization count information to the second external electronic device.

본 문서에 개시된 다양한 실시예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치 (예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.Electronic devices according to various embodiments disclosed in this document may be devices of various types. The electronic device may include, for example, a portable communication device (eg, a smart phone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a home appliance. An electronic device according to an embodiment of the present document is not limited to the aforementioned devices.

본 문서의 다양한 실시예들 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시예들로 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나", "A 또는 B 중 적어도 하나", "A, B 또는 C", "A, B 및 C 중 적어도 하나", 및 "A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들의 모든 가능한 조합을 포함할 수 있다. "제 1", "제 2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제 1) 구성요소가 다른(예: 제 2) 구성요소에, "기능적으로" 또는 "통신적으로"라는 용어와 함께 또는 이런 용어 없이, "커플드" 또는 "커넥티드"라고 언급된 경우, 그것은 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제 3 구성요소를 통하여 연결될 수 있다는 것을 의미한다.Various embodiments of this document and terms used therein are not intended to limit the technical features described in this document to specific embodiments, but should be understood to include various modifications, equivalents, or substitutes of the embodiments. In connection with the description of the drawings, like reference numbers may be used for like or related elements. The singular form of a noun corresponding to an item may include one item or a plurality of items, unless the relevant context clearly dictates otherwise. In this document, "A or B", "at least one of A and B", "at least one of A or B", "A, B or C", "at least one of A, B and C", and "A Each of the phrases such as “at least one of , B, or C” may include all possible combinations of items listed together in the corresponding one of the phrases. Terms such as "first", "second", or "first" or "secondary" may simply be used to distinguish a given component from other corresponding components, and may be used to refer to a given component in another aspect (eg, importance or order) is not limited. A (e.g., first) component is said to be "coupled" or "connected" to another (e.g., second) component, with or without the terms "functionally" or "communicatively." When mentioned, it means that the certain component may be connected to the other component directly (eg by wire), wirelessly, or through a third component.

본 문서에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로 등의 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일실시예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다.The term "module" used in this document may include a unit implemented by hardware, software, or firmware, and may be used interchangeably with terms such as logic, logic block, component, or circuit, for example. A module may be an integrally constructed component or a minimal unit of components or a portion thereof that performs one or more functions. For example, according to one embodiment, the module may be implemented in the form of an application-specific integrated circuit (ASIC).

본 문서의 다양한 실시예들은 기기(machine)(예: 전자 장치(101)) 의해 읽을 수 있는 저장 매체(storage medium)(예: 내장 메모리(136) 또는 외장 메모리(138))에 저장된 하나 이상의 명령어들을 포함하는 소프트웨어(예: 프로그램(140))로서 구현될 수 있다. 예를 들면, 기기(예: 전자 장치(101))의 프로세서(예: 프로세서(120))는, 저장 매체로부터 저장된 하나 이상의 명령어들 중 적어도 하나의 명령을 호출하고, 그것을 실행할 수 있다. 이것은 기기가 상기 호출된 적어도 하나의 명령어에 따라 적어도 하나의 기능을 수행하도록 운영되는 것을 가능하게 한다. 상기 하나 이상의 명령어들은 컴파일러에 의해 생성된 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장매체는, 비일시적(non-transitory) 저장매체의 형태로 제공될 수 있다. 여기서, '비일시적'은 저장매체가 실재(tangible)하는 장치이고, 신호(signal)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.Various embodiments of this document provide one or more instructions stored in a storage medium (eg, internal memory 136 or external memory 138) readable by a machine (eg, electronic device 101). It may be implemented as software (eg, the program 140) including them. For example, a processor (eg, the processor 120 ) of a device (eg, the electronic device 101 ) may call at least one command among one or more instructions stored from a storage medium and execute it. This enables the device to be operated to perform at least one function according to the at least one command invoked. The one or more instructions may include code generated by a compiler or code executable by an interpreter. The device-readable storage medium may be provided in the form of a non-transitory storage medium. Here, 'non-temporary' only means that the storage medium is a tangible device and does not contain signals (e.g., electromagnetic waves), and this term refers to the case where data is stored semi-permanently in the storage medium. It does not discriminate when it is temporarily stored.

일실시예에 따르면, 본 문서에 개시된 다양한 실시예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory (CD-ROM))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어TM)를 통해 또는 두 개의 사용자 장치들(예: 스마트폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.According to one embodiment, the method according to various embodiments disclosed in this document may be included and provided in a computer program product. Computer program products may be traded between sellers and buyers as commodities. A computer program product is distributed in the form of a device-readable storage medium (eg compact disc read only memory (CD-ROM)), or through an application store (eg Play Store TM ) or on two user devices ( It can be distributed (eg downloaded or uploaded) online, directly between smartphones. In the case of online distribution, at least part of the computer program product may be temporarily stored or temporarily created in a device-readable storage medium such as a manufacturer's server, an application store server, or a relay server's memory.

다양한 실시예들에 따르면, 상기 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있다. 다양한 실시예들에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.According to various embodiments, each component (eg, module or program) of the components described above may include a singular entity or a plurality of entities. According to various embodiments, one or more components or operations among the aforementioned corresponding components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of components (eg modules or programs) may be integrated into a single component. In this case, the integrated component may perform one or more functions of each of the plurality of components identically or similarly to those performed by a corresponding component of the plurality of components prior to the integration. . According to various embodiments, the actions performed by a module, program, or other component are executed sequentially, in parallel, iteratively, or heuristically, or one or more of the actions are executed in a different order, or omitted. or one or more other actions may be added.

101, 201: 전자 장치(IoT 장치)
102, 104, 202: 제1 외부 전자 장치(모바일 장치)
108, 208: 제2 외부 전자 장치(서버 장치)
101, 201: electronic device (IoT device)
102, 104, 202: first external electronic device (mobile device)
108, 208: second external electronic device (server device)

Claims (20)

전자 장치에 있어서,
제1 외부 전자 장치 또는 제2 외부 전자 장치와 통신을 제공하도록 구성된 적어도 하나의 통신 회로;
상기 적어도 하나의 통신 회로에 작동적으로(operatively) 연결된 적어도 하나의 프로세서; 및
장치 등록 요청 정보 포함하고, 상기 적어도 하나의 프로세서에 작동적으로 연결된 메모리를 포함하고,
상기 메모리는, 실행될 때, 상기 전자 장치가,
상기 적어도 하나의 통신 회로를 통하여, 상기 제1 외부 전자 장치와 제1 통신이 연결되면, 상기 전자 장치를 상기 제2 외부 전자 장치에 등록하기 위한 상기 장치 등록 요청 정보를 적어도 포함하는 장치 등록 요청을 상기 제1 외부 전자 장치에 전달하고;
상기 제1 외부 전자 장치로부터 상기 장치 등록 요청에 대한 응답을 수신하고;
상기 응답에 기반하여, 상기 적어도 하나의 통신 회로를 통하여, 상기 제2 외부 전자 장치와 제2 통신이 연결되면, 상기 전자 장치의 장치 등록 요청에 기반하여 업데이트되는 장치 등록 갱신 정보를 상기 제2 외부 전자 장치로부터 수신하고; 및
상기 수신된 장치 등록 갱신 정보를 상기 메모리에 저장하도록 하는 인스트럭션들을 포함하고,
상기 메모리는 상기 전자 장치의 장치 초기화 카운트를 나타내는 장치 초기화 카운트 정보를 저장하고,
상기 인스트럭션들은 상기 전자 장치가,
상기 적어도 하나의 통신 회로를 통하여, 상기 제2 외부 전자 장치와 상기 제2 통신이 연결되면, 상기 전자 장치의 상기 장치 초기화 카운트 정보를 상기 제2 외부 전자 장치에 전송하도록 설정된 전자 장치.
In electronic devices,
at least one communication circuit configured to provide communication with the first external electronic device or the second external electronic device;
at least one processor operatively coupled to the at least one communication circuit; and
a memory comprising device registration request information and operatively coupled to the at least one processor;
The memory, when executed, the electronic device,
When first communication is established with the first external electronic device through the at least one communication circuit, a device registration request including at least the device registration request information for registering the electronic device with the second external electronic device is received. transfer to the first external electronic device;
receive a response to the device registration request from the first external electronic device;
Based on the response, when second communication is connected with the second external electronic device through the at least one communication circuit, device registration update information updated based on the device registration request of the electronic device is transmitted to the second external electronic device. receive from an electronic device; and
and instructions for storing the received device registration update information in the memory;
the memory stores device initialization count information indicating a device initialization count of the electronic device;
The instructions are the electronic device,
The electronic device configured to transmit the device initialization count information of the electronic device to the second external electronic device when the second external electronic device and the second communication are connected through the at least one communication circuit.
제1항에 있어서,
상기 인스트럭션들은 상기 전자 장치가,
상기 제1 통신이 연결되면, 상기 전자 장치의 상태를 확인하고; 및
상기 확인된 전자 장치의 상태에 기반하여, 상기 적어도 하나의 통신 회로를 통하여, 상기 장치 등록 요청을 상기 제1 외부 전자 장치에 전송하도록 설정된 전자 장치.
According to claim 1,
The instructions are the electronic device,
if the first communication is connected, check the status of the electronic device; and
An electronic device configured to transmit the device registration request to the first external electronic device through the at least one communication circuit based on the checked state of the electronic device.
제1항에 있어서,
상기 장치 등록 요청은 상기 전자 장치의 식별을 위한 장치 식별 정보를 포함하는 전자 장치.
According to claim 1,
The device registration request includes device identification information for identifying the electronic device.
제1항에 있어서,
상기 인스트럭션들은 상기 전자 장치가,
상기 수신된 장치 등록 갱신 정보를 상기 장치 등록 요청 정보로서 상기 메모리에 업데이트하여 저장하도록 설정된 전자 장치.
According to claim 1,
The instructions are the electronic device,
An electronic device configured to update and store the received device registration update information in the memory as the device registration request information.
◈청구항 5은(는) 설정등록료 납부시 포기되었습니다.◈◈Claim 5 was abandoned when the registration fee was paid.◈ 제4항에 있어서,
상기 인스트럭션들은 상기 전자 장치가,
상기 장치 등록 요청 정보가 업데이트되는 것에 기반하여, 상기 적어도 하나의 통신 회로를 통하여, 상기 장치 등록 요청 정보의 업데이트에 대한 신호를 상기 제2 외부 전자 장치에 전송하도록 설정된 전자 장치.
According to claim 4,
The instructions are the electronic device,
An electronic device configured to transmit a signal for updating the device registration request information to the second external electronic device through the at least one communication circuit, based on the update of the device registration request information.
삭제delete 제1항에 있어서,
상기 인스트럭션들은 상기 전자 장치가,
상기 전자 장치가 장치 초기화되는 것이 감지된 경우, 상기 장치 초기화 카운트를 증가시킨 장치 초기화 카운트 정보를 상기 메모리에 업데이트하여 저장하도록 설정된 전자 장치.
According to claim 1,
The instructions are the electronic device,
The electronic device configured to update and store device initialization count information in the memory when device initialization is detected by the electronic device.
◈청구항 8은(는) 설정등록료 납부시 포기되었습니다.◈◈Claim 8 was abandoned when the registration fee was paid.◈ 제7항에 있어서,
상기 인스트럭션들은 상기 전자 장치가,
상기 장치 초기화 카운트 정보가 업데이트되는 것에 기반하여, 상기 적어도 하나의 통신 회로를 통하여, 상기 업데이트된 장치 초기화 카운트 정보를 상기 제2 외부 전자 장치에 전송하도록 설정된 전자 장치.
According to claim 7,
The instructions are the electronic device,
The electronic device configured to transmit the updated device initialization count information to the second external electronic device through the at least one communication circuit based on the device initialization count information being updated.
◈청구항 9은(는) 설정등록료 납부시 포기되었습니다.◈◈Claim 9 was abandoned when the registration fee was paid.◈ 제1항에 있어서,
상기 적어도 하나의 통신 회로는,
상기 제1 외부 전자 장치와 근거리 통신 네트워크를 통한 상기 제1 통신을 제공하도록 구성된 적어도 하나의 제1 통신 회로; 및
상기 제2 외부 전자 장치와 원거리 통신 네트워크를 통한 상기 제2 통신을 제공하도록 구성된 적어도 하나의 제2 통신 회로를 포함하는 전자 장치.
According to claim 1,
said at least one communication circuit,
at least one first communication circuit configured to provide the first communication with the first external electronic device through a local area network; and
and at least one second communication circuit configured to provide the second communication with the second external electronic device over a telecommunications network.
전자 장치에 있어서,
제1 외부 전자 장치 또는 제2 외부 전자 장치와 통신을 제공하도록 구성된 적어도 하나의 통신 회로;
상기 적어도 하나의 통신 회로에 작동적으로(operatively) 연결된 적어도 하나의 프로세서; 및
상기 적어도 하나의 프로세서에 작동적으로 연결된 메모리를 포함하고,
상기 메모리는, 실행될 때, 상기 전자 장치가,
상기 적어도 하나의 통신 회로를 통하여, 상기 제1 외부 전자 장치로부터 상기 제2 외부 전자 장치의 식별을 위한 장치 식별 정보 및 상기 제2 외부 전자 장치의 장치 등록을 위한 장치 등록 요청 정보를 적어도 포함하는 장치 등록 요청을 수신하고;
상기 장치 등록 요청에 기반하여, 상기 메모리에 저장된 상기 제2 외부 전자 장치의 장치 등록을 인증하기 위한 장치 등록 인증 정보를 확인하고;
상기 확인된 장치 등록 인증 정보 및 상기 장치 등록 요청에 포함된 상기 장치 등록 요청 정보에 기반하여, 상기 제2 외부 전자 장치의 장치 등록을 수행하고;
상기 제2 외부 전자 장치의 장치 등록 결과를 상기 제1 외부 전자 장치로 전송하고; 및
상기 적어도 하나의 통신 회로를 통하여, 상기 제2 외부 전자 장치가 연결되면, 상기 제2 외부 전자 장치의 장치 등록 요청에 기반하여 업데이트되는 장치 등록 갱신 정보를 상기 제2 외부 전자 장치에 전송하도록 하는 인스트럭션들을 포함하고,
상기 메모리는 상기 제2 외부 전자 장치의 장치 초기화 카운트를 나타내는 장치 초기화 카운트 정보를 저장하고,
상기 인스트럭션들은 상기 전자 장치가,
상기 적어도 하나의 통신 회로를 통하여, 상기 제2 외부 전자 장치로부터 상기 제2 외부 전자 장치의 장치 초기화 카운트 정보를 수신하도록 설정된 전자 장치.
In electronic devices,
at least one communication circuit configured to provide communication with the first external electronic device or the second external electronic device;
at least one processor operatively coupled to the at least one communication circuit; and
a memory operatively coupled to the at least one processor;
The memory, when executed, the electronic device,
A device including at least device identification information for identifying the second external electronic device from the first external electronic device and device registration request information for device registration of the second external electronic device through the at least one communication circuit. receive a registration request;
Based on the device registration request, check device registration authentication information for authenticating device registration of the second external electronic device stored in the memory;
performing device registration of the second external electronic device based on the confirmed device registration authentication information and the device registration request information included in the device registration request;
transmits a device registration result of the second external electronic device to the first external electronic device; and
an instruction for transmitting device registration renewal information updated based on a device registration request of the second external electronic device to the second external electronic device through the at least one communication circuit when the second external electronic device is connected; include them,
The memory stores device initialization count information indicating a device initialization count of the second external electronic device;
The instructions are the electronic device,
An electronic device configured to receive device initialization count information of the second external electronic device from the second external electronic device through the at least one communication circuit.
◈청구항 11은(는) 설정등록료 납부시 포기되었습니다.◈◈Claim 11 was abandoned when the registration fee was paid.◈ 제10항에 있어서,
상기 인스트럭션들은 상기 전자 장치가,
상기 적어도 하나의 통신 회로를 통하여, 상기 제1 외부 전자 장치가 연결되면, 상기 제1 외부 전자 장치의 사용자 계정에 기반하여, 사용자에 대한 인증을 수행하고; 및
상기 사용자에 대한 사용자 인증이 수행되면, 상기 제1 외부 전자 장치로부터 상기 제2 외부 전자 장치에 대한 상기 장치 등록 요청을 수신하도록 설정된 전자 장치.
According to claim 10,
The instructions are the electronic device,
when the first external electronic device is connected through the at least one communication circuit, performing user authentication based on a user account of the first external electronic device; and
The electronic device configured to receive the device registration request for the second external electronic device from the first external electronic device when user authentication is performed for the user.
제10항에 있어서,
상기 인스트럭션들은 상기 전자 장치가,
상기 장치 등록 요청에 포함된 상기 제2 외부 전자 장치의 상기 장치 식별 정보에 기반하여, 상기 메모리에 저장된 상기 제2 외부 전자 장치에 대응하는 상기 장치 등록 갱신 정보를 확인하고;
상기 확인된 장치 등록 갱신 정보 및 상기 장치 등록 요청에 포함된 상기 장치 등록 요청 정보가 일치하면, 상기 메모리에 저장된 장치 등록 갱신 정보를 업데이트하여 저장하도록 설정된 전자 장치.
According to claim 10,
The instructions are the electronic device,
check the device registration update information corresponding to the second external electronic device stored in the memory based on the device identification information of the second external electronic device included in the device registration request;
The electronic device configured to update and store the device registration update information stored in the memory when the checked device registration update information and the device registration request information included in the device registration request match.
◈청구항 13은(는) 설정등록료 납부시 포기되었습니다.◈◈Claim 13 was abandoned when the registration fee was paid.◈ 제10항에 있어서,
상기 인스트럭션들은 상기 전자 장치가,
상기 장치 등록 요청에 포함된 상기 제2 외부 전자 장치의 상기 장치 식별 정보에 기반하여, 상기 메모리에 저장된 상기 제2 외부 전자 장치에 대응하는 상기 장치 등록 갱신 정보를 확인하고;
상기 확인된 장치 등록 갱신 정보 및 상기 장치 등록 요청에 포함된 상기 장치 등록 요청 정보가 일치하지 않으면, 상기 메모리에 저장된 장치 등록 갱신 정보를 유지하여 저장하도록 설정된 전자 장치.
According to claim 10,
The instructions are the electronic device,
check the device registration update information corresponding to the second external electronic device stored in the memory based on the device identification information of the second external electronic device included in the device registration request;
The electronic device configured to maintain and store the device registration update information stored in the memory if the checked device registration update information and the device registration request information included in the device registration request do not match.
제10항에 있어서,
상기 인스트럭션들은 상기 전자 장치가,
상기 장치 등록 요청에 포함된 상기 제2 외부 전자 장치의 상기 장치 식별 정보에 기반하여, 상기 메모리에 저장된 상기 제2 외부 전자 장치에 대응하는 상기 장치 등록 인증 정보를 확인하고;
상기 확인된 장치 등록 인증 정보와 상기 장치 등록 요청에 포함된 상기 장치 등록 요청 정보가 일치하면, 상기 제2 외부 전자 장치에 대한 장치 등록을 수행하도록 설정된 전자 장치.
According to claim 10,
The instructions are the electronic device,
check the device registration authentication information corresponding to the second external electronic device stored in the memory based on the device identification information of the second external electronic device included in the device registration request;
The electronic device configured to perform device registration for the second external electronic device when the checked device registration authentication information matches the device registration request information included in the device registration request.
◈청구항 15은(는) 설정등록료 납부시 포기되었습니다.◈◈Claim 15 was abandoned when the registration fee was paid.◈ 제10항에 있어서,
상기 인스트럭션들은 상기 전자 장치가,
상기 적어도 하나의 통신 회로를 통하여, 상기 제2 외부 전자 장치로부터 상기 제2 외부 전자 장치의 상기 장치 등록 요청 정보의 업데이트에 대한 신호를 수신하고;
상기 신호의 수신에 응답하여, 상기 메모리에 저장된 상기 제2 외부 전자 장치에 대응하는 상기 장치 등록 인증 정보를 상기 장치 등록 갱신 정보로 동기화하여 저장하도록 설정된 전자 장치.
According to claim 10,
The instructions are the electronic device,
receiving a signal for updating the device registration request information of the second external electronic device from the second external electronic device through the at least one communication circuit;
An electronic device configured to synchronize and store the device registration authentication information corresponding to the second external electronic device stored in the memory as the device registration update information in response to receiving the signal.
제10항에 있어서,
상기 인스트럭션들은 상기 전자 장치가,
상기 제2 외부 전자 장치의 상기 장치 식별 정보에 기반하여, 상기 메모리에 저장된 상기 제2 외부 전자 장치에 대응하는 상기 장치 초기화 카운트 정보를 확인하고;
상기 확인된 장치 초기화 카운트 정보의 장치 초기화 카운트가 상기 수신된 장치 초기화 카운트 정보의 장치 초기화 카운트보다 작으면, 상기 제2 외부 전자 장치에 대한 장치 등록을 해제하도록 설정된 전자 장치.
According to claim 10,
The instructions are the electronic device,
check the device initialization count information corresponding to the second external electronic device stored in the memory based on the device identification information of the second external electronic device;
If the device initialization count of the checked device initialization count information is smaller than the device initialization count of the received device initialization count information, the electronic device is set to cancel the device registration with the second external electronic device.
◈청구항 17은(는) 설정등록료 납부시 포기되었습니다.◈◈Claim 17 was abandoned when the registration fee was paid.◈ 제16항에 있어서,
상기 인스트럭션들은 상기 전자 장치가,
상기 제2 외부 전자 장치에 대한 장치 등록을 해제하는 것에 응답하여, 상기 메모리에 저장된 상기 제2 외부 전자 장치에 대응하는 상기 장치 초기화 카운트 정보를 상기 수신된 장치 초기화 카운트 정보로 동기화하여 저장하도록 설정된 전자 장치.
According to claim 16,
The instructions are the electronic device,
An electronic device set to synchronize and store the device initialization count information corresponding to the second external electronic device stored in the memory with the received device initialization count information in response to deregistration of the second external electronic device. Device.
◈청구항 18은(는) 설정등록료 납부시 포기되었습니다.◈◈Claim 18 was abandoned when the registration fee was paid.◈ 제10항에 있어서,
상기 적어도 하나의 통신 회로는,
상기 제1 외부 전자 장치 또는 상기 제2 외부 전자 장치와 원거리 통신 네트워크를 통한 통신을 제공하도록 구성된 전자 장치.
According to claim 10,
said at least one communication circuit,
An electronic device configured to provide communication with the first external electronic device or the second external electronic device through a telecommunications network.
인스트럭션들을 비일시적으로 저장하고 있는 컴퓨터 판독가능한 저장 매체에 있어서, 상기 인스트럭션들은 전자 장치의 적어도 하나의 회로에 의해서 실행될 때에 상기 전자 장치로 하여금 적어도 하나의 동작을 수행하도록 설정된 것으로, 상기 적어도 하나의 동작은,
상기 전자 장치가 제1 외부 전자 장치와 제1 통신이 연결되면, 상기 전자 장치를 제2 외부 전자 장치에 등록하기 위한 장치 등록 요청 정보를 적어도 포함하는 장치 등록 요청을 상기 제1 외부 전자 장치에 전달하는 동작;
상기 제1 외부 전자 장치로부터 상기 장치 등록 요청에 대한 응답을 수신하는 동작;
상기 응답에 기반하여, 상기 제2 외부 전자 장치와 제2 통신이 연결되면, 상기 전자 장치의 등록 요청에 기반하여 업데이트되는 장치 등록 갱신 정보를 상기 제2 외부 전자 장치로부터 수신하는 동작;
상기 수신된 장치 등록 갱신 정보를 저장하는 동작; 및
적어도 하나의 통신 회로를 통하여, 상기 제2 외부 전자 장치와 상기 제2 통신이 연결되면, 상기 전자 장치의 장치 초기화 카운트를 나타내는 장치 초기화 카운트 정보를 상기 제2 외부 전자 장치에 전송하는 동작을 포함하고,
상기 장치 초기화 카운트 정보는 메모리에 저장되는 컴퓨터 판독가능한 저장 매체.
A computer-readable storage medium for non-temporarily storing instructions, wherein the instructions are configured to cause an electronic device to perform at least one operation when executed by at least one circuit of the electronic device, wherein the at least one operation silver,
When the electronic device establishes first communication with the first external electronic device, a device registration request including at least device registration request information for registering the electronic device with the second external electronic device is transmitted to the first external electronic device. action;
receiving a response to the device registration request from the first external electronic device;
receiving device registration update information updated based on a registration request of the electronic device from the second external electronic device when second communication is established with the second external electronic device based on the response;
storing the received device registration update information; and
Transmitting device initialization count information indicating a device initialization count of the electronic device to the second external electronic device when the second external electronic device and the second communication are connected through at least one communication circuit; and ,
The device initialization count information is stored in a memory.
◈청구항 20은(는) 설정등록료 납부시 포기되었습니다.◈◈Claim 20 was abandoned when the registration fee was paid.◈ 제19항에 있어서,
상기 전자 장치가 장치 초기화되는 것이 감지된 경우, 상기 장치 초기화 카운트를 증가시킨 장치 초기화 카운트 정보를 업데이트하여 저장하는 동작; 및
상기 장치 초기화 카운트 정보가 업데이트되는 것에 기반하여, 상기 업데이트된 장치 초기화 카운트 정보를 상기 제2 외부 전자 장치에 전송하는 동작을 더 포함하는 컴퓨터 판독가능한 저장 매체.
According to claim 19,
updating and storing device initialization count information that increases the device initialization count when device initialization of the electronic device is detected; and
Based on the device initialization count information being updated, transmitting the updated device initialization count information to the second external electronic device.
KR1020180081848A 2018-07-13 2018-07-13 Electronic apparatus and method for registering ownership KR102531331B1 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
KR1020180081848A KR102531331B1 (en) 2018-07-13 2018-07-13 Electronic apparatus and method for registering ownership
PCT/KR2019/008587 WO2020013639A1 (en) 2018-07-13 2019-07-11 Electronic device and method for registering ownership
US17/258,507 US11523363B2 (en) 2018-07-13 2019-07-11 Electronic device and method for registering ownership

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020180081848A KR102531331B1 (en) 2018-07-13 2018-07-13 Electronic apparatus and method for registering ownership

Publications (2)

Publication Number Publication Date
KR20200007575A KR20200007575A (en) 2020-01-22
KR102531331B1 true KR102531331B1 (en) 2023-05-12

Family

ID=69142068

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020180081848A KR102531331B1 (en) 2018-07-13 2018-07-13 Electronic apparatus and method for registering ownership

Country Status (3)

Country Link
US (1) US11523363B2 (en)
KR (1) KR102531331B1 (en)
WO (1) WO2020013639A1 (en)

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100584383B1 (en) * 2004-01-20 2006-05-26 삼성전자주식회사 OPTICAL LINE TERMINALOLT FOR MANAGING LINK STATUS OF OPTOCAL NETWORK UNITSONUs AND GIGABIT ETHERNET PASSIVE OPTICAL NETWORKGE-PON APPLING THE SAME
JP2006157612A (en) * 2004-11-30 2006-06-15 Toshiba Corp Network telephone system, and server apparatus and telephone terminal for the system
KR100664312B1 (en) 2005-01-20 2007-01-04 삼성전자주식회사 Device authentication method and system in home network
US8989051B2 (en) * 2010-06-04 2015-03-24 Lg Electronics Inc. Method for allowing one device to detect another device
KR101395289B1 (en) * 2012-10-04 2014-05-15 주식회사 경동원 Server certification method of smart-device remote-controlled by internet and server certification apparatus using the method
US9538311B2 (en) 2014-02-04 2017-01-03 Texas Instruments Incorporated Auto-provisioning for internet-of-things devices
KR102226411B1 (en) * 2014-09-01 2021-03-12 삼성전자주식회사 Electronic device and method for managing reenrollment
KR101769895B1 (en) * 2015-06-19 2017-08-21 에스케이텔레콤 주식회사 User terminal device, Internet of Things control method, computer program and storage medium therefor
JP6134841B1 (en) * 2016-05-19 2017-05-24 ヤフー株式会社 Registration device, terminal device, registration method, registration program, and registration system
US10243930B2 (en) * 2017-01-11 2019-03-26 Mastercard International Incorporated Systems and methods for secure communication bootstrapping of a device
CN109756450B (en) * 2017-11-03 2021-06-15 华为技术有限公司 Method, device and system for communication of Internet of things and storage medium

Also Published As

Publication number Publication date
WO2020013639A1 (en) 2020-01-16
KR20200007575A (en) 2020-01-22
US20210297978A1 (en) 2021-09-23
US11523363B2 (en) 2022-12-06

Similar Documents

Publication Publication Date Title
US11368824B2 (en) Method and an electronic device connecting plurality of electronic devices to server through hub
CN111512655B (en) Method for providing communication service by utilizing secure element and electronic device
US11606838B2 (en) Electronic device for controlling establishment or release of communication connection, and operating method therefor
CN111542822B (en) Electronic device and method for sharing screen data
EP3644633B1 (en) Electronic device using bluetooth communication and method of operating same
US11231806B2 (en) Electronic device including electronic pen and method of controlling communication connection between electronic device and electronic pen
KR102400580B1 (en) Electronic device for performing an authentication of another electronic device and method of operating the same
CN109672720B (en) Electronic device for controlling IoT devices and method of operating the same
KR102314690B1 (en) Device And Communication Connection Method Thereof
CN111902246B (en) Electronic device and method for controlling external electronic device
US11250656B2 (en) Electronic apparatus and operating method thereof
KR102371705B1 (en) Device and method for controlling transactions of nfc reader with external electronic device
CN110855534A (en) Method and apparatus for searching and controlling controllee in smart home system
KR102613405B1 (en) Method for sharing for Bluetooth communication Information and Electronic Device
KR20200060018A (en) Electronic device and method for obtaining information associated with fingerprint
US11304242B2 (en) Electronic device changing identification information based on state information and another electronic device identifying identification information
KR102531331B1 (en) Electronic apparatus and method for registering ownership
US11627163B2 (en) Electronic device for controlling function execution using decentralized network and operation method thereof
KR102489729B1 (en) Electronic device for connecting external devices based on connection information and operating method thereof
JP2024513728A (en) Device and method for providing IoT services
KR20200059410A (en) Electronic apparatus providing service requiring security through security element and controlling method thereof
US20240056787A1 (en) Electronic device for managing controlled device and method of operating same
KR20240021536A (en) Electronic device for managing controlled device and method of operating the same
KR20190089542A (en) Method and device for recognizing external electronic device

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant